Commit Graph

134 Commits

Author SHA1 Message Date
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
Bernardo Meurer
3e5ee83513
qt48: remove flashplayerFix 2021-02-08 09:38:46 -08:00
Ben Siraphob
2f78ee7e81 pkgs/development: stdenv.lib -> lib 2021-01-24 00:16:29 +07:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08: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
Jan Tojnar
e68e048e50
qt4: drop multimedia & webkit options
They have been broken and disabled for ages and now the dependencies are being removed.
2020-09-02 02:18:09 +02:00
Jan Tojnar
704e9e9b24
qt4: remove multimedia support
It depends on ancient gstreamer which is broken and likely insecure.
2020-07-04 14:24:41 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Anders Kaseorg
3cd8ce3bce treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-15 09:47:03 +01:00
Robin Gloster
ab0cfd9e03
treewide: NIX_*_COMPILE -> string 2019-12-31 00:10:18 +01:00
Franz Pletz
6d602ea2e5
qt48: fix webkit module build 2019-12-30 01:53:33 +01:00
Franz Pletz
688199745d
qt4: fix build with gcc9 2019-11-04 19:17:55 +01:00
Vladimír Čunát
22a216849b
Re-Revert "Merge branch 'staging-next'"
This reverts commit f8a8fc6c7c.
2019-09-22 09:38:09 +02:00
Vladimír Čunát
f8a8fc6c7c
Revert "Merge branch 'staging-next'"
This reverts commit 41af38f372, reversing
changes made to f0fec244ca.

Let's delay this.  We have some serious regressions.
2019-09-21 20:05:09 +02:00
Izorkin
329a88efa7 treewide: replace mysql.connector-c to libmysqlclient 2019-09-09 15:55:34 +03:00
Frederik Rietdijk
2df3397375 Revert "qt4: fixup build with gcc8 by Arch aur patch"
The build was fixed in two ways, by both this patch and a substitution.
Let's keep the substitition instead of the patch as the patches may disappear.

This reverts commit ccc8c73ea0.
2019-09-08 21:23:28 +02:00
Frederik Rietdijk
5f4734b1dd Merge remote-tracking branch 'upstream/gcc-8' into staging-next
Earlier the gcc8 branch was merged instead of the gcc-8 branch (note the dash)...
2019-09-08 20:44:26 +02:00
Vladimír Čunát
ccc8c73ea0
qt4: fixup build with gcc8 by Arch aur patch
I'll hope that this simple removal of "volatile" is OK.
I feel sure I saw a PR for this somewhere, but I can't find it.
2019-09-08 18:24:29 +02:00
Robin Gloster
aafc6d09e7
Merge pull request #67246 from tobim/gcc8/qt48
qt48: Fix build for gcc8
2019-08-28 12:21:07 +02:00
Tobias Mayer
bd9d24a2dc qt48: Fix build for gcc8 2019-08-22 13:24:56 +02:00
Robin Gloster
f4fc845e5b
Merge remote-tracking branch 'upstream/master' into openssl-1.1 2019-08-21 14:25:13 +02:00
Matthew Bauer
3532a6452e
Merge pull request #66683 from obsidiansystems/missing-qt-patch
qt4: Vendor bitrotted Arch Linux patch
2019-08-15 11:34:57 -04:00
John Ericson
280795c163 qt4: Vendor bitrotted Arch Linux patch
It is no longer found at this URL. Vendoring until a better solution
comes along.

Fixes #63084
2019-08-15 11:25:48 -04:00
Andreas Rammhold
c6bcddc12a
qt48: apply openssl 1.1 patch 2019-07-29 21:25:13 +02:00
worldofpeace
b1bc0645ea gdk-pixbuf: rename from gdk_pixbuf 2019-07-22 18:50:57 -04:00
Daiderd Jordan
cbfbe9ca1e
qt: remove cf-private 2019-07-03 22:20:16 +02:00
Matthew Bauer
f0733a07d5 treewide: remove libGLSupported from pkgs
This isn’t a package, and we already have mesaPlatforms to handle this logic.
2019-06-17 11:49:22 -04:00
worldofpeace
bcc56cbce6
Merge pull request #60420 from dtzWill/fix/qtwebkit-libgdk-from-gtk-apparently
qtwebkit: fix path for libgdk-x11-2.0, it's in gtk2 apparently
2019-05-19 00:28:11 -04:00
Will Dietz
41e9920fcb remove unused substitution variable
Thanks @worldofpeace!
2019-04-29 12:07:03 -05:00
Will Dietz
c29b17eecb qtwebkit: fix path for libgdk-x11-2.0, it's in gtk2 apparently 2019-04-29 08:10:09 -05:00
Matthew Bauer
da38a49a24 treewide: mark bad packages
Some old stuff is known not to work.
2019-04-26 21:55:11 -04:00
Dan Peebles
2c51846728 qt48: fix on darwin
because it's ancient, it relies on ancient APIs that Apple has deprecated
for literally years. Our new CoreFoundation cleanup means those APIs are no longer here, so let's kill the functionality. Eventually support for it
got removed from upstream too, so it's not as if we're doing anything too
awful here.
2018-09-16 21:06:56 -04:00
Tor Hedin Brønner
34baf00b72 {qt4,qt3}: Fix breakage after eeb9837beb
- qt-4: Pass the correct configureFlags, in particular `mk` should prepend `no-`
  when `cond` is false.

