lol

Merge pull request #83618 from NixOS/staging-next

Staging next

authored by

Frederik Rietdijk and committed by
GitHub
e50c67ad df77ecc9

+2127 -2104
+3
nixos/doc/manual/release-notes/rl-2009.xml
··· 24 24 </para> 25 25 </listitem> 26 26 <listitem> 27 + <para>GNOME desktop environment was upgraded to 3.36, see its <link xlink:href="https://help.gnome.org/misc/release-notes/3.36/">release notes</link>.</para> 28 + </listitem> 29 + <listitem> 27 30 <para> 28 31 PHP now defaults to PHP 7.4, updated from 7.3. 29 32 </para>
+1 -1
nixos/modules/config/gtk/gtk-icon-cache.nix
··· 77 77 78 78 if [ -w "$themedir" ]; then 79 79 rm -f "$themedir"/icon-theme.cache 80 - ${pkgs.gtk3.out}/bin/gtk-update-icon-cache --ignore-theme-index "$themedir" 80 + ${pkgs.buildPackages.gtk3.out}/bin/gtk-update-icon-cache --ignore-theme-index "$themedir" 81 81 fi 82 82 done 83 83 '';
+1 -1
nixos/modules/i18n/input-method/ibus.nix
··· 76 76 XMODIFIERS = "@im=ibus"; 77 77 }; 78 78 79 - xdg.portal.extraPortals = mkIf xdg.portal.enable [ 79 + xdg.portal.extraPortals = mkIf config.xdg.portal.enable [ 80 80 ibusPackage 81 81 ]; 82 82 };
+2
nixos/modules/services/desktops/gnome3/gnome-keyring.nix
··· 39 39 40 40 services.dbus.packages = [ pkgs.gnome3.gnome-keyring pkgs.gcr ]; 41 41 42 + xdg.portal.extraPortals = [ pkgs.gnome3.gnome-keyring ]; 43 + 42 44 security.pam.services.login.enableGnomeKeyring = true; 43 45 44 46 security.wrappers.gnome-keyring-daemon = {
+9 -20
nixos/modules/services/networking/rxe.nix
··· 5 5 let 6 6 cfg = config.networking.rxe; 7 7 8 - runRxeCmd = cmd: ifcs: 9 - concatStrings ( map (x: "${pkgs.rdma-core}/bin/rxe_cfg -n ${cmd} ${x};") ifcs); 10 - 11 - startScript = pkgs.writeShellScriptBin "rxe-start" '' 12 - ${pkgs.rdma-core}/bin/rxe_cfg -n start 13 - ${runRxeCmd "add" cfg.interfaces} 14 - ${pkgs.rdma-core}/bin/rxe_cfg 15 - ''; 16 - 17 - stopScript = pkgs.writeShellScriptBin "rxe-stop" '' 18 - ${runRxeCmd "remove" cfg.interfaces } 19 - ${pkgs.rdma-core}/bin/rxe_cfg -n stop 20 - ''; 21 - 22 8 in { 23 9 ###### interface 24 10 ··· 31 17 example = [ "eth0" ]; 32 18 description = '' 33 19 Enable RDMA on the listed interfaces. The corresponding virtual 34 - RDMA interfaces will be named rxe0 ... rxeN where the ordering 35 - will be as they are named in the list. UDP port 4791 must be 36 - open on the respective ethernet interfaces. 20 + RDMA interfaces will be named rxe_<interface>. 21 + UDP port 4791 must be open on the respective ethernet interfaces. 37 22 ''; 38 23 }; 39 24 }; ··· 44 29 config = mkIf cfg.enable { 45 30 46 31 systemd.services.rxe = { 47 - path = with pkgs; [ kmod rdma-core ]; 48 32 description = "RoCE interfaces"; 49 33 50 34 wantedBy = [ "multi-user.target" ]; ··· 54 38 serviceConfig = { 55 39 Type = "oneshot"; 56 40 RemainAfterExit = true; 57 - ExecStart = "${startScript}/bin/rxe-start"; 58 - ExecStop = "${stopScript}/bin/rxe-stop"; 41 + ExecStart = map ( x: 42 + "${pkgs.iproute}/bin/rdma link add rxe_${x} type rxe netdev ${x}" 43 + ) cfg.interfaces; 44 + 45 + ExecStop = map ( x: 46 + "${pkgs.iproute}/bin/rdma link delete rxe_${x}" 47 + ) cfg.interfaces; 59 48 }; 60 49 }; 61 50 };
+7 -8
nixos/modules/services/x11/desktop-managers/gnome3.nix
··· 184 184 wmCommand = "${pkgs.gnome3.metacity}/bin/metacity"; 185 185 } ++ cfg.flashback.customSessions); 186 186 187 - security.pam.services.gnome-screensaver = { 187 + security.pam.services.gnome-flashback = { 188 188 enableGnomeKeyring = true; 189 189 }; 190 190 ··· 195 195 inherit (wm) wmName; 196 196 }) cfg.flashback.customSessions); 197 197 198 - services.dbus.packages = [ 199 - pkgs.gnome3.gnome-screensaver 200 - ]; 198 + # gnome-panel needs these for menu applet 199 + environment.sessionVariables.XDG_DATA_DIRS = [ "${pkgs.gnome3.gnome-flashback}/share" ]; 200 + # TODO: switch to sessionVariables (resolve conflict) 201 + environment.variables.XDG_CONFIG_DIRS = [ "${pkgs.gnome3.gnome-flashback}/etc/xdg" ]; 201 202 }) 202 203 203 204 (mkIf serviceCfg.core-os-services.enable { ··· 256 257 systemd.packages = with pkgs.gnome3; [ 257 258 gnome-session 258 259 gnome-shell 259 - vino 260 260 ]; 261 261 262 262 services.avahi.enable = mkDefault true; ··· 308 308 environment = mkForce {}; 309 309 }; 310 310 311 - # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/gnome-3-32/elements/core/meta-gnome-core-shell.bst 311 + # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/gnome-3-36/elements/core/meta-gnome-core-shell.bst 312 312 environment.systemPackages = with pkgs.gnome3; [ 313 313 adwaita-icon-theme 314 314 gnome-backgrounds ··· 327 327 pkgs.hicolor-icon-theme 328 328 pkgs.shared-mime-info # for update-mime-database 329 329 pkgs.xdg-user-dirs # Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/ 330 - vino 331 330 ]; 332 331 }) 333 332 334 - # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/gnome-3-32/elements/core/meta-gnome-core-utilities.bst 333 + # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/gnome-3-36/elements/core/meta-gnome-core-utilities.bst 335 334 (mkIf serviceCfg.core-utilities.enable { 336 335 environment.systemPackages = (with pkgs.gnome3; removePackagesByName [ 337 336 baobab
+1 -1
nixos/tests/rxe.nix
··· 28 28 # Test if rxe interface comes up 29 29 server.wait_for_unit("default.target") 30 30 server.succeed("systemctl status rxe.service") 31 - server.succeed("ibv_devices | grep rxe0") 31 + server.succeed("ibv_devices | grep rxe_eth1") 32 32 33 33 client.wait_for_unit("default.target") 34 34
+1
pkgs/applications/accessibility/contrast/default.nix
··· 40 40 pkgconfig 41 41 python3 42 42 wrapGAppsHook 43 + glib # for glib-compile-resources 43 44 ]; 44 45 45 46 buildInputs = [
+1 -2
pkgs/applications/audio/jackmix/default.nix
··· 9 9 10 10 patches = [ ./no_error.patch ]; 11 11 12 - nativeBuildInputs = [ pkgconfig ]; 12 + nativeBuildInputs = [ scons.py2 pkgconfig ]; 13 13 buildInputs = [ 14 - scons 15 14 qt4 16 15 lash 17 16 jack
+2 -1
pkgs/applications/audio/mixxx/default.nix
··· 28 28 sha256 = "1h7q25fv62c5m74d4cn1m6mpanmqpbl2wqbch4qvn488jb2jw1dv"; 29 29 }; 30 30 31 + nativeBuildInputs = [ scons.py2 ]; 31 32 buildInputs = [ 32 33 chromaprint fftw flac faad2 glibcLocales mp4v2 libid3tag libmad libopus libshout241 libsndfile 33 34 libusb1 libvorbis libxcb libGLU lilv lv2 opusfile pkgconfig portaudio portmidi protobuf qtbase qtscript qtsvg 34 - qtx11extras rubberband scons sqlite taglib upower vamp-plugin-sdk 35 + qtx11extras rubberband sqlite taglib upower vamp-plugin-sdk 35 36 ]; 36 37 37 38 enableParallelBuilding = true;
+1 -1
pkgs/applications/audio/rhvoice/default.nix
··· 15 15 }; 16 16 17 17 nativeBuildInputs = [ 18 - scons pkgconfig 18 + scons.py2 pkgconfig 19 19 ]; 20 20 21 21 buildInputs = [
-1
pkgs/applications/audio/sound-juicer/default.nix
··· 27 27 passthru = { 28 28 updateScript = gnome3.updateScript { 29 29 packageName = pname; 30 - attrPath = "gnome3.${pname}"; 31 30 }; 32 31 }; 33 32
+2
pkgs/applications/editors/aseprite/default.nix
··· 98 98 99 99 enableParallelBuilding = true; 100 100 101 + passthru = { inherit skia; }; 102 + 101 103 meta = with lib; { 102 104 homepage = https://www.aseprite.org/; 103 105 description = "Animated sprite editor & pixel art tool";
+10 -2
pkgs/applications/editors/aseprite/skia.nix
··· 6 6 let 7 7 # skia-deps.nix is generated by: ./skia-make-deps.sh 'angle2|dng_sdk|piex|sfntly' 8 8 depSrcs = import ./skia-deps.nix { inherit fetchgit; }; 9 + gnOld = gn.overrideAttrs (oldAttrs: rec { 10 + version = "20190403"; 11 + src = fetchgit { 12 + url = "https://gn.googlesource.com/gn"; 13 + rev = "64b846c96daeb3eaf08e26d8a84d8451c6cb712b"; 14 + sha256 = "1v2kzsshhxn0ck6gd5w16gi2m3higwd9vkyylmsczxfxnw8skgpy"; 15 + }; 16 + }); 9 17 in 10 18 stdenv.mkDerivation { 11 19 name = "skia-aseprite-m71"; ··· 14 22 owner = "aseprite"; 15 23 repo = "skia"; 16 24 # latest commit from aseprite-m71 branch 17 - rev = "89e4ca4352d05adc892f5983b108433f29b2c0c2"; 25 + rev = "89e4ca4352d05adc892f5983b108433f29b2c0c2"; # TODO: Remove the gnOld override 18 26 sha256 = "0n3vrkswvi6rib9zv2pzi18h3j5wm7flmgkgaikcm6q7iw4l2c7x"; 19 27 }; 20 28 21 - nativeBuildInputs = [ python2 gn ninja ]; 29 + nativeBuildInputs = [ python2 gnOld ninja ]; 22 30 23 31 buildInputs = [ 24 32 fontconfig expat icu58 libglvnd libjpeg libpng libwebp zlib
+5 -18
pkgs/applications/editors/gnome-builder/default.nix
··· 5 5 , docbook_xsl 6 6 , docbook_xml_dtd_43 7 7 , fetchurl 8 - , fetchpatch 9 8 , flatpak 10 9 , gnome3 11 10 , libgit2-glib ··· 18 17 , jsonrpc-glib 19 18 , libdazzle 20 19 , libpeas 20 + , libportal 21 21 , libxml2 22 22 , meson 23 23 , ninja ··· 39 39 40 40 stdenv.mkDerivation rec { 41 41 pname = "gnome-builder"; 42 - version = "3.34.1"; 42 + version = "3.36.0"; 43 43 44 44 src = fetchurl { 45 45 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 46 - sha256 = "19018pq94cxf6fywd7fsmy98x56by5zfmh140pl530gaaw84cvhb"; 46 + sha256 = "G0nl6DVzb3k6cN2guFIe/XNhFNhKbaq5e8wz62VA0Qo="; 47 47 }; 48 48 49 - patches = [ 50 - # Fix build with Meson 0.52 51 - (fetchpatch { 52 - url = "https://gitlab.gnome.org/GNOME/gnome-builder/commit/c8b862b491cfbbb4f79b24d7cd90e4fb1f37cb9f.patch"; 53 - sha256 = "0n8kg7nnjqmbnyag1ps6dvrlqrxc94djjncqx10d6y7ijwdxf4w8"; 54 - }) 55 - (fetchpatch { 56 - url = "https://gitlab.gnome.org/GNOME/gnome-builder/commit/da26dfbf78468f5ed724e022b300a07862a95833.patch"; 57 - sha256 = "0psa65bzjpjj7vc5rknv2w2dz3p50jjv10s6j2fd6lpw8j2800k4"; 58 - }) 59 - ]; 60 - 61 49 nativeBuildInputs = [ 62 50 appstream-glib 63 51 desktop-file-utils ··· 65 53 docbook_xml_dtd_43 66 54 gobject-introspection 67 55 gtk-doc 68 - (meson.override ({ inherit stdenv; })) 56 + meson 69 57 ninja 70 58 pkgconfig 71 59 python3 ··· 80 68 gnome3.glade 81 69 libgit2-glib 82 70 libpeas 71 + libportal 83 72 vte 84 73 gspell 85 74 gtk3 ··· 108 97 prePatch = '' 109 98 patchShebangs build-aux/meson/post_install.py 110 99 ''; 111 - 112 - NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 113 100 114 101 mesonFlags = [ 115 102 "-Dpython_libprefix=${python3.libPrefix}"
+1 -1
pkgs/applications/graphics/fluxus/default.nix
··· 69 69 openssl.dev 70 70 racket 71 71 ]; 72 - nativeBuildInputs = [ scons ]; 72 + nativeBuildInputs = [ scons.py2 ]; 73 73 74 74 patches = [ ./fix-build.patch ]; 75 75 sconsFlags = [
+5 -1
pkgs/applications/kde/kitinerary.nix
··· 2 2 mkDerivation, lib, extra-cmake-modules 3 3 , qtbase, qtdeclarative, ki18n, kmime, kpkpass 4 4 , poppler, kcontacts, kcalendarcore 5 + , shared-mime-info 5 6 }: 6 7 7 8 mkDerivation { ··· 10 11 license = with lib.licenses; [ lgpl21 ]; 11 12 maintainers = [ lib.maintainers.bkchr ]; 12 13 }; 13 - nativeBuildInputs = [ extra-cmake-modules ]; 14 + nativeBuildInputs = [ 15 + extra-cmake-modules 16 + shared-mime-info # for update-mime-database 17 + ]; 14 18 buildInputs = [ 15 19 qtbase qtdeclarative ki18n kmime kpkpass poppler 16 20 kcontacts kcalendarcore
+2 -2
pkgs/applications/misc/orca/default.nix
··· 35 35 36 36 buildPythonApplication rec { 37 37 pname = "orca"; 38 - version = "3.34.2"; 38 + version = "3.36.0"; 39 39 40 40 format = "other"; 41 41 42 42 src = fetchurl { 43 43 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 44 - sha256 = "0aaagz8mxvfigrsdbmg22q44vf5yhkbw4rh4cnizysbfvijk4dan"; 44 + sha256 = "0yrkl0j1mm4fd5zib8jvbfgm2iyanlx05vhhnmjcmvpm464c7pf9"; 45 45 }; 46 46 47 47 patches = [
+1 -1
pkgs/applications/networking/instant-messengers/swift-im/default.nix
··· 14 14 15 15 patches = [ ./qt-5.11.patch ./scons.patch ]; 16 16 17 - nativeBuildInputs = [ pkgconfig qttools scons ]; 17 + nativeBuildInputs = [ pkgconfig qttools scons.py2 ]; 18 18 19 19 buildInputs = [ 20 20 GConf avahi boost hunspell libXScrnSaver libedit libidn libnatpmp libxml2
+11
pkgs/applications/networking/instant-messengers/telepathy/mission-control/default.nix
··· 1 1 { stdenv 2 2 , fetchurl 3 + , fetchpatch 3 4 , pkgconfig 4 5 , dconf 5 6 , telepathy-glib ··· 18 19 url = "https://telepathy.freedesktop.org/releases/${pname}/${pname}-${version}.tar.gz"; 19 20 sha256 = "00xxv38cfdirnfvgyd56m60j0nkmsv5fz6p2ydyzsychicxl6ssc"; 20 21 }; 22 + 23 + patches = [ 24 + # Fix property name (new GLib is stricter) 25 + # https://github.com/NixOS/nixpkgs/pull/81626#issuecomment-601494939 26 + # https://gitlab.gnome.org/GNOME/polari/-/merge_requests/141 27 + (fetchpatch { 28 + url = "https://github.com/TelepathyIM/telepathy-mission-control/commit/d8dab08fe8db137c6bbd8bbdc3d9b01d98c48910.patch"; 29 + sha256 = "Sw+V5QcWQ5zugwTTdkwa3pqV+v5XD0OhH6xI5ymgkOU="; 30 + }) 31 + ]; 21 32 22 33 buildInputs = [ 23 34 python3
+9
pkgs/applications/networking/modem-manager-gui/default.nix
··· 2 2 , pkgconfig 3 3 , python3 4 4 , fetchhg 5 + , fetchpatch 5 6 , gtk3 6 7 , glib 7 8 , gdbm ··· 24 25 rev = "version ${version}"; 25 26 sha256 = "11iibh36567814h2bz41sa1072b86p1l13xyj670pwkh9k8kw8fd"; 26 27 }; 28 + 29 + patches = [ 30 + # Fix docs build 31 + (fetchpatch { 32 + url = "https://bitbucket.org/linuxonly/modem-manager-gui/commits/68fb09c12413b7de9b7477cbf4241c3527568325/raw"; 33 + sha256 = "58XIT/RTZ9sjUK2e47h+SqpRWhQ2vbKb2h9MKiHNdgw="; 34 + }) 35 + ]; 27 36 28 37 nativeBuildInputs = [ 29 38 pkgconfig
+4 -3
pkgs/applications/office/notes-up/default.nix
··· 2 2 , fetchFromGitHub 3 3 , pantheon 4 4 , pkgconfig 5 - , vala 5 + , vala_0_46 6 6 , cmake 7 7 , ninja 8 8 , gtk3 ··· 30 30 nativeBuildInputs = [ 31 31 cmake 32 32 ninja 33 - vala 33 + # fails with newer vala: https://github.com/Philip-Scott/Notes-up/issues/349 34 + vala_0_46 34 35 pkgconfig 35 36 wrapGAppsHook 36 37 ]; ··· 59 60 meta = with stdenv.lib; { 60 61 description = "Markdown notes editor and manager designed for elementary OS" 61 62 + stdenv.lib.optionalString withPantheon " - built with Contractor support"; 62 - homepage = https://github.com/Philip-Scott/Notes-up; 63 + homepage = "https://github.com/Philip-Scott/Notes-up"; 63 64 license = licenses.gpl2; 64 65 maintainers = with maintainers; [ davidak worldofpeace ]; 65 66 platforms = platforms.linux;
+24 -27
pkgs/applications/radio/airspy/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub 2 - , cmake , pkgconfig, libusb 2 + , cmake , pkgconfig, libusb1 3 3 }: 4 4 5 - let 5 + stdenv.mkDerivation rec { 6 + pname = "airspy"; 6 7 version = "1.0.9"; 7 - in 8 - stdenv.mkDerivation { 9 - pname = "airspy"; 10 - inherit version; 11 8 12 - src = fetchFromGitHub { 13 - owner = "airspy"; 14 - repo = "airspyone_host"; 15 - rev = "v${version}"; 16 - sha256 = "04kx2p461sqd4q354n1a99zcabg9h29dwcnyhakykq8bpg3mgf1x"; 17 - }; 9 + src = fetchFromGitHub { 10 + owner = "airspy"; 11 + repo = "airspyone_host"; 12 + rev = "v${version}"; 13 + sha256 = "04kx2p461sqd4q354n1a99zcabg9h29dwcnyhakykq8bpg3mgf1x"; 14 + }; 18 15 19 - postPatch = '' 20 - substituteInPlace airspy-tools/CMakeLists.txt --replace "/etc/udev/rules.d" "$out/etc/udev/rules.d" 21 - ''; 16 + postPatch = '' 17 + substituteInPlace airspy-tools/CMakeLists.txt --replace "/etc/udev/rules.d" "$out/etc/udev/rules.d" 18 + ''; 22 19 23 - nativeBuildInputs = [ cmake pkgconfig ]; 24 - buildInputs = [ libusb ]; 20 + nativeBuildInputs = [ cmake pkgconfig ]; 21 + buildInputs = [ libusb1 ]; 25 22 26 - cmakeFlags = 27 - lib.optionals stdenv.isLinux [ "-DINSTALL_UDEV_RULES=ON" ]; 23 + cmakeFlags = 24 + lib.optionals stdenv.isLinux [ "-DINSTALL_UDEV_RULES=ON" ]; 28 25 29 - meta = with stdenv.lib; { 30 - homepage = https://github.com/airspy/airspyone_host; 31 - description = "Host tools and driver library for the AirSpy SDR"; 32 - license = licenses.bsd3; 33 - platforms = with platforms; linux ++ darwin; 34 - maintainers = with maintainers; [ markuskowa ]; 35 - }; 36 - } 26 + meta = with stdenv.lib; { 27 + homepage = https://github.com/airspy/airspyone_host; 28 + description = "Host tools and driver library for the AirSpy SDR"; 29 + license = licenses.bsd3; 30 + platforms = with platforms; linux ++ darwin; 31 + maintainers = with maintainers; [ markuskowa ]; 32 + }; 33 + }
+2 -2
pkgs/applications/radio/dump1090/default.nix
··· 2 2 , fetchFromGitHub 3 3 , pkgconfig 4 4 , libbladeRF 5 - , libusb 5 + , libusb1 6 6 , ncurses 7 7 , rtl-sdr 8 8 }: ··· 22 22 23 23 buildInputs = [ 24 24 libbladeRF 25 - libusb 25 + libusb1 26 26 ncurses 27 27 rtl-sdr 28 28 ];
+8 -3
pkgs/applications/radio/hackrf/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkgconfig, libusb, fftwSinglePrec }: 1 + { stdenv, fetchFromGitHub, cmake, pkgconfig, libusb1, fftwSinglePrec }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "hackrf"; ··· 11 11 sha256 = "0idh983xh6gndk9kdgx5nzz76x3mxb42b02c5xvdqahadsfx3b9w"; 12 12 }; 13 13 14 - nativeBuildInputs = [ pkgconfig ]; 14 + nativeBuildInputs = [ 15 + cmake 16 + pkgconfig 17 + ]; 18 + 15 19 buildInputs = [ 16 - cmake libusb fftwSinglePrec 20 + libusb1 21 + fftwSinglePrec 17 22 ]; 18 23 19 24 cmakeFlags = [ "-DUDEV_RULES_GROUP=plugdev" "-DUDEV_RULES_PATH=lib/udev/rules.d" ];
+2 -2
pkgs/applications/science/electronics/dsview/default.nix
··· 1 1 { stdenv, fetchFromGitHub, pkgconfig, cmake, 2 2 libzip, boost, fftw, qtbase, 3 - libusb, wrapQtAppsHook, libsigrok4dsl, libsigrokdecode4dsl 3 + libusb1, wrapQtAppsHook, libsigrok4dsl, libsigrokdecode4dsl 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { ··· 27 27 nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ]; 28 28 29 29 buildInputs = [ 30 - boost fftw qtbase libusb libzip libsigrokdecode4dsl libsigrok4dsl 30 + boost fftw qtbase libusb1 libzip libsigrokdecode4dsl libsigrok4dsl 31 31 ]; 32 32 33 33 enableParallelBuilding = true;
+2 -2
pkgs/applications/science/electronics/dsview/libsigrok4dsl.nix
··· 1 1 { stdenv, pkgconfig, autoreconfHook, 2 - glib, libzip, libserialport, check, libusb, libftdi, 2 + glib, libzip, libserialport, check, libusb1, libftdi, 3 3 systemd, alsaLib, dsview 4 4 }: 5 5 ··· 15 15 nativeBuildInputs = [ pkgconfig autoreconfHook ]; 16 16 17 17 buildInputs = [ 18 - glib libzip libserialport libusb libftdi systemd check alsaLib 18 + glib libzip libserialport libusb1 libftdi systemd check alsaLib 19 19 ]; 20 20 21 21 meta = with stdenv.lib; {
+9 -2
pkgs/applications/version-management/git-and-tools/git/default.nix
··· 95 95 ++ stdenv.lib.optionals stdenv.isSunOS ["INSTALL=install" "NO_INET_NTOP=" "NO_INET_PTON="] 96 96 ++ (if stdenv.isDarwin then ["NO_APPLE_COMMON_CRYPTO=1"] else ["sysconfdir=/etc"]) 97 97 ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl ["NO_SYS_POLL_H=1" "NO_GETTEXT=YesPlease"] 98 - ++ stdenv.lib.optional withpcre2 "USE_LIBPCRE2=1"; 98 + ++ stdenv.lib.optional withpcre2 "USE_LIBPCRE2=1" 99 + # git-gui refuses to start with the version of tk distributed with 100 + # macOS Catalina. We can prevent git from building the .app bundle 101 + # by specifying an invalid tk framework. The postInstall step will 102 + # then ensure that git-gui uses tcl/tk from nixpkgs, which is an 103 + # acceptable version. 104 + # 105 + # See https://github.com/Homebrew/homebrew-core/commit/dfa3ccf1e7d3901e371b5140b935839ba9d8b706 106 + ++ stdenv.lib.optional stdenv.isDarwin "TKFRAMEWORK=/nonexistent"; 99 107 100 108 101 109 postBuild = '' ··· 232 240 for prog in bin/gitk libexec/git-core/{git-gui,git-citool,git-gui--askpass}; do 233 241 sed -i -e "s|exec 'wish'|exec '${tk}/bin/wish'|g" \ 234 242 -e "s|exec wish|exec '${tk}/bin/wish'|g" \ 235 - -e "s|exec \"[^\"]*/MacOS/Wish\"|exec '${tk}/bin/wish'|g" \ 236 243 "$out/$prog" 237 244 done 238 245 ln -s $out/share/git/contrib/completion/git-completion.bash $out/share/bash-completion/completions/gitk
+8 -2
pkgs/applications/video/bombono/default.nix
··· 17 17 sha256 = "1lz1vik6abn1i1pvxhm55c9g47nxxv755wb2ijszwswwrwgvq5b9"; 18 18 }; 19 19 20 - patches = map fetchPatchFromAur [ 20 + patches = [ 21 + (fetchpatch { 22 + name = "bombono-dvd-1.2.4-scons3.patch"; 23 + url = "https://svnweb.mageia.org/packages/cauldron/bombono-dvd/current/SOURCES/bombono-dvd-1.2.4-scons-python3.patch?revision=1447925&view=co&pathrev=1484457"; 24 + sha256 = "081116d0if6s2r1rgqfr1n5gl3kpvzk01pf4v2k7gg2rnid83qp4"; 25 + }) 26 + ] ++ (map fetchPatchFromAur [ 21 27 {name="fix_ffmpeg_codecid.patch"; sha256="1asfc0lqzk4gjssrvjmsi1xr53ygnsx2sh7c8yzp5r3j2bagxhp7";} 22 28 {name="fix_ptr2bool_cast.patch"; sha256="0iqzrmbg38ikh4x9cmx0v0rnm7a9lcq0kd8sh1z9yfmnz71qqahg";} 23 29 {name="fix_c++11_literal_warnings.patch"; sha256="1zbf12i77p0j0090pz5lzg4a7kyahahzqssybv7vi0xikwvw57w9";} ··· 26 32 {name="fix_throw_specifications.patch"; sha256="1f5gi3qwm843hsxvijq7sjy0s62xm7rnr1vdp7f242fi0ldq6c1n";} 27 33 {name="fix_operator_ambiguity.patch"; sha256="0r4scsbsqfg6wgzsbfxxpckamvgyrida0n1ypg1klx24pk5dc7n7";} 28 34 {name="fix_ffmpeg30.patch"; sha256="1irva7a9bpbzs60ga8ypa3la9y84i5rz20jnd721qmfqp2yip8dw";} 29 - ]; 35 + ]); 30 36 31 37 nativeBuildInputs = [ wrapGAppsHook scons pkgconfig gettext ]; 32 38
+3 -4
pkgs/applications/video/kodi/plugins.nix
··· 1 1 { stdenv, callPackage, fetchFromGitHub 2 2 , cmake, kodiPlain, libcec_platform, tinyxml, rapidxml 3 - , steam, libusb, pcre-cpp, jsoncpp, libhdhomerun, zlib 3 + , steam, udev, libusb1, jsoncpp, libhdhomerun, zlib 4 4 , python2Packages, expat, glib, nspr, nss, openssl 5 5 , libssh, libarchive, lzma, bzip2, lz4, lzo }: 6 6 ··· 236 236 maintainers = with maintainers; [ edwtjo ]; 237 237 }; 238 238 239 - extraBuildInputs = [ libusb pcre-cpp ]; 240 - 239 + extraBuildInputs = [ udev ]; 241 240 }; 242 241 243 242 simpleplugin = mkKodiPlugin rec { ··· 300 299 sha256 = "1hbd8fdvn7xkr9csz1g9wah78nhnq1rkazl4zwa31y70830k3279"; 301 300 }; 302 301 303 - extraBuildInputs = [ libusb ]; 302 + extraBuildInputs = [ libusb1 ]; 304 303 305 304 meta = { 306 305 description = "Binary addon for steam controller.";
+1 -1
pkgs/applications/window-managers/cage/default.nix
··· 22 22 sha256 = "1gkqx26pvlw00b3fgx6sh87yyjfzyj51jwxvbf9k117npkrf4b2g"; 23 23 }; 24 24 25 - nativeBuildInputs = [ meson ninja pkgconfig makeWrapper ]; 25 + nativeBuildInputs = [ meson ninja pkgconfig makeWrapper wayland ]; 26 26 27 27 buildInputs = [ 28 28 wlroots wayland wayland-protocols pixman libxkbcommon
+2
pkgs/build-support/rust/default.nix
··· 181 181 182 182 doCheck = args.doCheck or true; 183 183 184 + strictDeps = true; 185 + 184 186 inherit releaseDir; 185 187 186 188 installPhase = args.installPhase or ''
+2 -2
pkgs/build-support/setup-hooks/patch-shebangs.sh
··· 42 42 local newInterpreterLine 43 43 44 44 if [ $# -eq 0 ]; then 45 - echo "No arguments supplied to patchShebangs" >0 45 + echo "No arguments supplied to patchShebangs" >&2 46 46 return 0 47 47 fi 48 48 ··· 66 66 # - options: something starting with a '-' 67 67 # - environment variables: foo=bar 68 68 if $(echo "$arg0" | grep -q -- "^-.*\|.*=.*"); then 69 - echo "$f: unsupported interpreter directive \"$oldInterpreterLine\" (set dontPatchShebangs=1 and handle shebang patching yourself)" >0 69 + echo "$f: unsupported interpreter directive \"$oldInterpreterLine\" (set dontPatchShebangs=1 and handle shebang patching yourself)" >&2 70 70 exit 1 71 71 fi 72 72
+1 -1
pkgs/data/misc/nixos-artwork/icons.nix
··· 9 9 sha256 = "0wp08b1gh2chs1xri43wziznyjcplx0clpsrb13wzyscv290ay5a"; 10 10 }; 11 11 makeFlags = [ "DESTDIR=$(out)" "prefix=" ]; 12 - buildInputs = [ imagemagick ]; 12 + nativeBuildInputs = [ imagemagick ]; 13 13 }
+1 -1
pkgs/data/misc/osinfo-db/default.nix
··· 19 19 20 20 meta = with stdenv.lib; { 21 21 description = "Osinfo database of information about operating systems for virtualization provisioning tools"; 22 - homepage = "https://libosinfo.org/"; 22 + homepage = "https://gitlab.com/libosinfo/osinfo-db/"; 23 23 license = licenses.gpl2Plus; 24 24 platforms = platforms.linux; 25 25 maintainers = [ maintainers.bjornfor ];
+1 -1
pkgs/data/themes/arc/default.nix
··· 34 34 ''; 35 35 36 36 configureFlags = [ 37 - "--with-gnome-shell=${stdenv.lib.versions.majorMinor gnome3.gnome-shell.version}" 37 + "--disable-gnome-shell" # 3.36 not supported 38 38 "--disable-unity" 39 39 ]; 40 40
+9 -1
pkgs/desktops/deepin/deepin-terminal/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, vala_0_40, 1 + { stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, vala_0_40, fetchpatch, 2 2 gettext, at-spi2-core, dbus, epoxy, expect, gtk3, json-glib, 3 3 libXdmcp, libgee, libpthreadstubs, librsvg, libsecret, libtasn1, 4 4 libxcb, libxkbcommon, p11-kit, pcre, vte, wnck, libselinux, gnutls, pcre2, ··· 14 14 rev = version; 15 15 sha256 = "1929saj828b438d07caw3cjhqq60v6gni7mi3fqrg9wdjz81xwv7"; 16 16 }; 17 + 18 + patches = [ 19 + # Fix build with VTE 0.60 20 + (fetchpatch { 21 + url = "https://github.com/linuxdeepin/deepin-terminal/commit/542d1035b609698ee81aa7971d20ca8e5930743d.patch"; 22 + sha256 = "1pihiy70yc25fm5fx7i7v9gmi65v4mhldvi7xwv8rgr2z6hbfj41"; 23 + }) 24 + ]; 17 25 18 26 nativeBuildInputs = [ 19 27 pkgconfig
+10 -1
pkgs/desktops/deepin/go-gir-generator/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, go, gobject-introspection, 1 + { stdenv, fetchpatch, fetchFromGitHub, pkgconfig, go, gobject-introspection, 2 2 libgudev, deepin }: 3 3 4 4 stdenv.mkDerivation rec { ··· 11 11 rev = version; 12 12 sha256 = "1ydzll8zlk897iqcihvv6p046p0rzr4qqz2drmz2nx95njp8n03a"; 13 13 }; 14 + 15 + patches = [ 16 + # Fix compatibility with glib 2.63+ 17 + # https://github.com/linuxdeepin/go-gir-generator/pull/11 18 + (fetchpatch { 19 + url = "https://github.com/linuxdeepin/go-gir-generator/commit/7dea15a1a491f28d2ac8c411068ccefeba01aae3.patch"; 20 + sha256 = "7bn/mtruCcK+AIXMzhN2e3o7CuzuJ3mtTz0HOTEYTaA="; 21 + }) 22 + ]; 14 23 15 24 nativeBuildInputs = [ 16 25 pkgconfig
+2 -2
pkgs/desktops/gnome-3/apps/accerciser/default.nix
··· 17 17 18 18 python3.pkgs.buildPythonApplication rec { 19 19 name = "accerciser-${version}"; 20 - version = "3.34.4"; 20 + version = "3.36.0"; 21 21 22 22 format = "other"; 23 23 24 24 src = fetchurl { 25 25 url = "mirror://gnome/sources/accerciser/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 26 - sha256 = "0f1dixq5hc55dl3y0fr85bkrc2zk08n4dacqcjifij1dys4ks3z1"; 26 + sha256 = "1iwi7mnayw1f90s439flh0zkgmj4qx10dzgj38nd5f3wvqmhabk3"; 27 27 }; 28 28 29 29 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/apps/evolution/default.nix
··· 43 43 44 44 stdenv.mkDerivation rec { 45 45 pname = "evolution"; 46 - version = "3.34.4"; 46 + version = "3.36.0"; 47 47 48 48 src = fetchurl { 49 49 url = "mirror://gnome/sources/evolution/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 50 - sha256 = "136vpaq94ymyn8pf3a3z1w45xlk1xbvwjdnzasq0d7iwbac0jwks"; 50 + sha256 = "0ylqvg52s6vc9xmyizcv3im66ra8xixzrfgn7hsmp12fg47na5vj"; 51 51 }; 52 52 53 53 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/apps/file-roller/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "file-roller"; 6 - version = "3.32.4"; 6 + version = "3.36.0"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/file-roller/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 - sha256 = "05s046br4fcli1d3wngh4jmwi0aikpfkl1px1cahskj4rfzjqfqv"; 10 + sha256 = "0y04y58sbggsgqzmxkb6q7300bdzf30w40yp57n87x9nypl4s55r"; 11 11 }; 12 12 13 13 LANG = "en_US.UTF-8"; # postinstall.py
+7 -5
pkgs/desktops/gnome-3/apps/gedit/default.nix
··· 1 1 { stdenv, meson, fetchurl, python3 2 2 , pkgconfig, gtk3, glib, adwaita-icon-theme 3 3 , libpeas, gtksourceview4, gsettings-desktop-schemas 4 - , wrapGAppsHook, ninja, libsoup, libxml2 5 - , gnome3, gspell, perl, itstool, desktop-file-utils }: 4 + , wrapGAppsHook, ninja, libsoup, tepl 5 + , gnome3, gspell, perl, itstool, desktop-file-utils 6 + }: 6 7 7 8 stdenv.mkDerivation rec { 8 9 pname = "gedit"; 9 - version = "3.34.1"; 10 + version = "3.36.0"; 10 11 11 12 src = fetchurl { 12 13 url = "mirror://gnome/sources/gedit/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 - sha256 = "1inm50sdfw63by1lf4f1swb59mpyxlly0g5rdg99j5l3357fzygb"; 14 + sha256 = "0dclapyghbkg15cjcf6nljcyy4980ipjw1m3mbqpmnz9lh9dv0y9"; 14 15 }; 15 16 16 17 nativeBuildInputs = [ 17 - pkgconfig wrapGAppsHook meson ninja libxml2 18 + pkgconfig wrapGAppsHook meson ninja 18 19 python3 perl itstool desktop-file-utils 19 20 ]; 20 21 ··· 23 24 adwaita-icon-theme libsoup 24 25 libpeas gtksourceview4 25 26 gsettings-desktop-schemas gspell 27 + tepl 26 28 ]; 27 29 28 30 postPatch = ''
+1 -1
pkgs/desktops/gnome-3/apps/glade/default.nix
··· 17 17 }; 18 18 19 19 nativeBuildInputs = [ 20 - pkgconfig intltool itstool wrapGAppsHook docbook_xsl libxslt gobject-introspection 20 + pkgconfig intltool itstool wrapGAppsHook docbook_xsl libxslt libxml2 gobject-introspection 21 21 ]; 22 22 buildInputs = [ 23 23 gtk3 glib libxml2 python3 python3.pkgs.pygobject3
+4 -4
pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix
··· 34 34 , mtools 35 35 , cdrkit 36 36 , libcdio 37 - , libusb 37 + , libusb1 38 38 , libarchive 39 39 , acl 40 40 , libgudev ··· 51 51 52 52 stdenv.mkDerivation rec { 53 53 pname = "gnome-boxes"; 54 - version = "3.34.4"; 54 + version = "3.36.0"; 55 55 56 56 src = fetchurl { 57 57 url = "mirror://gnome/sources/gnome-boxes/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 58 - sha256 = "1bqrl36nngbd8jpj31ipnywg2k0rg2j3bcgnyvn8r86ysh1gnm0f"; 58 + sha256 = "0saxz2mwp7y348izzgp7mmp6vnv5zi57x5rbsyag8s7pd7yp211n"; 59 59 }; 60 60 61 61 doCheck = true; ··· 99 99 librsvg 100 100 libsecret 101 101 libsoup 102 - libusb 102 + libusb1 103 103 libvirt 104 104 libvirt-glib 105 105 libxml2
+4 -4
pkgs/desktops/gnome-3/apps/gnome-calendar/default.nix
··· 1 1 { stdenv, fetchurl, meson, ninja, pkgconfig, wrapGAppsHook, libdazzle, libgweather, geoclue2, geocode-glib, python3 2 2 , gettext, libxml2, gnome3, gtk3, evolution-data-server, libsoup 3 - , glib, gnome-online-accounts, gsettings-desktop-schemas }: 3 + , glib, gnome-online-accounts, gsettings-desktop-schemas, libhandy }: 4 4 5 5 let 6 6 pname = "gnome-calendar"; 7 - version = "3.34.2"; 7 + version = "3.36.0"; 8 8 in stdenv.mkDerivation rec { 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 13 - sha256 = "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw"; 13 + sha256 = "1cxy4qf83s8w1ys94rcc4ksf7ywi0hkkpfs0szkkip2v8g3j6kq2"; 14 14 }; 15 15 16 16 passthru = { ··· 23 23 nativeBuildInputs = [ meson ninja pkgconfig gettext libxml2 wrapGAppsHook python3 ]; 24 24 buildInputs = [ 25 25 gtk3 evolution-data-server libsoup glib gnome-online-accounts libdazzle libgweather geoclue2 geocode-glib 26 - gsettings-desktop-schemas gnome3.adwaita-icon-theme 26 + gsettings-desktop-schemas gnome3.adwaita-icon-theme libhandy 27 27 ]; 28 28 29 29 postPatch = ''
+48 -10
pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix
··· 1 - { stdenv, fetchurl 2 - , meson, ninja, gettext, pkgconfig, wrapGAppsHook, itstool, desktop-file-utils 3 - , vala, gobject-introspection, libxml2, gtk3, glib, gsound, sound-theme-freedesktop 4 - , gsettings-desktop-schemas, adwaita-icon-theme, gnome-desktop, geocode-glib 5 - , gnome3, gdk-pixbuf, geoclue2, libgweather }: 1 + { stdenv 2 + , fetchurl 3 + , meson 4 + , ninja 5 + , gettext 6 + , pkgconfig 7 + , wrapGAppsHook 8 + , itstool 9 + , desktop-file-utils 10 + , vala 11 + , gobject-introspection 12 + , libxml2 13 + , gtk3 14 + , glib 15 + , gsound 16 + , sound-theme-freedesktop 17 + , gsettings-desktop-schemas 18 + , adwaita-icon-theme 19 + , gnome-desktop 20 + , geocode-glib 21 + , gnome3 22 + , gdk-pixbuf 23 + , geoclue2 24 + , libgweather 25 + , libhandy 26 + }: 6 27 7 28 stdenv.mkDerivation rec { 8 29 pname = "gnome-clocks"; 9 - version = "3.34.0"; 30 + version = "3.36.0"; 10 31 11 32 src = fetchurl { 12 33 url = "mirror://gnome/sources/gnome-clocks/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 - sha256 = "0g7hjk55smhkd09hwa9kag3h5a12l494wj89w9smpdk3ghsmy6b1"; 34 + sha256 = "1ij9xwp3c96gsnnlhkqkiw3y45a4lpw7a09d4yysx7bvgw68p5sc"; 14 35 }; 15 36 16 37 passthru = { ··· 23 44 doCheck = true; 24 45 25 46 nativeBuildInputs = [ 26 - vala meson ninja pkgconfig gettext itstool wrapGAppsHook desktop-file-utils libxml2 47 + vala 48 + meson 49 + ninja 50 + pkgconfig 51 + gettext 52 + itstool 53 + wrapGAppsHook 54 + desktop-file-utils 55 + libxml2 27 56 gobject-introspection # for finding vapi files 28 57 ]; 29 58 buildInputs = [ 30 - gtk3 glib gsettings-desktop-schemas gdk-pixbuf adwaita-icon-theme 31 - gnome-desktop geocode-glib geoclue2 libgweather gsound 59 + gtk3 60 + glib 61 + gsettings-desktop-schemas 62 + gdk-pixbuf 63 + adwaita-icon-theme 64 + gnome-desktop 65 + geocode-glib 66 + geoclue2 67 + libgweather 68 + gsound 69 + libhandy 32 70 ]; 33 71 34 72 preFixup = ''
+2 -2
pkgs/desktops/gnome-3/apps/gnome-maps/default.nix
··· 5 5 6 6 let 7 7 pname = "gnome-maps"; 8 - version = "3.34.3"; 8 + version = "3.36.0"; 9 9 in stdenv.mkDerivation rec { 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 14 - sha256 = "1p58il8dqj96nlv41gf926y8nw6ya15vmv9yr52025sizxaqzydw"; 14 + sha256 = "0kyd4f15bj409mhs97i94ggzwqdj3r3yjdmvvkn80pym0vw1xik5"; 15 15 }; 16 16 17 17 doCheck = true;
+4 -2
pkgs/desktops/gnome-3/apps/gnome-music/default.nix
··· 16 16 , grilo-plugins 17 17 , pkgconfig 18 18 , gtk3 19 + , pango 19 20 , glib 20 21 , desktop-file-utils 21 22 , appstream-glib ··· 29 30 30 31 python3.pkgs.buildPythonApplication rec { 31 32 pname = "gnome-music"; 32 - version = "3.34.4"; 33 + version = "3.36.0"; 33 34 34 35 format = "other"; 35 36 36 37 src = fetchurl { 37 38 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 38 - sha256 = "1l2jaf5jfdkqqpjxwahsjslb3sa2vlhjgpi1ib51is04ln729xb6"; 39 + sha256 = "01vjcaabd5m8vmicax7vaybsaml3wik4r85g4q8avdkzs8h4gz9h"; 39 40 }; 40 41 41 42 nativeBuildInputs = [ ··· 53 54 54 55 buildInputs = [ 55 56 gtk3 57 + pango 56 58 glib 57 59 libmediaart 58 60 gnome-online-accounts
+44 -11
pkgs/desktops/gnome-3/apps/gnome-notes/default.nix
··· 1 - { stdenv, meson, ninja, gettext, fetchurl, pkgconfig 2 - , wrapGAppsHook, itstool, desktop-file-utils, python3 3 - , glib, gtk3, evolution-data-server, gnome-online-accounts 4 - , libuuid, webkitgtk, zeitgeist 5 - , gnome3, libxml2, gsettings-desktop-schemas, tracker }: 1 + { stdenv 2 + , meson 3 + , ninja 4 + , gettext 5 + , fetchurl 6 + , pkgconfig 7 + , wrapGAppsHook 8 + , itstool 9 + , desktop-file-utils 10 + , python3 11 + , glib 12 + , gtk3 13 + , evolution-data-server 14 + , gnome-online-accounts 15 + , libuuid 16 + , libhandy 17 + , webkitgtk 18 + , zeitgeist 19 + , gnome3 20 + , libxml2 21 + , gsettings-desktop-schemas 22 + , tracker 23 + }: 6 24 7 25 let 8 - version = "3.34.2"; 9 - in stdenv.mkDerivation { 26 + version = "3.36.0"; 27 + in 28 + stdenv.mkDerivation { 10 29 pname = "gnome-notes"; 11 30 inherit version; 12 31 13 32 src = fetchurl { 14 33 url = "mirror://gnome/sources/bijiben/${stdenv.lib.versions.majorMinor version}/bijiben-${version}.tar.xz"; 15 - sha256 = "0kmhivgamnv2kk5kywrwm4af4s7663rjwh2wdri8iy1n2gmc9qpv"; 34 + sha256 = "1pz53hdd888si7vfy6d9h8cwarsdm4wwn7ni7f3az9638h3ilmfv"; 16 35 }; 17 36 18 37 doCheck = true; ··· 23 42 ''; 24 43 25 44 nativeBuildInputs = [ 26 - meson ninja pkgconfig gettext itstool libxml2 desktop-file-utils python3 wrapGAppsHook 45 + meson 46 + ninja 47 + pkgconfig 48 + gettext 49 + itstool 50 + libxml2 51 + desktop-file-utils 52 + python3 53 + wrapGAppsHook 27 54 ]; 28 55 29 56 buildInputs = [ 30 - glib gtk3 libuuid webkitgtk tracker 31 - gnome-online-accounts zeitgeist 57 + glib 58 + gtk3 59 + libuuid 60 + libhandy 61 + webkitgtk 62 + tracker 63 + gnome-online-accounts 64 + zeitgeist 32 65 gsettings-desktop-schemas 33 66 evolution-data-server 34 67 gnome3.adwaita-icon-theme
+15 -4
pkgs/desktops/gnome-3/apps/polari/default.nix
··· 1 1 { stdenv, itstool, fetchurl, gdk-pixbuf, adwaita-icon-theme 2 2 , telepathy-glib, gjs, meson, ninja, gettext, telepathy-idle, libxml2, desktop-file-utils 3 - , pkgconfig, gtk3, glib, libsecret, libsoup, gobject-introspection, appstream-glib 3 + , pkgconfig, gtk3, glib, libsecret, libsoup, webkitgtk, gobject-introspection, appstream-glib 4 4 , gnome3, wrapGAppsHook, telepathy-logger, gspell, gsettings-desktop-schemas }: 5 5 6 6 let 7 7 pname = "polari"; 8 - version = "3.34.1"; 8 + version = "3.36.0"; 9 9 in stdenv.mkDerivation rec { 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 14 - sha256 = "0wcfkib673fpys7hcpi5cqc0zgqzqmqvpzjzx4wwmim8lb121x5w"; 14 + sha256 = "0wi7bpscm4rghlwljilsgrls5dy9p0b27k246a1vrdadjghc69l4"; 15 15 }; 16 16 17 + patches = [ 18 + # Upstream runs the thumbnailer by passing it to gjs. 19 + # If we wrap it in a shell script, gjs can no longer run it. 20 + # Let’s change the code to run the script directly by making it executable and having gjs in shebang. 21 + ./make-thumbnailer-wrappable.patch 22 + ]; 23 + 17 24 propagatedUserEnvPkgs = [ telepathy-idle telepathy-logger ]; 18 25 19 26 nativeBuildInputs = [ ··· 23 30 24 31 buildInputs = [ 25 32 gtk3 glib adwaita-icon-theme gsettings-desktop-schemas 26 - telepathy-glib telepathy-logger gjs gspell gdk-pixbuf libsecret libsoup 33 + telepathy-glib telepathy-logger gjs gspell gdk-pixbuf libsecret libsoup webkitgtk 27 34 ]; 35 + 36 + postFixup = '' 37 + wrapGApp "$out/share/polari/thumbnailer.js" 38 + ''; 28 39 29 40 passthru = { 30 41 updateScript = gnome3.updateScript {
+24
pkgs/desktops/gnome-3/apps/polari/make-thumbnailer-wrappable.patch
··· 1 + diff --git a/src/thumbnailer.js b/src/thumbnailer.js 2 + old mode 100644 3 + new mode 100755 4 + index e2ad0a5..7ebf08a 5 + --- a/src/thumbnailer.js 6 + +++ b/src/thumbnailer.js 7 + @@ -1,3 +1,4 @@ 8 + +#!/usr/bin/env gjs 9 + imports.gi.versions.Gdk = '3.0'; 10 + imports.gi.versions.Gtk = '3.0'; 11 + 12 + diff --git a/src/urlPreview.js b/src/urlPreview.js 13 + index f17e0be..ccffc32 100644 14 + --- a/src/urlPreview.js 15 + +++ b/src/urlPreview.js 16 + @@ -44,7 +44,7 @@ class Thumbnailer { 17 + _generateThumbnail(data) { 18 + let { filename, uri } = data; 19 + this._subProc = Gio.Subprocess.new( 20 + - ['gjs', `${pkg.pkgdatadir}/thumbnailer.js`, uri, filename], 21 + + [`${pkg.pkgdatadir}/thumbnailer.js`, uri, filename], 22 + Gio.SubprocessFlags.NONE); 23 + this._subProc.wait_async(null, (o, res) => { 24 + try {
+4 -2
pkgs/desktops/gnome-3/apps/seahorse/default.nix
··· 22 22 , p11-kit 23 23 , openssh 24 24 , gsettings-desktop-schemas 25 + , libhandy 25 26 }: 26 27 27 28 stdenv.mkDerivation rec { 28 29 pname = "seahorse"; 29 - version = "3.34.1"; 30 + version = "3.36"; 30 31 31 32 src = fetchurl { 32 33 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 33 - sha256 = "19c2zylwgycb5q9hal8rmflc2sywc5c2grpsfsq3rf37i9lfwynw"; 34 + sha256 = "1nqn4a6dr4l1fpzj3mv4swhpnvhjcqlwsyhwm59sdzqgdfx4hbwr"; 34 35 }; 35 36 36 37 doCheck = true; ··· 60 61 openssh 61 62 openldap 62 63 libpwquality 64 + libhandy 63 65 ]; 64 66 65 67 postPatch = ''
+2 -2
pkgs/desktops/gnome-3/core/adwaita-icon-theme/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "adwaita-icon-theme"; 6 - version = "3.34.3"; 6 + version = "3.36.0"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/adwaita-icon-theme/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 - sha256 = "025rj1fskw1y448hiar4a9icyzpyr242nlh9xhsmyp8jb71dihp7"; 10 + sha256 = "066m3vd6k6xf3ap1ahrbw5hnx2322wf0qsnywcxjsj6snq9225qs"; 11 11 }; 12 12 13 13 # For convenience, we can specify adwaita-icon-theme only in packages
+2 -2
pkgs/desktops/gnome-3/core/dconf-editor/default.nix
··· 3 3 4 4 let 5 5 pname = "dconf-editor"; 6 - version = "3.34.4"; 6 + version = "3.36.0"; 7 7 in stdenv.mkDerivation rec { 8 8 name = "${pname}-${version}"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 12 - sha256 = "129a2klywvnrj49rz6p5camwsamajldqpsfkl1rgpm6nw0q2lnyy"; 12 + sha256 = "14q678bwgmhzmi7565xhhw51y8b0pv3cqh0f411qwzwif1bd1vkj"; 13 13 }; 14 14 15 15 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/core/eog/default.nix
··· 4 4 5 5 let 6 6 pname = "eog"; 7 - version = "3.34.2"; 7 + version = "3.36.0"; 8 8 in stdenv.mkDerivation rec { 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 13 - sha256 = "1lx96nn8q61ajk2m5454s9b5v5wyn7jbz2sf3k1irv8waiq0aavg"; 13 + sha256 = "0gnfpjp3ldvcij557dga4skj4ykb2idkyif7n1d758x42z2hh0s0"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ meson ninja pkgconfig gettext itstool wrapGAppsHook libxml2 gobject-introspection python3 ];
+14 -2
pkgs/desktops/gnome-3/core/epiphany/default.nix
··· 3 3 , ninja 4 4 , gettext 5 5 , fetchurl 6 + , fetchpatch 6 7 , pkgconfig 7 8 , gtk3 8 9 , glib ··· 30 31 , json-glib 31 32 , libdazzle 32 33 , libhandy 34 + , buildPackages 33 35 }: 34 36 35 37 stdenv.mkDerivation rec { 36 38 pname = "epiphany"; 37 - version = "3.34.4"; 39 + version = "3.36.0"; 38 40 39 41 src = fetchurl { 40 42 url = "mirror://gnome/sources/epiphany/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 41 - sha256 = "13ar3s40cds1rplwbzx0fzigf120w0rydiv05r3k6zpc0zy91qb0"; 43 + sha256 = "1xjn6jk4dx2kl2llalydcyvibnpwjahp9z3210pflyy4k68pfw6l"; 42 44 }; 43 45 46 + patches = [ 47 + # Fix downloading files 48 + # https://gitlab.gnome.org/GNOME/epiphany/issues/1127 49 + (fetchpatch { 50 + url = "https://gitlab.gnome.org/GNOME/epiphany/commit/8682a084bab7e758a9b8efe1deaf0cb8d55fcf44.patch"; 51 + sha256 = "bep+Q8Wpu84KA13a5T3JCz8nyeC13HT/QkMKvWT6vLk="; 52 + }) 53 + ]; 54 + 44 55 # Tests need an X display 45 56 mesonFlags = [ 46 57 "-Dunit_tests=disabled" ··· 56 67 pkgconfig 57 68 python3 58 69 wrapGAppsHook 70 + buildPackages.glib 59 71 ]; 60 72 61 73 buildInputs = [
+2 -2
pkgs/desktops/gnome-3/core/evince/default.nix
··· 43 43 44 44 stdenv.mkDerivation rec { 45 45 pname = "evince"; 46 - version = "3.34.2"; 46 + version = "3.36.0"; 47 47 48 48 outputs = [ "out" "dev" "devdoc" ]; 49 49 50 50 src = fetchurl { 51 51 url = "mirror://gnome/sources/evince/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 52 - sha256 = "05q6v9lssd21623mnj2p49clj9v9csw9kay7n4nklki025grbh1w"; 52 + sha256 = "1a7v534sqbg7rlrvg9x1rffdf6p9n37blp3wix6anyfl6i99n7c5"; 53 53 }; 54 54 55 55 postPatch = ''
+2 -2
pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "evolution-data-server"; 9 - version = "3.34.4"; 9 + version = "3.36.0"; 10 10 11 11 outputs = [ "out" "dev" ]; 12 12 13 13 src = fetchurl { 14 14 url = "mirror://gnome/sources/evolution-data-server/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 15 - sha256 = "1wz8mizblmvficxap6z9w62ymjwa8x99spnaljcwjl1wc55lnp4q"; 15 + sha256 = "1v4qjnggpwvafyqnkl1avsi3mpfxpcaz7kwxcf2iz7pvb1k0xmyl"; 16 16 }; 17 17 18 18 patches = [
+2 -2
pkgs/desktops/gnome-3/core/evolution-data-server/hardcode-gsettings.patch
··· 423 423 index f89cd4a5c..06cca9b5f 100644 424 424 --- a/src/libedataserverui/e-reminders-widget.c 425 425 +++ b/src/libedataserverui/e-reminders-widget.c 426 - @@ -1642,7 +1642,21 @@ static void 426 + @@ -1650,7 +1650,21 @@ static void 427 427 e_reminders_widget_init (ERemindersWidget *reminders) 428 428 { 429 - reminders->priv = G_TYPE_INSTANCE_GET_PRIVATE (reminders, E_TYPE_REMINDERS_WIDGET, ERemindersWidgetPrivate); 429 + reminders->priv = e_reminders_widget_get_instance_private (reminders); 430 430 - reminders->priv->settings = g_settings_new ("org.gnome.evolution-data-server.calendar"); 431 431 + { 432 432 + GSettingsSchemaSource *schema_source;
+2 -2
pkgs/desktops/gnome-3/core/gnome-backgrounds/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-backgrounds"; 5 - version = "3.34.0"; 5 + version = "3.36.0"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://gnome/sources/gnome-backgrounds/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 - sha256 = "0zxlwy55fz7i582hch2wnj8zy1kzikssgaix0l2y41ccp5nzpdy2"; 9 + sha256 = "02xvfwfi3133mjljl731z2hj9hfmjas3a1jl4fxmy24xrzj83jxq"; 10 10 }; 11 11 12 12 passthru = {
+2 -2
pkgs/desktops/gnome-3/core/gnome-calculator/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "gnome-calculator"; 7 - version = "3.34.1"; 7 + version = "3.36.0"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/gnome-calculator/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "0lbh87255zzggqzai6543qg920y52bl4vs5m5h5087ghzg14hlsd"; 11 + sha256 = "1cqd4b25qp1i0p04m669jssg1l5sdapc1mniv9jssvw5r7wk1s52"; 12 12 }; 13 13 14 14 nativeBuildInputs = [
+11 -12
pkgs/desktops/gnome-3/core/gnome-contacts/default.nix
··· 1 1 { stdenv, gettext, fetchurl, evolution-data-server, fetchpatch 2 2 , pkgconfig, libxslt, docbook_xsl, docbook_xml_dtd_42, python3, gtk3, glib, cheese 3 3 , libchamplain, clutter-gtk, geocode-glib, gnome-desktop, gnome-online-accounts 4 - , wrapGAppsHook, folks, libxml2, gnome3, telepathy-glib 5 - , vala, meson, ninja, libhandy, gsettings-desktop-schemas }: 4 + , wrapGAppsHook, folks, libxml2, gnome3 5 + , vala, meson, ninja, libhandy, gsettings-desktop-schemas 6 + # , telepathy-glib 7 + }: 6 8 7 - let 8 - version = "3.34.1"; 9 - in stdenv.mkDerivation rec { 9 + stdenv.mkDerivation rec { 10 10 pname = "gnome-contacts"; 11 - inherit version; 11 + version = "3.36"; 12 12 13 13 src = fetchurl { 14 14 url = "mirror://gnome/sources/gnome-contacts/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 15 - sha256 = "1jqw5yrypvjxzgg70vjbryylwx06amg6sg85mqi14a97xbccg0qa"; 15 + sha256 = "0yvgsfmqm8dxbhay12m20xp6qi9v31wwyv1gz4fx7j4kklhd5jzf"; 16 16 }; 17 17 18 18 propagatedUserEnvPkgs = [ evolution-data-server ]; ··· 23 23 24 24 buildInputs = [ 25 25 gtk3 glib evolution-data-server gsettings-desktop-schemas 26 - folks gnome-desktop telepathy-glib libhandy 26 + folks gnome-desktop libhandy 27 27 libxml2 gnome-online-accounts cheese 28 28 gnome3.adwaita-icon-theme libchamplain clutter-gtk geocode-glib 29 + # telepathy-glib 3.35.90 fails to build with telepathy 29 30 ]; 30 31 31 32 mesonFlags = [ 32 - "-Dtelepathy=true" 33 - ]; 34 - 35 - patches = [ 33 + # Upstream does not seem to maintain this properly: https://gitlab.gnome.org/GNOME/gnome-contacts/issues/103 34 + "-Dtelepathy=false" 36 35 ]; 37 36 38 37 postPatch = ''
+4 -6
pkgs/desktops/gnome-3/core/gnome-control-center/default.nix
··· 60 60 , tzdata 61 61 , udisks2 62 62 , upower 63 - , vino 63 + , epoxy 64 64 , gnome-user-share 65 65 , gnome-remote-desktop 66 - , shadow 67 66 , wrapGAppsHook 68 67 }: 69 68 70 69 stdenv.mkDerivation rec { 71 70 pname = "gnome-control-center"; 72 - version = "3.34.4"; 71 + version = "3.36.0"; 73 72 74 73 src = fetchurl { 75 74 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 76 - sha256 = "0bi7lsmr5hcf0v17brsa8j33p6i0wnh620bzwycmxryfp6s6vshp"; 75 + sha256 = "0gdadbkynldxqffdlw760039ci1vv9wsi5i0mdq4q9dblmb79q1b"; 77 76 }; 78 77 79 78 nativeBuildInputs = [ ··· 133 132 tracker 134 133 udisks2 135 134 upower 136 - vino 135 + epoxy 137 136 ]; 138 137 139 138 patches = [ 140 139 (substituteAll { 141 140 src = ./paths.patch; 142 141 gcm = gnome-color-manager; 143 - usermod = "${shadow}/bin/usermod"; 144 142 gnome_desktop = gnome-desktop; 145 143 inherit glibc libgnomekbd tzdata; 146 144 inherit cups networkmanagerapplet;
+56 -44
pkgs/desktops/gnome-3/core/gnome-control-center/paths.patch
··· 54 54 55 55 typedef struct _TzDB TzDB; 56 56 typedef struct _TzLocation TzLocation; 57 - diff --git a/panels/info/cc-info-overview-panel.c b/panels/info/cc-info-overview-panel.c 58 - index 7fce8691e..b839f8b69 100644 59 - --- a/panels/info/cc-info-overview-panel.c 60 - +++ b/panels/info/cc-info-overview-panel.c 61 - @@ -187,7 +187,7 @@ load_gnome_version (char **version, 57 + diff --git a/panels/info-overview/cc-info-overview-panel.c b/panels/info-overview/cc-info-overview-panel.c 58 + index 4541986db..da7826bfe 100644 59 + --- a/panels/info-overview/cc-info-overview-panel.c 60 + +++ b/panels/info-overview/cc-info-overview-panel.c 61 + @@ -169,7 +169,7 @@ load_gnome_version (char **version, 62 62 gsize length; 63 63 g_autoptr(VersionData) data = NULL; 64 - 64 + 65 65 - if (!g_file_get_contents (DATADIR "/gnome/gnome-version.xml", 66 66 + if (!g_file_get_contents ("@gnome_desktop@/share/gnome/gnome-version.xml", 67 67 &contents, ··· 71 71 index 9390a3308..d30b4a68e 100644 72 72 --- a/panels/network/connection-editor/net-connection-editor.c 73 73 +++ b/panels/network/connection-editor/net-connection-editor.c 74 - @@ -247,9 +247,9 @@ net_connection_editor_do_fallback (NetConnectionEditor *editor, const gchar *typ 75 - GError *error = NULL; 76 - 77 - if (editor->is_new_connection) { 74 + @@ -278,9 +278,9 @@ net_connection_editor_do_fallback (NetConnectionEditor *self, const gchar *type) 75 + g_autoptr(GError) error = NULL; 76 + 77 + if (self->is_new_connection) { 78 78 - cmdline = g_strdup_printf ("nm-connection-editor --type='%s' --create", type); 79 79 + cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --type='%s' --create", type); 80 80 } else { 81 81 - cmdline = g_strdup_printf ("nm-connection-editor --edit='%s'", 82 82 + cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --edit='%s'", 83 - nm_connection_get_uuid (editor->connection)); 83 + nm_connection_get_uuid (self->connection)); 84 84 } 85 85 86 - diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c 87 - index dd99a7485..4baa88a4e 100644 88 - --- a/panels/network/net-device-wifi.c 89 - +++ b/panels/network/net-device-wifi.c 90 - @@ -1445,7 +1445,7 @@ device_wifi_edit (NetObject *object) 91 - return; 92 - } 93 - uuid = nm_connection_get_uuid (NM_CONNECTION (connection)); 86 + diff --git a/panels/network/net-device-bluetooth.c b/panels/network/net-device-bluetooth.c 87 + --- a/panels/network/net-device-bluetooth.c 88 + +++ b/panels/network/net-device-bluetooth.c 89 + @@ -90,7 +90,7 @@ nm_device_bluetooth_refresh_ui (NetDeviceBluetooth *self) 90 + update_off_switch_from_device_state (self->device_off_switch, state, self); 91 + 92 + /* set up the Options button */ 93 + - path = g_find_program_in_path ("nm-connection-editor"); 94 + + path = g_find_program_in_path ("@networkmanagerapplet@/bin/nm-connection-editor"); 95 + gtk_widget_set_visible (GTK_WIDGET (self->options_button), state != NM_DEVICE_STATE_UNMANAGED && path != NULL); 96 + } 97 + 98 + @@ -141,7 +141,7 @@ options_button_clicked_cb (NetDeviceBluetooth *self) 99 + 100 + connection = net_device_get_find_connection (self->client, self->device); 101 + uuid = nm_connection_get_uuid (connection); 94 102 - cmdline = g_strdup_printf ("nm-connection-editor --edit %s", uuid); 95 103 + cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --edit %s", uuid); 96 104 g_debug ("Launching '%s'\n", cmdline); 97 - if (!g_spawn_command_line_async (cmdline, &error)) { 105 + if (!g_spawn_command_line_async (cmdline, &error)) 98 106 g_warning ("Failed to launch nm-connection-editor: %s", error->message); 99 - diff --git a/panels/network/net-device.c b/panels/network/net-device.c 100 - index d73b537b9..e2ee54294 100644 101 - --- a/panels/network/net-device.c 102 - +++ b/panels/network/net-device.c 103 - @@ -197,7 +197,7 @@ net_device_edit (NetObject *object) 104 - 105 - connection = net_device_get_find_connection (device); 107 + @@ -185,7 +185,7 @@ net_device_bluetooth_init (NetDeviceBluetooth *self) 108 + 109 + gtk_widget_init_template (GTK_WIDGET (self)); 110 + 111 + - path = g_find_program_in_path ("nm-connection-editor"); 112 + + path = g_find_program_in_path ("@networkmanagerapplet@/bin/nm-connection-editor"); 113 + gtk_widget_set_visible (GTK_WIDGET (self->options_button), path != NULL); 114 + } 115 + 116 + diff --git a/panels/network/net-device-mobile.c b/panels/network/net-device-mobile.c 117 + --- a/panels/network/net-device-mobile.c 118 + +++ b/panels/network/net-device-mobile.c 119 + @@ -484,7 +484,7 @@ options_button_clicked_cb (NetDeviceMobile *self) 120 + 121 + connection = net_device_get_find_connection (self->client, self->device); 106 122 uuid = nm_connection_get_uuid (connection); 107 123 - cmdline = g_strdup_printf ("nm-connection-editor --edit %s", uuid); 108 124 + cmdline = g_strdup_printf ("@networkmanagerapplet@/bin/nm-connection-editor --edit %s", uuid); 109 125 g_debug ("Launching '%s'\n", cmdline); 110 - if (!g_spawn_command_line_async (cmdline, &error)) { 126 + if (!g_spawn_command_line_async (cmdline, &error)) 111 127 g_warning ("Failed to launch nm-connection-editor: %s", error->message); 128 + @@ -776,7 +776,7 @@ net_device_mobile_init (NetDeviceMobile *self) 129 + 130 + self->cancellable = g_cancellable_new (); 131 + 132 + - path = g_find_program_in_path ("nm-connection-editor"); 133 + + path = g_find_program_in_path ("@networkmanagerapplet@/bin/nm-connection-editor"); 134 + gtk_widget_set_visible (GTK_WIDGET (self->options_button), path != NULL); 135 + } 136 + 112 137 diff --git a/panels/printers/pp-host.c b/panels/printers/pp-host.c 113 138 index f53ba217e..d24bcaeb9 100644 114 139 --- a/panels/printers/pp-host.c ··· 123 148 124 149 /* Use SNMP to get printer's informations */ 125 150 diff --git a/panels/region/cc-region-panel.c b/panels/region/cc-region-panel.c 126 - index e0604b8c3..fc323c1b2 100644 151 + index 35859526d..21486c917 100644 127 152 --- a/panels/region/cc-region-panel.c 128 153 +++ b/panels/region/cc-region-panel.c 129 - @@ -763,10 +763,10 @@ row_layout_cb (CcRegionPanel *self, 154 + @@ -755,10 +755,10 @@ row_layout_cb (CcRegionPanel *self, 130 155 layout_variant = cc_input_source_get_layout_variant (source); 131 156 132 157 if (layout_variant && layout_variant[0]) ··· 140 165 141 166 g_spawn_command_line_async (commandline, NULL); 142 167 diff --git a/panels/user-accounts/run-passwd.c b/panels/user-accounts/run-passwd.c 143 - index 19934f186..9f41a9620 100644 168 + index 00239ce0f..617c98870 100644 144 169 --- a/panels/user-accounts/run-passwd.c 145 170 +++ b/panels/user-accounts/run-passwd.c 146 171 @@ -150,7 +150,7 @@ spawn_passwd (PasswdHandler *passwd_handler, GError **error) ··· 152 177 argv[1] = NULL; 153 178 154 179 envp = g_get_environ (); 155 - diff --git a/panels/user-accounts/user-utils.c b/panels/user-accounts/user-utils.c 156 - index 83d4cd091..e8784c722 100644 157 - --- a/panels/user-accounts/user-utils.c 158 - +++ b/panels/user-accounts/user-utils.c 159 - @@ -486,7 +486,7 @@ is_valid_username_async (const gchar *username, 160 - * future, so it would be nice to have some official way for this 161 - * instead of relying on the current "--login" implementation. 162 - */ 163 - - argv[0] = "/usr/sbin/usermod"; 164 - + argv[0] = "@usermod@"; 165 - argv[1] = "--login"; 166 - argv[2] = data->username; 167 - argv[3] = "--"; 168 180 diff --git a/tests/datetime/test-endianess.c b/tests/datetime/test-endianess.c 169 181 index 9cb92007a..84d2f0fa3 100644 170 182 --- a/tests/datetime/test-endianess.c
+4 -12
pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, substituteAll, pkgconfig, libxslt, ninja, libX11, gnome3, gtk3, glib 1 + { stdenv, fetchurl, substituteAll, pkgconfig, libxslt, ninja, libX11, gnome3, gtk3, glib 2 2 , gettext, libxml2, xkeyboard_config, isocodes, meson, wayland 3 3 , libseccomp, systemd, bubblewrap, gobject-introspection, gtk-doc, docbook_xsl, gsettings-desktop-schemas }: 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "gnome-desktop"; 7 - version = "3.34.4"; 7 + version = "3.36.0"; 8 8 9 9 outputs = [ "out" "dev" "devdoc" ]; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/gnome-desktop/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 - sha256 = "1g0cvsx0gk65kfa91knkqg7l2isrnlpvqwjbzpr3a5f2girp4gn5"; 13 + sha256 = "05awmswzd4qa0vg23np0s7z6qks73j3sfj71y8azpvyxricw612b"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ 17 17 pkgconfig meson ninja gettext libxslt libxml2 gobject-introspection 18 - gtk-doc docbook_xsl 18 + gtk-doc docbook_xsl glib 19 19 ]; 20 20 buildInputs = [ 21 21 libX11 bubblewrap xkeyboard_config isocodes wayland ··· 29 29 src = ./bubblewrap-paths.patch; 30 30 bubblewrap_bin = "${bubblewrap}/bin/bwrap"; 31 31 inherit (builtins) storeDir; 32 - }) 33 - 34 - # honor $XKB_CONFIG_ROOT 35 - # addresses #76590: services.xserver.extraLayouts aren't honored by GNOME3 36 - # NOTE: should be merged upstream in 3.36. 37 - (fetchpatch { 38 - url = "https://gitlab.gnome.org/GNOME/gnome-desktop/commit/450446b5353e8231edded4d5b5db90a67a9fa9b7.diff"; 39 - sha256 = "07y989x7mbgn3rsm2qfdi8qkkc8i60k28hw87l744nlkydn78kq5"; 40 32 }) 41 33 ]; 42 34
+2 -2
pkgs/desktops/gnome-3/core/gnome-disk-utility/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "gnome-disk-utility"; 8 - version = "3.34.4"; 8 + version = "3.36.0"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/gnome-disk-utility/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "0p7pifmihg1vpsvym4qabdjqdp96yx9b4cbc6cnmf5i055js7i8y"; 12 + sha256 = "00xi9m8vklwska1k3sdcfyba3mhwx7clrh522dgksn7v0ja9l1zl"; 13 13 }; 14 14 15 15 nativeBuildInputs = [
+3 -4
pkgs/desktops/gnome-3/core/gnome-initial-setup/default.nix
··· 36 36 37 37 stdenv.mkDerivation rec { 38 38 pname = "gnome-initial-setup"; 39 - version = "3.34.3"; 39 + version = "3.36.0"; 40 40 41 41 src = fetchurl { 42 42 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 43 - sha256 = "1dc87mcvr7vdhfx4q0c44q37lf7ls2qvnc34dm66802qssrcxy9k"; 43 + sha256 = "08di7n26qhjfr0p1dvya2xfqwx37k8xbya97a8ccz3j0fzw0my4a"; 44 44 }; 45 45 46 46 nativeBuildInputs = [ ··· 85 85 ]; 86 86 87 87 mesonFlags = [ 88 - "-Dregion-page=true" 89 88 "-Dcheese=disabled" 90 - "-Dsoftware-sources=disabled" 91 89 "-Dibus=disabled" 90 + "-Dparental_controls=disabled" 92 91 "-Dvendor-conf-file=${./vendor.conf}" 93 92 ]; 94 93
+2 -2
pkgs/desktops/gnome-3/core/gnome-keyring/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "gnome-keyring"; 7 - version = "3.34.0"; 7 + version = "3.36.0"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/gnome-keyring/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "0hqrsh5g9q9lm190f0m85q4nki8k4ng7wphl6qbccdry59aakkg9"; 11 + sha256 = "11sgffrrpss5cmv3b717pqlbhgq17l1xd33fsvqgsw8simxbar52"; 12 12 }; 13 13 14 14 outputs = [ "out" "dev" ];
+2 -2
pkgs/desktops/gnome-3/core/gnome-remote-desktop/default.nix
··· 1 1 { stdenv, fetchFromGitLab, meson, ninja, pkgconfig, python3, wrapGAppsHook 2 - , glib, pipewire, systemd, libvncserver, libsecret, libnotify, gdk-pixbuf, gnome3 }: 2 + , glib, pipewire_0_2, systemd, libvncserver, libsecret, libnotify, gdk-pixbuf, gnome3 }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "gnome-remote-desktop"; ··· 16 16 nativeBuildInputs = [ meson ninja pkgconfig python3 wrapGAppsHook ]; 17 17 18 18 buildInputs = [ 19 - glib pipewire systemd libvncserver libsecret libnotify 19 + glib pipewire_0_2 systemd libvncserver libsecret libnotify 20 20 gdk-pixbuf # For libnotify 21 21 ]; 22 22
+2 -2
pkgs/desktops/gnome-3/core/gnome-screenshot/default.nix
··· 4 4 5 5 let 6 6 pname = "gnome-screenshot"; 7 - version = "3.34.0"; 7 + version = "3.36.0"; 8 8 in stdenv.mkDerivation rec { 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 13 - sha256 = "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"; 13 + sha256 = "0rhj6fkpxfm26jv3vsn7yb2ybkc2k86ggy23nxa945q74y4msj9k"; 14 14 }; 15 15 16 16 doCheck = true;
+2 -2
pkgs/desktops/gnome-3/core/gnome-session/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "gnome-session"; 7 - version = "3.34.2"; 7 + version = "3.36.0"; 8 8 9 9 outputs = ["out" "sessions"]; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/gnome-session/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 - sha256 = "1qgqp97f8k2zi2ydvhds14zsjzfj7cv521r6wx5sw0qacn0p7dwb"; 13 + sha256 = "0ymvf1bap35348rpjqp63qwnwnnawdwi4snch95zc4n832w3hjym"; 14 14 }; 15 15 16 16 patches = [
+3 -10
pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix
··· 13 13 , libgnomekbd 14 14 , lcms2 15 15 , libpulseaudio 16 - , mousetweaks 17 16 , alsaLib 18 17 , libcanberra-gtk3 19 18 , upower ··· 41 40 42 41 stdenv.mkDerivation rec { 43 42 pname = "gnome-settings-daemon"; 44 - version = "3.34.2"; 43 + version = "3.36.0"; 45 44 46 45 src = fetchurl { 47 46 url = "mirror://gnome/sources/gnome-settings-daemon/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 48 - sha256 = "1vfpgbdxkhh9xwvb3ja174jk3gpzj4n3jzcy9ygbjlvy45zfdflz"; 47 + sha256 = "0jddz8f2j4ps7csgq9b694h9hjxsyhlimik6rb2f8nbcxhrg0bzs"; 49 48 }; 50 49 51 50 patches = [ 52 51 (substituteAll { 53 52 src = ./fix-paths.patch; 54 - inherit tzdata mousetweaks; 53 + inherit tzdata; 55 54 }) 56 - ./global-backlight-helper.patch 57 55 ]; 58 56 59 57 nativeBuildInputs = [ ··· 103 101 # we're using plain 104 102 NIX_CFLAGS_COMPILE = "-DG_DISABLE_CAST_CHECKS"; 105 103 106 - # So the polkit policy can reference /run/current-system/sw/bin/gnome-settings-daemon/gsd-backlight-helper 107 - postFixup = '' 108 - mkdir -p $out/bin/gnome-settings-daemon 109 - ln -s $out/libexec/gsd-backlight-helper $out/bin/gnome-settings-daemon/gsd-backlight-helper 110 - ''; 111 104 112 105 postPatch = '' 113 106 for f in gnome-settings-daemon/codegen.py plugins/power/gsd-power-constants-update.pl meson_post_install.py; do
+4 -4
pkgs/desktops/gnome-3/core/gnome-shell-extensions/default.nix
··· 1 - { stdenv, fetchurl, meson, ninja, gettext, pkgconfig, spidermonkey_60, glib 1 + { stdenv, fetchurl, meson, ninja, gettext, pkgconfig, spidermonkey_68, glib 2 2 , gnome3, gnome-menus, substituteAll }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "gnome-shell-extensions"; 6 - version = "3.34.2"; 6 + version = "3.36.0"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/gnome-shell-extensions/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 - sha256 = "1f5l35l3kdkzrv49xmg1sh11vwmgjbg7hx3gb91i39bfl1snxqd1"; 10 + sha256 = "1rmi6ccqfdisvmmzaiqr2r031r0f3h8qxgw5qwq62x859nbrzcmm"; 11 11 }; 12 12 13 13 passthru = { ··· 27 27 doCheck = true; 28 28 # 60 is required for tests 29 29 # https://gitlab.gnome.org/GNOME/gnome-shell-extensions/blob/3.34.0/meson.build#L23 30 - checkInputs = [ spidermonkey_60 ]; 30 + checkInputs = [ spidermonkey_68 ]; 31 31 32 32 nativeBuildInputs = [ meson ninja pkgconfig gettext glib ]; 33 33
+46 -12
pkgs/desktops/gnome-3/core/gnome-shell/default.nix
··· 1 - { fetchurl, fetchpatch, substituteAll, stdenv, meson, ninja, pkgconfig, gnome3, json-glib, libcroco, gettext, libsecret 1 + { fetchurl, fetchpatch, substituteAll, stdenv, meson, ninja, pkgconfig, gnome3, json-glib, gettext, libsecret 2 2 , python3, libsoup, polkit, clutter, networkmanager, docbook_xsl , docbook_xsl_ns, at-spi2-core 3 3 , libstartup_notification, telepathy-glib, telepathy-logger, libXtst, unzip, glibcLocales, shared-mime-info 4 4 , libgweather, libcanberra-gtk3, librsvg, geoclue2, perl, docbook_xml_dtd_42, desktop-file-utils 5 - , libpulseaudio, libical, gobject-introspection, gstreamer, wrapGAppsHook, libxslt, gcr 5 + , libpulseaudio, libical, gobject-introspection, wrapGAppsHook, libxslt, gcr 6 6 , accountsservice, gdk-pixbuf, gdm, upower, ibus, libnma, libgnomekbd, gnome-desktop 7 7 , gsettings-desktop-schemas, gnome-keyring, glib, gjs, mutter, evolution-data-server, gtk3 8 8 , sassc, systemd, gst_all_1, adwaita-icon-theme, gnome-bluetooth, gnome-clocks, gnome-settings-daemon ··· 15 15 16 16 in stdenv.mkDerivation rec { 17 17 pname = "gnome-shell"; 18 - version = "3.34.4"; 18 + version = "3.36.0"; 19 19 20 20 src = fetchurl { 21 21 url = "mirror://gnome/sources/gnome-shell/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 22 - sha256 = "0rm32h7lv4vyadi9x32sb6fwxslarwk70yzmvzjxbq872cazp779"; 22 + sha256 = "1phkkkwrrigchz58xs324vf6snd1fm7mxa2iaqwwj526vh5c1s2q"; 23 23 }; 24 24 25 25 LANG = "en_US.UTF-8"; ··· 31 31 buildInputs = [ 32 32 systemd 33 33 gsettings-desktop-schemas gnome-keyring glib gcr json-glib accountsservice 34 - libcroco libsecret libsoup polkit gdk-pixbuf librsvg 35 - clutter networkmanager libstartup_notification telepathy-glib 34 + libsecret libsoup polkit gdk-pixbuf librsvg 35 + networkmanager libstartup_notification telepathy-glib 36 36 libXtst gjs mutter libpulseaudio evolution-data-server 37 - libical gtk3 gstreamer gdm libcanberra-gtk3 geoclue2 37 + libical gtk3 gdm libcanberra-gtk3 geoclue2 38 38 adwaita-icon-theme gnome-bluetooth 39 39 gnome-clocks # schemas needed 40 40 at-spi2-core upower ibus gnome-desktop telepathy-logger gnome-settings-daemon 41 - gst_all_1.gst-plugins-good # recording 42 41 gobject-introspection 43 42 gnome-autoar 44 43 44 + # recording 45 + gst_all_1.gstreamer 46 + gst_all_1.gst-plugins-base 47 + gst_all_1.gst-plugins-good 48 + 45 49 # not declared at build time, but typelib is needed at runtime 46 50 libgweather libnma 47 51 ]; 48 52 49 53 patches = [ 54 + # Fix dependencies. 55 + # https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1114 50 56 (fetchpatch { 51 57 name = "0001-build-Add-missing-dependency-to-run-js-test.patch"; 52 58 url = https://bug787864.bugzilla-attachments.gnome.org/attachment.cgi?id=360016; 53 59 sha256 = "1dmahd8ysbzh33rxglba0fbq127aw9h14cl2a2bw9913vjxhxijm"; 54 60 }) 61 + 62 + # Hardcode paths to various dependencies so that they can be found at runtime. 55 63 (substituteAll { 56 64 src = ./fix-paths.patch; 57 65 inherit libgnomekbd unzip; 58 66 gsettings = "${glib.bin}/bin/gsettings"; 59 67 }) 68 + 69 + # Fix ibus launching regression. 70 + # https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1080 71 + (fetchpatch { 72 + url = "https://gitlab.gnome.org/GNOME/gnome-shell/commit/94f6976ddd6337593203fdcdd2e3644774408dfa.patch"; 73 + sha256 = "PGmFQhqqd3gK+3kp0dlmlYd2G5ZTIQpfE++Q03Ghkx0="; 74 + }) 75 + 76 + # Fix typing regression with ibus. 77 + # https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1084 78 + (fetchpatch { 79 + url = "https://gitlab.gnome.org/GNOME/gnome-shell/commit/b18469427e5c19402111de5fe9888bceec0eaacd.patch"; 80 + sha256 = "1M+3kjt7K61BFgk1Zf9XfK1ziilQGa60PD8xtVjnQec="; 81 + }) 82 + 83 + # Fix theming breakage after Shell restart on X11. 84 + # https://gitlab.gnome.org/GNOME/gnome-shell/issues/2329 85 + (fetchpatch { 86 + url = "https://gitlab.gnome.org/GNOME/gnome-shell/commit/72c4f148ef88b4bffb2106b99434da5c05c0bb64.patch"; 87 + sha256 = "RBA+JHz4ZvmbJZMnGNieD6D5LONRgFU4iOFIMQQ2kHQ="; 88 + }) 89 + 90 + # Fix Telepathy chat integration. 91 + # https://gitlab.gnome.org/GNOME/gnome-shell/issues/2449 92 + (fetchpatch { 93 + url = "https://gitlab.gnome.org/GNOME/gnome-shell/commit/766288eec1bd3bd50dfc4ddf410c2b507187e603.patch"; 94 + sha256 = "Cp6xLohCM0gmMxtyYjSukS2oV60Khmxf4iQd9EDAlIc="; 95 + }) 60 96 ]; 61 97 62 98 postPatch = '' 63 99 patchShebangs src/data-to-c.pl 100 + chmod +x meson/postinstall.py 101 + patchShebangs meson/postinstall.py 64 102 65 103 substituteInPlace src/gnome-shell-extension-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python" 66 104 substituteInPlace src/gnome-shell-perf-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python" 67 - ''; 68 - 69 - postInstall = '' 70 - glib-compile-schemas $out/share/glib-2.0/schemas 71 105 ''; 72 106 73 107 preFixup = ''
+4 -2
pkgs/desktops/gnome-3/core/gnome-software/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "gnome-software"; 14 - version = "3.34.2"; 14 + version = "3.36.0"; 15 15 16 16 src = fetchurl { 17 17 url = "mirror://gnome/sources/gnome-software/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 18 - sha256 = "1zhi6zkphq0wfm9z2d1rp1ym8x52c7as4r8h2nrcd34mmv02xnm7"; 18 + sha256 = "0b5b1k0a531c2jyf4g59dw7lblga8xrba38mzfdl57dnknbvbafs"; 19 19 }; 20 20 21 21 patches = [ ··· 42 42 mesonFlags = [ 43 43 "-Dubuntu_reviews=false" 44 44 "-Dgudev=false" 45 + # FIXME: package malcontent parental controls 46 + "-Dmalcontent=false" 45 47 ] ++ stdenv.lib.optionals (!withFwupd) [ 46 48 "-Dfwupd=false" 47 49 ];
+3 -4
pkgs/desktops/gnome-3/core/gnome-system-monitor/default.nix
··· 1 - { stdenv, gettext, fetchurl, pkgconfig, gtkmm3, libxml2, polkit 1 + { stdenv, gettext, fetchurl, pkgconfig, gtkmm3, libxml2 2 2 , bash, gtk3, glib, wrapGAppsHook, meson, ninja, python3 3 3 , gsettings-desktop-schemas, itstool, gnome3, librsvg, gdk-pixbuf, libgtop, systemd }: 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "gnome-system-monitor"; 7 - version = "3.32.1"; 7 + version = "3.36.0"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/gnome-system-monitor/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8"; 11 + sha256 = "1gipjaw708lv1zj1c9g09x4h4226kawam2kzdhdd6zjkzfghp9s0"; 12 12 }; 13 13 14 14 doCheck = true; 15 15 16 16 nativeBuildInputs = [ 17 17 pkgconfig gettext itstool wrapGAppsHook meson ninja python3 18 - polkit # for ITS file 19 18 ]; 20 19 buildInputs = [ 21 20 bash gtk3 glib libxml2 gtkmm3 libgtop gdk-pixbuf gnome3.adwaita-icon-theme librsvg
+4 -4
pkgs/desktops/gnome-3/core/gnome-terminal/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, libxml2, gnome3, dconf, nautilus 2 - , gtk3, gsettings-desktop-schemas, vte, intltool, which, libuuid, vala 2 + , gtk3, gsettings-desktop-schemas, vte, gettext, which, libuuid, vala 3 3 , desktop-file-utils, itstool, wrapGAppsHook, glib, pcre2 }: 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "gnome-terminal"; 7 - version = "3.34.2"; 7 + version = "3.36.0.1"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/gnome-terminal/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv"; 11 + sha256 = "1qj0zggig6iwahjvj9wcqpf9xj6aw6ar5pgnmrhbhc90cb7c2ccb"; 12 12 }; 13 13 14 14 buildInputs = [ ··· 18 18 ]; 19 19 20 20 nativeBuildInputs = [ 21 - pkgconfig intltool itstool which libxml2 21 + pkgconfig gettext itstool which libxml2 22 22 vala desktop-file-utils wrapGAppsHook pcre2 23 23 ]; 24 24
-25
pkgs/desktops/gnome-3/core/mutter/0001-build-use-get_pkgconfig_variable-for-sysprof-dbusdir.patch
··· 1 - From 71acfd5258b4d12323fc51dda48e83830e62e696 Mon Sep 17 00:00:00 2001 2 - From: worldofpeace <worldofpeace@protonmail.ch> 3 - Date: Mon, 16 Sep 2019 11:18:27 -0400 4 - Subject: [PATCH] build: use get_pkgconfig_variable for sysprof dbusdir 5 - 6 - --- 7 - src/meson.build | 2 +- 8 - 1 file changed, 1 insertion(+), 1 deletion(-) 9 - 10 - diff --git a/src/meson.build b/src/meson.build 11 - index 182f7f5f5..43060865b 100644 12 - --- a/src/meson.build 13 - +++ b/src/meson.build 14 - @@ -710,7 +710,7 @@ if have_profiler 15 - 'backends/meta-profiler.h', 16 - ] 17 - 18 - - dbus_interfaces_dir = join_paths(datadir, 'dbus-1', 'interfaces') 19 - + dbus_interfaces_dir = join_paths(sysprof_dep.get_pkgconfig_variable('prefix'), 'share', 'dbus-1', 'interfaces') 20 - sysprof3_dbus_file = join_paths(dbus_interfaces_dir, 'org.gnome.Sysprof3.Profiler.xml') 21 - 22 - dbus_sysprof3_profiler_built_sources = gnome.gdbus_codegen('meta-dbus-sysprof3-profiler', 23 - -- 24 - 2.22.1 25 -
+18 -12
pkgs/desktops/gnome-3/core/mutter/default.nix
··· 38 38 , desktop-file-utils 39 39 , libcap_ng 40 40 , egl-wayland 41 + , graphene 42 + , wayland-protocols 41 43 }: 42 44 43 45 stdenv.mkDerivation rec { 44 46 pname = "mutter"; 45 - version = "3.34.4"; 47 + version = "3.36.0"; 46 48 47 49 outputs = [ "out" "dev" "man" ]; 48 50 49 51 src = fetchurl { 50 52 url = "mirror://gnome/sources/mutter/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 51 - sha256 = "18hbw98p4h3d4qz57415smwmfg72s9a0nk8mb04ds1gn2lsm2d01"; 53 + sha256 = "18lvj158w6gwc6xpvn699v8ykh1r5szry7sqascl6f1i8g628v2x"; 52 54 }; 53 55 54 56 mesonFlags = [ 55 57 "-Degl_device=true" 56 58 "-Dinstalled_tests=false" # TODO: enable these 57 59 "-Dwayland_eglstream=true" 58 - "-Dxwayland-path=${xwayland}/bin/Xwayland" 60 + "-Dprofiler=true" 61 + "-Dxwayland_path=${xwayland}/bin/Xwayland" 62 + # This should be auto detected, but it looks like it manages a false 63 + # positive. 64 + "-Dxwayland_initfd=disabled" 59 65 ]; 60 66 61 67 propagatedBuildInputs = [ ··· 63 69 json-glib 64 70 libXtst 65 71 libcap_ng 72 + graphene 66 73 ]; 67 74 68 75 nativeBuildInputs = [ ··· 102 109 xwayland 103 110 zenity 104 111 zenity 112 + wayland-protocols 105 113 ]; 106 114 107 115 patches = [ 108 - # Fix build with libglvnd provided headers 109 - (fetchpatch { 110 - url = "https://gitlab.gnome.org/GNOME/mutter/commit/a444a4c5f58ea516ad3cd9d6ddc0056c3ca9bc90.patch"; 111 - sha256 = "0imy2j8af9477jliwdq4jc40yw1cifsjjf196gnmwxr9rkj0hbrd"; 112 - }) 113 - 114 116 # Drop inheritable cap_sys_nice, to prevent the ambient set from leaking 115 117 # from mutter/gnome-shell, see https://github.com/NixOS/nixpkgs/issues/71381 116 118 ./drop-inheritable.patch 117 - 118 - # TODO: submit upstream 119 - ./0001-build-use-get_pkgconfig_variable-for-sysprof-dbusdir.patch 120 119 121 120 (substituteAll { 122 121 src = ./fix-paths.patch; 123 122 inherit zenity; 123 + }) 124 + 125 + # Fix crash when opening submenus from «always on visible workspace» windows 126 + # https://gitlab.gnome.org/GNOME/mutter/issues/1083 127 + (fetchpatch { 128 + url = "https://gitlab.gnome.org/GNOME/mutter/commit/7e32cc05ce2e5b3931ddcf46ce9ead603a0de39e.patch"; 129 + sha256 = "5ZzOMizucfrSnHNYjHIUObLHCvAIjrE6fY/CxLp4c7k="; 124 130 }) 125 131 ]; 126 132
+5 -5
pkgs/desktops/gnome-3/core/mutter/drop-inheritable.patch
··· 41 41 42 42 # optional version requirements 43 43 udev_req = '>= 228' 44 - @@ -125,6 +126,7 @@ xau_dep = dependency('xau') 45 - ice_dep = dependency('ice') 44 + @@ -131,6 +131,7 @@ ice_dep = dependency('ice') 46 45 atk_dep = dependency('atk', version: atk_req) 47 46 libcanberra_dep = dependency('libcanberra', version: libcanberra_req) 47 + dbus_dep = dependency('dbus-1') 48 48 +libcapng_dep = dependency('libcap-ng', required: get_option('libcapng')) 49 - 49 + 50 50 # For now always require X11 support 51 51 have_x11 = true 52 52 @@ -256,6 +258,7 @@ have_core_tests = false ··· 65 65 cdata.set('HAVE_PROFILER', have_profiler) 66 66 67 67 xkb_base = xkeyboard_config_dep.get_pkgconfig_variable('xkb_base') 68 - @@ -443,6 +447,7 @@ output = [ 69 - ' Startup notification..... ' + have_startup_notification.to_string(), 68 + @@ -465,6 +465,7 @@ output = [ 70 69 ' Introspection............ ' + have_introspection.to_string(), 71 70 ' Profiler................. ' + have_profiler.to_string(), 71 + ' Xwayland initfd.......... ' + have_xwayland_initfd.to_string(), 72 72 + ' libcap-ng................ ' + have_libcapng.to_string(), 73 73 '', 74 74 ' Tests:',
+2 -2
pkgs/desktops/gnome-3/core/nautilus/default.nix
··· 32 32 33 33 stdenv.mkDerivation rec { 34 34 pname = "nautilus"; 35 - version = "3.34.2"; 35 + version = "3.36.0"; 36 36 37 37 src = fetchurl { 38 38 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 39 - sha256 = "19zqwq4qyyncc5wq3xls0f7rsavnw741k336p2h7kx35p4kf41mv"; 39 + sha256 = "1pynxxcpk4idp4fmsdgv5qwvaw0l93r68b5pks372fhjff4qcjr6"; 40 40 }; 41 41 42 42 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/core/simple-scan/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "simple-scan"; 7 - version = "3.34.4"; 7 + version = "3.36.0"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/simple-scan/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "0xvy672zyl6jsdlnxma8nc2aqsx9k92jhp6wfxs0msj9ppp1nd3z"; 11 + sha256 = "198l3yhqhb2wzfdcgi8fzbwycr0njn44583dazz6wy1gqbiqnzgm"; 12 12 }; 13 13 14 14 buildInputs = [
-98
pkgs/desktops/gnome-3/core/vino/default.nix
··· 1 - { stdenv 2 - , fetchFromGitLab 3 - , wrapGAppsHook 4 - , pkgconfig 5 - , gnome3 6 - , gtk3 7 - , glib 8 - , intltool 9 - , libXtst 10 - , libnotify 11 - , libsoup 12 - , libsecret 13 - , gnutls 14 - , libgcrypt 15 - , avahi 16 - , zlib 17 - , libjpeg 18 - , libXdamage 19 - , libXfixes 20 - , libXext 21 - , networkmanager 22 - , gnome-common 23 - , libtool 24 - , automake 25 - , autoconf 26 - , telepathySupport ? false 27 - , dbus-glib ? null 28 - , telepathy-glib ? null 29 - }: 30 - 31 - stdenv.mkDerivation { 32 - pname = "vino"; 33 - version = "unstable-2019-07-08"; 34 - 35 - src = fetchFromGitLab { 36 - domain = "gitlab.gnome.org"; 37 - owner = "GNOME"; 38 - repo = "vino"; 39 - rev = "aed81a798558c8127b765cd4fb4dc726d10f1e21"; 40 - sha256 = "16r4cj5nsygmd9v97nq6d1yhynzak9hdnaprcdbmwfhh0c9w8jv3"; 41 - }; 42 - 43 - doCheck = true; 44 - 45 - nativeBuildInputs = [ 46 - autoconf 47 - automake 48 - gnome-common 49 - intltool 50 - libtool 51 - pkgconfig 52 - wrapGAppsHook 53 - ]; 54 - 55 - buildInputs = [ 56 - avahi 57 - glib 58 - gnome3.adwaita-icon-theme 59 - gnutls 60 - gtk3 61 - libXdamage 62 - libXext 63 - libXfixes 64 - libXtst 65 - libgcrypt 66 - libjpeg 67 - libnotify 68 - libsecret 69 - libsoup 70 - networkmanager 71 - zlib 72 - ] 73 - ++ stdenv.lib.optionals telepathySupport [ dbus-glib telepathy-glib ] 74 - ; 75 - 76 - preConfigure = '' 77 - NOCONFIGURE=1 ./autogen.sh 78 - ''; 79 - 80 - postInstall = stdenv.lib.optionalString (!telepathySupport) '' 81 - rm -f $out/share/dbus-1/services/org.freedesktop.Telepathy.Client.Vino.service 82 - ''; 83 - 84 - passthru = { 85 - # updateScript = gnome3.updateScript { 86 - # packageName = "vino"; 87 - # attrPath = "gnome3.vino"; 88 - # }; 89 - }; 90 - 91 - meta = with stdenv.lib; { 92 - homepage = https://wiki.gnome.org/Projects/Vino; 93 - description = "GNOME desktop sharing server"; 94 - maintainers = gnome3.maintainers; 95 - license = licenses.gpl2; 96 - platforms = platforms.linux; 97 - }; 98 - }
+2 -2
pkgs/desktops/gnome-3/core/yelp-xsl/default.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "yelp-xsl"; 13 - version = "3.34.2"; 13 + version = "3.36.0"; 14 14 15 15 src = fetchurl { 16 16 url = "mirror://gnome/sources/yelp-xsl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 17 - sha256 = "1bdpgkzawhqmw52l6zx8czzg1ndfgcf1p44m2bxjdpqkc4afcgqc"; 17 + sha256 = "1hsfj3q3a3kca0cf9i02xlq2qd4vy12qsjb89hh4r6mp6c11rrag"; 18 18 }; 19 19 20 20 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/core/yelp/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "yelp"; 8 - version = "3.34.0"; 8 + version = "3.36.0"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/yelp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "0ifhgdxff2xx2damaj72gpjln5k36grg2chvi4335mv3b5y55mp3"; 12 + sha256 = "097djjyl096zmicjpxlb858yz6rd5cj813xc8azbxlhsscikwjzx"; 13 13 }; 14 14 15 15 nativeBuildInputs = [ pkgconfig gettext itstool wrapGAppsHook ];
+5 -5
pkgs/desktops/gnome-3/default.nix
··· 146 146 147 147 totem = callPackage ./core/totem { }; 148 148 149 - vino = callPackage ./core/vino { }; 150 - 151 149 yelp = callPackage ./core/yelp { }; 152 150 153 151 yelp-xsl = callPackage ./core/yelp-xsl { }; ··· 271 269 272 270 gnome-panel = callPackage ./misc/gnome-panel { }; 273 271 274 - gnome-screensaver = callPackage ./misc/gnome-screensaver { }; 275 - 276 272 gnome-tweaks = callPackage ./misc/gnome-tweaks { }; 277 273 278 274 gpaste = callPackage ./misc/gpaste { }; ··· 324 320 inherit (pkgs) atk glib gobject-introspection gspell webkitgtk gtk3 gtkmm3 325 321 libgtop libgudev libhttpseverywhere librsvg libsecret gdk_pixbuf gtksourceview gtksourceviewmm gtksourceview4 326 322 easytag meld orca rhythmbox shotwell gnome-usage 327 - clutter clutter-gst clutter-gtk cogl gtk-vnc libdazzle libgda libgit2-glib libgxps libgdata libgepub libcroco libpeas libgee geocode-glib libgweather librest libzapojit libmediaart gfbgraph gexiv2 folks totem-pl-parser gcr gsound libgnomekbd vte vte_290 gnome-menus gdl; 323 + clutter clutter-gst clutter-gtk cogl gtk-vnc libdazzle libgda libgit2-glib libgxps libgdata libgepub libpeas libgee geocode-glib libgweather librest libzapojit libmediaart gfbgraph gexiv2 folks totem-pl-parser gcr gsound libgnomekbd vte vte_290 gnome-menus gdl; 328 324 inherit (pkgs) gsettings-desktop-schemas; # added 2019-04-16 329 325 inherit (pkgs) gnome-video-effects; # added 2019-08-19 330 326 inherit (pkgs) gnome-online-accounts grilo grilo-plugins tracker tracker-miners gnome-photos; # added 2019-08-23 ··· 358 354 inherit (pkgs) dconf; # added 2019-11-30 359 355 360 356 inherit (pkgs) networkmanagerapplet; # added 2019-12-12 357 + 358 + vino = throw "vino is deprecated, use gnome-remote-desktop instead."; # added 2020-03-13 359 + 360 + gnome-screensaver = throw "gnome-screensaver is deprecated. If you are using GNOME Flashback, it now has a built-in lock screen. If you are using it elsewhere, you can try xscreenlock or other alternatives."; # added 2020-03-19 361 361 })
+2 -2
pkgs/desktops/gnome-3/devtools/devhelp/default.nix
··· 20 20 21 21 stdenv.mkDerivation rec { 22 22 pname = "devhelp"; 23 - version = "3.34.0"; 23 + version = "3.36.0"; 24 24 25 25 src = fetchurl { 26 26 url = "mirror://gnome/sources/devhelp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 - sha256 = "0zpmn6fgkgiayvn4diia5df0s6s7dqrdnp3nrvpavsmgn0vhb4pg"; 27 + sha256 = "0d2fvd7p08qfv21cxpjl3rh5cl0bzk3fj2msvyz49fqmc69k5z93"; 28 28 }; 29 29 30 30 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/extensions/appindicator/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-shell-extension-appindicator"; 5 - version = "32"; 5 + version = "33"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Ubuntu"; 9 9 repo = "gnome-shell-extension-appindicator"; 10 10 rev = "v${version}"; 11 - sha256 = "1qv9ll4iwkinwk5mf2jppj4fbk8rfncix6q4hhrwnqmhmsbiz6n2"; 11 + sha256 = "B039bgg5b63oaHp1Z36k9Dh5FLr8fmfxI25ZgIA+p2I="; 12 12 }; 13 13 14 14 # This package has a Makefile, but it's used for building a zip for
+4 -4
pkgs/desktops/gnome-3/extensions/arc-menu/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-shell-arc-menu"; 5 - version = "33"; 5 + version = "43"; 6 6 7 7 src = fetchFromGitLab { 8 8 owner = "LinxGem33"; 9 9 repo = "Arc-Menu"; 10 10 rev = "v${version}-Stable"; 11 - sha256 = "0ncb19jlwy2y9jcj8g6cdbasdv6n7hm96qv9l251z6qgrmg28x4z"; 11 + sha256 = "1rspl89bxqy0wla8cj0h1d29gp38xg1vmvhc1qg7bl46ank4yp5q"; 12 12 }; 13 13 14 14 patches = [ ··· 22 22 glib gettext 23 23 ]; 24 24 25 - makeFlags = [ "INSTALL_BASE=${placeholder "out"}/share/gnome-shell/extensions" ]; 25 + makeFlags = [ "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions" ]; 26 26 27 27 meta = with stdenv.lib; { 28 28 description = "Gnome shell extension designed to replace the standard menu found in Gnome 3"; 29 29 license = licenses.gpl2Plus; 30 30 maintainers = with maintainers; [ dkabot ]; 31 - homepage = https://gitlab.com/LinxGem33/Arc-Menu; 31 + homepage = "https://gitlab.com/LinxGem33/Arc-Menu"; 32 32 }; 33 33 }
+5 -5
pkgs/desktops/gnome-3/extensions/caffeine/default.nix
··· 1 1 { stdenv, fetchFromGitHub, glib, gettext, bash, gnome3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 - pname = "gnome-shell-extension-caffeine"; 5 - version = "33"; 4 + pname = "gnome-shell-extension-caffeine-unstable"; 5 + version = "2020-03-13"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "eonpatapon"; 9 9 repo = "gnome-shell-extension-caffeine"; 10 - rev = "v${version}"; 11 - sha256 = "1v74xfk7csgc4kw1fg75brmhk2aby3d453ksnmj4k8ivyxkzxmfg"; 10 + rev = "f25fa5cd586271f080c2304d0ad1273b55e864f5"; 11 + sha256 = "12a76g1ydw677pjnj00r3vw31k4xybc63ynqzx3s4g0wi6lipng7"; 12 12 }; 13 13 14 14 uuid = "caffeine@patapon.info"; ··· 31 31 description = "Fill the cup to inhibit auto suspend and screensaver"; 32 32 license = licenses.gpl2; 33 33 maintainers = with maintainers; [ eperuffo ]; 34 - homepage = https://github.com/eonpatapon/gnome-shell-extension-caffeine; 34 + homepage = "https://github.com/eonpatapon/gnome-shell-extension-caffeine"; 35 35 }; 36 36 }
+5 -4
pkgs/desktops/gnome-3/extensions/dash-to-dock/default.nix
··· 1 1 { stdenv, fetchFromGitHub, glib, gettext }: 2 2 3 3 stdenv.mkDerivation rec { 4 - pname = "gnome-shell-dash-to-dock"; 5 - version = "67"; 4 + pname = "gnome-shell-dash-to-dock-unstable"; 5 + version = "2020-03-19"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "micheleg"; 9 9 repo = "dash-to-dock"; 10 - rev = "extensions.gnome.org-v" + version; 11 - sha256 = "1746xm0iyvyzj6m3pvjx11smh9w1s7naz426ki0dlr5l7jh3mpy5"; 10 + # rev = "extensions.gnome.org-v" + version; 11 + rev = "c58004802b2eedfde96966a4ec0151fea2a1bd98"; 12 + sha256 = "IjunykPFP2CbGcd8XVqhPuNUOUOOgDAQFIytLaoyqRg="; 12 13 }; 13 14 14 15 nativeBuildInputs = [
+3 -3
pkgs/desktops/gnome-3/extensions/dash-to-panel/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-shell-dash-to-panel"; 5 - version = "26"; 5 + version = "31"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "home-sweet-gnome"; 9 9 repo = "dash-to-panel"; 10 10 rev = "v${version}"; 11 - sha256 = "1phfx2pblygpcvsppsqqqflm7qnz46mqkw29hj0nv2dn69hf4xbc"; 11 + sha256 = "A8Ft+tLNv8KlTnVUzrWGavBWpP0u2rhkuG5LZls1A24="; 12 12 }; 13 13 14 14 buildInputs = [ ··· 21 21 description = "An icon taskbar for Gnome Shell"; 22 22 license = licenses.gpl2; 23 23 maintainers = with maintainers; [ mounium ]; 24 - homepage = https://github.com/jderose9/dash-to-panel; 24 + homepage = "https://github.com/jderose9/dash-to-panel"; 25 25 }; 26 26 }
+5 -5
pkgs/desktops/gnome-3/extensions/drop-down-terminal/default.nix
··· 1 - { stdenv, fetchFromGitHub, substituteAll, gjs, vte }: 1 + { stdenv, fetchFromGitHub, substituteAll, gjs, vte, gnome3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-shell-extension-drop-down-terminal"; 5 - version = "24"; 5 + version = "unstable-2020-03-25"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "zzrough"; 9 9 repo = "gs-extensions-drop-down-terminal"; 10 - rev = "v${version}"; 11 - sha256 = "1gda56xzwsa5pgmgpb7lhb3i3gqishvn84282inwvqm86afks73r"; 10 + rev = "a59669afdb395b3315619f62c1f740f8b2f0690d"; 11 + sha256 = "0igfxgrjdqq6z6xg4rsawxn261pk25g5dw2pm3bhwz5sqsy4bq3i"; 12 12 }; 13 13 14 14 uuid = "drop-down-terminal@gs-extensions.zzrough.org"; ··· 29 29 description = "Configurable drop down terminal shell"; 30 30 license = licenses.gpl3; 31 31 maintainers = with maintainers; [ ericdallo ]; 32 - homepage = https://github.com/zzrough/gs-extensions-drop-down-terminal; 32 + homepage = "https://github.com/zzrough/gs-extensions-drop-down-terminal"; 33 33 }; 34 34 }
+2 -2
pkgs/desktops/gnome-3/extensions/gsconnect/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "gnome-shell-gsconnect"; 7 - version = "31"; 7 + version = "35"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "andyholmes"; 11 11 repo = "gnome-shell-extension-gsconnect"; 12 12 rev = "v${version}"; 13 - sha256 = "0nricm31jh4akncs0rkkilmq9afg7kgbj5cy7w26pfqb3l4nhifg"; 13 + sha256 = "GqM2S9FIOHw+8AK2K7fpEBq34JqgKRCsW8I9Ve6c6IM="; 14 14 }; 15 15 16 16 patches = [
+2 -2
pkgs/desktops/gnome-3/extensions/impatience/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-shell-impatience"; 5 - version = "0.4.5"; 5 + version = "unstable-2019-09-23"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "timbertson"; 9 9 repo = "gnome-shell-impatience"; 10 - rev = "version-${version}"; 10 + rev = "43e4e0a1e0eeb334a2da5224ce3ab4fdddf4f1b2"; 11 11 sha256 = "0kvdhlz41fjyqdgcfw6mrr9nali6wg2qwji3dvykzfi0aypljzpx"; 12 12 }; 13 13
+3 -3
pkgs/desktops/gnome-3/extensions/mpris-indicator-button/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "gnome-shell-extension-mpris-indicator-button-unstable"; 8 - version = "2019-09-29"; 8 + version = "2020-03-21"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "JasonLG1979"; 12 12 repo = "gnome-shell-extension-mpris-indicator-button"; 13 - rev = "6cdc28a8bde98f25618b27ee48280996e2b4a0f8"; 14 - sha256 = "1n3sh3phpa75y3vpc09wnzhis0m92zli1m46amzsdbvmk6gkifif"; 13 + rev = "de54160e7d905b8c48c0fe30a437f7c51efc1aa3"; 14 + sha256 = "k/NLmDrlaOsMkwLye7YGQhaQvOMNfhCsDVh2F0qnuFg="; 15 15 }; 16 16 17 17 uuid = "mprisindicatorbutton@JasonLG1979.github.io";
+17 -7
pkgs/desktops/gnome-3/extensions/night-theme-switcher/default.nix
··· 1 - { stdenv, fetchgit }: 1 + { stdenv, fetchFromGitLab }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-shell-extension-night-theme-switcher"; 5 - version = "2.1"; 5 + version = "19"; 6 6 7 - src = fetchgit { 8 - url = "https://git.romainvigier.fr/Romain/nightthemeswitcher-gnome-shell-extension"; 7 + src = fetchFromGitLab { 8 + owner = "rmnvgr"; 9 + repo = "nightthemeswitcher-gnome-shell-extension"; 9 10 rev = "v${version}"; 10 - sha256 = "1md44vmc83cp35riszhdvysnvl8pmkcpf5j6n4i2b3wwcjwxqwfy"; 11 + sha256 = "1ll0yf1skf51wa10mlrajd1dy459w33kx0i3vhfcx2pdk7mw5a3c"; 11 12 }; 12 13 13 - makeFlags = [ "GSEXT_DIR_LOCAL=${placeholder "out"}/share/gnome-shell/extensions" ]; 14 + # makefile tries to do install in home directory using 15 + # `gnome-extensions install` 16 + dontBuild = true; 17 + 18 + uuid = "nightthemeswitcher@romainvigier.fr"; 19 + 20 + installPhase = '' 21 + mkdir -p $out/share/gnome-shell/extensions/ 22 + cp -r src/ $out/share/gnome-shell/extensions/${uuid} 23 + ''; 14 24 15 25 meta = with stdenv.lib; { 16 26 description = "Automatically change the GTK theme to dark variant when Night Light activates"; 17 27 license = licenses.gpl3; 18 28 maintainers = with maintainers; [ jonafato ]; 19 - homepage = https://git.romainvigier.fr/Romain/nightthemeswitcher-gnome-shell-extension; 29 + homepage = "https://gitlab.com/rmnvgr/nightthemeswitcher-gnome-shell-extension/"; 20 30 }; 21 31 }
+2 -2
pkgs/desktops/gnome-3/extensions/sound-output-device-chooser/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "gnome-shell-extension-sound-output-device-chooser"; 10 - version = "25"; 10 + version = "28"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "kgshank"; 14 14 repo = "gse-sound-output-device-chooser"; 15 15 rev = version; 16 - sha256 = "16xaa4r01575ix9lrvww8n6pird8r3ml1j037b3sm6dfrf8kvzxs"; 16 + sha256 = "JmDUi6xTMbkMzW+hYJuKtjQj4ERctaiHr6eLsl5Fru4="; 17 17 }; 18 18 19 19 patches = [
+4 -1
pkgs/desktops/gnome-3/extensions/system-monitor/default.nix
··· 1 - { stdenv, substituteAll, fetchFromGitHub, glib, glib-networking, libgtop }: 1 + { stdenv, substituteAll, fetchFromGitHub, glib, glib-networking, libgtop, gnome3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-shell-system-monitor"; ··· 41 41 license = licenses.gpl3Plus; 42 42 maintainers = with maintainers; [ tiramiseb ]; 43 43 homepage = https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet; 44 + # 3.36 support not yet ready 45 + # https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/pull/564 46 + broken = stdenv.lib.versionAtLeast gnome3.gnome-shell.version "3.34"; 44 47 }; 45 48 }
+3 -1
pkgs/desktops/gnome-3/extensions/topicons-plus/default.nix
··· 1 - { stdenv, fetchFromGitHub, glib, gettext }: 1 + { stdenv, fetchFromGitHub, glib, gnome3, gettext }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-shell-extension-topicons-plus"; ··· 22 22 license = licenses.gpl2; 23 23 maintainers = with maintainers; [ eperuffo ]; 24 24 homepage = https://github.com/phocean/TopIcons-plus; 25 + # Unmaintained and no longer working with GNOME Shell 3.34+ 26 + broken = stdenv.lib.versionAtLeast gnome3.gnome-shell.version "3.32"; 25 27 }; 26 28 }
+2 -1
pkgs/desktops/gnome-3/extensions/window-corner-preview/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { stdenv, fetchFromGitHub, gnome3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-shell-extension-window-corner-preview"; ··· 24 24 license = licenses.mit; 25 25 maintainers = with maintainers; [ jtojnar ]; 26 26 homepage = https://github.com/medenagan/window-corner-preview; 27 + broken = stdenv.lib.versionAtLeast gnome3.gnome-shell.version "3.32"; # Doesn't support 3.34 27 28 }; 28 29 }
+2 -2
pkgs/desktops/gnome-3/extensions/workspace-matrix/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-shell-extension-workspace-matrix"; 5 - version = "3.0.0"; 5 + version = "4.0.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "mzur"; 9 9 repo = "gnome-shell-wsmatrix"; 10 10 rev = "v${version}"; 11 - sha256 = "1fgyzmd16kklcca7600bwg8w8pbb4klmapqsvmahlwa99vmkhfkn"; 11 + sha256 = "LTDkKSKvReJxBzAERE+vV+uJBNZw6UyhiB7kN48BZCo="; 12 12 }; 13 13 14 14 uuid = "wsmatrix@martin.zurowietz.de";
+2 -2
pkgs/desktops/gnome-3/games/four-in-a-row/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "four-in-a-row"; 7 - version = "3.34.4"; 7 + version = "3.36.0"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/four-in-a-row/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "1gw54llbmbv4w2rxmmkzq2wq6sacnpj99maw06zpn071cga0g4z5"; 11 + sha256 = "1bl63npcbr5ymka2y06wps612qynxa4hsqlzn7bvwpz2v53pai1z"; 12 12 }; 13 13 14 14 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/games/gnome-chess/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "gnome-chess"; 6 - version = "3.34.0"; 6 + version = "3.36.0"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/gnome-chess/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 - sha256 = "1n1vjg6xhwppmddrmqmkk6b3jkgphshp06rjbv5h3270k520a135"; 10 + sha256 = "1a9fgi749gy1f60vbcyrqqkab9vqs42hji70q73k1xx8rv0agmg0"; 11 11 }; 12 12 13 13 nativeBuildInputs = [ meson ninja vala pkgconfig gettext itstool libxml2 python3 wrapGAppsHook gobject-introspection ];
+2 -2
pkgs/desktops/gnome-3/games/gnome-klotski/default.nix
··· 5 5 6 6 let 7 7 pname = "gnome-klotski"; 8 - version = "3.34.4"; 8 + version = "3.36.0"; 9 9 in stdenv.mkDerivation rec { 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 14 - sha256 = "1bg7hl64lmjryzvp51qfak5jqs7vbqfmj0s7h1g3c7snscca7rx6"; 14 + sha256 = "06gsg3s8hyhhsk11f1ld2anzv1czg1429483gbv9lr2p7fnq7pyy"; 15 15 }; 16 16 17 17 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/games/gnome-mahjongg/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "gnome-mahjongg"; 8 - version = "3.34.0"; 8 + version = "3.36.1"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/gnome-mahjongg/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "0qyi3jkg112jysrsy5p330b7b92sl09mr8zsimq06q68kj1wzkz5"; 12 + sha256 = "1a5h55amr0pab36y2iqm6ynv6mmb8al1b92rfk18wzfcfz7mhxzd"; 13 13 }; 14 14 15 15 passthru = {
+2 -2
pkgs/desktops/gnome-3/games/gnome-mines/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "gnome-mines"; 6 - version = "3.34.0"; 6 + version = "3.36.0"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/gnome-mines/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 - sha256 = "1spxa6qr1y8s5rrsvpciywpvhk812ngn95s1apaxaigwy2g1iw54"; 10 + sha256 = "0m53ymxbgr3rb3yv13fzjwqh6shsfr51abkm47rchsy2jryqkzja"; 11 11 }; 12 12 13 13 # gobject-introspection for finding vapi files
+2 -2
pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "gnome-nibbles"; 8 - version = "3.34.2"; 8 + version = "3.36.0"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/gnome-nibbles/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "0sl54ns1b5cff6vrls6716xb73krgd1sp36k94gc2lza5laixyh0"; 12 + sha256 = "01vzcjys2x95wnanwq25x0a7x6cc4j6g8gk69c5yc9ild48rr9c1"; 13 13 }; 14 14 15 15 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/games/gnome-robots/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "gnome-robots"; 7 - version = "3.34.1"; 7 + version = "3.36.0"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/gnome-robots/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "0ncghkv06x9qqfr5zyh6hdv28d0i6v9z4z365k05x9ji5pyzxiny"; 11 + sha256 = "10l7dlbqa2f0z6g76r9n87pc1zm11qmxsmfp3908v9g5lf11vzrs"; 12 12 }; 13 13 14 14 passthru = {
+2 -2
pkgs/desktops/gnome-3/games/gnome-sudoku/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "gnome-sudoku"; 6 - version = "3.34.1"; 6 + version = "3.36.0"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/gnome-sudoku/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 - sha256 = "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b"; 10 + sha256 = "17a1r2jk5yygrxil1dycmamxyvyi64mr29mbyfgcx5hm2fylxxwm"; 11 11 }; 12 12 13 13 nativeBuildInputs = [ meson ninja vala pkgconfig gobject-introspection gettext itstool libxml2 python3 desktop-file-utils wrapGAppsHook ];
+2 -2
pkgs/desktops/gnome-3/games/gnome-taquin/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "gnome-taquin"; 8 - version = "3.34.4"; 8 + version = "3.36.0"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/gnome-taquin/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "0s8gsgaj1mxldg5yaq6k9anfha9bc4n16wms66kbbpqi8k5hcm40"; 12 + sha256 = "16ss2d8s6glb3k0wnb5ihmbqvk9i1yi18wv9hzgxfyhs1rvk496f"; 13 13 }; 14 14 15 15 passthru = {
+2 -2
pkgs/desktops/gnome-3/games/gnome-tetravex/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "gnome-tetravex"; 8 - version = "3.34.4"; 8 + version = "3.36.0"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/gnome-tetravex/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "1sm90nkpig02hwk7bh5bnf65awgssxl63bvvh2a7gmlaln8x99iy"; 12 + sha256 = "1xbd0flh77v3x0dh4dsfspykwb6rwvga7kqwn1fq7gk421mq6n52"; 13 13 }; 14 14 15 15 passthru = {
+2 -2
pkgs/desktops/gnome-3/games/hitori/default.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "hitori"; 21 - version = "3.34.0"; 21 + version = "3.36.0"; 22 22 23 23 src = fetchurl { 24 24 url = "mirror://gnome/sources/hitori/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 - sha256 = "1612hq6d2mnggppy949dkb8lz9886n0rlg68z7qmjjizz1l41lb5"; 25 + sha256 = "0mq1jv8rbmvksnhbm1d25kcvcfr9lq58qipcacn7wa26xpx7cvs5"; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/games/iagno/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "iagno"; 8 - version = "3.34.5"; 8 + version = "3.36.0"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/iagno/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "05qywjcar29vk29yvbxwlddxhwlrvllgjw7srmlz5811hc5m0a1m"; 12 + sha256 = "0ysb021mf5sy1ywicys35rn5c9v355rffjrlhxmr3z6yplrljm5b"; 13 13 }; 14 14 15 15 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/games/lightsoff/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "lightsoff"; 7 - version = "3.34.0"; 7 + version = "3.36.0"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/lightsoff/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "1yyq0962fv16rab3alq5saf4gpii9xvcfy5vbq85hhhgjpbqrfns"; 11 + sha256 = "0qvafpciqbqmpan9i8ans3lqs29v02zblz6k0hzj4p3qq4sch3a3"; 12 12 }; 13 13 14 14 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/games/quadrapassel/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "quadrapassel"; 9 - version = "3.34.1"; 9 + version = "3.36.00"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/quadrapassel/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 - sha256 = "1qh6hx90lqag2hby94jc68xnz4i6b2a253x4yp6xz025fpacv6mk"; 13 + sha256 = "1xk9x1pp71armj47vxja7fsj6gs116kcjkd8xgwf8wi4zr4kgx7g"; 14 14 }; 15 15 16 16 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome-3/games/tali/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "tali"; 8 - version = "3.32.1"; 8 + version = "3.36.0"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/tali/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "0na7sswfh63wj44aibcnqdsbb24yfngcwgi07lv8rky6rry0kqgz"; 12 + sha256 = "0knq2vwnbkzhb6yc0f8iznaz76yf5hwgg2z2xr079nz407p46v22"; 13 13 }; 14 14 15 15 passthru = {
+15 -8
pkgs/desktops/gnome-3/misc/geary/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, gtk3, vala, enchant2, wrapGAppsHook, meson, ninja 2 2 , desktop-file-utils, gnome-online-accounts, gsettings-desktop-schemas, adwaita-icon-theme 3 - , libcanberra-gtk3, libsecret, gmime, isocodes, libxml2, gettext, fetchpatch 3 + , libpeas, libsecret, gmime3, isocodes, libxml2, gettext, fetchpatch 4 4 , sqlite, gcr, json-glib, itstool, libgee, gnome3, webkitgtk, python3 5 - , xvfb_run, dbus, shared-mime-info, libunwind, libunity, folks, glib-networking 5 + , xvfb_run, dbus, shared-mime-info, libunwind, folks, glib-networking 6 6 , gobject-introspection, gspell, appstream-glib, libytnef, libhandy }: 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "geary"; 10 - version = "3.34.2"; 10 + version = "3.36.0"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 14 - sha256 = "1a6j70pzr57ga7m4nypqdkqwlzk2dablpz93yaympgrlqpf5zkvm"; 14 + sha256 = "jiaq+dwdARLaSnttY2chwJrclFjxrukuk80yT0LgvfY="; 15 15 }; 16 16 17 17 nativeBuildInputs = [ ··· 21 21 ]; 22 22 23 23 buildInputs = [ 24 - adwaita-icon-theme enchant2 gcr gmime gnome-online-accounts 25 - gsettings-desktop-schemas gtk3 isocodes json-glib libcanberra-gtk3 24 + adwaita-icon-theme enchant2 gcr gmime3 gnome-online-accounts 25 + gsettings-desktop-schemas gtk3 isocodes json-glib libpeas 26 26 libgee libsecret sqlite webkitgtk glib-networking 27 - libunwind libunity folks gspell libytnef libhandy 27 + libunwind folks gspell libytnef libhandy 28 28 ]; 29 29 30 30 checkInputs = [ xvfb_run dbus ]; ··· 41 41 }) 42 42 ]; 43 43 44 + # NOTE: Remove `build-auxyaml_to_json.py` when no longer needed, see: 45 + # https://gitlab.gnome.org/GNOME/geary/commit/f7f72143e0f00ca5e0e6a798691805c53976ae31#0cc1139e3347f573ae1feee5b73dbc8a8a21fcfa 44 46 postPatch = '' 45 47 chmod +x build-aux/post_install.py build-aux/git_version.py 48 + 46 49 patchShebangs build-aux/post_install.py build-aux/git_version.py 47 50 51 + chmod +x build-aux/yaml_to_json.py 52 + patchShebangs build-aux/yaml_to_json.py 53 + 48 54 chmod +x desktop/geary-attach 49 55 ''; 50 56 51 - doCheck = true; 57 + # FIXME: fix tests 58 + doCheck = false; 52 59 53 60 checkPhase = '' 54 61 NO_AT_BRIDGE=1 \
+2 -4
pkgs/desktops/gnome-3/misc/gnome-applets/default.nix
··· 12 12 , libgtop 13 13 , libnotify 14 14 , upower 15 - , dbus-glib 16 15 , wirelesstools 17 16 , linuxPackages 18 17 , adwaita-icon-theme ··· 25 24 26 25 let 27 26 pname = "gnome-applets"; 28 - version = "3.34.0"; 27 + version = "3.36.0"; 29 28 in stdenv.mkDerivation rec { 30 29 name = "${pname}-${version}"; 31 30 32 31 src = fetchurl { 33 32 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 34 - sha256 = "1mbhykqwzq18zpvfkdcdkbb4zhijmxqa2i6502an78yap87vq74i"; 33 + sha256 = "096n0ji478hfdrbi8illsyvdsgxznxfayr826pr9jdgzg1s0x9xs"; 35 34 }; 36 35 37 36 nativeBuildInputs = [ ··· 51 50 libgtop 52 51 libnotify 53 52 upower 54 - dbus-glib 55 53 adwaita-icon-theme 56 54 libgweather 57 55 gucharmap
+62 -3
pkgs/desktops/gnome-3/misc/gnome-flashback/default.nix
··· 1 1 { stdenv 2 2 , autoreconfHook 3 3 , fetchurl 4 + , fetchpatch 4 5 , gettext 5 6 , glib 6 7 , gnome-bluetooth ··· 17 18 , libxml2 18 19 , pkgconfig 19 20 , polkit 21 + , gdm 22 + , systemd 20 23 , upower 24 + , pam 21 25 , wrapGAppsHook 22 26 , writeTextFile 23 27 , writeShellScriptBin ··· 27 31 28 32 let 29 33 pname = "gnome-flashback"; 30 - version = "3.34.2"; 31 - requiredComponents = wmName: "RequiredComponents=${wmName};gnome-flashback;gnome-panel;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;"; 34 + version = "3.36.0"; 35 + 36 + # From data/sessions/Makefile.am 37 + requiredComponentsCommon = [ 38 + "gnome-flashback" 39 + "gnome-panel" 40 + ]; 41 + requiredComponentsGsd = [ 42 + "org.gnome.SettingsDaemon.A11ySettings" 43 + "org.gnome.SettingsDaemon.Color" 44 + "org.gnome.SettingsDaemon.Datetime" 45 + "org.gnome.SettingsDaemon.Housekeeping" 46 + "org.gnome.SettingsDaemon.Keyboard" 47 + "org.gnome.SettingsDaemon.MediaKeys" 48 + "org.gnome.SettingsDaemon.Power" 49 + "org.gnome.SettingsDaemon.PrintNotifications" 50 + "org.gnome.SettingsDaemon.Rfkill" 51 + "org.gnome.SettingsDaemon.ScreensaverProxy" 52 + "org.gnome.SettingsDaemon.Sharing" 53 + "org.gnome.SettingsDaemon.Smartcard" 54 + "org.gnome.SettingsDaemon.Sound" 55 + "org.gnome.SettingsDaemon.UsbProtection" 56 + "org.gnome.SettingsDaemon.Wacom" 57 + "org.gnome.SettingsDaemon.XSettings" 58 + ]; 59 + requiredComponents = wmName: "RequiredComponents=${stdenv.lib.concatStringsSep ";" ([wmName] ++ requiredComponentsCommon ++ requiredComponentsGsd)};"; 32 60 gnome-flashback = stdenv.mkDerivation rec { 33 61 name = "${pname}-${version}"; 34 62 35 63 src = fetchurl { 36 64 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 37 - sha256 = "1726xcm2q94nfvb055d3m61m20s0xy3xl1fc3ds3k3rcrn457riv"; 65 + sha256 = "qwlTFs4wn6PpB7uZkpvnmECsSTa62OQMpgiIXoZoMRk="; 38 66 }; 67 + 68 + patches = [ 69 + # Fix locking screen from log out dialogue 70 + # https://gitlab.gnome.org/GNOME/gnome-flashback/issues/43 71 + (fetchpatch { 72 + url = "https://gitlab.gnome.org/GNOME/gnome-flashback/-/commit/7b151e0a947e4b49e1cee80097c1f8946ba46af9.patch"; 73 + sha256 = "pJcJb6EGlInlWpLbbBajWydBtbiWK3AMHzsFQ26bmwA="; 74 + }) 75 + 76 + # Hide GNOME Shell Extensions manager from menu 77 + # https://gitlab.gnome.org/GNOME/gnome-flashback/issues/42 78 + (fetchpatch { 79 + url = "https://gitlab.gnome.org/GNOME/gnome-flashback/-/commit/75f95379779c24d42d1e72cdcd4c16a9c6db7657.patch"; 80 + sha256 = "cwKZSQTFi0f/T1Ld6vJceQFHBsikOhkp//J1IY5aMKA="; 81 + }) 82 + (fetchpatch { 83 + url = "https://gitlab.gnome.org/GNOME/gnome-flashback/-/commit/12cacf25b1190d9c9bba42f085e54895de7a076e.patch"; 84 + sha256 = "mx37kLs3x/e9RJCGN6z8/7b5Tz6yzxeN/14NFi8IWfA="; 85 + }) 86 + (fetchpatch { 87 + url = "https://gitlab.gnome.org/GNOME/gnome-flashback/-/commit/7954376f32348028a3bdba0ea182b0000c4fcb0a.patch"; 88 + sha256 = "ZEQcg9OoIOIMh/yUYQ9R1Ky8DElteaDQrSdwFtA4Yno="; 89 + }) 90 + ]; 39 91 40 92 # make .desktop Execs absolute 41 93 postPatch = '' ··· 76 128 libpulseaudio 77 129 libxkbfile 78 130 polkit 131 + gdm 132 + gnome-panel 133 + systemd 79 134 upower 135 + pam 80 136 xkeyboard_config 81 137 ]; 82 138 83 139 doCheck = true; 84 140 85 141 enableParallelBuilding = true; 142 + 143 + PKG_CONFIG_LIBGNOME_PANEL_LAYOUTSDIR = "${placeholder "out"}/share/gnome-panel/layouts"; 144 + PKG_CONFIG_LIBGNOME_PANEL_MODULESDIR = "${placeholder "out"}/lib/gnome-panel/modules"; 86 145 87 146 passthru = { 88 147 updateScript = gnome3.updateScript {
+4 -5
pkgs/desktops/gnome-3/misc/gnome-panel/default.nix
··· 7 7 , gettext 8 8 , glib 9 9 , gnome-desktop 10 - , gnome-flashback 11 10 , gnome-menus 12 11 , gnome3 13 12 , gtk3 ··· 23 22 24 23 let 25 24 pname = "gnome-panel"; 26 - version = "3.34.1"; 25 + version = "3.36.0"; 27 26 in stdenv.mkDerivation rec { 28 27 name = "${pname}-${version}"; 29 28 ··· 31 30 32 31 src = fetchurl { 33 32 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 34 - sha256 = "03dr54njdh2szy6yrib2q0agjscbj3bmzrfb9fb4psrf4mah5g56"; 33 + sha256 = "08x0xjrg36h6x5c68w5jf8gg57767p2m3ljgzyglx2ij0nfbpc8d"; 35 34 }; 36 35 37 36 # make .desktop Exec absolute ··· 46 45 47 46 preFixup = '' 48 47 gappsWrapperArgs+=( 49 - --prefix XDG_DATA_DIRS : "${gnome-menus}/share:${gnome-flashback}/share" 50 - --prefix XDG_CONFIG_DIRS : "${gnome-menus}/etc/xdg:${gnome-flashback}/etc/xdg" 48 + --prefix XDG_DATA_DIRS : "${gnome-menus}/share" 49 + --prefix XDG_CONFIG_DIRS : "${gnome-menus}/etc/xdg" 51 50 ) 52 51 ''; 53 52
-96
pkgs/desktops/gnome-3/misc/gnome-screensaver/default.nix
··· 1 - { stdenv 2 - , fetchgit 3 - , autoreconfHook 4 - , dbus-glib 5 - , glib 6 - , gnome-common 7 - , gnome-desktop 8 - , gnome3 9 - , gtk3 10 - , pkgconfig 11 - , intltool 12 - , pam 13 - , systemd 14 - , wrapGAppsHook 15 - }: 16 - 17 - stdenv.mkDerivation rec { 18 - pname = "gnome-screensaver"; 19 - version = "3.6.1"; 20 - 21 - # the original package is deprecated and the Ubuntu version has a number of useful patches 22 - src = fetchgit { 23 - url = "https://git.launchpad.net/ubuntu/+source/gnome-screensaver"; 24 - rev = "4f7b666131dec060a5aac9117f395ac522a627b4"; 25 - sha256 = "15xqgcpm825cy3rm8pj00qlblq66svmh06lcw8qi74a3g0xcir87"; 26 - }; 27 - 28 - # from debian/patches/series 29 - patches = map (patch: "debian/patches/${patch}") [ 30 - "00git_logind_check.patch" 31 - "01_no_autostart.patch" 32 - "03_fix_ltsp-fading.patch" 33 - "05_dbus_service.patch" 34 - "10_legacy_scrsvr_inhibit.patch" 35 - "13_nvidia_gamma_fade_fallback.patch" 36 - "14_no_fade_on_user_switch.patch" 37 - "15_dont_crash_on_no_fade.patch" 38 - "16_dont_crash_in_kvm.patch" 39 - "17_remove_top_panel.patch" 40 - "18_unity_dialog_layout.patch" 41 - "24_use_user_settings.patch" 42 - "25_fix_lock_command.patch" 43 - "27_lightdm_switch_user.patch" 44 - "28_blocking_return.patch" 45 - "29_handle_expired_creds.patch" 46 - # these two patches are ubuntu-specific 47 - # "30_ubuntu-lock-on-suspend_gsetting.patch" 48 - # "31_lock_screen_on_suspend.patch" 49 - "32_input_sources_switcher.patch" 50 - "move-not-nuke.patch" 51 - "allow-replacement" 52 - "libsystemd.patch" 53 - "0001-gs-lock-plug-Disconnect-signal-handler-from-right-ob.patch" 54 - "33_budgie_support.patch" 55 - ] ++ [ ./fix-dbus-service-dir.patch ]; 56 - 57 - nativeBuildInputs = [ 58 - autoreconfHook 59 - intltool 60 - wrapGAppsHook 61 - gnome-common 62 - pkgconfig 63 - ]; 64 - 65 - buildInputs = [ 66 - glib 67 - gtk3 68 - gnome-desktop 69 - dbus-glib 70 - pam 71 - systemd 72 - ]; 73 - 74 - NIX_CFLAGS_COMPILE = [ "-Wno-error=return-type" ]; 75 - 76 - configureFlags = [ "--enable-locking" "--with-systemd=yes" ]; 77 - 78 - enableParallelBuilding = true; 79 - 80 - doCheck = true; 81 - 82 - passthru = { 83 - updateScript = gnome3.updateScript { 84 - packageName = pname; 85 - attrPath = "gnome3.${pname}"; 86 - }; 87 - }; 88 - 89 - meta = with stdenv.lib; { 90 - description = "Component of Gnome Flashback that provides screen locking"; 91 - homepage = https://wiki.gnome.org/Projects/GnomeScreensaver; 92 - license = licenses.gpl2Plus; 93 - maintainers = gnome3.maintainers; 94 - platforms = platforms.linux; 95 - }; 96 - }
+2 -15
pkgs/desktops/gnome-3/misc/gpaste/default.nix
··· 18 18 }: 19 19 20 20 stdenv.mkDerivation rec { 21 - version = "3.34.1"; 21 + version = "3.36.3"; 22 22 pname = "gpaste"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "Keruspe"; 26 26 repo = "GPaste"; 27 27 rev = "v${version}"; 28 - sha256 = "1jcj0kgxhad8rblyqhwa2yhkf0010k80w9bm2rajanad2c3bqaxa"; 28 + sha256 = "sR7/NdCaidP03xE64nqQc1M+xAIipOuKp5OWBJ4VN9w="; 29 29 }; 30 30 31 31 patches = [ 32 - # Meson fixes 33 - # https://github.com/Keruspe/GPaste/pull/283 34 - # install systemd units 35 - (fetchpatch { 36 - url = "https://github.com/Keruspe/GPaste/commit/a474d8c1f2bd600476ba52dc19f517787845533b.patch"; 37 - sha256 = "19m1ar61l2n0vb5a5qfhdny8giivqlyq04l3j9i8llv16vx80rg2"; 38 - }) 39 - # apply symbol versioning 40 - (fetchpatch { 41 - url = "https://github.com/Keruspe/GPaste/commit/08047752e8dba9363673ddefd422c43075f08006.patch"; 42 - sha256 = "0jvcs1a17sijvb2wqyn3y8shdxrhv4kwzxs39kmh9y8nyx2dzhpf"; 43 - }) 44 - 45 32 ./fix-paths.patch 46 33 ]; 47 34
+5 -5
pkgs/desktops/gnome-3/misc/libgnome-games-support/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, glib, gtk3, libgee, gettext, gnome3 2 - , libintl }: 1 + { stdenv, fetchurl, pkgconfig, glib, gtk3, libgee, gettext, vala, gnome3 2 + , libintl, meson, ninja }: 3 3 4 4 let 5 5 pname = "libgnome-games-support"; 6 - version = "1.4.4"; 6 + version = "1.6.0.1"; 7 7 in stdenv.mkDerivation rec { 8 8 name = "${pname}-${version}"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 12 - sha256 = "1zkbmnrn161p74qg6jhsn9f66yjjzxfm13pl1klv9av8k1bax9pq"; 12 + sha256 = "0xifkj5dg4n3cy0hi76zy1ixyssxxpgy4yi4li7iq39cqbnkc9d8"; 13 13 }; 14 14 15 - nativeBuildInputs = [ pkgconfig gettext ]; 15 + nativeBuildInputs = [ meson ninja pkgconfig gettext vala ]; 16 16 buildInputs = [ libintl ]; 17 17 propagatedBuildInputs = [ 18 18 # Required by libgnome-games-support-1.pc
+2 -2
pkgs/desktops/gnome-3/misc/metacity/default.nix
··· 16 16 17 17 let 18 18 pname = "metacity"; 19 - version = "3.34.1"; 19 + version = "3.36.0"; 20 20 in stdenv.mkDerivation rec { 21 21 name = "${pname}-${version}"; 22 22 23 23 src = fetchurl { 24 24 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 25 - sha256 = "0ga57b71i2gbd723gbs3pxy1jnf44q5mnwq5yhxzn2irbh2d3iri"; 25 + sha256 = "1a06763x9hshymmq36w7c588q4rbzq0w5rkyam5l6yi8p75ic016"; 26 26 }; 27 27 28 28 patches = [
+10 -1
pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
··· 1 1 { stdenv 2 2 , fetchFromGitHub 3 + , fetchpatch 3 4 , pantheon 4 5 , pkgconfig 5 6 , meson ··· 37 38 }; 38 39 }; 39 40 41 + patches = [ 42 + # fix build with vte-2.91 https://github.com/elementary/terminal/pull/488 43 + (fetchpatch { 44 + url = "https://github.com/elementary/terminal/commit/48da5328cefdc481a3ac76fbdd771096f542d55a.patch"; 45 + sha256 = "1y4043jxb0qzd3pp28kdij2yj1p9pg158il7q3aq1sf7c474gz4d"; 46 + }) 47 + ]; 48 + 40 49 nativeBuildInputs = [ 41 50 appstream 42 51 desktop-file-utils ··· 72 81 A super lightweight, beautiful, and simple terminal. Comes with sane defaults, browser-class tabs, sudo paste protection, 73 82 smart copy/paste, and little to no configuration. 74 83 ''; 75 - homepage = https://github.com/elementary/terminal; 84 + homepage = "https://github.com/elementary/terminal"; 76 85 license = licenses.lgpl3; 77 86 platforms = platforms.linux; 78 87 maintainers = pantheon.maintainers;
+3 -3
pkgs/desktops/pantheon/apps/switchboard-plugs/onlineaccounts/default.nix
··· 5 5 , meson 6 6 , ninja 7 7 , pkgconfig 8 - , vala 8 + , vala_0_46 9 9 , libgee 10 10 , granite 11 11 , gtk3 ··· 39 39 meson 40 40 ninja 41 41 pkgconfig 42 - vala 42 + vala_0_46 43 43 ]; 44 44 45 45 buildInputs = [ ··· 70 70 71 71 meta = with stdenv.lib; { 72 72 description = "Switchboard Online Accounts Plug"; 73 - homepage = https://github.com/elementary/switchboard-plug-onlineaccounts; 73 + homepage = "https://github.com/elementary/switchboard-plug-onlineaccounts"; 74 74 license = licenses.lgpl2Plus; 75 75 platforms = platforms.linux; 76 76 maintainers = pantheon.maintainers;
+2 -2
pkgs/desktops/pantheon/services/cerbere/default.nix
··· 7 7 , ninja 8 8 , glib 9 9 , libgee 10 - , vala 10 + , vala_0_46 11 11 , wrapGAppsHook 12 12 }: 13 13 ··· 33 33 ninja 34 34 pkgconfig 35 35 python3 36 - vala 36 + vala_0_46 37 37 wrapGAppsHook 38 38 ]; 39 39
+2 -2
pkgs/desktops/plasma-5/breeze-plymouth/default.nix
··· 26 26 27 27 mkDerivation { 28 28 name = "breeze-plymouth"; 29 - nativeBuildInputs = [ extra-cmake-modules ]; 30 - buildInputs = [ plymouth ] ++ lib.optionals (logoFile != null) [ imagemagick netpbm perl ]; 29 + nativeBuildInputs = [ extra-cmake-modules ] ++ lib.optionals (logoFile != null) [ imagemagick netpbm perl ]; 30 + buildInputs = [ plymouth ]; 31 31 patches = copyPathsToStore (lib.readPathsFromFile ./. ./series); 32 32 cmakeFlags = [] 33 33 ++ lib.optional (osName != null) "-DDISTRO_NAME=${osName}"
+3 -3
pkgs/desktops/xfce/panel-plugins/xfce4-dockbarx-plugin.nix
··· 1 - { stdenv, pkgconfig, fetchFromGitHub, python2, bash, vala 1 + { stdenv, pkgconfig, fetchFromGitHub, python2, bash, vala_0_46 2 2 , dockbarx, gtk2, xfce, pythonPackages, wafHook }: 3 3 4 4 stdenv.mkDerivation rec { ··· 16 16 pythonPath = [ dockbarx ]; 17 17 18 18 nativeBuildInputs = [ pkgconfig wafHook ]; 19 - buildInputs = [ python2 vala gtk2 pythonPackages.wrapPython ] 19 + buildInputs = [ python2 vala_0_46 gtk2 pythonPackages.wrapPython ] 20 20 ++ (with xfce; [ libxfce4util xfce4-panel xfconf xfce4-dev-tools ]) 21 21 ++ pythonPath; 22 22 ··· 31 31 ''; 32 32 33 33 meta = with stdenv.lib; { 34 - homepage = https://github.com/TiZ-EX1/xfce4-dockbarx-plugin; 34 + homepage = "https://github.com/TiZ-EX1/xfce4-dockbarx-plugin"; 35 35 description = "A plugins to embed DockbarX into xfce4-panel"; 36 36 license = licenses.mit; 37 37 platforms = platforms.linux;
+2 -8
pkgs/development/compilers/gcc/9/default.nix
··· 43 43 with builtins; 44 44 45 45 let majorVersion = "9"; 46 - version = "${majorVersion}.2.0"; 46 + version = "${majorVersion}.3.0"; 47 47 48 48 inherit (stdenv) buildPlatform hostPlatform targetPlatform; 49 49 ··· 76 76 77 77 src = fetchurl { 78 78 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz"; 79 - sha256 = "01mj3yk7z49i49168hg2cg7qs4bsccrrnv7pjmbdlf8j2a7z0vpa"; 79 + sha256 = "1la2yy27ziasyf0jvzk58y1i5b5bq2h176qil550bxhifs39gqbi"; 80 80 }; 81 81 82 82 inherit patches; ··· 244 244 inherit enableMultilib; 245 245 246 246 inherit (stdenv) is64bit; 247 - 248 - # In this particular combination it stopped creating lib output at all. 249 - # TODO: perhaps find a better fix? (ideally understand what's going on) 250 - postFixup = if crossStageStatic && targetPlatform.isMusl && targetPlatform.is32bit 251 - then ''mkdir "$lib"'' 252 - else null; 253 247 254 248 meta = { 255 249 homepage = https://gcc.gnu.org/;
+2 -2
pkgs/development/compilers/gcc/builder.sh
··· 201 201 202 202 203 203 preInstall() { 204 + mkdir -p "$out/${targetConfig}/lib" 205 + mkdir -p "$lib/${targetConfig}/lib" 204 206 # Make ‘lib64’ symlinks to ‘lib’. 205 207 if [ -n "$is64bit" -a -z "$enableMultilib" ]; then 206 - mkdir -p "$out/${targetConfig}/lib" 207 208 ln -s lib "$out/${targetConfig}/lib64" 208 - mkdir -p "$lib/${targetConfig}/lib" 209 209 ln -s lib "$lib/${targetConfig}/lib64" 210 210 fi 211 211 }
+52
pkgs/development/compilers/rust/0001-Allow-getting-no_std-from-the-config-file.patch
··· 1 + From 036c87c82793f1da9f98445e8e27462cc19bbe0a Mon Sep 17 00:00:00 2001 2 + From: John Ericson <John.Ericson@Obsidian.Systems> 3 + Date: Sat, 22 Feb 2020 14:38:38 -0500 4 + Subject: [PATCH] Allow getting `no_std` from the config file 5 + 6 + Currently, it is only set correctly in the sanity checking implicit 7 + default fallback code. Having a config file at all will for force 8 + `no_std = false`. 9 + --- 10 + src/bootstrap/config.rs | 3 +++ 11 + src/bootstrap/sanity.rs | 4 +--- 12 + 2 files changed, 4 insertions(+), 3 deletions(-) 13 + 14 + diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs 15 + index 110c8b844d5..83a6934d477 100644 16 + --- a/src/bootstrap/config.rs 17 + +++ b/src/bootstrap/config.rs 18 + @@ -350,6 +350,7 @@ struct TomlTarget { 19 + musl_root: Option<String>, 20 + wasi_root: Option<String>, 21 + qemu_rootfs: Option<String>, 22 + + no_std: Option<bool>, 23 + } 24 + 25 + impl Config { 26 + @@ -610,6 +611,8 @@ impl Config { 27 + target.musl_root = cfg.musl_root.clone().map(PathBuf::from); 28 + target.wasi_root = cfg.wasi_root.clone().map(PathBuf::from); 29 + target.qemu_rootfs = cfg.qemu_rootfs.clone().map(PathBuf::from); 30 + + target.no_std 31 + + = cfg.no_std.unwrap_or(triple.contains("-none-") || triple.contains("nvptx")); 32 + 33 + config.target_config.insert(INTERNER.intern_string(triple.clone()), target); 34 + } 35 + diff --git a/src/bootstrap/sanity.rs b/src/bootstrap/sanity.rs 36 + index 8ff7056e628..76e721ed8e3 100644 37 + --- a/src/bootstrap/sanity.rs 38 + +++ b/src/bootstrap/sanity.rs 39 + @@ -194,9 +194,7 @@ pub fn check(build: &mut Build) { 40 + 41 + if target.contains("-none-") || target.contains("nvptx") { 42 + if build.no_std(*target).is_none() { 43 + - let target = build.config.target_config.entry(target.clone()).or_default(); 44 + - 45 + - target.no_std = true; 46 + + build.config.target_config.entry(target.clone()).or_default(); 47 + } 48 + 49 + if build.no_std(*target) == Some(false) { 50 + -- 51 + 2.24.1 52 +
-48
pkgs/development/compilers/rust/1_41_0.nix
··· 1 - # New rust versions should first go to staging. 2 - # Things to check after updating: 3 - # 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin: 4 - # i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github 5 - # This testing can be also done by other volunteers as part of the pull 6 - # request review, in case platforms cannot be covered. 7 - # 2. The LLVM version used for building should match with rust upstream. 8 - # 3. Firefox and Thunderbird should still build on x86_64-linux. 9 - 10 - { stdenv, lib 11 - , buildPackages 12 - , newScope, callPackage 13 - , CoreFoundation, Security 14 - , llvmPackages_5 15 - , pkgsBuildTarget, pkgsBuildBuild 16 - , fetchpatch 17 - } @ args: 18 - 19 - import ./default.nix { 20 - rustcVersion = "1.41.0"; 21 - rustcSha256 = "0jypz2mrzac41sj0zh07yd1z36g2s2rvgsb8g624sk4l14n84ijm"; 22 - 23 - # Note: the version MUST be one version prior to the version we're 24 - # building 25 - bootstrapVersion = "1.40.0"; 26 - 27 - # fetch hashes by running `print-hashes.sh 1.40.0` 28 - bootstrapHashes = { 29 - i686-unknown-linux-gnu = "d050d3a1c7c45ba9c50817d45bf6d7dd06e1a4d934f633c8096b7db6ae27adc1"; 30 - x86_64-unknown-linux-gnu = "fc91f8b4bd18314e83a617f2389189fc7959146b7177b773370d62592d4b07d0"; 31 - arm-unknown-linux-gnueabihf = "4be9949c4d3c572b69b1df61c3506a3a3ac044851f025d38599612e7caa933c5"; 32 - armv7-unknown-linux-gnueabihf = "ebfe3978e12ffe34276272ee6d0703786249a9be80ca50617709cbfdab557306"; 33 - aarch64-unknown-linux-gnu = "639271f59766d291ebdade6050e7d05d61cb5c822a3ef9a1e2ab185fed68d729"; 34 - i686-apple-darwin = "ea189b1fb0bfda367cde6d43c18863ab4c64ffca04265e5746bf412a186fe1a2"; 35 - x86_64-apple-darwin = "749ca5e0b94550369cc998416b8854c13157f5d11d35e9b3276064b6766bcb83"; 36 - }; 37 - 38 - selectRustPackage = pkgs: pkgs.rust_1_41_0; 39 - 40 - rustcPatches = [ 41 - (fetchpatch { 42 - url = "https://github.com/QuiltOS/rust/commit/f1803452b9e95bfdbc3b8763138b9f92c7d12b46.diff"; 43 - sha256 = "1mzxaj46bq7ll617wg0mqnbnwr1da3hd4pbap8bjwhs3kfqnr7kk"; 44 - }) 45 - ]; 46 - } 47 - 48 - (builtins.removeAttrs args [ "fetchpatch" ])
+44
pkgs/development/compilers/rust/1_42.nix
··· 1 + # New rust versions should first go to staging. 2 + # Things to check after updating: 3 + # 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin: 4 + # i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github 5 + # This testing can be also done by other volunteers as part of the pull 6 + # request review, in case platforms cannot be covered. 7 + # 2. The LLVM version used for building should match with rust upstream. 8 + # 3. Firefox and Thunderbird should still build on x86_64-linux. 9 + 10 + { stdenv, lib 11 + , buildPackages 12 + , newScope, callPackage 13 + , CoreFoundation, Security 14 + , llvmPackages_5 15 + , pkgsBuildTarget, pkgsBuildBuild 16 + } @ args: 17 + 18 + import ./default.nix { 19 + rustcVersion = "1.42.0"; 20 + rustcSha256 = "0x9lxs82may6c0iln0b908cxyn1cv7h03n5cmbx3j1bas4qzks6j"; 21 + 22 + # Note: the version MUST be one version prior to the version we're 23 + # building 24 + bootstrapVersion = "1.41.0"; 25 + 26 + # fetch hashes by running `print-hashes.sh 1.42.0` 27 + bootstrapHashes = { 28 + i686-unknown-linux-gnu = "a93a34f9cf3d35de2496352cb615b42b792eb09db3149b3a278efd2c58fa7897"; 29 + x86_64-unknown-linux-gnu = "343ba8ef7397eab7b3bb2382e5e4cb08835a87bff5c8074382c0b6930a41948b"; 30 + arm-unknown-linux-gnueabihf = "d0b33fcc97eeb96d716b30573c7e66affdf9077ecdecb30df2498b49f8284047"; 31 + armv7-unknown-linux-gnueabihf = "3c8e787fb4f4f304a065e78c38010f0b5722d809f9dafb0e904084bf0f54f7be"; 32 + aarch64-unknown-linux-gnu = "79ddfb5e2563d0ee09a567fbbe121a2aed3c3bc61255b2787f2dd42183a10f27"; 33 + i686-apple-darwin = "628134b3fbaf5c0e7a25bd9a2b8d25f6e68bb256c8b04a3332ec979f5a1cd339"; 34 + x86_64-apple-darwin = "b6504003ab70b11f278e0243a43ba9d6bf75e8ad6819b4058a2b6e3991cc8d7a"; 35 + }; 36 + 37 + selectRustPackage = pkgs: pkgs.rust_1_42; 38 + 39 + rustcPatches = [ 40 + ./0001-Allow-getting-no_std-from-the-config-file.patch 41 + ]; 42 + } 43 + 44 + (builtins.removeAttrs args [ "fetchpatch" ])
+2 -2
pkgs/development/compilers/rust/rustc.nix
··· 1 1 { stdenv, removeReferencesTo, pkgsBuildBuild, pkgsBuildHost, pkgsBuildTarget 2 2 , fetchurl, file, python3 3 - , llvm_9, darwin, git, cmake, rust, rustPlatform 3 + , llvm_9, darwin, cmake, rust, rustPlatform 4 4 , pkgconfig, openssl 5 5 , which, libffi 6 6 , withBundledLLVM ? false ··· 125 125 dontUseCmakeConfigure = true; 126 126 127 127 nativeBuildInputs = [ 128 - file python3 rustPlatform.rust.rustc git cmake 128 + file python3 rustPlatform.rust.rustc cmake 129 129 which libffi removeReferencesTo pkgconfig 130 130 ]; 131 131
+8 -1
pkgs/development/compilers/vala/default.nix
··· 36 36 37 37 "0.46" = ./disable-graphviz-0.46.1.patch; 38 38 39 + "0.48" = ./disable-graphviz-0.46.1.patch; 40 + 39 41 }.${lib.versions.majorMinor version} or (throw "no graphviz patch for this version of vala"); 40 42 41 43 disableGraphviz = lib.versionAtLeast version "0.38" && !withGraphviz; ··· 120 122 sha256 = "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s"; 121 123 }; 122 124 123 - vala = vala_0_46; 125 + vala_0_48 = generic { 126 + version = "0.48.1"; 127 + sha256 = "61c5TAqQj/Y2I9F54J+h6dazjTHH61l9MCFInyl+cdQ="; 128 + }; 129 + 130 + vala = vala_0_48; 124 131 }
+2
pkgs/development/go-packages/generic/default.nix
··· 214 214 find $bin/bin -type f -exec ${removeExpr removeReferences} '{}' + || true 215 215 ''; 216 216 217 + strictDeps = true; 218 + 217 219 shellHook = '' 218 220 d=$(mktemp -d "--suffix=-$name") 219 221 '' + toString (map (dep: ''
+2 -1
pkgs/development/interpreters/python/cpython/default.nix
··· 28 28 , stripTkinter ? false 29 29 , rebuildBytecode ? true 30 30 , stripBytecode ? false 31 + , includeSiteCustomize ? true 31 32 , static ? false 32 33 }: 33 34 ··· 238 239 '' + optionalString stripTests '' 239 240 # Strip tests 240 241 rm -R $out/lib/python*/test $out/lib/python*/**/test{,s} 241 - '' + '' 242 + '' + optionalString includeSiteCustomize '' 242 243 # Include a sitecustomize.py file 243 244 cp ${../sitecustomize.py} $out/${sitePackages}/sitecustomize.py 244 245 '' + optionalString rebuildBytecode ''
+3 -2
pkgs/development/interpreters/python/default.nix
··· 96 96 sourceVersion = { 97 97 major = "3"; 98 98 minor = "7"; 99 - patch = "6"; 99 + patch = "7"; 100 100 suffix = ""; 101 101 }; 102 - sha256 = "0gskry19ylw91p38pdq36qcgk6h3x5i4ia0ik977kw2943kwr8jm"; 102 + sha256 = "0di1y2cna823qgk6sd2lvpjdm3g2qikdd50i2bjd330dpzqsk806"; 103 103 inherit (darwin) configd; 104 104 inherit passthruFun; 105 105 }; ··· 147 147 stripTkinter = true; 148 148 rebuildBytecode = false; 149 149 stripBytecode = true; 150 + includeSiteCustomize = false; 150 151 }).overrideAttrs(old: { 151 152 pname = "python3-minimal"; 152 153 meta = old.meta // {
+8
pkgs/development/interpreters/python/hooks/default.nix
··· 89 89 }; 90 90 } ./python-imports-check-hook.sh) {}; 91 91 92 + pythonNamespacesHook = callPackage ({}: 93 + makeSetupHook { 94 + name = "python-namespaces-hook.sh"; 95 + substitutions = { 96 + inherit pythonSitePackages; 97 + }; 98 + } ./python-namespaces-hook.sh) {}; 99 + 92 100 pythonRemoveBinBytecodeHook = callPackage ({ }: 93 101 makeSetupHook { 94 102 name = "python-remove-bin-bytecode-hook";
+40
pkgs/development/interpreters/python/hooks/python-namespaces-hook.sh
··· 1 + # Clean up __init__.py's found in namespace directories 2 + echo "Sourcing python-namespaces-hook" 3 + 4 + pythonNamespacesHook() { 5 + echo "Executing pythonNamespacesHook" 6 + 7 + for namespace in ${pythonNamespaces[@]}; do 8 + echo "Enforcing PEP420 namespace: ${namespace}" 9 + 10 + # split namespace into segments. "azure.mgmt" -> "azure mgmt" 11 + IFS='.' read -ra pathSegments <<< $namespace 12 + constructedPath=$out/@pythonSitePackages@ 13 + 14 + # Need to remove the __init__.py at each namespace level 15 + # E.g `azure/__init__.py` and `azure/mgmt/__init__.py` 16 + # The __pycache__ entry also needs to be removed 17 + for pathSegment in ${pathSegments[@]}; do 18 + constructedPath=${constructedPath}/${pathSegment} 19 + pathToRemove=${constructedPath}/__init__.py 20 + pycachePath=${constructedPath}/__pycache__/__init__* 21 + 22 + if [ -f "$pathToRemove" ]; then 23 + echo "Removing $pathToRemove" 24 + rm "$pathToRemove" 25 + fi 26 + 27 + if [ -f "$pycachePath" ]; then 28 + echo "Removing $pycachePath" 29 + rm "$pycachePath" 30 + fi 31 + done 32 + done 33 + 34 + echo "Finished executing pythonNamespacesHook" 35 + } 36 + 37 + if [ -z "${dontUsePythonNamespacesHook-}" -a -n "${pythonNamespaces-}" ]; then 38 + postFixupHooks+=(pythonNamespacesHook) 39 + fi 40 +
+4
pkgs/development/interpreters/python/mk-python-derivation.nix
··· 16 16 , pipInstallHook 17 17 , pythonCatchConflictsHook 18 18 , pythonImportsCheckHook 19 + , pythonNamespacesHook 19 20 , pythonRemoveBinBytecodeHook 20 21 , pythonRemoveTestsDirHook 21 22 , setuptoolsBuildHook ··· 131 132 ] ++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [ 132 133 # This is a test, however, it should be ran independent of the checkPhase and checkInputs 133 134 pythonImportsCheckHook 135 + ] ++ lib.optionals (python.pythonAtLeast "3.3") [ 136 + # Optionally enforce PEP420 for python3 137 + pythonNamespacesHook 134 138 ] ++ nativeBuildInputs; 135 139 136 140 buildInputs = buildInputs ++ pythonPath;
+16 -3
pkgs/development/interpreters/python/sitecustomize.py
··· 21 21 if paths: 22 22 functools.reduce(lambda k, p: site.addsitedir(p, k), paths.split(':'), site._init_pathinfo()) 23 23 24 - executable = os.environ.pop('NIX_PYTHONEXECUTABLE', None) 25 - if 'PYTHONEXECUTABLE' not in os.environ and executable: 26 - sys.executable = executable 24 + # Check whether we are in a venv. 25 + # Note Python 2 does not support base_prefix so we assume we are not in a venv. 26 + in_venv = sys.version_info.major == 3 and sys.prefix != sys.base_prefix 27 + 28 + if not in_venv: 29 + executable = os.environ.pop('NIX_PYTHONEXECUTABLE', None) 30 + prefix = os.environ.pop('NIX_PYTHONPREFIX', None) 31 + 32 + if 'PYTHONEXECUTABLE' not in os.environ and executable is not None: 33 + sys.executable = executable 34 + if prefix is not None: 35 + # Because we cannot check with Python 2 whether we are in a venv, 36 + # creating a venv from a Nix env won't work as well with Python 2. 37 + # Also, note that sysconfig does not like it when sys.prefix is set to None 38 + sys.prefix = sys.exec_prefix = prefix 39 + site.PREFIXES.insert(0, prefix)
+11 -1
pkgs/development/interpreters/python/tests.nix
··· 2 2 , runCommand 3 3 , substituteAll 4 4 , lib 5 + , callPackage 5 6 }: 6 7 7 8 let ··· 36 37 is_venv = "True"; 37 38 is_nixenv = "False"; 38 39 }; 40 + 39 41 # Venv built using Python Nix environment (python.buildEnv) 40 42 # TODO: Cannot create venv from a nix env 41 43 # Error: Command '['/nix/store/ddc8nqx73pda86ibvhzdmvdsqmwnbjf7-python3-3.7.6-venv/bin/python3.7', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. ··· 49 51 # }; 50 52 }; 51 53 54 + # All PyPy package builds are broken at the moment 55 + integrationTests = lib.optionalAttrs (python.isPy3k && (!python.isPyPy)) rec { 56 + # Before the addition of NIX_PYTHONPREFIX mypy was broken with typed packages 57 + nix-pythonprefix-mypy = callPackage ./tests/test_nix_pythonprefix { 58 + interpreter = python; 59 + }; 60 + }; 61 + 52 62 testfun = name: attrs: runCommand "${python.name}-tests-${name}" ({ 53 63 inherit (python) pythonVersion; 54 64 } // attrs) '' ··· 60 70 touch $out/success 61 71 ''; 62 72 63 - in lib.mapAttrs testfun envs 73 + in lib.mapAttrs testfun envs // integrationTests
+25
pkgs/development/interpreters/python/tests/test_nix_pythonprefix/default.nix
··· 1 + { interpreter, writeText, runCommandNoCC }: 2 + 3 + let 4 + 5 + python = let 6 + packageOverrides = self: super: { 7 + typeddep = super.callPackage ./typeddep {}; 8 + }; 9 + in interpreter.override {inherit packageOverrides; self = python;}; 10 + 11 + pythonEnv = python.withPackages(ps: [ 12 + ps.typeddep 13 + ps.mypy 14 + ]); 15 + 16 + pythonScript = writeText "myscript.py" '' 17 + from typeddep import util 18 + s: str = util.echo("hello") 19 + print(s) 20 + ''; 21 + 22 + in runCommandNoCC "${interpreter.name}-site-prefix-mypy-test" {} '' 23 + ${pythonEnv}/bin/mypy ${pythonScript} 24 + touch $out 25 + ''
+11
pkgs/development/interpreters/python/tests/test_nix_pythonprefix/typeddep/default.nix
··· 1 + { buildPythonPackage }: 2 + 3 + 4 + buildPythonPackage { 5 + 6 + pname = "typeddep"; 7 + version = "1.3.3.7"; 8 + 9 + src = ./.; 10 + 11 + }
+18
pkgs/development/interpreters/python/tests/test_nix_pythonprefix/typeddep/setup.py
··· 1 + from setuptools import setup 2 + 3 + setup(**{ 4 + 'name': 'typeddep', 5 + 'version': '1.3.3.7', 6 + 'description': 'Minimal repro to test mypy and site prefixes with Nix', 7 + 'long_description': None, 8 + 'author': 'adisbladis', 9 + 'author_email': 'adisbladis@gmail.com', 10 + 'maintainer': None, 11 + 'maintainer_email': None, 12 + 'url': None, 13 + 'packages': ['typeddep'], 14 + 'package_data': {'': ['*']}, 15 + 'install_requires': [], 16 + 'entry_points': {}, 17 + 'python_requires': '>=3.7,<4.0', 18 + })
pkgs/development/interpreters/python/tests/test_nix_pythonprefix/typeddep/typeddep/__init__.py

This is a binary file and will not be displayed.

pkgs/development/interpreters/python/tests/test_nix_pythonprefix/typeddep/typeddep/py.typed

This is a binary file and will not be displayed.

+2
pkgs/development/interpreters/python/tests/test_nix_pythonprefix/typeddep/typeddep/util.py
··· 1 + def echo(s: str) -> str: 2 + return s
+3 -3
pkgs/development/interpreters/python/tests/test_python.py
··· 27 27 def test_interpreter(self): 28 28 self.assertEqual(sys.executable, INTERPRETER) 29 29 30 - @unittest.skipIf(IS_NIXENV or IS_PYPY, "Prefix is incorrect and needs to be fixed.") 30 + @unittest.skipIf(IS_PYPY, "Prefix is incorrect and needs to be fixed.") 31 31 def test_prefix(self): 32 32 self.assertEqual(sys.prefix, ENV) 33 33 self.assertEqual(sys.prefix, sys.exec_prefix) ··· 35 35 def test_site_prefix(self): 36 36 self.assertTrue(sys.prefix in site.PREFIXES) 37 37 38 - @unittest.skipIf(sys.version_info.major==2, "Python 2 does not have base_prefix") 38 + @unittest.skipIf(IS_PYPY or sys.version_info.major==2, "Python 2 does not have base_prefix") 39 39 def test_base_prefix(self): 40 - if IS_VENV: 40 + if IS_VENV or IS_NIXENV: 41 41 self.assertNotEqual(sys.prefix, sys.base_prefix) 42 42 else: 43 43 self.assertEqual(sys.prefix, sys.base_prefix)
+1 -1
pkgs/development/interpreters/python/wrapper.nix
··· 37 37 if [ -f "$prg" ]; then 38 38 rm -f "$out/bin/$prg" 39 39 if [ -x "$prg" ]; then 40 - makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set NIX_PYTHONEXECUTABLE ${pythonExecutable} --set NIX_PYTHONPATH ${pythonPath} ${if permitUserSite then "" else ''--set PYTHONNOUSERSITE "true"''} ${stdenv.lib.concatStringsSep " " makeWrapperArgs} 40 + makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set NIX_PYTHONPREFIX "$out" --set NIX_PYTHONEXECUTABLE ${pythonExecutable} --set NIX_PYTHONPATH ${pythonPath} ${if permitUserSite then "" else ''--set PYTHONNOUSERSITE "true"''} ${stdenv.lib.concatStringsSep " " makeWrapperArgs} 41 41 fi 42 42 fi 43 43 done
+95
pkgs/development/interpreters/spidermonkey/68.nix
··· 1 + { stdenv, fetchurl, fetchpatch, autoconf213, pkgconfig, perl, python2, python3, zip, buildPackages 2 + , which, readline, zlib, icu, cargo, rustc, llvmPackages }: 3 + 4 + with stdenv.lib; 5 + 6 + let 7 + python3Env = buildPackages.python3.withPackages (p: [p.six]); 8 + in stdenv.mkDerivation rec { 9 + pname = "spidermonkey"; 10 + version = "68.4.2"; 11 + 12 + src = fetchurl { 13 + url = "mirror://mozilla/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz"; 14 + sha256 = "1x1fglg1b85hb0srd6k7n5svl0nlgdm4njc8q13s2750v5ck4ljx"; 15 + }; 16 + 17 + outputs = [ "out" "dev" ]; 18 + setOutputFlags = false; # Configure script only understands --includedir 19 + 20 + nativeBuildInputs = [ 21 + autoconf213 22 + pkgconfig 23 + perl 24 + which 25 + python2 26 + zip 27 + cargo 28 + rustc 29 + llvmPackages.llvm 30 + ]; 31 + 32 + buildInputs = [ 33 + readline 34 + zlib 35 + icu 36 + ]; 37 + 38 + preConfigure = '' 39 + export CXXFLAGS="-fpermissive" 40 + export LIBXUL_DIST=$out 41 + export PYTHON3="${python3Env.interpreter}" 42 + 43 + # We can't build in js/src/, so create a build dir 44 + mkdir obj 45 + cd obj/ 46 + configureScript=../js/src/configure 47 + ''; 48 + 49 + configureFlags = [ 50 + # Reccommended by gjs upstream 51 + "--disable-jemalloc" 52 + "--enable-unaligned-private-values" 53 + "--with-intl-api" 54 + "--enable-posix-nspr-emulation" 55 + "--with-system-zlib" 56 + "--with-system-icu" 57 + 58 + "--with-libclang-path=${llvmPackages.libclang}/lib" 59 + "--with-clang-path=${llvmPackages.clang}/bin/clang" 60 + 61 + "--enable-shared-js" 62 + "--enable-readline" 63 + # Fedora and Arch disable optimize, but it doesn't seme to be necessary 64 + # It turns on -O3 which some gcc version had a problem with: 65 + # https://src.fedoraproject.org/rpms/mozjs38/c/761399aba092bcb1299bb4fccfd60f370ab4216e 66 + "--enable-optimize" 67 + "--enable-release" 68 + ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 69 + # Spidermonkey seems to use different host/build terminology for cross 70 + # compilation here. 71 + "--host=${stdenv.buildPlatform.config}" 72 + "--target=${stdenv.hostPlatform.config}" 73 + ]; 74 + 75 + configurePlatforms = []; 76 + 77 + depsBuildBuild = [ buildPackages.stdenv.cc ]; 78 + 79 + # Remove unnecessary static lib 80 + preFixup = '' 81 + moveToOutput bin/js60-config "$dev" 82 + rm $out/lib/libjs_static.ajs 83 + ln -s $out/bin/js60 $out/bin/js 84 + ''; 85 + 86 + enableParallelBuilding = true; 87 + 88 + meta = with stdenv.lib; { 89 + description = "Mozilla's JavaScript engine written in C/C++"; 90 + homepage = https://developer.mozilla.org/en/SpiderMonkey; 91 + license = licenses.gpl2; # TODO: MPL/GPL/LGPL tri-license. 92 + maintainers = [ maintainers.abbradar ]; 93 + platforms = platforms.linux; 94 + }; 95 + }
+2 -2
pkgs/development/libraries/SDL2/default.nix
··· 24 24 25 25 stdenv.mkDerivation rec { 26 26 pname = "SDL2"; 27 - version = "2.0.10"; 27 + version = "2.0.12"; 28 28 29 29 src = fetchurl { 30 30 url = "https://www.libsdl.org/release/${pname}-${version}.tar.gz"; 31 - sha256 = "0mqxp6w5jhbq6y1j690g9r3gpzwjxh4czaglw8x05l7hl49nqrdl"; 31 + sha256 = "0qy8wbqvfkb5ps8kxgaaf2zzpkjqbsw712hlp74znbn0jpv6i4il"; 32 32 }; 33 33 34 34 outputs = [ "out" "dev" ];
+2 -2
pkgs/development/libraries/aravis/default.nix
··· 1 1 { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk-doc, intltool 2 - , audit, glib, libusb, libxml2 2 + , audit, glib, libusb1, libxml2 3 3 , wrapGAppsHook 4 4 , gstreamer ? null 5 5 , gst-plugins-base ? null ··· 53 53 54 54 buildInputs = 55 55 [ glib libxml2 ] 56 - ++ stdenv.lib.optional enableUsb libusb 56 + ++ stdenv.lib.optional enableUsb libusb1 57 57 ++ stdenv.lib.optional enablePacketSocket audit 58 58 ++ stdenv.lib.optionals (enableViewer || enableGstPlugin) [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ] 59 59 ++ stdenv.lib.optionals (enableViewer) [ libnotify gtk3 gnome3.adwaita-icon-theme ];
+1
pkgs/development/libraries/aspell/default.nix
··· 28 28 patch interfaces/cc/aspell.h < ${./clang.patch} 29 29 ''; 30 30 31 + nativeBuildInputs = [ perl ]; 31 32 buildInputs = [ perl ]; 32 33 33 34 doCheck = true;
+2 -2
pkgs/development/libraries/at-spi2-core/default.nix
··· 20 20 21 21 stdenv.mkDerivation rec { 22 22 pname = "at-spi2-core"; 23 - version = "2.34.0"; 23 + version = "2.36.0"; 24 24 25 25 src = fetchurl { 26 26 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 - sha256 = "1ihixwhh3c16q6253qj9gf69741rb2pi51822a4rylsfcyywsafn"; 27 + sha256 = "0nn0lnf07ayysq8c8irmvc91c2dszn04m5qs6jy60g3y1bg5gnl8"; 28 28 }; 29 29 30 30 outputs = [ "out" "dev" ];
+3 -3
pkgs/development/libraries/atk/default.nix
··· 4 4 5 5 let 6 6 pname = "atk"; 7 - version = "2.34.1"; 7 + version = "2.35.1"; 8 8 in 9 9 10 10 stdenv.mkDerivation rec { ··· 12 12 13 13 src = fetchurl { 14 14 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 15 - sha256 = "1jwp16r6p5z66k4b2v8zlzhyshhwlmyi27ippkrgqr8jsary7w6l"; 15 + sha256 = "111qajn7kxwmh40drc8i6jc3hnril2rp63n207q92pl47zx614xy"; 16 16 }; 17 17 18 18 outputs = [ "out" "dev" ]; 19 19 20 20 buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames; 21 21 22 - nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection ]; 22 + nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection glib ]; 23 23 24 24 propagatedBuildInputs = [ 25 25 # Required by atk.pc
+2 -2
pkgs/development/libraries/cogl/default.nix
··· 7 7 pname = "cogl"; 8 8 in stdenv.mkDerivation rec { 9 9 name = "${pname}-${version}"; 10 - version = "1.22.4"; 10 + version = "1.22.6"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 14 - sha256 = "1q0drs82a8f6glg1v29bb6g2nf15fw0rvdx3d0rgcgfarfaby5sj"; 14 + sha256 = "0x8v4n61q89qy27v824bqswpz6bmn801403w2q3pa1lcwk9ln4vd"; 15 15 }; 16 16 17 17 patches = [
+4 -13
pkgs/development/libraries/dconf/default.nix
··· 1 1 { stdenv, fetchurl, meson, ninja, python3, vala, libxslt, pkgconfig, glib, bash-completion, dbus, gnome3 2 - , libxml2, gtk-doc, docbook_xsl, docbook_xml_dtd_42, fetchpatch }: 2 + , libxml2, gtk-doc, docbook_xsl, docbook_xml_dtd_42 }: 3 3 4 4 let 5 5 pname = "dconf"; 6 6 in 7 7 stdenv.mkDerivation rec { 8 8 name = "${pname}-${version}"; 9 - version = "0.34.0"; 9 + version = "0.36.0"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 13 - sha256 = "0lnsl85cp2vpzgp8pkf6l6yd2i3lp02jdvga1icfa78j2smr8fll"; 13 + sha256 = "0bfs069pjv6lhp7xrzmrhz3876ay2ryqxzc6mlva1hhz34ibprlz"; 14 14 }; 15 15 16 - patches = [ 17 - # Fix build with Meson 0.52 18 - (fetchpatch { 19 - url = "https://gitlab.gnome.org/GNOME/dconf/commit/cc32667c5d7d9ff95e65cc21f59905d8f9218394.patch"; 20 - sha256 = "02gfadn34bg818a7vb3crhsiahskiflcvx9l6iqwf1v269q93mr8"; 21 - }) 22 - ]; 23 - 24 16 postPatch = '' 25 17 chmod +x meson_post_install.py tests/test-dconf.py 26 18 patchShebangs meson_post_install.py ··· 29 21 30 22 outputs = [ "out" "lib" "dev" "devdoc" ]; 31 23 32 - nativeBuildInputs = [ meson ninja vala pkgconfig python3 libxslt libxml2 gtk-doc docbook_xsl docbook_xml_dtd_42 ]; 24 + nativeBuildInputs = [ meson ninja vala pkgconfig python3 libxslt libxml2 glib gtk-doc docbook_xsl docbook_xml_dtd_42 ]; 33 25 buildInputs = [ glib bash-completion dbus ]; 34 26 35 27 mesonFlags = [ ··· 42 34 passthru = { 43 35 updateScript = gnome3.updateScript { 44 36 packageName = pname; 45 - attrPath = "gnome3.${pname}"; 46 37 }; 47 38 }; 48 39
+2 -2
pkgs/development/libraries/folks/default.nix
··· 32 32 33 33 stdenv.mkDerivation rec { 34 34 pname = "folks"; 35 - version = "0.13.2"; 35 + version = "0.14.0"; 36 36 37 37 outputs = [ "out" "dev" "devdoc" ]; 38 38 39 39 src = fetchurl { 40 40 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 41 - sha256 = "0wq14yjs7m3axziy679a854vc7r7fj1l38p9jnyapb21vswdcqq2"; 41 + sha256 = "1f9b52vmwnq7s51vj26w2618dn2ph5g12ibbkbyk6fvxcgd7iryn"; 42 42 }; 43 43 44 44 mesonFlags = [
+2 -2
pkgs/development/libraries/freenect/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, cmake, libusb, pkgconfig, freeglut, libGLU, libGL, libXi, libXmu 1 + { stdenv, lib, fetchFromGitHub, cmake, libusb1, pkgconfig, freeglut, libGLU, libGL, libXi, libXmu 2 2 , GLUT, Cocoa 3 3 }: 4 4 ··· 13 13 sha256 = "1963xndbiwgj01q17zv6xbqlsbhfd236dkbdwkbjw4b0gr8kqzq9"; 14 14 }; 15 15 16 - buildInputs = [ libusb freeglut libGLU libGL libXi libXmu ] 16 + buildInputs = [ libusb1 freeglut libGLU libGL libXi libXmu ] 17 17 ++ lib.optionals stdenv.isDarwin [ GLUT Cocoa ]; 18 18 19 19 nativeBuildInputs = [ cmake pkgconfig ];
+16 -2
pkgs/development/libraries/gcr/default.nix
··· 1 1 { stdenv 2 2 , fetchurl 3 3 , pkgconfig 4 + , meson 5 + , ninja 4 6 , gettext 5 7 , gnupg 6 8 , p11-kit ··· 15 17 , vala 16 18 , gnome3 17 19 , python3 20 + , shared-mime-info 18 21 }: 19 22 20 23 stdenv.mkDerivation rec { 21 24 pname = "gcr"; 22 - version = "3.34.0"; 25 + version = "3.36.0"; 23 26 24 27 src = fetchurl { 25 28 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 - sha256 = "0925snsixzkwh49xiayqmj6fcrmklqk8kyy0jkv7m64h9abm1pr9"; 29 + sha256 = "00b6bzpr8rj8mvj66r2273r417wg2y21m6n88mhkq9m22z8bxyda"; 27 30 }; 28 31 29 32 postPatch = '' 30 33 patchShebangs build/ gcr/fixtures/ 34 + 35 + chmod +x meson_post_install.py 36 + patchShebangs meson_post_install.py 31 37 ''; 32 38 33 39 outputs = [ "out" "dev" ]; 34 40 35 41 nativeBuildInputs = [ 36 42 pkgconfig 43 + meson 44 + python3 45 + ninja 37 46 gettext 38 47 gobject-introspection 39 48 libxslt 40 49 makeWrapper 41 50 vala 51 + shared-mime-info 42 52 ]; 43 53 44 54 buildInputs = [ ··· 56 66 57 67 checkInputs = [ 58 68 python3 69 + ]; 70 + 71 + mesonFlags = [ 72 + "-Dgtk_doc=false" 59 73 ]; 60 74 61 75 doCheck = false; # fails 21 out of 603 tests, needs dbus daemon
+79 -14
pkgs/development/libraries/gjs/default.nix
··· 1 1 { fetchurl 2 + , fetchpatch 2 3 , stdenv 4 + , meson 5 + , ninja 3 6 , pkgconfig 4 7 , gnome3 5 8 , gtk3 6 9 , atk 7 10 , gobject-introspection 8 - , spidermonkey_60 11 + , spidermonkey_68 9 12 , pango 10 13 , cairo 11 14 , readline ··· 14 17 , dbus 15 18 , gdk-pixbuf 16 19 , makeWrapper 20 + , xvfb_run 17 21 , nixosTests 18 22 }: 19 23 20 - stdenv.mkDerivation rec { 24 + let 25 + testDeps = [ 26 + gobject-introspection # for Gio and cairo typelibs 27 + gtk3 atk pango.out gdk-pixbuf 28 + ]; 29 + in stdenv.mkDerivation rec { 21 30 pname = "gjs"; 22 - version = "1.58.5"; 31 + version = "1.64.0"; 23 32 24 33 src = fetchurl { 25 34 url = "mirror://gnome/sources/gjs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 - sha256 = "0fm1szmhdawvgbf9fh6vvkv1fdvbn888fciyi2wkhx48kz09jvg7"; 35 + sha256 = "0vynivp1d10jkxfcgb5vcjkba5dvi7amkm8axmyad7l4dfy4qf36"; 27 36 }; 28 37 29 38 outputs = [ "out" "dev" "installedTests" ]; 30 39 31 40 nativeBuildInputs = [ 41 + meson 42 + ninja 32 43 pkgconfig 33 44 makeWrapper 34 45 libxml2 # for xml-stripblanks ··· 38 49 gobject-introspection 39 50 cairo 40 51 readline 41 - spidermonkey_60 52 + spidermonkey_68 42 53 dbus # for dbus-run-session 43 54 ]; 44 55 56 + checkInputs = [ 57 + xvfb_run 58 + ] ++ testDeps; 59 + 45 60 propagatedBuildInputs = [ 46 61 glib 47 62 ]; 48 63 49 - configureFlags = [ 50 - "--enable-installed-tests" 64 + mesonFlags = [ 65 + "-Dprofiler=disabled" 66 + "-Dinstalled_test_prefix=${placeholder "installedTests"}" 67 + ]; 68 + 69 + patches = [ 70 + # Hard-code various paths 71 + ./fix-paths.patch 72 + 73 + # Clean-ups to make installing installed tests separately easier. 74 + # https://gitlab.gnome.org/GNOME/gjs/merge_requests/403 75 + (fetchpatch { 76 + url = "https://gitlab.gnome.org/GNOME/gjs/commit/14bae0e2bc7e817f53f0dcd8ecd032f554d12e6f.patch"; 77 + sha256 = "4eaNl2ddRMlUfBoOUnRy10+RlQR4f/mDMhjQ2txmRcg="; 78 + }) 79 + (fetchpatch { 80 + url = "https://gitlab.gnome.org/GNOME/gjs/commit/075f015d7980dc94fff48a1c4021cb50691dddb1.patch"; 81 + sha256 = "Iw0XfGiOUazDbpT5SqFx3UVvBRtNm3Fds1gCsdxKucw="; 82 + }) 83 + (fetchpatch { 84 + url = "https://gitlab.gnome.org/GNOME/gjs/commit/5cfd2c2ffd2d8c002d40f658e1c54027dc5d8506.patch"; 85 + sha256 = "rJ5Je1zcfthIl7+hRoWw3cwzz/ZkS2rtjvFOQ8znBi8="; 86 + }) 87 + (fetchpatch { 88 + url = "https://gitlab.gnome.org/GNOME/gjs/commit/1a81f40e8783fe97dd00f009eb0d9ad45297e831.patch"; 89 + sha256 = "+k4Xv3sJ//iDqkVTkO51IA7FPtWsS0P9YUVTWnIym4I="; 90 + }) 91 + (fetchpatch { 92 + url = "https://gitlab.gnome.org/GNOME/gjs/commit/361a319789310292787d9c62665cef9e386a9b20.patch"; 93 + sha256 = "ofOP1OFs9q5nW9rE/2ovbwZR6gTrDDh8cczdYipoWNE="; 94 + }) 95 + 96 + # Allow installing installed tests to a separate output. 97 + ./installed-tests-path.patch 51 98 ]; 99 + 100 + # Gio test is failing 101 + # https://github.com/NixOS/nixpkgs/pull/81626#issuecomment-599325843 102 + doCheck = false; 52 103 53 104 postPatch = '' 54 - for f in installed-tests/*.test.in; do 55 - substituteInPlace "$f" --subst-var-by pkglibexecdir "$installedTests/libexec/gjs" 56 - done 105 + substituteInPlace installed-tests/debugger-test.sh --subst-var-by gjsConsole $out/bin/gjs-console 57 106 ''; 58 107 59 - postInstall = '' 60 - moveToOutput "share/installed-tests" "$installedTests" 61 - moveToOutput "libexec/gjs/installed-tests" "$installedTests" 108 + preCheck = '' 109 + # Our gobject-introspection patches make the shared library paths absolute 110 + # in the GIR files. When running tests, the library is not yet installed, 111 + # though, so we need to replace the absolute path with a local one during build. 112 + # We are using a symlink that will be overridden during installation. 113 + mkdir -p $out/lib $installedTests/libexec/gjs/installed-tests 114 + ln -s $PWD/libgjs.so.0 $out/lib/libgjs.so.0 115 + ln -s $PWD/installed-tests/js/libgimarshallingtests.so $installedTests/libexec/gjs/installed-tests/libgimarshallingtests.so 116 + ln -s $PWD/installed-tests/js/libregress.so $installedTests/libexec/gjs/installed-tests/libregress.so 117 + ln -s $PWD/installed-tests/js/libwarnlib.so $installedTests/libexec/gjs/installed-tests/libwarnlib.so 118 + ''; 62 119 120 + postInstall = '' 63 121 wrapProgram "$installedTests/libexec/gjs/installed-tests/minijasmine" \ 64 - --prefix GI_TYPELIB_PATH : "${stdenv.lib.makeSearchPath "lib/girepository-1.0" [ gtk3 atk pango.out gdk-pixbuf ]}:$installedTests/libexec/gjs/installed-tests" 122 + --prefix GI_TYPELIB_PATH : "${stdenv.lib.makeSearchPath "lib/girepository-1.0" testDeps}" 123 + ''; 124 + 125 + checkPhase = '' 126 + runHook preCheck 127 + xvfb-run -s '-screen 0 800x600x24' \ 128 + meson test --print-errorlogs 129 + runHook postCheck 65 130 ''; 66 131 67 132 separateDebugInfo = stdenv.isLinux;
+13
pkgs/development/libraries/gjs/fix-paths.patch
··· 1 + diff --git a/installed-tests/debugger-test.sh b/installed-tests/debugger-test.sh 2 + index 0d118490..54c5507e 100755 3 + --- a/installed-tests/debugger-test.sh 4 + +++ b/installed-tests/debugger-test.sh 5 + @@ -3,7 +3,7 @@ 6 + if test "$GJS_USE_UNINSTALLED_FILES" = "1"; then 7 + gjs="$TOP_BUILDDIR/gjs-console" 8 + else 9 + - gjs=gjs-console 10 + + gjs=@gjsConsole@ 11 + fi 12 + 13 + echo 1..1
+24
pkgs/development/libraries/gjs/installed-tests-path.patch
··· 1 + diff --git a/installed-tests/meson.build b/installed-tests/meson.build 2 + index 294d20c6..1e5029e0 100644 3 + --- a/installed-tests/meson.build 4 + +++ b/installed-tests/meson.build 5 + @@ -1,7 +1,7 @@ 6 + ### Installed tests ############################################################ 7 + 8 + -installed_tests_execdir = get_option('prefix') / pkglibexecdir / 'installed-tests' 9 + -installed_tests_metadir = abs_datadir / 'installed-tests' / meson.project_name() 10 + +installed_tests_execdir = get_option('installed_test_prefix') / 'libexec' / meson.project_name() / 'installed-tests' 11 + +installed_tests_metadir = get_option('installed_test_prefix') / 'share' / 'installed-tests' / meson.project_name() 12 + 13 + # Simple shell script tests # 14 + 15 + diff --git a/meson_options.txt b/meson_options.txt 16 + index 66f66024..008687cb 100644 17 + --- a/meson_options.txt 18 + +++ b/meson_options.txt 19 + @@ -25,3 +25,5 @@ option('skip_gtk_tests', type: 'boolean', value: false, 20 + description: 'Skip tests that need a display connection') 21 + option('verbose_logs', type: 'boolean', value: false, 22 + description: 'Enable extra log messages that may decrease performance (not allowed in release builds)') 23 + +option('installed_test_prefix', type: 'string', value: '', 24 + + description: 'Prefix for installed tests')
+2 -2
pkgs/development/libraries/glib-networking/default.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "glib-networking"; 21 - version = "2.62.3"; 21 + version = "2.64.0"; 22 22 23 23 outputs = [ "out" "installedTests" ]; 24 24 25 25 src = fetchurl { 26 26 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 - sha256 = "1xvzixzwwh8wk8f79qbm2gl7hp3hj1a7skv281v5qsx74dpzi8cc"; 27 + sha256 = "1fm1462v7z556qivlwflvc3qpz36jwpzqxxvsihh45j7aka2gnjw"; 28 28 }; 29 29 30 30 patches = [
+2 -12
pkgs/development/libraries/glib/default.nix
··· 48 48 49 49 stdenv.mkDerivation rec { 50 50 pname = "glib"; 51 - version = "2.62.5"; 51 + version = "2.64.1"; 52 52 53 53 src = fetchurl { 54 54 url = "mirror://gnome/sources/glib/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 55 - sha256 = "0bj5hagvfiqcjd20w543pvbnrlqvs8nbxvqjflyvcn36ljpwvldq"; 55 + sha256 = "1ixvjmsrj45xq9bq3chhj98jhgcsqa08v627mjx6sjxlph1pd5hp"; 56 56 }; 57 57 58 58 patches = optionals stdenv.isDarwin [ ··· 62 62 ./gobject_init_on_demand.patch 63 63 ] ++ [ 64 64 ./schema-override-variable.patch 65 - # Require substituteInPlace in postPatch 66 - ./fix-gio-launch-desktop-path.patch 67 65 68 66 # GLib contains many binaries used for different purposes; 69 67 # we will install them to different outputs: ··· 126 124 ]; 127 125 128 126 postPatch = '' 129 - # substitute fix-gio-launch-desktop-path.patch 130 - substituteInPlace gio/gdesktopappinfo.c --replace "@bindir@" "$out/bin" 131 - 132 127 chmod +x gio/tests/gengiotypefuncs.py 133 128 patchShebangs gio/tests/gengiotypefuncs.py 134 129 chmod +x docs/reference/gio/concat-files-helper.py ··· 148 143 # This file is *included* in gtk3 and would introduce runtime reference via __FILE__. 149 144 sed '1i#line 1 "${pname}-${version}/include/glib-2.0/gobject/gobjectnotifyqueue.c"' \ 150 145 -i "$dev"/include/glib-2.0/gobject/gobjectnotifyqueue.c 151 - '' + optionalString (!stdenv.isDarwin) '' 152 - # Add gio-launch-desktop to $out so we can refer to it from $lib 153 - mkdir $out/bin 154 - mv "$bin/bin/gio-launch-desktop" "$out/bin/" 155 - ln -s "$out/bin/gio-launch-desktop" "$bin/bin/" 156 146 '' + optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 157 147 cp -r ${buildPackages.glib.devdoc} $devdoc 158 148 '';
-11
pkgs/development/libraries/glib/fix-gio-launch-desktop-path.patch
··· 1 - --- a/gio/gdesktopappinfo.c 2 - +++ b/gio/gdesktopappinfo.c 3 - @@ -2725,7 +2725,7 @@ g_desktop_app_info_launch_uris_with_spawn (GDesktopAppInfo *info, 4 - 5 - /* Fall back on usual searching in $PATH */ 6 - if (tmp == NULL) 7 - - tmp = "gio-launch-desktop"; 8 - + tmp = "@bindir@/gio-launch-desktop"; 9 - g_once_init_leave (&gio_launch_desktop_path, tmp); 10 - } 11 -
+10 -6
pkgs/development/libraries/gmime/3.nix
··· 1 - { stdenv, fetchurl, pkgconfig, glib, zlib, gnupg, gpgme, libidn2, libunistring, gobject-introspection }: 1 + { stdenv, fetchurl, pkgconfig, glib, zlib, gnupg, gpgme, libidn2, libunistring, gobject-introspection 2 + , vala }: 2 3 3 4 stdenv.mkDerivation rec { 4 - version = "3.2.5"; 5 + version = "3.2.6"; 5 6 pname = "gmime"; 6 7 7 8 src = fetchurl { 8 9 url = "mirror://gnome/sources/gmime/3.2/${pname}-${version}.tar.xz"; 9 - sha256 = "0ndsg1z1kq4w4caascydvialpyn4rfbjdn7xclzbzhw53x85cxgv"; 10 + sha256 = "05s7qjrxbj010q016pmdqdq73gz8vl4hv29kwaign0j8gi61kzxb"; 10 11 }; 11 12 12 13 outputs = [ "out" "dev" ]; 13 14 14 - buildInputs = [ gobject-introspection zlib gpgme libidn2 libunistring ]; 15 + buildInputs = [ vala gobject-introspection zlib gpgme libidn2 libunistring ]; 15 16 nativeBuildInputs = [ pkgconfig ]; 16 17 propagatedBuildInputs = [ glib ]; 17 - configureFlags = [ "--enable-introspection=yes" ]; 18 + configureFlags = [ 19 + "--enable-introspection=yes" 20 + "--enable-vala=yes" 21 + ]; 18 22 19 23 postPatch = '' 20 24 substituteInPlace tests/testsuite.c \ ··· 28 32 enableParallelBuilding = true; 29 33 30 34 meta = with stdenv.lib; { 31 - homepage = https://github.com/jstedfast/gmime/; 35 + homepage = "https://github.com/jstedfast/gmime/"; 32 36 description = "A C/C++ library for creating, editing and parsing MIME messages and structures"; 33 37 license = licenses.lgpl21Plus; 34 38 maintainers = with maintainers; [ ];
+2 -2
pkgs/development/libraries/gnome-menus/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnome-menus"; 5 - version = "3.32.0"; 5 + version = "3.36.0"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 - sha256 = "0x2blzqrapmbsbfzxjcdcpa3vkw9hq5k96h9kvjmy9kl415wcl68"; 9 + sha256 = "07xvaf8s0fiv0035nk8zpzymn5www76w2a1vflrgqmp9plw8yd6r"; 10 10 }; 11 11 12 12 makeFlags = [
+2 -3
pkgs/development/libraries/gnome-online-accounts/default.nix
··· 30 30 31 31 stdenv.mkDerivation rec { 32 32 pname = "gnome-online-accounts"; 33 - version = "3.34.1"; 33 + version = "3.36.0"; 34 34 35 35 # https://gitlab.gnome.org/GNOME/gnome-online-accounts/issues/87 36 36 src = fetchFromGitLab { ··· 38 38 owner = "GNOME"; 39 39 repo = "gnome-online-accounts"; 40 40 rev = version; 41 - sha256 = "0ry06qw068rqn4y42953kwl6fkxpgfya58y87cd3zink6gj7q0fm"; 41 + sha256 = "15j3xh93rqjphjw56j00g40m684nr4zy3hs7dsngm6a21l87fkfd"; 42 42 }; 43 43 44 44 outputs = [ "out" "man" "dev" "devdoc" ]; ··· 92 92 passthru = { 93 93 updateScript = gnome3.updateScript { 94 94 packageName = pname; 95 - attrPath = "gnome3.${pname}"; 96 95 }; 97 96 }; 98 97
+19 -7
pkgs/development/libraries/gobject-introspection/default.nix
··· 7 7 # it may be worth thinking about using multiple derivation outputs 8 8 # In that case its about 6MB which could be separated 9 9 10 - let 11 - pname = "gobject-introspection"; 12 - version = "1.62.0"; 13 - in 14 10 with stdenv.lib; 15 11 stdenv.mkDerivation rec { 16 - name = "${pname}-${version}"; 12 + pname = "gobject-introspection"; 13 + version = "1.64.0"; 17 14 18 15 src = fetchurl { 19 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 20 - sha256 = "18lhglg9v6y83lhqzyifc1z0wrlawzrhzzxx0a3h1g7xaz97xvmi"; 16 + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 17 + sha256 = "10pwykfnk7pw8k9k8iz3p72phxvyrh5q4d7gr3ysv08w15immh7a"; 21 18 }; 22 19 23 20 outputs = [ "out" "dev" "man" ]; ··· 32 29 33 30 mesonFlags = [ 34 31 "--datadir=${placeholder "dev"}/share" 32 + "-Ddoctool=disabled" 33 + "-Dcairo=disabled" 35 34 ]; 36 35 37 36 # outputs TODO: share/gobject-introspection-1.0/tests is needed during build ··· 55 54 }); 56 55 57 56 doCheck = !stdenv.isAarch64; 57 + 58 + preBuild = '' 59 + # Our gobject-introspection patches make the shared library paths absolute 60 + # in the GIR files. When running tests, the library is not yet installed, 61 + # though, so we need to replace the absolute path with a local one during build. 62 + # We are using a symlink that we will delete before installation. 63 + mkdir -p $out/lib 64 + ln -s $PWD/tests/scanner/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary} $out/lib/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary} 65 + cleanLibregressSymlink() { 66 + rm $out/lib/libregress-1.0${stdenv.targetPlatform.extensions.sharedLibrary} 67 + } 68 + preInstallPhases="$preInstallPhases cleanLibregressSymlink" 69 + ''; 58 70 59 71 passthru = { 60 72 updateScript = gnome3.updateScript {
+16 -1
pkgs/development/libraries/gpgme/default.nix
··· 1 - { stdenv, fetchurl, libgpgerror, gnupg, pkgconfig, glib, pth, libassuan 1 + { stdenv, fetchurl, fetchpatch, libgpgerror, gnupg, pkgconfig, glib, pth, libassuan 2 2 , file, which, ncurses 3 3 , texinfo 4 4 , buildPackages ··· 19 19 url = "mirror://gnupg/gpgme/${pname}-${version}.tar.bz2"; 20 20 sha256 = "0imyjfryvvjdbai454p70zcr95m94j9xnzywrlilqdw2fqi0pqy4"; 21 21 }; 22 + 23 + patches = [ 24 + # Fix tests with gnupg > 2.2.19 25 + # https://dev.gnupg.org/T4820 26 + (fetchpatch { 27 + name = "cff600f1f65a2164ab25ff2b039cba008776ce62.patch"; 28 + url = "http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=patch;h=cff600f1f65a2164ab25ff2b039cba008776ce62"; 29 + sha256 = "9vB2aTv3zeAQS3UxCDfkRjqUlng8lkcyJPgMzdm+Qzc="; 30 + }) 31 + (fetchpatch { 32 + name = "c4cf527ea227edb468a84bf9b8ce996807bd6992.patch"; 33 + url = "http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=patch;h=c4cf527ea227edb468a84bf9b8ce996807bd6992"; 34 + sha256 = "pKL1tvUw7PB2w4FHSt2up4SvpFiprBH6TLdgKxYFC3g="; 35 + }) 36 + ]; 22 37 23 38 outputs = [ "out" "dev" "info" ]; 24 39 outputBin = "dev"; # gpgme-config; not so sure about gpgme-tool
-1
pkgs/development/libraries/grilo-plugins/default.nix
··· 87 87 passthru = { 88 88 updateScript = gnome3.updateScript { 89 89 packageName = pname; 90 - attrPath = "gnome3.${pname}"; 91 90 versionPolicy = "none"; 92 91 }; 93 92 };
+3 -3
pkgs/development/libraries/gsettings-desktop-schemas/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "gsettings-desktop-schemas"; 10 - version = "3.34.0"; 10 + version = "3.36.0"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/gsettings-desktop-schemas/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 14 - sha256 = "1bayr76aylawf2fhyjhv9zgk4kpv7ivrrmd80khb0h3h1wk092r8"; 14 + sha256 = "19hfjqzddkmvxg80v23xpbd1my2pzjalx3d56d2k4dk5521vcjkn"; 15 15 }; 16 16 17 17 passthru = { ··· 39 39 40 40 buildInputs = [ glib gobject-introspection ]; 41 41 42 - nativeBuildInputs = [ pkgconfig python3 meson ninja ]; 42 + nativeBuildInputs = [ pkgconfig python3 meson ninja glib ]; 43 43 44 44 meta = with stdenv.lib; { 45 45 maintainers = gnome3.maintainers;
+7
pkgs/development/libraries/gstreamer/bad/default.nix
··· 1 1 { stdenv 2 2 , fetchurl 3 + , fetchpatch 3 4 , meson 4 5 , ninja 5 6 , gettext ··· 96 97 }; 97 98 98 99 patches = [ 100 + # Fix build with neon 0.31 101 + # https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1165 102 + (fetchpatch { 103 + url = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/commit/f10b424418e448211e3427a76fcd046e157ef0b7.patch"; 104 + sha256 = "0l1f6kqcl04q7w12a2b4qibcvjz6gqhs0csdv2wbvfd6zndpjm6p"; 105 + }) 99 106 ./fix_pkgconfig_includedir.patch 100 107 ]; 101 108
+4 -1
pkgs/development/libraries/gstreamer/base/default.nix
··· 37 37 , enableGl ? (enableX11 || enableWayland || enableCocoa) 38 38 , enableCdparanoia ? (!stdenv.isDarwin) 39 39 , cdparanoia 40 + , glib 40 41 }: 41 42 42 43 stdenv.mkDerivation rec { ··· 60 61 pkgconfig 61 62 python3 62 63 gettext 64 + orc 65 + glib 63 66 gobject-introspection 64 67 65 68 # docs 66 69 gtk-doc 67 70 docbook_xsl 68 71 docbook_xml_dtd_43 69 - ]; 72 + ] ++ lib.optional enableWayland wayland; 70 73 71 74 buildInputs = [ 72 75 orc
+4 -1
pkgs/development/libraries/gstreamer/core/default.nix
··· 48 48 flex 49 49 python3 50 50 makeWrapper 51 + glib 51 52 gobject-introspection 52 53 bash-completion 53 54 ··· 57 58 docbook_xml_dtd_43 58 59 ]; 59 60 60 - buildInputs = lib.optionals stdenv.isLinux [ 61 + buildInputs = [ 62 + bash-completion 63 + ] ++ lib.optionals stdenv.isLinux [ 61 64 libcap 62 65 libunwind 63 66 elfutils
+5
pkgs/development/libraries/gtk/3.x.nix
··· 70 70 url = "https://bug757142.bugzilla-attachments.gnome.org/attachment.cgi?id=344123"; 71 71 sha256 = "0g6fhqcv8spfy3mfmxpyji93k8d4p4q4fz1v9a1c1cgcwkz41d7p"; 72 72 }) 73 + # https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/1528 74 + (fetchpatch { 75 + url = "https://gitlab.gnome.org/GNOME/gtk/-/commit/3c28751dee115e969a58a733f2f19e71062b9d2d.patch"; 76 + sha256 = "1rqrmymwd22dsiy7agjw13mcyic3by6020rxyaw7zslnmyzfiwc3"; 77 + }) 73 78 # https://gitlab.gnome.org/GNOME/gtk/merge_requests/1002 74 79 ./patches/01-build-Fix-path-handling-in-pkgconfig.patch 75 80 ] ++ optionals stdenv.isDarwin [
+1 -1
pkgs/development/libraries/gtksourceview/3.x.nix
··· 45 45 passthru = { 46 46 updateScript = gnome3.updateScript { 47 47 packageName = "gtksourceview"; 48 - attrPath = "gnome3.gtksourceview"; 48 + attrPath = "gtksourceview3"; 49 49 }; 50 50 }; 51 51
-1
pkgs/development/libraries/gtksourceviewmm/default.nix
··· 12 12 passthru = { 13 13 updateScript = gnome3.updateScript { 14 14 packageName = "gtksourceviewmm"; 15 - attrPath = "gnome3.gtksourceviewmm"; 16 15 versionPolicy = "none"; 17 16 }; 18 17 };
+2 -2
pkgs/development/libraries/gvfs/default.nix
··· 41 41 42 42 stdenv.mkDerivation rec { 43 43 pname = "gvfs"; 44 - version = "1.42.2"; 44 + version = "1.44.0"; 45 45 46 46 src = fetchurl { 47 47 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 48 - sha256 = "0jgrbid8a61hgh05wl8c4f4638x7dffd5vip02jmladxfdszjymm"; 48 + sha256 = "165fa81v7b4ca6brsjxmhkv0r542f93204zvckhqsjswwsp6195w"; 49 49 }; 50 50 51 51 postPatch = ''
+3 -3
pkgs/development/libraries/http-parser/default.nix
··· 1 1 { stdenv, fetchFromGitHub }: 2 2 3 3 let 4 - version = "2.9.3"; 4 + version = "2.9.4"; 5 5 in stdenv.mkDerivation { 6 6 pname = "http-parser"; 7 7 inherit version; ··· 10 10 owner = "nodejs"; 11 11 repo = "http-parser"; 12 12 rev = "v${version}"; 13 - sha256 = "189zi61vczqgmqjd2myjcjbbi5icrk7ccs0kn6nj8hxqiv5j3811"; 13 + sha256 = "1vda4dp75pjf5fcph73sy0ifm3xrssrmf927qd1x8g3q46z0cv6c"; 14 14 }; 15 15 16 16 NIX_CFLAGS_COMPILE = "-Wno-error"; ··· 22 22 23 23 meta = with stdenv.lib; { 24 24 description = "An HTTP message parser written in C"; 25 - homepage = https://github.com/nodejs/http-parser; 25 + homepage = "https://github.com/nodejs/http-parser"; 26 26 maintainers = with maintainers; [ matthewbauer ]; 27 27 license = licenses.mit; 28 28 platforms = platforms.unix;
+30 -6
pkgs/development/libraries/indilib/default.nix
··· 1 - { stdenv, fetchurl, cmake, cfitsio, libusb, zlib, boost, libnova 2 - , curl, libjpeg, gsl }: 1 + { stdenv 2 + , fetchurl 3 + , cmake 4 + , cfitsio 5 + , libusb1 6 + , zlib 7 + , boost 8 + , libnova 9 + , curl 10 + , libjpeg 11 + , gsl 12 + }: 3 13 4 14 stdenv.mkDerivation { 5 15 name = "indilib-1.1.0"; ··· 9 19 sha256 = "1bs6lkwqd4aashg93mqqkc7nrg7fbx9mdw85qs5263jqa6sr780w"; 10 20 }; 11 21 12 - patches = [ ./udev-dir.patch ] ; 22 + patches = [ 23 + ./udev-dir.patch 24 + ]; 13 25 14 - buildInputs = [ curl cmake cfitsio libusb zlib boost 15 - libnova libjpeg gsl ]; 26 + nativeBuildInputs = [ 27 + cmake 28 + ]; 29 + 30 + buildInputs = [ 31 + curl 32 + cfitsio 33 + libusb1 34 + zlib 35 + boost 36 + libnova 37 + libjpeg 38 + gsl 39 + ]; 16 40 17 41 meta = { 18 - homepage = https://www.indilib.org/; 42 + homepage = "https://www.indilib.org/"; 19 43 license = stdenv.lib.licenses.lgpl2Plus; 20 44 description = "Implementaion of the INDI protocol for POSIX operating systems"; 21 45 platforms = stdenv.lib.platforms.unix;
+1 -1
pkgs/development/libraries/json-glib/default.nix
··· 14 14 }; 15 15 16 16 propagatedBuildInputs = [ glib ]; 17 - nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection ]; 17 + nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection glib ]; 18 18 buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames; 19 19 20 20 outputs = [ "out" "dev" ];
+3 -3
pkgs/development/libraries/libbluray/default.nix
··· 19 19 20 20 stdenv.mkDerivation rec { 21 21 pname = "libbluray"; 22 - version = "1.1.2"; 22 + version = "1.2.0"; 23 23 24 24 src = fetchurl { 25 25 url = "http://get.videolan.org/libbluray/${version}/${pname}-${version}.tar.bz2"; 26 - sha256 = "0hhbgkm11fw4pwbrklm76aiy54r6d7hk06yhl2fxq05i74i4bpd3"; 26 + sha256 = "04bcd53ml0zn8b4f9r1grs0yy20rcirji1v3pxzaf4i5zl3flhfd"; 27 27 }; 28 28 29 29 patches = optional withJava ./BDJ-JARFILE-path.patch; ··· 56 56 ; 57 57 58 58 meta = with stdenv.lib; { 59 - homepage = http://www.videolan.org/developers/libbluray.html; 59 + homepage = "http://www.videolan.org/developers/libbluray.html"; 60 60 description = "Library to access Blu-Ray disks for video playback"; 61 61 license = licenses.lgpl21; 62 62 maintainers = with maintainers; [ abbradar ];
-32
pkgs/development/libraries/libcroco/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, libxml2, glib, gnome3 }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "libcroco"; 5 - version = "0.6.13"; 6 - 7 - src = fetchurl { 8 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 - sha256 = "1m110rbj5d2raxcdp4iz0qp172284945awrsbdlq99ksmqsc4zkn"; 10 - }; 11 - 12 - outputs = [ "out" "dev" ]; 13 - outputBin = "dev"; 14 - 15 - configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic"; 16 - 17 - nativeBuildInputs = [ pkgconfig ]; 18 - buildInputs = [ libxml2 glib ]; 19 - 20 - passthru = { 21 - updateScript = gnome3.updateScript { 22 - packageName = pname; 23 - }; 24 - }; 25 - 26 - meta = with stdenv.lib; { 27 - description = "GNOME CSS2 parsing and manipulation toolkit"; 28 - homepage = https://gitlab.gnome.org/GNOME/libcroco; 29 - license = licenses.lgpl2; 30 - platforms = platforms.unix; 31 - }; 32 - }
+3 -3
pkgs/development/libraries/libdazzle/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "libdazzle"; 6 - version = "3.34.1"; 6 + version = "3.36.0"; 7 7 8 8 outputs = [ "out" "dev" "devdoc" ]; 9 9 outputBin = "dev"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/libdazzle/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 - sha256 = "01cmcrd75b7ns7j2b4p6h7pv68vjhkcl9zbvzzx7pf4vknxir61x"; 13 + sha256 = "0n6r16a07in82cnzw91vl675pbjzbvazkxwbqxq2kihganzipcw2"; 14 14 }; 15 15 16 - nativeBuildInputs = [ ninja meson pkgconfig vala gobject-introspection libxml2 gtk-doc docbook_xsl docbook_xml_dtd_43 dbus xvfb_run ]; 16 + nativeBuildInputs = [ ninja meson pkgconfig vala gobject-introspection libxml2 gtk-doc docbook_xsl docbook_xml_dtd_43 dbus xvfb_run glib ]; 17 17 buildInputs = [ glib gtk3 ]; 18 18 19 19 mesonFlags = [
+3 -3
pkgs/development/libraries/libdvdnav/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libdvdnav"; 5 - version = "6.0.1"; 5 + version = "6.1.0"; 6 6 7 7 src = fetchurl { 8 8 url = "http://get.videolan.org/libdvdnav/${version}/${pname}-${version}.tar.bz2"; 9 - sha256 = "0cv7j8irsv1n2dadlnhr6i1b8pann2ah6xpxic41f04my6ba6rp5"; 9 + sha256 = "0nzf1ir27s5vs1jrisdiw9ag2sc160k3gv7nplv9ypppm5gb35zn"; 10 10 }; 11 11 12 12 nativeBuildInputs = [ pkgconfig ]; 13 13 buildInputs = [libdvdread]; 14 14 15 15 meta = { 16 - homepage = http://dvdnav.mplayerhq.hu/; 16 + homepage = "http://dvdnav.mplayerhq.hu/"; 17 17 description = "A library that implements DVD navigation features such as DVD menus"; 18 18 license = stdenv.lib.licenses.gpl2; 19 19 maintainers = [ stdenv.lib.maintainers.wmertens ];
+3 -3
pkgs/development/libraries/libdvdread/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libdvdread"; 5 - version = "6.0.2"; 5 + version = "6.1.0"; 6 6 7 7 src = fetchurl { 8 8 url = "http://get.videolan.org/libdvdread/${version}/${pname}-${version}.tar.bz2"; 9 - sha256 = "1c7yqqn67m3y3n7nfrgrnzz034zjaw5caijbwbfrq89v46ph257r"; 9 + sha256 = "033mnhq3mx0qz3z85vw01rz5wzmx5ynadl7q1wm2spvx3ryvs6sh"; 10 10 }; 11 11 12 12 buildInputs = [libdvdcss]; ··· 18 18 ''; 19 19 20 20 meta = { 21 - homepage = http://dvdnav.mplayerhq.hu/; 21 + homepage = "http://dvdnav.mplayerhq.hu/"; 22 22 description = "A library for reading DVDs"; 23 23 license = stdenv.lib.licenses.gpl2; 24 24 maintainers = [ stdenv.lib.maintainers.wmertens ];
+2 -2
pkgs/development/libraries/libev/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libev"; 5 - version="4.31"; 5 + version="4.33"; 6 6 7 7 src = fetchurl { 8 8 url = "http://dist.schmorp.de/libev/Attic/${pname}-${version}.tar.gz"; 9 - sha256 = "0nkfqv69wfyy2bpga4d53iqydycpik8jp8x6q70353hia8mmv1gd"; 9 + sha256 = "1sjs4324is7fp21an4aas2z4dwsvs6z4xwrmp72vwpq1s6wbfzjh"; 10 10 }; 11 11 12 12 configureFlags = stdenv.lib.optional (static) "LDFLAGS=-static";
+1 -1
pkgs/development/libraries/libevdev/default.nix
··· 9 9 sha256 = "17pb5375njb1r05xmk0r57a2j986ihglh2n5nqcylbag4rj8mqg7"; 10 10 }; 11 11 12 - buildInputs = [ python3 ]; 12 + nativeBuildInputs = [ python3 ]; 13 13 14 14 meta = with stdenv.lib; { 15 15 description = "Wrapper library for evdev devices";
+2 -2
pkgs/development/libraries/libfprint/default.nix
··· 5 5 , pkgconfig 6 6 , meson 7 7 , ninja 8 - , libusb 8 + , libusb1 9 9 , pixman 10 10 , glib 11 11 , nss ··· 47 47 ]; 48 48 49 49 buildInputs = [ 50 - libusb 50 + libusb1 # drop in 2.0 for gusb 51 51 pixman 52 52 glib 53 53 nss
+2 -2
pkgs/development/libraries/libgweather/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "libgweather"; 6 - version = "3.34.0"; 6 + version = "3.36.0"; 7 7 8 8 outputs = [ "out" "dev" "devdoc" ]; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902"; 12 + sha256 = "0bd30g3facfcgf18y2110xhc7ijly313y49mpwdkvl482z0fxzyj"; 13 13 }; 14 14 15 15 nativeBuildInputs = [ meson ninja pkgconfig gettext vala gtk-doc docbook_xsl docbook_xml_dtd_43 gobject-introspection python3 ];
+1 -1
pkgs/development/libraries/libhandy/default.nix
··· 21 21 }; 22 22 23 23 nativeBuildInputs = [ 24 - meson ninja pkgconfig gobject-introspection vala 24 + meson ninja pkgconfig gobject-introspection vala libxml2 25 25 gtk-doc docbook_xsl docbook_xml_dtd_43 26 26 ]; 27 27 buildInputs = [ gnome3.gnome-desktop gtk3 gnome3.glade libxml2 ];
+7 -7
pkgs/development/libraries/libinput/default.nix
··· 27 27 with stdenv.lib; 28 28 stdenv.mkDerivation rec { 29 29 pname = "libinput"; 30 - version = "1.15.2"; 30 + version = "1.15.3"; 31 31 32 32 src = fetchurl { 33 33 url = "https://www.freedesktop.org/software/libinput/${pname}-${version}.tar.xz"; 34 - sha256 = "0ivpb4sghl80cs7jg3xrs53kckif6wy81cny3a8mry94nszky74p"; 34 + sha256 = "0kb9i1xav8hmrl6g0qdq7jii589i9sjjrbh43fsc5284smyl44jv"; 35 35 }; 36 36 37 37 outputs = [ "bin" "out" "dev" ]; ··· 45 45 ]; 46 46 47 47 nativeBuildInputs = [ pkgconfig meson ninja ] 48 - ++ optionals documentationSupport [ doxygen graphviz sphinx-build ] 49 - ++ optionals testsSupport [ valgrind ]; 48 + ++ optionals documentationSupport [ doxygen graphviz sphinx-build ]; 50 49 51 - buildInputs = [ libevdev mtdev libwacom (python3.withPackages (pkgs: with pkgs; [ evdev ])) ] 52 - ++ optionals eventGUISupport [ cairo glib gtk3 ] 53 - ++ optionals testsSupport [ check ]; 50 + buildInputs = [ libevdev mtdev libwacom ] 51 + ++ optionals eventGUISupport [ cairo glib gtk3 ]; 52 + 53 + checkInputs = [ (python3.withPackages (pkgs: with pkgs; [ evdev ])) check valgrind ]; 54 54 55 55 propagatedBuildInputs = [ udev ]; 56 56
+2 -2
pkgs/development/libraries/libirecovery/default.nix
··· 1 1 { stdenv, fetchFromGitHub, automake, autoconf, libtool, pkgconfig 2 - , libusb 2 + , libusb1 3 3 , readline 4 4 }: 5 5 ··· 24 24 ]; 25 25 26 26 buildInputs = [ 27 - libusb 27 + libusb1 28 28 readline 29 29 ]; 30 30
+27 -8
pkgs/development/libraries/libmodulemd/default.nix
··· 1 1 { stdenv 2 + , substituteAll 2 3 , fetchFromGitHub 3 - , pkgconfig 4 + , fetchpatch 5 + , pkg-config 4 6 , meson 5 7 , ninja 6 8 , gobject-introspection 7 9 , python3 8 10 , libyaml 11 + , rpm 12 + , file 9 13 , gtk-doc 10 - , docbook_xsl 14 + , docbook-xsl-nons 15 + , help2man 11 16 , docbook_xml_dtd_412 12 17 , glib 13 18 }: 14 19 15 20 stdenv.mkDerivation rec { 16 21 pname = "libmodulemd"; 17 - version = "2.6.0"; 22 + version = "2.9.2"; 18 23 19 - outputs = [ "out" "devdoc" "py" ]; 24 + outputs = [ "bin" "out" "dev" "devdoc" "man" "py" ]; 20 25 21 26 src = fetchFromGitHub { 22 27 owner = "fedora-modularity"; 23 28 repo = pname; 24 29 rev = "${pname}-${version}"; 25 - sha256 = "0gizfmzs6jrzb29lwcimm5dq3027935xbzwgkbvbp67zcmjd3y5i"; 30 + sha256 = "dm0uvzM5v1zDQVkonHbrT9l9ICnXZbCSiLRCMZRxhXY="; 26 31 }; 27 32 28 33 patches = [ 29 - ./pygobject-dir.patch 34 + # Use proper glib devdoc path. 35 + (substituteAll { 36 + src = ./glib-devdoc.patch; 37 + glib_devdoc = glib.devdoc; 38 + }) 39 + 40 + # Install pygobject overrides to our prefix instead of python3 one. 41 + # https://github.com/fedora-modularity/libmodulemd/pull/467 42 + (fetchpatch { 43 + url = "https://github.com/fedora-modularity/libmodulemd/commit/516cb64fd1488716a188add2715c8b3296960bd6.patch"; 44 + sha256 = "ZWagkqKkD9CIkcYsKLtC0+qjLp80wH3taivUCn8jQbY="; 45 + }) 30 46 ]; 31 47 32 48 nativeBuildInputs = [ 33 - pkgconfig 49 + pkg-config 34 50 meson 35 51 ninja 36 52 gtk-doc 37 - docbook_xsl 53 + docbook-xsl-nons 54 + help2man 38 55 docbook_xml_dtd_412 39 56 gobject-introspection 40 57 ]; 41 58 42 59 buildInputs = [ 43 60 libyaml 61 + rpm 62 + file # for libmagic 44 63 glib 45 64 ]; 46 65
+13
pkgs/development/libraries/libmodulemd/glib-devdoc.patch
··· 1 + diff --git a/meson.build b/meson.build 2 + index a8b02b4..dd31a76 100644 3 + --- a/meson.build 4 + +++ b/meson.build 5 + @@ -67,7 +67,7 @@ test = find_program('test') 6 + with_docs = get_option('with_docs') 7 + if with_docs 8 + gtkdoc = dependency('gtk-doc') 9 + - glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html') 10 + + glib_docpath = join_paths('@glib_devdoc@', 'share', 'gtk-doc', 'html') 11 + 12 + ret = run_command ([test, '-e', join_paths(glib_docpath, 'glib/index.html')]) 13 + if ret.returncode() != 0
-45
pkgs/development/libraries/libmodulemd/pygobject-dir.patch
··· 1 - diff --git a/bindings/python/meson.build b/bindings/python/meson.build 2 - index 4358b79..61fd5a5 100644 3 - --- a/bindings/python/meson.build 4 - +++ b/bindings/python/meson.build 5 - @@ -1,3 +1,5 @@ 6 - +pygobject_override_dir = get_option('pygobject_override_dir') 7 - + 8 - get_overridedir = ''' 9 - import os 10 - import sysconfig 11 - @@ -21,7 +23,7 @@ print(overridedir) 12 - ''' 13 - 14 - # Python 3 15 - -if (get_option('with_py3_overrides')) 16 - +if (get_option('with_py3_overrides')) and pygobject_override_dir == '' 17 - ret = run_command([python3, '-c', get_overridedir]) 18 - 19 - if ret.returncode() != 0 20 - @@ -34,7 +36,7 @@ if (get_option('with_py3_overrides')) 21 - endif 22 - 23 - # Python 2 24 - -if (get_option('with_py2_overrides')) 25 - +if (get_option('with_py2_overrides')) and pygobject_override_dir == '' 26 - ret2 = run_command([python2, '-c', get_overridedir]) 27 - 28 - if ret2.returncode() != 0 29 - @@ -45,3 +47,7 @@ if (get_option('with_py2_overrides')) 30 - 31 - install_data('gi/overrides/Modulemd.py', install_dir: pygobject2_override_dir) 32 - endif 33 - + 34 - +if pygobject_override_dir != '' 35 - + install_data('gi/overrides/Modulemd.py', install_dir: pygobject_override_dir) 36 - +endif 37 - diff --git a/meson_options.txt b/meson_options.txt 38 - index 147419f..9071a04 100644 39 - --- a/meson_options.txt 40 - +++ b/meson_options.txt 41 - @@ -18,3 +18,4 @@ option('skip_introspection', type : 'boolean', value : false) 42 - option('python_name', type : 'string') 43 - option('with_py2_overrides', type : 'boolean', value : false) 44 - option('with_py3_overrides', type : 'boolean', value : true) 45 - +option('pygobject_override_dir', type : 'string', value : '', description: 'Path to pygobject overrides directory')
+51 -13
pkgs/development/libraries/libosinfo/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, pkgconfig, gettext, gobject-introspection, gtk-doc, docbook_xsl 2 - , glib, libsoup, libxml2, libxslt, check, curl, perl, hwdata, osinfo-db, substituteAll 1 + { stdenv 2 + , fetchurl 3 + , fetchpatch 4 + , pkgconfig 5 + , meson 6 + , ninja 7 + , gettext 8 + , gobject-introspection 9 + , gtk-doc 10 + , docbook_xsl 11 + , glib 12 + , libsoup 13 + , libxml2 14 + , libxslt 15 + , check 16 + , curl 17 + , perl 18 + , hwdata 19 + , osinfo-db 20 + , substituteAll 3 21 , vala ? null 4 22 }: 5 23 6 24 stdenv.mkDerivation rec { 7 25 pname = "libosinfo"; 8 - version = "1.6.0"; 26 + version = "1.7.1"; 9 27 10 28 src = fetchurl { 11 - url = "https://releases.pagure.org/${pname}/${pname}-${version}.tar.gz"; 12 - sha256 = "1iwh35mahch1ls3sgq7wz8kamxrxisrff5ciqzyh2qxlrqf5qf1w"; 29 + url = "https://releases.pagure.org/${pname}/${pname}-${version}.tar.xz"; 30 + sha256 = "1s97sv24bybggjx6hgqba2qdqz3ivfpd4cmkh4zm5y59sim109mv"; 13 31 }; 14 32 15 33 outputs = [ "out" "dev" "devdoc" ]; 16 34 17 35 nativeBuildInputs = [ 18 - pkgconfig vala gettext gobject-introspection gtk-doc docbook_xsl 36 + pkgconfig 37 + meson 38 + ninja 39 + vala 40 + gettext 41 + gobject-introspection 42 + gtk-doc 43 + docbook_xsl 44 + perl # for pod2man 19 45 ]; 20 - buildInputs = [ glib libsoup libxml2 libxslt ]; 21 - checkInputs = [ check curl perl ]; 46 + buildInputs = [ 47 + glib 48 + libsoup 49 + libxml2 50 + libxslt 51 + ]; 52 + checkInputs = [ 53 + check 54 + curl 55 + perl 56 + ]; 22 57 23 58 patches = [ 24 59 (substituteAll { ··· 27 62 }) 28 63 ]; 29 64 30 - configureFlags = [ 31 - "--with-usb-ids-path=${hwdata}/share/hwdata/usb.ids" 32 - "--with-pci-ids-path=${hwdata}/share/hwdata/pci.ids" 33 - "--enable-gtk-doc" 65 + mesonFlags = [ 66 + "-Dwith-usb-ids-path=${hwdata}/share/hwdata/usb.ids" 67 + "-Dwith-pci-ids-path=${hwdata}/share/hwdata/pci.ids" 68 + "-Denable-gtk-doc=true" 34 69 ]; 35 70 36 - doCheck = true; 71 + # FIXME: fails two new tests added in 1.7.1: 72 + # libosinfo:symbols / check-symfile 73 + # 3/24 libosinfo:symbols / check-symsorting 74 + doCheck = false; 37 75 38 76 meta = with stdenv.lib; { 39 77 description = "GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support";
+2 -2
pkgs/development/libraries/libpeas/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "libpeas"; 7 - version = "1.24.1"; 7 + version = "1.26.0"; 8 8 9 9 outputs = [ "out" "dev" ]; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 - sha256 = "1162dr7smmfb02czmhshr0f93hqj7w0nw29bys5lzfvwarxcyflw"; 13 + sha256 = "0xkk9zhkw8f2fm7g9nb4ry4xxig5n27s7rjmx6l7jr2941zdfxm9"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ pkgconfig meson ninja gettext gobject-introspection ];
+1
pkgs/development/libraries/libpsl/default.nix
··· 32 32 pkgconfig 33 33 python3 34 34 valgrind 35 + libxslt 35 36 ]; 36 37 37 38 buildInputs = [
+5 -5
pkgs/development/libraries/librsvg/default.nix
··· 1 - { lib, stdenv, fetchurl, pkgconfig, glib, gdk-pixbuf, pango, cairo, libxml2, libgsf 2 - , bzip2, libcroco, libintl, darwin, rustc, cargo, gnome3 1 + { lib, stdenv, fetchurl, pkgconfig, glib, gdk-pixbuf, pango, cairo, libxml2 2 + , bzip2, libintl, darwin, rustc, cargo, gnome3 3 3 , vala, gobject-introspection }: 4 4 5 5 let 6 6 pname = "librsvg"; 7 - version = "2.46.4"; 7 + version = "2.48.0"; 8 8 in 9 9 stdenv.mkDerivation rec { 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 14 - sha256 = "0afc82nsxc6kw136xid4vcq9kmq4rmgzzk8bh2pvln2cnvirwnxl"; 14 + sha256 = "19ndf9l99wcrmkwcrk20vd1ggrwgldksfz1kkj786ljcrxv8nd2a"; 15 15 }; 16 16 17 17 outputs = [ "out" "dev" "installedTests" ]; 18 18 19 - buildInputs = [ libxml2 libgsf bzip2 libcroco pango libintl ]; 19 + buildInputs = [ libxml2 bzip2 pango libintl ]; 20 20 21 21 propagatedBuildInputs = [ glib gdk-pixbuf cairo ]; 22 22
+1 -1
pkgs/development/libraries/libsecret/default.nix
··· 20 20 propagatedBuildInputs = [ glib ]; 21 21 nativeBuildInputs = [ 22 22 pkgconfig gettext libxslt docbook_xsl docbook_xml_dtd_42 libintl 23 - gobject-introspection vala gtk-doc 23 + gobject-introspection vala gtk-doc glib 24 24 ]; 25 25 buildInputs = [ libgcrypt ]; 26 26 # optional: build docs with gtk-doc? (probably needs a flag as well)
+3 -3
pkgs/development/libraries/libsoup/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "libsoup"; 7 - version = "2.68.4"; 7 + version = "2.70.0"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "151j5dc84gbl6a917pxvd0b372lw5za48n63lyv6llfc48lv2l1d"; 11 + sha256 = "0hjk9lgppc5435my0lyywbpmj7ib5vvcylwfin8ki97g9bvj1c2l"; 12 12 }; 13 13 14 14 postPatch = '' ··· 18 18 outputs = [ "out" "dev" ]; 19 19 20 20 buildInputs = [ python3 sqlite libpsl brotli ]; 21 - nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection vala ]; 21 + nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection vala glib ]; 22 22 propagatedBuildInputs = [ glib libxml2 ]; 23 23 24 24 mesonFlags = [
+5 -3
pkgs/development/libraries/libssh/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, cmake, zlib, openssl, libsodium }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "libssh-0.8.7"; 4 + pname = "libssh"; 5 + version = "0.8.8"; 5 6 6 7 src = fetchurl { 7 - url = "https://www.libssh.org/files/0.8/${name}.tar.xz"; 8 - sha256 = "14nmwfnnrhkwcfk5hn7azl905ivbh4wllmsbw5abd80b5yi4qc23"; 8 + url = "https://www.libssh.org/files/0.8/${pname}-${version}.tar.xz"; 9 + sha256 = "1qk5bm9r6199jbfk54f8w24vkl52051g8s3kmq4z2kdc6vbpy4jb"; 9 10 }; 10 11 11 12 postPatch = '' ··· 22 23 23 24 meta = with stdenv.lib; { 24 25 description = "SSH client library"; 26 + homepage = "https://libssh.org"; 25 27 license = licenses.lgpl2Plus; 26 28 maintainers = with maintainers; [ sander ]; 27 29 platforms = platforms.all;
+3 -3
pkgs/development/libraries/libuninameslist/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "libuninameslist"; 8 - version = "20190701"; 8 + version = "20200313"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "fontforge"; 12 12 repo = pname; 13 13 rev = version; 14 - sha256 = "sha256:034c8clnskvqbwyiq7si4dad1kbngi3jmnrj064i39msqixmpdzb"; 14 + sha256 = "1rs4mrmfcw7864kssnk559ac1sdlpl8yrd10xspxrnfz08ynqxw8"; 15 15 }; 16 16 17 17 nativeBuildInputs = [ ··· 19 19 ]; 20 20 21 21 meta = with stdenv.lib; { 22 - homepage = https://github.com/fontforge/libuninameslist/; 22 + homepage = "https://github.com/fontforge/libuninameslist/"; 23 23 description = "A Library of Unicode names and annotation data"; 24 24 license = licenses.bsd3; 25 25 maintainers = with maintainers; [ erictapen ];
+5 -1
pkgs/development/libraries/libunwind/default.nix
··· 1 - { stdenv, fetchurl, autoreconfHook, xz }: 1 + { stdenv, lib, fetchurl, autoreconfHook, xz }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libunwind"; ··· 10 10 }; 11 11 12 12 patches = [ ./backtrace-only-with-glibc.patch ]; 13 + 14 + postPatch = lib.optionalString stdenv.hostPlatform.isMusl '' 15 + substituteInPlace configure.ac --replace "-lgcc_s" "-lgcc_eh" 16 + ''; 13 17 14 18 nativeBuildInputs = [ autoreconfHook ]; 15 19
+18 -4
pkgs/development/libraries/libusb/default.nix
··· 1 - {stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libusb1}: 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , autoreconfHook 5 + , patchelf 6 + , pkgconfig 7 + , libusb1 8 + }: 2 9 3 10 stdenv.mkDerivation rec { 4 - name = "libusb-compat-${version}"; 11 + pname = "libusb-compat"; 5 12 version = "0.1.7"; 6 13 7 14 outputs = [ "out" "dev" ]; # get rid of propagating systemd closure 8 15 outputBin = "dev"; 9 16 10 - nativeBuildInputs = [ pkgconfig autoreconfHook ]; 11 - propagatedBuildInputs = [ libusb1 ]; 17 + nativeBuildInputs = [ autoreconfHook patchelf pkgconfig ]; 18 + 19 + buildInputs = [ libusb1 ]; 12 20 13 21 src = fetchFromGitHub { 14 22 owner = "libusb"; ··· 18 26 }; 19 27 20 28 patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ./fix-headers.patch; 29 + 30 + # without this, libusb-compat is unable to find libusb1 31 + postFixup = '' 32 + find $out/lib -name \*.so\* -type f -exec \ 33 + patchelf --set-rpath ${lib.makeLibraryPath buildInputs} {} \; 34 + ''; 21 35 22 36 meta = with stdenv.lib; { 23 37 homepage = "https://libusb.info/";
+2 -2
pkgs/development/libraries/libuv/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, ApplicationServices, CoreServices }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "1.34.2"; 4 + version = "1.35.0"; 5 5 pname = "libuv"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = pname; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "14ax49daz7j86lybi242jiry49jrnnvlyc39k6va700n03py4h9n"; 11 + sha256 = "0pd94h10ay38r8fwj0qqgw908rrj83n768n8mbbpnd5w2c7wy9fz"; 12 12 }; 13 13 14 14 postPatch = let
+1 -1
pkgs/development/libraries/libvorbis/default.nix
··· 14 14 (fetchpatch { 15 15 url = "https://gitlab.xiph.org/xiph/vorbis/uploads/a68cf70fa10c8081a633f77b5c6576b7/0001-CVE-2017-14160-make-sure-we-don-t-overflow.patch"; 16 16 sha256 = "0v21p59cb3z77ch1v6q5dcrd733h91f3m8ifnd7kkkr8gzn17d5x"; 17 - name = "CVE-2017-14160"; 17 + name = "CVE-2017-14160+CVE-2018-10393.patch"; 18 18 }) 19 19 (fetchpatch { 20 20 url = "https://gitlab.xiph.org/xiph/vorbis/commit/112d3bd0aaa.diff";
+2 -12
pkgs/development/libraries/libwnck/3.x.nix
··· 21 21 22 22 stdenv.mkDerivation rec{ 23 23 pname = "libwnck"; 24 - version = "3.32.0"; 24 + version = "3.36.0"; 25 25 26 26 outputs = [ "out" "dev" "devdoc" ]; 27 27 outputBin = "dev"; 28 28 29 29 src = fetchurl { 30 30 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 31 - sha256 = "1jp3p1lnwnwi6fxl2rz3166cmwzwy9vqz896anpwc3wdy9f875cm"; 31 + sha256 = "0pwjdhca9lz2n1gf9b60xf0m6ipf9snp8rqf9csj4pgdnd882l5w"; 32 32 }; 33 - 34 - patches = [ 35 - # https://gitlab.gnome.org/GNOME/libwnck/issues/139 36 - (fetchpatch { 37 - url = https://gitlab.gnome.org/GNOME/libwnck/commit/0d9ff7db63af568feef8e8c566e249058ccfcb4e.patch; 38 - sha256 = "18f78aayq9jma54v2qz3rm2clmz1cfq5bngxw8p4zba7hplyqsl9"; 39 - }) 40 - # https://gitlab.gnome.org/GNOME/libwnck/merge_requests/12 41 - ./fix-pc-file.patch 42 - ]; 43 33 44 34 nativeBuildInputs = [ 45 35 meson
+5
pkgs/development/libraries/libxml2/default.nix
··· 32 32 url = "https://gitlab.gnome.org/GNOME/libxml2/commit/0e1a49c8907645d2e155f0d89d4d9895ac5112b5.patch"; 33 33 sha256 = "0klvaxkzakkpyq0m44l9xrpn5kwaii194sqsivfm6zhnb9hhl15l"; 34 34 }) 35 + (fetchpatch { 36 + name = "CVE-2019-20388.patch"; 37 + url = "https://gitlab.gnome.org/GNOME/libxml2/commit/6088a74bcf7d0c42e24cff4594d804e1d3c9fbca.patch"; 38 + sha256 = "070s7al2r2k92320h9cdfc2097jy4kk04d0disc98ddc165r80jl"; 39 + }) 35 40 ]; 36 41 37 42 outputs = [ "bin" "dev" "out" "man" "doc" ]
+3 -3
pkgs/development/libraries/libzip/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libzip"; 5 - version = "1.6.0"; 5 + version = "1.6.1"; 6 6 7 7 src = fetchurl { 8 8 url = "https://www.nih.at/libzip/${pname}-${version}.tar.gz"; 9 - sha256 = "1zsspz6cbbqah11jkcc894jgxihlm8gicfh54yvny9gc3lsvpi3h"; 9 + sha256 = "120xgf7cgjmz9d3yp10lks6lhkgxqb4skbmbiiwf46gx868qxsq6"; 10 10 }; 11 11 12 12 # Fix pkgconfig file paths ··· 27 27 ''; 28 28 29 29 meta = with stdenv.lib; { 30 - homepage = https://www.nih.at/libzip; 30 + homepage = "https://www.nih.at/libzip"; 31 31 description = "A C library for reading, creating and modifying zip archives"; 32 32 license = licenses.bsd3; 33 33 platforms = platforms.unix;
+14 -4
pkgs/development/libraries/mesa/default.nix
··· 27 27 with stdenv.lib; 28 28 29 29 let 30 - version = "19.3.3"; 30 + version = "20.0.2"; 31 31 branch = versions.major version; 32 32 in 33 33 ··· 42 42 "ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz" 43 43 "https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz" 44 44 ]; 45 - sha256 = "02czqdqf64i3az5p1allnxycyjad3x35cj0hz0017mi5pc84ikl1"; 45 + sha256 = "0vz8k07d23qdwy67fnna9y0ynnni0m8lgswcmdm60l4mcv5z2m5a"; 46 46 }; 47 47 48 48 prePatch = "patchShebangs ."; ··· 191 191 }; 192 192 193 193 meta = with stdenv.lib; { 194 - description = "An open source implementation of OpenGL"; 195 - homepage = https://www.mesa3d.org/; 194 + description = "An open source 3D graphics library"; 195 + longDescription = '' 196 + The Mesa project began as an open-source implementation of the OpenGL 197 + specification - a system for rendering interactive 3D graphics. Over the 198 + years the project has grown to implement more graphics APIs, including 199 + OpenGL ES (versions 1, 2, 3), OpenCL, OpenMAX, VDPAU, VA API, XvMC, and 200 + Vulkan. A variety of device drivers allows the Mesa libraries to be used 201 + in many different environments ranging from software emulation to 202 + complete hardware acceleration for modern GPUs. 203 + ''; 204 + homepage = "https://www.mesa3d.org/"; 205 + changelog = "https://www.mesa3d.org/relnotes/${version}.html"; 196 206 license = licenses.mit; # X11 variant, in most files 197 207 platforms = platforms.mesaPlatforms; 198 208 maintainers = with maintainers; [ vcunat ];
+10 -11
pkgs/development/libraries/mesa/disk_cache-include-dri-driver-path-in-cache-key.patch
··· 1 - From 6d22383149e4cdc646c68e29238f41d895a4705b Mon Sep 17 00:00:00 2001 1 + From 46b10f2bc28fd79d561c8c49bbae3aee6a4cf0e6 Mon Sep 17 00:00:00 2001 2 2 From: David McFarland <corngood@gmail.com> 3 3 Date: Mon, 6 Aug 2018 15:52:11 -0300 4 4 Subject: [PATCH] disk_cache: include dri driver path in cache key ··· 12 12 3 files changed, 15 insertions(+), 1 deletion(-) 13 13 14 14 diff --git a/meson_options.txt b/meson_options.txt 15 - index 626baf3..579c15b 100644 15 + index 1a2dd8ebd12..2ac741af5a6 100644 16 16 --- a/meson_options.txt 17 17 +++ b/meson_options.txt 18 - @@ -341,6 +341,12 @@ option( 18 + @@ -348,6 +348,12 @@ option( 19 19 value : true, 20 20 description : 'Enable direct rendering in GLX and EGL for DRI', 21 21 ) ··· 29 29 'I-love-half-baked-turnips', 30 30 type : 'boolean', 31 31 diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c 32 - index 0cd92ca..fc1c173 100644 32 + index d1f14736725..2ed328f292e 100644 33 33 --- a/src/util/disk_cache.c 34 34 +++ b/src/util/disk_cache.c 35 - @@ -395,8 +395,10 @@ disk_cache_create(const char *gpu_name, const char *driver_id, 35 + @@ -402,8 +402,10 @@ disk_cache_create(const char *gpu_name, const char *driver_id, 36 36 37 37 /* Create driver id keys */ 38 38 size_t id_size = strlen(driver_id) + 1; ··· 43 43 cache->driver_keys_blob_size += gpu_name_size; 44 44 45 45 /* We sometimes store entire structs that contains a pointers in the cache, 46 - @@ -417,6 +419,7 @@ disk_cache_create(const char *gpu_name, const char *driver_id, 46 + @@ -424,6 +426,7 @@ disk_cache_create(const char *gpu_name, const char *driver_id, 47 47 uint8_t *drv_key_blob = cache->driver_keys_blob; 48 48 DRV_KEY_CPY(drv_key_blob, &cache_version, cv_size) 49 49 DRV_KEY_CPY(drv_key_blob, driver_id, id_size) ··· 52 52 DRV_KEY_CPY(drv_key_blob, &ptr_size, ptr_size_size) 53 53 DRV_KEY_CPY(drv_key_blob, &driver_flags, driver_flags_size) 54 54 diff --git a/src/util/meson.build b/src/util/meson.build 55 - index f69ebe9..e2bd8e2 100644 55 + index 9da29cc7390..5f549bb1d99 100644 56 56 --- a/src/util/meson.build 57 57 +++ b/src/util/meson.build 58 - @@ -158,7 +158,12 @@ _libmesa_util = static_library( 59 - [files_mesa_util, format_srgb], 58 + @@ -170,7 +170,12 @@ _libmesa_util = static_library( 60 59 include_directories : inc_common, 61 60 dependencies : deps_for_libmesa_util, 61 + link_with: libmesa_format, 62 62 - c_args : [c_msvc_compat_args, c_vis_args], 63 63 + c_args : [ 64 64 + c_msvc_compat_args, c_vis_args, ··· 70 70 ) 71 71 72 72 -- 73 - 2.24.1 74 - 73 + 2.25.1
-11
pkgs/development/libraries/mesa/missing-includes.patch
··· 9 9 #include "pipe/p_compiler.h" 10 10 #include "pipe/p_state.h" 11 11 12 - --- ./src/gallium/state_trackers/nine/threadpool.h.orig 2015-05-07 14:10:53.443337212 +0200 13 - +++ ./src/gallium/state_trackers/nine/threadpool.h 2015-05-07 14:11:04.210307653 +0200 14 - @@ -24,6 +24,8 @@ 15 - #ifndef _THREADPOOL_H_ 16 - #define _THREADPOOL_H_ 17 - 18 - +#include <pthread.h> 19 - + 20 - #define MAXTHREADS 1 21 - 22 - struct threadpool { 23 12 --- ./src/util/rand_xor.c.orig 2017-06-20 00:38:57.199474067 +0200 24 13 +++ ./src/util/rand_xor.c 2017-06-20 00:40:31.351279557 +0200 25 14 @@ -23,7 +23,9 @@
+3 -3
pkgs/development/libraries/neon/default.nix
··· 14 14 in 15 15 16 16 stdenv.mkDerivation rec { 17 - version = "0.30.2"; 17 + version = "0.31.0"; 18 18 pname = "neon"; 19 19 20 20 src = fetchurl { 21 21 url = "http://www.webdav.org/neon/${pname}-${version}.tar.gz"; 22 - sha256 = "1jpvczcx658vimqm7c8my2q41fnmjaf1j03g7bsli6rjxk6xh2yv"; 22 + sha256 = "19dx4rsqrck9jl59y4ad9jf115hzh6pz1hcl2dnlfc84hc86ymc0"; 23 23 }; 24 24 25 25 patches = optionals stdenv.isDarwin [ ./0.29.6-darwin-fix-configure.patch ]; ··· 42 42 43 43 meta = with stdenv.lib; { 44 44 description = "An HTTP and WebDAV client library"; 45 - homepage = http://www.webdav.org/neon/; 45 + homepage = "http://www.webdav.org/neon/"; 46 46 platforms = platforms.unix; 47 47 license = licenses.lgpl2; 48 48 };
+23 -5
pkgs/development/libraries/nghttp2/default.nix
··· 9 9 , enableGetAssets ? false, libxml2 ? null 10 10 , enableJemalloc ? false, jemalloc ? null 11 11 , enableApp ? !stdenv.hostPlatform.isWindows 12 + , enablePython ? false, python ? null, cython ? null, ncurses ? null, setuptools ? null 12 13 }: 13 14 14 15 assert enableHpack -> jansson != null; 15 16 assert enableAsioLib -> boost != null; 16 17 assert enableGetAssets -> libxml2 != null; 17 18 assert enableJemalloc -> jemalloc != null; 19 + assert enablePython -> python != null && cython != null && ncurses != null && setuptools != null; 18 20 19 - let inherit (stdenv.lib) optional; in 21 + let inherit (stdenv.lib) optional optionals optionalString; in 20 22 21 23 stdenv.mkDerivation rec { 22 24 pname = "nghttp2"; ··· 27 29 sha256 = "0kyrgd4s2pq51ps5z385kw1hn62m8qp7c4h6im0g4ibrf89qwxc2"; 28 30 }; 29 31 30 - outputs = [ "bin" "out" "dev" "lib" ]; 32 + outputs = [ "bin" "out" "dev" "lib" ] 33 + ++ optional enablePython "python"; 31 34 32 35 nativeBuildInputs = [ pkgconfig ]; 33 36 buildInputs = [ openssl ] ··· 37 40 ++ optional enableHpack jansson 38 41 ++ optional enableAsioLib boost 39 42 ++ optional enableGetAssets libxml2 40 - ++ optional enableJemalloc jemalloc; 43 + ++ optional enableJemalloc jemalloc 44 + ++ optionals enablePython [ python ncurses setuptools ]; 41 45 42 46 enableParallelBuilding = true; 43 47 44 48 configureFlags = [ 45 49 "--with-spdylay=no" 46 50 "--disable-examples" 47 - "--disable-python-bindings" 48 51 (stdenv.lib.enableFeature enableApp "app") 49 - ] ++ optional enableAsioLib "--enable-asio-lib --with-boost-libdir=${boost}/lib"; 52 + ] ++ optional enableAsioLib "--enable-asio-lib --with-boost-libdir=${boost}/lib" 53 + ++ (if enablePython then [ 54 + "--with-cython=${cython}/bin/cython" 55 + ] else [ 56 + "--disable-python-bindings" 57 + ]); 58 + 59 + preInstall = optionalString enablePython '' 60 + mkdir -p $out/${python.sitePackages} 61 + # convince installer it's ok to install here 62 + export PYTHONPATH="$PYTHONPATH:$out/${python.sitePackages}" 63 + ''; 64 + postInstall = optionalString enablePython '' 65 + mkdir -p $python/${python.sitePackages} 66 + mv $out/${python.sitePackages}/* $python/${python.sitePackages} 67 + ''; 50 68 51 69 #doCheck = true; # requires CUnit ; currently failing at test_util_localtime_date in util_test.cc 52 70
+1
pkgs/development/libraries/pango/default.nix
··· 23 23 24 24 nativeBuildInputs = [ 25 25 meson ninja 26 + glib # for glib-mkenum 26 27 pkgconfig gobject-introspection gtk-doc docbook_xsl docbook_xml_dtd_43 27 28 ]; 28 29 buildInputs = [
+3 -3
pkgs/development/libraries/pcl/default.nix
··· 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { 7 - name = "pcl-1.10.0"; 7 + name = "pcl-1.10.1"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "PointCloudLibrary"; 11 11 repo = "pcl"; 12 12 rev = name; 13 - sha256 = "1dbfkdk9mgwzadkw9jx3f5vzrcj88qcyv745kjxld7gcv8by9g6g"; 13 + sha256 = "1i4zfcikvdl5z1s3lh0n46fgi42s9vbki4hfmy7656hamajfai0v"; 14 14 }; 15 15 16 16 enableParallelBuilding = true; ··· 25 25 ]; 26 26 27 27 meta = { 28 - homepage = http://pointclouds.org/; 28 + homepage = "http://pointclouds.org/"; 29 29 description = "Open project for 2D/3D image and point cloud processing"; 30 30 license = stdenv.lib.licenses.bsd3; 31 31 maintainers = with stdenv.lib.maintainers; [viric];
+49
pkgs/development/libraries/pipewire/2.nix
··· 1 + { stdenv, fetchFromGitHub, meson, ninja, pkgconfig, doxygen, graphviz, valgrind 2 + , glib, dbus, gst_all_1, alsaLib, ffmpeg, libjack2, udev, libva, xorg 3 + , sbc, SDL2, makeFontsConf 4 + }: 5 + 6 + let 7 + fontsConf = makeFontsConf { 8 + fontDirectories = [ ]; 9 + }; 10 + in stdenv.mkDerivation rec { 11 + pname = "pipewire"; 12 + version = "0.2.7"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "PipeWire"; 16 + repo = "pipewire"; 17 + rev = version; 18 + sha256 = "1q5wrqnhhs6r49p8yvkw1pl0cnsd4rndxy4h5lvdydwgf1civcwc"; 19 + }; 20 + 21 + outputs = [ "out" "lib" "dev" "doc" ]; 22 + 23 + nativeBuildInputs = [ 24 + meson ninja pkgconfig doxygen graphviz valgrind 25 + ]; 26 + buildInputs = [ 27 + glib dbus gst_all_1.gst-plugins-base gst_all_1.gstreamer 28 + alsaLib ffmpeg libjack2 udev libva xorg.libX11 sbc SDL2 29 + ]; 30 + 31 + mesonFlags = [ 32 + "-Ddocs=true" 33 + "-Dgstreamer=enabled" 34 + ]; 35 + 36 + PKG_CONFIG_SYSTEMD_SYSTEMDUSERUNITDIR = "${placeholder "out"}/lib/systemd/user"; 37 + 38 + FONTCONFIG_FILE = fontsConf; # Fontconfig error: Cannot load default config file 39 + 40 + doCheck = true; 41 + 42 + meta = with stdenv.lib; { 43 + description = "Server and user space API to deal with multimedia pipelines"; 44 + homepage = https://pipewire.org/; 45 + license = licenses.lgpl21; 46 + platforms = platforms.linux; 47 + maintainers = with maintainers; [ jtojnar ]; 48 + }; 49 + }
+19 -9
pkgs/development/libraries/pipewire/default.nix
··· 1 1 { stdenv 2 - , fetchFromGitHub 2 + , fetchFromGitLab 3 3 , meson 4 4 , ninja 5 5 , pkgconfig ··· 17 17 , xorg 18 18 , sbc 19 19 , SDL2 20 + , libsndfile 21 + , bluez 22 + , vulkan-headers 23 + , vulkan-loader 24 + , libpulseaudio 20 25 , makeFontsConf 21 26 }: 22 27 ··· 27 32 in 28 33 stdenv.mkDerivation rec { 29 34 pname = "pipewire"; 30 - version = "0.2.7"; 35 + version = "0.3.1"; 31 36 32 37 outputs = [ "out" "lib" "dev" "doc" ]; 33 38 34 - src = fetchFromGitHub { 35 - owner = "PipeWire"; 39 + src = fetchFromGitLab { 40 + domain = "gitlab.freedesktop.org"; 41 + owner = "pipewire"; 36 42 repo = "pipewire"; 37 43 rev = version; 38 - sha256 = "1q5wrqnhhs6r49p8yvkw1pl0cnsd4rndxy4h5lvdydwgf1civcwc"; 44 + sha256 = "DfUgXTSSCl+JszFEKwBha67nauQi4noR25m00auXDnA="; 39 45 }; 40 46 41 47 nativeBuildInputs = [ ··· 50 56 buildInputs = [ 51 57 SDL2 52 58 alsaLib 59 + bluez 53 60 dbus 54 61 ffmpeg 55 62 glib 56 63 gst_all_1.gst-plugins-base 57 64 gst_all_1.gstreamer 58 65 libjack2 66 + libpulseaudio 67 + libsndfile 59 68 libva 60 69 sbc 61 70 udev 71 + vulkan-headers 72 + vulkan-loader 62 73 xorg.libX11 63 74 ]; 64 75 65 76 mesonFlags = [ 66 77 "-Ddocs=true" 67 - "-Dgstreamer=enabled" 78 + "-Dman=false" # we don't have xmltoman 79 + "-Dgstreamer=true" 68 80 ]; 69 - 70 - PKG_CONFIG_SYSTEMD_SYSTEMDUSERUNITDIR = "${placeholder "out"}/lib/systemd/user"; 71 81 72 82 FONTCONFIG_FILE = fontsConf; # Fontconfig error: Cannot load default config file 73 83 ··· 76 86 meta = with stdenv.lib; { 77 87 description = "Server and user space API to deal with multimedia pipelines"; 78 88 homepage = https://pipewire.org/; 79 - license = licenses.lgpl21; 89 + license = licenses.mit; 80 90 platforms = platforms.linux; 81 91 maintainers = with maintainers; [ jtojnar ]; 82 92 };
+3 -2
pkgs/development/libraries/popt/default.nix
··· 1 1 {stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "popt-1.16"; 4 + pname = "popt"; 5 + version = "1.16"; 5 6 6 7 src = fetchurl { 7 - url = "http://rpm5.org/files/popt/${name}.tar.gz"; 8 + url = "mirror://debian/pool/main/p/popt/popt_${version}.orig.tar.gz"; 8 9 sha256 = "1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77"; 9 10 }; 10 11
+5
pkgs/development/libraries/qt-5/5.12/default.nix
··· 74 74 url = "https://code.qt.io/cgit/qt/qtbase.git/patch/?id=8a3fde00bf53d99e9e4853e8ab97b0e1bcf74915"; 75 75 sha256 = "1gpcbdpyazdxnmldvhsf3pfwr2gjvi08x3j6rxf543rq01bp6cpx"; 76 76 }) 77 + (fetchpatch { 78 + name = "QTBUG-78937.patch"; 79 + url = "https://code.qt.io/cgit/qt/qtbase.git/patch/?id=67a9c600ad14ee44501a6df3509daa8234b97606"; 80 + sha256 = "1jiky1w9j8rka78r4q0yabb8w2l5j6csdjysynz7gs1ry4xjfdxd"; 81 + }) 77 82 ]; 78 83 qtdeclarative = [ ./qtdeclarative.patch ]; 79 84 qtscript = [ ./qtscript.patch ];
-1
pkgs/development/libraries/rarian/default.nix
··· 18 18 passthru = { 19 19 updateScript = gnome3.updateScript { 20 20 packageName = pname; 21 - attrPath = "gnome3.${pname}"; 22 21 }; 23 22 }; 24 23
+1 -1
pkgs/development/libraries/serf/default.nix
··· 9 9 sha256 = "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"; 10 10 }; 11 11 12 - nativeBuildInputs = [ pkgconfig scons ]; 12 + nativeBuildInputs = [ pkgconfig scons.py2 ]; 13 13 buildInputs = [ apr openssl aprutil zlib libiconv ] 14 14 ++ stdenv.lib.optional (!stdenv.isCygwin) kerberos; 15 15
+1 -1
pkgs/development/libraries/swiften/default.nix
··· 3 3 pname = "swiften"; 4 4 version = "4.0.2"; 5 5 6 - nativeBuildInputs = [ scons]; 6 + nativeBuildInputs = [ scons.py2 ]; 7 7 buildInputs = [ python ]; 8 8 propagatedBuildInputs = [ openssl boost ]; 9 9
+6 -3
pkgs/development/libraries/tepl/default.nix
··· 1 1 { stdenv, fetchurl 2 2 , amtk, gnome3, gtk3, gtksourceview4, libuchardet, libxml2, pkgconfig }: 3 3 let 4 - version = "4.3.1"; 4 + version = "4.4.0"; 5 5 pname = "tepl"; 6 6 in stdenv.mkDerivation { 7 7 name = "${pname}-${version}"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "08y6vss29b65pqzv708cyqmbszgxsqqgw7g0vh6f1389ayi2lvs0"; 11 + sha256 = "0mm2z849hnni7597an05mrv0dckrxjngpf2xfa0g5s17i8x6gxp6"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ ··· 16 16 ]; 17 17 18 18 buildInputs = [ 19 + libxml2 20 + ]; 21 + 22 + propagatedBuildInputs = [ 19 23 amtk 20 - libxml2 21 24 gtksourceview4 22 25 libuchardet 23 26 gtk3
+2 -3
pkgs/development/libraries/tracker-miners/default.nix
··· 45 45 46 46 stdenv.mkDerivation rec { 47 47 pname = "tracker-miners"; 48 - version = "2.3.2"; 48 + version = "2.3.3"; 49 49 50 50 src = fetchurl { 51 51 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 52 - sha256 = "1kizavw9gbdjkw4wykgv0fcl2y6fj788nycx9p4byn6ylb1277h6"; 52 + sha256 = "dHKqKNeGJiDTyiu+w7ED31R9cxnBLpWn96qfn23uSxk="; 53 53 }; 54 54 55 55 nativeBuildInputs = [ ··· 125 125 passthru = { 126 126 updateScript = gnome3.updateScript { 127 127 packageName = pname; 128 - attrPath = "gnome3.${pname}"; 129 128 versionPolicy = "none"; 130 129 }; 131 130 };
+2 -3
pkgs/development/libraries/tracker/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "tracker"; 9 - version = "2.3.2"; 9 + version = "2.3.4"; 10 10 11 11 outputs = [ "out" "dev" "devdoc" ]; 12 12 13 13 src = fetchurl { 14 14 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 15 - sha256 = "1nzbnvwwsk6kv6kqbxwlz8vk70l9ai6b4r9qypw51vp4qy72ny54"; 15 + sha256 = "V3lSJEq5d8eLC4ji9jxBl+q6FuTWa/9pK39YmT4GUW0="; 16 16 }; 17 17 18 18 nativeBuildInputs = [ ··· 52 52 passthru = { 53 53 updateScript = gnome3.updateScript { 54 54 packageName = pname; 55 - attrPath = "gnome3.${pname}"; 56 55 versionPolicy = "none"; 57 56 }; 58 57 };
+6 -2
pkgs/development/libraries/vte/default.nix
··· 18 18 , pcre2 19 19 , fribidi 20 20 , zlib 21 + , icu 22 + , systemd 21 23 }: 22 24 23 25 stdenv.mkDerivation rec { 24 26 pname = "vte"; 25 - version = "0.58.3"; 27 + version = "0.60.0"; 26 28 27 29 outputs = [ "out" "dev" ]; 28 30 29 31 src = fetchurl { 30 32 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 31 - sha256 = "0xa9ipwic4jnhhbzlnqbhssz10xkzv61cpkl1ammc6mdq95bbp12"; 33 + sha256 = "06rs356lpyq60r3szhms152f7kj5jnki6a49b2w7ai0bnig9blbj"; 32 34 }; 33 35 34 36 passthru = { ··· 51 53 gnutls 52 54 pcre2 53 55 zlib 56 + icu 57 + systemd 54 58 ]; 55 59 56 60 propagatedBuildInputs = [
+13 -2
pkgs/development/libraries/webkitgtk/default.nix
··· 51 51 , xdg-dbus-proxy 52 52 , substituteAll 53 53 , gnome3 54 + , glib 54 55 }: 55 56 56 57 assert enableGeoLocation -> geoclue2 != null; ··· 61 62 62 63 stdenv.mkDerivation rec { 63 64 pname = "webkitgtk"; 64 - version = "2.26.4"; 65 + version = "2.28.0"; 65 66 66 67 outputs = [ "out" "dev" ]; 67 68 68 69 src = fetchurl { 69 70 url = "https://webkitgtk.org/releases/${pname}-${version}.tar.xz"; 70 - sha256 = "0gqi9f9njrdn8vad1zvr59b25arwc8r0n8bp25sgkbfz2c3r11j3"; 71 + sha256 = "12qfs9w93c5kiyi14ynm4rf4ad3c213dvzmdrc9c3ab2iwbks7rn"; 71 72 }; 72 73 73 74 patches = optionals stdenv.isLinux [ ··· 78 79 ./libglvnd-headers.patch 79 80 ]; 80 81 82 + preConfigure = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 83 + # Ignore gettext in cmake_prefix_path so that find_program doesn't 84 + # pick up the wrong gettext. TODO: Find a better solution for 85 + # this, maybe make cmake not look up executables in 86 + # CMAKE_PREFIX_PATH. 87 + cmakeFlags+=" -DCMAKE_IGNORE_PATH=${getBin gettext}/bin" 88 + ''; 89 + 81 90 nativeBuildInputs = [ 82 91 bison 83 92 cmake ··· 89 98 pkgconfig 90 99 python3 91 100 ruby 101 + glib # for gdbus-codegen 102 + wayland # for wayland-scanner 92 103 ]; 93 104 94 105 buildInputs = [
-574
pkgs/development/libraries/webkitgtk/libglvnd-headers.patch
··· 1 - diff --git a/Source/ThirdParty/ANGLE/scripts/generate_loader.py b/Source/ThirdParty/ANGLE/scripts/generate_loader.py 2 - index a408dac4..92ddca90 100644 3 - --- a/Source/ThirdParty/ANGLE/scripts/generate_loader.py 4 - +++ b/Source/ThirdParty/ANGLE/scripts/generate_loader.py 5 - @@ -201,6 +201,8 @@ def main(): 6 - 7 - libegl_preamble = """#include <EGL/egl.h> 8 - #include <EGL/eglext.h> 9 - +#include <EGL/eglmesaext.h> 10 - +#include <EGL/eglmesaext.h> 11 - """ 12 - 13 - util_gles_preamble = """#if defined(GL_GLES_PROTOTYPES) && GL_GLES_PROTOTYPES 14 - @@ -215,6 +217,8 @@ util_egl_preamble = """#include "util/util_export.h" 15 - 16 - #include <EGL/egl.h> 17 - #include <EGL/eglext.h> 18 - +#include <EGL/eglmesaext.h> 19 - +#include <EGL/eglmesaext.h> 20 - """ 21 - 22 - util_wgl_preamble = """ 23 - diff --git a/Source/ThirdParty/ANGLE/src/common/PackedEGLEnums_autogen.h b/Source/ThirdParty/ANGLE/src/common/PackedEGLEnums_autogen.h 24 - index 68c65d8b..0dc9c8e3 100644 25 - --- a/Source/ThirdParty/ANGLE/src/common/PackedEGLEnums_autogen.h 26 - +++ b/Source/ThirdParty/ANGLE/src/common/PackedEGLEnums_autogen.h 27 - @@ -14,6 +14,7 @@ 28 - 29 - #include <EGL/egl.h> 30 - #include <EGL/eglext.h> 31 - +#include <EGL/eglmesaext.h> 32 - #include <angle_gl.h> 33 - 34 - #include <cstdint> 35 - diff --git a/Source/ThirdParty/ANGLE/src/common/PackedGLEnums_autogen.h b/Source/ThirdParty/ANGLE/src/common/PackedGLEnums_autogen.h 36 - index cd651150..17719bc2 100644 37 - --- a/Source/ThirdParty/ANGLE/src/common/PackedGLEnums_autogen.h 38 - +++ b/Source/ThirdParty/ANGLE/src/common/PackedGLEnums_autogen.h 39 - @@ -14,6 +14,7 @@ 40 - 41 - #include <EGL/egl.h> 42 - #include <EGL/eglext.h> 43 - +#include <EGL/eglmesaext.h> 44 - #include <angle_gl.h> 45 - 46 - #include <cstdint> 47 - diff --git a/Source/ThirdParty/ANGLE/src/common/gen_packed_gl_enums.py b/Source/ThirdParty/ANGLE/src/common/gen_packed_gl_enums.py 48 - index 2f77e725..5ea54f1f 100644 49 - --- a/Source/ThirdParty/ANGLE/src/common/gen_packed_gl_enums.py 50 - +++ b/Source/ThirdParty/ANGLE/src/common/gen_packed_gl_enums.py 51 - @@ -71,6 +71,7 @@ header_template = """// GENERATED FILE - DO NOT EDIT. 52 - #include <angle_gl.h> 53 - #include <EGL/egl.h> 54 - #include <EGL/eglext.h> 55 - +#include <EGL/eglmesaext.h> 56 - 57 - #include <cstdint> 58 - 59 - diff --git a/Source/ThirdParty/ANGLE/src/common/utilities.h b/Source/ThirdParty/ANGLE/src/common/utilities.h 60 - index 7a1429a4..dd20bcca 100644 61 - --- a/Source/ThirdParty/ANGLE/src/common/utilities.h 62 - +++ b/Source/ThirdParty/ANGLE/src/common/utilities.h 63 - @@ -11,6 +11,7 @@ 64 - 65 - #include <EGL/egl.h> 66 - #include <EGL/eglext.h> 67 - +#include <EGL/eglmesaext.h> 68 - 69 - #include <math.h> 70 - #include <string> 71 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/Config.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/Config.cpp 72 - index 4134226d..5dd1065f 100644 73 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/Config.cpp 74 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/Config.cpp 75 - @@ -15,6 +15,7 @@ 76 - #include <vector> 77 - 78 - #include <EGL/eglext.h> 79 - +#include <EGL/eglmesaext.h> 80 - #include "angle_gl.h" 81 - 82 - #include "common/debug.h" 83 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/Device.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/Device.cpp 84 - index 13ae4e61..b964b755 100644 85 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/Device.cpp 86 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/Device.cpp 87 - @@ -12,6 +12,7 @@ 88 - #include <iterator> 89 - 90 - #include <EGL/eglext.h> 91 - +#include <EGL/eglmesaext.h> 92 - #include <platform/Platform.h> 93 - 94 - #include "common/debug.h" 95 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/Display.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/Display.cpp 96 - index 21064073..a46628bd 100644 97 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/Display.cpp 98 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/Display.cpp 99 - @@ -17,6 +17,7 @@ 100 - #include <vector> 101 - 102 - #include <EGL/eglext.h> 103 - +#include <EGL/eglmesaext.h> 104 - #include <platform/Platform.h> 105 - 106 - #include "common/debug.h" 107 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/Error.h b/Source/ThirdParty/ANGLE/src/libANGLE/Error.h 108 - index 37df5b0c..b2e3885b 100644 109 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/Error.h 110 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/Error.h 111 - @@ -11,6 +11,7 @@ 112 - 113 - #include <EGL/egl.h> 114 - #include <EGL/eglext.h> 115 - +#include <EGL/eglmesaext.h> 116 - #include "angle_gl.h" 117 - #include "common/angleutils.h" 118 - #include "common/debug.h" 119 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/Stream.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/Stream.cpp 120 - index b7bc84c8..538cb3e0 100644 121 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/Stream.cpp 122 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/Stream.cpp 123 - @@ -10,6 +10,7 @@ 124 - #include "libANGLE/Stream.h" 125 - 126 - #include <EGL/eglext.h> 127 - +#include <EGL/eglmesaext.h> 128 - #include <platform/Platform.h> 129 - 130 - #include "common/debug.h" 131 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/Stream.h b/Source/ThirdParty/ANGLE/src/libANGLE/Stream.h 132 - index 9157aa51..d8e58f2d 100644 133 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/Stream.h 134 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/Stream.h 135 - @@ -14,6 +14,7 @@ 136 - 137 - #include <EGL/egl.h> 138 - #include <EGL/eglext.h> 139 - +#include <EGL/eglmesaext.h> 140 - 141 - #include "common/angleutils.h" 142 - #include "libANGLE/AttributeMap.h" 143 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/Surface.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/Surface.cpp 144 - index 6daec4f6..941f34ca 100644 145 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/Surface.cpp 146 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/Surface.cpp 147 - @@ -11,6 +11,7 @@ 148 - #include "libANGLE/Surface.h" 149 - 150 - #include <EGL/eglext.h> 151 - +#include <EGL/eglmesaext.h> 152 - 153 - #include "libANGLE/Config.h" 154 - #include "libANGLE/Context.h" 155 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/SurfaceImpl.h b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/SurfaceImpl.h 156 - index ea1a0510..db7cf0c8 100644 157 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/SurfaceImpl.h 158 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/SurfaceImpl.h 159 - @@ -11,6 +11,7 @@ 160 - 161 - #include <EGL/egl.h> 162 - #include <EGL/eglext.h> 163 - +#include <EGL/eglmesaext.h> 164 - 165 - #include "common/angleutils.h" 166 - #include "libANGLE/Error.h" 167 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/DeviceD3D.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/DeviceD3D.cpp 168 - index ba5cf532..43304da5 100644 169 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/DeviceD3D.cpp 170 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/DeviceD3D.cpp 171 - @@ -13,6 +13,7 @@ 172 - #include "libANGLE/Display.h" 173 - 174 - #include <EGL/eglext.h> 175 - +#include <EGL/eglmesaext.h> 176 - 177 - namespace rx 178 - { 179 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/DisplayD3D.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/DisplayD3D.cpp 180 - index de60dfff..93b5bdf8 100644 181 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/DisplayD3D.cpp 182 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/DisplayD3D.cpp 183 - @@ -9,6 +9,7 @@ 184 - #include "libANGLE/renderer/d3d/DisplayD3D.h" 185 - 186 - #include <EGL/eglext.h> 187 - +#include <EGL/eglmesaext.h> 188 - 189 - #include "libANGLE/Config.h" 190 - #include "libANGLE/Context.h" 191 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/EGLImageD3D.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/EGLImageD3D.cpp 192 - index a7255d0d..a7e37777 100644 193 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/EGLImageD3D.cpp 194 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/EGLImageD3D.cpp 195 - @@ -20,6 +20,7 @@ 196 - #include "libANGLE/renderer/d3d/TextureStorage.h" 197 - 198 - #include <EGL/eglext.h> 199 - +#include <EGL/eglmesaext.h> 200 - 201 - namespace rx 202 - { 203 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/SurfaceD3D.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/SurfaceD3D.cpp 204 - index 61dc8ffa..87276514 100644 205 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/SurfaceD3D.cpp 206 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/SurfaceD3D.cpp 207 - @@ -19,6 +19,7 @@ 208 - #include "libANGLE/renderer/d3d/d3d11/formatutils11.h" 209 - 210 - #include <EGL/eglext.h> 211 - +#include <EGL/eglmesaext.h> 212 - #include <tchar.h> 213 - #include <algorithm> 214 - 215 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/SwapChainD3D.h b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/SwapChainD3D.h 216 - index 443cadd6..e64bdfc4 100644 217 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/SwapChainD3D.h 218 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/SwapChainD3D.h 219 - @@ -12,6 +12,7 @@ 220 - 221 - #include <EGL/egl.h> 222 - #include <EGL/eglext.h> 223 - +#include <EGL/eglmesaext.h> 224 - #include <GLES2/gl2.h> 225 - 226 - #include "common/angleutils.h" 227 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp 228 - index 33dfa6b0..eb3393d2 100644 229 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp 230 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp 231 - @@ -9,6 +9,7 @@ 232 - #include "libANGLE/renderer/d3d/d3d11/Renderer11.h" 233 - 234 - #include <EGL/eglext.h> 235 - +#include <EGL/eglmesaext.h> 236 - #include <versionhelpers.h> 237 - #include <sstream> 238 - 239 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/d3d11/SwapChain11.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/d3d11/SwapChain11.cpp 240 - index fe4def6e..2550b52c 100644 241 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/d3d11/SwapChain11.cpp 242 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/d3d11/SwapChain11.cpp 243 - @@ -9,6 +9,7 @@ 244 - #include "libANGLE/renderer/d3d/d3d11/SwapChain11.h" 245 - 246 - #include <EGL/eglext.h> 247 - +#include <EGL/eglmesaext.h> 248 - 249 - #include "libANGLE/features.h" 250 - #include "libANGLE/renderer/d3d/DisplayD3D.h" 251 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/d3d9/Renderer9.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/d3d9/Renderer9.cpp 252 - index f4a4ce43..0cad5540 100644 253 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/d3d9/Renderer9.cpp 254 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/d3d/d3d9/Renderer9.cpp 255 - @@ -9,6 +9,7 @@ 256 - #include "libANGLE/renderer/d3d/d3d9/Renderer9.h" 257 - 258 - #include <EGL/eglext.h> 259 - +#include <EGL/eglmesaext.h> 260 - #include <sstream> 261 - 262 - #include "common/utilities.h" 263 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/DisplayGL.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/DisplayGL.cpp 264 - index a89e1365..0fe4fa98 100644 265 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/DisplayGL.cpp 266 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/DisplayGL.cpp 267 - @@ -18,6 +18,7 @@ 268 - #include "libANGLE/renderer/gl/SurfaceGL.h" 269 - 270 - #include <EGL/eglext.h> 271 - +#include <EGL/eglmesaext.h> 272 - 273 - namespace rx 274 - { 275 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/RendererGL.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/RendererGL.cpp 276 - index 10b15594..7ae1ac6b 100644 277 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/RendererGL.cpp 278 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/RendererGL.cpp 279 - @@ -9,6 +9,7 @@ 280 - #include "libANGLE/renderer/gl/RendererGL.h" 281 - 282 - #include <EGL/eglext.h> 283 - +#include <EGL/eglmesaext.h> 284 - 285 - #include "common/debug.h" 286 - #include "libANGLE/AttributeMap.h" 287 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/FunctionsEGL.h b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/FunctionsEGL.h 288 - index 115a7afb..abb200e6 100644 289 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/FunctionsEGL.h 290 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/FunctionsEGL.h 291 - @@ -11,6 +11,7 @@ 292 - 293 - #include <EGL/egl.h> 294 - #include <EGL/eglext.h> 295 - +#include <EGL/eglmesaext.h> 296 - 297 - #include <string> 298 - #include <vector> 299 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/ozone/DisplayOzone.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/ozone/DisplayOzone.cpp 300 - index 47ed6ce0..9d11560c 100644 301 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/ozone/DisplayOzone.cpp 302 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/egl/ozone/DisplayOzone.cpp 303 - @@ -14,6 +14,7 @@ 304 - #include <unistd.h> 305 - 306 - #include <EGL/eglext.h> 307 - +#include <EGL/eglmesaext.h> 308 - 309 - #include <drm_fourcc.h> 310 - #include <gbm.h> 311 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/glx/DisplayGLX.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/glx/DisplayGLX.cpp 312 - index 23b4a5c5..daeb5789 100644 313 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/glx/DisplayGLX.cpp 314 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/glx/DisplayGLX.cpp 315 - @@ -9,6 +9,7 @@ 316 - #include "libANGLE/renderer/gl/glx/DisplayGLX.h" 317 - 318 - #include <EGL/eglext.h> 319 - +#include <EGL/eglmesaext.h> 320 - #include <algorithm> 321 - #include <cstring> 322 - #include <fstream> 323 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/renderergl_utils.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/renderergl_utils.cpp 324 - index 698b51e2..32e6126f 100644 325 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/renderergl_utils.cpp 326 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/renderergl_utils.cpp 327 - @@ -27,6 +27,7 @@ 328 - #include "libANGLE/renderer/gl/formatutilsgl.h" 329 - 330 - #include <EGL/eglext.h> 331 - +#include <EGL/eglmesaext.h> 332 - #include <algorithm> 333 - #include <sstream> 334 - 335 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/wgl/DXGISwapChainWindowSurfaceWGL.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/wgl/DXGISwapChainWindowSurfaceWGL.cpp 336 - index 5b686321..16ae890f 100644 337 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/wgl/DXGISwapChainWindowSurfaceWGL.cpp 338 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/wgl/DXGISwapChainWindowSurfaceWGL.cpp 339 - @@ -18,6 +18,7 @@ 340 - #include "libANGLE/renderer/gl/wgl/FunctionsWGL.h" 341 - 342 - #include <EGL/eglext.h> 343 - +#include <EGL/eglmesaext.h> 344 - 345 - namespace rx 346 - { 347 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/wgl/DisplayWGL.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/wgl/DisplayWGL.cpp 348 - index 12679ba7..93503812 100644 349 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/wgl/DisplayWGL.cpp 350 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/wgl/DisplayWGL.cpp 351 - @@ -28,6 +28,7 @@ 352 - #include "platform/Platform.h" 353 - 354 - #include <EGL/eglext.h> 355 - +#include <EGL/eglmesaext.h> 356 - #include <sstream> 357 - #include <string> 358 - 359 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/vulkan/RendererVk.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/vulkan/RendererVk.cpp 360 - index df900f4d..4385be88 100644 361 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/renderer/vulkan/RendererVk.cpp 362 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/renderer/vulkan/RendererVk.cpp 363 - @@ -13,6 +13,7 @@ 364 - #include "libANGLE/renderer/vulkan/vk_utils.h" 365 - 366 - #include <EGL/eglext.h> 367 - +#include <EGL/eglmesaext.h> 368 - 369 - #include "common/debug.h" 370 - #include "common/platform.h" 371 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/validationEGL.cpp b/Source/ThirdParty/ANGLE/src/libANGLE/validationEGL.cpp 372 - index 1c0b25f4..64e96f73 100644 373 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/validationEGL.cpp 374 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/validationEGL.cpp 375 - @@ -22,6 +22,7 @@ 376 - #include "libANGLE/formatutils.h" 377 - 378 - #include <EGL/eglext.h> 379 - +#include <EGL/eglmesaext.h> 380 - 381 - namespace egl 382 - { 383 - diff --git a/Source/ThirdParty/ANGLE/src/libANGLE/validationEGL.h b/Source/ThirdParty/ANGLE/src/libANGLE/validationEGL.h 384 - index a671bb0d..248f0ae8 100644 385 - --- a/Source/ThirdParty/ANGLE/src/libANGLE/validationEGL.h 386 - +++ b/Source/ThirdParty/ANGLE/src/libANGLE/validationEGL.h 387 - @@ -15,6 +15,7 @@ 388 - 389 - #include <EGL/egl.h> 390 - #include <EGL/eglext.h> 391 - +#include <EGL/eglmesaext.h> 392 - 393 - namespace gl 394 - { 395 - diff --git a/Source/ThirdParty/ANGLE/src/libEGL/egl_loader_autogen.h b/Source/ThirdParty/ANGLE/src/libEGL/egl_loader_autogen.h 396 - index ae4a427c..a802b65d 100644 397 - --- a/Source/ThirdParty/ANGLE/src/libEGL/egl_loader_autogen.h 398 - +++ b/Source/ThirdParty/ANGLE/src/libEGL/egl_loader_autogen.h 399 - @@ -13,6 +13,7 @@ 400 - 401 - #include <EGL/egl.h> 402 - #include <EGL/eglext.h> 403 - +#include <EGL/eglmesaext.h> 404 - 405 - extern PFNEGLCHOOSECONFIGPROC EGL_ChooseConfig; 406 - extern PFNEGLCOPYBUFFERSPROC EGL_CopyBuffers; 407 - diff --git a/Source/ThirdParty/ANGLE/src/libGLESv2/entry_points_egl_ext.h b/Source/ThirdParty/ANGLE/src/libGLESv2/entry_points_egl_ext.h 408 - index 3c64b290..96201b31 100644 409 - --- a/Source/ThirdParty/ANGLE/src/libGLESv2/entry_points_egl_ext.h 410 - +++ b/Source/ThirdParty/ANGLE/src/libGLESv2/entry_points_egl_ext.h 411 - @@ -11,6 +11,7 @@ 412 - 413 - #include <EGL/egl.h> 414 - #include <EGL/eglext.h> 415 - +#include <EGL/eglmesaext.h> 416 - #include <export.h> 417 - 418 - extern "C" { 419 - diff --git a/Source/ThirdParty/ANGLE/src/tests/deqp_support/tcuANGLENativeDisplayFactory.cpp b/Source/ThirdParty/ANGLE/src/tests/deqp_support/tcuANGLENativeDisplayFactory.cpp 420 - index 777b09e1..dbb0bd2f 100644 421 - --- a/Source/ThirdParty/ANGLE/src/tests/deqp_support/tcuANGLENativeDisplayFactory.cpp 422 - +++ b/Source/ThirdParty/ANGLE/src/tests/deqp_support/tcuANGLENativeDisplayFactory.cpp 423 - @@ -24,6 +24,7 @@ 424 - 425 - #include <EGL/egl.h> 426 - #include <EGL/eglext.h> 427 - +#include <EGL/eglmesaext.h> 428 - 429 - #include "deClock.h" 430 - #include "deMemory.h" 431 - diff --git a/Source/ThirdParty/ANGLE/src/tests/deqp_support/tcuANGLEPlatform.cpp b/Source/ThirdParty/ANGLE/src/tests/deqp_support/tcuANGLEPlatform.cpp 432 - index 6b4a25bf..1c4ac864 100644 433 - --- a/Source/ThirdParty/ANGLE/src/tests/deqp_support/tcuANGLEPlatform.cpp 434 - +++ b/Source/ThirdParty/ANGLE/src/tests/deqp_support/tcuANGLEPlatform.cpp 435 - @@ -22,6 +22,7 @@ 436 - 437 - #include <EGL/egl.h> 438 - #include <EGL/eglext.h> 439 - +#include <EGL/eglmesaext.h> 440 - 441 - #include "egluGLContextFactory.hpp" 442 - #include "tcuANGLENativeDisplayFactory.h" 443 - diff --git a/Source/ThirdParty/ANGLE/src/tests/egl_tests/EGLX11VisualTest.cpp b/Source/ThirdParty/ANGLE/src/tests/egl_tests/EGLX11VisualTest.cpp 444 - index 90abb931..aea4e153 100644 445 - --- a/Source/ThirdParty/ANGLE/src/tests/egl_tests/EGLX11VisualTest.cpp 446 - +++ b/Source/ThirdParty/ANGLE/src/tests/egl_tests/EGLX11VisualTest.cpp 447 - @@ -10,6 +10,7 @@ 448 - 449 - #include <EGL/egl.h> 450 - #include <EGL/eglext.h> 451 - +#include <EGL/eglmesaext.h> 452 - #include <X11/Xlib.h> 453 - 454 - #include "test_utils/ANGLETest.h" 455 - diff --git a/Source/ThirdParty/ANGLE/src/tests/gles_conformance_tests/gles_conformance_tests.h b/Source/ThirdParty/ANGLE/src/tests/gles_conformance_tests/gles_conformance_tests.h 456 - index e888a239..71606b8c 100644 457 - --- a/Source/ThirdParty/ANGLE/src/tests/gles_conformance_tests/gles_conformance_tests.h 458 - +++ b/Source/ThirdParty/ANGLE/src/tests/gles_conformance_tests/gles_conformance_tests.h 459 - @@ -11,6 +11,7 @@ 460 - 461 - #include <EGL/egl.h> 462 - #include <EGL/eglext.h> 463 - +#include <EGL/eglmesaext.h> 464 - 465 - #include <string> 466 - 467 - diff --git a/Source/ThirdParty/ANGLE/src/tests/gles_conformance_tests/gles_conformance_tests_main.cpp b/Source/ThirdParty/ANGLE/src/tests/gles_conformance_tests/gles_conformance_tests_main.cpp 468 - index 7fdddcc6..e40b8905 100644 469 - --- a/Source/ThirdParty/ANGLE/src/tests/gles_conformance_tests/gles_conformance_tests_main.cpp 470 - +++ b/Source/ThirdParty/ANGLE/src/tests/gles_conformance_tests/gles_conformance_tests_main.cpp 471 - @@ -10,6 +10,7 @@ 472 - 473 - #include <EGL/egl.h> 474 - #include <EGL/eglext.h> 475 - +#include <EGL/eglmesaext.h> 476 - 477 - #include <map> 478 - #include <string> 479 - diff --git a/Source/ThirdParty/ANGLE/src/tests/test_utils/angle_test_configs.h b/Source/ThirdParty/ANGLE/src/tests/test_utils/angle_test_configs.h 480 - index 7bc7a027..ebb2827b 100644 481 - --- a/Source/ThirdParty/ANGLE/src/tests/test_utils/angle_test_configs.h 482 - +++ b/Source/ThirdParty/ANGLE/src/tests/test_utils/angle_test_configs.h 483 - @@ -16,6 +16,7 @@ 484 - 485 - #include <EGL/egl.h> 486 - #include <EGL/eglext.h> 487 - +#include <EGL/eglmesaext.h> 488 - 489 - #include "GLSLANG/ShaderLang.h" 490 - #include "angle_test_instantiate.h" 491 - diff --git a/Source/ThirdParty/ANGLE/util/OSPixmap.h b/Source/ThirdParty/ANGLE/util/OSPixmap.h 492 - index ba6ccf4a..563d2578 100644 493 - --- a/Source/ThirdParty/ANGLE/util/OSPixmap.h 494 - +++ b/Source/ThirdParty/ANGLE/util/OSPixmap.h 495 - @@ -13,6 +13,7 @@ 496 - 497 - #include <EGL/egl.h> 498 - #include <EGL/eglext.h> 499 - +#include <EGL/eglmesaext.h> 500 - 501 - #include "util/Event.h" 502 - #include "util/util_export.h" 503 - diff --git a/Source/ThirdParty/ANGLE/util/OSWindow.h b/Source/ThirdParty/ANGLE/util/OSWindow.h 504 - index 3cdb458c..3178fa44 100644 505 - --- a/Source/ThirdParty/ANGLE/util/OSWindow.h 506 - +++ b/Source/ThirdParty/ANGLE/util/OSWindow.h 507 - @@ -15,6 +15,7 @@ 508 - 509 - #include <EGL/egl.h> 510 - #include <EGL/eglext.h> 511 - +#include <EGL/eglmesaext.h> 512 - 513 - #include "util/Event.h" 514 - #include "util/util_export.h" 515 - diff --git a/Source/ThirdParty/ANGLE/util/egl_loader_autogen.h b/Source/ThirdParty/ANGLE/util/egl_loader_autogen.h 516 - index 5fbec82f..77a30330 100644 517 - --- a/Source/ThirdParty/ANGLE/util/egl_loader_autogen.h 518 - +++ b/Source/ThirdParty/ANGLE/util/egl_loader_autogen.h 519 - @@ -15,6 +15,7 @@ 520 - 521 - #include <EGL/egl.h> 522 - #include <EGL/eglext.h> 523 - +#include <EGL/eglmesaext.h> 524 - 525 - ANGLE_UTIL_EXPORT extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; 526 - ANGLE_UTIL_EXPORT extern PFNEGLCOPYBUFFERSPROC eglCopyBuffers; 527 - diff --git a/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp b/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp 528 - index a8a82d70..050893a9 100644 529 - --- a/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp 530 - +++ b/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp 531 - @@ -29,6 +29,7 @@ 532 - #else 533 - #include <EGL/egl.h> 534 - #include <EGL/eglext.h> 535 - +#include <EGL/eglmesaext.h> 536 - #endif 537 - 538 - #if USE(CAIRO) 539 - diff --git a/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp b/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp 540 - index 05f92c22..636df34a 100644 541 - --- a/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp 542 - +++ b/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp 543 - @@ -35,6 +35,7 @@ 544 - #include <wayland-egl.h> 545 - #include <EGL/egl.h> 546 - #include <EGL/eglext.h> 547 - +#include <EGL/eglmesaext.h> 548 - #include <wtf/Assertions.h> 549 - 550 - namespace WebCore { 551 - diff --git a/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp b/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp 552 - index 8c81119b..bf9ed4bd 100644 553 - --- a/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp 554 - +++ b/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp 555 - @@ -38,6 +38,7 @@ 556 - #if USE(EGL) 557 - #include <EGL/egl.h> 558 - #include <EGL/eglext.h> 559 - +#include <EGL/eglmesaext.h> 560 - #endif 561 - 562 - namespace WebCore { 563 - diff --git a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp 564 - index 973b3168..5586236a 100644 565 - --- a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp 566 - +++ b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreWayland.cpp 567 - @@ -35,6 +35,7 @@ 568 - #include <gdk/gdkwayland.h> 569 - #include <EGL/egl.h> 570 - #include <EGL/eglext.h> 571 - +#include <EGL/eglmesaext.h> 572 - #include <WebCore/CairoUtilities.h> 573 - #include <WebCore/GLContext.h> 574 - 575 1 diff --git a/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp b/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp 576 2 index 8d848ce4..46d42c11 100644 577 3 --- a/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp
+2 -2
pkgs/development/libraries/xdg-desktop-portal/default.nix
··· 6 6 , pkgconfig 7 7 , libxml2 8 8 , glib 9 - , pipewire 9 + , pipewire_0_2 10 10 , fontconfig 11 11 , flatpak 12 12 , gsettings-desktop-schemas ··· 49 49 50 50 buildInputs = [ 51 51 glib 52 - pipewire 52 + pipewire_0_2 53 53 fontconfig 54 54 flatpak 55 55 acl
+1 -3
pkgs/development/python-modules/azure-cosmos/default.nix
··· 17 17 18 18 propagatedBuildInputs = [ six requests ]; 19 19 20 - postInstall = '' 21 - rm $out/${python.sitePackages}/azure/__init__.py 22 - ''; 20 + pythonNamespaces = [ "azure" ]; 23 21 24 22 # requires an active Azure Cosmos service 25 23 doCheck = false;
+2
pkgs/development/python-modules/azure-keyvault-keys/default.nix
··· 26 26 cryptography 27 27 ]; 28 28 29 + pythonNamespaces = [ "azure.keyvault" ]; 30 + 29 31 # requires relative paths to utilities in the mono-repo 30 32 doCheck = false; 31 33 checkInputs = [ aiohttp pytestCheckHook ];
+2
pkgs/development/python-modules/azure-keyvault-secrets/default.nix
··· 21 21 msrest 22 22 ]; 23 23 24 + pythonNamespaces = [ "azure.keyvault" ]; 25 + 24 26 # requires checkout from mono-repo 25 27 doCheck = false; 26 28
+2
pkgs/development/python-modules/azure-keyvault/default.nix
··· 22 22 # this is just a meta package, which contains keys and secrets 23 23 doCheck = false; 24 24 25 + pythonNamespaces = [ "azure" ]; 26 + 25 27 pythonImportsCheck = [ 26 28 "azure.keyvault.keys" 27 29 "azure.keyvault.secrets"
+1 -3
pkgs/development/python-modules/azure-loganalytics/default.nix
··· 22 22 azure-common 23 23 ]; 24 24 25 - postInstall = lib.optionalString isPy3k '' 26 - rm -rf $out/${python.sitePackages}/azure/__init__.py 27 - ''; 25 + pythonNamespaces = [ "azure" ]; 28 26 29 27 # has no tests 30 28 doCheck = false;
+1 -3
pkgs/development/python-modules/azure-mgmt-applicationinsights/default.nix
··· 27 27 azure-mgmt-nspkg 28 28 ]; 29 29 30 - postInstall = lib.optionalString isPy3k '' 31 - rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py 32 - ''; 30 + pythonNamespaces = [ "azure.mgmt" ]; 33 31 34 32 # has no tests 35 33 doCheck = false;
+1 -4
pkgs/development/python-modules/azure-mgmt-batchai/default.nix
··· 24 24 azure-mgmt-nspkg 25 25 ]; 26 26 27 - postInstall = lib.optionalString isPy3k '' 28 - rm $out/${python.sitePackages}/azure/__init__.py 29 - rm $out/${python.sitePackages}/azure/mgmt/__init__.py 30 - ''; 27 + pythonNamespaces = [ "azure.mgmt" ]; 31 28 32 29 # has no tests 33 30 doCheck = false;
+1 -4
pkgs/development/python-modules/azure-mgmt-billing/default.nix
··· 30 30 --replace "azure-namespace-package = azure-mgmt-nspkg" "" 31 31 ''; 32 32 33 - postInstall = lib.optionalString isPy3k '' 34 - rm $out/${python.sitePackages}/azure/__init__.py 35 - rm $out/${python.sitePackages}/azure/mgmt/__init__.py 36 - ''; 33 + pythonNamespaces = [ "azure.mgmt" ]; 37 34 38 35 # has no tests 39 36 doCheck = false;
+2 -5
pkgs/development/python-modules/azure-mgmt-compute/default.nix
··· 16 16 sha256 = "00ygppmlx21dxvb0swfdyhqf5xhi0zxy26abcgql02w0lklw91nj"; 17 17 }; 18 18 19 - postInstall = if isPy3k then "" else '' 20 - echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py 21 - echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py 22 - ''; 23 - 24 19 propagatedBuildInputs = [ 25 20 azure-mgmt-common 26 21 ]; 22 + 23 + pythonNamespaces = [ "azure.mgmt" ]; 27 24 28 25 # has no tests 29 26 doCheck = false;
+1 -5
pkgs/development/python-modules/azure-mgmt-consumption/default.nix
··· 24 24 azure-mgmt-nspkg 25 25 ]; 26 26 27 - # still needed when overriding to previous versions 28 - # E.g. azure-cli 29 - postInstall = lib.optionalString isPy3k '' 30 - rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py 31 - ''; 27 + pythonNamespaces = [ "azure.mgmt" ]; 32 28 33 29 # has no tests 34 30 doCheck = false;
+1 -5
pkgs/development/python-modules/azure-mgmt-datalake-analytics/default.nix
··· 24 24 azure-mgmt-datalake-nspkg 25 25 ]; 26 26 27 - postInstall = lib.optionalString isPy3k '' 28 - rm $out/${python.sitePackages}/azure/__init__.py 29 - rm $out/${python.sitePackages}/azure/mgmt/__init__.py 30 - rm $out/${python.sitePackages}/azure/mgmt/datalake/__init__.py 31 - ''; 27 + pythonNamespaces = [ "azure.mgmt.datalake" ]; 32 28 33 29 # has no tests 34 30 doCheck = false;
+2 -5
pkgs/development/python-modules/azure-mgmt-datalake-store/default.nix
··· 3 3 , fetchPypi 4 4 , python 5 5 , isPy3k 6 + , pythonNamespacesHook 6 7 , msrestazure 7 8 , azure-common 8 9 , azure-mgmt-datalake-nspkg ··· 24 25 azure-mgmt-datalake-nspkg 25 26 ]; 26 27 27 - postInstall = lib.optionalString isPy3k '' 28 - rm $out/${python.sitePackages}/azure/__init__.py 29 - rm $out/${python.sitePackages}/azure/mgmt/__init__.py 30 - rm $out/${python.sitePackages}/azure/mgmt/datalake/__init__.py 31 - ''; 28 + pythonNamespaces = [ "azure.mgmt.datalake" ]; 32 29 33 30 # has no tests 34 31 doCheck = false;
+1 -5
pkgs/development/python-modules/azure-mgmt-datamigration/default.nix
··· 27 27 azure-mgmt-nspkg 28 28 ]; 29 29 30 - # still needed when overriding to previous versions 31 - # E.g. azure-cli 32 - postInstall = lib.optionalString isPy3k '' 33 - rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py 34 - ''; 30 + pythonNamespaces = [ "azure.mgmt" ]; 35 31 36 32 # has no tests 37 33 doCheck = false;
+1 -5
pkgs/development/python-modules/azure-mgmt-devtestlabs/default.nix
··· 27 27 azure-mgmt-nspkg 28 28 ]; 29 29 30 - # still needed when overriding to previous versions 31 - # E.g. azure-cli 32 - postInstall = lib.optionalString isPy3k '' 33 - rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py 34 - ''; 30 + pythonNamespaces = [ "azure.mgmt" ]; 35 31 36 32 # has no tests 37 33 doCheck = false;
+1 -4
pkgs/development/python-modules/azure-mgmt-dns/default.nix
··· 27 27 ]; 28 28 29 29 # this is still needed for when the version is overrided 30 - # to previous versions. E.g azure-cli 31 - postInstall = lib.optionalString isPy3k '' 32 - rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py 33 - ''; 30 + pythonNamespaces = [ "azure.mgmt" ]; 34 31 35 32 # has no tests 36 33 doCheck = false;
+1 -4
pkgs/development/python-modules/azure-mgmt-iothubprovisioningservices/default.nix
··· 26 26 azure-mgmt-nspkg 27 27 ]; 28 28 29 - postInstall = lib.optionalString isPy3k '' 30 - rm $out/${python.sitePackages}/azure/__init__.py 31 - rm $out/${python.sitePackages}/azure/mgmt/__init__.py 32 - ''; 29 + pythonNamespaces = [ "azure.mgmt" ]; 33 30 34 31 # has no tests 35 32 doCheck = false;
+1 -5
pkgs/development/python-modules/azure-mgmt-keyvault/default.nix
··· 26 26 azure-mgmt-nspkg 27 27 ]; 28 28 29 - # this is still need when overriding to prevoius versions 30 - # E.g. azure-cli 31 - postInstall = lib.optionalString isPy3k '' 32 - rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py 33 - ''; 29 + pythonNamespaces = [ "azure.mgmt" ]; 34 30 35 31 # has no tests 36 32 doCheck = false;
+1 -4
pkgs/development/python-modules/azure-mgmt-loganalytics/default.nix
··· 26 26 azure-mgmt-nspkg 27 27 ]; 28 28 29 - postInstall = lib.optionalString isPy3k '' 30 - rm $out/${python.sitePackages}/azure/__init__.py 31 - rm $out/${python.sitePackages}/azure/mgmt/__init__.py 32 - ''; 29 + pythonNamespaces = [ "azure.mgmt" ]; 33 30 34 31 # has no tests 35 32 doCheck = false;
+1 -4
pkgs/development/python-modules/azure-mgmt-maps/default.nix
··· 26 26 azure-mgmt-nspkg 27 27 ]; 28 28 29 - postInstall = lib.optionalString isPy3k '' 30 - rm $out/${python.sitePackages}/azure/__init__.py 31 - rm $out/${python.sitePackages}/azure/mgmt/__init__.py 32 - ''; 29 + pythonNamespaces = [ "azure.mgmt" ]; 33 30 34 31 # has no tests 35 32 doCheck = false;
+1 -4
pkgs/development/python-modules/azure-mgmt-monitor/default.nix
··· 27 27 azure-mgmt-nspkg 28 28 ]; 29 29 30 - postInstall = lib.optionalString isPy3k '' 31 - rm -rf $out/${python.sitePackages}/azure/__init__.py 32 - rm -rf $out/${python.sitePackages}/azure/mgmt/__init__.py 33 - ''; 30 + pythonNamespaces = [ "azure.mgmt" ]; 34 31 35 32 # has no tests 36 33 doCheck = false;
+1 -5
pkgs/development/python-modules/azure-mgmt-msi/default.nix
··· 26 26 azure-mgmt-nspkg 27 27 ]; 28 28 29 - # still needed when overriding to previous versions 30 - # E.g. azure-cli 31 - postInstall = lib.optionalString isPy3k '' 32 - rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py 33 - ''; 29 + pythonNamespaces = [ "azure.mgmt" ]; 34 30 35 31 # has no tests 36 32 doCheck = false;
+1 -5
pkgs/development/python-modules/azure-mgmt-relay/default.nix
··· 24 24 azure-mgmt-nspkg 25 25 ]; 26 26 27 - # still needed when overriding to previous versions 28 - # E.g. azure-cli 29 - postInstall = lib.optionalString isPy3k '' 30 - rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py 31 - ''; 27 + pythonNamespaces = [ "azure.mgmt" ]; 32 28 33 29 # has no tests 34 30 doCheck = false;
+1 -5
pkgs/development/python-modules/azure-mgmt-servicefabric/default.nix
··· 26 26 azure-mgmt-nspkg 27 27 ]; 28 28 29 - # this is still needed for overriding to previous versions 30 - # E.g azure-cli 31 - postInstall = lib.optionalString isPy3k '' 32 - rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py 33 - ''; 29 + pythonNamespaces = [ "azure.mgmt" ]; 34 30 35 31 # has no tests 36 32 doCheck = false;
+4 -7
pkgs/development/python-modules/azure-mgmt-storage/default.nix
··· 13 13 src = fetchPypi { 14 14 inherit pname version; 15 15 extension = "zip"; 16 - sha256 = "636778912823cebed1c212e4feacc4885d9e49e19a047da20fca9393bc6fac33"; 16 + sha256 = "0cxcdyy974ya1yi7s14sw54rwpc8qjngxr0jqb8vxki3528phrv3"; 17 17 }; 18 18 19 - postInstall = if isPy3k then "" else '' 20 - echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py 21 - echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py 22 - ''; 19 + propagatedBuildInputs = [ azure-mgmt-common ]; 23 20 24 - propagatedBuildInputs = [ azure-mgmt-common ]; 21 + pythonNamespaces = [ "azure.mgmt" ]; 25 22 26 23 # has no tests 27 24 doCheck = false; ··· 30 27 description = "This is the Microsoft Azure Storage Management Client Library"; 31 28 homepage = "https://github.com/Azure/azure-sdk-for-python"; 32 29 license = licenses.mit; 33 - maintainers = with maintainers; [ olcai mwilsoninsight ]; 30 + maintainers = with maintainers; [ jonringer olcai mwilsoninsight ]; 34 31 }; 35 32 }
+2 -5
pkgs/development/python-modules/azure-multiapi-storage/default.nix
··· 16 16 17 17 propagatedBuildInputs = [ azure-common msrest msrestazure ]; 18 18 19 - # fix namespace issues 20 - postInstall = '' 21 - rm $out/${python.sitePackages}/azure/__init__.py 22 - rm $out/${python.sitePackages}/azure/multiapi/__init__.py 23 - ''; 19 + # fix namespace 20 + pythonNamespaces = [ "azure.multiapi" ]; 24 21 25 22 # no tests included 26 23 doCheck = false;
+3 -2
pkgs/development/python-modules/cddb/default.nix
··· 5 5 }: 6 6 7 7 buildPythonPackage rec { 8 - name = "CDDB-1.4"; 8 + pname = "CDDB"; 9 + version = "1.4"; 9 10 disabled = isPy3k; 10 11 11 12 buildInputs = stdenv.lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.IOKit ]; 12 13 13 14 src = pkgs.fetchurl { 14 - url = "http://cddb-py.sourceforge.net/${name}.tar.gz"; 15 + url = "http://cddb-py.sourceforge.net/${pname}-${version}.tar.gz"; 15 16 sha256 = "098xhd575ibvdx7i3dny3lwi851yxhjg2hn5jbbgrwj833rg5l5w"; 16 17 }; 17 18
+2 -1
pkgs/development/python-modules/deskcon/default.nix
··· 7 7 }: 8 8 9 9 buildPythonPackage { 10 - name = "deskcon-0.3"; 10 + pname = "deskcon"; 11 + version = "0.3"; 11 12 disabled = isPy3k; 12 13 13 14 src = pkgs.fetchFromGitHub {
+2 -1
pkgs/development/python-modules/gateone/default.nix
··· 8 8 }: 9 9 10 10 buildPythonPackage { 11 - name = "gateone-1.2-0d57c3"; 11 + pname = "gateone"; 12 + version = "1.2-0d57c3"; 12 13 disabled = isPy3k; 13 14 14 15 src = pkgs.fetchFromGitHub {
+28 -40
pkgs/development/python-modules/gst-python/default.nix
··· 1 - { buildPythonPackage, fetchurl, meson, ninja, stdenv, pkgconfig, python, pygobject3 2 - , gobject-introspection, gst-plugins-base, isPy3k 1 + { buildPythonPackage 2 + , fetchurl 3 + , meson 4 + , ninja 5 + , stdenv 6 + , pkgconfig 7 + , python 8 + , pygobject3 9 + , gobject-introspection 10 + , gst-plugins-base 11 + , isPy3k 3 12 }: 4 13 5 - let 14 + buildPythonPackage rec { 6 15 pname = "gst-python"; 7 - version = "1.14.4"; 8 - name = "${pname}-${version}"; 9 - in buildPythonPackage rec { 10 - inherit pname version; 16 + version = "1.16.2"; 17 + 11 18 format = "other"; 12 19 13 20 outputs = [ "out" "dev" ]; 14 21 15 22 src = fetchurl { 16 - urls = [ 17 - "${meta.homepage}/src/gst-python/${name}.tar.xz" 18 - "mirror://gentoo/distfiles/${name}.tar.xz" 19 - ]; 20 - sha256 = "06ssx19fs6pg4d32p9ph9w4f0xwmxaw2dxfj17rqkn5njd7v5zfh"; 23 + url = "${meta.homepage}/src/gst-python/${pname}-${version}.tar.xz"; 24 + sha256 = "II3zFI1z2fQW0BZWRzdYXY6nY9kSAXMtRLX+aIxiiKg="; 21 25 }; 22 26 23 - patches = [ 24 - # Meson build does not support Python 2 at the moment 25 - # https://bugzilla.gnome.org/show_bug.cgi?id=796092 26 - (fetchurl { 27 - name = "0002-meson-use-new-python-module.patch"; 28 - url = https://bugzilla.gnome.org/attachment.cgi?id=371989; 29 - sha256 = "1k46nvw175c1wvkqnx783i9d4w9vn431spcl48jb3y224jj3va08"; 30 - }) 31 - # Fixes `from gi.repository import Gst` when gst-python's site-package is in 32 - # PYTHONPATH 33 - (fetchurl { 34 - url = https://gitlab.freedesktop.org/gstreamer/gst-python/commit/d64bbc1e0c3c948c148f505cc5f856ce56732880.diff; 35 - sha256 = "1n9pxmcl1x491mp47avpcw2a6n71lm0haz6mfas168prkgsk8q3r"; 36 - }) 37 - # Fixes python2 build from the above changes 38 - (fetchurl { 39 - url = https://gitlab.freedesktop.org/gstreamer/gst-python/commit/f79ac2d1434d7ba9717f3e943cfdc76e121eb5dd.diff; 40 - sha256 = "17a164b0v36g0kwiqdlkjx6g0pjhcs6ilizck7iky8bgjnmiypm1"; 41 - }) 27 + nativeBuildInputs = [ 28 + meson 29 + ninja 30 + pkgconfig 31 + python 32 + gobject-introspection 33 + gst-plugins-base 42 34 ]; 43 35 44 - # TODO: First python_dep in meson.build needs to be removed 45 - postPatch = '' 46 - substituteInPlace meson.build --replace python3 python${if isPy3k then "3" else "2"} 47 - ''; 48 - 49 - nativeBuildInputs = [ meson ninja pkgconfig python gobject-introspection gst-plugins-base ]; 36 + propagatedBuildInputs = [ 37 + gst-plugins-base 38 + pygobject3 39 + ]; 50 40 51 41 mesonFlags = [ 52 42 "-Dpython=python${if isPy3k then "3" else "2"}" ··· 59 49 # https://github.com/NixOS/nixpkgs/issues/47390 60 50 installCheckPhase = "meson test --print-errorlogs"; 61 51 62 - propagatedBuildInputs = [ gst-plugins-base pygobject3 ]; 63 - 64 52 meta = { 65 - homepage = https://gstreamer.freedesktop.org; 53 + homepage = "https://gstreamer.freedesktop.org"; 66 54 67 55 description = "Python bindings for GStreamer"; 68 56
+2 -2
pkgs/development/python-modules/httplib2/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "httplib2"; 5 - version = "0.15.0"; 5 + version = "0.17.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "a5f914f18f99cb9541660454a159e3b3c63241fc3ab60005bb88d97cc7a4fb58"; 9 + sha256 = "0qc2vn98a4icp3h04pdhiykddz5q6wfi905f19zfxl26kyjd15ny"; 10 10 }; 11 11 12 12 # Needs setting up
+2 -1
pkgs/development/python-modules/mutag/default.nix
··· 6 6 }: 7 7 8 8 buildPythonPackage { 9 - name = "mutag-0.0.2-2ffa0258ca"; 9 + pname = "mutag"; 10 + version = "0.0.2-2ffa0258ca"; 10 11 disabled = ! isPy3k; 11 12 12 13 src = fetchgit {
+5 -7
pkgs/development/python-modules/notmuch/default.nix
··· 1 1 { stdenv 2 2 , buildPythonPackage 3 - , pkgs 3 + , notmuch 4 4 , python 5 5 }: 6 6 7 7 buildPythonPackage { 8 - name = "python-${pkgs.notmuch.name}"; 9 - 10 - src = pkgs.notmuch.src; 8 + inherit (notmuch) pname version src; 11 9 12 - sourceRoot = pkgs.notmuch.pythonSourceRoot; 10 + sourceRoot = notmuch.pythonSourceRoot; 13 11 14 - buildInputs = [ python pkgs.notmuch ]; 12 + buildInputs = [ python notmuch ]; 15 13 16 14 postPatch = '' 17 - sed -i -e '/CDLL/s@"libnotmuch\.@"${pkgs.notmuch}/lib/libnotmuch.@' \ 15 + sed -i -e '/CDLL/s@"libnotmuch\.@"${notmuch}/lib/libnotmuch.@' \ 18 16 notmuch/globals.py 19 17 ''; 20 18
+2 -2
pkgs/development/python-modules/pygobject/3.nix
··· 3 3 4 4 buildPythonPackage rec { 5 5 pname = "pygobject"; 6 - version = "3.34.0"; 6 + version = "3.36.0"; 7 7 8 8 format = "other"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "06i7ynnbvgpz0gw09zsjbvhgcp5qz4yzdifw27qjwdazg2mckql7"; 12 + sha256 = "hoPS37W6qeUBqaZO66XCwRF+rbeBqxzXqdJVg0r22u8="; 13 13 }; 14 14 15 15 outputs = [ "out" "dev" ];
+2 -2
pkgs/development/python-modules/slob/default.nix
··· 7 7 }: 8 8 9 9 buildPythonPackage { 10 - name = "slob"; 11 - verison = "unstable-2016-11-03"; 10 + pname = "slob"; 11 + version = "unstable-2016-11-03"; 12 12 disabled = !isPy3k; 13 13 14 14 src = fetchFromGitHub {
+2 -1
pkgs/development/python-modules/tkinter/default.nix
··· 6 6 }: 7 7 8 8 buildPythonPackage { 9 - name = "tkinter-${python.version}"; 9 + pname = "tkinter"; 10 + version = python.version; 10 11 src = py; 11 12 format = "other"; 12 13
+18 -12
pkgs/development/tools/build-managers/gn/default.nix
··· 1 1 { stdenv, lib, fetchgit, darwin, writeText 2 - , git, ninja, python3 }: 2 + , ninja, python3 3 + }: 3 4 4 5 let 5 - rev = "64b846c96daeb3eaf08e26d8a84d8451c6cb712b"; 6 - sha256 = "1v2kzsshhxn0ck6gd5w16gi2m3higwd9vkyylmsczxfxnw8skgpy"; 6 + # Note: Please use the recommended version for Chromium, e.g.: 7 + # https://git.archlinux.org/svntogit/packages.git/tree/trunk/chromium-gn-version.sh?h=packages/gn 8 + rev = "fd3d768bcfd44a8d9639fe278581bd9851d0ce3a"; 9 + revNum = "1718"; # git describe HEAD --match initial-commit | cut -d- -f3 10 + version = "2020-03-09"; 11 + sha256 = "1asc14y8by7qcn10vbk467hvx93s30pif8r0brissl0sihsaqazr"; 7 12 8 - shortRev = builtins.substring 0 7 rev; 13 + revShort = builtins.substring 0 7 rev; 9 14 lastCommitPosition = writeText "last_commit_position.h" '' 10 15 #ifndef OUT_LAST_COMMIT_POSITION_H_ 11 16 #define OUT_LAST_COMMIT_POSITION_H_ 12 17 13 - #define LAST_COMMIT_POSITION "(${shortRev})" 18 + #define LAST_COMMIT_POSITION_NUM ${revNum} 19 + #define LAST_COMMIT_POSITION "${revNum} (${revShort})" 14 20 15 21 #endif // OUT_LAST_COMMIT_POSITION_H_ 16 22 ''; 17 23 18 - in 19 - stdenv.mkDerivation { 20 - pname = "gn"; 21 - version = "20190403"; 24 + in stdenv.mkDerivation { 25 + pname = "gn-unstable"; 26 + inherit version; 22 27 23 28 src = fetchgit { 29 + # Note: The TAR-Archives (+archive/${rev}.tar.gz) are not deterministic! 24 30 url = "https://gn.googlesource.com/gn"; 25 31 inherit rev sha256; 26 32 }; 27 33 28 - nativeBuildInputs = [ ninja python3 git ]; 34 + nativeBuildInputs = [ ninja python3 ]; 29 35 buildInputs = lib.optionals stdenv.isDarwin (with darwin; with apple_sdk.frameworks; [ 30 36 libobjc 31 37 cctools ··· 49 55 setupHook = ./setup-hook.sh; 50 56 51 57 meta = with lib; { 52 - description = "A meta-build system that generates NinjaBuild files"; 53 - homepage = https://gn.googlesource.com/gn; 58 + description = "A meta-build system that generates build files for Ninja"; 59 + homepage = "https://gn.googlesource.com/gn"; 54 60 license = licenses.bsd3; 55 61 platforms = platforms.unix; 56 62 maintainers = with maintainers; [ stesie matthewbauer ];
+10 -10
pkgs/development/tools/build-managers/scons/common.nix
··· 1 1 { version, sha256 }: 2 2 3 - { stdenv, fetchurl, python2Packages }: 3 + { stdenv, fetchurl, python3Packages, python2Packages, scons }: 4 4 5 - let name = "scons"; 6 - in python2Packages.buildPythonApplication { 7 - name = "${name}-${version}"; 5 + python3Packages.buildPythonApplication rec { 6 + pname = "scons"; 7 + inherit version; 8 8 9 9 src = fetchurl { 10 - url = "mirror://sourceforge/scons/${name}-${version}.tar.gz"; 10 + url = "mirror://sourceforge/scons/${pname}-${version}.tar.gz"; 11 11 inherit sha256; 12 12 }; 13 13 14 - # Fix a regression in 3.0.0 (causes build errors for some packages) 15 - patches = stdenv.lib.optional (version == "3.0.0") ./print-statements.patch; 14 + setupHook = ./setup-hook.sh; 16 15 17 - setupHook = ./setup-hook.sh; 16 + passthru.py2 = scons.override { python3Packages = python2Packages; }; 18 17 19 18 meta = with stdenv.lib; { 20 - homepage = http://scons.org/; 21 19 description = "An improved, cross-platform substitute for Make"; 22 - license = licenses.mit; 23 20 longDescription = '' 24 21 SCons is an Open Source software construction tool. Think of 25 22 SCons as an improved, cross-platform substitute for the classic ··· 28 25 SCons is an easier, more reliable and faster way to build 29 26 software. 30 27 ''; 28 + homepage = "https://scons.org/"; 29 + changelog = "https://raw.githubusercontent.com/SConsProject/scons/rel_${version}/src/CHANGES.txt"; 30 + license = licenses.mit; 31 31 platforms = platforms.all; 32 32 maintainers = [ maintainers.primeos ]; 33 33 };
+3 -3
pkgs/development/tools/build-managers/scons/default.nix
··· 1 - { callPackage }: 1 + { callPackage, python2Packages }: 2 2 3 3 let 4 4 mkScons = args: callPackage (import ./common.nix args) { }; 5 5 in { 6 - scons_3_0_1 = mkScons { 6 + scons_3_0_1 = (mkScons { 7 7 version = "3.0.1"; 8 8 sha256 = "0wzid419mlwqw9llrg8gsx4nkzhqy16m4m40r0xnh6cwscw5wir4"; 9 - }; 9 + }).override { python3Packages = python2Packages; }; 10 10 scons_latest = mkScons { 11 11 version = "3.1.2"; 12 12 sha256 = "1yzq2gg9zwz9rvfn42v5jzl3g4qf1khhny6zfbi2hib55zvg60bq";
-13
pkgs/development/tools/build-managers/scons/print-statements.patch
··· 1 - diff --git a/src/engine/SCons/Script/SConscript.py b/src/engine/SCons/Script/SConscript.py 2 - index 558e28f9..8fea9c4d 100644 3 - --- src/engine/SCons/Script/SConscript.py 4 - +++ src/engine/SCons/Script/SConscript.py 5 - @@ -5,8 +5,6 @@ 6 - 7 - """ 8 - 9 - -from __future__ import print_function 10 - - 11 - # 12 - # __COPYRIGHT__ 13 - #
+15 -5
pkgs/development/tools/build-managers/wafHook/setup-hook.sh
··· 11 11 fi 12 12 13 13 local flagsArray=( 14 - @crossFlags@ 15 14 "${flagsArray[@]}" 16 15 $wafConfigureFlags "${wafConfigureFlagsArray[@]}" 17 16 ${configureTargets:-configure} 18 17 ) 18 + if [ -z "${dontAddWafCrossFlags:-}" ]; then 19 + flagsArray+=(@crossFlags@) 20 + fi 19 21 echoCmd 'configure flags' "${flagsArray[@]}" 20 22 python "$wafPath" "${flagsArray[@]}" 21 23 22 24 runHook postConfigure 23 25 } 26 + 27 + if [ -z "${dontUseWafConfigure-}" -a -z "${configurePhase-}" ]; then 28 + configurePhase=wafConfigurePhase 29 + fi 24 30 25 31 wafBuildPhase () { 26 32 runHook preBuild ··· 41 47 runHook postBuild 42 48 } 43 49 50 + if [ -z "${dontUseWafBuild-}" -a -z "${buildPhase-}" ]; then 51 + buildPhase=wafBuildPhase 52 + fi 53 + 44 54 wafInstallPhase() { 45 55 runHook preInstall 46 56 ··· 51 61 local flagsArray=( 52 62 $wafFlags ${wafFlagsArray[@]} 53 63 $installFlags ${installFlagsArray[@]} 54 - ${installTargets:-install} 64 + ${installTargets:-install} 55 65 ) 56 66 57 67 echoCmd 'install flags' "${flagsArray[@]}" ··· 60 70 runHook postInstall 61 71 } 62 72 63 - configurePhase=wafConfigurePhase 64 - buildPhase=wafBuildPhase 65 - installPhase=wafInstallPhase 73 + if [ -z "${dontUseWafInstall-}" -a -z "${installPhase-}" ]; then 74 + installPhase=wafInstallPhase 75 + fi
-35
pkgs/development/tools/misc/elfutils/default.nix
··· 28 28 29 29 enableParallelBuilding = true; 30 30 31 - # This program does not cross-build fine. So I only cross-build some parts 32 - # I need for the linux perf tool. 33 - # On the awful cross-building: 34 - # http://comments.gmane.org/gmane.comp.sysutils.elfutils.devel/2005 35 - # 36 - # I wrote this testing for the nanonote. 37 - 38 - buildPhase = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 39 - pushd libebl 40 - make 41 - popd 42 - pushd libelf 43 - make 44 - popd 45 - pushd libdwfl 46 - make 47 - popd 48 - pushd libdw 49 - make 50 - popd 51 - ''; 52 - 53 - installPhase = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 54 - pushd libelf 55 - make install 56 - popd 57 - pushd libdwfl 58 - make install 59 - popd 60 - pushd libdw 61 - make install 62 - popd 63 - cp version.h $out/include 64 - ''; 65 - 66 31 doCheck = false; # fails 3 out of 174 tests 67 32 doInstallCheck = false; # fails 70 out of 174 tests 68 33
+1 -1
pkgs/development/tools/nsis/default.nix
··· 22 22 chmod -R u+w $out/share/nsis 23 23 ''; 24 24 25 - nativeBuildInputs = [ scons ]; 25 + nativeBuildInputs = [ scons.py2 ]; 26 26 buildInputs = [ zlib ]; 27 27 28 28 sconsFlags = [
+2 -2
pkgs/development/tools/profiling/sysprof/default.nix
··· 19 19 20 20 stdenv.mkDerivation rec { 21 21 pname = "sysprof"; 22 - version = "3.34.1"; 22 + version = "3.36.0"; 23 23 24 24 outputs = [ "out" "lib" "dev" ]; 25 25 26 26 src = fetchurl { 27 27 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 - sha256 = "1l4kr1av7933vb4zql9c5lgzivlw64hyky4nr8xin1v5if6vnjw4"; 28 + sha256 = "hnDbTaz3shnTDFdcRlsXyO1nJNut40fyzelUi/8DkQg="; 29 29 }; 30 30 31 31 nativeBuildInputs = [
+2 -2
pkgs/development/tools/sunxi-tools/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkgconfig, libusb, zlib }: 1 + { stdenv, fetchFromGitHub, pkgconfig, libusb1, zlib }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "sunxi-tools-20181113"; ··· 11 11 }; 12 12 13 13 nativeBuildInputs = [ pkgconfig ]; 14 - buildInputs = [ libusb zlib ]; 14 + buildInputs = [ libusb1 zlib ]; 15 15 16 16 makeFlags = [ "PREFIX=$(out)" ]; 17 17
+2 -2
pkgs/games/crispy-doom/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "crispy-doom"; 5 - version = "5.7"; 5 + version = "5.7.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "fabiangreffrath"; 9 9 repo = pname; 10 10 rev = "${pname}-${version}"; 11 - sha256 = "1m9bk7hp3d4sdd3y3isvf26rxya7511mnwyv99l2f80adbsv3nq2"; 11 + sha256 = "1gqivy4pxasy7phyznixsagylf9f70bk33b0knpfzzlks6cc6zzj"; 12 12 }; 13 13 14 14 postPatch = ''
+1 -1
pkgs/games/tdm/default.nix
··· 24 24 sha256 = "17wdpip8zvm2njz0xrf7xcxl73hnsc6i83zj18kn8rnjkpy50dd6"; 25 25 }; 26 26 nativeBuildInputs = [ 27 - p7zip scons gnum4 makeWrapper 27 + p7zip scons.py2 gnum4 makeWrapper 28 28 ]; 29 29 buildInputs = [ 30 30 glibc_multi mesa.dev xorg.libX11.dev openal
+2 -2
pkgs/games/vdrift/default.nix
··· 20 20 sha256 = "001wq3c4n9wzxqfpq40b1jcl16sxbqv2zbkpy9rq2wf9h417q6hg"; 21 21 }; 22 22 23 - nativeBuildInputs = [ pkgconfig ]; 24 - buildInputs = [ scons libGLU libGL SDL2 SDL2_image libvorbis bullet curl gettext ]; 23 + nativeBuildInputs = [ pkgconfig scons.py2 ]; 24 + buildInputs = [ libGLU libGL SDL2 SDL2_image libvorbis bullet curl gettext ]; 25 25 26 26 patches = [ ./0001-Ignore-missing-data-for-installation.patch ]; 27 27
+2 -2
pkgs/misc/drivers/utsushi/default.nix
··· 1 1 { stdenv, fetchFromGitLab, autoreconfHook, pkg-config, boost, gtkmm2 2 - , imagemagick, sane-backends, tesseract4, udev, libusb}: 2 + , imagemagick, sane-backends, tesseract4, udev, libusb1}: 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "utsushi"; ··· 23 23 imagemagick 24 24 sane-backends 25 25 udev.dev 26 - libusb.dev 26 + libusb1.dev 27 27 ]; 28 28 29 29 NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations -Wno-error=parentheses -Wno-error=unused-variable";
+2 -2
pkgs/misc/drivers/xboxdrv/default.nix
··· 13 13 }; 14 14 15 15 makeFlags = [ "PREFIX=$(out)" ]; 16 - nativeBuildInputs = [ pkgconfig ]; 17 - buildInputs = [ scons libX11 libusb1 boost glib dbus-glib ]; 16 + nativeBuildInputs = [ pkgconfig scons.py2 ]; 17 + buildInputs = [ libX11 libusb1 boost glib dbus-glib ]; 18 18 dontUseSconsInstall = true; 19 19 20 20 meta = with stdenv.lib; {
+2 -2
pkgs/misc/drivers/xow/default.nix
··· 1 - { stdenv, fetchFromGitHub, libusb }: 1 + { stdenv, fetchFromGitHub, libusb1 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "xow"; ··· 21 21 "SYSDDIR=${placeholder ''out''}/lib/systemd/system" 22 22 ]; 23 23 enableParallelBuilding = true; 24 - buildInputs = [ libusb ]; 24 + buildInputs = [ libusb1 ]; 25 25 26 26 meta = with stdenv.lib; { 27 27 homepage = "https://github.com/medusalix/xow";
+72 -15
pkgs/misc/emulators/dolphin-emu/default.nix
··· 1 - { stdenv, lib, fetchpatch, pkgconfig, cmake, bluez, ffmpeg, libao, gtk2, glib 2 - , libGLU, libGL , gettext, libpthreadstubs, libXrandr, libXext, readline 3 - , openal , libXdmcp, portaudio, fetchFromGitHub, libusb, libevdev 4 - , wxGTK30, soundtouch, miniupnpc, mbedtls, curl, lzo, sfml 5 - , libpulseaudio ? null }: 1 + { stdenv 2 + , lib 3 + , fetchpatch 4 + , pkgconfig 5 + , cmake 6 + , bluez 7 + , ffmpeg 8 + , libao 9 + , gtk2 10 + , glib 11 + , libGLU 12 + , libGL 13 + , gettext 14 + , libpthreadstubs 15 + , libXrandr 16 + , libXext 17 + , readline 18 + , openal 19 + , libXdmcp 20 + , portaudio 21 + , fetchFromGitHub 22 + , libusb1 23 + , libevdev 24 + , wxGTK30 25 + , soundtouch 26 + , miniupnpc 27 + , mbedtls 28 + , curl 29 + , lzo 30 + , sfml 31 + , libpulseaudio ? null 32 + }: 6 33 7 34 stdenv.mkDerivation rec { 8 35 pname = "dolphin-emu"; 9 36 version = "5.0"; 10 37 11 38 src = fetchFromGitHub { 12 - owner = "dolphin-emu"; 13 - repo = "dolphin"; 14 - rev = version; 39 + owner = "dolphin-emu"; 40 + repo = "dolphin"; 41 + rev = version; 15 42 sha256 = "07mlfnh0hwvk6xarcg315x7z2j0qbg9g7cm040df9c8psiahc3g6"; 16 43 }; 17 44 ··· 44 71 45 72 enableParallelBuilding = true; 46 73 47 - nativeBuildInputs = [ pkgconfig ]; 48 - buildInputs = [ cmake bluez ffmpeg libao libGLU libGL gtk2 glib 49 - gettext libpthreadstubs libXrandr libXext readline openal 50 - libevdev libXdmcp portaudio libusb libpulseaudio 51 - libevdev libXdmcp portaudio libusb libpulseaudio 52 - wxGTK30 soundtouch miniupnpc mbedtls curl lzo sfml ]; 74 + nativeBuildInputs = [ 75 + pkgconfig 76 + cmake 77 + ]; 78 + 79 + buildInputs = [ 80 + bluez 81 + ffmpeg 82 + libao 83 + libGLU 84 + libGL 85 + gtk2 86 + glib 87 + gettext 88 + libpthreadstubs 89 + libXrandr 90 + libXext 91 + readline 92 + openal 93 + libevdev 94 + libXdmcp 95 + portaudio 96 + libpulseaudio 97 + libevdev 98 + libXdmcp 99 + portaudio 100 + libusb1 101 + libpulseaudio 102 + wxGTK30 103 + soundtouch 104 + miniupnpc 105 + mbedtls 106 + curl 107 + lzo 108 + sfml 109 + ]; 53 110 54 111 meta = with lib; { 55 - homepage = https://dolphin-emu.org/; 112 + homepage = "https://dolphin-emu.org/"; 56 113 description = "Gamecube/Wii/Triforce emulator for x86_64 and ARMv8"; 57 114 license = licenses.gpl2Plus; 58 115 maintainers = with maintainers; [ MP2E ashkitten ];
+2 -2
pkgs/misc/emulators/dolphin-emu/master.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, makeDesktopItem, pkgconfig, cmake 2 2 , wrapQtAppsHook, qtbase, bluez, ffmpeg, libao, libGLU, libGL, pcre, gettext 3 - , libXrandr, libusb, lzo, libpthreadstubs, libXext, libXxf86vm, libXinerama 3 + , libXrandr, libusb1, lzo, libpthreadstubs, libXext, libXxf86vm, libXinerama 4 4 , libSM, libXdmcp, readline, openal, udev, libevdev, portaudio, curl, alsaLib 5 5 , miniupnpc, enet, mbedtls, soundtouch, sfml 6 6 , vulkan-loader ? null, libpulseaudio ? null ··· 37 37 buildInputs = [ 38 38 curl ffmpeg libao libGLU libGL pcre gettext libpthreadstubs libpulseaudio 39 39 libXrandr libXext libXxf86vm libXinerama libSM readline openal libXdmcp lzo 40 - portaudio libusb libpng hidapi miniupnpc enet mbedtls soundtouch sfml 40 + portaudio libusb1 libpng hidapi miniupnpc enet mbedtls soundtouch sfml 41 41 qtbase 42 42 ] ++ lib.optionals stdenv.isLinux [ 43 43 bluez udev libevdev alsaLib vulkan-loader
+1 -1
pkgs/misc/frescobaldi/default.nix
··· 1 1 { lib, buildPythonApplication, fetchFromGitHub, python3Packages, pyqtwebengine, lilypond }: 2 2 3 3 buildPythonApplication rec { 4 - name = "frescobaldi-${version}"; 4 + pname = "frescobaldi"; 5 5 version = "3.1.1"; 6 6 7 7 src = fetchFromGitHub {
-19
pkgs/os-specific/linux/apparmor/cross.patch
··· 1 - --- a/parser/libapparmor_re/Makefile 2018-10-14 07:38:06.000000000 +0800 2 - +++ b/parser/libapparmor_re/Makefile 2019-06-28 16:16:33.741916660 +0800 3 - @@ -10,6 +10,7 @@ 4 - 5 - TARGET=libapparmor_re.a 6 - 7 - +AR ?= ar 8 - CFLAGS ?= -g -Wall -O2 ${EXTRA_CFLAGS} -std=gnu++0x 9 - CXXFLAGS := ${CFLAGS} ${INCLUDE_APPARMOR} 10 - 11 - @@ -22,7 +23,7 @@ 12 - UNITTESTS = tst_parse 13 - 14 - libapparmor_re.a: parse.o expr-tree.o hfa.o chfa.o aare_rules.o 15 - - ar ${ARFLAGS} $@ $^ 16 - + ${AR} ${ARFLAGS} $@ $^ 17 - 18 - expr-tree.o: expr-tree.cc expr-tree.h 19 -
+2 -9
pkgs/os-specific/linux/apparmor/default.nix
··· 14 14 15 15 let 16 16 apparmor-series = "2.13"; 17 - apparmor-patchver = "3"; 17 + apparmor-patchver = "4"; 18 18 apparmor-version = apparmor-series + "." + apparmor-patchver; 19 19 20 20 apparmor-meta = component: with stdenv.lib; { ··· 27 27 28 28 apparmor-sources = fetchurl { 29 29 url = "https://launchpad.net/apparmor/${apparmor-series}/${apparmor-version}/+download/apparmor-${apparmor-version}.tar.gz"; 30 - sha256 = "0fbnk9fzjsffwcijsv2wwykmybvfdckpqk99qlib3kb89him6w16"; 30 + sha256 = "03nislxccnbxld89giak2s8xa4mdbwscfxbdwhmw5qpvgz08dgwh"; 31 31 }; 32 32 33 33 prePatchCommon = '' ··· 49 49 sha256 = "1m4dx901biqgnr4w4wz8a2z9r9dxyw7wv6m6mqglqwf2lxinqmp4"; 50 50 }) 51 51 # (alpine patches {1,4,5,6,8} are needed for apparmor 2.11, but not 2.12) 52 - ] ++ [ 53 - ./cross.patch 54 - # Support Python 3.8 55 - (fetchpatch { 56 - url = https://gitlab.com/apparmor/apparmor/commit/ccbf1e0bf1bf5c3bbab47029fbbc5415ef73bac1.patch; 57 - sha256 = "0kfzc0wyjybj38n10yvwakaaqvglalzigd3kk7gcrbp1xdn70pq2"; 58 - }) 59 52 ]; 60 53 61 54 # Set to `true` after the next FIXME gets fixed or this gets some
+1 -1
pkgs/os-specific/linux/bcc/default.nix
··· 4 4 }: 5 5 6 6 python.pkgs.buildPythonApplication rec { 7 + pname = "bcc"; 7 8 version = "0.13.0"; 8 - name = "bcc-${version}"; 9 9 10 10 src = fetchurl { 11 11 url = "https://github.com/iovisor/bcc/releases/download/v${version}/bcc-src-with-submodule.tar.gz";
+2 -2
pkgs/os-specific/linux/bluez/default.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "bluez"; 18 - version = "5.53"; 18 + version = "5.54"; 19 19 20 20 src = fetchurl { 21 21 url = "mirror://kernel/linux/bluetooth/${pname}-${version}.tar.xz"; 22 - sha256 = "1g1qg6dz6hl3csrmz75ixr12lwv836hq3ckb259svvrg62l2vaiq"; 22 + sha256 = "1p2ncvjz6alr9n3l5wvq2arqgc7xjs6dqyar1l9jp0z8cfgapkb8"; 23 23 }; 24 24 25 25 pythonPath = with python3.pkgs; [
+9 -1
pkgs/os-specific/linux/ffado/default.nix
··· 43 43 44 44 outputs = [ "out" "bin" "dev" ]; 45 45 46 - nativeBuildInputs = [ desktop-file-utils scons pkgconfig which python pyqt5 wrapQtAppsHook ]; 46 + nativeBuildInputs = [ 47 + desktop-file-utils 48 + scons.py2 49 + pkgconfig 50 + which 51 + python 52 + pyqt5 53 + wrapQtAppsHook 54 + ]; 47 55 48 56 prefixKey = "PREFIX="; 49 57 sconsFlags = [
+2 -2
pkgs/os-specific/linux/iproute/default.nix
··· 1 - { fetchurl, stdenv, flex, bash, bison, db, iptables, pkgconfig, libelf }: 1 + { fetchurl, stdenv, flex, bash, bison, db, iptables, pkgconfig, libelf, libmnl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "iproute2"; ··· 36 36 "CONFDIR=$(out)/etc/iproute2" 37 37 ]; 38 38 39 - buildInputs = [ db iptables libelf ]; 39 + buildInputs = [ db iptables libelf libmnl ]; 40 40 nativeBuildInputs = [ bison flex pkgconfig ]; 41 41 42 42 enableParallelBuilding = true;
+2 -2
pkgs/os-specific/linux/net-tools/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "net-tools"; 5 - version = "1.60_p20170221182432"; 5 + version = "1.60_p20180626073013"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz"; 9 - sha256 = "08r4r2a24g5bm8jwgfa998gs1fld7fgbdf7pilrpsw1m974xn04a"; 9 + sha256 = "0mzsjjmz5kn676w2glmxwwd8bj0xy9dhhn21aplb435b767045q4"; 10 10 }; 11 11 12 12 preBuild =
+24 -26
pkgs/os-specific/linux/plymouth/default.nix
··· 26 26 -e "s#plymouththemedir=.*#plymouththemedir=/etc/plymouth/themes#" \ 27 27 -e "s#plymouthpolicydir=.*#plymouthpolicydir=/etc/plymouth/#" \ 28 28 configure.ac 29 + ''; 29 30 30 - configureFlags=" 31 - --prefix=$out 32 - --bindir=$out/bin 33 - --sbindir=$out/sbin 34 - --exec-prefix=$out 35 - --libdir=$out/lib 36 - --libexecdir=$out/lib 37 - --sysconfdir=/etc 38 - --with-systemdunitdir=$out/etc/systemd/system 39 - --localstatedir=/var 40 - --with-logo=/etc/plymouth/logo.png 41 - --with-background-color=0x000000 42 - --with-background-start-color-stop=0x000000 43 - --with-background-end-color-stop=0x000000 44 - --with-release-file=/etc/os-release 45 - --without-system-root-install 46 - --without-rhgb-compat-link 47 - --enable-tracing 48 - --enable-systemd-integration 49 - --enable-pango 50 - --enable-gdm-transition 51 - --enable-gtk" 31 + configureFlags = [ 32 + "--sysconfdir=/etc" 33 + "--with-systemdunitdir=${placeholder "out"}/etc/systemd/system" 34 + "--localstatedir=/var" 35 + "--with-logo=/etc/plymouth/logo.png" 36 + "--with-background-color=0x000000" 37 + "--with-background-start-color-stop=0x000000" 38 + "--with-background-end-color-stop=0x000000" 39 + "--with-release-file=/etc/os-release" 40 + "--without-system-root-install" 41 + "--without-rhgb-compat-link" 42 + "--enable-tracing" 43 + "--enable-systemd-integration" 44 + "--enable-pango" 45 + "--enable-gdm-transition" 46 + "--enable-gtk" 47 + ]; 52 48 53 - installFlags=" 54 - plymouthd_defaultsdir=$out/share/plymouth 55 - plymouthd_confdir=$out/etc/plymouth" 56 - ''; 49 + configurePlatforms = [ "host" ]; 50 + 51 + installFlags = [ 52 + "plymouthd_defaultsdir=$(out)/share/plymouth" 53 + "plymouthd_confdir=$(out)/etc/plymouth" 54 + ]; 57 55 58 56 meta = with stdenv.lib; { 59 57 homepage = http://www.freedesktop.org/wiki/Software/Plymouth;
+2 -7
pkgs/os-specific/linux/rdma-core/default.nix
··· 4 4 } : 5 5 6 6 let 7 - version = "27.0"; 7 + version = "28.0"; 8 8 9 9 in stdenv.mkDerivation { 10 10 pname = "rdma-core"; ··· 14 14 owner = "linux-rdma"; 15 15 repo = "rdma-core"; 16 16 rev = "v${version}"; 17 - sha256 = "04mhcrcmbwxcjhswlkhnr6m5nl2389jgjv6aqhd4v0x555cwnfvw"; 17 + sha256 = "0az2is6p5gkyphi2b978kwn7knry60y33kn6p7cxz49ca79a42cy"; 18 18 }; 19 19 20 20 nativeBuildInputs = [ cmake pkgconfig pandoc docutils makeWrapper ]; ··· 26 26 ]; 27 27 28 28 postPatch = '' 29 - substituteInPlace providers/rxe/rxe_cfg.in \ 30 - --replace ethtool "${ethtool}/bin/ethtool" \ 31 - --replace 'ip addr' "${iproute}/bin/ip addr" \ 32 - --replace 'ip link' "${iproute}/bin/ip link" 33 - 34 29 substituteInPlace srp_daemon/srp_daemon.sh.in \ 35 30 --replace /bin/rm rm 36 31 '';
+7 -1
pkgs/os-specific/linux/udisks/2-default.nix
··· 1 - { stdenv, fetchFromGitHub, substituteAll, libtool, pkgconfig, gettext, gnused 1 + { stdenv, fetchFromGitHub, fetchpatch, substituteAll, libtool, pkgconfig, gettext, gnused 2 2 , gtk-doc, acl, systemd, glib, libatasmart, polkit, coreutils, bash, which 3 3 , expat, libxslt, docbook_xsl, utillinux, mdadm, libgudev, libblockdev, parted 4 4 , gobject-introspection, docbook_xml_dtd_412, docbook_xml_dtd_43, autoconf, automake ··· 36 36 btrfs-progs coreutils dosfstools e2fsprogs exfat f2fs-tools nilfs-utils 37 37 xfsprogs ntfs3g parted utillinux 38 38 ]; 39 + }) 40 + 41 + # Fix tests: https://github.com/storaged-project/udisks/issues/724 42 + (fetchpatch { 43 + url = "https://github.com/storaged-project/udisks/commit/60a0c1c967821d317046d9494e45b9a8e4e7a1c1.patch"; 44 + sha256 = "tWl49mSc1zDyB3kV6SKlhHFPi/Kg7mg6OWDlY7vGj2Y="; 39 45 }) 40 46 ]; 41 47
+4 -3
pkgs/servers/amqp/qpid-cpp/default.nix
··· 1 1 { stdenv, fetchurl, cmake, python2, boost, libuuid, ruby, buildEnv, buildPythonPackage, qpid-python }: 2 2 3 3 let 4 - name = "qpid-cpp-${version}"; 4 + pname = "qpid-cpp"; 5 + name = "${pname}-${version}"; 5 6 version = "1.39.0"; 6 7 7 8 src = fetchurl { ··· 20 21 }; 21 22 22 23 qpid-cpp = stdenv.mkDerivation { 23 - inherit src meta name; 24 + inherit src meta pname version; 24 25 25 26 nativeBuildInputs = [ cmake ]; 26 27 buildInputs = [ boost libuuid ruby python2 ]; ··· 46 47 }; 47 48 48 49 python-frontend = buildPythonPackage { 49 - inherit name meta src; 50 + inherit pname version meta src; 50 51 51 52 sourceRoot = "${name}/management/python"; 52 53
+1 -1
pkgs/servers/gpsd/default.nix
··· 17 17 }; 18 18 19 19 nativeBuildInputs = [ 20 - scons pkgconfig docbook_xml_dtd_412 docbook_xsl xmlto bc 20 + scons.py2 pkgconfig docbook_xml_dtd_412 docbook_xsl xmlto bc 21 21 python2Packages.python 22 22 python2Packages.wrapPython 23 23 ];
+1 -1
pkgs/servers/headphones/default.nix
··· 1 1 { stdenv, fetchFromGitHub, python2, makeWrapper }: 2 2 3 3 python2.pkgs.buildPythonApplication rec { 4 - name = "headphones-${version}"; 4 + pname = "headphones"; 5 5 version = "0.5.19"; 6 6 7 7 src = fetchFromGitHub {
+3 -3
pkgs/servers/http/hyp/default.nix
··· 1 1 { stdenv, fetchurl, python3Packages }: 2 2 3 3 python3Packages.buildPythonPackage rec { 4 - name = "hyp-server-${version}"; 4 + pname = "hyp-server"; 5 5 version = "1.2.0"; 6 6 7 - src = fetchurl { 8 - url = "mirror://pypi/h/hyp-server/${name}.tar.gz"; 7 + src = python3Packages.fetchPypi { 8 + inherit pname version; 9 9 sha256 = "1lafjdcn9nnq6xc3hhyizfwh6l69lc7rixn6dx65aq71c913jc15"; 10 10 }; 11 11
+1 -1
pkgs/servers/nosql/mongodb/mongodb.nix
··· 32 32 inherit sha256; 33 33 }; 34 34 35 - nativeBuildInputs = [ scons ]; 35 + nativeBuildInputs = [ scons.py2 ]; 36 36 buildInputs = [ 37 37 boost 38 38 curl
+1 -1
pkgs/servers/sickbeard/sickrage.nix
··· 1 1 { stdenv, fetchFromGitHub, python2, makeWrapper }: 2 2 3 3 python2.pkgs.buildPythonApplication rec { 4 - name = "sickrage-${version}"; 4 + pname = "sickrage"; 5 5 version = "v2018.07.21-1"; 6 6 7 7 src = fetchFromGitHub {
+4 -1
pkgs/tools/X11/arandr/default.nix
··· 5 5 6 6 let 7 7 inherit (python3Packages) buildPythonApplication docutils pygobject3; 8 + pname = "arandr"; 9 + version = "0.1.10"; 10 + name = "${pname}-${version}"; 8 11 in buildPythonApplication rec { 9 - name = "arandr-0.1.10"; 12 + inherit pname version; 10 13 11 14 src = fetchurl { 12 15 url = "https://christian.amsuess.com/tools/arandr/files/${name}.tar.gz";
+3 -10
pkgs/tools/admin/azure-cli/python-packages.nix
··· 11 11 ''; 12 12 13 13 # Prevent these __init__'s from violating PEP420, only needed for python2 14 - postInstall = (attrs.postInstall or "") + '' 15 - rm $out/${python.sitePackages}/azure/{,__pycache__/}__init__.* \ 16 - $out/${python.sitePackages}/azure/cli/{,__pycache__/}__init__.* 17 - ''; 14 + pythonNamespaces = [ "azure.cli" ]; 18 15 19 16 checkInputs = [ mock pytest ] ++ (attrs.checkInputs or []); 20 17 checkPhase = attrs.checkPhase or '' ··· 39 36 ''; 40 37 41 38 # force PEP420 42 - postInstall = '' 43 - rm -f $out/${py.sitePackages}/azure/{,mgmt/}__init__.py 44 - ''; 39 + pythonNamespaces = [ "azure.mgmt" ]; 45 40 }); 46 41 47 42 py = python.override { ··· 277 272 propagatedBuildInputs = with self; [ 278 273 azure-common azure-nspkg msrest msrestazure cryptography 279 274 ]; 280 - postInstall = '' 281 - rm -f $out/${self.python.sitePackages}/azure/__init__.py 282 - ''; 275 + pythonNamespaces = [ "azure" ]; 283 276 pythonImportsCheck = [ ]; 284 277 }); 285 278
+2 -1
pkgs/tools/admin/bubblewrap/default.nix
··· 9 9 sha256 = "00ycgi6q2yngh06bnz50wkvar6r2jnjf3j158grhi9k13jdrpimr"; 10 10 }; 11 11 12 - nativeBuildInputs = [ libcap libxslt docbook_xsl ]; 12 + nativeBuildInputs = [ libxslt docbook_xsl ]; 13 + buildInputs = [ libcap ]; 13 14 14 15 meta = with stdenv.lib; { 15 16 description = "Unprivileged sandboxing tool";
+3 -11
pkgs/tools/compression/lz4/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "lz4"; 7 - version = "1.9.1"; 7 + version = "1.9.2"; 8 8 9 9 src = fetchFromGitHub { 10 - sha256 = "1l1caxrik1hqs40vj3bpv1pikw6b74cfazv5c0v6g48zpcbmshl0"; 10 + sha256 = "0lpaypmk70ag2ks3kf2dl4ac3ba40n5kc1ainkp9wfjawz76mh61"; 11 11 rev = "v${version}"; 12 12 repo = pname; 13 13 owner = pname; 14 14 }; 15 - 16 - patches = [ 17 - # Fix detection of Darwin 18 - (fetchpatch { 19 - url = "https://github.com/lz4/lz4/commit/024216ef7394b6411eeaa5b52d0cec9953a44249.patch"; 20 - sha256 = "0j0j2pr6pkplxf083hlwl5q4cfp86q3wd8mc64bcfcr7ysc5pzl3"; 21 - }) 22 - ]; 23 15 24 16 # TODO(@Ericson2314): Separate binaries and libraries 25 17 outputs = [ "bin" "out" "dev" ]; ··· 61 53 multiple GB/s per core, typically reaching RAM speed limits on 62 54 multi-core systems. 63 55 ''; 64 - homepage = https://lz4.github.io/lz4/; 56 + homepage = "https://lz4.github.io/lz4/"; 65 57 license = with licenses; [ bsd2 gpl2Plus ]; 66 58 platforms = platforms.all; 67 59 };
+3 -3
pkgs/tools/compression/xz/default.nix
··· 1 1 { stdenv, fetchurl, enableStatic ? false }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "xz-5.2.4"; 4 + name = "xz-5.2.5"; 5 5 6 6 src = fetchurl { 7 7 url = "https://tukaani.org/xz/${name}.tar.bz2"; 8 - sha256 = "1gxpayfagb4v7xfhs2w6h7k56c6hwwav1rk48bj8hggljlmgs4rk"; 8 + sha256 = "1ps2i8i212n0f4xpq6clp7h13q7m1y8slqvxha9i8d0bj0qgj5si"; 9 9 }; 10 10 11 11 outputs = [ "bin" "dev" "out" "man" "doc" ]; ··· 25 25 postInstall = "rm -rf $out/share/doc"; 26 26 27 27 meta = with stdenv.lib; { 28 - homepage = https://tukaani.org/xz/; 28 + homepage = "https://tukaani.org/xz/"; 29 29 description = "XZ, general-purpose data compression software, successor of LZMA"; 30 30 31 31 longDescription =
+15
pkgs/tools/filesystems/davfs2/default.nix
··· 1 1 { stdenv 2 2 , fetchurl 3 + , fetchpatch 4 + , autoreconfHook 3 5 , neon 4 6 , procps 5 7 , substituteAll ··· 14 16 sha256 = "00fqadhmhi2bmdar5a48nicmjcagnmaj9wgsvjr6cffmrz6pcx21"; 15 17 }; 16 18 19 + nativeBuildInputs = [ 20 + autoreconfHook # neon-0.31.patch requires reconfiguration 21 + ]; 22 + 17 23 buildInputs = [ neon zlib ]; 18 24 19 25 patches = [ ··· 22 28 (substituteAll { 23 29 src = ./0001-umount_davfs-substitute-ps-command.patch; 24 30 ps = "${procps}/bin/ps"; 31 + }) 32 + 33 + # Fix build with neon 0.31 34 + # http://savannah.nongnu.org/bugs/?58101 35 + (fetchpatch { 36 + name = "neon-0.31.patch"; 37 + url = "http://savannah.nongnu.org/bugs/download.php?file_id=48737"; 38 + sha256 = "EtQfcstWkn8AcbZo93midGt076gq20AvGGJyQ3FO/YQ="; 39 + extraPrefix = ""; # empty means add 'a/' and 'b/' 25 40 }) 26 41 ]; 27 42
+2 -2
pkgs/tools/misc/ddcutil/default.nix
··· 1 1 { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig 2 - , glib, i2c-tools, udev, libgudev, libusb, libdrm, xorg }: 2 + , glib, i2c-tools, udev, libgudev, libusb1, libdrm, xorg }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "ddcutil"; ··· 15 15 nativeBuildInputs = [ autoreconfHook pkgconfig ]; 16 16 buildInputs = [ 17 17 i2c-tools udev libgudev 18 - glib libusb libdrm xorg.libXrandr 18 + glib libusb1 libdrm xorg.libXrandr 19 19 ]; 20 20 21 21 meta = with stdenv.lib; {
+1 -1
pkgs/tools/misc/gringo/default.nix
··· 16 16 sha256 = "16k4pkwyr2mh5w8j91vhxh9aff7f4y31npwf09w6f8q63fxvpy41"; 17 17 }; 18 18 19 - buildInputs = [ bison re2c scons ]; 19 + buildInputs = [ bison re2c scons.py2 ]; 20 20 21 21 patches = [ 22 22 ./gringo-4.5.4-cmath.patch
+2 -2
pkgs/tools/misc/mimeo/default.nix
··· 1 1 { stdenv, fetchurl, desktop-file-utils, file, python3Packages }: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 - name = "mimeo-${version}"; 4 + pname = "mimeo"; 5 5 version = "2019.7"; 6 6 7 7 src = fetchurl { 8 - url = "https://xyne.archlinux.ca/projects/mimeo/src/${name}.tar.xz"; 8 + url = "https://xyne.archlinux.ca/projects/mimeo/src/${pname}-${version}.tar.xz"; 9 9 sha256 = "0nzn7qvmpbb17d6q16llnhz1qdmyg718q59ic4gw2rq23cd6q47r"; 10 10 }; 11 11
+4 -2
pkgs/tools/misc/rpm-ostree/default.nix
··· 83 83 pcre 84 84 check 85 85 python 86 - # libdnf 86 + 87 + # libdnf # vendored unstable branch 88 + # required by vendored libdnf 87 89 json_c 88 90 zchunk 89 91 libmodulemd_1 90 - utillinux 92 + utillinux # for smartcols.pc 91 93 sqlite 92 94 cppunit 93 95 ];
+1 -2
pkgs/tools/misc/trash-cli/default.nix
··· 2 2 , python3Packages, substituteAll }: 3 3 4 4 python3Packages.buildPythonApplication rec { 5 - name = "trash-cli-${version}"; 5 + pname = "trash-cli"; 6 6 version = "0.17.1.14"; 7 - namePrefix = ""; 8 7 9 8 src = fetchFromGitHub { 10 9 owner = "andreafrancia";
+2 -2
pkgs/tools/misc/uhubctl/default.nix
··· 1 1 { stdenv 2 2 , fetchFromGitHub 3 - , libusb 3 + , libusb1 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { ··· 14 14 sha256 = "1cgmwsf68g49k6q4jvz073bpjhg5p73kk1a4kbgkxmvx01gmbcmq"; 15 15 }; 16 16 17 - buildInputs = [ libusb ]; 17 + buildInputs = [ libusb1 ]; 18 18 19 19 installFlags = [ "prefix=${placeholder "out"}" ]; 20 20 meta = with stdenv.lib; {
+1 -1
pkgs/tools/misc/unicode/default.nix
··· 1 1 { stdenv, fetchFromGitHub, fetchurl, python3Packages }: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 - name = "unicode-${version}"; 4 + pname = "unicode"; 5 5 version = "2.6"; 6 6 7 7 src = fetchFromGitHub {
+2 -2
pkgs/tools/networking/network-manager/default.nix
··· 10 10 pythonForDocs = python3.withPackages (pkgs: with pkgs; [ pygobject3 ]); 11 11 in stdenv.mkDerivation rec { 12 12 pname = "network-manager"; 13 - version = "1.22.8"; 13 + version = "1.22.10"; 14 14 15 15 src = fetchurl { 16 16 url = "mirror://gnome/sources/NetworkManager/${stdenv.lib.versions.majorMinor version}/NetworkManager-${version}.tar.xz"; 17 - sha256 = "0kxbgln78lb1cxhd79vbpdbncsb0cppr15fycgqb9df6f8nbj4cm"; 17 + sha256 = "0xyaizyp3yz6x3pladw3nvl3hf4n5g140zx9jnxfp9qvag0wqa9b"; 18 18 }; 19 19 20 20 outputs = [ "out" "dev" "devdoc" "man" "doc" ];
+2 -2
pkgs/tools/networking/unbound/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "unbound"; 5 - version = "1.9.5"; 5 + version = "1.10.0"; 6 6 7 7 src = fetchurl { 8 8 url = "https://unbound.net/downloads/${pname}-${version}.tar.gz"; 9 - sha256 = "0myv8l886gmlh9nh4j3q5549idxnl51hf9cw20yxfqbwd47l13ca"; 9 + sha256 = "0mg9divpysr42sp0m693a70693dp8025v6c9dv1yabr4g1jlhbqm"; 10 10 }; 11 11 12 12 # https://github.com/NLnetLabs/unbound/pull/90
+34 -6
pkgs/tools/security/acsccid/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, flex, perl, pkgconfig, pcsclite, libusb, libiconv }: 1 + { stdenv 2 + , fetchFromGitHub 3 + , autoconf 4 + , automake 5 + , libtool 6 + , gettext 7 + , flex 8 + , perl 9 + , pkgconfig 10 + , pcsclite 11 + , libusb1 12 + , libiconv 13 + }: 2 14 3 15 stdenv.mkDerivation rec { 4 16 version = "1.1.8"; ··· 11 23 sha256 = "12aahrvsk21qgpjwcrr01s742ixs44nmjkvcvqyzhqb307x1rrn3"; 12 24 }; 13 25 14 - doCheck = true; 26 + nativeBuildInputs = [ 27 + pkgconfig 28 + autoconf 29 + automake 30 + libtool 31 + gettext 32 + flex 33 + perl 34 + ]; 15 35 16 - nativeBuildInputs = [ pkgconfig ]; 17 - buildInputs = [ pcsclite libusb autoconf automake libtool gettext flex perl ] 18 - ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ]; 36 + buildInputs = [ 37 + pcsclite 38 + libusb1 39 + ] ++ stdenv.lib.optionals stdenv.isDarwin [ 40 + libiconv 41 + ]; 42 + 43 + configureFlags = [ 44 + "--enable-usbdropdir=${placeholder "out"}/pcsc/drivers" 45 + ]; 46 + 47 + doCheck = true; 19 48 20 49 postPatch = '' 21 50 sed -e s_/bin/echo_echo_g -i src/Makefile.am ··· 29 58 autoheader 30 59 automake --force-missing --add-missing 31 60 autoconf 32 - configureFlags="$configureFlags --enable-usbdropdir=$out/pcsc/drivers" 33 61 ''; 34 62 35 63 meta = with stdenv.lib; {
+1 -1
pkgs/tools/security/chipsec/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, pythonPackages, nasm, libelf 2 2 , kernel ? null, withDriver ? false }: 3 3 pythonPackages.buildPythonApplication rec { 4 - name = "chipsec-${version}"; 4 + pname = "chipsec"; 5 5 version = "1.4.7"; 6 6 7 7 src = fetchFromGitHub {
+2 -2
pkgs/tools/security/gnupg/22.nix
··· 16 16 stdenv.mkDerivation rec { 17 17 pname = "gnupg"; 18 18 19 - version = "2.2.19"; 19 + version = "2.2.20"; 20 20 21 21 src = fetchurl { 22 22 url = "mirror://gnupg/gnupg/${pname}-${version}.tar.bz2"; 23 - sha256 = "1h6yx6sdpz3lf9gdppgxqcf73baynr8gflmh43286fkgw3058994"; 23 + sha256 = "0c6a4v9p6qzhsw1pfcwc459bxpc8hma0w9z8iqb9khvligack9q4"; 24 24 }; 25 25 26 26 depsBuildBuild = [ buildPackages.stdenv.cc ];
+4 -3
pkgs/tools/security/knockknock/default.nix
··· 1 1 { stdenv, fetchFromGitHub, python2Packages, hping }: 2 - 3 - python2Packages.buildPythonApplication rec { 2 + let 4 3 rev = "bf14bbff"; 5 - name = "knockknock-r${rev}"; 4 + in python2Packages.buildPythonApplication rec { 5 + pname = "knockknock-r"; 6 + version = rev; 6 7 7 8 src = fetchFromGitHub { 8 9 inherit rev;
+3 -3
pkgs/tools/security/neopg/default.nix
··· 7 7 , curl 8 8 , gettext 9 9 , pkgconfig 10 - , libusb 10 + , libusb1 11 11 , gnutls }: 12 12 13 13 stdenv.mkDerivation rec { ··· 22 22 fetchSubmodules = true; 23 23 }; 24 24 25 - nativeBuildInputs = [ pkgconfig ]; 25 + nativeBuildInputs = [ cmake gettext pkgconfig ]; 26 26 27 - buildInputs = [ cmake sqlite botan2 boost curl gettext libusb gnutls ]; 27 + buildInputs = [ sqlite botan2 boost curl libusb1 gnutls ]; 28 28 29 29 doCheck = true; 30 30 checkTarget = "test";
+3 -3
pkgs/tools/security/sshuttle/default.nix
··· 2 2 , coreutils, iptables, nettools, openssh, procps }: 3 3 4 4 python3Packages.buildPythonApplication rec { 5 - name = "sshuttle-${version}"; 5 + pname = "sshuttle"; 6 6 version = "0.78.5"; 7 7 8 - src = fetchurl { 8 + src = python3Packages.fetchPypi { 9 + inherit pname version; 9 10 sha256 = "0vp13xwrhx4m6zgsyzvai84lkq9mzkaw47j58dk0ll95kaymk2x8"; 10 - url = "mirror://pypi/s/sshuttle/${name}.tar.gz"; 11 11 }; 12 12 13 13 patches = [ ./sudo.patch ];
+4 -4
pkgs/tools/security/sudo/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "sudo"; 9 - version = "1.8.31"; 9 + version = "1.8.31p1"; 10 10 11 11 src = fetchurl { 12 - url = "ftp://ftp.sudo.ws/pub/sudo/${pname}-${version}.tar.gz"; 13 - sha256 = "0ks5mm9hda5idivncyfpiz4lrd8fv0dpmsl711788k7f7ixdka3y"; 12 + url = "https://www.sudo.ws/dist/${pname}-${version}.tar.gz"; 13 + sha256 = "1n0mdmgcs92af34xxsnsh1arrngymhdmwd9srjgjbk65q7xzsg67"; 14 14 }; 15 15 16 16 prePatch = '' ··· 72 72 providing an audit trail of the commands and their arguments. 73 73 ''; 74 74 75 - homepage = https://www.sudo.ws/; 75 + homepage = "https://www.sudo.ws/"; 76 76 77 77 license = https://www.sudo.ws/sudo/license.html; 78 78
+2 -2
pkgs/tools/typesetting/rubber/default.nix
··· 1 1 { fetchurl, stdenv, python3Packages, texinfo }: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 - name = "rubber-${version}"; 4 + pname = "rubber"; 5 5 version = "1.5.1"; 6 6 7 7 src = fetchurl { 8 - url = "https://launchpad.net/rubber/trunk/${version}/+download/${name}.tar.gz"; 8 + url = "https://launchpad.net/rubber/trunk/${version}/+download/${pname}-${version}.tar.gz"; 9 9 sha256 = "178dmrp0mza5gqjiqgk6dqs0c10s0c517pk6k9pjbam86vf47a1p"; 10 10 }; 11 11
+3 -3
pkgs/tools/video/vnc2flv/default.nix
··· 1 1 { stdenv, fetchurl, pythonPackages }: 2 2 3 3 pythonPackages.buildPythonApplication rec { 4 - name = "vnc2flv-20100207"; 5 - namePrefix = ""; 4 + pname = "vnc2flv"; 5 + version = "20100207"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://pypi/v/vnc2flv/${name}.tar.gz"; 8 + url = "mirror://pypi/v/vnc2flv/${pname}-${version}.tar.gz"; 9 9 sha256 = "14d4nm8yim0bm0nd3wyj7z4zdsg5zk3d9bhhvwdc36x03r8d0sbq"; 10 10 }; 11 11
+2 -2
pkgs/tools/virtualization/euca2ools/default.nix
··· 3 3 let 4 4 inherit (python2Packages) buildPythonApplication boto m2crypto; 5 5 in buildPythonApplication { 6 - name = "euca2ools-2.1.4"; 7 - namePrefix = ""; 6 + pname = "euca2ools"; 7 + version = "2.1.4"; 8 8 9 9 src = fetchgit { 10 10 url = https://github.com/eucalyptus/euca2ools.git;
+1
pkgs/top-level/aliases.nix
··· 221 221 libcanberra_gtk3 = libcanberra-gtk3; # added 2018-02-25 222 222 libcap_manpages = libcap.doc; # added 2016-04-29 223 223 libcap_pam = if stdenv.isLinux then libcap.pam else null; # added 2016-04-29 224 + libcroco = throw "libcroco has been removed as it's no longer used in any derivations."; # added 2020-03-04 224 225 libindicate = throw "libindacate has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10 225 226 libindicate-gtk3 = throw "libindacate-gtk2 has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10 226 227 libindicate-gtk2 = throw "libindacate-gtk3 has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10
+8 -7
pkgs/top-level/all-packages.nix
··· 4564 4564 4565 4565 libcoap = callPackage ../applications/networking/libcoap {}; 4566 4566 4567 - libcroco = callPackage ../development/libraries/libcroco { }; 4568 - 4569 4567 libcryptui = callPackage ../development/libraries/libcryptui { }; 4570 4568 4571 4569 libsmi = callPackage ../development/libraries/libsmi { }; ··· 8926 8924 inherit (darwin) apple_sdk; 8927 8925 }; 8928 8926 8929 - rust_1_41_0 = callPackage ../development/compilers/rust/1_41_0.nix { 8927 + rust_1_42 = callPackage ../development/compilers/rust/1_42.nix { 8930 8928 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; 8931 8929 }; 8932 - rust = rust_1_41_0; 8930 + rust = rust_1_42; 8933 8931 8934 - rustPackages_1_41_0 = rust_1_41_0.packages.stable; 8935 - rustPackages = rustPackages_1_41_0; 8932 + rustPackages_1_42 = rust_1_42.packages.stable; 8933 + rustPackages = rustPackages_1_42; 8936 8934 8937 8935 inherit (rustPackages) cargo clippy rustc rustPlatform; 8938 8936 inherit (rust) makeRustPlatform; ··· 9126 9124 vala_0_40 9127 9125 vala_0_44 9128 9126 vala_0_46 9127 + vala_0_48 9129 9128 vala; 9130 9129 9131 9130 wcc = callPackage ../development/compilers/wcc { }; ··· 9562 9561 pipenv = callPackage ../development/tools/pipenv {}; 9563 9562 9564 9563 pipewire = callPackage ../development/libraries/pipewire {}; 9564 + pipewire_0_2 = callPackage ../development/libraries/pipewire/2.nix {}; 9565 9565 9566 9566 pyradio = callPackage ../applications/radio/pyradio {}; 9567 9567 ··· 9659 9659 stdenv = gcc6Stdenv; # with gcc-7: undefined reference to `__divmoddi4' 9660 9660 })); 9661 9661 spidermonkey_60 = callPackage ../development/interpreters/spidermonkey/60.nix { }; 9662 + spidermonkey_68 = callPackage ../development/interpreters/spidermonkey/68.nix { }; 9662 9663 spidermonkey = spidermonkey_38; 9663 9664 9664 9665 ssm-agent = callPackage ../applications/networking/cluster/ssm-agent { }; ··· 22514 22515 22515 22516 chatterino2 = libsForQt5.callPackage ../applications/networking/instant-messengers/chatterino2 {}; 22516 22517 22517 - weston = callPackage ../applications/window-managers/weston { }; 22518 + weston = callPackage ../applications/window-managers/weston { pipewire = pipewire_0_2; }; 22518 22519 22519 22520 whitebox-tools = callPackage ../applications/gis/whitebox-tools { 22520 22521 inherit (darwin.apple_sdk.frameworks) Security;
+25 -2
pkgs/top-level/python-packages.nix
··· 108 108 inherit buildSetupcfg; 109 109 110 110 inherit (callPackage ../development/interpreters/python/hooks { }) 111 - eggUnpackHook eggBuildHook eggInstallHook flitBuildHook pipBuildHook pipInstallHook pytestCheckHook pythonCatchConflictsHook pythonImportsCheckHook pythonRemoveBinBytecodeHook pythonRemoveTestsDirHook setuptoolsBuildHook setuptoolsCheckHook venvShellHook wheelUnpackHook; 111 + eggUnpackHook 112 + eggBuildHook 113 + eggInstallHook 114 + flitBuildHook 115 + pipBuildHook 116 + pipInstallHook 117 + pytestCheckHook 118 + pythonCatchConflictsHook 119 + pythonImportsCheckHook 120 + pythonNamespacesHook 121 + pythonRemoveBinBytecodeHook 122 + pythonRemoveTestsDirHook 123 + setuptoolsBuildHook 124 + setuptoolsCheckHook 125 + venvShellHook 126 + wheelUnpackHook; 112 127 113 128 # helpers 114 129 ··· 4524 4539 4525 4540 nevow = callPackage ../development/python-modules/nevow { }; 4526 4541 4542 + nghttp2 = (toPythonModule (pkgs.nghttp2.override { 4543 + inherit (self) python cython setuptools; 4544 + inherit (pkgs) ncurses; 4545 + enablePython = true; 4546 + })).python; 4547 + 4527 4548 nibabel = callPackage ../development/python-modules/nibabel {}; 4528 4549 4529 4550 nidaqmx = callPackage ../development/python-modules/nidaqmx { }; ··· 4581 4602 4582 4603 notify2 = callPackage ../development/python-modules/notify2 {}; 4583 4604 4584 - notmuch = callPackage ../development/python-modules/notmuch { }; 4605 + notmuch = callPackage ../development/python-modules/notmuch { 4606 + inherit (pkgs) notmuch; 4607 + }; 4585 4608 4586 4609 emoji = callPackage ../development/python-modules/emoji { }; 4587 4610