Commit Graph

189 Commits

Author SHA1 Message Date
Martin Weinelt
c0a0f6ceee spidermonkey_78: 78.8.0 -> 78.11.0 2021-06-02 02:03:14 +02:00
github-actions[bot]
1ae6d3d02f
Merge master into staging-next 2021-05-07 18:24:29 +00:00
ajs124
09d29bd784 spidermonkey_1_8_5: drop 2021-05-03 15:44:10 +02:00
Andrew Childs
7869d16545 llvmPackages: Multuple outputs for everythting
Also begin to start work on cross compilation, though that will have to
be finished later.

The patches are based on the first version of
https://reviews.llvm.org/D99484. It's very annoying to do the
back-porting but the review has uncovered nothing super major so I'm
fine sticking with what I've got.

Beyond making the outputs work, I also strove to re-sync the packages,
as they have been drifting pointlessly apart for some time.

----

Other misc notes, highly incomplete

- lvm-config-native and llvm-config are put in `dev` because they are
  tools just for build time.

- Clang no longer has an lld dep. That was introduced in
  db29857eb3, but if clang needs help
  finding lld when it is used we should just pass it flags / put in the
  resource dir. Providing it at build time increases critical path
  length for no good reason.

----

A note on `nativeCC`:

`stdenv` takes tools from the previous stage, so:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.stdenv.cc`: `(?0, ?1, x)`

while:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.targetPackages`: `(x, x, ?2)`
3. `pkgsBuildBuild.targetPackages.stdenv.cc`: `(?1, x, x)`
2021-04-30 05:41:00 +00:00
ajs124
c49825c5ee spidermonkey_38: drop
it was based on a firefox release that last received an update in April 2016
2021-03-24 10:39:11 +01:00
ajs124
e3e8b48ca6 spidermonkey_60: drop
it was based on a firefox release that last received an update in September 2019
2021-03-21 03:24:34 +01:00
Ben Wolsieffer
1b1e681d77 spidermonkey_78: fix build on armv7l
Adds a patch from Debian to fix a build failure on armv7l.
2021-03-03 21:29:10 -05:00
Daniel Nagy
0dcd780908
spidermonkey_78: 78.4.0 -> 78.8.0 2021-02-27 12:35:36 +01:00
Ben Wolsieffer
87768f2fed spidermonkey: use LLVM 11
Now that rustc has moved to LLVM 11, this prevent needing to build two LLVM
versions.
2021-02-20 08:54:24 +01:00
Ben Siraphob
001c0cbe54 pkgs/development/interpreters: stdenv.lib -> lib 2021-01-23 20:29:03 +07:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Will Young
8edf9cf5d0 spidermonkey: 78.1.0 -> 78.4.0 2020-11-02 23:30:28 +01:00
Maciej Krüger
5ad43894f2
spidermonkey_38: mark as insecure 2020-10-01 10:00:24 +02:00
Doron Behar
1d45990efb
spidermonkey_78: init at 78.1.0
* format

Co-authored-by: WORLDofPEACE <worldofpeace@protonmail.ch>
2020-09-28 15:08:23 +02:00
R. RyanTM
c02f514929 spidermonkey_68: 68.7.0 -> 68.10.0 2020-07-08 02:53:04 +02:00
Jan Tojnar
f8ac6112b5
Merge pull request #84994 from r-ryantm/auto-update/spidermonkey 2020-05-25 15:22:42 +02:00
R. RyanTM
7b6ebea667 spidermonkey_68: 68.4.2 -> 68.7.0 2020-04-11 13:01:38 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Tor Hedin Brønner
4ee2aac075
spidermonkey_68: init at 68.4.2
mostly copied over

- now uses python3

https://mail.gnome.org/archives/distributor-list/2020-February/msg00000.html
2020-03-24 07:06:55 +01:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Tor Hedin Brønner
18d7929e95 spidermonkey_52: drop, as is unused
`gnome-shell-extensions` switched over to `spidermonkey_60` in 3.34 leaving
`spidermonkey_52` unused.
2019-10-16 16:53:19 +02:00
Tor Hedin Brønner
231432e93c spidermonkey_60: 60.4.0 -> 60.9.0
This is the last 60-esr I believe.