- qt-3: simply revert the changes
2018-08-13 16:25:37 +02:00
John Ericson
eeb9837beb qt-{3,4.8}: Clean up generally 2018-08-02 15:17:46 -04:00
John Ericson
6bee6b8f4b qt-4.8: Don't use crossAttrs 2018-07-24 20:01:43 -04:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Matthew Bauer
6748534d83 Merge remote-tracking branch 'upstream/master' into staging 2018-05-08 09:36:00 -05:00
Matthew Justin Bauer
ef82607d90
qt48: fix patch url
See #39927
2018-05-03 17:57:51 -05:00
Jan Malakhovski
7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
Nikolay Amiantov
f362cf23d7 qt4: remove OpenGL absolute path patch
In resulting derivation there's no mention of this path anyway (checked with grep).
2018-03-26 14:01:49 +03:00
Nikolay Amiantov
6bf1421f13 treewide: refactor to use libglvnd
* Implement libGL as a symlink package which uses libraries from libglvnd and
  headers from Mesa (since ones from libglvnd are outdated).
* Use libGL_driver.driverLink treewide; add FHS paths where possible.
2018-03-26 14:01:49 +03:00
Alexander V. Nikolaev
e94cd63bf5 treewide: transition libGL/libGLU for qt
Also rename mesaSupported to libGLSupported
2018-02-24 17:06:49 +02:00
Vladimír Čunát
d74d79a712
qt4: fix evaluation on Darwin after parent commit 2018-02-17 10:21:22 +01:00
Vladimír Čunát
44a2012ccc
qt4: disable warnings to fit log on Hydra
Also convert flags to list of nix strings.
2018-02-17 10:16:21 +01:00
Daiderd Jordan
4c07aea8d8
qt48: fix darwin build with clang-5 2018-02-14 00:34:27 +01:00
Will Dietz
c48974c952 qt4: Add patch for socklen_t on musl, from alpine 2018-02-13 09:44:54 -06:00
Robin Gloster
ee1c85aee9 mariadb: lib -> connector-c 2017-12-29 02:18:35 +01:00
Orivej Desh
dd604d575f Merge branch 'master' into staging
* master: (39 commits)
  pythonPackages: rename dns -> dnspython
  awesome: fix LUA_PATH/LUA_CPATH to lgi [now for version 3.5]
  qt4: fix qmake on darwin and delete custom install phase
  python.buildEnv: always include the $out output
  nix-bash-completions: lazy load aware install
  borg: 1.1.1 -> 1.1.3
  nixos/programs/bash: document that /etc/bash_completion.d is obsolete
  ocamlPackages.markup: 0.7.4 -> 0.7.5
  hhvm: 3.21 -> 3.23.2
  ocamlPackages.ulex: 1.1 -> 1.2
  notmuch: 0.25.2 -> 0.25.3
  gmime3: 3.0.1 -> 3.0.5
  qt4: fix darwin install phase
  nixos/programs/bash: Let bash-completion lazy load scripts
  Revert "gmime: 3.0.1 -> 3.0.5"
  rawtherapee: delete unused files
  pythonPackages: rename dns -> dnspython
  nixpkgs: remove sqlite/kyotocabinet deps for leveldb
  tor-browser-bundle-bin: 7.0.10 -> 7.0.11
  networkmanager: remove restart after suspend from resume
  ...
2017-12-10 15:24:30 +00:00
Orivej Desh
f601ecfb21 qt4: fix qmake on darwin and delete custom install phase
Since keeping `installPhase = ""` to signify "use the default installPhase" will
be surprising, this deletes the installPhase and rebuilds qt4 on all platforms.

Fixes #30238
2017-12-10 14:22:02 +00:00
Orivej Desh
5b53774f89 qt4: fix darwin install phase
by creating $out before copying lib to $out
2017-12-10 10:22:08 +00:00