Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 907d1dee67f9
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3b1e15140c57
Choose a head ref

Commits on Jun 6, 2018

  1. Revert "libbsd-freedesktop: re-init at 0.9.1, use for samba"

    This reverts commit 8b5ed12.
    orivej committed Jun 6, 2018
    Copy the full SHA
    13170a9 View commit details
  2. Revert "opendkim: fix libbsd dependency"

    This reverts commit b529dda.
    orivej committed Jun 6, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    f2682af View commit details
  3. Revert "libbsd: replace with nbcompat"

    This reverts commit 480434f.
    
    netbsd.compat does not provide include files that are provided by libbsd [1], and it
    encumbers its transitive dependents with an obligatory include file that setups
    BSD-compatible C environment [2].
    
    [1] NixOS/nixpkgs#41320 (comment)
    [2] NixOS/nixpkgs#41320 (comment)
    orivej committed Jun 6, 2018
    Copy the full SHA
    05fedec View commit details
  4. qrencode: 4.0.0 -> 4.0.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/qrencode/versions.
    
    These checks were done:
    
    - built on NixOS
    - /nix/store/b6r4hmimplv6bb9c6hifz12fviffv7sy-qrencode-4.0.1/bin/qrencode passed the binary check.
    - 1 of 1 passed binary check by having a zero exit code.
    - 0 of 1 passed binary check by having the new version present in output.
    - found 4.0.1 with grep in /nix/store/b6r4hmimplv6bb9c6hifz12fviffv7sy-qrencode-4.0.1
    - directory tree listing: https://gist.github.com/baadc6a6ea64d66edc20bd100d9f2c44
    - du listing: https://gist.github.com/c734323c8b2a2924e59912df5f75be0d
    R. RyanTM committed Jun 6, 2018
    Copy the full SHA
    a1df64b View commit details
  5. Merge pull request #41522 from orivej/libbsd

    Restore freedesktop libbsd
    orivej authored Jun 6, 2018
    Copy the full SHA
    134a2b8 View commit details
  6. Copy the full SHA
    e32cdcb View commit details
  7. wireless-regdb: 2018.05.09 -> 2018.05.31 (#41502)

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/wireless-regdb/versions.
    
    These checks were done:
    
    - built on NixOS
    
    - 0 of 0 passed binary check by having a zero exit code.
    - 0 of 0 passed binary check by having the new version present in output.
    - directory tree listing: https://gist.github.com/eb0bfbd5021737ca480ef0988bdb7c0b
    - du listing: https://gist.github.com/bef51cf6379ac49345c3a945c0d86181
    r-ryantm authored and xeji committed Jun 6, 2018
    Copy the full SHA
    0a01677 View commit details
  8. renpy: 6.99.14.3 -> 7.0.0 (#41515)

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/renpy/versions.
    
    These checks were done:
    
    - built on NixOS
    - Warning: no invocation of /nix/store/ahy8smyhk0l4jhca9gnzvw7pgl82aw0z-renpy-7.0.0/bin/renpy had a zero exit code or showed the expected version
    - 0 of 1 passed binary check by having a zero exit code.
    - 0 of 1 passed binary check by having the new version present in output.
    - found 7.0.0 with grep in /nix/store/ahy8smyhk0l4jhca9gnzvw7pgl82aw0z-renpy-7.0.0
    - directory tree listing: https://gist.github.com/d2bcdfe97ec6d25a85ed5c0960610062
    - du listing: https://gist.github.com/a9cf861b24bbd391732cfc7a596b829a
    r-ryantm authored and xeji committed Jun 6, 2018
    Copy the full SHA
    52e3ce6 View commit details
  9. pmd: 6.3.0 -> 6.4.0 (#41529)

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/pmd/versions.
    
    These checks were done:
    
    - built on NixOS
    - Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/bgastviewer.bat had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/cpdgui.bat had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/designer.bat had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/pmd.bat had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/cpd.bat had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/run.sh had a zero exit code or showed the expected version
    - 0 of 6 passed binary check by having a zero exit code.
    - 0 of 6 passed binary check by having the new version present in output.
    - found 6.4.0 with grep in /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0
    - directory tree listing: https://gist.github.com/c371521af22489a6f711d026a7ae6ca8
    - du listing: https://gist.github.com/c80d6292115b6f1817e4c877e3b840a9
    r-ryantm authored and xeji committed Jun 6, 2018
    Copy the full SHA
    e28ebcf View commit details
  10. pkcs11helper: 1.22 -> 1.23 (#41530)

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/pkcs11-helper/versions.
    
    These checks were done:
    
    - built on NixOS
    
    - 0 of 0 passed binary check by having a zero exit code.
    - 0 of 0 passed binary check by having the new version present in output.
    - found 1.23 with grep in /nix/store/njd3rr6rvfss4xm4slpj7pxcp7ydlkxx-pkcs11-helper-1.23
    - directory tree listing: https://gist.github.com/dfd004f45e4a3e63bf0656538040eb38
    - du listing: https://gist.github.com/197b03678f9126503098e42ad217a12b
    r-ryantm authored and xeji committed Jun 6, 2018
    Copy the full SHA
    231bcd3 View commit details
  11. Merge pull request #41527 from r-ryantm/auto-update/qrencode

    qrencode: 4.0.0 -> 4.0.1
    7c6f434c authored Jun 6, 2018
    Copy the full SHA
    a1e32fb View commit details
  12. osinfo-db: 20180514 -> 20180531 (#41532)

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/osinfo-db/versions.
    
    These checks were done:
    
    - built on NixOS
    
    - 0 of 0 passed binary check by having a zero exit code.
    - 0 of 0 passed binary check by having the new version present in output.
    - found 20180531 with grep in /nix/store/25851x07kvaxfb8s7427mhpvylj8swg1-osinfo-db-20180531
    - directory tree listing: https://gist.github.com/60bc6cf4445cc0ea32c19263635f4abc
    - du listing: https://gist.github.com/f17e071004c463f800b9a570501643e5
    r-ryantm authored and xeji committed Jun 6, 2018
    Copy the full SHA
    46dfe1e View commit details
  13. monit: 5.25.1 -> 5.25.2

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/monit/versions.
    
    These checks were done:
    
    - built on NixOS
    - /nix/store/mh4qnd2ljfha67cv20lvkiyxr1cj0ar7-monit-5.25.2/bin/monit passed the binary check.
    - 1 of 1 passed binary check by having a zero exit code.
    - 0 of 1 passed binary check by having the new version present in output.
    - found 5.25.2 with grep in /nix/store/mh4qnd2ljfha67cv20lvkiyxr1cj0ar7-monit-5.25.2
    - directory tree listing: https://gist.github.com/510e765f79571ddc4c2542c69dffc6f3
    - du listing: https://gist.github.com/31af9a371bca965d4d606614e84025d4
    R. RyanTM committed Jun 6, 2018
    Copy the full SHA
    cd1dd31 View commit details
  14. Copy the full SHA
    832973d View commit details
  15. lxcfs: 3.0.0 -> 3.0.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/lxcfs/versions.
    
    These checks were done:
    
    - built on NixOS
    - /nix/store/cl7h5cnf1g85ig7sd82iar0cgj1ms4f1-lxcfs-3.0.1/bin/lxcfs passed the binary check.
    - 1 of 1 passed binary check by having a zero exit code.
    - 1 of 1 passed binary check by having the new version present in output.
    - found 3.0.1 with grep in /nix/store/cl7h5cnf1g85ig7sd82iar0cgj1ms4f1-lxcfs-3.0.1
    - directory tree listing: https://gist.github.com/76388e1795e7273b4e3035a87a0d4749
    - du listing: https://gist.github.com/8217b030a3bd3d182b6edc6439ae67e0
    R. RyanTM committed Jun 6, 2018
    Copy the full SHA
    fea9bd7 View commit details
  16. nodePackages_8_x: Add nodejs (npm) to wrapper

    Some pnpm commands forward to npm which might not exist in $PATH
    adisbladis committed Jun 6, 2018
    Copy the full SHA
    0b97cb6 View commit details
  17. Copy the full SHA
    07ebb8b View commit details
  18. Merge pull request #41535 from r-ryantm/auto-update/monit

    monit: 5.25.1 -> 5.25.2
    7c6f434c authored Jun 6, 2018
    Copy the full SHA
    692e42b View commit details
  19. lttng-tools: 2.10.3 -> 2.10.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/lttng-tools/versions.
    
    These checks were done:
    
    - built on NixOS
    - /nix/store/dkn45wpwlqz4afidp3f2z9gf4a2k331a-lttng-tools-2.10.4/bin/lttng passed the binary check.
    - /nix/store/dkn45wpwlqz4afidp3f2z9gf4a2k331a-lttng-tools-2.10.4/bin/lttng-crash passed the binary check.
    - /nix/store/dkn45wpwlqz4afidp3f2z9gf4a2k331a-lttng-tools-2.10.4/bin/lttng-relayd passed the binary check.
    - /nix/store/dkn45wpwlqz4afidp3f2z9gf4a2k331a-lttng-tools-2.10.4/bin/lttng-sessiond passed the binary check.
    - 4 of 4 passed binary check by having a zero exit code.
    - 2 of 4 passed binary check by having the new version present in output.
    - found 2.10.4 with grep in /nix/store/dkn45wpwlqz4afidp3f2z9gf4a2k331a-lttng-tools-2.10.4
    - directory tree listing: https://gist.github.com/e4d67a251f6e4d55bef4903a618d4c77
    - du listing: https://gist.github.com/5a95c60b995446339306ed79d3eee027
    R. RyanTM authored and bjornfor committed Jun 6, 2018
    Copy the full SHA
    a073f26 View commit details
  20. ipmiutil: 3.1.0 -> 3.1.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/ipmiutil/versions.
    
    These checks were done:
    
    - built on NixOS
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/ipmiutil had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/ievents had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/idiscover had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/ialarms had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/icmd had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/iconfig had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/ifirewall had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/ifru had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/ifwum had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/igetevent had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/ihealth had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/ihpm had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/ilan had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/ipicmg had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/ipmi_port had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/ireset had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/isel had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/iseltime had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/isensor had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/iserial had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/isol had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/iuser had a zero exit code or showed the expected version
    - Warning: no invocation of /nix/store/g5xqcpmd9m47yc23dsdczapwlmw56b9a-ipmiutil-3.1.1/bin/iwdt had a zero exit code or showed the expected version
    - 0 of 23 passed binary check by having a zero exit code.
    - 0 of 23 passed binary check by having the new version present in output.
    - directory tree listing: https://gist.github.com/2e464372bda59e64858903e01bf01472
    - du listing: https://gist.github.com/310a0565ebec0aa5644c80c0d97ffb94
    R. RyanTM committed Jun 6, 2018
    Copy the full SHA
    fa20957 View commit details
  21. Revert "gdk-pixbuf: make loaders builtin on Darwin"

    This reverts commit 6d3b976.
    
    See the next commit.
    orivej committed Jun 6, 2018
    Copy the full SHA
    14987c6 View commit details
  22. Revert "gdk-pixbuf: patch library rpath references on darwin"

    This reverts commit 6bb08e8.
    
    See the next commit.
    orivej committed Jun 6, 2018
    Copy the full SHA
    06cdd7d View commit details
  23. gdk-pixbuf: fix loader.cache on darwin

    gdk-pixbuf-query-loaders looks for .so files even on darwin, but after the
    switch to meson the loaders are installed with .dylib extension.
    
    Fixes #41314
    orivej committed Jun 6, 2018
    Copy the full SHA
    eed7db4 View commit details
  24. mypaint: fix impurities

    jtojnar committed Jun 6, 2018
    Copy the full SHA
    2a49af0 View commit details
  25. Merge pull request #41553 from r-ryantm/auto-update/ipmiutil

    ipmiutil: 3.1.0 -> 3.1.1
    7c6f434c authored Jun 6, 2018
    Copy the full SHA
    165a27e View commit details
  26. Merge pull request #41559 from orivej/gdk-pixbuf

     gdk-pixbuf: fix loader.cache on darwin
    orivej authored Jun 6, 2018
    Copy the full SHA
    57d35bb View commit details
  27. Copy the full SHA
    4ffeb3b View commit details
  28. Merge pull request #41543 from r-ryantm/auto-update/lxcfs

    lxcfs: 3.0.0 -> 3.0.1
    Mic92 authored Jun 6, 2018
    Copy the full SHA
    074f6b0 View commit details
  29. qmmp: 1.2.1 -> 1.2.2

    Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
    
    This update was made based on information from https://repology.org/metapackage/qmmp/versions.
    
    These checks were done:
    
    - built on NixOS
    - Warning: no invocation of /nix/store/wmri4qc7h7p1xb90x82fjknxpq8mr50c-qmmp-1.2.2/bin/qmmp had a zero exit code or showed the expected version
    - 0 of 1 passed binary check by having a zero exit code.
    - 0 of 1 passed binary check by having the new version present in output.
    - found 1.2.2 with grep in /nix/store/wmri4qc7h7p1xb90x82fjknxpq8mr50c-qmmp-1.2.2
    - directory tree listing: https://gist.github.com/5df37ecfd2a1e3650a65dec2b57cef84
    - du listing: https://gist.github.com/49d55015de390d6d3f1477dad43024ac
    R. RyanTM authored and bjornfor committed Jun 6, 2018
    Copy the full SHA
    3b1e151 View commit details
4 changes: 2 additions & 2 deletions pkgs/applications/audio/qmmp/default.nix
Original file line number Diff line number Diff line change
@@ -29,11 +29,11 @@
# handle that.

stdenv.mkDerivation rec {
name = "qmmp-1.2.1";
name = "qmmp-1.2.2";

src = fetchurl {
url = "http://qmmp.ylsoftware.com/files/${name}.tar.bz2";
sha256 = "1ag8wh11dq394zjqdyz5g1srjnm4fnq4cwlhpb9k89gpmlk42cdr";
sha256 = "01nnyg8m3p3px1fj3lfsqqv9zh1388dwx1bm2qv4v87jywimgp79";
};

buildInputs =
13 changes: 9 additions & 4 deletions pkgs/applications/graphics/mypaint/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, gtk3, intltool, json_c, lcms2, libpng, librsvg,
pkgconfig, python2Packages, scons, swig, wrapGAppsHook }:
{ stdenv, fetchFromGitHub, gtk3, intltool, json_c, lcms2, libpng, librsvg, gobjectIntrospection, hicolor-icon-theme
, gdk_pixbuf, pkgconfig, python2Packages, scons, swig, wrapGAppsHook }:

let
inherit (python2Packages) python pycairo pygobject3 numpy;
@@ -15,9 +15,14 @@ in stdenv.mkDerivation rec {
fetchSubmodules = true;
};

nativeBuildInputs = [ intltool pkgconfig scons swig wrapGAppsHook ];
nativeBuildInputs = [
intltool pkgconfig scons swig wrapGAppsHook
gobjectIntrospection # for setup hook
];

buildInputs = [ gtk3 json_c lcms2 libpng librsvg pycairo pygobject3 python ];
buildInputs = [
gtk3 gdk_pixbuf json_c lcms2 libpng librsvg pycairo pygobject3 python hicolor-icon-theme
];

propagatedBuildInputs = [ numpy ];

4 changes: 2 additions & 2 deletions pkgs/data/misc/osinfo-db/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, osinfo-db-tools, intltool, libxml2 }:

stdenv.mkDerivation rec {
name = "osinfo-db-20180514";
name = "osinfo-db-20180531";

src = fetchurl {
url = "https://releases.pagure.org/libosinfo/${name}.tar.xz";
sha256 = "1pyz89gwn3s9ha4chgfcfddi6dixm2dp4zsypfd38fwhqa9v0ij2";
sha256 = "0vw6hn7xdfj0q7wc3k9b0nvbghdp1b9dl63xz2v7frr55qv59m5x";
};

nativeBuildInputs = [ osinfo-db-tools intltool libxml2 ];
4 changes: 2 additions & 2 deletions pkgs/data/misc/wireless-regdb/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "wireless-regdb-${version}";
version = "2018.05.09";
version = "2018.05.31";

src = fetchurl {
url = "https://www.kernel.org/pub/software/network/wireless-regdb/${name}.tar.xz";
sha256 = "0db4p8m194cjydrv9q7ygx62v202sighb9pizbn8a29anvm0cmzd";
sha256 = "0yxydxkmcb6iryrbazdk8lqqibig102kq323gw3p64vpjwxvrpz1";
};

dontBuild = true;
4 changes: 2 additions & 2 deletions pkgs/development/interpreters/renpy/default.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ with pythonPackages;

stdenv.mkDerivation rec {
name = "renpy-${version}";
version = "6.99.14.3";
version = "7.0.0";

meta = with stdenv.lib; {
description = "Ren'Py Visual Novel Engine";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {

src = fetchurl {
url = "https://www.renpy.org/dl/${version}/renpy-${version}-source.tar.bz2";
sha256 = "15n29ybblcpnfbmhc31gm5vj7cpqd8cwrcqxlwnxy0gjpbc50x73";
sha256 = "0yrwp5iw4fjg7kbd041qv8gh2p0dnbrnkrgmn0ndk5k10pjij82g";
};

patches = [
18 changes: 11 additions & 7 deletions pkgs/development/libraries/gdk-pixbuf/default.nix
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
"-Djasper=true"
"-Dx11=true"
"-Dgir=${if gobjectIntrospection != null then "true" else "false"}"
] ++ stdenv.lib.optional stdenv.isDarwin "-Dbuiltin_loaders=all";
];

postPatch = ''
chmod +x build-aux/* # patchShebangs only applies to executables
@@ -73,21 +73,25 @@ stdenv.mkDerivation rec {
'';

postInstall =
# All except one utility seem to be only useful during building.
# meson erroneously installs loaders with .dylib extension on Darwin.
# Their @rpath has to be replaced before gdk-pixbuf-query-loaders looks at them.
stdenv.lib.optionalString stdenv.isDarwin ''
for f in $out/${passthru.moduleDir}/*.dylib; do
install_name_tool -change @rpath/libgdk_pixbuf-2.0.0.dylib $out/lib/libgdk_pixbuf-2.0.0.dylib $f
mv $f ''${f%.dylib}.so
done
''
# All except one utility seem to be only useful during building.
+ ''
moveToOutput "bin" "$dev"
moveToOutput "bin/gdk-pixbuf-thumbnailer" "$out"
# We need to install 'loaders.cache' in lib/gdk-pixbuf-2.0/2.10.0/
$dev/bin/gdk-pixbuf-query-loaders --update-cache
'';

# The fixDarwinDylibNames hook doesn't patch library references or binaries.
# The fixDarwinDylibNames hook doesn't patch binaries.
preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
for f in $(find $out/lib -name '*.dylib'); do
install_name_tool -change @rpath/libgdk_pixbuf-2.0.0.dylib $out/lib/libgdk_pixbuf-2.0.0.dylib $f
done
for f in $out/bin/* $dev/bin/*; do
install_name_tool -change @rpath/libgdk_pixbuf-2.0.0.dylib $out/lib/libgdk_pixbuf-2.0.0.dylib $f
done
222 changes: 222 additions & 0 deletions pkgs/development/libraries/libbsd/cdefs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
From 11ec8f1e5dfa1c10e0c9fb94879b6f5b96ba52dd Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Tue, 6 Mar 2018 01:41:35 +0100
Subject: Handle systems missing <sys/cdefs.h>

This is a non-portable header, and we cannot expect it to be provided by
the system libc (e.g. musl). We just need and rely on declaration that
we have defined ourselves in our own <bsd/sys/cdefs.h>. So we switch to
only ever assume that.

Fixes: https://bugs.freedesktop.org/105281
---
include/bsd/libutil.h | 4 ++++
include/bsd/md5.h | 4 ++++
include/bsd/nlist.h | 4 ++++
include/bsd/readpassphrase.h | 4 ++++
include/bsd/stdlib.h | 4 ++++
include/bsd/string.h | 4 ++++
include/bsd/stringlist.h | 5 +++++
include/bsd/sys/queue.h | 4 ++++
include/bsd/sys/tree.h | 4 ++++
include/bsd/timeconv.h | 4 ++++
include/bsd/vis.h | 4 ++++
include/bsd/wchar.h | 4 ++++
12 files changed, 49 insertions(+)

diff --git a/include/bsd/libutil.h b/include/bsd/libutil.h
index 45b3b15..ccca29a 100644
--- a/include/bsd/libutil.h
+++ b/include/bsd/libutil.h
@@ -40,7 +40,11 @@
#define LIBBSD_LIBUTIL_H

#include <features.h>
+#ifdef LIBBSD_OVERLAY
#include <sys/cdefs.h>
+#else
+#include <bsd/sys/cdefs.h>
+#endif
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
diff --git a/include/bsd/md5.h b/include/bsd/md5.h
index 5f3ae46..bf36a30 100644
--- a/include/bsd/md5.h
+++ b/include/bsd/md5.h
@@ -27,7 +27,11 @@ typedef struct MD5Context {
uint8_t buffer[MD5_BLOCK_LENGTH]; /* input buffer */
} MD5_CTX;

+#ifdef LIBBSD_OVERLAY
#include <sys/cdefs.h>
+#else
+#include <bsd/sys/cdefs.h>
+#endif
#include <sys/types.h>

__BEGIN_DECLS
diff --git a/include/bsd/nlist.h b/include/bsd/nlist.h
index cb297e8..8767117 100644
--- a/include/bsd/nlist.h
+++ b/include/bsd/nlist.h
@@ -27,7 +27,11 @@
#ifndef LIBBSD_NLIST_H
#define LIBBSD_NLIST_H

+#ifdef LIBBSD_OVERLAY
#include <sys/cdefs.h>
+#else
+#include <bsd/sys/cdefs.h>
+#endif

struct nlist {
union {
diff --git a/include/bsd/readpassphrase.h b/include/bsd/readpassphrase.h
index 14744b8..5eb8021 100644
--- a/include/bsd/readpassphrase.h
+++ b/include/bsd/readpassphrase.h
@@ -31,7 +31,11 @@
#define RPP_SEVENBIT 0x10 /* Strip the high bit from input. */
#define RPP_STDIN 0x20 /* Read from stdin, not /dev/tty */

+#ifdef LIBBSD_OVERLAY
#include <sys/cdefs.h>
+#else
+#include <bsd/sys/cdefs.h>
+#endif
#include <sys/types.h>

__BEGIN_DECLS
diff --git a/include/bsd/stdlib.h b/include/bsd/stdlib.h
index ebc9638..8d33d1f 100644
--- a/include/bsd/stdlib.h
+++ b/include/bsd/stdlib.h
@@ -42,7 +42,11 @@
#ifndef LIBBSD_STDLIB_H
#define LIBBSD_STDLIB_H

+#ifdef LIBBSD_OVERLAY
#include <sys/cdefs.h>
+#else
+#include <bsd/sys/cdefs.h>
+#endif
#include <sys/stat.h>
#include <stdint.h>

diff --git a/include/bsd/string.h b/include/bsd/string.h
index 6798bf6..29097f6 100644
--- a/include/bsd/string.h
+++ b/include/bsd/string.h
@@ -33,7 +33,11 @@
#ifndef LIBBSD_STRING_H
#define LIBBSD_STRING_H

+#ifdef LIBBSD_OVERLAY
#include <sys/cdefs.h>
+#else
+#include <bsd/sys/cdefs.h>
+#endif
#include <sys/types.h>

__BEGIN_DECLS
diff --git a/include/bsd/stringlist.h b/include/bsd/stringlist.h
index ff30cac..dd71496 100644
--- a/include/bsd/stringlist.h
+++ b/include/bsd/stringlist.h
@@ -31,7 +31,12 @@

#ifndef LIBBSD_STRINGLIST_H
#define LIBBSD_STRINGLIST_H
+
+#ifdef LIBBSD_OVERLAY
#include <sys/cdefs.h>
+#else
+#include <bsd/sys/cdefs.h>
+#endif
#include <sys/types.h>

/*
diff --git a/include/bsd/sys/queue.h b/include/bsd/sys/queue.h
index 4a94ea7..ac00026 100644
--- a/include/bsd/sys/queue.h
+++ b/include/bsd/sys/queue.h
@@ -33,7 +33,11 @@
#ifndef LIBBSD_SYS_QUEUE_H
#define LIBBSD_SYS_QUEUE_H

+#ifdef LIBBSD_OVERLAY
#include <sys/cdefs.h>
+#else
+#include <bsd/sys/cdefs.h>
+#endif

/*
* This file defines four types of data structures: singly-linked lists,
diff --git a/include/bsd/sys/tree.h b/include/bsd/sys/tree.h
index 628bec0..325b382 100644
--- a/include/bsd/sys/tree.h
+++ b/include/bsd/sys/tree.h
@@ -30,7 +30,11 @@
#ifndef LIBBSD_SYS_TREE_H
#define LIBBSD_SYS_TREE_H

+#ifdef LIBBSD_OVERLAY
#include <sys/cdefs.h>
+#else
+#include <bsd/sys/cdefs.h>
+#endif

/*
* This file defines data structures for different types of trees:
diff --git a/include/bsd/timeconv.h b/include/bsd/timeconv.h
index e2a2c55..a426bd3 100644
--- a/include/bsd/timeconv.h
+++ b/include/bsd/timeconv.h
@@ -41,7 +41,11 @@
#ifndef LIBBSD_TIMECONV_H
#define LIBBSD_TIMECONV_H

+#ifdef LIBBSD_OVERLAY
#include <sys/cdefs.h>
+#else
+#include <bsd/sys/cdefs.h>
+#endif
#include <stdint.h>
#include <time.h>

diff --git a/include/bsd/vis.h b/include/bsd/vis.h
index 970dfdd..ab5430c 100644
--- a/include/bsd/vis.h
+++ b/include/bsd/vis.h
@@ -72,7 +72,11 @@
*/
#define UNVIS_END 1 /* no more characters */

+#ifdef LIBBSD_OVERLAY
#include <sys/cdefs.h>
+#else
+#include <bsd/sys/cdefs.h>
+#endif

__BEGIN_DECLS
char *vis(char *, int, int, int);
diff --git a/include/bsd/wchar.h b/include/bsd/wchar.h
index 33a500e..7216503 100644
--- a/include/bsd/wchar.h
+++ b/include/bsd/wchar.h
@@ -40,7 +40,11 @@
#define LIBBSD_WCHAR_H

#include <stddef.h>
+#ifdef LIBBSD_OVERLAY
#include <sys/cdefs.h>
+#else
+#include <bsd/sys/cdefs.h>
+#endif
#include <sys/types.h>

__BEGIN_DECLS
--
cgit v1.1

Loading