- fixed multiple outputs (saves $out 2MB from $out)
- updated the only patch we carry
- symlinked `js` to `js60`, some packages using spidermonkey expects `js`. Might
  make it possible to drop 38 in the future.
2019-10-16 10:20:05 +02:00
Robin Gloster
a345623f2b
spidermonkey_1_8_5: fix build with gcc8
closes #68765
closes #68763
2019-09-14 12:19:27 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Justin Humm
4908aaf3c9 spidermonkey_38, spidermonkey_60: fix cross compilation
This is essentially the same as done in
65f2b0a2a3.

For spidermonkey_38 I set --enable-posix-nspr-emulation, as it would
otherwise complain about a wrong NSPR version and that trick seemed to
be successful in spidermonkey_60 anyway.
2019-08-03 07:51:46 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Nikolay Amiantov
1cae1c4ccc Revert "spidermonkey_60: 60.4.0 -> 60.7.0"
This reverts commit 081408041a.
2019-06-05 16:07:07 +03:00
Will Dietz
081408041a spidermonkey_60: 60.4.0 -> 60.7.0 2019-06-05 15:05:50 +03:00
c0bw3b
9cb260d091 [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
Matthew Bauer
65f2b0a2a3 spidermonkey: fix host, target settings
spidermonkey doesn’t use the autotools build, host, target convention.
Instead it considers ‘--host’ to be the autotools’ ‘--build’ and
‘--target’ to be the autotools’ ‘--host’! As a result, we cannot
safely use “configurePlatforms”. Instead, we must manually set these
flags.

/cc @illegalprime
2019-04-19 11:59:39 -04:00
Michael Eden
ad7e58727d spidermonkey_52: cross compilation 2019-04-16 19:03:59 +02:00
Jörg Thalheim
1b146a8c6f
treewide: remove paxutils from stdenv
More then one year ago we removed grsecurity kernels from nixpkgs:
https://github.com/NixOS/nixpkgs/pull/25277

This removes now also paxutils from stdenv.
2018-12-22 12:55:05 +01:00
Tor Hedin Brønner
0fb5e2f6f2 spidermonkey_38: 38.2.1.rc0 -> 38.8.0
Update to the last version of 38
2018-12-16 16:53:34 +01:00
Tor Hedin Brønner
b63df3f2e0 spidermonkey_{17,31}: remove
No longer in use.
2018-12-16 16:53:34 +01:00
Tor Hedin Brønner
04fad1f365 spidermonkey_60: 60.3.0 -> 60.4.0
- build with `--enable-optimize`
- remove unused nspr dependency
- cleanup a static library (saves ~20mb)
2018-12-16 16:53:34 +01:00
Tor Hedin Brønner
e09e735a09
spidermonkey_60: init at 60.3.0
A new test checks and fails if we're building in js/src, so we create a build
dir like Arch does.
2018-11-30 21:34:46 +01:00
Tuomas Tynkkynen
e310622999 spidermonkey_52: Split into multiple outputs (and nuke static lib)
Saves 28M.
2018-10-27 15:17:13 +03:00
Will Dietz
8d2cd63c1b spidermonkey_52: don't use jemalloc w/musl 2018-09-09 17:50:54 -05:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
xeji
691ec455a8
Merge pull request #45246 from r-ryantm/auto-update/couchdb
couchdb2: 2.1.2 -> 2.2.0
2018-08-21 20:02:43 +02:00
Uli Baum
bcb5005a4d spidermonkey_1_8_5: broken on aarch64
never built on hydra as far back as 2017-03-08
2018-08-21 19:48:45 +02:00
Tuomas Tynkkynen
7cca16e9f1 spidermonkey_52: Fix on ARMv6
Arch Linux applies the CFLAGS always, as does Debian, so do the same.
2018-08-21 13:29:17 +03:00
R. RyanTM
d9b1c16ee8 spidermonkey_52: 52.8.1 -> 52.9.0 (#42957)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/spidermonkey/versions.

These checks were done:

- built on NixOS
- /nix/store/sxcxd6f05aqpiw7jgrpyi8qmgxjy2r4x-spidermonkey-52.9.0/bin/js52 passed the binary check.
- /nix/store/sxcxd6f05aqpiw7jgrpyi8qmgxjy2r4x-spidermonkey-52.9.0/bin/js52-config passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 2 of 2 passed binary check by having the new version present in output.
- found 52.9.0 with grep in /nix/store/sxcxd6f05aqpiw7jgrpyi8qmgxjy2r4x-spidermonkey-52.9.0
- directory tree listing: https://gist.github.com/6e6d8bcfc14e1e59028ad1397d75fce1
- du listing: https://gist.github.com/f69575b0d92d2b3ffec1c4dda0afa0e6
2018-07-09 22:30:18 +02:00
sander
621072a476 anonscm.debian.org_gcc6.patch-not-found - replace anonscm.debian.org with sources.debian.org 2018-07-01 16:39:51 +02:00
R. RyanTM
1f0902ae69 spidermonkey_52: 52.8.0 -> 52.8.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/spidermonkey/versions.

These checks were done:

- built on NixOS
- /nix/store/4rnqlff4g9vx7ci5b0a6936h9ffk4l8x-spidermonkey-52.8.1/bin/js52 passed the binary check.
- /nix/store/4rnqlff4g9vx7ci5b0a6936h9ffk4l8x-spidermonkey-52.8.1/bin/js52-config passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 2 of 2 passed binary check by having the new version present in output.
- found 52.8.1 with grep in /nix/store/4rnqlff4g9vx7ci5b0a6936h9ffk4l8x-spidermonkey-52.8.1
- directory tree listing: https://gist.github.com/75305a95a88a23a3137429c0c5c0007c
- du listing: https://gist.github.com/fe4b93f198ce1088e1e18d002d9cb49a
2018-06-23 10:21:10 -07:00
Matthew Bauer
e1983175e8 spidermonkey_17: get darwin working
LLVM building is apparently broken. This is a similar fix to what was
done in spidermonkey_38.

enableReadline flag is also introduced (defaults to true except on darwin).
2018-06-16 16:41:03 -04:00
Matthew Bauer
f2dc19703a spidermonkey_38: add darwin support 2018-05-21 19:55:37 -05:00
R. RyanTM
2329df494c spidermonkey_52: 52.7.4 -> 52.8.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/spidermonkey/versions.

These checks were done:

- built on NixOS
- /nix/store/dd4kmbg04pklv4gs9y8cky5bv69id31v-spidermonkey-52.8.0/bin/js52 passed the binary check.
- /nix/store/dd4kmbg04pklv4gs9y8cky5bv69id31v-spidermonkey-52.8.0/bin/js52-config passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 2 of 2 passed binary check by having the new version present in output.
- found 52.8.0 with grep in /nix/store/dd4kmbg04pklv4gs9y8cky5bv69id31v-spidermonkey-52.8.0
- directory tree listing: https://gist.github.com/1ec4dfe6196b463eb8174ab1aa82023d
- du listing: https://gist.github.com/a7355483d743c1a8d6fb1271ee57a5c0
2018-05-17 01:18:07 -07:00
Matthew Justin Bauer
c8f8f5465c
Merge pull request #39736 from r-ryantm/auto-update/spidermonkey
spidermonkey_52: 52.6.0 -> 52.7.4
2018-05-04 17:22:06 -05:00
R. RyanTM
ecc7f83e75 spidermonkey_52: 52.6.0 -> 52.7.4
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/spidermonkey/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/47rbdzbgccrrdc63fnsnwklria9clmms-spidermonkey-52.7.4/bin/js52 -h’ got 0 exit code
- ran ‘/nix/store/47rbdzbgccrrdc63fnsnwklria9clmms-spidermonkey-52.7.4/bin/js52 --help’ got 0 exit code
- ran ‘/nix/store/47rbdzbgccrrdc63fnsnwklria9clmms-spidermonkey-52.7.4/bin/js52 -v’ and found version 52.7.4
- ran ‘/nix/store/47rbdzbgccrrdc63fnsnwklria9clmms-spidermonkey-52.7.4/bin/js52 --version’ and found version 52.7.4
- ran ‘/nix/store/47rbdzbgccrrdc63fnsnwklria9clmms-spidermonkey-52.7.4/bin/js52-config --version’ and found version 52.7.4
- found 52.7.4 with grep in /nix/store/47rbdzbgccrrdc63fnsnwklria9clmms-spidermonkey-52.7.4
- directory tree listing: https://gist.github.com/7e5182415a0a1bce8071576312c08a3a
2018-04-30 11:07:54 -07:00
John Ericson
ba52ae5048 treewide: isArm -> isAarch32
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.

The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:

```
ISA:             ARMv8   {-A, -R, -M}
                 /    \
Mode:     Aarch32     Aarch64
             |         /   \
Encoding:   A64      A32   T32
```

At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.

The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.

[1]: https://developer.arm.com/products/architecture/a-profile
2018-04-25 15:28:55 -04:00
Jan Tojnar
0a99152810
spidermonkey_52: 52.2.1gnome1 → 52.6.0
Update to latest upstream version and remove some flags that caused errors:

--enable-threadsafe was removed in https://bugzilla.mozilla.org/show_bug.cgi?id=1253466, since SpiderMonkey is thread-safe by default now https://bugzilla.mozilla.org/show_bug.cgi?id=1031529.

--enable-gcgenerational also disappeared for some reason.
2018-02-28 16:05:19 +01:00
Tuomas Tynkkynen
6a11ebfae9 Merge remote-tracking branch 'upstream/master' into gcc-7
Conflicts:
	pkgs/development/compilers/gcc/7/default.nix
	pkgs/development/libraries/SDL2/default.nix
	pkgs/top-level/all-packages.nix
2018-01-26 16:46:43 +02:00
Orivej Desh
ceed4b2d12 spidermonkey: replace broken links
people.mozilla.org is gone
2017-11-17 11:04:28 +00:00
Vladimír Čunát
e3bbc4a503
spidermonkey-17: fixup build with gcc-7 via Fedora patch
This failed many builds through the polkit dependency.
2017-11-12 09:07:41 +01:00
Jan Tojnar
4d5a009b11
spidermonkey_52: init at 52.2.1gnome1 2017-11-05 17:02:29 +01:00
John Ericson
f8a18cd4cf misc pkgs: Manual fixup pkgconfig nativeBuildInputs after sed
Importantly, this included regenerating pkgs/servers/x11/xorg, to
clobber the old sed.
2017-09-21 15:49:54 -04:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Vladimír Čunát
6899c7fdb9
Merge branch 'master' into gcc-6 2017-08-12 10:09:41 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Robin Gloster
da9adb8fab
Merge remote-tracking branch 'upstream/master' into gcc-6 2017-05-20 14:55:44 +02:00
Vladimír Čunát
94a7a80f0b
Revert "spidermonkey_24: remove"
This reverts commit 5dacc53af3.
2017-02-04 11:53:23 +01:00
Vladimír Čunát
a2e7770b51
Merge branch 'master' into staging
There have been some larger security rebuilds on master.
2017-02-01 15:56:35 +01:00
Nikolay Amiantov
db99892817 treewide: quote homepages in my packages 2017-01-31 03:27:10 +03:00
Tuomas Tynkkynen
424cfe7686 Merge remote-tracking branch 'upstream/master' into staging 2017-01-29 02:16:29 +02:00
Tuomas Tynkkynen
4d059f6f27 spidermonkey_17: Add one more patch for Aarch64 2017-01-29 01:34:02 +02:00
Tuomas Tynkkynen
be0e48e48f Merge remote-tracking branch 'upstream/master' into staging 2017-01-27 02:18:44 +02:00
Robin Gloster
5dacc53af3
spidermonkey_24: remove 2017-01-25 20:12:42 +01:00
Robin Gloster
d3cd8b1d58
spidermonkey_1_8_5: add patch to fix build with gcc6 2017-01-25 20:12:39 +01:00
Robin Gloster
9beb44fb84
spidermonkey_24: remove 2017-01-25 20:07:57 +01:00
Nathan Zadoks
15b6374918 spidermonkey_17: add AArch64 support patch 2017-01-25 00:01:54 +02:00
Robin Gloster
3bc2154f99
spidermonkey_1_8_5: add patch to fix build with gcc6 2017-01-21 13:49:24 +01:00
Nikolay Amiantov
41b69a09b6 spidermonkey_{31,38}: fix sed problem with build 2017-01-10 01:30:11 +03:00
Nikolay Amiantov
bc5b9a3fa4 spidermonkey_38: init at 38.2.1.rc0 2016-11-21 02:46:35 +03:00
Nikolay Amiantov
c2274cdfb5 spidermonkey: cleanup and rename versions 2016-11-21 02:46:35 +03:00
Frederik Rietdijk
2365726ecb spidermonkey_24: use python2 2016-10-18 23:16:06 +02:00
Frederik Rietdijk
7c8b3550b6 spidermonkey_185: use python2 2016-10-18 23:16:06 +02:00
Frederik Rietdijk
caac67aabe spidermonkey_31: use python2 2016-10-18 23:16:06 +02:00
Aneesh Agrawal
9ad3c23b39 spidermonkey_17: Pin to Python 2 2016-09-26 11:42:47 -04:00
Tuomas Tynkkynen
a17216af4c treewide: Shuffle outputs
Make either 'bin' or 'out' the first output.
2016-08-29 14:49:51 +03:00
Franz Pletz
113fbe910e spidermonkey_1_8_0rc1: disable pic hardening on i686 2016-08-25 05:01:41 +02:00
Robin Gloster
4f6bd094fb spidermonkey_1_8_0rc1: disable format hardening 2016-08-03 20:24:53 +00:00
Robin Gloster
1b979d8384 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-03 13:34:44 +00:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Tuomas Tynkkynen
2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00
Robin Gloster
1f04b4a566 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-21 00:56:43 +00:00
Jookia
33a1d8080b spidermonkey: Enable tests on 31.5. 2016-07-20 02:38:10 +03:00
Jookia
cde9fb47a9 spidermonkey: Fix building 31.5 on GCC 5. 2016-07-20 02:38:10 +03:00
Jookia
6c4ba06597 spidermonkey: Fix building 185-1.0.0 on ARMv7. 2016-07-20 02:38:10 +03:00
Tuomas Tynkkynen
ad16c9ac31 Revert "spidermonkey: Disable tests on ARM"
This reverts commit f9654a88e7.

At least for now, the problem has gone away on ARMv7 by the switch of
FPU flags used by GCC.

Some details of the bug at:
https://github.com/NixOS/nixpkgs/pull/16850#issuecomment-232339143
2016-07-20 02:38:10 +03:00
Robin Gloster
5185bc1773 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-15 14:41:01 +00:00
Tuomas Tynkkynen
f9654a88e7 spidermonkey: Disable tests on ARM
Some tests fail and cause kernel spam of this sort:

[ 6607.906159] Alignment trap: not handling instruction f4430a1f at [<0021e500>]
[ 6607.913308] Unhandled fault: alignment exception (0x811) at 0x003a15ec
[ 6607.919864] pgd = e8b88000
[ 6607.922601] [003a15ec] *pgd=fb185835
2016-07-10 03:03:51 +03:00
Franz Pletz
f8d481754c
Merge remote-tracking branch 'origin/master' into hardened-stdenv 2016-05-18 17:10:02 +02:00
Eelco Dolstra
cb37ab146b Add mirror://mozilla scheme 2016-05-09 19:37:22 +02:00
Robin Gloster
c92bca56f8 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-05-02 22:58:02 +00:00
Nikolay Amiantov
37563c2d96 spidermonkey: add meta 2016-05-01 12:37:48 +03:00
Robin Gloster
d020caa5b2 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-04-18 13:49:22 +00:00
Robin Gloster
f3f9145d23 spidermonkey.i686-linux: turn off stackprotector hardening 2016-04-03 11:49:13 +00:00