Merge #182618: GNOME 42 → 43

+2657 -1631
+7
nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
··· 13 13 <itemizedlist> 14 14 <listitem> 15 15 <para> 16 + GNOME has been upgraded to 43. Please take a look at their 17 + <link xlink:href="https://release.gnome.org/43/">Release 18 + Notes</link> for details. 19 + </para> 20 + </listitem> 21 + <listitem> 22 + <para> 16 23 During cross-compilation, tests are now executed if the test 17 24 suite can be executed by the build platform. This is the case 18 25 when doing “native” cross-compilation where the build and host
+3
nixos/doc/manual/release-notes/rl-2211.section.md
··· 6 6 7 7 In addition to numerous new and upgraded packages, this release has the following highlights: 8 8 9 + - GNOME has been upgraded to 43. Please take a look at their [Release 10 + Notes](https://release.gnome.org/43/) for details. 11 + 9 12 - During cross-compilation, tests are now executed if the test suite can be executed 10 13 by the build platform. This is the case when doing “native” cross-compilation 11 14 where the build and host platforms are largely the same, but the nixpkgs' cross
+1 -1
nixos/modules/module-list.nix
··· 391 391 ./services/desktops/pipewire/pipewire-media-session.nix 392 392 ./services/desktops/pipewire/wireplumber.nix 393 393 ./services/desktops/gnome/at-spi2-core.nix 394 - ./services/desktops/gnome/chrome-gnome-shell.nix 395 394 ./services/desktops/gnome/evolution-data-server.nix 396 395 ./services/desktops/gnome/glib-networking.nix 396 + ./services/desktops/gnome/gnome-browser-connector.nix 397 397 ./services/desktops/gnome/gnome-initial-setup.nix 398 398 ./services/desktops/gnome/gnome-keyring.nix 399 399 ./services/desktops/gnome/gnome-online-accounts.nix
-41
nixos/modules/services/desktops/gnome/chrome-gnome-shell.nix
··· 1 - # Chrome GNOME Shell native host connector. 2 - { config, lib, pkgs, ... }: 3 - 4 - with lib; 5 - 6 - { 7 - meta = { 8 - maintainers = teams.gnome.members; 9 - }; 10 - 11 - # Added 2021-05-07 12 - imports = [ 13 - (mkRenamedOptionModule 14 - [ "services" "gnome3" "chrome-gnome-shell" "enable" ] 15 - [ "services" "gnome" "chrome-gnome-shell" "enable" ] 16 - ) 17 - ]; 18 - 19 - ###### interface 20 - options = { 21 - services.gnome.chrome-gnome-shell.enable = mkEnableOption (lib.mdDoc '' 22 - Chrome GNOME Shell native host connector, a DBus service 23 - allowing to install GNOME Shell extensions from a web browser. 24 - ''); 25 - }; 26 - 27 - 28 - ###### implementation 29 - config = mkIf config.services.gnome.chrome-gnome-shell.enable { 30 - environment.etc = { 31 - "chromium/native-messaging-hosts/org.gnome.chrome_gnome_shell.json".source = "${pkgs.chrome-gnome-shell}/etc/chromium/native-messaging-hosts/org.gnome.chrome_gnome_shell.json"; 32 - "opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json".source = "${pkgs.chrome-gnome-shell}/etc/opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json"; 33 - }; 34 - 35 - environment.systemPackages = [ pkgs.chrome-gnome-shell ]; 36 - 37 - services.dbus.packages = [ pkgs.chrome-gnome-shell ]; 38 - 39 - nixpkgs.config.firefox.enableGnomeExtensions = true; 40 - }; 41 - }
+47
nixos/modules/services/desktops/gnome/gnome-browser-connector.nix
··· 1 + { config, lib, pkgs, ... }: 2 + 3 + let 4 + inherit (lib) mdDoc mkEnableOption mkIf mkRenamedOptionModule teams; 5 + in 6 + 7 + { 8 + meta = { 9 + maintainers = teams.gnome.members; 10 + }; 11 + 12 + imports = [ 13 + # Added 2021-05-07 14 + (mkRenamedOptionModule 15 + [ "services" "gnome3" "chrome-gnome-shell" "enable" ] 16 + [ "services" "gnome" "gnome-browser-connector" "enable" ] 17 + ) 18 + # Added 2022-07-25 19 + (mkRenamedOptionModule 20 + [ "services" "gnome" "chrome-gnome-shell" "enable" ] 21 + [ "services" "gnome" "gnome-browser-connector" "enable" ] 22 + ) 23 + ]; 24 + 25 + options = { 26 + services.gnome.gnome-browser-connector.enable = mkEnableOption (mdDoc '' 27 + Native host connector for the GNOME Shell browser extension, a DBus service 28 + allowing to install GNOME Shell extensions from a web browser. 29 + ''); 30 + }; 31 + 32 + config = mkIf config.services.gnome.gnome-browser-connector.enable { 33 + environment.etc = { 34 + "chromium/native-messaging-hosts/org.gnome.browser_connector.json".source = "${pkgs.gnome-browser-connector}/etc/chromium/native-messaging-hosts/org.gnome.browser_connector.json"; 35 + "opt/chrome/native-messaging-hosts/org.gnome.browser_connector.json".source = "${pkgs.gnome-browser-connector}/etc/opt/chrome/native-messaging-hosts/org.gnome.browser_connector.json"; 36 + # Legacy paths. 37 + "chromium/native-messaging-hosts/org.gnome.chrome_gnome_shell.json".source = "${pkgs.gnome-browser-connector}/etc/chromium/native-messaging-hosts/org.gnome.chrome_gnome_shell.json"; 38 + "opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json".source = "${pkgs.gnome-browser-connector}/etc/opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json"; 39 + }; 40 + 41 + environment.systemPackages = [ pkgs.gnome-browser-connector ]; 42 + 43 + services.dbus.packages = [ pkgs.gnome-browser-connector ]; 44 + 45 + nixpkgs.config.firefox.enableGnomeExtensions = true; 46 + }; 47 + }
+2 -2
nixos/modules/services/x11/desktop-managers/gnome.nix
··· 389 389 ++ utils.removePackagesByName optionalPackages config.environment.gnome.excludePackages; 390 390 391 391 services.colord.enable = mkDefault true; 392 - services.gnome.chrome-gnome-shell.enable = mkDefault true; 393 392 services.gnome.glib-networking.enable = true; 393 + services.gnome.gnome-browser-connector.enable = mkDefault true; 394 394 services.gnome.gnome-initial-setup.enable = mkDefault true; 395 395 services.gnome.gnome-remote-desktop.enable = mkDefault true; 396 396 services.gnome.gnome-settings-daemon.enable = true; ··· 520 520 521 521 # Let nautilus find extensions 522 522 # TODO: Create nautilus-with-extensions package 523 - environment.sessionVariables.NAUTILUS_EXTENSION_DIR = "${config.system.path}/lib/nautilus/extensions-3.0"; 523 + environment.sessionVariables.NAUTILUS_4_EXTENSION_DIR = "${config.system.path}/lib/nautilus/extensions-4"; 524 524 525 525 # Override default mimeapps for nautilus 526 526 environment.sessionVariables.XDG_DATA_DIRS = [ "${mimeAppsList}/share" ];
+1 -1
nixos/modules/services/x11/desktop-managers/pantheon.nix
··· 285 285 elementary-music 286 286 elementary-photos 287 287 elementary-screenshot 288 - elementary-tasks 288 + # elementary-tasks 289 289 elementary-terminal 290 290 elementary-videos 291 291 epiphany
-1
nixos/tests/installed-tests/default.nix
··· 101 101 json-glib = callInstalledTest ./json-glib.nix {}; 102 102 ibus = callInstalledTest ./ibus.nix {}; 103 103 libgdata = callInstalledTest ./libgdata.nix {}; 104 - librsvg = callInstalledTest ./librsvg.nix {}; 105 104 glib-testing = callInstalledTest ./glib-testing.nix {}; 106 105 libjcat = callInstalledTest ./libjcat.nix {}; 107 106 libxmlb = callInstalledTest ./libxmlb.nix {};
-9
nixos/tests/installed-tests/librsvg.nix
··· 1 - { pkgs, makeInstalledTest, ... }: 2 - 3 - makeInstalledTest { 4 - tested = pkgs.librsvg; 5 - 6 - testConfig = { 7 - virtualisation.memorySize = 2047; 8 - }; 9 - }
+51 -28
pkgs/applications/editors/gnome-builder/default.nix
··· 2 2 , lib 3 3 , ctags 4 4 , cmark 5 - , appstream-glib 6 5 , desktop-file-utils 6 + , editorconfig-core-c 7 7 , fetchurl 8 + , fetchpatch 8 9 , flatpak 9 10 , gnome 10 11 , libgit2-glib 11 12 , gi-docgen 12 13 , gobject-introspection 13 - , glade 14 - , gspell 15 - , gtk3 16 - , gtksourceview4 14 + , enchant 15 + , icu 16 + , gtk4 17 + , gtksourceview5 17 18 , json-glib 18 19 , jsonrpc-glib 19 - , libdazzle 20 - , libhandy 20 + , libadwaita 21 + , libpanel 21 22 , libpeas 22 - , libportal-gtk3 23 + , libportal-gtk4 23 24 , libxml2 24 25 , meson 25 26 , ninja 26 27 , ostree 27 - , pcre 28 + , d-spy 28 29 , pcre2 29 30 , pkg-config 30 31 , python3 31 32 , sysprof 32 33 , template-glib 33 34 , vala 34 - , vte 35 - , webkitgtk 36 - , wrapGAppsHook 35 + , vte-gtk4 36 + , webkitgtk_5_0 37 + , wrapGAppsHook4 37 38 , dbus 38 39 , xvfb-run 39 40 }: 40 41 41 42 stdenv.mkDerivation rec { 42 43 pname = "gnome-builder"; 43 - version = "42.1"; 44 + version = "43.2"; 44 45 45 46 outputs = [ "out" "devdoc" ]; 46 47 47 48 src = fetchurl { 48 49 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 49 - sha256 = "XU1RtwKGW0gBcgHwxgfiSifXIDGo9ciNT86HW1VFZwo="; 50 + sha256 = "dzIhF6ERsnR7zOitYFeKZ5wgIeSGkRz29OY0FjKKuzM="; 50 51 }; 51 52 53 + patches = [ 54 + # The test environment hardcodes `GI_TYPELIB_PATH` environment variable to direct dependencies of libide & co. 55 + # https://gitlab.gnome.org/GNOME/gnome-builder/-/commit/2ce510b0ec0518c29427a29b386bb2ac1a121edf 56 + # https://gitlab.gnome.org/GNOME/gnome-builder/-/commit/2964f7c2a0729f2f456cdca29a0f5b7525baf7c1 57 + # 58 + # But Nix does not have a fallback path for typelibs like /usr/lib on FHS distros and relies solely 59 + # on `GI_TYPELIB_PATH` environment variable. So, when Ide started to depend on Vte, which 60 + # depends on Pango, among others, GIrepository was unable to find these indirect dependencies 61 + # and crashed with: 62 + # 63 + # Typelib file for namespace 'Pango', version '1.0' not found (g-irepository-error-quark, 0) 64 + ./fix-finding-test-typelibs.patch 65 + ]; 66 + 52 67 nativeBuildInputs = [ 53 - appstream-glib 54 68 desktop-file-utils 55 - gi-docgen 69 + (gi-docgen.overrideAttrs (attrs: { 70 + patches = attrs.patches ++ [ 71 + (fetchpatch { 72 + url = "https://gitlab.gnome.org/GNOME/gi-docgen/-/commit/f4ff4787cce962b705fb2588b31f2988c5063c13.patch"; 73 + sha256 = "11VGFFb2PLVxnX/qUQdLPLfhGQWx4sf4apBP7R2JWjA="; 74 + }) 75 + ]; 76 + })) 56 77 gobject-introspection 57 78 meson 58 79 ninja 59 80 pkg-config 60 81 python3 61 82 python3.pkgs.wrapPython 62 - wrapGAppsHook 83 + wrapGAppsHook4 63 84 ]; 64 85 65 86 buildInputs = [ 66 87 ctags 67 88 cmark 89 + editorconfig-core-c 68 90 flatpak 69 - gnome.devhelp 70 - glade 71 91 libgit2-glib 72 92 libpeas 73 - libportal-gtk3 74 - vte 75 - gspell 76 - gtk3 77 - gtksourceview4 93 + libportal-gtk4 94 + vte-gtk4 95 + enchant 96 + icu 97 + gtk4 98 + gtksourceview5 78 99 json-glib 79 100 jsonrpc-glib 80 - libdazzle 81 - libhandy 101 + libadwaita 102 + libpanel 82 103 libxml2 83 104 ostree 84 - pcre 105 + d-spy 85 106 pcre2 86 107 python3 87 108 sysprof 88 109 template-glib 89 110 vala 90 - webkitgtk 111 + webkitgtk_5_0 91 112 ]; 92 113 93 114 checkInputs = [ ··· 110 131 111 132 postPatch = '' 112 133 patchShebangs build-aux/meson/post_install.py 134 + substituteInPlace build-aux/meson/post_install.py \ 135 + --replace "gtk-update-icon-cache" "gtk4-update-icon-cache" 113 136 ''; 114 137 115 138 checkPhase = ''
+13
pkgs/applications/editors/gnome-builder/fix-finding-test-typelibs.patch
··· 1 + diff --git a/src/meson.build b/src/meson.build 2 + index c9a44e418..cd9e466d6 100644 3 + --- a/src/meson.build 4 + +++ b/src/meson.build 5 + @@ -35,7 +35,7 @@ foreach test_typelib_dep: test_typelib_deps 6 + test_gi_typelib_path += [join_paths(test_typelib_dep.get_variable('libdir'), 'girepository-1.0')] 7 + endforeach 8 + test_env = [ 9 + - 'GI_TYPELIB_PATH=@0@'.format(':'.join(test_gi_typelib_path)), 10 + + 'GI_TYPELIB_PATH=@0@:@1@'.format(':'.join(test_gi_typelib_path), run_command('sh', ['-c', 'echo "$GI_TYPELIB_PATH"']).stdout().strip()), 11 + 'G_TEST_SRCDIR=@0@/tests'.format(meson.current_source_dir()), 12 + 'G_TEST_BUILDDIR=@0@/tests'.format(meson.current_build_dir()), 13 + 'G_DEBUG=gc-friendly',
+4 -4
pkgs/applications/editors/gnome-latex/default.nix
··· 15 15 , gnome 16 16 , glib 17 17 , pkg-config 18 - , intltool 18 + , gettext 19 19 , itstool 20 20 , libxml2 21 21 }: 22 22 23 23 stdenv.mkDerivation rec { 24 - version = "3.40.0"; 24 + version = "3.41.2"; 25 25 pname = "gnome-latex"; 26 26 27 27 src = fetchurl { 28 28 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 - sha256 = "xad/55vUDjeOooyPRaZjJ/vIzFw7W48PCcAhfufMCpA="; 29 + sha256 = "8xDwoUUEmfDP92y5+cXWaZGpUGH6s9bmcMSlZHOF1jM="; 30 30 }; 31 31 32 32 nativeBuildInputs = [ ··· 37 37 gobject-introspection 38 38 wrapGAppsHook 39 39 itstool 40 - intltool 40 + gettext 41 41 ]; 42 42 43 43 buildInputs = [
+8 -13
pkgs/applications/graphics/gnome-photos/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , fetchurl 3 4 , at-spi2-core 4 5 , babl ··· 7 8 , dleyna-renderer 8 9 , gdk-pixbuf 9 10 , gegl 10 - , geocode-glib 11 + , geocode-glib_2 11 12 , gettext 12 13 , gexiv2 13 - , gfbgraph 14 14 , glib 15 15 , gnome-online-accounts 16 16 , gnome 17 17 , gobject-introspection 18 - , grilo 19 - , grilo-plugins 20 18 , gsettings-desktop-schemas 21 19 , gtk3 22 20 , itstool 23 21 , libdazzle 22 + , libportal-gtk3 24 23 , libhandy 25 - , libgdata 26 24 , libxml2 27 25 , meson 28 26 , ninja ··· 36 34 37 35 stdenv.mkDerivation rec { 38 36 pname = "gnome-photos"; 39 - version = "42.0"; 37 + version = "43.0"; 40 38 41 39 outputs = [ "out" "installedTests" ]; 42 40 43 41 src = fetchurl { 44 42 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 45 - sha256 = "JcsoFCUZnex7BF8T8y+PlgNMsMuLlNlvnf+vT1vmhVE="; 43 + sha256 = "x6x0WNUz8p2VUBHHS3YiTXnqMbzBLp1tDOe2w3BNCOE="; 46 44 }; 47 45 48 46 patches = [ ··· 73 71 dleyna-renderer 74 72 gdk-pixbuf 75 73 gegl 76 - geocode-glib 74 + geocode-glib_2 77 75 gexiv2 78 - gfbgraph 79 76 glib 80 77 gnome-online-accounts 81 - grilo 82 - grilo-plugins 83 78 gsettings-desktop-schemas 84 79 gtk3 85 80 libdazzle 81 + libportal-gtk3 86 82 libhandy 87 - libgdata 88 83 tracker 89 84 tracker-miners # For 'org.freedesktop.Tracker.Miner.Files' GSettings schema 90 85
+6 -8
pkgs/applications/graphics/shotwell/default.nix
··· 6 6 , libexif 7 7 , libgphoto2 8 8 , libwebp 9 - , libsoup 9 + , libsoup_3 10 10 , libxml2 11 11 , vala 12 12 , sqlite 13 - , webkitgtk 13 + , webkitgtk_4_1 14 14 , pkg-config 15 15 , gnome 16 16 , gst_all_1 ··· 30 30 , wrapGAppsHook 31 31 , gobject-introspection 32 32 , itstool 33 - , libgdata 34 33 , libchamplain 35 34 , libsecret 36 35 , gsettings-desktop-schemas ··· 41 40 42 41 stdenv.mkDerivation rec { 43 42 pname = "shotwell"; 44 - version = "0.30.16"; 43 + version = "0.31.5"; 45 44 46 45 src = fetchurl { 47 46 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 48 - sha256 = "sha256-yYgs+9rTA8uBYbFJrLtMYX++fKn2q24i0XTiRH51GPo="; 47 + sha256 = "sha256-OwSPxs6ZsjLR4OqbjbB0CDyGyI07bWMTaiz4IXqkXBk="; 49 48 }; 50 49 51 50 nativeBuildInputs = [ ··· 66 65 libexif 67 66 libgphoto2 68 67 libwebp 69 - libsoup 68 + libsoup_3 70 69 libxml2 71 70 sqlite 72 - webkitgtk 71 + webkitgtk_4_1 73 72 gst_all_1.gstreamer 74 73 gst_all_1.gst-libav 75 74 gst_all_1.gst-plugins-base ··· 87 86 librest 88 87 gcr 89 88 gnome.adwaita-icon-theme 90 - libgdata 91 89 libchamplain 92 90 libsecret 93 91 ];
+20 -6
pkgs/applications/misc/almanah/default.nix
··· 5 5 , atk 6 6 , cairo 7 7 , desktop-file-utils 8 - , evolution-data-server 8 + , evolution-data-server-gtk4 9 9 , evolution 10 - , gcr 10 + , gcr_4 11 11 , gettext 12 12 , glib 13 13 , gnome 14 14 , gpgme 15 15 , gtk3 16 - , gtksourceview3 16 + , gtksourceview4 17 17 , gtkspell3 18 18 , libcryptui 19 19 , libxml2 ··· 42 42 url = "https://gitlab.gnome.org/GNOME/almanah/-/commit/8c42a67695621d1e30cec933a04e633e6030bbaf.patch"; 43 43 sha256 = "qyqFgYSu4emFDG/Mjwz1bZb3v3/4gwQSKmGCoPPNYCQ="; 44 44 }) 45 + 46 + # Port to Gcr 4 47 + # https://gitlab.gnome.org/GNOME/almanah/-/merge_requests/14 48 + (fetchpatch { 49 + url = "https://gitlab.gnome.org/GNOME/almanah/-/commit/cd44b476f4ffbf37c5d5f5b996ecd711db925576.patch"; 50 + sha256 = "wJ1035NxgeTwUa0LoNcB6TSLxffoXBR3WbGAGkfggYY="; 51 + }) 52 + 53 + # Port to GtkSourceView 4 54 + # https://gitlab.gnome.org/GNOME/almanah/-/merge_requests/15 55 + (fetchpatch { 56 + url = "https://gitlab.gnome.org/GNOME/almanah/-/commit/0ba7f05cba7feaf2ae2c220596aead5dfc676675.patch"; 57 + sha256 = "5uvHTPzQloEq8SVt3EnZ+8mziBdXsDmu/e92/RtyFzE="; 58 + }) 45 59 ]; 46 60 47 61 nativeBuildInputs = [ ··· 58 72 buildInputs = [ 59 73 atk 60 74 cairo 61 - evolution-data-server 62 - gcr 75 + evolution-data-server-gtk4 76 + gcr_4 63 77 glib 64 78 evolution 65 79 gpgme 66 80 gtk3 67 - gtksourceview3 81 + gtksourceview4 68 82 gtkspell3 69 83 libcryptui 70 84 sqlite
+104
pkgs/applications/misc/endeavour/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 4 + , fetchpatch 5 + , meson 6 + , ninja 7 + , pkg-config 8 + , wrapGAppsHook4 9 + , gettext 10 + , gnome 11 + , glib 12 + , gtk4 13 + , wayland 14 + , libadwaita 15 + , libpeas 16 + , gnome-online-accounts 17 + , gsettings-desktop-schemas 18 + , libportal-gtk4 19 + , evolution-data-server-gtk4 20 + , libical 21 + , librest 22 + , json-glib 23 + , itstool 24 + , gitUpdater 25 + }: 26 + 27 + stdenv.mkDerivation rec { 28 + pname = "endeavour"; 29 + version = "42.0"; 30 + 31 + src = fetchFromGitLab { 32 + domain = "gitlab.gnome.org"; 33 + owner = "World"; 34 + repo = "Endeavour"; 35 + rev = "v${version}"; 36 + sha256 = "U91WAoyIeQ0WbFbOCrbFJjbWe2eT7b/VL2M1hNXxyzQ="; 37 + }; 38 + 39 + patches = [ 40 + # fix build race bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257667 41 + (fetchpatch { 42 + url = "https://cgit.freebsd.org/ports/plain/deskutils/gnome-todo/files/patch-src_meson.build?id=a4faaf6cf7835014b5f69a337b544ea4ee7f9655"; 43 + sha256 = "sha256-dio4Mg+5OGrnjtRAf4LwowO0sG50HRmlNR16cbDvEUY="; 44 + extraPrefix = ""; 45 + name = "gnome-todo_meson-build.patch"; 46 + }) 47 + 48 + # build: Fix building with -Werror=format-security 49 + # https://gitlab.gnome.org/World/Endeavour/-/merge_requests/132 50 + (fetchpatch { 51 + url = "https://gitlab.gnome.org/World/Endeavour/-/commit/3bad03e90fcc28f6e3f87f2c90df5984dbeb0791.patch"; 52 + sha256 = "sha256-HRkNfhn+EH0Fc+KBDdX1Q+T9QWSctTOn1cvecP2N0zo="; 53 + }) 54 + 55 + # build: Use GNOME module post_install() 56 + # https://gitlab.gnome.org/World/Endeavour/-/merge_requests/135 57 + (fetchpatch { 58 + url = "https://gitlab.gnome.org/World/Endeavour/-/commit/a8daa1d8acd0a5da7aef54d6e16d8a585c71e555.patch"; 59 + sha256 = "sha256-zUTQ36eUMOY9ODAgwSKUhSlB9Cj0Yu/60KjFFW5fx2I="; 60 + }) 61 + ]; 62 + 63 + nativeBuildInputs = [ 64 + meson 65 + ninja 66 + pkg-config 67 + gettext 68 + wrapGAppsHook4 69 + itstool 70 + ]; 71 + 72 + buildInputs = [ 73 + glib 74 + gtk4 75 + wayland # required by gtk header 76 + libadwaita 77 + libpeas 78 + gnome-online-accounts 79 + gsettings-desktop-schemas 80 + gnome.adwaita-icon-theme 81 + 82 + # Plug-ins 83 + libportal-gtk4 # background 84 + evolution-data-server-gtk4 # eds 85 + libical 86 + librest # todoist 87 + json-glib # todoist 88 + ]; 89 + 90 + passthru = { 91 + updateScript = gitUpdater { 92 + inherit pname version; 93 + rev-prefix = "v"; 94 + }; 95 + }; 96 + 97 + meta = with lib; { 98 + description = "Personal task manager for GNOME"; 99 + homepage = "https://gitlab.gnome.org/World/Endeavour"; 100 + license = licenses.gpl3Plus; 101 + maintainers = teams.gnome.members; 102 + platforms = platforms.linux; 103 + }; 104 + }
+2 -2
pkgs/applications/misc/orca/default.nix
··· 34 34 35 35 buildPythonApplication rec { 36 36 pname = "orca"; 37 - version = "42.3"; 37 + version = "43.0"; 38 38 39 39 format = "other"; 40 40 41 41 src = fetchurl { 42 42 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 43 - sha256 = "+ty6C/6uHmZyJmJk529j/lq/jw77NL4Ri1qXP7by9yQ="; 43 + sha256 = "HKdaAMSoUSoJ5KJuszn615RNHtQayjL3D2lickQhglA="; 44 44 }; 45 45 46 46 patches = [
+1
pkgs/applications/misc/tootle/default.nix
··· 93 93 homepage = "https://github.com/bleakgrey/tootle"; 94 94 license = licenses.gpl3; 95 95 maintainers = with maintainers; [ dtzWill ]; 96 + broken = true; 96 97 }; 97 98 }
+2 -2
pkgs/applications/networking/browsers/firefox/wrapper.nix
··· 4 4 ## various stuff that can be plugged in 5 5 , ffmpeg_5, xorg, alsa-lib, libpulseaudio, libcanberra-gtk3, libglvnd, libnotify, opensc 6 6 , gnome/*.gnome-shell*/ 7 - , browserpass, chrome-gnome-shell, uget-integrator, plasma5Packages, bukubrow, pipewire 7 + , browserpass, gnome-browser-connector, uget-integrator, plasma5Packages, bukubrow, pipewire 8 8 , tridactyl-native 9 9 , fx_cast_bridge 10 10 , udev ··· 65 65 ++ lib.optional (cfg.enableBrowserpass or false) (lib.getBin browserpass) 66 66 ++ lib.optional (cfg.enableBukubrow or false) bukubrow 67 67 ++ lib.optional (cfg.enableTridactylNative or false) tridactyl-native 68 - ++ lib.optional (cfg.enableGnomeExtensions or false) chrome-gnome-shell 68 + ++ lib.optional (cfg.enableGnomeExtensions or false) gnome-browser-connector 69 69 ++ lib.optional (cfg.enableUgetIntegrator or false) uget-integrator 70 70 ++ lib.optional (cfg.enablePlasmaBrowserIntegration or false) plasma5Packages.plasma-browser-integration 71 71 ++ lib.optional (cfg.enableFXCastBridge or false) fx_cast_bridge
+6
pkgs/applications/networking/dropbox/cli.nix
··· 1 1 { lib, stdenv 2 2 , substituteAll 3 + , autoreconfHook 3 4 , pkg-config 4 5 , fetchurl 5 6 , python3 ··· 28 29 strictDeps = true; 29 30 30 31 patches = [ 32 + # Fix extension for Nautilus 43 33 + # https://github.com/dropbox/nautilus-dropbox/pull/105 34 + ./nautilus-43.patch 35 + 31 36 (substituteAll { 32 37 src = ./fix-cli-paths.patch; 33 38 inherit dropboxd; ··· 35 40 ]; 36 41 37 42 nativeBuildInputs = [ 43 + autoreconfHook 38 44 pkg-config 39 45 gobject-introspection 40 46 gdk-pixbuf
+195
pkgs/applications/networking/dropbox/nautilus-43.patch
··· 1 + diff --git a/configure.ac b/configure.ac 2 + index 025289c..42b49fa 100644 3 + --- a/configure.ac 4 + +++ b/configure.ac 5 + @@ -12,7 +12,7 @@ AM_CONFIG_HEADER(config.h) 6 + #AC_PROG_INTLTOOL([0.29]) 7 + 8 + # Dependency checks 9 + -NAUTILUS_REQUIRED=2.16.0 10 + +NAUTILUS_REQUIRED=43.rc 11 + GLIB_REQUIRED=2.14.0 12 + 13 + # Used programs 14 + @@ -26,8 +26,11 @@ if test "x$HAVE_PKGCONFIG" = "xno"; then 15 + AC_MSG_ERROR(you need to have pkgconfig installed !) 16 + fi 17 + 18 + -PKG_CHECK_MODULES(NAUTILUS, libnautilus-extension >= $NAUTILUS_REQUIRED) 19 + +PKG_CHECK_MODULES(NAUTILUS, libnautilus-extension-4 >= $NAUTILUS_REQUIRED) 20 + PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED) 21 + +PKG_CHECK_MODULES(GTK, gtk4 >= 4.6.0) 22 + + 23 + +AC_SUBST(GTK_CFLAGS) 24 + 25 + AC_PATH_PROG([PYTHON3], [python3]) 26 + 27 + @@ -84,10 +87,10 @@ AC_MSG_CHECKING([for nautilus extension directory]) 28 + if test -n "$with_nautilus_extension_dir"; then 29 + NAUTILUS_EXTENSION_DIR=$with_nautilus_extension_dir 30 + else 31 + - NAUTILUS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir libnautilus-extension` 32 + + NAUTILUS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir libnautilus-extension-4` 33 + fi 34 + if test -z "$NAUTILUS_EXTENSION_DIR"; then 35 + - NAUTILUS_EXTENSION_DIR='${exec_prefix}/lib/nautilus/extension-1.0' 36 + + NAUTILUS_EXTENSION_DIR='${exec_prefix}/lib/nautilus/extension-4' 37 + fi 38 + 39 + AC_MSG_RESULT([${NAUTILUS_EXTENSION_DIR}]) 40 + diff --git a/src/Makefile.am b/src/Makefile.am 41 + index 15d6687..c521ec5 100644 42 + --- a/src/Makefile.am 43 + +++ b/src/Makefile.am 44 + @@ -13,6 +13,7 @@ libnautilus_dropbox_la_CFLAGS = \ 45 + $(WARN_CFLAGS) \ 46 + $(DISABLE_DEPRECATED_CFLAGS) \ 47 + $(NAUTILUS_CFLAGS) \ 48 + + $(GTK_CFLAGS) \ 49 + $(GLIB_CFLAGS) 50 + 51 + if DEBUG 52 + diff --git a/src/dropbox.c b/src/dropbox.c 53 + index 0d59559..8162aa9 100644 54 + --- a/src/dropbox.c 55 + +++ b/src/dropbox.c 56 + @@ -27,9 +27,6 @@ 57 + 58 + #include <glib-object.h> 59 + 60 + -#include <gdk/gdk.h> 61 + -#include <gtk/gtk.h> 62 + - 63 + #include "nautilus-dropbox.h" 64 + 65 + static GType type_list[1]; 66 + @@ -41,9 +38,6 @@ nautilus_module_initialize (GTypeModule *module) { 67 + nautilus_dropbox_register_type (module); 68 + type_list[0] = NAUTILUS_TYPE_DROPBOX; 69 + 70 + - dropbox_use_nautilus_submenu_workaround 71 + - = (NAUTILUS_VERSION_MAJOR < 2 || 72 + - (NAUTILUS_VERSION_MAJOR == 2 && NAUTILUS_VERSION_MINOR <= 22)); 73 + dropbox_use_operation_in_progress_workaround = TRUE; 74 + } 75 + 76 + diff --git a/src/nautilus-dropbox.c b/src/nautilus-dropbox.c 77 + index c75ccbf..b9c10b4 100644 78 + --- a/src/nautilus-dropbox.c 79 + +++ b/src/nautilus-dropbox.c 80 + @@ -37,9 +37,7 @@ 81 + #include <glib-object.h> 82 + #include <gtk/gtk.h> 83 + 84 + -#include <libnautilus-extension/nautilus-extension-types.h> 85 + -#include <libnautilus-extension/nautilus-menu-provider.h> 86 + -#include <libnautilus-extension/nautilus-info-provider.h> 87 + +#include <nautilus-extension.h> 88 + 89 + #include "g-util.h" 90 + #include "dropbox-command-client.h" 91 + @@ -49,7 +47,7 @@ 92 + static char *emblems[] = {"dropbox-uptodate", "dropbox-syncing", "dropbox-unsyncable"}; 93 + gchar *DEFAULT_EMBLEM_PATHS[2] = { EMBLEMDIR , NULL }; 94 + 95 + -gboolean dropbox_use_nautilus_submenu_workaround; 96 + + 97 + gboolean dropbox_use_operation_in_progress_workaround; 98 + 99 + static GType dropbox_type = 0; 100 + @@ -630,13 +628,6 @@ nautilus_dropbox_parse_menu(gchar **options, 101 + g_object_set_property (G_OBJECT(item), "sensitive", &sensitive); 102 + } 103 + 104 + - /* taken from nautilus-file-repairer (http://repairer.kldp.net/): 105 + - * this code is a workaround for a bug of nautilus 106 + - * See: http://bugzilla.gnome.org/show_bug.cgi?id=508878 */ 107 + - if (dropbox_use_nautilus_submenu_workaround) { 108 + - toret = g_list_append(toret, item); 109 + - } 110 + - 111 + g_object_unref(item); 112 + g_string_free(new_action_string, TRUE); 113 + ret++; 114 + @@ -661,7 +652,6 @@ get_file_items_callback(GHashTable *response, gpointer ud) 115 + 116 + static GList * 117 + nautilus_dropbox_get_file_items(NautilusMenuProvider *provider, 118 + - GtkWidget *window, 119 + GList *files) 120 + { 121 + /* 122 + @@ -778,14 +768,13 @@ add_emblem_paths(GHashTable* emblem_paths_response) 123 + 124 + gchar **emblem_paths_list; 125 + int i; 126 + - 127 + - GtkIconTheme *theme = gtk_icon_theme_get_default(); 128 + + GtkIconTheme *theme = gtk_icon_theme_get_for_display (gdk_display_get_default ()); 129 + 130 + if (emblem_paths_response && 131 + (emblem_paths_list = g_hash_table_lookup(emblem_paths_response, "path"))) { 132 + for (i = 0; emblem_paths_list[i] != NULL; i++) { 133 + if (emblem_paths_list[i][0]) 134 + - gtk_icon_theme_append_search_path(theme, emblem_paths_list[i]); 135 + + gtk_icon_theme_add_search_path(theme, emblem_paths_list[i]); 136 + } 137 + } 138 + g_hash_table_unref(emblem_paths_response); 139 + @@ -804,15 +793,14 @@ remove_emblem_paths(GHashTable* emblem_paths_response) 140 + goto exit; 141 + 142 + // We need to remove the old paths. 143 + - GtkIconTheme * icon_theme = gtk_icon_theme_get_default(); 144 + gchar ** paths; 145 + - gint path_count; 146 + + GtkIconTheme *theme = gtk_icon_theme_get_for_display (gdk_display_get_default ()); 147 + 148 + - gtk_icon_theme_get_search_path(icon_theme, &paths, &path_count); 149 + + paths = gtk_icon_theme_get_search_path(theme); 150 + 151 + gint i, j, out = 0; 152 + gboolean found = FALSE; 153 + - for (i = 0; i < path_count; i++) { 154 + + for (i = 0; paths[i] != NULL; i++) { 155 + gboolean keep = TRUE; 156 + for (j = 0; emblem_paths_list[j] != NULL; j++) { 157 + if (emblem_paths_list[j][0]) { 158 + @@ -834,7 +822,7 @@ remove_emblem_paths(GHashTable* emblem_paths_response) 159 + accomodate the changes */ 160 + if (found) { 161 + paths[out] = NULL; /* Clear the last one */ 162 + - gtk_icon_theme_set_search_path(icon_theme, (const gchar **)paths, out); 163 + + gtk_icon_theme_set_search_path(theme, (const gchar **)paths); 164 + } 165 + 166 + g_strfreev(paths); 167 + @@ -888,13 +876,13 @@ on_disconnect(NautilusDropbox *cvs) { 168 + 169 + 170 + static void 171 + -nautilus_dropbox_menu_provider_iface_init (NautilusMenuProviderIface *iface) { 172 + +nautilus_dropbox_menu_provider_iface_init (NautilusMenuProviderInterface *iface) { 173 + iface->get_file_items = nautilus_dropbox_get_file_items; 174 + return; 175 + } 176 + 177 + static void 178 + -nautilus_dropbox_info_provider_iface_init (NautilusInfoProviderIface *iface) { 179 + +nautilus_dropbox_info_provider_iface_init (NautilusInfoProviderInterface *iface) { 180 + iface->update_file_info = nautilus_dropbox_update_file_info; 181 + iface->cancel_update = nautilus_dropbox_cancel_update; 182 + return; 183 + diff --git a/src/nautilus-dropbox.h b/src/nautilus-dropbox.h 184 + index 65734be..44faa27 100644 185 + --- a/src/nautilus-dropbox.h 186 + +++ b/src/nautilus-dropbox.h 187 + @@ -27,7 +27,7 @@ 188 + #include <glib.h> 189 + #include <glib-object.h> 190 + 191 + -#include <libnautilus-extension/nautilus-info-provider.h> 192 + +#include <nautilus-extension.h> 193 + 194 + #include "dropbox-command-client.h" 195 + #include "nautilus-dropbox-hooks.h"
+2
pkgs/applications/networking/instant-messengers/chatty/default.nix
··· 87 87 license = licenses.gpl3Plus; 88 88 maintainers = with maintainers; [ dotlambda tomfitzhenry ]; 89 89 platforms = platforms.linux; 90 + # Requires upgrade to libsoup3 91 + broken = true; 90 92 }; 91 93 }
+3 -3
pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
··· 28 28 , tl-expected 29 29 , hunspell 30 30 , glibmm 31 - , webkitgtk 31 + , webkitgtk_4_1 32 32 , jemalloc 33 33 , rnnoise 34 34 , abseil-cpp ··· 93 93 substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioPulse.cpp \ 94 94 --replace '"libpulse.so.0"' '"${libpulseaudio}/lib/libpulse.so.0"' 95 95 substituteInPlace Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp \ 96 - --replace '"libwebkit2gtk-4.0.so.37"' '"${webkitgtk}/lib/libwebkit2gtk-4.0.so.37"' 96 + --replace '"libwebkit2gtk-4.1.so.0"' '"${webkitgtk_4_1}/lib/libwebkit2gtk-4.1.so.0"' 97 97 ''; 98 98 99 99 # We want to run wrapProgram manually (with additional parameters) ··· 131 131 tl-expected 132 132 hunspell 133 133 glibmm 134 - webkitgtk 134 + webkitgtk_4_1 135 135 jemalloc 136 136 rnnoise 137 137 tg_owt
+34 -11
pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix
··· 1 - { lib, stdenv, fetchurl, gnome, cmake, gettext, intltool, pkg-config, evolution-data-server, evolution 2 - , sqlite, gtk3, webkitgtk, libgdata, libmspack }: 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , gnome 5 + , cmake 6 + , gettext 7 + , intltool 8 + , pkg-config 9 + , evolution-data-server 10 + , evolution 11 + , gtk3 12 + , libsoup_3 13 + , libical 14 + , json-glib 15 + , libmspack 16 + , webkitgtk_4_1 17 + }: 3 18 4 19 stdenv.mkDerivation rec { 5 20 pname = "evolution-ews"; 6 - version = "3.44.4"; 21 + version = "3.46.0"; 7 22 8 23 src = fetchurl { 9 24 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 - sha256 = "TxgrBaE6wbezOwj7Bm6DlcqpW6fagIiGqpGxQp1tfbM="; 25 + sha256 = "vZe6IFzEW60SmXvuE0ii+R2LAtcUWD159PrheU2sG4A="; 11 26 }; 12 27 13 - nativeBuildInputs = [ cmake gettext intltool pkg-config ]; 28 + nativeBuildInputs = [ 29 + cmake 30 + gettext 31 + intltool 32 + pkg-config 33 + ]; 14 34 15 35 buildInputs = [ 16 - evolution-data-server evolution 17 - sqlite libgdata 18 - gtk3 webkitgtk 36 + evolution-data-server 37 + evolution 38 + gtk3 39 + libsoup_3 40 + libical 41 + json-glib 19 42 libmspack 43 + # For evolution-shell-3.0 44 + webkitgtk_4_1 20 45 ]; 21 46 22 47 cmakeFlags = [ 23 - # Building with libmspack as recommended: https://wiki.gnome.org/Apps/Evolution/Building#Build_evolution-ews 24 - "-DWITH_MSPACK=ON" 25 48 # don't try to install into ${evolution} 26 49 "-DFORCE_INSTALL_PREFIX=ON" 27 50 ]; 28 51 29 - passthru = { 52 + passthru = { 30 53 updateScript = gnome.updateScript { 31 54 packageName = "evolution-ews"; 32 55 versionPolicy = "odd-unstable";
+7 -12
pkgs/applications/networking/mailreaders/evolution/evolution/default.nix
··· 5 5 , intltool 6 6 , fetchurl 7 7 , libxml2 8 - , webkitgtk 8 + , webkitgtk_4_1 9 9 , highlight 10 10 , pkg-config 11 11 , gtk3 ··· 14 14 , libpst 15 15 , gspell 16 16 , evolution-data-server 17 - , libgdata 18 17 , libgweather 19 18 , glib-networking 20 19 , gsettings-desktop-schemas ··· 23 22 , shared-mime-info 24 23 , libical 25 24 , db 26 - , gcr 27 25 , sqlite 28 26 , gnome 29 27 , gnome-desktop ··· 34 32 , nspr 35 33 , icu 36 34 , libcanberra-gtk3 37 - , geocode-glib 35 + , geocode-glib_2 38 36 , cmark 39 37 , bogofilter 40 38 , gst_all_1 ··· 46 44 47 45 stdenv.mkDerivation rec { 48 46 pname = "evolution"; 49 - version = "3.44.4"; 47 + version = "3.46.0"; 50 48 51 49 src = fetchurl { 52 50 url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 53 - sha256 = "8LFuerrTx5RaKcMi8X2rSgjWHpm9fMkbjfNQU8XBLow="; 51 + sha256 = "4J6Sdrxrmr8NrTpOgT7qHQJfT2qvH6w7ew+IiVdCkT8="; 54 52 }; 55 53 56 54 nativeBuildInputs = [ ··· 68 66 bogofilter 69 67 db 70 68 evolution-data-server 71 - gcr 72 69 gdk-pixbuf 73 70 glib 74 71 glib-networking ··· 81 78 highlight 82 79 icu 83 80 libcanberra-gtk3 84 - geocode-glib 81 + geocode-glib_2 85 82 cmark 86 - libgdata 87 83 libgweather 88 84 libical 89 85 libnotify ··· 97 93 procps 98 94 shared-mime-info 99 95 sqlite 100 - webkitgtk 96 + webkitgtk_4_1 101 97 ]; 102 98 103 99 propagatedUserEnvPkgs = [ ··· 106 102 107 103 cmakeFlags = [ 108 104 "-DENABLE_AUTOAR=OFF" 109 - "-DENABLE_LIBCRYPTUI=OFF" 110 105 "-DENABLE_YTNEF=OFF" 111 106 "-DWITH_SPAMASSASSIN=${spamassassin}/bin/spamassassin" 112 107 "-DWITH_SA_LEARN=${spamassassin}/bin/sa-learn" 113 108 "-DWITH_BOGOFILTER=${bogofilter}/bin/bogofilter" 114 109 "-DWITH_OPENLDAP=${openldap}" 115 - "-DWITH_GWEATHER4=ON" 116 110 ]; 117 111 118 112 requiredSystemFeatures = [ ··· 128 122 }; 129 123 }; 130 124 125 + PKG_CONFIG_CAMEL_1_2_CAMEL_PROVIDERDIR = "${placeholder "out"}/lib/evolution-data-server/camel-providers"; 131 126 PKG_CONFIG_LIBEDATASERVERUI_1_2_UIMODULEDIR = "${placeholder "out"}/lib/evolution-data-server/ui-modules"; 132 127 133 128 meta = with lib; {
+5 -2
pkgs/applications/networking/remote/remmina/default.nix
··· 3 3 , freerdp, libssh, libgcrypt, gnutls, vte 4 4 , pcre2, libdbusmenu-gtk3, libappindicator-gtk3 5 5 , libvncserver, libpthreadstubs, libXdmcp, libxkbcommon 6 - , libsecret, libsoup, spice-protocol, spice-gtk, libepoxy, at-spi2-core 6 + , libsecret, libsoup, spice-protocol, spice-gtk_libsoup2, libepoxy, at-spi2-core 7 7 , openssl, gsettings-desktop-schemas, json-glib, libsodium, webkitgtk, harfbuzz 8 8 # The themes here are soft dependencies; only icons are missing without them. 9 9 , gnome ··· 31 31 freerdp libssh libgcrypt gnutls 32 32 pcre2 libdbusmenu-gtk3 libappindicator-gtk3 33 33 libvncserver libpthreadstubs libXdmcp libxkbcommon 34 - libsoup spice-protocol spice-gtk libepoxy at-spi2-core 34 + libsoup spice-protocol 35 + # https://gitlab.com/Remmina/Remmina/-/issues/2754 36 + spice-gtk_libsoup2 37 + libepoxy at-spi2-core 35 38 openssl gnome.adwaita-icon-theme json-glib libsodium webkitgtk 36 39 harfbuzz python3 37 40 ] ++ optionals withLibsecret [ libsecret ]
+1
pkgs/applications/office/elementary-planner/default.nix
··· 99 99 maintainers = with maintainers; [ dtzWill ] ++ teams.pantheon.members; 100 100 platforms = platforms.linux; 101 101 mainProgram = "com.github.alainm23.planner"; 102 + broken = true; # https://github.com/alainm23/planner/issues/928 102 103 }; 103 104 } 104 105
+2 -2
pkgs/applications/office/gnumeric/default.nix
··· 7 7 inherit (python3Packages) python pygobject3; 8 8 in stdenv.mkDerivation rec { 9 9 pname = "gnumeric"; 10 - version = "1.12.52"; 10 + version = "1.12.53"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 14 - sha256 = "c89zBJoiodgoUGJ1ssk3jsN8X/N7aLsfL0lPDWQAgjs="; 14 + sha256 = "VWjkyNzqu5Ao8TYdEEVSL5Xwpx2qWelzy90tObrdTwI="; 15 15 }; 16 16 17 17 configureFlags = [ "--disable-component" ];
+72
pkgs/applications/terminal-emulators/blackbox-terminal/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 4 + , fetchurl 5 + , meson 6 + , ninja 7 + , pkg-config 8 + , vala 9 + , gtk4 10 + , vte-gtk4 11 + , json-glib 12 + , sassc 13 + , libadwaita 14 + , pcre2 15 + , libxml2 16 + , librsvg 17 + , callPackage 18 + , python3 19 + , gtk3 20 + , desktop-file-utils 21 + , wrapGAppsHook 22 + }: 23 + 24 + let 25 + marble = callPackage ./marble.nix { }; 26 + in 27 + stdenv.mkDerivation rec { 28 + pname = "blackbox"; 29 + version = "0.12.0"; 30 + 31 + src = fetchFromGitLab { 32 + domain = "gitlab.gnome.org"; 33 + owner = "raggesilver"; 34 + repo = "blackbox"; 35 + rev = "v${version}"; 36 + sha256 = "sha256-8u4qHC8+3rKDFNdg5kI48dBgAm3d6ESXN5H9aT/nIBY="; 37 + }; 38 + 39 + postPatch = '' 40 + patchShebangs build-aux/meson/postinstall.py 41 + ''; 42 + 43 + nativeBuildInputs = [ 44 + meson 45 + ninja 46 + pkg-config 47 + vala 48 + sassc 49 + wrapGAppsHook 50 + python3 51 + gtk3 # For gtk-update-icon-cache 52 + desktop-file-utils # For update-desktop-database 53 + ]; 54 + buildInputs = [ 55 + gtk4 56 + vte-gtk4 57 + json-glib 58 + marble 59 + libadwaita 60 + pcre2 61 + libxml2 62 + librsvg 63 + ]; 64 + 65 + meta = with lib; { 66 + description = "Beautiful GTK 4 terminal"; 67 + homepage = "https://gitlab.gnome.org/raggesilver/blackbox"; 68 + license = licenses.gpl3Plus; 69 + maintainers = with maintainers; [ chuangzhu ]; 70 + platforms = platforms.linux; 71 + }; 72 + }
+45
pkgs/applications/terminal-emulators/blackbox-terminal/marble.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , vala 8 + , gobject-introspection 9 + , gtk4 10 + , gtk3 11 + , desktop-file-utils 12 + }: 13 + 14 + stdenv.mkDerivation { 15 + pname = "marble"; 16 + version = "unstable-2022-04-20"; 17 + 18 + src = fetchFromGitLab { 19 + domain = "gitlab.gnome.org"; 20 + owner = "raggesilver"; 21 + repo = "marble"; 22 + # Latest commit from the 'wip/gtk4' branch 23 + rev = "6dcc6fefa35f0151b0549c01bd774750fe6bdef8"; 24 + sha256 = "sha256-0VJ9nyjWOOdLBm3ufleS/xcAS5YsSedJ2NtBjyM3uaY="; 25 + }; 26 + 27 + nativeBuildInputs = [ 28 + meson 29 + ninja 30 + pkg-config 31 + vala 32 + gtk3 # For gtk-update-icon-cache 33 + desktop-file-utils # For update-desktop-database 34 + gobject-introspection # For g-ir-compiler 35 + ]; 36 + buildInputs = [ gtk4 ]; 37 + 38 + meta = with lib; { 39 + description = "Raggesilver's GTK library"; 40 + homepage = "https://gitlab.gnome.org/raggesilver/marble"; 41 + license = licenses.gpl3Plus; 42 + maintainers = with maintainers; [ chuangzhu ]; 43 + platforms = platforms.linux; 44 + }; 45 + }
+2 -3
pkgs/applications/terminal-emulators/gnome-console/default.nix
··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "gnome-console"; 26 + # Do not upgrade until https://gitlab.gnome.org/GNOME/vte/-/issues/2584 is resolved! 26 27 version = "42.2"; 27 28 28 29 src = fetchurl { ··· 45 46 libhandy 46 47 pcre2 47 48 vte 48 - ] ++ lib.optionals stdenv.isLinux [ 49 - gnome.nautilus 50 49 ]; 51 50 52 51 nativeBuildInputs = [ ··· 61 60 wrapGAppsHook 62 61 ]; 63 62 64 - mesonFlags = lib.optionals (!stdenv.isLinux) [ 63 + mesonFlags = [ 65 64 "-Dnautilus=disabled" 66 65 ]; 67 66
+3 -1
pkgs/applications/video/entangle/default.nix
··· 33 33 , libxkbcommon 34 34 , orc 35 35 , pcre 36 + , pcre2 36 37 , udev 37 38 , util-linux 38 39 , xorg ··· 94 95 libunwind 95 96 libxkbcommon 96 97 orc 97 - pcre 98 + pcre # required by libselinux before we USE_PCRE2 99 + pcre2 # required by glib-2.0 98 100 udev 99 101 util-linux 100 102 zstd
-1
pkgs/applications/video/video-trimmer/default.nix
··· 3 3 , fetchFromGitLab 4 4 , fetchpatch 5 5 , rustPlatform 6 - , gnome 7 6 , pkg-config 8 7 , meson 9 8 , wrapGAppsHook4
+5 -4
pkgs/applications/virtualization/virt-viewer/default.nix
··· 19 19 , pkg-config 20 20 , python3 21 21 , shared-mime-info 22 - , spice-gtk ? null 22 + # https://gitlab.com/virt-viewer/virt-viewer/-/issues/88 23 + , spice-gtk_libsoup2 ? null 23 24 , spice-protocol ? null 24 25 , spiceSupport ? true 25 26 , vte ··· 29 30 assert spiceSupport -> ( 30 31 gdbm != null 31 32 && libcap != null 32 - && spice-gtk != null 33 + && spice-gtk_libsoup2 != null 33 34 && spice-protocol != null 34 35 ); 35 36 ··· 78 79 ] ++ optionals spiceSupport [ 79 80 gdbm 80 81 libcap 81 - spice-gtk 82 + spice-gtk_libsoup2 82 83 spice-protocol 83 84 ]; 84 85 85 86 # Required for USB redirection PolicyKit rules file 86 - propagatedUserEnvPkgs = optional spiceSupport spice-gtk; 87 + propagatedUserEnvPkgs = optional spiceSupport spice-gtk_libsoup2; 87 88 88 89 strictDeps = true; 89 90
+2 -2
pkgs/data/documentation/gnome-user-docs/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "gnome-user-docs"; 12 - version = "42.0"; 12 + version = "43.0"; 13 13 14 14 src = fetchurl { 15 15 url = "mirror://gnome/sources/gnome-user-docs/${lib.versions.major version}/${pname}-${version}.tar.xz"; 16 - sha256 = "srJ9oEEAu90vTw5bw48tBW2V+jZWcgFj9kNqMWfV6QU="; 16 + sha256 = "NgcWDv/W+R4lqHmLV977IJndcLj+5Ofi8g8mN6woyu4="; 17 17 }; 18 18 19 19 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome/apps/cheese/default.nix
··· 34 34 35 35 stdenv.mkDerivation rec { 36 36 pname = "cheese"; 37 - version = "41.1"; 37 + version = "43.alpha"; 38 38 39 39 outputs = [ "out" "man" "devdoc" ]; 40 40 41 41 src = fetchurl { 42 42 url = "mirror://gnome/sources/cheese/${lib.versions.major version}/${pname}-${version}.tar.xz"; 43 - sha256 = "UilgyihzD/ZkOQcLBEGMngpLtVVg11v+CLIY2ixn5Uc="; 43 + sha256 = "utrp972m+lch2regi4I3p15TJcDJpmlJj/VPdyFG5M8="; 44 44 }; 45 45 46 46 nativeBuildInputs = [
+6 -14
pkgs/desktops/gnome/apps/file-roller/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchurl 4 + , fetchpatch 4 5 , desktop-file-utils 5 6 , gettext 6 7 , glibcLocales ··· 12 13 , python3 13 14 , wrapGAppsHook 14 15 , cpio 15 - , file 16 16 , glib 17 17 , gnome 18 18 , gtk3 19 19 , libhandy 20 20 , json-glib 21 21 , libarchive 22 - , libnotify 22 + , libportal-gtk3 23 23 , nautilus 24 24 , unzip 25 25 }: 26 26 27 27 stdenv.mkDerivation rec { 28 28 pname = "file-roller"; 29 - version = "3.42.0"; 29 + version = "43.0"; 30 30 31 31 src = fetchurl { 32 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 33 - sha256 = "HEOObVPsEP9PLrWyLXu/KKfCqElXq2SnUcHN88UjAsc="; 32 + url = "mirror://gnome/sources/file-roller/${lib.versions.major version}/file-roller-${version}.tar.xz"; 33 + sha256 = "KYcp/b252oEywLvGCQdRfWVoWwVhiuBRZzNeZIT1c6E="; 34 34 }; 35 35 36 - LANG = "en_US.UTF-8"; # postinstall.py 37 - 38 36 nativeBuildInputs = [ 39 37 desktop-file-utils 40 38 gettext ··· 50 48 51 49 buildInputs = [ 52 50 cpio 53 - file 54 51 glib 55 - gnome.adwaita-icon-theme 56 52 gtk3 57 53 libhandy 58 54 json-glib 59 55 libarchive 60 - libnotify 56 + libportal-gtk3 61 57 nautilus 62 58 ]; 63 - 64 - PKG_CONFIG_LIBNAUTILUS_EXTENSION_EXTENSIONDIR = "${placeholder "out"}/lib/nautilus/extensions-3.0"; 65 59 66 60 postPatch = '' 67 - chmod +x postinstall.py # patchShebangs requires executable file 68 - patchShebangs postinstall.py 69 61 patchShebangs data/set-mime-type-entry.py 70 62 ''; 71 63
+2 -2
pkgs/desktops/gnome/apps/gedit/default.nix
··· 25 25 26 26 stdenv.mkDerivation rec { 27 27 pname = "gedit"; 28 - version = "42.2"; 28 + version = "43.alpha"; 29 29 30 30 src = fetchurl { 31 31 url = "mirror://gnome/sources/gedit/${lib.versions.major version}/${pname}-${version}.tar.xz"; 32 - sha256 = "PGIpER8KwGauRJZJIHkdEmX1u7VrC9lJppt7EmH8j8o="; 32 + sha256 = "K3iOqhbYeeOVdGmS/OdmC5WtIpQ5OgHs0t5CzdWW95o="; 33 33 }; 34 34 35 35 patches = [
+7 -2
pkgs/desktops/gnome/apps/ghex/default.nix
··· 12 12 , itstool 13 13 , libxml2 14 14 , gtk4 15 + , libadwaita 15 16 , glib 16 17 , atk 17 18 , gobject-introspection 19 + , vala 18 20 , wrapGAppsHook4 19 21 }: 20 22 21 23 stdenv.mkDerivation rec { 22 24 pname = "ghex"; 23 - version = "42.3"; 25 + version = "43.0"; 24 26 25 27 outputs = [ "out" "dev" "devdoc" ]; 26 28 27 29 src = fetchurl { 28 30 url = "mirror://gnome/sources/ghex/${lib.versions.major version}/${pname}-${version}.tar.xz"; 29 - sha256 = "rdQPirJJIdsw0nvljwAnMgGXfYf9yNeezq36iw41Te8="; 31 + sha256 = "hmwGIsZv21rSpHXpz8zLIZocZDHwCayyKR1D8hQLFH4="; 30 32 }; 31 33 32 34 nativeBuildInputs = [ ··· 38 40 pkg-config 39 41 gi-docgen 40 42 gobject-introspection 43 + vala 41 44 wrapGAppsHook4 42 45 ]; 43 46 44 47 buildInputs = [ 45 48 gtk4 49 + libadwaita 46 50 atk 47 51 glib 48 52 ]; ··· 54 58 55 59 mesonFlags = [ 56 60 "-Dgtk_doc=true" 61 + "-Dvapi=true" 57 62 ] ++ lib.optionals stdenv.isDarwin [ 58 63 # mremap does not exist on darwin 59 64 "-Dmmap-buffer-backend=false"
+12 -19
pkgs/desktops/gnome/apps/gnome-boxes/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , fetchurl 3 4 , meson 4 5 , ninja ··· 11 12 , gobject-introspection 12 13 , libxml2 13 14 , gtk3 14 - , gtksourceview4 15 - , gtk-vnc 16 15 , libvirt 17 16 , spice-gtk 18 - , python3 19 17 , appstream-glib 20 18 , spice-protocol 21 19 , libhandy 22 - , libsoup 20 + , libsoup_3 23 21 , libosinfo 24 22 , systemd 25 23 , tracker ··· 45 43 , numactl 46 44 , libapparmor 47 45 , json-glib 48 - , webkitgtk 46 + , webkitgtk_4_1 49 47 , vte 50 48 , glib-networking 51 49 , qemu-utils ··· 53 51 54 52 stdenv.mkDerivation rec { 55 53 pname = "gnome-boxes"; 56 - version = "42.3"; 54 + version = "43.0"; 57 55 58 56 src = fetchurl { 59 57 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 60 - sha256 = "Vu/3+vgwD6oc4U+An468Knu02RWvx7EnNxKXkWBbYNM="; 58 + sha256 = "V0UFCWQUyCC4COzQ9x4tGakzI1HhKj3YJvdi5DK/ayY="; 61 59 }; 62 60 63 61 patches = [ ··· 70 68 71 69 nativeBuildInputs = [ 72 70 appstream-glib # for appstream-util 73 - desktop-file-utils 74 71 gettext 75 72 gobject-introspection 76 73 itstool 77 74 meson 78 75 ninja 79 76 pkg-config 80 - python3 81 77 vala 82 78 wrapGAppsHook 79 + # For post install script 80 + glib 81 + gtk3 82 + desktop-file-utils 83 83 ]; 84 84 85 85 # Required for USB redirection PolicyKit rules file ··· 95 95 glib-networking 96 96 gmp 97 97 gnome.adwaita-icon-theme 98 - gtk-vnc 99 98 gtk3 100 - gtksourceview4 101 99 json-glib 102 100 libapparmor 103 101 libarchive ··· 108 106 libosinfo 109 107 librsvg 110 108 libsecret 111 - libsoup 109 + libsoup_3 112 110 libusb1 113 111 libvirt 114 112 libvirt-glib ··· 120 118 tracker 121 119 tracker-miners 122 120 vte 123 - webkitgtk 121 + webkitgtk_4_1 124 122 yajl 125 123 ]; 126 124 127 125 preFixup = '' 128 126 gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ mtools cdrkit libcdio qemu-utils ]}") 129 - ''; 130 - 131 - postPatch = '' 132 - chmod +x build-aux/post_install.py # patchShebangs requires executable file 133 - patchShebangs build-aux/post_install.py 134 127 ''; 135 128 136 129 passthru = {
+8 -8
pkgs/desktops/gnome/apps/gnome-calendar/default.nix
··· 7 7 , wrapGAppsHook4 8 8 , libgweather 9 9 , geoclue2 10 - , geocode-glib 10 + , geocode-glib_2 11 11 , gettext 12 12 , libxml2 13 13 , gnome 14 14 , gtk4 15 - , evolution-data-server 15 + , evolution-data-server-gtk4 16 16 , libical 17 - , libsoup 17 + , libsoup_3 18 18 , glib 19 19 , gsettings-desktop-schemas 20 20 , libadwaita ··· 22 22 23 23 stdenv.mkDerivation rec { 24 24 pname = "gnome-calendar"; 25 - version = "42.2"; 25 + version = "43.0"; 26 26 27 27 src = fetchurl { 28 28 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 29 - sha256 = "rnzGOq6WoCqlmbbWo0hYX0529ylTbznvt0QwKwW1+70="; 29 + sha256 = "CeXA+TYPP4Vt6qfA2zD12rAVEYDfQYOAfGzzYCmS9cw="; 30 30 }; 31 31 32 32 nativeBuildInputs = [ ··· 40 40 41 41 buildInputs = [ 42 42 gtk4 43 - evolution-data-server # waiting for GTK4 port 43 + evolution-data-server-gtk4 44 44 libical 45 - libsoup 45 + libsoup_3 46 46 glib 47 47 libgweather 48 48 geoclue2 49 - geocode-glib 49 + geocode-glib_2 50 50 gsettings-desktop-schemas 51 51 libadwaita 52 52 ];
+2 -6
pkgs/desktops/gnome/apps/gnome-characters/default.nix
··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "gnome-characters"; 26 - version = "42.0"; 26 + version = "43.0"; 27 27 28 28 src = fetchurl { 29 29 url = "mirror://gnome/sources/gnome-characters/${lib.versions.major version}/${pname}-${version}.tar.xz"; 30 - sha256 = "XaD/uBb4prRPMDdEyoJ6NAgBGMHJONjXmvF7f+Z5gPg="; 30 + sha256 = "poW5y/k1Re05EWjEHJ2L+DeFq7+0iWdYJ+5zQkcbqsg="; 31 31 }; 32 32 33 33 patches = [ ··· 63 63 postPatch = '' 64 64 chmod +x meson_post_install.py # patchShebangs requires executable file 65 65 patchShebangs meson_post_install.py 66 - 67 - # https://gitlab.gnome.org/GNOME/gnome-characters/-/merge_requests/70 68 - substituteInPlace meson_post_install.py \ 69 - --replace "gtk-update-icon-cache" "gtk4-update-icon-cache" 70 66 ''; 71 67 72 68 dontWrapGApps = true;
+8 -8
pkgs/desktops/gnome/apps/gnome-clocks/default.nix
··· 5 5 , ninja 6 6 , gettext 7 7 , pkg-config 8 - , wrapGAppsHook 8 + , wrapGAppsHook4 9 9 , itstool 10 10 , desktop-file-utils 11 - , vala_0_56 11 + , vala 12 12 , gobject-introspection 13 13 , libxml2 14 14 , gtk4 ··· 17 17 , sound-theme-freedesktop 18 18 , gsettings-desktop-schemas 19 19 , gnome-desktop 20 - , geocode-glib 20 + , geocode-glib_2 21 21 , gnome 22 22 , gdk-pixbuf 23 23 , geoclue2 ··· 27 27 28 28 stdenv.mkDerivation rec { 29 29 pname = "gnome-clocks"; 30 - version = "42.0"; 30 + version = "43.0"; 31 31 32 32 src = fetchurl { 33 33 url = "mirror://gnome/sources/gnome-clocks/${lib.versions.major version}/${pname}-${version}.tar.xz"; 34 - sha256 = "DnEY20oDLjzqMhLZjLuCjWt88i/gXgxfyLORxqPdb+A="; 34 + sha256 = "sHQ7cNAIgKo7zcx/fzTIwihiV7XIFzfU+YG8jE9PmB0="; 35 35 }; 36 36 37 37 nativeBuildInputs = [ 38 - vala_0_56 38 + vala 39 39 meson 40 40 ninja 41 41 pkg-config 42 42 gettext 43 43 itstool 44 - wrapGAppsHook 44 + wrapGAppsHook4 45 45 desktop-file-utils 46 46 libxml2 47 47 gobject-introspection # for finding vapi files ··· 56 56 gsettings-desktop-schemas 57 57 gdk-pixbuf 58 58 gnome-desktop 59 - geocode-glib 59 + geocode-glib_2 60 60 geoclue2 61 61 libgweather 62 62 gsound
+4 -4
pkgs/desktops/gnome/apps/gnome-connections/default.nix
··· 4 4 , meson 5 5 , ninja 6 6 , pkg-config 7 - , vala_0_56 7 + , vala 8 8 , gettext 9 9 , itstool 10 10 , python3 ··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "gnome-connections"; 26 - version = "42.1.2"; 26 + version = "43.0"; 27 27 28 28 src = fetchurl { 29 29 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 30 - hash = "sha256-2ObnJ0EJHYkt/IQoH2JVUdBWjNSC1I21ik7bivoTd7Y="; 30 + hash = "sha256-hdrYL5PAsvYJ/o7H7N7scGAKVWEq/A4/AndMJaC7MJ8="; 31 31 }; 32 32 33 33 nativeBuildInputs = [ 34 34 meson 35 35 ninja 36 36 pkg-config 37 - vala_0_56 37 + vala 38 38 gettext 39 39 itstool 40 40 python3
+20 -25
pkgs/desktops/gnome/apps/gnome-logs/default.nix
··· 7 7 , pkg-config 8 8 , gnome 9 9 , glib 10 - , gtk3 11 - , wrapGAppsHook 10 + , gtk4 11 + , desktop-file-utils 12 + , wrapGAppsHook4 12 13 , gettext 13 14 , itstool 14 - , libhandy 15 + , libadwaita 15 16 , libxml2 16 17 , libxslt 17 - , docbook_xsl 18 + , docbook-xsl-nons 18 19 , docbook_xml_dtd_43 19 20 , systemd 20 - , python3 21 21 , gsettings-desktop-schemas 22 22 }: 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "gnome-logs"; 26 - version = "42.0"; 26 + version = "43.0"; 27 27 28 28 src = fetchurl { 29 29 url = "mirror://gnome/sources/gnome-logs/${lib.versions.major version}/${pname}-${version}.tar.xz"; 30 - sha256 = "TV5FFp1r9DkC16npoHk8kW65LaumuoWzXI629nLNq9c="; 30 + sha256 = "M6k7l17CfISHglBIqnuK99XCNWWrz3t0yQKrez7CCGE="; 31 31 }; 32 32 33 33 patches = [ 34 - # meson: Remove redundant check for glib-mkenums 34 + # Remove GTK 3 depndency 35 + # https://gitlab.gnome.org/GNOME/gnome-logs/-/merge_requests/46 35 36 (fetchpatch { 36 - url = "https://gitlab.gnome.org/GNOME/gnome-logs/-/commit/01386ce9a69652a00bdb163e569b51150ca8903e.diff"; 37 - sha256 = "sha256-tJJEai4Jw8aVcyhsFTYILiUV1xhsysX/rleeLP13DVM="; 38 - }) 39 - # meson: remove redundant check for pkg-config 40 - (fetchpatch { 41 - url = "https://gitlab.gnome.org/GNOME/gnome-logs/-/commit/ad350729a8b81f2c8eb2122de0956bb2199b48da.patch"; 42 - sha256 = "sha256-5qGYyKM+B9XNZKytWH8K4QfSuBf7wpaPCWT6YIO5FGY="; 37 + url = "https://gitlab.gnome.org/GNOME/gnome-logs/-/commit/32193a1385b95012bc8e7007ada89566bd63697d.patch"; 38 + sha256 = "5WsTnfVpWZquU65pSLnk2M6VnY+qQPUi7A0cqMmzfrU="; 39 + postFetch = '' 40 + substituteInPlace "$out" --replace "43.1" "43.0" 41 + ''; 43 42 }) 44 43 ]; 45 44 46 45 nativeBuildInputs = [ 47 - python3 48 46 meson 49 47 ninja 50 48 pkg-config 51 - wrapGAppsHook 49 + wrapGAppsHook4 52 50 gettext 53 51 itstool 54 52 libxml2 55 53 libxslt 56 - docbook_xsl 54 + docbook-xsl-nons 57 55 docbook_xml_dtd_43 58 56 glib 57 + gtk4 58 + desktop-file-utils 59 59 ]; 60 60 61 61 buildInputs = [ 62 62 glib 63 - gtk3 64 - libhandy 63 + gtk4 64 + libadwaita 65 65 systemd 66 66 gsettings-desktop-schemas 67 67 ]; ··· 69 69 mesonFlags = [ 70 70 "-Dman=true" 71 71 ]; 72 - 73 - postPatch = '' 74 - chmod +x meson_post_install.py 75 - patchShebangs meson_post_install.py 76 - ''; 77 72 78 73 doCheck = true; 79 74
+26 -33
pkgs/desktops/gnome/apps/gnome-maps/default.nix
··· 7 7 , python3 8 8 , pkg-config 9 9 , gnome 10 - , gtk3 10 + , glib 11 + , gtk4 11 12 , gobject-introspection 12 13 , gdk-pixbuf 13 - , librest 14 - , librsvg 14 + , librest_1_0 15 15 , libgweather 16 16 , geoclue2 17 - , wrapGAppsHook 18 - , folks 19 - , libchamplain 20 - , libsoup 17 + , wrapGAppsHook4 18 + , desktop-file-utils 19 + , libshumate 20 + , libsecret 21 + , libsoup_3 21 22 , gsettings-desktop-schemas 22 - , webkitgtk 23 23 , gjs 24 - , libgee 25 - , libhandy 26 - , geocode-glib 27 - , evolution-data-server 28 - , gnome-online-accounts 24 + , libadwaita 25 + , geocode-glib_2 29 26 }: 30 27 31 28 stdenv.mkDerivation rec { 32 29 pname = "gnome-maps"; 33 - version = "42.3"; 30 + version = "43.0"; 34 31 35 32 src = fetchurl { 36 33 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 37 - sha256 = "sha256-5FZGf6zzyP0QyThrXnTEPZWVrZ+3Ulf32gFK+YPWnNE="; 34 + sha256 = "sha256-CGjPz7eMOiesW+YM2E0wuz08KMiFqY+qCeN/o6UyNOQ="; 38 35 }; 39 36 40 37 doCheck = true; ··· 44 41 meson 45 42 ninja 46 43 pkg-config 47 - python3 48 - wrapGAppsHook 44 + wrapGAppsHook4 45 + gobject-introspection 46 + # For post install script 47 + desktop-file-utils 48 + glib 49 + gtk4 49 50 ]; 50 51 51 52 buildInputs = [ 52 - evolution-data-server 53 - folks 54 53 gdk-pixbuf 54 + glib 55 55 geoclue2 56 - geocode-glib 56 + geocode-glib_2 57 57 gjs 58 - gnome-online-accounts 59 - gobject-introspection 60 58 gsettings-desktop-schemas 61 - gtk3 62 - libchamplain 63 - libgee 59 + gtk4 60 + libshumate 64 61 libgweather 65 - libhandy 66 - librest 67 - librsvg 68 - libsoup 69 - webkitgtk 62 + libadwaita 63 + librest_1_0 64 + libsecret 65 + libsoup_3 70 66 ]; 71 67 72 68 postPatch = '' 73 - chmod +x meson_post_install.py # patchShebangs requires executable file 74 - patchShebangs meson_post_install.py 75 - 76 69 # The .service file isn't wrapped with the correct environment 77 70 # so misses GIR files when started. By re-pointing from the gjs 78 71 # entry point to the wrapped binary we get back to a wrapped
+16 -17
pkgs/desktops/gnome/apps/gnome-power-manager/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , gettext 3 4 , fetchurl 4 5 , pkg-config ··· 10 11 , python3 11 12 , desktop-file-utils 12 13 , wrapGAppsHook 13 - , gnome }: 14 + , gnome 15 + }: 14 16 15 - let 17 + stdenv.mkDerivation rec { 16 18 pname = "gnome-power-manager"; 17 - version = "3.32.0"; 18 - in stdenv.mkDerivation rec { 19 - name = "${pname}-${version}"; 19 + version = "43.0"; 20 20 21 21 src = fetchurl { 22 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 23 - sha256 = "0drfn3wcc8l4n07qwv6p0rw2dwcd00hwzda282q62l6sasks2b2g"; 24 - }; 25 - 26 - passthru = { 27 - updateScript = gnome.updateScript { 28 - packageName = pname; 29 - attrPath = "gnome.${pname}"; 30 - }; 22 + url = "mirror://gnome/sources/gnome-power-manager/${lib.versions.major version}/gnome-power-manager-${version}.tar.xz"; 23 + sha256 = "faq0i73bMOnfKrplDLYNBeZnyfiFrOagoeeVDgy90y8="; 31 24 }; 32 25 33 26 nativeBuildInputs = [ ··· 39 32 40 33 # needed by meson_post_install.sh 41 34 python3 42 - glib.dev 35 + glib 43 36 desktop-file-utils 44 37 ]; 45 38 ··· 47 40 gtk3 48 41 glib 49 42 upower 50 - gnome.adwaita-icon-theme 51 43 ]; 44 + 45 + passthru = { 46 + updateScript = gnome.updateScript { 47 + packageName = "gnome-power-manager"; 48 + attrPath = "gnome.gnome-power-manager"; 49 + }; 50 + }; 52 51 53 52 meta = with lib; { 54 53 homepage = "https://gitlab.gnome.org/GNOME/gnome-power-manager";
+2 -2
pkgs/desktops/gnome/apps/gnome-sound-recorder/default.nix
··· 20 20 21 21 stdenv.mkDerivation rec { 22 22 pname = "gnome-sound-recorder"; 23 - version = "42.0"; 23 + version = "43.beta"; 24 24 25 25 src = fetchurl { 26 26 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 27 - sha256 = "TAjDFSgvPr96LabyDg/58McdqlIp/NL+C1wKqqoG8K0="; 27 + sha256 = "bbbbmjsbUv0KtU+aW/Tymctx5SoTrF/fw+dOtGmFpOY="; 28 28 }; 29 29 30 30 nativeBuildInputs = [
+4 -2
pkgs/desktops/gnome/apps/gnome-text-editor/default.nix
··· 15 15 , icu 16 16 , itstool 17 17 , libadwaita 18 + , editorconfig-core-c 18 19 , libxml2 19 20 , pcre 20 21 , appstream-glib ··· 23 24 24 25 stdenv.mkDerivation rec { 25 26 pname = "gnome-text-editor"; 26 - version = "42.2"; 27 + version = "43.1"; 27 28 28 29 src = fetchurl { 29 30 url = "mirror://gnome/sources/gnome-text-editor/${lib.versions.major version}/${pname}-${version}.tar.xz"; 30 - sha256 = "sha256-5W1KjNy86KjxwIgbRd55n4slIF7Ay/ImnlMgJXYcxdo="; 31 + sha256 = "sha256-lzpLDeto+fkaVKTdQVtq/em1rj7mhLx2FHH5QpD59ss="; 31 32 }; 32 33 33 34 nativeBuildInputs = [ ··· 50 51 gtk4 51 52 gtksourceview5 52 53 libadwaita 54 + editorconfig-core-c 53 55 pcre 54 56 ]; 55 57
-96
pkgs/desktops/gnome/apps/gnome-todo/default.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchFromGitLab 4 - , fetchpatch 5 - , meson 6 - , ninja 7 - , pkg-config 8 - , python3 9 - , wrapGAppsHook 10 - , gettext 11 - , gnome 12 - , glib 13 - , gtk4 14 - , wayland 15 - , libadwaita 16 - , libpeas 17 - , gnome-online-accounts 18 - , gsettings-desktop-schemas 19 - , libportal-gtk4 20 - , evolution-data-server 21 - , libical 22 - , librest 23 - , json-glib 24 - , itstool 25 - , unstableGitUpdater 26 - }: 27 - 28 - stdenv.mkDerivation rec { 29 - pname = "gnome-todo"; 30 - version = "unstable-2022-06-12"; 31 - 32 - src = fetchFromGitLab { 33 - domain = "gitlab.gnome.org"; 34 - owner = "GNOME"; 35 - repo = "gnome-todo"; 36 - rev = "ad4e15f0b58860caf8c6d497795b83b594a9c3e5"; 37 - sha256 = "HRufLoZou9ssQ/qoDG8anhOAtl8IYvFpyjq/XJlsotQ="; 38 - }; 39 - 40 - patches = [ 41 - # fix build race bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257667 42 - (fetchpatch { 43 - url = "https://cgit.freebsd.org/ports/plain/deskutils/gnome-todo/files/patch-src_meson.build?id=a4faaf6cf7835014b5f69a337b544ea4ee7f9655"; 44 - sha256 = "sha256-dio4Mg+5OGrnjtRAf4LwowO0sG50HRmlNR16cbDvEUY="; 45 - extraPrefix = ""; 46 - name = "gnome-todo_meson-build.patch"; 47 - }) 48 - ]; 49 - 50 - nativeBuildInputs = [ 51 - meson 52 - ninja 53 - pkg-config 54 - gettext 55 - python3 56 - wrapGAppsHook 57 - itstool 58 - ]; 59 - 60 - buildInputs = [ 61 - glib 62 - gtk4 63 - wayland # required by gtk header 64 - libadwaita 65 - libpeas 66 - gnome-online-accounts 67 - gsettings-desktop-schemas 68 - gnome.adwaita-icon-theme 69 - 70 - # Plug-ins 71 - libportal-gtk4 # background 72 - evolution-data-server # eds 73 - libical 74 - librest # todoist 75 - json-glib # todoist 76 - ]; 77 - 78 - postPatch = '' 79 - chmod +x build-aux/meson/meson_post_install.py 80 - patchShebangs build-aux/meson/meson_post_install.py 81 - ''; 82 - 83 - passthru = { 84 - updateScript = unstableGitUpdater { 85 - url = "https://gitlab.gnome.org/GNOME/gnome-todo.git"; 86 - }; 87 - }; 88 - 89 - meta = with lib; { 90 - description = "Personal task manager for GNOME"; 91 - homepage = "https://wiki.gnome.org/Apps/Todo"; 92 - license = licenses.gpl3Plus; 93 - maintainers = teams.gnome.members; 94 - platforms = platforms.linux; 95 - }; 96 - }
+2 -2
pkgs/desktops/gnome/apps/gnome-weather/default.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "gnome-weather"; 21 - version = "42.0"; 21 + version = "43.0"; 22 22 23 23 src = fetchurl { 24 24 url = "mirror://gnome/sources/gnome-weather/${lib.versions.major version}/${pname}-${version}.tar.xz"; 25 - sha256 = "V57mkdhT5bs/9Q6Me0P4Wundfls6ZJ4CwlSi2bgHtGU="; 25 + sha256 = "LxERf3VVK/G7ngHwHPs8L82mo/aQcP/gUZoHYVMrjyY="; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+6 -6
pkgs/desktops/gnome/apps/polari/default.nix
··· 17 17 , gtk3 18 18 , glib 19 19 , libsecret 20 - , libsoup 21 - , webkitgtk 20 + , libsoup_3 21 + , webkitgtk_4_1 22 22 , gobject-introspection 23 23 , appstream-glib 24 24 , gnome ··· 30 30 31 31 stdenv.mkDerivation rec { 32 32 pname = "polari"; 33 - version = "42.1"; 33 + version = "43.0"; 34 34 35 35 src = fetchurl { 36 36 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 37 - sha256 = "r5DPCEjsvkB+sjBkBINpdP048xww1HT0bRspIYqWaz0="; 37 + sha256 = "F6GS3uYfWOPNRHJQC+cBGUa5n75SvFrBJPqurC8zQUc="; 38 38 }; 39 39 40 40 patches = [ ··· 74 74 gspell 75 75 gdk-pixbuf 76 76 libsecret 77 - libsoup 78 - webkitgtk # for thumbnailer 77 + libsoup_3 78 + webkitgtk_4_1 # for thumbnailer 79 79 ]; 80 80 81 81 postFixup = ''
+26 -18
pkgs/desktops/gnome/core/adwaita-icon-theme/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, pkg-config, autoreconfHook, intltool, gnome 2 - , iconnamingutils, gtk3, gdk-pixbuf, librsvg, hicolor-icon-theme }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , pkg-config 5 + , autoreconfHook 6 + , gnome 7 + , gtk3 8 + , gdk-pixbuf 9 + , librsvg 10 + , hicolor-icon-theme 11 + }: 3 12 4 13 stdenv.mkDerivation rec { 5 14 pname = "adwaita-icon-theme"; 6 - version = "42.0"; 15 + version = "43"; 7 16 8 17 src = fetchurl { 9 18 url = "mirror://gnome/sources/adwaita-icon-theme/${lib.versions.major version}/${pname}-${version}.tar.xz"; 10 - sha256 = "XoW1rcje5maQD8rycbpxf33LnQoD2W2uCPnL0n4YseA="; 19 + sha256 = "LjrHfTKmqlVUFV3zfo8KDdVPxaZf1yHojVBflw2jLsY="; 11 20 }; 12 21 13 - patches = [ 14 - (fetchpatch { 15 - name = "reduce-build-parallelism.patch"; 16 - url = "https://gitlab.gnome.org/vcunat/adwaita-icon-theme/-/commit/27edeca7927eb2247d7385fccb3f0fd7787471e6.patch"; 17 - sha256 = "vDWuvz5yRhtn9obTtHRp6J7gJpXDZz1cajyquPGw53I="; 18 - }) 22 + nativeBuildInputs = [ 23 + pkg-config 24 + autoreconfHook 25 + gtk3 19 26 ]; 20 27 21 - # For convenience, we can specify adwaita-icon-theme only in packages 22 - propagatedBuildInputs = [ hicolor-icon-theme ]; 23 - 24 - buildInputs = [ gdk-pixbuf librsvg ]; 28 + buildInputs = [ 29 + gdk-pixbuf 30 + librsvg 31 + ]; 25 32 26 - nativeBuildInputs = [ pkg-config autoreconfHook intltool iconnamingutils gtk3 ]; 33 + propagatedBuildInputs = [ 34 + # For convenience, we can specify adwaita-icon-theme only in packages 35 + hicolor-icon-theme 36 + ]; 27 37 28 38 dontDropIconThemeCache = true; 29 - 30 - # remove a tree of dirs with no files within 31 - postInstall = '' rm -rf "$out/locale" ''; 32 39 33 40 passthru = { 34 41 updateScript = gnome.updateScript { ··· 40 47 meta = with lib; { 41 48 platforms = with platforms; linux ++ darwin; 42 49 maintainers = teams.gnome.members; 50 + license = licenses.cc-by-sa-30; 43 51 }; 44 52 }
+2 -2
pkgs/desktops/gnome/core/baobab/default.nix
··· 19 19 20 20 stdenv.mkDerivation rec { 21 21 pname = "baobab"; 22 - version = "42.0"; 22 + version = "43.0"; 23 23 24 24 src = fetchurl { 25 25 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 26 - sha256 = "Sxqr5rqxWCs/6nmigpvOfyQVu25QYvJTV67t1TF6UNw="; 26 + sha256 = "UsaGQRj1aX9aVzaILc2ifbIuciC8SSg43uzGmSRs2yY="; 27 27 }; 28 28 29 29 nativeBuildInputs = [
+5 -9
pkgs/desktops/gnome/core/dconf-editor/default.nix
··· 9 9 , pkg-config 10 10 , glib 11 11 , gtk3 12 + , libhandy 12 13 , gnome 13 14 , python3 14 15 , dconf ··· 21 22 22 23 stdenv.mkDerivation rec { 23 24 pname = "dconf-editor"; 24 - version = "3.38.3"; 25 + version = "43.0"; 25 26 26 27 src = fetchurl { 27 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 - sha256 = "sha256-Vxr0x9rU8Em1PmzXKLea3fCMJ92ra8V7OW0hGGbueeM="; 28 + url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 29 + sha256 = "sha256-k1o8Lddswqk81a7ppU05R/sRHrOW9LY9xfC6j40JkTY="; 29 30 }; 30 31 31 32 patches = [ 32 33 # Look for compiled schemas in NIX_GSETTINGS_OVERRIDES_DIR 33 34 # environment variable, to match what we patched GLib to do. 34 35 ./schema-override-variable.patch 35 - 36 - # Fix build with Meson 0.61.0 37 - (fetchpatch { 38 - url = "https://gitlab.gnome.org/GNOME/dconf-editor/-/commit/56474378568e6ff4af8aa912810323e808c1d977.patch"; 39 - sha256 = "iFyJcskqcmvz7tp1Z9jM9f8WvAhD0L9Vx1hu2c402MA="; 40 - }) 41 36 ]; 42 37 43 38 nativeBuildInputs = [ ··· 57 52 buildInputs = [ 58 53 glib 59 54 gtk3 55 + libhandy 60 56 dconf 61 57 ]; 62 58
+2 -2
pkgs/desktops/gnome/core/eog/default.nix
··· 29 29 30 30 stdenv.mkDerivation rec { 31 31 pname = "eog"; 32 - version = "42.3"; 32 + version = "43.0"; 33 33 34 34 outputs = [ "out" "dev" "devdoc" ]; 35 35 36 36 src = fetchurl { 37 37 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 38 - sha256 = "sha256-MMGzwovG3ChU2Hjr0xoi6qFb+VnBNCBqKhkEGT5H9Do="; 38 + sha256 = "sha256-pSovPrGju1ADijNikCvHlRY+GphnY+6C0gQk566EVG8="; 39 39 }; 40 40 41 41 patches = [
+6 -15
pkgs/desktops/gnome/core/epiphany/default.nix
··· 15 15 , libxml2 16 16 , libxslt 17 17 , itstool 18 - , webkitgtk 19 - , libsoup 18 + , webkitgtk_4_1 19 + , libsoup_3 20 20 , glib-networking 21 21 , libsecret 22 22 , gnome-desktop 23 - , libnotify 24 23 , libarchive 25 24 , p11-kit 26 25 , sqlite 27 26 , gcr 28 27 , isocodes 29 28 , desktop-file-utils 30 - , python3 31 29 , nettle 32 30 , gdk-pixbuf 33 31 , gst_all_1 ··· 40 38 41 39 stdenv.mkDerivation rec { 42 40 pname = "epiphany"; 43 - version = "42.3"; 41 + version = "43.0"; 44 42 45 43 src = fetchurl { 46 44 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 47 - sha256 = "cxbTxlAOgl2OVyk/pYBHxWcnvuFs1rasgE/+XZsilWA="; 45 + sha256 = "tm1Jn57nJpbYPPhEElN3GBqVRVSkuzeFtzKTOArAwic="; 48 46 }; 49 47 50 48 patches = lib.optionals withPantheon [ ··· 67 65 meson 68 66 ninja 69 67 pkg-config 70 - python3 71 68 wrapGAppsHook 72 69 buildPackages.glib 73 70 buildPackages.gtk3 ··· 92 89 libdazzle 93 90 libhandy 94 91 libportal-gtk3 95 - libnotify 96 92 libarchive 97 93 libsecret 98 - libsoup 94 + libsoup_3 99 95 libxml2 100 96 nettle 101 97 p11-kit 102 98 sqlite 103 - webkitgtk 99 + webkitgtk_4_1 104 100 ]; 105 101 106 102 # Tests need an X display 107 103 mesonFlags = [ 108 104 "-Dunit_tests=disabled" 109 105 ]; 110 - 111 - postPatch = '' 112 - chmod +x post_install.py # patchShebangs requires executable file 113 - patchShebangs post_install.py 114 - ''; 115 106 116 107 passthru = { 117 108 updateScript = gnome.updateScript {
+2 -9
pkgs/desktops/gnome/core/evince/default.nix
··· 31 31 , gsettings-desktop-schemas 32 32 , gnome-desktop 33 33 , dbus 34 - , python3 35 34 , texlive 36 35 , gst_all_1 37 36 , gi-docgen ··· 43 42 44 43 stdenv.mkDerivation rec { 45 44 pname = "evince"; 46 - version = "42.3"; 45 + version = "43.0"; 47 46 48 47 outputs = [ "out" "dev" "devdoc" ]; 49 48 50 49 src = fetchurl { 51 50 url = "mirror://gnome/sources/evince/${lib.versions.major version}/${pname}-${version}.tar.xz"; 52 - sha256 = "Sa7PhFyUbJbbF7qJ11yAAsWuiWP1BKmwYm0SZ1kUZF4="; 51 + sha256 = "Zr4N5LR7ETBIYQOYjMFSwErqlZULo+8W3CDC72toHUc="; 53 52 }; 54 53 55 - postPatch = '' 56 - chmod +x meson_post_install.py 57 - patchShebangs meson_post_install.py 58 - ''; 59 - 60 54 nativeBuildInputs = [ 61 55 appstream 62 56 gettext ··· 66 60 meson 67 61 ninja 68 62 pkg-config 69 - python3 70 63 wrapGAppsHook 71 64 yelp-tools 72 65 ];
+23 -19
pkgs/desktops/gnome/core/evolution-data-server/default.nix
··· 11 11 , python3 12 12 , gobject-introspection 13 13 , gettext 14 - , libsoup 14 + , libsoup_3 15 15 , libxml2 16 16 , libsecret 17 17 , icu 18 18 , sqlite 19 19 , tzdata 20 20 , libcanberra-gtk3 21 - , gcr 22 21 , p11-kit 23 22 , db 24 23 , nspr ··· 33 32 , ninja 34 33 , libkrb5 35 34 , openldap 36 - , webkitgtk 35 + , webkitgtk_4_1 36 + , webkitgtk_5_0 37 37 , libaccounts-glib 38 38 , json-glib 39 39 , glib 40 40 , gtk3 41 + , gtk4 42 + , withGtk3 ? true 43 + , withGtk4 ? false 41 44 , libphonenumber 42 45 , gnome-online-accounts 43 46 , libgweather 44 - , libgdata 45 - , gsettings-desktop-schemas 46 47 , boost 47 48 , protobuf 48 49 }: 49 50 50 51 stdenv.mkDerivation rec { 51 52 pname = "evolution-data-server"; 52 - version = "3.44.4"; 53 + version = "3.46.0"; 53 54 54 55 outputs = [ "out" "dev" ]; 55 56 56 57 src = fetchurl { 57 58 url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 58 - sha256 = "wMZliDjVi6RgQqS55Qo7sRKWkeTNuEteugvzMLLMsus="; 59 + sha256 = "5fooCVoYP3q1qSjjWoKDebSB3e+D7Ux7UaLjxK71zas="; 59 60 }; 60 61 61 62 patches = [ ··· 67 68 68 69 prePatch = '' 69 70 substitute ${./hardcode-gsettings.patch} hardcode-gsettings.patch \ 70 - --subst-var-by EDS_GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"} \ 71 - --subst-var-by GDS_GSETTINGS_PATH ${glib.getSchemaPath gsettings-desktop-schemas} 71 + --subst-var-by EDS_GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"} 72 72 patches="$patches $PWD/hardcode-gsettings.patch" 73 73 ''; 74 74 ··· 86 86 87 87 buildInputs = [ 88 88 glib 89 - libsoup 90 - libxml2 91 - gtk3 89 + libsoup_3 92 90 gnome-online-accounts 93 - gcr 94 91 p11-kit 95 92 libgweather 96 - libgdata 97 93 libaccounts-glib 98 - json-glib 99 94 icu 100 95 sqlite 101 96 libkrb5 102 97 openldap 103 - webkitgtk 104 98 glib-networking 105 99 libcanberra-gtk3 106 100 pcre 107 101 libphonenumber 108 102 boost 109 103 protobuf 104 + ] ++ lib.optionals withGtk3 [ 105 + gtk3 106 + webkitgtk_4_1 107 + ] ++ lib.optionals withGtk4 [ 108 + gtk4 109 + webkitgtk_5_0 110 110 ]; 111 111 112 112 propagatedBuildInputs = [ ··· 115 115 nss 116 116 nspr 117 117 libical 118 - libgdata # needed for GObject inspection, https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/57/diffs 119 - libsoup 118 + libsoup_3 119 + libxml2 120 + json-glib 120 121 ]; 121 122 122 123 cmakeFlags = [ ··· 125 126 "-DENABLE_INTROSPECTION=ON" 126 127 "-DINCLUDE_INSTALL_DIR=${placeholder "dev"}/include" 127 128 "-DWITH_PHONENUMBER=ON" 128 - "-DWITH_GWEATHER4=ON" 129 + "-DENABLE_GTK=${lib.boolToString withGtk3}" 130 + "-DENABLE_EXAMPLES=${lib.boolToString withGtk3}" 131 + "-DENABLE_CANBERRA=${lib.boolToString withGtk3}" 132 + "-DENABLE_GTK4=${lib.boolToString withGtk4}" 129 133 ]; 130 134 131 135 passthru = {
-1
pkgs/desktops/gnome/core/evolution-data-server/hardcode-gsettings.cocci
··· 24 24 ] 25 25 26 26 g_d_s_schema_constants = [ 27 - "\"org.gnome.system.proxy\"", 28 27 ] 29 28 30 29 def get_schema_directory(schema_path):
+89 -57
pkgs/desktops/gnome/core/evolution-data-server/hardcode-gsettings.patch
··· 127 127 uid = g_settings_get_string (settings, SELF_UID_KEY); 128 128 g_object_unref (settings); 129 129 130 + diff --git a/src/addressbook/libedata-book/e-book-meta-backend.c b/src/addressbook/libedata-book/e-book-meta-backend.c 131 + index d3f130e..9e8edd4 100644 132 + --- a/src/addressbook/libedata-book/e-book-meta-backend.c 133 + +++ b/src/addressbook/libedata-book/e-book-meta-backend.c 134 + @@ -135,7 +135,18 @@ ebmb_is_power_saver_enabled (void) 135 + GSettings *settings; 136 + gboolean enabled = FALSE; 137 + 138 + - settings = g_settings_new ("org.gnome.evolution-data-server"); 139 + + { 140 + + g_autoptr(GSettingsSchemaSource) schema_source; 141 + + g_autoptr(GSettingsSchema) schema; 142 + + schema_source = g_settings_schema_source_new_from_directory("@EDS_GSETTINGS_PATH@", 143 + + g_settings_schema_source_get_default(), 144 + + TRUE, 145 + + NULL); 146 + + schema = g_settings_schema_source_lookup(schema_source, 147 + + "org.gnome.evolution-data-server", 148 + + FALSE); 149 + + settings = g_settings_new_full(schema, NULL, NULL); 150 + + } 151 + 152 + if (g_settings_get_boolean (settings, "limit-operations-in-power-saver-mode")) { 153 + GPowerProfileMonitor *power_monitor; 130 154 diff --git a/src/calendar/backends/contacts/e-cal-backend-contacts.c b/src/calendar/backends/contacts/e-cal-backend-contacts.c 131 - index e696861..52af238 100644 155 + index 42f3457..faac410 100644 132 156 --- a/src/calendar/backends/contacts/e-cal-backend-contacts.c 133 157 +++ b/src/calendar/backends/contacts/e-cal-backend-contacts.c 134 158 @@ -1387,7 +1387,18 @@ e_cal_backend_contacts_init (ECalBackendContacts *cbc) ··· 152 176 cbc->priv->update_alarms_id = 0; 153 177 cbc->priv->alarm_enabled = FALSE; 154 178 diff --git a/src/calendar/libecal/e-reminder-watcher.c b/src/calendar/libecal/e-reminder-watcher.c 155 - index a24ede2..5d2a032 100644 179 + index 52095a4..e839991 100644 156 180 --- a/src/calendar/libecal/e-reminder-watcher.c 157 181 +++ b/src/calendar/libecal/e-reminder-watcher.c 158 - @@ -2477,7 +2477,19 @@ e_reminder_watcher_init (EReminderWatcher *watcher) 182 + @@ -2555,7 +2555,19 @@ e_reminder_watcher_init (EReminderWatcher *watcher) 159 183 160 184 watcher->priv = e_reminder_watcher_get_instance_private (watcher); 161 185 watcher->priv->cancellable = g_cancellable_new (); ··· 176 200 watcher->priv->scheduled = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, e_reminder_watcher_free_rd_slist); 177 201 watcher->priv->default_zone = e_cal_util_copy_timezone (zone); 178 202 watcher->priv->timers_enabled = TRUE; 203 + diff --git a/src/calendar/libedata-cal/e-cal-meta-backend.c b/src/calendar/libedata-cal/e-cal-meta-backend.c 204 + index 94a875f..1f914a9 100644 205 + --- a/src/calendar/libedata-cal/e-cal-meta-backend.c 206 + +++ b/src/calendar/libedata-cal/e-cal-meta-backend.c 207 + @@ -149,7 +149,18 @@ ecmb_is_power_saver_enabled (void) 208 + GSettings *settings; 209 + gboolean enabled = FALSE; 210 + 211 + - settings = g_settings_new ("org.gnome.evolution-data-server"); 212 + + { 213 + + g_autoptr(GSettingsSchemaSource) schema_source; 214 + + g_autoptr(GSettingsSchema) schema; 215 + + schema_source = g_settings_schema_source_new_from_directory("@EDS_GSETTINGS_PATH@", 216 + + g_settings_schema_source_get_default(), 217 + + TRUE, 218 + + NULL); 219 + + schema = g_settings_schema_source_lookup(schema_source, 220 + + "org.gnome.evolution-data-server", 221 + + FALSE); 222 + + settings = g_settings_new_full(schema, NULL, NULL); 223 + + } 224 + 225 + if (g_settings_get_boolean (settings, "limit-operations-in-power-saver-mode")) { 226 + GPowerProfileMonitor *power_monitor; 179 227 diff --git a/src/camel/camel-cipher-context.c b/src/camel/camel-cipher-context.c 180 228 index 8013ba7..ba74769 100644 181 229 --- a/src/camel/camel-cipher-context.c ··· 201 249 g_clear_object (&settings); 202 250 203 251 diff --git a/src/camel/camel-gpg-context.c b/src/camel/camel-gpg-context.c 204 - index 685d3ab..521d91f 100644 252 + index 205372e..2023704 100644 205 253 --- a/src/camel/camel-gpg-context.c 206 254 +++ b/src/camel/camel-gpg-context.c 207 - @@ -571,7 +571,18 @@ gpg_ctx_get_executable_name (void) 255 + @@ -582,7 +582,18 @@ gpg_ctx_get_executable_name (void) 208 256 GSettings *settings; 209 257 gchar *path; 210 258 ··· 249 297 g_signal_connect (mi_user_headers_settings, "changed::camel-message-info-user-headers", 250 298 G_CALLBACK (mi_user_headers_settings_changed_cb), NULL); 251 299 G_UNLOCK (mi_user_headers); 300 + diff --git a/src/camel/providers/imapx/camel-imapx-server.c b/src/camel/providers/imapx/camel-imapx-server.c 301 + index 2ed68cf..5dad98f 100644 302 + --- a/src/camel/providers/imapx/camel-imapx-server.c 303 + +++ b/src/camel/providers/imapx/camel-imapx-server.c 304 + @@ -5573,7 +5573,18 @@ camel_imapx_server_skip_old_flags_update (CamelStore *store) 305 + if (!skip_old_flags_update) { 306 + GSettings *eds_settings; 307 + 308 + - eds_settings = g_settings_new ("org.gnome.evolution-data-server"); 309 + + { 310 + + g_autoptr(GSettingsSchemaSource) schema_source; 311 + + g_autoptr(GSettingsSchema) schema; 312 + + schema_source = g_settings_schema_source_new_from_directory("@EDS_GSETTINGS_PATH@", 313 + + g_settings_schema_source_get_default(), 314 + + TRUE, 315 + + NULL); 316 + + schema = g_settings_schema_source_lookup(schema_source, 317 + + "org.gnome.evolution-data-server", 318 + + FALSE); 319 + + eds_settings = g_settings_new_full(schema, NULL, NULL); 320 + + } 321 + 322 + if (g_settings_get_boolean (eds_settings, "limit-operations-in-power-saver-mode")) { 323 + GPowerProfileMonitor *power_monitor; 252 324 diff --git a/src/camel/providers/smtp/camel-smtp-transport.c b/src/camel/providers/smtp/camel-smtp-transport.c 253 325 index f535ad6..30130b9 100644 254 326 --- a/src/camel/providers/smtp/camel-smtp-transport.c ··· 298 370 settings, "network-monitor-gio-name", 299 371 object, "gio-name", 300 372 diff --git a/src/libedataserver/e-oauth2-service-google.c b/src/libedataserver/e-oauth2-service-google.c 301 - index f9d9056..115d344 100644 373 + index f215388..3b67126 100644 302 374 --- a/src/libedataserver/e-oauth2-service-google.c 303 375 +++ b/src/libedataserver/e-oauth2-service-google.c 304 - @@ -70,7 +70,18 @@ eos_google_read_settings (EOAuth2Service *service, 376 + @@ -71,7 +71,18 @@ eos_google_read_settings (EOAuth2Service *service, 305 377 if (!value) { 306 378 GSettings *settings; 307 379 ··· 322 394 g_object_unref (settings); 323 395 324 396 diff --git a/src/libedataserver/e-oauth2-service-outlook.c b/src/libedataserver/e-oauth2-service-outlook.c 325 - index 687c10d..ac1deae 100644 397 + index 9cff0d0..fd95f0b 100644 326 398 --- a/src/libedataserver/e-oauth2-service-outlook.c 327 399 +++ b/src/libedataserver/e-oauth2-service-outlook.c 328 - @@ -70,7 +70,18 @@ eos_outlook_read_settings (EOAuth2Service *service, 400 + @@ -71,7 +71,18 @@ eos_outlook_read_settings (EOAuth2Service *service, 329 401 if (!value) { 330 402 GSettings *settings; 331 403 ··· 346 418 g_object_unref (settings); 347 419 348 420 diff --git a/src/libedataserver/e-oauth2-service-yahoo.c b/src/libedataserver/e-oauth2-service-yahoo.c 349 - index 329a38c..f541393 100644 421 + index 8e4ee81..bb8f8f7 100644 350 422 --- a/src/libedataserver/e-oauth2-service-yahoo.c 351 423 +++ b/src/libedataserver/e-oauth2-service-yahoo.c 352 - @@ -66,7 +66,18 @@ eos_yahoo_read_settings (EOAuth2Service *service, 424 + @@ -67,7 +67,18 @@ eos_yahoo_read_settings (EOAuth2Service *service, 353 425 if (!value) { 354 426 GSettings *settings; 355 427 ··· 370 442 g_object_unref (settings); 371 443 372 444 diff --git a/src/libedataserver/e-oauth2-service.c b/src/libedataserver/e-oauth2-service.c 373 - index 979095b..ecac6bb 100644 445 + index 5a21872..a56d589 100644 374 446 --- a/src/libedataserver/e-oauth2-service.c 375 447 +++ b/src/libedataserver/e-oauth2-service.c 376 - @@ -89,7 +89,18 @@ eos_default_guess_can_process (EOAuth2Service *service, 448 + @@ -90,7 +90,18 @@ eos_default_guess_can_process (EOAuth2Service *service, 377 449 name_len = strlen (name); 378 450 hostname_len = strlen (hostname); 379 451 ··· 393 465 values = g_settings_get_strv (settings, "oauth2-services-hint"); 394 466 g_object_unref (settings); 395 467 396 - diff --git a/src/libedataserver/e-proxy.c b/src/libedataserver/e-proxy.c 397 - index bcd07f9..17db26c 100644 398 - --- a/src/libedataserver/e-proxy.c 399 - +++ b/src/libedataserver/e-proxy.c 400 - @@ -957,8 +957,33 @@ e_proxy_init (EProxy *proxy) 401 - 402 - proxy->priv->type = PROXY_TYPE_SYSTEM; 403 - 404 - - proxy->priv->evolution_proxy_settings = g_settings_new ("org.gnome.evolution.shell.network-config"); 405 - - proxy->priv->proxy_settings = g_settings_new ("org.gnome.system.proxy"); 406 - + { 407 - + g_autoptr(GSettingsSchemaSource) schema_source; 408 - + g_autoptr(GSettingsSchema) schema; 409 - + schema_source = g_settings_schema_source_new_from_directory("@EDS_GSETTINGS_PATH@", 410 - + g_settings_schema_source_get_default(), 411 - + TRUE, 412 - + NULL); 413 - + schema = g_settings_schema_source_lookup(schema_source, 414 - + "org.gnome.evolution.shell.network-config", 415 - + FALSE); 416 - + proxy->priv->evolution_proxy_settings = g_settings_new_full(schema, 417 - + NULL, 418 - + NULL); 419 - + } 420 - + { 421 - + g_autoptr(GSettingsSchemaSource) schema_source; 422 - + g_autoptr(GSettingsSchema) schema; 423 - + schema_source = g_settings_schema_source_new_from_directory("@GDS_GSETTINGS_PATH@", 424 - + g_settings_schema_source_get_default(), 425 - + TRUE, 426 - + NULL); 427 - + schema = g_settings_schema_source_lookup(schema_source, 428 - + "org.gnome.system.proxy", 429 - + FALSE); 430 - + proxy->priv->proxy_settings = g_settings_new_full(schema, 431 - + NULL, NULL); 432 - + } 433 - proxy->priv->proxy_http_settings = g_settings_get_child (proxy->priv->proxy_settings, "http"); 434 - proxy->priv->proxy_https_settings = g_settings_get_child (proxy->priv->proxy_settings, "https"); 435 - proxy->priv->proxy_socks_settings = g_settings_get_child (proxy->priv->proxy_settings, "socks"); 436 468 diff --git a/src/libedataserver/e-source-registry.c b/src/libedataserver/e-source-registry.c 437 - index 837e940..4bbd00d 100644 469 + index 6701a3a..6b8ee33 100644 438 470 --- a/src/libedataserver/e-source-registry.c 439 471 +++ b/src/libedataserver/e-source-registry.c 440 - @@ -1769,7 +1769,19 @@ e_source_registry_init (ESourceRegistry *registry) 472 + @@ -1764,7 +1764,19 @@ e_source_registry_init (ESourceRegistry *registry) 441 473 442 474 g_mutex_init (&registry->priv->sources_lock); 443 475 ··· 459 491 g_signal_connect ( 460 492 registry->priv->settings, "changed", 461 493 diff --git a/src/libedataserverui/e-reminders-widget.c b/src/libedataserverui/e-reminders-widget.c 462 - index d18474d..418ccc2 100644 494 + index 14b6481..6dc55bb 100644 463 495 --- a/src/libedataserverui/e-reminders-widget.c 464 496 +++ b/src/libedataserverui/e-reminders-widget.c 465 - @@ -1874,7 +1874,19 @@ static void 497 + @@ -1986,7 +1986,19 @@ static void 466 498 e_reminders_widget_init (ERemindersWidget *reminders) 467 499 { 468 500 reminders->priv = e_reminders_widget_get_instance_private (reminders);
+5 -2
pkgs/desktops/gnome/core/gdm/default.nix
··· 44 44 45 45 stdenv.mkDerivation rec { 46 46 pname = "gdm"; 47 - version = "42.0"; 47 + version = "43.0"; 48 48 49 49 outputs = [ "out" "dev" ]; 50 50 51 51 src = fetchurl { 52 52 url = "mirror://gnome/sources/gdm/${lib.versions.major version}/${pname}-${version}.tar.xz"; 53 - sha256 = "oyisl2k3vsF5lx/weCmhJGuYznJBgcEorjKguketOFU="; 53 + sha256 = "lNcNbtffWfp/3k/QL+0RaFk6itzhD87hE8FI1Ss5IpQ="; 54 54 }; 55 55 56 56 mesonFlags = [ ··· 144 144 rsync --archive "${DESTDIR}/etc" "$out" 145 145 rm --recursive "${DESTDIR}/etc" 146 146 for o in $outputs; do 147 + if [[ "$o" = "debug" ]]; then continue; fi 147 148 rsync --archive "${DESTDIR}/''${!o}" "$(dirname "''${!o}")" 148 149 rm --recursive "${DESTDIR}/''${!o}" 149 150 done ··· 161 162 # so we need to convince it to install all files to a temporary 162 163 # location using DESTDIR and then move it to proper one in postInstall. 163 164 DESTDIR = "${placeholder "out"}/dest"; 165 + 166 + separateDebugInfo = true; 164 167 165 168 passthru = { 166 169 updateScript = gnome.updateScript {
+2 -2
pkgs/desktops/gnome/core/gnome-backgrounds/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "gnome-backgrounds"; 11 - version = "42.0"; 11 + version = "43"; 12 12 13 13 src = fetchurl { 14 14 url = "mirror://gnome/sources/gnome-backgrounds/${lib.versions.major version}/${pname}-${version}.tar.xz"; 15 - sha256 = "TH/hoJ9FnF93GJpZglJPzgXYiJRJVdZ5kQ8jRgbBKV0="; 15 + sha256 = "GfdJ2MN/hy8VW7aaK756yjgRdeaSnxmYBH13XLxjckQ="; 16 16 }; 17 17 18 18 patches = [
+4 -4
pkgs/desktops/gnome/core/gnome-bluetooth/default.nix
··· 14 14 , upower 15 15 , itstool 16 16 , libxml2 17 - , wrapGAppsHook 17 + , wrapGAppsHook4 18 18 , libnotify 19 19 , gsound 20 20 , gobject-introspection ··· 27 27 28 28 stdenv.mkDerivation rec { 29 29 pname = "gnome-bluetooth"; 30 - version = "42.2"; 30 + version = "42.4"; 31 31 32 32 # TODO: split out "lib" 33 33 outputs = [ "out" "dev" "devdoc" "man" ]; 34 34 35 35 src = fetchurl { 36 36 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 37 - sha256 = "jOjs+rKCctsYMKY/CPnMtTBHNNG+Lb/OeV/kAp5inww="; 37 + sha256 = "HW/PHNtsyZI6szSiwLw3osG7qdGN4VPUhO7cBPPAvNw="; 38 38 }; 39 39 40 40 nativeBuildInputs = [ ··· 44 44 itstool 45 45 pkg-config 46 46 libxml2 47 - wrapGAppsHook 47 + wrapGAppsHook4 48 48 gobject-introspection 49 49 gtk-doc 50 50 docbook-xsl-nons
+6 -6
pkgs/desktops/gnome/core/gnome-calculator/default.nix
··· 11 11 , gtk4 12 12 , glib 13 13 , gtksourceview5 14 - , wrapGAppsHook 14 + , wrapGAppsHook4 15 15 , gobject-introspection 16 16 , gnome 17 17 , mpfr 18 18 , gmp 19 - , libsoup 19 + , libsoup_3 20 20 , libmpc 21 21 , libadwaita 22 22 , gsettings-desktop-schemas ··· 25 25 26 26 stdenv.mkDerivation rec { 27 27 pname = "gnome-calculator"; 28 - version = "42.2"; 28 + version = "43.0.1"; 29 29 30 30 src = fetchurl { 31 31 url = "mirror://gnome/sources/gnome-calculator/${lib.versions.major version}/${pname}-${version}.tar.xz"; 32 - sha256 = "M9qxvKQ2WNZlIJWLD2dMsK0xhc/TDBLkWef2lIHFxqA="; 32 + sha256 = "AsEt7Tz1BT0XU32V7GlYf0uRmJnXcm7O7NtLR/+xyQ8="; 33 33 }; 34 34 35 35 nativeBuildInputs = [ ··· 39 39 vala 40 40 gettext 41 41 itstool 42 - wrapGAppsHook 42 + wrapGAppsHook4 43 43 gobject-introspection # for finding vapi files 44 44 ]; 45 45 ··· 52 52 gmp 53 53 libgee 54 54 gsettings-desktop-schemas 55 - libsoup 55 + libsoup_3 56 56 libmpc 57 57 libadwaita 58 58 ];
+8 -13
pkgs/desktops/gnome/core/gnome-contacts/default.nix
··· 2 2 , stdenv 3 3 , gettext 4 4 , fetchurl 5 - , evolution-data-server 5 + , evolution-data-server-gtk4 6 6 , pkg-config 7 7 , libxslt 8 8 , docbook-xsl-nons ··· 10 10 , desktop-file-utils 11 11 , gtk4 12 12 , glib 13 - , libportal 13 + , libportal-gtk4 14 14 , gnome-desktop 15 15 , gnome-online-accounts 16 - , wrapGAppsHook 16 + , wrapGAppsHook4 17 17 , folks 18 - , libgdata 19 18 , libxml2 20 19 , gnome 21 20 , vala ··· 27 26 28 27 stdenv.mkDerivation rec { 29 28 pname = "gnome-contacts"; 30 - version = "42.0"; 29 + version = "43.0"; 31 30 32 31 src = fetchurl { 33 32 url = "mirror://gnome/sources/gnome-contacts/${lib.versions.major version}/${pname}-${version}.tar.xz"; 34 - sha256 = "iALDj9wj9SjawSj1O9zx9sow4OHGhIxCzWyEpeIsUhY="; 33 + sha256 = "VbYd9+k/Cr4f+kZeGOPF3k9JqQ8mjqnRHtyGrwbQceE="; 35 34 }; 36 35 37 - propagatedUserEnvPkgs = [ 38 - evolution-data-server 39 - ]; 40 - 41 36 nativeBuildInputs = [ 42 37 meson 43 38 ninja ··· 48 43 docbook-xsl-nons 49 44 docbook_xml_dtd_42 50 45 desktop-file-utils 51 - wrapGAppsHook 46 + wrapGAppsHook4 52 47 ]; 53 48 54 49 buildInputs = [ 55 50 gtk4 56 51 glib 57 - libportal 58 - evolution-data-server 52 + libportal-gtk4 53 + evolution-data-server-gtk4 59 54 gsettings-desktop-schemas 60 55 folks 61 56 gnome-desktop
+2 -13
pkgs/desktops/gnome/core/gnome-control-center/default.nix
··· 63 63 64 64 stdenv.mkDerivation rec { 65 65 pname = "gnome-control-center"; 66 - version = "42.3"; 66 + version = "43.0"; 67 67 68 68 src = fetchurl { 69 69 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 70 - sha256 = "sha256-zgrjZQ3ir368sKfh/JkS7dtu/40lfz/lD/iynBk0HH4="; 70 + sha256 = "sha256-mIyTNZLL3E5/DbqakyYuYXtzniWSeqFuF3lgx1TjHEg="; 71 71 }; 72 72 73 73 patches = [ 74 74 (substituteAll { 75 75 src = ./paths.patch; 76 76 gcm = gnome-color-manager; 77 - gnome_desktop = gnome-desktop; 78 77 inherit glibc libgnomekbd tzdata; 79 78 inherit cups networkmanagerapplet; 80 79 }) ··· 134 133 udisks2 135 134 upower 136 135 ]; 137 - 138 - # postPatch = '' 139 - # scriptsToPatch=( 140 - # build-aux/meson/meson_post_install.py 141 - # build-aux/meson/find_xdg_file.py 142 - # ) 143 - # # # patchShebangs requires executable file 144 - # # chmod +x "''${scriptsToPatch[@]}" 145 - # # patchShebangs "''${scriptsToPatch[@]}" 146 - # ''; 147 136 148 137 preConfigure = '' 149 138 # For ITS rules
-13
pkgs/desktops/gnome/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-overview/cc-info-overview-panel.c b/panels/info-overview/cc-info-overview-panel.c 58 - index bd0e07762..0e71351f8 100644 59 - --- a/panels/info-overview/cc-info-overview-panel.c 60 - +++ b/panels/info-overview/cc-info-overview-panel.c 61 - @@ -172,7 +172,7 @@ load_gnome_version (char **version, 62 - gsize length; 63 - g_autoptr(VersionData) data = NULL; 64 - 65 - - if (!g_file_get_contents (DATADIR "/gnome/gnome-version.xml", 66 - + if (!g_file_get_contents ("@gnome_desktop@/share/gnome/gnome-version.xml", 67 - &contents, 68 - &length, 69 - &error)) 70 57 diff --git a/panels/keyboard/cc-input-list-box.c b/panels/keyboard/cc-input-list-box.c 71 58 index 6c2cb5614..8f57159cc 100644 72 59 --- a/panels/keyboard/cc-input-list-box.c
+4 -9
pkgs/desktops/gnome/core/gnome-disk-utility/default.nix
··· 12 12 , gtk3 13 13 , glib 14 14 , wrapGAppsHook 15 - , python3 16 15 , libnotify 17 16 , itstool 18 17 , gnome ··· 21 20 , libcanberra-gtk3 22 21 , libxslt 23 22 , docbook-xsl-nons 23 + , desktop-file-utils 24 24 , libpwquality 25 25 , systemd 26 26 }: 27 27 28 28 stdenv.mkDerivation rec { 29 29 pname = "gnome-disk-utility"; 30 - version = "42.0"; 30 + version = "43.0"; 31 31 32 32 src = fetchurl { 33 33 url = "mirror://gnome/sources/gnome-disk-utility/${lib.versions.major version}/${pname}-${version}.tar.xz"; 34 - sha256 = "sha256-G2VkRU1nQmMiyzv8WlVYZTv8ff7qKuCCWx0IYp8BCQs="; 34 + sha256 = "sha256-evypgFprkttpM91+/OxK+DhsAbvB+HHi2uTe9+GSosU="; 35 35 }; 36 36 37 37 nativeBuildInputs = [ ··· 42 42 itstool 43 43 libxslt 44 44 docbook-xsl-nons 45 + desktop-file-utils 45 46 wrapGAppsHook 46 - python3 47 47 libxml2 48 48 ]; 49 49 ··· 62 62 gnome.gnome-settings-daemon 63 63 gsettings-desktop-schemas 64 64 ]; 65 - 66 - postPatch = '' 67 - chmod +x meson_post_install.py # patchShebangs requires executable file 68 - patchShebangs meson_post_install.py 69 - ''; 70 65 71 66 passthru = { 72 67 updateScript = gnome.updateScript {
+4 -2
pkgs/desktops/gnome/core/gnome-font-viewer/default.nix
··· 10 10 , libxml2 11 11 , gnome-desktop 12 12 , libadwaita 13 + , fribidi 13 14 , wrapGAppsHook4 14 15 , gnome 15 16 , harfbuzz ··· 17 18 18 19 stdenv.mkDerivation rec { 19 20 pname = "gnome-font-viewer"; 20 - version = "42.0"; 21 + version = "43.0"; 21 22 22 23 src = fetchurl { 23 24 url = "mirror://gnome/sources/gnome-font-viewer/${lib.versions.major version}/${pname}-${version}.tar.xz"; 24 - sha256 = "z6K43/8hoQWhoCHa36IT8TYn5qF5p3x7Wf3O2sqEjcw="; 25 + sha256 = "gca/+wbVMyNG4A6uyuwb3P1hfFHf2VvNBY1sdsdt0rk="; 25 26 }; 26 27 27 28 doCheck = true; ··· 42 43 gnome-desktop 43 44 harfbuzz 44 45 libadwaita 46 + fribidi 45 47 ]; 46 48 47 49 # Do not run meson-postinstall.sh
+20 -16
pkgs/desktops/gnome/core/gnome-initial-setup/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , fetchurl 3 4 , substituteAll 4 5 , gettext 5 6 , meson 6 7 , ninja 7 8 , pkg-config 8 - , wrapGAppsHook 9 + , wrapGAppsHook4 9 10 , gnome 10 11 , accountsservice 11 12 , fontconfig 12 13 , gdm 13 14 , geoclue2 14 - , geocode-glib 15 + , geocode-glib_2 15 16 , glib 16 17 , gnome-desktop 17 18 , gnome-online-accounts 18 19 , gtk3 20 + , gtk4 19 21 , libgweather 20 22 , json-glib 21 23 , krb5 22 24 , libpwquality 23 - , librest 25 + , librest_1_0 24 26 , libsecret 25 27 , networkmanager 26 28 , pango 27 29 , polkit 28 - , webkitgtk 30 + , webkitgtk_5_0 29 31 , systemd 30 - , libhandy 31 - , libnma 32 + , libadwaita 33 + , libnma-gtk4 32 34 , tzdata 33 35 , libgnomekbd 34 36 , gsettings-desktop-schemas ··· 36 38 37 39 stdenv.mkDerivation rec { 38 40 pname = "gnome-initial-setup"; 39 - version = "42.2"; 41 + version = "43.0"; 40 42 41 43 src = fetchurl { 42 44 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 43 - sha256 = "TYPZiySavhW7Kz5+eurZxH+Ei8p7agkavJCLdlQavns="; 45 + sha256 = "Ap7LgZM/QE+k9spVvuR7A++JDoRGK/FF9u4JR34aOVU="; 44 46 }; 45 47 46 48 patches = [ ··· 56 58 ninja 57 59 pkg-config 58 60 systemd 59 - wrapGAppsHook 61 + wrapGAppsHook4 60 62 ]; 61 63 62 64 buildInputs = [ ··· 64 66 fontconfig 65 67 gdm 66 68 geoclue2 67 - geocode-glib 69 + geocode-glib_2 68 70 glib 69 71 gnome-desktop 70 72 gnome-online-accounts 71 73 gsettings-desktop-schemas 72 74 gtk3 75 + gtk4 73 76 json-glib 74 77 krb5 75 78 libgweather 76 - libhandy 77 - libnma 79 + libadwaita 80 + libnma-gtk4 78 81 libpwquality 79 - librest 82 + librest_1_0 80 83 libsecret 81 84 networkmanager 82 85 pango 83 86 polkit 84 - webkitgtk 87 + webkitgtk_5_0 85 88 ]; 86 89 87 90 mesonFlags = [ 88 - "-Dcheese=disabled" 89 91 "-Dibus=disabled" 90 92 "-Dparental_controls=disabled" 91 93 "-Dvendor-conf-file=${./vendor.conf}" 92 94 ]; 95 + 96 + PKG_CONFIG_SYSTEMD_SYSUSERSDIR = "${placeholder "out"}/lib/sysusers.d"; 93 97 94 98 passthru = { 95 99 updateScript = gnome.updateScript {
+9 -7
pkgs/desktops/gnome/core/gnome-remote-desktop/default.nix
··· 5 5 , ninja 6 6 , pkg-config 7 7 , python3 8 + , asciidoc 8 9 , wrapGAppsHook 9 10 , glib 10 11 , libepoxy ··· 12 13 , nv-codec-headers-11 13 14 , pipewire 14 15 , systemd 15 - , libvncserver 16 16 , libsecret 17 17 , libnotify 18 18 , libxkbcommon 19 19 , gdk-pixbuf 20 20 , freerdp 21 + , fdk_aac 22 + , tpm2-tss 21 23 , fuse3 22 24 , mesa 23 25 , libgudev ··· 28 30 29 31 stdenv.mkDerivation rec { 30 32 pname = "gnome-remote-desktop"; 31 - version = "42.4"; 33 + version = "43.0"; 32 34 33 35 src = fetchurl { 34 36 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 35 - hash = "sha256-TU0jPvov+lRnMGo8w86Le6IyUtQtSxJy1crJ1d5Fy5o="; 37 + hash = "sha256-NrWdIeyuRLllzZHmynwMAJ1gcOwxyEt3wERZXddSeAs="; 36 38 }; 37 39 38 40 nativeBuildInputs = [ ··· 40 42 ninja 41 43 pkg-config 42 44 python3 45 + asciidoc 43 46 wrapGAppsHook 44 47 ]; 45 48 46 49 buildInputs = [ 47 50 cairo 48 51 freerdp 52 + fdk_aac 53 + tpm2-tss 49 54 fuse3 50 55 gdk-pixbuf # For libnotify 51 56 glib ··· 54 59 nv-codec-headers-11 55 60 libnotify 56 61 libsecret 57 - libvncserver 58 62 libxkbcommon 59 63 pipewire 60 64 systemd ··· 77 81 doCheck = false; 78 82 79 83 postPatch = '' 80 - chmod +x meson_post_install.py # patchShebangs requires executable file 81 84 patchShebangs \ 82 85 tests/vnc-test-runner.sh \ 83 - tests/run-vnc-tests.py \ 84 - meson_post_install.py 86 + tests/run-vnc-tests.py 85 87 86 88 substituteInPlace tests/vnc-test-runner.sh \ 87 89 --replace "dbus-run-session" "dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf"
+4 -2
pkgs/desktops/gnome/core/gnome-session/default.nix
··· 30 30 stdenv.mkDerivation rec { 31 31 pname = "gnome-session"; 32 32 # Also bump ./ctl.nix when bumping major version. 33 - version = "42.0"; 33 + version = "43.0"; 34 34 35 35 outputs = [ "out" "sessions" ]; 36 36 37 37 src = fetchurl { 38 38 url = "mirror://gnome/sources/gnome-session/${lib.versions.major version}/${pname}-${version}.tar.xz"; 39 - sha256 = "PMoGBTq2gpJpIJUafalfjMbXLadMaCxG0KBlMzKWnKo="; 39 + sha256 = "P7mUlQE4XIwUYY548XjZUt+YrYyRCA9MXhVoxzk64fI="; 40 40 }; 41 41 42 42 patches = [ ··· 116 116 --suffix XDG_DATA_DIRS : "${gnome.gnome-shell}/share"\ 117 117 --suffix XDG_CONFIG_DIRS : "${gnome.gnome-settings-daemon}/etc/xdg" 118 118 ''; 119 + 120 + separateDebugInfo = true; 119 121 120 122 passthru = { 121 123 updateScript = gnome.updateScript {
+7 -7
pkgs/desktops/gnome/core/gnome-settings-daemon/default.nix
··· 30 30 , modemmanager 31 31 , networkmanager 32 32 , gnome-desktop 33 - , geocode-glib 33 + , geocode-glib_2 34 34 , docbook_xsl 35 35 , wrapGAppsHook 36 36 , python3 37 37 , tzdata 38 38 , nss 39 - , gcr 39 + , gcr_4 40 40 , gnome-session-ctl 41 41 }: 42 42 43 43 stdenv.mkDerivation rec { 44 44 pname = "gnome-settings-daemon"; 45 - version = "42.2"; 45 + version = "43.0"; 46 46 47 47 src = fetchurl { 48 48 url = "mirror://gnome/sources/gnome-settings-daemon/${lib.versions.major version}/${pname}-${version}.tar.xz"; 49 - sha256 = "nESXFKqOwSccDbUTffNFgZWUPwXM0KyJNdkzl3cLqwA="; 49 + sha256 = "NRO7JPxvgYFmciOmSgZ1NP3M879mMmqUA9OLDw1gE9A="; 50 50 }; 51 51 52 52 patches = [ ··· 93 93 libgweather 94 94 nss 95 95 polkit 96 - geocode-glib 96 + geocode-glib_2 97 97 geoclue2 98 98 systemd 99 99 libgudev 100 100 libwacom 101 - gcr 101 + gcr_4 102 102 ]; 103 103 104 104 mesonFlags = [ ··· 112 112 113 113 114 114 postPatch = '' 115 - for f in gnome-settings-daemon/codegen.py plugins/power/gsd-power-constants-update.pl meson_post_install.py; do 115 + for f in gnome-settings-daemon/codegen.py plugins/power/gsd-power-constants-update.pl; do 116 116 chmod +x $f 117 117 patchShebangs $f 118 118 done
+2 -2
pkgs/desktops/gnome/core/gnome-shell-extensions/default.nix
··· 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "gnome-shell-extensions"; 16 - version = "42.3"; 16 + version = "43.0"; 17 17 18 18 src = fetchurl { 19 19 url = "mirror://gnome/sources/gnome-shell-extensions/${lib.versions.major version}/${pname}-${version}.tar.xz"; 20 - sha256 = "DsK+oy6fKKyAWJH2ExlNSPwMCR8JxIMTBlo4hPcic/w="; 20 + sha256 = "5Hw51CeCpyRJu/fes28D/ZbLWSkZRikTkSEuL9mNX5M="; 21 21 }; 22 22 23 23 patches = [
+8 -6
pkgs/desktops/gnome/core/gnome-shell/default.nix
··· 29 29 , gobject-introspection 30 30 , wrapGAppsHook 31 31 , libxslt 32 - , gcr 32 + , gcr_4 33 33 , accountsservice 34 34 , gdk-pixbuf 35 35 , gdm ··· 43 43 , glib 44 44 , gjs 45 45 , mutter 46 - , evolution-data-server 46 + , evolution-data-server-gtk4 47 47 , gtk3 48 48 , gtk4 49 49 , libadwaita ··· 67 67 in 68 68 stdenv.mkDerivation rec { 69 69 pname = "gnome-shell"; 70 - version = "42.4"; 70 + version = "43.0"; 71 71 72 72 outputs = [ "out" "devdoc" ]; 73 73 74 74 src = fetchurl { 75 75 url = "mirror://gnome/sources/gnome-shell/${lib.versions.major version}/${pname}-${version}.tar.xz"; 76 - sha256 = "h1/ylw6p+3oFUG4yoNUNyRf0G0yjcTS0E3f5yChzxU4="; 76 + sha256 = "9u7JdwP588xv5ua0H23IIbGOyE34NRxN+XsXroJ0G0E="; 77 77 }; 78 78 79 79 patches = [ ··· 127 127 gsettings-desktop-schemas 128 128 gnome-keyring 129 129 glib 130 - gcr 130 + gcr_4 131 131 accountsservice 132 132 libsecret 133 133 polkit ··· 138 138 gjs 139 139 mutter 140 140 libpulseaudio 141 - evolution-data-server 141 + evolution-data-server-gtk4 142 142 libical 143 143 gtk3 144 144 gtk4 ··· 201 201 wrapGApp $out/share/gnome-shell/$svc 202 202 done 203 203 ''; 204 + 205 + separateDebugInfo = true; 204 206 205 207 passthru = { 206 208 mozillaPlugin = "/lib/mozilla/plugins";
+14 -7
pkgs/desktops/gnome/core/gnome-software/default.nix
··· 7 7 , ninja 8 8 , gettext 9 9 , gnome 10 - , wrapGAppsHook 10 + , wrapGAppsHook4 11 11 , packagekit 12 12 , ostree 13 13 , glib ··· 24 24 , gtk4 25 25 , gsettings-desktop-schemas 26 26 , gnome-desktop 27 + , libgudev 27 28 , libxmlb 29 + , malcontent 28 30 , json-glib 29 31 , libsecret 30 32 , valgrind-light ··· 34 36 , gtk-doc 35 37 , desktop-file-utils 36 38 , libsysprof-capture 39 + , gst_all_1 37 40 }: 38 41 39 42 let ··· 42 45 43 46 stdenv.mkDerivation rec { 44 47 pname = "gnome-software"; 45 - version = "42.4"; 48 + version = "43.0"; 46 49 47 50 src = fetchurl { 48 51 url = "mirror://gnome/sources/gnome-software/${lib.versions.major version}/${pname}-${version}.tar.xz"; 49 - sha256 = "cRgp7mf58qG2S/oXQTdzuY8NxdIZ649sohfNZXK7SnQ="; 52 + sha256 = "8WUuquJ0pqhwlQAENRZGUgDMdVlNzM2bShWZsKxJ5o8="; 50 53 }; 51 54 52 55 patches = [ ··· 61 64 ninja 62 65 pkg-config 63 66 gettext 64 - wrapGAppsHook 67 + wrapGAppsHook4 65 68 libxslt 66 69 docbook_xml_dtd_42 67 70 docbook_xml_dtd_43 ··· 87 90 ostree 88 91 polkit 89 92 flatpak 93 + libgudev 90 94 libxmlb 95 + malcontent 91 96 libsysprof-capture 97 + # For video screenshots 98 + gst_all_1.gst-plugins-base 99 + gst_all_1.gst-plugins-good 92 100 ] ++ lib.optionals withFwupd [ 93 101 fwupd 94 102 ]; 95 103 96 104 mesonFlags = [ 97 - "-Dgudev=false" 98 - # FIXME: package malcontent parental controls 99 - "-Dmalcontent=false" 100 105 # Needs flatpak to upgrade 101 106 "-Dsoup2=true" 107 + # Requires /etc/machine-id, D-Bus system bus, etc. 108 + "-Dtests=false" 102 109 ] ++ lib.optionals (!withFwupd) [ 103 110 "-Dfwupd=false" 104 111 ];
+26 -11
pkgs/desktops/gnome/core/gnome-terminal/default.nix
··· 1 1 { stdenv 2 2 , lib 3 - , fetchurl 3 + , fetchFromGitLab 4 + , fetchpatch 4 5 , meson 5 6 , ninja 6 7 , pkg-config 7 8 , python3 8 9 , libxml2 9 10 , gnome 10 - , dconf 11 + , nix-update-script 11 12 , nautilus 12 13 , glib 14 + , gtk4 13 15 , gtk3 14 16 , gsettings-desktop-schemas 15 17 , vte ··· 28 30 29 31 stdenv.mkDerivation rec { 30 32 pname = "gnome-terminal"; 31 - version = "3.44.1"; 33 + version = "3.47.0"; 32 34 33 - src = fetchurl { 34 - url = "mirror://gnome/sources/gnome-terminal/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 35 - sha256 = "+28g7h/yMamq7asT1dxuWmTJVXESJISLeQCG6IlZ03s="; 35 + src = fetchFromGitLab { 36 + domain = "gitlab.gnome.org"; 37 + owner = "GNOME"; 38 + repo = "gnome-terminal"; 39 + rev = version; 40 + sha256 = "sha256-CriI1DtDBeujaz0HtXCyzoGxnas7NmD6EMQ+gLph3E4="; 36 41 }; 37 42 43 + patches = [ 44 + # Fix Nautilus extension build. 45 + # https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/7916 46 + (fetchpatch { 47 + url = "https://gitlab.gnome.org/GNOME/gnome-terminal/-/commit/614ea99b16fb09e10341fc6ccf5e115ac3f93caf.patch"; 48 + sha256 = "K7JHPfXywF3QSjSjyUnNZ11/ed+QXHQ47i135QBMIR8="; 49 + }) 50 + ]; 51 + 38 52 nativeBuildInputs = [ 39 53 meson 40 54 ninja ··· 55 69 56 70 buildInputs = [ 57 71 glib 72 + gtk4 58 73 gtk3 59 74 gsettings-desktop-schemas 60 75 vte 61 76 libuuid 62 - dconf 63 77 nautilus # For extension 64 78 ]; 65 79 ··· 77 91 ''; 78 92 79 93 passthru = { 80 - updateScript = gnome.updateScript { 81 - packageName = "gnome-terminal"; 94 + updateScript = nix-update-script { 82 95 attrPath = "gnome.gnome-terminal"; 83 96 }; 97 + 98 + tests = { 99 + test = nixosTests.terminal-emulators.gnome-terminal; 100 + }; 84 101 }; 85 - 86 - passthru.tests.test = nixosTests.terminal-emulators.gnome-terminal; 87 102 88 103 meta = with lib; { 89 104 description = "The GNOME Terminal Emulator";
+2 -2
pkgs/desktops/gnome/core/gnome-tour/default.nix
··· 24 24 25 25 stdenv.mkDerivation rec { 26 26 pname = "gnome-tour"; 27 - version = "42.0"; 27 + version = "43.0"; 28 28 29 29 src = fetchurl { 30 30 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 31 - hash = "sha256-/PGsaJBX2oZZaXDsPag1VSHApy6VBj6wWdX+5N6oL08="; 31 + hash = "sha256-E1HkGWJ/vXx3GTKm7xrYDAvy5oKMSUigYgaJhN2zzIg="; 32 32 }; 33 33 34 34 cargoVendorDir = "vendor";
+5 -36
pkgs/desktops/gnome/core/gnome-user-share/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , gettext 3 4 , meson 4 5 , ninja 5 6 , fetchurl 6 - , fetchpatch 7 7 , apacheHttpd 8 - , nautilus 9 8 , pkg-config 10 - , gtk3 11 9 , glib 12 10 , libxml2 13 11 , systemd 14 12 , wrapGAppsHook 15 13 , itstool 16 - , libnotify 17 14 , mod_dnssd 18 15 , gnome 19 - , libcanberra-gtk3 20 - , python3 21 16 }: 22 17 23 18 stdenv.mkDerivation rec { 24 19 pname = "gnome-user-share"; 25 - version = "3.34.0"; 20 + version = "43.0"; 26 21 27 22 src = fetchurl { 28 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 - sha256 = "04r9ck9v4i0d31grbli1d4slw2d6dcsfkpaybkwbzi7wnj72l30x"; 23 + url = "mirror://gnome/sources/gnome-user-share/${lib.versions.major version}/gnome-user-share-${version}.tar.xz"; 24 + sha256 = "DfMGqgVYMT81Pvf1G/onwDYoGtxFZ34c+/p8n4YVOM4="; 30 25 }; 31 26 32 - patches = [ 33 - # fix gio-unix-2.0 lookup 34 - (fetchpatch { 35 - url = "https://gitlab.gnome.org/GNOME/gnome-user-share/commit/8772980d4732c15505b15dccff2ca3c97e96d49d.patch"; 36 - sha256 = "03clzhrx72pq1cbmg2y24hvw4i1xsvrg9ip113fi5bc3w4gcji7p"; 37 - }) 38 - # fix compilation with meson >=0.61 39 - (fetchpatch { 40 - url = "https://gitlab.gnome.org/GNOME/gnome-user-share/-/commit/c31b0a8f33b95c0077cd5ee2102a71a49bee8abe.patch"; 41 - hash = "sha256-kH+cPBmSErWxsw+IyyjWgENi4I3ZcKjSA9+em8u4DYs="; 42 - }) 43 - ]; 44 - 45 - postPatch = '' 46 - chmod +x meson_post_install.py 47 - patchShebangs meson_post_install.py 48 - ''; 49 - 50 27 preConfigure = '' 51 28 sed -e 's,^LoadModule dnssd_module.\+,LoadModule dnssd_module ${mod_dnssd}/modules/mod_dnssd.so,' \ 52 29 -e 's,''${HTTP_MODULES_PATH},${apacheHttpd}/modules,' \ ··· 57 34 "-Dhttpd=${apacheHttpd.out}/bin/httpd" 58 35 "-Dmodules_path=${apacheHttpd}/modules" 59 36 "-Dsystemduserunitdir=${placeholder "out"}/etc/systemd/user" 60 - # In 3.34.0 it defaults to false but it is silently ignored and always installed. 61 - # Let’s add it anyway in case they decide to make build respect the option in the future. 62 - "-Dnautilus_extension=true" 63 37 ]; 64 38 65 39 nativeBuildInputs = [ ··· 70 44 itstool 71 45 libxml2 72 46 wrapGAppsHook 73 - python3 74 47 ]; 75 48 76 49 buildInputs = [ 77 - gtk3 78 50 glib 79 - nautilus 80 - libnotify 81 - libcanberra-gtk3 82 51 systemd 83 52 ]; 84 53
+18 -2
pkgs/desktops/gnome/core/mutter/3.38/default.nix
··· 1 1 { fetchurl 2 + , fetchpatch 2 3 , substituteAll 3 4 , runCommand 4 5 , lib ··· 36 37 , python3 37 38 , wrapGAppsHook 38 39 , sysprof 40 + , libsysprof-capture 39 41 , desktop-file-utils 40 42 , libcap_ng 41 43 , egl-wayland 42 44 , graphene 43 45 , wayland-protocols 44 - , pantheon 45 46 }: 46 47 47 48 let self = stdenv.mkDerivation rec { ··· 65 66 # https://gitlab.gnome.org/GNOME/mutter/issues/536 66 67 ./fix-glitches-in-gala.patch 67 68 69 + # Stop using source_root()/build_root(). 70 + # https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1957 71 + (fetchpatch { 72 + url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/6288763671692edbc953a2b80225e9a7c7fc87e7.patch"; 73 + sha256 = "immnfZiY+Cgu7xTbo5y8xs0olTa6UGsKgDJ1Xhkhns0="; 74 + }) 75 + 76 + # Fix build with separate sysprof. 77 + # https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2572 78 + (fetchpatch { 79 + url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/285a5a4d54ca83b136b787ce5ebf1d774f9499d5.patch"; 80 + sha256 = "/npUE3idMSTVlFptsDpZmGWjZ/d2gqruVlJKq4eF4xU="; 81 + }) 82 + 68 83 (substituteAll { 69 84 src = ./fix-paths.patch; 70 85 inherit zenity; ··· 122 137 libXdamage 123 138 pango 124 139 pipewire 125 - sysprof 140 + sysprof # for D-Bus interfaces 141 + libsysprof-capture 126 142 xkeyboard_config 127 143 xwayland 128 144 wayland-protocols
+36 -13
pkgs/desktops/gnome/core/mutter/default.nix
··· 1 1 { fetchurl 2 - , substituteAll 3 2 , runCommand 4 3 , lib 4 + , fetchpatch 5 5 , stdenv 6 6 , pkg-config 7 7 , gnome 8 8 , gettext 9 9 , gobject-introspection 10 10 , cairo 11 + , colord 12 + , lcms2 11 13 , pango 12 14 , json-glib 13 15 , libstartup_notification 14 - , zenity 15 16 , libcanberra 16 17 , ninja 17 18 , xvfb-run ··· 36 37 , xorgserver 37 38 , python3 38 39 , wrapGAppsHook 40 + , gi-docgen 39 41 , sysprof 42 + , libsysprof-capture 40 43 , desktop-file-utils 41 44 , libcap_ng 42 45 , egl-wayland ··· 46 49 47 50 let self = stdenv.mkDerivation rec { 48 51 pname = "mutter"; 49 - version = "42.4"; 52 + version = "43.0"; 50 53 51 - outputs = [ "out" "dev" "man" ]; 54 + outputs = [ "out" "dev" "man" "devdoc" ]; 52 55 53 56 src = fetchurl { 54 57 url = "mirror://gnome/sources/mutter/${lib.versions.major version}/${pname}-${version}.tar.xz"; 55 - sha256 = "wix/o9GHBh2/KAw4UOEYt7UAkGXQHeMWFqzVAMSYKkA="; 58 + sha256 = "jZulKO2Z72eZZC4Uez/p8ry+ypvs7ShFwcrbMxzT5SU="; 56 59 }; 57 60 58 61 patches = [ 59 - # Drop inheritable cap_sys_nice, to prevent the ambient set from leaking 60 - # from mutter/gnome-shell, see https://github.com/NixOS/nixpkgs/issues/71381 61 - # ./drop-inheritable.patch 62 + # Fix build with separate sysprof. 63 + # https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2572 64 + (fetchpatch { 65 + url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/285a5a4d54ca83b136b787ce5ebf1d774f9499d5.patch"; 66 + sha256 = "/npUE3idMSTVlFptsDpZmGWjZ/d2gqruVlJKq4eF4xU="; 67 + }) 62 68 63 - (substituteAll { 64 - src = ./fix-paths.patch; 65 - inherit zenity; 69 + # color-device: Don't create profiles from obvious garbage data 70 + # https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2627 71 + (fetchpatch { 72 + url = "https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2627.patch"; 73 + sha256 = "SafC29+gjcj6JswHY6yuwcOS16LPYvFwYW1TEpNNSHc="; 66 74 }) 75 + 76 + 67 77 ]; 68 78 69 79 mesonFlags = [ ··· 75 85 # This should be auto detected, but it looks like it manages a false 76 86 # positive. 77 87 "-Dxwayland_initfd=disabled" 88 + "-Ddocs=true" 78 89 ]; 79 90 80 91 propagatedBuildInputs = [ ··· 95 106 pkg-config 96 107 python3 97 108 wrapGAppsHook 109 + gi-docgen 98 110 xorgserver # for cvt command 99 111 ]; 100 112 ··· 116 128 libxkbcommon 117 129 libxkbfile 118 130 libXdamage 131 + colord 132 + lcms2 119 133 pango 120 134 pipewire 121 - sysprof 135 + sysprof # for D-Bus interfaces 136 + libsysprof-capture 122 137 xkeyboard_config 123 138 xwayland 124 139 wayland-protocols ··· 132 147 ${glib.dev}/bin/glib-compile-schemas "$out/share/glib-2.0/schemas" 133 148 ''; 134 149 150 + postFixup = '' 151 + # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. 152 + # TODO: Move this into a directory devhelp can find. 153 + moveToOutput "share/mutter-11/doc" "$devdoc" 154 + ''; 155 + 135 156 # Install udev files into our own tree. 136 157 PKG_CONFIG_UDEV_UDEVDIR = "${placeholder "out"}/lib/udev"; 137 158 159 + separateDebugInfo = true; 160 + 138 161 passthru = { 139 - libdir = "${self}/lib/mutter-10"; 162 + libdir = "${self}/lib/mutter-11"; 140 163 141 164 tests = { 142 165 libdirExists = runCommand "mutter-libdir-exists" {} ''
-13
pkgs/desktops/gnome/core/mutter/fix-paths.patch
··· 1 - diff --git a/src/core/util.c b/src/core/util.c 2 - index 57b73747d..f424cc81c 100644 3 - --- a/src/core/util.c 4 - +++ b/src/core/util.c 5 - @@ -636,7 +636,7 @@ meta_show_dialog (const char *type, 6 - 7 - args = g_ptr_array_new (); 8 - 9 - - append_argument (args, "zenity"); 10 - + append_argument (args, "@zenity@/bin/zenity"); 11 - append_argument (args, type); 12 - 13 - if (display)
+29 -16
pkgs/desktops/gnome/core/nautilus/default.nix
··· 4 4 , meson 5 5 , ninja 6 6 , pkg-config 7 + , gi-docgen 8 + , docbook-xsl-nons 7 9 , gettext 8 10 , libxml2 9 11 , desktop-file-utils 10 - , python3 11 - , wrapGAppsHook 12 - , gtk3 13 - , libhandy 14 - , libportal-gtk3 12 + , wrapGAppsHook4 13 + , gtk4 14 + , libadwaita 15 + , libportal-gtk4 15 16 , gnome 16 17 , gnome-autoar 17 18 , glib-networking ··· 24 25 , tracker-miners 25 26 , gexiv2 26 27 , libselinux 28 + , libcloudproviders 27 29 , gdk-pixbuf 28 30 , substituteAll 29 31 , gnome-desktop 30 32 , gst_all_1 31 33 , gsettings-desktop-schemas 34 + , gnome-user-share 32 35 , gobject-introspection 33 36 }: 34 37 35 38 stdenv.mkDerivation rec { 36 39 pname = "nautilus"; 37 - version = "42.2"; 40 + version = "43.0"; 38 41 39 - outputs = [ "out" "dev" ]; 42 + outputs = [ "out" "dev" "devdoc" ]; 40 43 41 44 src = fetchurl { 42 45 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 43 - sha256 = "mSEtLrdZlvGBcorQSi4thvJXewZOaKNMi4GnA330zLI="; 46 + sha256 = "PPVPrAqKvuCQ4VVBf3sW9j6grAwmTvT1RXSvNFgBqRE="; 44 47 }; 45 48 46 49 patches = [ ··· 62 65 meson 63 66 ninja 64 67 pkg-config 65 - python3 66 - wrapGAppsHook 68 + gi-docgen 69 + docbook-xsl-nons 70 + wrapGAppsHook4 67 71 ]; 68 72 69 73 buildInputs = [ ··· 72 76 gnome-desktop 73 77 gnome.adwaita-icon-theme 74 78 gsettings-desktop-schemas 79 + gnome-user-share 75 80 gst_all_1.gst-plugins-base 76 - gtk3 77 - libhandy 78 - libportal-gtk3 81 + gtk4 82 + libadwaita 83 + libportal-gtk4 79 84 libexif 80 85 libnotify 81 86 libseccomp 82 87 libselinux 88 + gdk-pixbuf 89 + libcloudproviders 83 90 shared-mime-info 84 91 tracker 85 92 tracker-miners 93 + gnome-autoar 86 94 ]; 87 95 88 96 propagatedBuildInputs = [ 89 - gnome-autoar 97 + gtk4 98 + ]; 99 + 100 + mesonFlags = [ 101 + "-Ddocs=true" 90 102 ]; 91 103 92 104 preFixup = '' ··· 98 110 ) 99 111 ''; 100 112 101 - postPatch = '' 102 - patchShebangs build-aux/meson/postinstall.py 113 + postFixup = '' 114 + # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. 115 + moveToOutput "share/doc" "$devdoc" 103 116 ''; 104 117 105 118 passthru = {
+6 -4
pkgs/desktops/gnome/core/nautilus/extension_dir.patch
··· 1 1 diff --git a/src/nautilus-module.c b/src/nautilus-module.c 2 - index 6273a76..4adcc8a 100644 2 + index cd889ff18..e2cd6468e 100644 3 3 --- a/src/nautilus-module.c 4 4 +++ b/src/nautilus-module.c 5 - @@ -242,11 +242,17 @@ void 5 + @@ -267,6 +267,7 @@ void 6 6 nautilus_module_setup (void) 7 7 { 8 8 static gboolean initialized = FALSE; 9 9 + const gchar* extensiondir = NULL; 10 + const gchar *disable_plugins; 10 11 11 - if (!initialized) 12 + disable_plugins = g_getenv ("NAUTILUS_DISABLE_PLUGINS"); 13 + @@ -280,7 +281,12 @@ nautilus_module_setup (void) 12 14 { 13 15 initialized = TRUE; 14 16 15 17 - load_module_dir (NAUTILUS_EXTENSIONDIR); 16 - + extensiondir = g_getenv ("NAUTILUS_EXTENSION_DIR"); 18 + + extensiondir = g_getenv ("NAUTILUS_4_EXTENSION_DIR"); 17 19 + if (extensiondir == NULL) { 18 20 + extensiondir = NAUTILUS_EXTENSIONDIR; 19 21 + }
+3 -3
pkgs/desktops/gnome/core/rygel/add-option-for-installation-sysconfdir.patch
··· 1 1 diff --git a/meson.build b/meson.build 2 - index 8af2fcf9..0e318307 100644 2 + index 27bde61f..3d434de9 100644 3 3 --- a/meson.build 4 4 +++ b/meson.build 5 5 @@ -22,7 +22,11 @@ if not get_option('uninstalled') ··· 12 12 + else 13 13 + rygel_sysconfdir = join_paths(get_option('prefix'), get_option('sysconfdir')) 14 14 + endif 15 - rygel_plugindir = join_paths(rygel_libdir, 'rygel-2.6', 'plugins') 16 - rygel_enginedir = join_paths(rygel_libdir, 'rygel-2.6', 'engines') 15 + rygel_plugindir = join_paths(rygel_libdir, 'rygel-2.8', 'plugins') 16 + rygel_enginedir = join_paths(rygel_libdir, 'rygel-2.8', 'engines') 17 17 rygel_presetdir = join_paths(rygel_datadir, 'presets') 18 18 @@ -57,7 +61,7 @@ conf.set_quoted('DATA_DIR', rygel_datadir) 19 19 conf.set_quoted('PLUGIN_DIR', rygel_plugindir)
+8 -8
pkgs/desktops/gnome/core/rygel/default.nix
··· 10 10 , wrapGAppsHook 11 11 , python3 12 12 , glib 13 - , gssdp 14 - , gupnp 13 + , gssdp_1_6 14 + , gupnp_1_6 15 15 , gupnp-av 16 16 , gupnp-dlna 17 17 , gst_all_1 18 18 , libgee 19 - , libsoup 19 + , libsoup_3 20 20 , gtk3 21 21 , libmediaart 22 22 , sqlite ··· 28 28 29 29 stdenv.mkDerivation rec { 30 30 pname = "rygel"; 31 - version = "0.40.4"; 31 + version = "0.42.0"; 32 32 33 33 # TODO: split out lib 34 34 outputs = [ "out" "dev" ]; 35 35 36 36 src = fetchurl { 37 37 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 38 - sha256 = "c22K2+hhX2y8j8//mEXcmF/RDhZinaI2tLUtvt8KNIs="; 38 + sha256 = "AG2nhnffKMruKHxEwp/NntyxshYkI7x/LdLchWuOK7s="; 39 39 }; 40 40 41 41 patches = [ ··· 56 56 57 57 buildInputs = [ 58 58 glib 59 - gssdp 60 - gupnp 59 + gssdp_1_6 60 + gupnp_1_6 61 61 gupnp-av 62 62 gupnp-dlna 63 63 libgee 64 - libsoup 64 + libsoup_3 65 65 gtk3 66 66 libmediaart 67 67 sqlite
+2 -2
pkgs/desktops/gnome/core/simple-scan/default.nix
··· 25 25 26 26 stdenv.mkDerivation rec { 27 27 pname = "simple-scan"; 28 - version = "42.1"; 28 + version = "42.5"; 29 29 30 30 src = fetchurl { 31 31 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 32 - sha256 = "sha256-hZvAYRwXabW9q6ljne7TWfUEdMLuz1i7v9fOIZEbIiY="; 32 + sha256 = "sha256-BfXfpOniBu+p1ATJhh3XxEIJF5PnNMQXGXOZFyUOQFA="; 33 33 }; 34 34 35 35 nativeBuildInputs = [
+4 -4
pkgs/desktops/gnome/core/sushi/default.nix
··· 9 9 , gtksourceview4 10 10 , gjs 11 11 , libsoup 12 - , webkitgtk 12 + , webkitgtk_4_1 13 13 , icu 14 14 , wrapGAppsHook 15 15 , gst_all_1 ··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "sushi"; 26 - version = "42.0"; 26 + version = "43.0"; 27 27 28 28 src = fetchurl { 29 29 url = "mirror://gnome/sources/sushi/${lib.versions.major version}/${pname}-${version}.tar.xz"; 30 - sha256 = "RdjbevRaeXhOejRYjRSeqVXIvkS7gqNuiWgpQFt8iCA="; 30 + sha256 = "V4SFJhSasceE+5L7yTTDUU/lIqumSdXZ/t7H4bFHUns="; 31 31 }; 32 32 33 33 nativeBuildInputs = [ ··· 50 50 gdk-pixbuf 51 51 librsvg 52 52 libsoup 53 - webkitgtk 53 + webkitgtk_4_1 54 54 libepoxy 55 55 gst_all_1.gstreamer 56 56 gst_all_1.gst-plugins-base
+28 -6
pkgs/desktops/gnome/core/totem/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , fetchurl 4 + , fetchpatch 3 5 , meson 4 6 , ninja 5 7 , gettext ··· 19 21 , grilo 20 22 , grilo-plugins 21 23 , libpeas 24 + , libportal-gtk3 22 25 , libhandy 23 26 , adwaita-icon-theme 24 27 , gnome-desktop ··· 29 32 30 33 stdenv.mkDerivation rec { 31 34 pname = "totem"; 32 - version = "42.0"; 35 + version = "43.0"; 33 36 34 37 src = fetchurl { 35 38 url = "mirror://gnome/sources/totem/${lib.versions.major version}/${pname}-${version}.tar.xz"; 36 - sha256 = "SvBJHduV34szruOZ06UPnHqxfeiNOvYzVlZ8+I9X5qs="; 39 + sha256 = "s202VZKLWJZGKk05+Dtq1m0328nJnc6wLqii43OUpB4="; 37 40 }; 38 41 42 + patches = [ 43 + # Lower X11 dependency version since we do not have it. 44 + (fetchpatch { 45 + url = "https://gitlab.gnome.org/GNOME/totem/-/commit/140d9eea70c3101ef3234abb4de5974cb84b13db.patch"; 46 + sha256 = "ohppxqMiH8Ksc9B2e3AXighfM6KVN+RNXYL+fLELSN8="; 47 + revert = true; 48 + }) 49 + (fetchpatch { 50 + url = "https://gitlab.gnome.org/GNOME/totem/-/commit/2610b4536f73493587e4a5a38e01c9961fcabb96.patch"; 51 + sha256 = "nPfzS+LQuAlyQOz67hCdtx93w2frhgWlg1KGX5bEU38="; 52 + revert = true; 53 + }) 54 + (fetchpatch { 55 + url = "https://gitlab.gnome.org/GNOME/totem/-/commit/5b871aee5292f25bbf39dca18045732e979e7a68.patch"; 56 + sha256 = "LqQLdgyZkIVc+/hQ5sdBLqhtjCVIMDSs9tjVXwMFodg="; 57 + revert = true; 58 + }) 59 + ]; 60 + 39 61 nativeBuildInputs = [ 40 62 meson 41 63 ninja ··· 61 83 gst_all_1.gst-plugins-ugly 62 84 gst_all_1.gst-libav 63 85 libpeas 86 + libportal-gtk3 64 87 libhandy 65 88 shared-mime-info 66 89 gdk-pixbuf ··· 87 110 doCheck = false; 88 111 89 112 postPatch = '' 90 - chmod +x meson_compile_python.py meson_post_install.py # patchShebangs requires executable file 113 + chmod +x meson_compile_python.py # patchShebangs requires executable file 91 114 patchShebangs \ 92 - ./meson_compile_python.py \ 93 - ./meson_post_install.py 115 + ./meson_compile_python.py 94 116 ''; 95 117 96 118 checkPhase = ''
+2 -2
pkgs/desktops/gnome/core/yelp-xsl/default.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "yelp-xsl"; 13 - version = "42.0"; 13 + version = "42.1"; 14 14 15 15 src = fetchurl { 16 16 url = "mirror://gnome/sources/yelp-xsl/${lib.versions.major version}/${pname}-${version}.tar.xz"; 17 - sha256 = "sha256-KbJzzAvRbvtumDRDgD8en9wDUR5cT/Y0j9MKYE1NyEY="; 17 + sha256 = "sha256-I4vhULFlMIDOE5lxMw/TbTomWV4NagQKLAML89IAW80="; 18 18 }; 19 19 20 20 nativeBuildInputs = [
+4 -8
pkgs/desktops/gnome/core/yelp/default.nix
··· 2 2 , stdenv 3 3 , gettext 4 4 , fetchurl 5 - , webkitgtk 5 + , webkitgtk_4_1 6 6 , pkg-config 7 7 , gtk3 8 8 , libhandy ··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "yelp"; 21 - version = "42.1"; 21 + version = "42.2"; 22 22 23 23 src = fetchurl { 24 24 url = "mirror://gnome/sources/yelp/${lib.versions.major version}/${pname}-${version}.tar.xz"; 25 - sha256 = "sha256-JbEUarhUmIilqNoGf2O0cLDw+AC2roicrNEU0B1xO0E="; 25 + sha256 = "sha256-osX9B4epCJxyLMZr0Phc33CI2HDntsyFeZ+OW/+erEs="; 26 26 }; 27 27 28 28 nativeBuildInputs = [ ··· 36 36 gtk3 37 37 libhandy 38 38 glib 39 - webkitgtk 39 + webkitgtk_4_1 40 40 sqlite 41 41 libxml2 42 42 libxslt ··· 45 45 gst_all_1.gst-plugins-base 46 46 gst_all_1.gst-plugins-good 47 47 ]; 48 - 49 - # To reduce the GNOME ISO closure size. Remove when other packages 50 - # are using webkit2gtk_4_1. 51 - configureFlags = ["--with-webkit2gtk-4-0"]; 52 48 53 49 passthru = { 54 50 updateScript = gnome.updateScript {
+1 -2
pkgs/desktops/gnome/default.nix
··· 178 178 179 179 gnome-sound-recorder = callPackage ./apps/gnome-sound-recorder { }; 180 180 181 - gnome-todo = callPackage ./apps/gnome-todo {}; 182 - 183 181 gnome-weather = callPackage ./apps/gnome-weather { }; 184 182 185 183 polari = callPackage ./apps/polari { }; ··· 269 267 #### Legacy aliases. They need to be outside the scope or they will shadow the attributes from parent scope. 270 268 271 269 gnome-desktop = pkgs.gnome-desktop; # added 2022-03-16 270 + gnome-todo = pkgs.endeavour; # added 2022-07-30 272 271 libgnome-games-support = pkgs.libgnome-games-support; # added 2022-02-19 273 272 274 273 bijiben = throw "The ‘gnome.bijiben’ alias was removed on 2022-01-13. Please use ‘gnome.gnome-notes’ directly."; # added 2018-09-26
+7 -24
pkgs/desktops/gnome/devtools/devhelp/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchurl 4 - , fetchpatch 5 4 , meson 6 5 , ninja 7 6 , pkg-config ··· 9 8 , gtk3 10 9 , wrapGAppsHook 11 10 , glib 12 - , appstream-glib 13 11 , gobject-introspection 14 - , python3 15 12 , gi-docgen 16 - , webkitgtk 13 + , webkitgtk_4_1 17 14 , gettext 18 15 , itstool 19 16 , gsettings-desktop-schemas ··· 22 19 23 20 stdenv.mkDerivation rec { 24 21 pname = "devhelp"; 25 - version = "41.2"; 22 + version = "43.0"; 26 23 27 24 outputs = [ "out" "devdoc" ]; 28 25 29 26 src = fetchurl { 30 27 url = "mirror://gnome/sources/devhelp/${lib.versions.major version}/${pname}-${version}.tar.xz"; 31 - sha256 = "7KqQsPTaqPsgMPbcaQv1M/+Zp3NDf+Dhis/oLZl/YNI="; 28 + sha256 = "Y87u/QU5LgIESIHvHs1yQpNVPaVzW378CCstE/6F3QQ="; 32 29 }; 33 30 34 - patches = [ 35 - # Fix build with meson 0.61 36 - # https://gitlab.gnome.org/GNOME/devhelp/-/issues/59 37 - (fetchpatch { 38 - url = "https://gitlab.gnome.org/GNOME/devhelp/-/commit/281bade14c1925cf9e7329fa8e9cf2d82512c66f.patch"; 39 - sha256 = "LmHoeQ0zJwOhuasAUYy8FfpDnEO+UNfEb293uKttYKo="; 40 - }) 41 - ]; 42 - 43 31 nativeBuildInputs = [ 44 32 meson 45 33 ninja ··· 47 35 gettext 48 36 itstool 49 37 wrapGAppsHook 50 - appstream-glib 51 38 gobject-introspection 52 - python3 53 39 gi-docgen 40 + # post install script 41 + glib 42 + gtk3 54 43 ]; 55 44 56 45 buildInputs = [ 57 46 glib 58 47 gtk3 59 - webkitgtk 48 + webkitgtk_4_1 60 49 gnome.adwaita-icon-theme 61 50 gsettings-desktop-schemas 62 51 ]; ··· 66 55 ]; 67 56 68 57 doCheck = true; 69 - 70 - postPatch = '' 71 - # patchShebangs requires executable file 72 - chmod +x build-aux/meson/meson_post_install.py 73 - patchShebangs build-aux/meson/meson_post_install.py 74 - ''; 75 58 76 59 preFixup = '' 77 60 gappsWrapperArgs+=(
-71
pkgs/desktops/gnome/extensions/chrome-gnome-shell/default.nix
··· 1 - { lib, stdenv 2 - , fetchurl 3 - , cmake 4 - , ninja 5 - , jq 6 - , python3 7 - , gnome 8 - , wrapGAppsHook 9 - , gobject-introspection 10 - }: 11 - 12 - let 13 - inherit (python3.pkgs) python pygobject3 requests; 14 - in 15 - stdenv.mkDerivation rec { 16 - pname = "chrome-gnome-shell"; 17 - version = "10.1"; 18 - 19 - src = fetchurl { 20 - url = "mirror://gnome/sources/chrome-gnome-shell/${version}/${pname}-${version}.tar.xz"; 21 - sha256 = "0f54xyamm383ypbh0ndkza0pif6ljddg2f947p265fkqj3p4zban"; 22 - }; 23 - 24 - nativeBuildInputs = [ 25 - cmake 26 - ninja 27 - jq 28 - wrapGAppsHook 29 - gobject-introspection # for setup-hook 30 - ]; 31 - 32 - buildInputs = [ 33 - gnome.gnome-shell 34 - python 35 - pygobject3 36 - requests 37 - gobject-introspection # for Gio typelib 38 - ]; 39 - 40 - cmakeFlags = [ 41 - "-DBUILD_EXTENSION=OFF" 42 - ]; 43 - 44 - wrapPrefixVariables = [ 45 - "PYTHONPATH" 46 - ]; 47 - 48 - # cmake setup hook changes /etc/opt into /var/empty 49 - dontFixCmake = true; 50 - 51 - preConfigure = '' 52 - substituteInPlace CMakeLists.txt --replace "/etc" "$out/etc" 53 - ''; 54 - 55 - passthru = { 56 - updateScript = gnome.updateScript { 57 - packageName = "chrome-gnome-shell"; 58 - }; 59 - }; 60 - 61 - meta = with lib; { 62 - description = "GNOME Shell integration for Chrome"; 63 - homepage = "https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome"; 64 - longDescription = '' 65 - To use the integration, install the <link xlink:href="https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome/Installation">browser extension</link>, and then set <option>services.gnome.chrome-gnome-shell.enable</option> to <literal>true</literal>. 66 - ''; 67 - license = licenses.gpl3; 68 - maintainers = teams.gnome.members; 69 - platforms = platforms.linux; 70 - }; 71 - }
+2 -2
pkgs/desktops/gnome/extensions/dash-to-dock/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "gnome-shell-extension-dash-to-dock"; 12 - version = "73"; 12 + version = "74"; 13 13 14 14 # Temporarily switched to commit hash because stable version is buggy. 15 15 src = fetchFromGitHub { 16 16 owner = "micheleg"; 17 17 repo = "dash-to-dock"; 18 18 rev = "extensions.gnome.org-v${version}"; 19 - sha256 = "/NOJWjotfYPujS5G7/zv1OLzfSW0MB+oIRsx9/LSEdA="; 19 + sha256 = "3WNm9kX76+qmn9KWLSKwxmHHpc21kWHrBW9266TOKZ0="; 20 20 }; 21 21 22 22 nativeBuildInputs = [
+66
pkgs/desktops/gnome/extensions/gnome-browser-connector/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitLab 4 + , meson 5 + , ninja 6 + , python3 7 + , gnome 8 + , wrapGAppsNoGuiHook 9 + , gobject-introspection 10 + }: 11 + 12 + let 13 + inherit (python3.pkgs) buildPythonApplication pygobject3; 14 + in 15 + buildPythonApplication rec { 16 + pname = "gnome-browser-connector"; 17 + version = "42.0"; 18 + 19 + format = "other"; 20 + 21 + src = fetchFromGitLab { 22 + domain = "gitlab.gnome.org"; 23 + owner = "nE0sIghT"; 24 + repo = "gnome-browser-connector"; 25 + rev = "v${version}"; 26 + sha256 = "pYbV/qCmSrM2nrrKxbxHnJYMDOiW0aeNbFlsm5kKWdk="; 27 + }; 28 + 29 + nativeBuildInputs = [ 30 + meson 31 + ninja 32 + wrapGAppsNoGuiHook 33 + gobject-introspection # for setup-hook 34 + ]; 35 + 36 + buildInputs = [ 37 + gnome.gnome-shell 38 + gobject-introspection # for Gio typelib 39 + ]; 40 + 41 + pythonPath = [ 42 + pygobject3 43 + ]; 44 + 45 + postPatch = '' 46 + patchShebangs contrib/merge_json.py 47 + ''; 48 + 49 + dontWrapGApps = true; 50 + 51 + # Arguments to be passed to `makeWrapper`, only used by buildPython* 52 + preFixup = '' 53 + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 54 + ''; 55 + 56 + meta = with lib; { 57 + description = "Native host connector for the GNOME Shell browser extension"; 58 + homepage = "https://wiki.gnome.org/Projects/GnomeShellIntegration"; 59 + longDescription = '' 60 + To use the integration, install the <link xlink:href="https://wiki.gnome.org/Projects/GnomeShellIntegration/Installation">browser extension</link>, and then set <option>services.gnome.gnome-browser-connector.enable</option> to <literal>true</literal>. 61 + ''; 62 + license = licenses.gpl3Plus; 63 + maintainers = teams.gnome.members; 64 + platforms = platforms.linux; 65 + }; 66 + }
+11 -2
pkgs/desktops/gnome/extensions/gsconnect/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , fetchFromGitHub 4 + , fetchpatch 3 5 , substituteAll 4 6 , openssl 5 7 , gsound ··· 13 15 , gtk3 14 16 , openssh 15 17 , gnome 18 + , evolution-data-server-gtk4 16 19 , gjs 17 20 , nixosTests 18 21 }: ··· 39 42 40 43 # Allow installing installed tests to a separate output 41 44 ./installed-tests-path.patch 45 + 46 + # Update extension for Nautilus 43. 47 + (fetchpatch { 48 + url = "https://github.com/GSConnect/gnome-shell-extension-gsconnect/commit/9723ea9102f07c2c60fa065184cc58c2bc260abf.patch"; 49 + sha256 = "9afy/70AwW+OYML5J5IyBBiNKWkZ+wZZryZbi4uRfs4="; 50 + }) 42 51 ]; 43 52 44 53 nativeBuildInputs = [ ··· 55 64 gtk3 56 65 gsound 57 66 gjs # for running daemon 58 - gnome.evolution-data-server # for libebook-contacts typelib 67 + evolution-data-server-gtk4 # for libebook-contacts typelib 59 68 ]; 60 69 61 70 mesonFlags = [
+4 -9
pkgs/desktops/gnome/games/gnome-chess/default.nix
··· 5 5 , ninja 6 6 , vala 7 7 , pkg-config 8 + , desktop-file-utils 8 9 , wrapGAppsHook4 9 10 , gobject-introspection 10 11 , gettext 11 12 , itstool 12 13 , libxml2 13 - , python3 14 14 , gnome 15 15 , glib 16 16 , gtk4 ··· 21 21 22 22 stdenv.mkDerivation rec { 23 23 pname = "gnome-chess"; 24 - version = "42.1"; 24 + version = "43.0"; 25 25 26 26 src = fetchurl { 27 27 url = "mirror://gnome/sources/gnome-chess/${lib.versions.major version}/${pname}-${version}.tar.xz"; 28 - sha256 = "ZikL9yhky8bufM6Mn0DegSTo5gl712hi8teqsMS9sCw="; 28 + sha256 = "ZDP+3y9C+yK/IC2fE47C7gcjetXXQ4CQULXICbVs28s="; 29 29 }; 30 30 31 31 nativeBuildInputs = [ ··· 36 36 gettext 37 37 itstool 38 38 libxml2 39 - python3 39 + desktop-file-utils 40 40 wrapGAppsHook4 41 41 gobject-introspection 42 42 ]; ··· 48 48 librsvg 49 49 pango 50 50 ]; 51 - 52 - postPatch = '' 53 - chmod +x meson_post_install.py 54 - patchShebangs meson_post_install.py 55 - ''; 56 51 57 52 passthru = { 58 53 updateScript = gnome.updateScript {
+40 -11
pkgs/desktops/gnome/games/gnome-sudoku/default.nix
··· 1 - { lib, stdenv, fetchurl, meson, ninja, vala, pkg-config, gobject-introspection, gettext, gtk3, gnome, wrapGAppsHook 2 - , libgee, json-glib, qqwing, itstool, libxml2, python3, desktop-file-utils }: 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , meson 5 + , ninja 6 + , vala 7 + , pkg-config 8 + , gobject-introspection 9 + , gettext 10 + , gtk3 11 + , gnome 12 + , wrapGAppsHook 13 + , libgee 14 + , json-glib 15 + , qqwing 16 + , itstool 17 + , libxml2 18 + , desktop-file-utils 19 + }: 3 20 4 21 stdenv.mkDerivation rec { 5 22 pname = "gnome-sudoku"; 6 - version = "42.0"; 23 + version = "43.0"; 7 24 8 25 src = fetchurl { 9 26 url = "mirror://gnome/sources/gnome-sudoku/${lib.versions.major version}/${pname}-${version}.tar.xz"; 10 - sha256 = "HS603bgCa0Q2Rc81hbjfEkTjgo7hwHUYBSslmeHFwo8="; 27 + sha256 = "ftJ0KJz1ykELHJKxU3BQpcNi99szmaMrU0PQ3nBGbkk="; 11 28 }; 12 29 13 - nativeBuildInputs = [ meson ninja vala pkg-config gobject-introspection gettext itstool libxml2 python3 desktop-file-utils wrapGAppsHook ]; 14 - buildInputs = [ gtk3 libgee json-glib qqwing ]; 30 + nativeBuildInputs = [ 31 + meson 32 + ninja 33 + vala 34 + pkg-config 35 + gobject-introspection 36 + gettext 37 + itstool 38 + libxml2 39 + desktop-file-utils 40 + wrapGAppsHook 41 + ]; 15 42 16 - postPatch = '' 17 - chmod +x build-aux/post_install.py 18 - patchShebangs build-aux/post_install.py 19 - ''; 43 + buildInputs = [ 44 + gtk3 45 + libgee 46 + json-glib 47 + qqwing 48 + ]; 20 49 21 50 passthru = { 22 51 updateScript = gnome.updateScript { ··· 29 58 homepage = "https://wiki.gnome.org/Apps/Sudoku"; 30 59 description = "Test your logic skills in this number grid puzzle"; 31 60 maintainers = teams.gnome.members; 32 - license = licenses.gpl2; 61 + license = licenses.gpl3Plus; 33 62 platforms = platforms.linux; 34 63 }; 35 64 }
+6 -25
pkgs/desktops/gnome/misc/geary/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchurl 4 - , fetchpatch 5 4 , pkg-config 6 5 , gtk3 7 6 , vala ··· 26 25 , itstool 27 26 , libgee 28 27 , gnome 29 - , webkitgtk 28 + , webkitgtk_4_1 30 29 , python3 31 30 , gnutls 32 31 , cacert ··· 48 47 49 48 stdenv.mkDerivation rec { 50 49 pname = "geary"; 51 - version = "40.0"; 50 + version = "43.0"; 52 51 53 52 src = fetchurl { 54 53 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 55 - sha256 = "1c2nd35500ng28223y5pszc7fh8g16njj34f6p5xc9594lvj0mik"; 54 + sha256 = "SJFm+H3Z0pAR9eW3lpTyWItHP34ZHFnOkBPIyODjY+c="; 56 55 }; 57 56 58 - patches = [ 59 - # Fix accessibility issues with initializer of constants (Fix build with vala 0.56) 60 - # https://gitlab.gnome.org/GNOME/geary/-/merge_requests/720 61 - (fetchpatch { 62 - url = "https://gitlab.gnome.org/GNOME/geary/-/commit/9bd4c82952a0a2c3308c5cc86c0b85650c1fb484.patch"; 63 - sha256 = "sha256-mSms0MOfw8xHxOrEQwrIv+d4h01xLPgyvX2oWmmFQVw="; 64 - }) 65 - # Util.Cache.Lru: Workaround missing generic type argument (Fix build with vala 0.56) 66 - # https://gitlab.gnome.org/GNOME/geary/-/merge_requests/721 67 - (fetchpatch { 68 - url = "https://gitlab.gnome.org/GNOME/geary/-/commit/0f75e7a84a39492d0748cec2ba6028e08cae3644.patch"; 69 - sha256 = "sha256-1ADQqKm3DxtjDGPSThq3c7s5S+q/3u/qr9JQEsLaFMI="; 70 - }) 71 - ]; 72 - 73 57 nativeBuildInputs = [ 74 58 appstream-glib 75 59 desktop-file-utils ··· 108 92 libstemmer 109 93 libytnef 110 94 sqlite 111 - webkitgtk 95 + webkitgtk_4_1 112 96 ]; 113 97 114 98 checkInputs = [ ··· 127 111 # NOTE: Remove `build-auxyaml_to_json.py` when no longer needed, see: 128 112 # https://gitlab.gnome.org/GNOME/geary/commit/f7f72143e0f00ca5e0e6a798691805c53976ae31#0cc1139e3347f573ae1feee5b73dbc8a8a21fcfa 129 113 postPatch = '' 130 - chmod +x build-aux/post_install.py build-aux/git_version.py 114 + chmod +x build-aux/git_version.py 131 115 132 - patchShebangs build-aux/post_install.py build-aux/git_version.py 133 - 134 - chmod +x build-aux/yaml_to_json.py 135 - patchShebangs build-aux/yaml_to_json.py 116 + patchShebangs build-aux/git_version.py 136 117 137 118 chmod +x desktop/geary-attach 138 119 '';
+2 -2
pkgs/desktops/gnome/misc/gnome-applets/default.nix
··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "gnome-applets"; 26 - version = "3.44.0"; 26 + version = "3.46.0"; 27 27 28 28 src = fetchurl { 29 29 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 - sha256 = "MDlifKknGeSAWH1yT0aXEJw9Em7BUPFPOy4Gkk2576c="; 30 + sha256 = "TwRjyoDzCUA4WzCcHmkCWIxx2XFQxlQOg083Tk0nrPc="; 31 31 }; 32 32 33 33 nativeBuildInputs = [
+4 -4
pkgs/desktops/gnome/misc/gnome-flashback/default.nix
··· 4 4 , fetchurl 5 5 , gettext 6 6 , glib 7 - , gnome-bluetooth_1_0 7 + , gnome-bluetooth 8 8 , gnome-desktop 9 9 , gnome-panel 10 10 , gnome-session ··· 31 31 }: 32 32 let 33 33 pname = "gnome-flashback"; 34 - version = "3.44.0"; 34 + version = "3.46.0"; 35 35 36 36 # From data/sessions/Makefile.am 37 37 requiredComponentsCommon = enableGnomePanel: ··· 62 62 63 63 src = fetchurl { 64 64 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 65 - sha256 = "sha256-HfCDgSfGJG7s2J0cUP+I/IKr9t47MGjlLd5JWkK9VQo="; 65 + sha256 = "sha256-eo1cAzEOTfrdGKZeAKN3QQMq/upUGN1oBKl1xLCYAEU="; 66 66 }; 67 67 68 68 # make .desktop Execs absolute ··· 95 95 96 96 buildInputs = [ 97 97 glib 98 - gnome-bluetooth_1_0 98 + gnome-bluetooth 99 99 gnome-desktop 100 100 gsettings-desktop-schemas 101 101 gtk3
+4 -12
pkgs/desktops/gnome/misc/gnome-panel/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchurl 4 - , fetchpatch 5 4 , autoreconfHook 6 5 , dconf 7 6 , evolution-data-server 8 7 , gdm 9 - , geocode-glib 8 + , geocode-glib_2 10 9 , gettext 11 10 , glib 12 11 , gnome-desktop ··· 26 25 27 26 stdenv.mkDerivation rec { 28 27 pname = "gnome-panel"; 29 - version = "3.44.0"; 28 + version = "3.46.0"; 30 29 31 30 outputs = [ "out" "dev" "man" ]; 32 31 33 32 src = fetchurl { 34 33 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 35 - hash = "sha256-mWVfddAxh2wTDtI8TaIsCZ57zEBIsCVaPDo7vHh7Mao="; 34 + hash = "sha256-zsehG3DFJLXo121Nfk2DXuYHq9outC9N92GeYusGrrE="; 36 35 }; 37 36 38 37 patches = [ ··· 40 39 # instead of gnome-panel’s libdir so that the NixOS module can make gnome-panel 41 40 # load modules from other packages as well. 42 41 ./modulesdir-env-var.patch 43 - 44 - # Add missing geocode-glib-1.0 dependency 45 - # https://gitlab.gnome.org/GNOME/gnome-panel/-/merge_requests/49 46 - (fetchpatch { 47 - url = "https://gitlab.gnome.org/GNOME/gnome-panel/-/commit/f58a43ec4649a25f1a762b36e1401b81cd2b214b.patch"; 48 - sha256 = "sha256-DFqaNUjkLh4xd81qgQpl+568eUZeWyF8LxdZoTgMfCQ="; 49 - }) 50 42 ]; 51 43 52 44 # make .desktop Exec absolute ··· 79 71 dconf 80 72 evolution-data-server 81 73 gdm 82 - geocode-glib 74 + geocode-glib_2 83 75 glib 84 76 gnome-desktop 85 77 gnome-menus
+14 -6
pkgs/desktops/gnome/misc/gpaste/default.nix
··· 9 9 , gobject-introspection 10 10 , gtk3 11 11 , gtk4 12 + , gcr_4 12 13 , libadwaita 13 14 , meson 14 15 , mutter ··· 16 17 , pango 17 18 , pkg-config 18 19 , vala 20 + , desktop-file-utils 19 21 , wrapGAppsHook 20 22 }: 21 23 22 24 stdenv.mkDerivation rec { 23 - version = "42.1"; 25 + version = "43.0"; 24 26 pname = "gpaste"; 25 27 26 28 src = fetchFromGitHub { 27 29 owner = "Keruspe"; 28 30 repo = "GPaste"; 29 31 rev = "v${version}"; 30 - sha256 = "sha256-A5NZ4NiPVZUr7vPdDuNywLsLrejZ4SCg7+3//ZNRmLY="; 32 + sha256 = "sha256-F+AWTYVK145RzJ1Zldh4Q4R/hN/D7aXO3SIJ1t6ClWs="; 31 33 }; 32 34 33 35 patches = [ 34 36 ./fix-paths.patch 37 + 38 + # Build against GCR 4. 39 + # Patch was temporarily reverted. 40 + # https://github.com/Keruspe/GPaste/pull/409 41 + (fetchpatch { 42 + url = "https://github.com/Keruspe/GPaste/commit/0378cb4a657042ce5321f1d9728cff31e55bede6.patch"; 43 + sha256 = "0Ngr+/fS5/wICR84GEiE0pXEXQ/f/3G59lDivH167m8="; 44 + }) 35 45 ]; 36 46 37 47 # TODO: switch to substituteAll with placeholder ··· 52 62 ninja 53 63 pkg-config 54 64 vala 65 + desktop-file-utils 55 66 wrapGAppsHook 56 67 ]; 57 68 ··· 61 72 glib 62 73 gtk3 63 74 gtk4 75 + gcr_4 64 76 libadwaita 65 77 mutter 66 78 pango ··· 71 83 "-Ddbus-services-dir=${placeholder "out"}/share/dbus-1/services" 72 84 "-Dsystemd-user-unit-dir=${placeholder "out"}/etc/systemd/user" 73 85 ]; 74 - 75 - postInstall = '' 76 - ${glib.dev}/bin/glib-compile-schemas "$out/share/glib-2.0/schemas" 77 - ''; 78 86 79 87 meta = with lib; { 80 88 homepage = "https://github.com/Keruspe/GPaste";
+2 -2
pkgs/desktops/gnome/misc/metacity/default.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "metacity"; 21 - version = "3.44.0"; 21 + version = "3.46.0"; 22 22 23 23 src = fetchurl { 24 24 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 - sha256 = "GcPF150hcfRbqg9jLMiZX4YHvxIxoWAUQ5usm6Flp8A="; 25 + sha256 = "S6d36ThUe/zL+azKCWdXTEZkMCLgVMk6AzQZyzzHwew="; 26 26 }; 27 27 28 28 patches = [
+10 -26
pkgs/desktops/gnome/misc/nautilus-python/default.nix
··· 2 2 , lib 3 3 , substituteAll 4 4 , fetchurl 5 + , meson 6 + , ninja 5 7 , pkg-config 6 - , which 7 8 , gtk-doc 8 - , docbook_xsl 9 + , docbook-xsl-nons 9 10 , docbook_xml_dtd_412 10 11 , python3 11 - , ncurses 12 12 , nautilus 13 - , gtk3 14 13 , gnome 15 14 }: 16 15 17 16 stdenv.mkDerivation rec { 18 17 pname = "nautilus-python"; 19 - version = "1.2.3"; 18 + version = "4.0"; 20 19 21 - outputs = [ "out" "dev" "doc" ]; 20 + outputs = [ "out" "dev" "doc" "devdoc" ]; 22 21 23 22 src = fetchurl { 24 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 - sha256 = "161050sx3sdxqcpjkjcpf6wl4kx0jydihga7mcvrj9c2f8ly0g07"; 23 + url = "mirror://gnome/sources/nautilus-python/${lib.versions.majorMinor version}/nautilus-python-${version}.tar.xz"; 24 + sha256 = "FyQ9Yut9fYOalGGrjQcBaIgFxxYaZwXmFBOljsJoKBo="; 26 25 }; 27 26 28 27 patches = [ ··· 37 36 38 37 nativeBuildInputs = [ 39 38 pkg-config 40 - which 39 + meson 40 + ninja 41 41 gtk-doc 42 - docbook_xsl 42 + docbook-xsl-nons 43 43 docbook_xml_dtd_412 44 44 ]; 45 45 46 46 buildInputs = [ 47 47 python3 48 - ncurses # required by python3 49 48 python3.pkgs.pygobject3 50 49 nautilus 51 - gtk3 # required by libnautilus-extension 52 50 ]; 53 51 54 - # Workaround build failure on -fno-common toolchains: 55 - # ld: nautilus-python-object.o:src/nautilus-python.h:61: multiple definition of 56 - # `_PyNautilusMenu_Type'; nautilus-python.o:src/nautilus-python.h:61: first defined here 57 - # TODO: remove it once upstream fixes and releases: 58 - # https://gitlab.gnome.org/GNOME/nautilus-python/-/merge_requests/7 59 - NIX_CFLAGS_COMPILE = "-fcommon"; 60 - 61 - makeFlags = [ 62 - "PYTHON_LIB_LOC=${python3}/lib" 63 - ]; 64 - 65 - PKG_CONFIG_LIBNAUTILUS_EXTENSION_EXTENSIONDIR = "${placeholder "out"}/lib/nautilus/extensions-3.0"; 66 - 67 52 passthru = { 68 53 updateScript = gnome.updateScript { 69 54 packageName = pname; 70 55 attrPath = "gnome.${pname}"; 71 - versionPolicy = "odd-unstable"; 72 56 }; 73 57 }; 74 58
+6
pkgs/desktops/lxqt/lxqt-build-tools/default.nix
··· 30 30 url = "https://github.com/lxqt/lxqt-build-tools/pull/76/commits/fa9672b671ede3f46b004f81580f9afb50fedf00.patch"; 31 31 sha256 = "0dl7n1afcc6ky9vd9lpc65p9grpszpql7lfjq2vlzlilixnv8xv1"; 32 32 }) 33 + # Fix build failure of libqtxdg with GLib 2.73.1+ 34 + # https://github.com/lxqt/lxqt-build-tools/pull/79 35 + (fetchpatch { 36 + url = "https://github.com/lxqt/lxqt-build-tools/commit/4991811d9212ec1176af6d1cbe88aa37efad4836.patch"; 37 + sha256 = "sha256-PsYJKonMG6A9O4Li+RC1qBjFUzYgxVAwzSqHq/phmPc="; 38 + }) 33 39 ]; 34 40 35 41 postPatch = ''
+18 -4
pkgs/desktops/pantheon/apps/elementary-calendar/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , nix-update-script 5 6 , meson 6 7 , ninja ··· 12 13 , evolution-data-server 13 14 , folks 14 15 , geoclue2 15 - , geocode-glib 16 + , geocode-glib_2 16 17 , granite 17 18 , gtk3 18 - , libchamplain 19 + , libchamplain_libsoup3 19 20 , libgee 20 21 , libhandy 21 22 , libical ··· 32 33 sha256 = "sha256-c2c8QNifBDzb0CelB72AIL4G694l6KCSXBjWIHrzZJo="; 33 34 }; 34 35 36 + patches = [ 37 + # build: support evolution-data-server 3.46 38 + # https://github.com/elementary/calendar/pull/758 39 + (fetchpatch { 40 + url = "https://github.com/elementary/calendar/commit/62c20e5786accd68b96c423b04e32c043e726cac.patch"; 41 + sha256 = "sha256-xatxoSwAIHiUA03vvBdM8HSW27vhPLvAxEuGK0gLiio="; 42 + }) 43 + 44 + # Workaround for showing date numbers (TODO: should try to fix upstream) 45 + # https://github.com/elementary/calendar/issues/756#issuecomment-1252400047 46 + ./partly-revert-pr-301.patch 47 + ]; 48 + 35 49 nativeBuildInputs = [ 36 50 meson 37 51 ninja ··· 46 60 evolution-data-server 47 61 folks 48 62 geoclue2 49 - geocode-glib 63 + geocode-glib_2 50 64 granite 51 65 gtk3 52 - libchamplain 66 + libchamplain_libsoup3 53 67 libgee 54 68 libhandy 55 69 libical
+57
pkgs/desktops/pantheon/apps/elementary-calendar/partly-revert-pr-301.patch
··· 1 + diff --git a/src/Grid/Grid.vala b/src/Grid/Grid.vala 2 + index 61706fc8..9b69fc14 100644 3 + --- a/src/Grid/Grid.vala 4 + +++ b/src/Grid/Grid.vala 5 + @@ -215,7 +215,7 @@ public class Grid : Gtk.Grid { 6 + 7 + day.in_current_month = new_date.get_month () == month_start.get_month (); 8 + 9 + - day.date = new_date; 10 + + day.update_date (new_date); 11 + return day; 12 + } 13 + 14 + diff --git a/src/Grid/GridDay.vala b/src/Grid/GridDay.vala 15 + index 3e59cb7b..df04fe6f 100644 16 + --- a/src/Grid/GridDay.vala 17 + +++ b/src/Grid/GridDay.vala 18 + @@ -35,6 +35,7 @@ public class Maya.View.GridDay : Gtk.EventBox { 19 + public bool draw_left_border = true; 20 + private VAutoHider event_box; 21 + private GLib.HashTable<string, EventButton> event_buttons; 22 + + Gtk.Label label; 23 + 24 + public bool in_current_month { 25 + set { 26 + @@ -79,7 +80,7 @@ public class Maya.View.GridDay : Gtk.EventBox { 27 + style_context.add_provider (style_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION); 28 + style_context.add_class ("cell"); 29 + 30 + - var label = new Gtk.Label (""); 31 + + label = new Gtk.Label (""); 32 + label.halign = Gtk.Align.END; 33 + label.get_style_context ().add_provider (style_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION); 34 + label.margin = EVENT_MARGIN; 35 + @@ -100,10 +101,6 @@ public class Maya.View.GridDay : Gtk.EventBox { 36 + 37 + Gtk.TargetEntry dnd = {"binary/calendar", 0, 0}; 38 + Gtk.drag_dest_set (this, Gtk.DestDefaults.MOTION, {dnd}, Gdk.DragAction.MOVE); 39 + - 40 + - this.notify["date"].connect (() => { 41 + - label.label = date.get_day_of_month ().to_string (); 42 + - }); 43 + } 44 + 45 + public override bool drag_drop (Gdk.DragContext context, int x, int y, uint time_) { 46 + @@ -174,6 +171,11 @@ public class Maya.View.GridDay : Gtk.EventBox { 47 + event_buttons.remove_all (); 48 + } 49 + 50 + + public void update_date (DateTime date) { 51 + + this.date = date; 52 + + label.label = date.get_day_of_month ().to_string (); 53 + + } 54 + + 55 + public void set_selected (bool selected) { 56 + if (selected) { 57 + set_state_flags (Gtk.StateFlags.SELECTED, true);
+18 -6
pkgs/desktops/pantheon/apps/elementary-mail/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , nix-update-script 5 6 , pkg-config 6 7 , meson ··· 10 11 , gtk3 11 12 , libxml2 12 13 , libhandy 13 - , webkitgtk 14 + , webkitgtk_4_1 14 15 , folks 15 - , libgdata 16 - , sqlite 17 16 , glib-networking 18 17 , granite 19 18 , evolution-data-server ··· 32 31 sha256 = "sha256-DO3nybH7tb/ISrSQ3+Oj612m64Ov6X0GAWePMbKjCc4="; 33 32 }; 34 33 34 + patches = [ 35 + # build: fix documentation build 36 + # https://github.com/elementary/mail/pull/795 37 + (fetchpatch { 38 + url = "https://github.com/elementary/mail/commit/52a422cb1c5f061d8a683005e44da0a1c2195096.patch"; 39 + sha256 = "sha256-ndcIZXvmQbM/31Wtm6OSCnXdMYx+OlJrqV+baq6m+KY="; 40 + }) 41 + # build: support webkit2gtk-4.1 42 + # https://github.com/elementary/mail/pull/794 43 + (fetchpatch { 44 + url = "https://github.com/elementary/mail/commit/7d4878543b27251664852c708d54abc1e4580eab.patch"; 45 + sha256 = "sha256-yl6Bzjinp+ti/aX+t22GibGeQFtharZNk3MmbuJm0Tk="; 46 + }) 47 + ]; 48 + 35 49 nativeBuildInputs = [ 36 50 libxml2 37 51 meson ··· 48 62 glib-networking 49 63 granite 50 64 gtk3 51 - libgdata 52 65 libgee 53 66 libhandy 54 - sqlite 55 - webkitgtk 67 + webkitgtk_4_1 56 68 ]; 57 69 58 70 postPatch = ''
+1
pkgs/desktops/pantheon/apps/elementary-tasks/default.nix
··· 73 73 platforms = platforms.linux; 74 74 maintainers = teams.pantheon.members; 75 75 mainProgram = "io.elementary.tasks"; 76 + broken = true; # https://github.com/elementary/tasks/issues/340 76 77 }; 77 78 }
+10 -4
pkgs/desktops/pantheon/apps/switchboard-plugs/onlineaccounts/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , nix-update-script 5 6 , meson 6 7 , ninja ··· 10 11 , glib 11 12 , granite 12 13 , gtk3 13 - , libgdata 14 14 , libhandy 15 - , sqlite 16 15 , switchboard 17 16 }: 18 17 ··· 27 26 sha256 = "sha256-Q/vvXKyeedn5o7HnL9F5ixSjJS3OWrvvHbzvx2fW2qY="; 28 27 }; 29 28 29 + patches = [ 30 + # build: support evolution-data-server 3.45 31 + # https://github.com/elementary/switchboard-plug-onlineaccounts/pull/244 32 + (fetchpatch { 33 + url = "https://github.com/elementary/switchboard-plug-onlineaccounts/commit/b60f0458a23a2f76ad14d399f145e150e1ab82d3.patch"; 34 + sha256 = "sha256-C7woN4shPrVlSWZeW0Fz+xFi5CTQd2K5BsF5YeI9x0Y="; 35 + }) 36 + ]; 37 + 30 38 nativeBuildInputs = [ 31 39 meson 32 40 ninja ··· 39 47 glib 40 48 granite 41 49 gtk3 42 - libgdata 43 50 libhandy 44 - sqlite # needed for camel-1.2 45 51 switchboard 46 52 ]; 47 53
+4
pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/default.nix
··· 37 37 src = ./fix-paths.patch; 38 38 elementary_calendar = elementary-calendar; 39 39 }) 40 + 41 + # Workaround for showing date numbers (TODO: should try to fix upstream) 42 + # https://github.com/elementary/calendar/issues/756#issuecomment-1252400047 43 + ./partly-revert-pr-150.patch 40 44 ]; 41 45 42 46 nativeBuildInputs = [
+40
pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/partly-revert-pr-150.patch
··· 1 + diff --git a/src/Widgets/calendar/Grid.vala b/src/Widgets/calendar/Grid.vala 2 + index e440306..21a631a 100644 3 + --- a/src/Widgets/calendar/Grid.vala 4 + +++ b/src/Widgets/calendar/Grid.vala 5 + @@ -229,7 +229,7 @@ namespace DateTime.Widgets { 6 + day.sensitive_container (false); 7 + } 8 + 9 + - day.date = new_date; 10 + + day.update_date (new_date); 11 + 12 + return day; 13 + } 14 + diff --git a/src/Widgets/calendar/GridDay.vala b/src/Widgets/calendar/GridDay.vala 15 + index 8602875..7bd6140 100644 16 + --- a/src/Widgets/calendar/GridDay.vala 17 + +++ b/src/Widgets/calendar/GridDay.vala 18 + @@ -79,10 +79,6 @@ public class DateTime.Widgets.GridDay : Gtk.EventBox { 19 + button_press_event.connect (on_button_press); 20 + key_press_event.connect (on_key_press); 21 + 22 + - notify["date"].connect (() => { 23 + - label.label = date.get_day_of_month ().to_string (); 24 + - }); 25 + - 26 + component_dots = new Gee.HashMap<string, Gtk.Widget> (); 27 + } 28 + 29 + @@ -124,6 +120,11 @@ public class DateTime.Widgets.GridDay : Gtk.EventBox { 30 + } 31 + } 32 + 33 + + public void update_date (GLib.DateTime date) { 34 + + this.date = date; 35 + + label.label = date.get_day_of_month ().to_string (); 36 + + } 37 + + 38 + public void set_selected (bool selected) { 39 + if (selected) { 40 + set_state_flags (Gtk.StateFlags.SELECTED, true);
+6 -6
pkgs/development/compilers/vala/default.nix
··· 93 93 94 94 in rec { 95 95 vala_0_48 = generic { 96 - version = "0.48.24"; 97 - sha256 = "NknvhFc7aGX8NHBkDuYDcgCZ65FbOfqtGbdJjeGn3yQ="; 96 + version = "0.48.25"; 97 + sha256 = "UMs8Xszdx/1DaL+pZBSlVgReedKxWmiRjHJ7jIOxiiQ="; 98 98 }; 99 99 100 100 vala_0_54 = generic { 101 - version = "0.54.8"; 102 - sha256 = "7fs+eUhqS/SM666pKR5X/HfakyK2lh6VSd9tlz0EvIA="; 101 + version = "0.54.9"; 102 + sha256 = "hXLA6Nd9eMFZfVFgCPBUDH50leA10ou0wlzJk+U85LQ="; 103 103 }; 104 104 105 105 vala_0_56 = generic { 106 - version = "0.56.2"; 107 - sha256 = "Zslhm7F4Wf0aw6ugpXlwYT44/Soe4wVBF0JgyfuQEkw="; 106 + version = "0.56.3"; 107 + sha256 = "4QZiIb97icsfpzJ6OIhkXLM7YE3jv0WqgRMv0EC2mb8="; 108 108 }; 109 109 110 110 vala = vala_0_56;
+4 -4
pkgs/development/libraries/appstream-glib/default.nix
··· 14 14 , gtk3 15 15 , json-glib 16 16 , libarchive 17 - , libsoup 17 + , curl 18 18 , libuuid 19 19 , libxslt 20 20 , meson ··· 24 24 }: 25 25 stdenv.mkDerivation rec { 26 26 pname = "appstream-glib"; 27 - version = "0.7.18"; 27 + version = "0.8.1"; 28 28 29 29 outputs = [ "out" "dev" "man" "installedTests" ]; 30 30 outputBin = "dev"; ··· 33 33 owner = "hughsie"; 34 34 repo = "appstream-glib"; 35 35 rev = "${lib.replaceStrings ["-"] ["_"] pname}_${lib.replaceStrings ["."] ["_"] version}"; 36 - sha256 = "12s7d3nqjs1fldnppbg2mkjg4280f3h8yzj3q1hiz3chh1w0vjbx"; 36 + sha256 = "Qf0z9YTfjTiEr9OlK2BgOpVDtM2ozsiyjzO04O81zas="; 37 37 }; 38 38 39 39 nativeBuildInputs = [ ··· 57 57 gtk3 58 58 json-glib 59 59 libarchive 60 - libsoup 60 + curl 61 61 libuuid 62 62 ]; 63 63
-45
pkgs/development/libraries/at-spi2-atk/default.nix
··· 1 - { lib, stdenv 2 - , fetchurl 3 - 4 - , meson 5 - , ninja 6 - , pkg-config 7 - 8 - , at-spi2-core 9 - , atk 10 - , dbus 11 - , glib 12 - , libxml2 13 - 14 - , gnome # To pass updateScript 15 - }: 16 - 17 - stdenv.mkDerivation rec { 18 - pname = "at-spi2-atk"; 19 - version = "2.38.0"; 20 - 21 - src = fetchurl { 22 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 23 - sha256 = "z6AIpa+CKzauYofxgYLEDJHdaZxV+qOGBYge0XXKRk8="; 24 - }; 25 - 26 - nativeBuildInputs = [ meson ninja pkg-config ]; 27 - buildInputs = [ at-spi2-core atk dbus glib libxml2 ]; 28 - 29 - doCheck = false; # fails with "No test data file provided" 30 - 31 - passthru = { 32 - updateScript = gnome.updateScript { 33 - packageName = pname; 34 - versionPolicy = "odd-unstable"; 35 - }; 36 - }; 37 - 38 - meta = with lib; { 39 - description = "D-Bus bridge for Assistive Technology Service Provider Interface (AT-SPI) and Accessibility Toolkit (ATK)"; 40 - homepage = "https://gitlab.gnome.org/GNOME/at-spi2-atk"; 41 - license = licenses.lgpl21Plus; 42 - maintainers = teams.gnome.members; 43 - platforms = platforms.unix; 44 - }; 45 - }
+7 -3
pkgs/development/libraries/at-spi2-core/default.nix
··· 11 11 , glib 12 12 , dconf 13 13 , libX11 14 + , libxml2 14 15 , libXtst 15 16 , libXi 16 17 , libXext ··· 19 20 20 21 stdenv.mkDerivation rec { 21 22 pname = "at-spi2-core"; 22 - version = "2.44.1"; 23 + version = "2.46.0"; 23 24 24 25 outputs = [ "out" "dev" ]; 25 26 26 27 src = fetchurl { 27 28 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 - sha256 = "S+sjJwumz3yvILWXNU11GU2Jr7adLvzxX0JxaIum90Y="; 29 + sha256 = "qgyGx596jWe65JpbelqwhDDGCM/+bjO/R6cvQasDw9A="; 29 30 }; 30 31 31 32 nativeBuildInputs = [ ··· 38 39 39 40 buildInputs = [ 40 41 libX11 42 + libxml2 41 43 # at-spi2-core can be build without X support, but due it is a client-side library, GUI-less usage is a very rare case 42 44 libXtst 43 45 libXi ··· 46 48 ]; 47 49 48 50 # In atspi-2.pc dbus-1 glib-2.0 51 + # In atk.pc gobject-2.0 49 52 propagatedBuildInputs = [ 50 53 dbus 51 54 glib ··· 55 58 doCheck = false; 56 59 57 60 mesonFlags = [ 61 + "-Dintrospection=${if stdenv.buildPlatform == stdenv.hostPlatform then "yes" else "no"}" 58 62 # Provide dbus-daemon fallback when it is not already running when 59 63 # at-spi2-bus-launcher is executed. This allows us to avoid 60 64 # including the entire dbus closure in libraries linked with ··· 80 84 description = "Assistive Technology Service Provider Interface protocol definitions and daemon for D-Bus"; 81 85 homepage = "https://gitlab.gnome.org/GNOME/at-spi2-core"; 82 86 license = licenses.lgpl21Plus; 83 - maintainers = teams.gnome.members; 87 + maintainers = teams.gnome.members ++ (with maintainers; [ raskin ]); 84 88 platforms = platforms.unix; 85 89 }; 86 90 }
-77
pkgs/development/libraries/atk/default.nix
··· 1 - { stdenv 2 - , lib 3 - , fetchurl 4 - , meson 5 - , ninja 6 - , gettext 7 - , pkg-config 8 - , glib 9 - , fixDarwinDylibNames 10 - , gobject-introspection 11 - , gnome 12 - }: 13 - 14 - stdenv.mkDerivation rec { 15 - pname = "atk"; 16 - version = "2.38.0"; 17 - 18 - outputs = [ "out" "dev" ]; 19 - 20 - src = fetchurl { 21 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 22 - sha256 = "rE3ipO9L1WZQUpUv4WllfmXolcUFff+zwqgQ9hkaDDY="; 23 - }; 24 - 25 - patches = [ 26 - # meson builds an incorrect .pc file 27 - # glib should be Requires not Requires.private 28 - ./fix_pc.patch 29 - ]; 30 - 31 - nativeBuildInputs = [ 32 - meson 33 - ninja 34 - pkg-config 35 - gettext 36 - gobject-introspection 37 - glib 38 - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ 39 - fixDarwinDylibNames 40 - ]; 41 - 42 - buildInputs = [ gobject-introspection ]; 43 - 44 - propagatedBuildInputs = [ 45 - # Required by atk.pc 46 - glib 47 - ]; 48 - 49 - doCheck = true; 50 - 51 - passthru = { 52 - updateScript = gnome.updateScript { 53 - packageName = pname; 54 - versionPolicy = "odd-unstable"; 55 - }; 56 - }; 57 - 58 - meta = { 59 - description = "Accessibility toolkit"; 60 - 61 - longDescription = '' 62 - ATK is the Accessibility Toolkit. It provides a set of generic 63 - interfaces allowing accessibility technologies such as screen 64 - readers to interact with a graphical user interface. Using the 65 - ATK interfaces, accessibility tools have full access to view and 66 - control running applications. 67 - ''; 68 - 69 - homepage = "https://gitlab.gnome.org/GNOME/atk"; 70 - 71 - license = lib.licenses.lgpl2Plus; 72 - 73 - maintainers = with lib.maintainers; [ raskin ]; 74 - platforms = lib.platforms.linux ++ lib.platforms.darwin; 75 - }; 76 - 77 - }
-9
pkgs/development/libraries/atk/fix_pc.patch
··· 1 - --- a/atk/meson.build 2 - +++ b/atk/meson.build 3 - @@ -162,5 +162,6 @@ pkgconfig.generate(libatk, 4 - name: 'Atk', 5 - description: 'Accessibility Toolkit', 6 - subdirs: atk_api_name, 7 - + requires: glib_dep, 8 - filebase: 'atk', 9 - )
-15
pkgs/development/libraries/flatpak/bubblewrap-paths.patch
··· 1 - diff --git a/icon-validator/validate-icon.c b/icon-validator/validate-icon.c 2 - index 9e885070..d02eeb8c 100644 3 - --- a/icon-validator/validate-icon.c 4 - +++ b/icon-validator/validate-icon.c 5 - @@ -156,8 +156,8 @@ rerun_in_sandbox (const char *arg_width, 6 - "--unshare-ipc", 7 - "--unshare-net", 8 - "--unshare-pid", 9 - - "--ro-bind", "/usr", "/usr", 10 - - "--ro-bind-try", "/etc/ld.so.cache", "/etc/ld.so.cache", 11 - + "--ro-bind", "@storeDir@", "@storeDir@", 12 - + "--ro-bind", "/run/current-system", "/run/current-system", 13 - "--ro-bind", validate_icon, validate_icon, 14 - NULL); 15 -
+30 -19
pkgs/development/libraries/flatpak/default.nix
··· 11 11 , libxslt 12 12 , pkg-config 13 13 , xmlto 14 - , appstream-glib 15 14 , substituteAll 15 + , runCommand 16 16 , bison 17 17 , xdg-dbus-proxy 18 18 , p11-kit 19 + , appstream 19 20 , bubblewrap 20 21 , bzip2 22 + , curl 21 23 , dbus 22 24 , glib 23 25 , gpgme ··· 32 34 , shared-mime-info 33 35 , desktop-file-utils 34 36 , gtk3 35 - , fuse 37 + , fuse3 36 38 , nixosTests 37 - , libsoup 38 39 , xz 39 40 , zstd 40 41 , ostree ··· 51 52 , makeWrapper 52 53 }: 53 54 54 - stdenv.mkDerivation rec { 55 + stdenv.mkDerivation (finalAttrs: { 55 56 pname = "flatpak"; 56 - version = "1.12.7"; 57 + version = "1.14.0"; 57 58 58 59 # TODO: split out lib once we figure out what to do with triggerdir 59 60 outputs = [ "out" "dev" "man" "doc" "devdoc" "installedTests" ]; 60 61 61 62 src = fetchurl { 62 - url = "https://github.com/flatpak/flatpak/releases/download/${version}/${pname}-${version}.tar.xz"; 63 - sha256 = "sha256-bbUqUxzieCgqx+v7mfZqC7PsyvROhkhEwslcHuW6kxY="; # Taken from https://github.com/flatpak/flatpak/releases/ 63 + url = "https://github.com/flatpak/flatpak/releases/download/${finalAttrs.version}/flatpak-${finalAttrs.version}.tar.xz"; 64 + sha256 = "sha256-jidpc3cOok3fJZetSuzTa5g5PmvekeSOF0OqymfyeBU="; # Taken from https://github.com/flatpak/flatpak/releases/ 64 65 }; 65 66 66 67 patches = [ ··· 80 81 p11kit = "${p11-kit.bin}/bin/p11-kit"; 81 82 }) 82 83 83 - # Adapt paths exposed to sandbox for NixOS. 84 - (substituteAll { 85 - src = ./bubblewrap-paths.patch; 86 - inherit (builtins) storeDir; 87 - }) 88 - 89 84 # Allow gtk-doc to find schemas using XML_CATALOG_FILES environment variable. 90 85 # Patch taken from gtk-doc expression. 91 86 ./respect-xml-catalog-files-var.patch ··· 94 89 # https://github.com/NixOS/nixpkgs/issues/53441 95 90 ./unset-env-vars.patch 96 91 97 - # But we want the GDK_PIXBUF_MODULE_FILE from the wrapper affect the icon validator. 98 - ./validate-icon-pixbuf.patch 92 + # Do not clear XDG_DATA_DIRS in fish shell 93 + # https://github.com/flatpak/flatpak/pull/5123 94 + ./no-breaking-fish.patch 95 + 96 + # The icon validator needs to access the gdk-pixbuf loaders in the Nix store 97 + # and cannot bind FHS paths since those are not available on NixOS. 98 + finalAttrs.passthru.icon-validator-patch 99 99 ]; 100 100 101 101 nativeBuildInputs = [ ··· 110 110 libxslt 111 111 pkg-config 112 112 xmlto 113 - appstream-glib 114 113 bison 115 114 wrapGAppsNoGuiHook 116 115 ]; 117 116 118 117 buildInputs = [ 118 + appstream 119 119 bubblewrap 120 120 bzip2 121 + curl 121 122 dbus 122 123 dconf 123 124 gpgme ··· 125 126 libarchive 126 127 libcap 127 128 libseccomp 128 - libsoup 129 129 xz 130 130 zstd 131 131 polkit 132 132 python3 133 133 systemd 134 134 xorg.libXau 135 - fuse 135 + fuse3 136 136 gsettings-desktop-schemas 137 137 glib-networking 138 138 librsvg # for flatpak-validate-icon ··· 156 156 enableParallelBuilding = true; 157 157 158 158 configureFlags = [ 159 + "--with-curl" 159 160 "--with-system-bubblewrap=${bubblewrap}/bin/bwrap" 160 161 "--with-system-dbus-proxy=${xdg-dbus-proxy}/bin/xdg-dbus-proxy" 161 162 "--with-dbus-config-dir=${placeholder "out"}/share/dbus-1/system.d" ··· 187 188 ''; 188 189 189 190 passthru = { 191 + icon-validator-patch = substituteAll { 192 + src = ./fix-icon-validation.patch; 193 + inherit (builtins) storeDir; 194 + }; 195 + 190 196 tests = { 191 197 installedTests = nixosTests.installed-tests.flatpak; 198 + 199 + validate-icon = runCommand "test-icon-validation" { } '' 200 + ${finalAttrs.finalPackage}/libexec/flatpak-validate-icon --sandbox 512 512 ${../../../applications/audio/zynaddsubfx/ZynLogo.svg} > "$out" 201 + grep format=svg "$out" 202 + ''; 192 203 }; 193 204 }; 194 205 ··· 199 210 maintainers = with maintainers; [ jtojnar ]; 200 211 platforms = platforms.linux; 201 212 }; 202 - } 213 + })
+31
pkgs/development/libraries/flatpak/fix-icon-validation.patch
··· 1 + --- a/icon-validator/validate-icon.c 2 + +++ b/icon-validator/validate-icon.c 3 + @@ -163,7 +163,7 @@ rerun_in_sandbox (const char *arg_width, 4 + const char *arg_height, 5 + const char *filename) 6 + { 7 + - const char * const usrmerged_dirs[] = { "bin", "lib32", "lib64", "lib", "sbin" }; 8 + + const char * const usrmerged_dirs[] = { }; 9 + int i; 10 + g_autoptr(GPtrArray) args = g_ptr_array_new_with_free_func (g_free); 11 + char validate_icon[PATH_MAX + 1]; 12 + @@ -183,8 +183,7 @@ rerun_in_sandbox (const char *arg_width, 13 + "--unshare-ipc", 14 + "--unshare-net", 15 + "--unshare-pid", 16 + - "--ro-bind", "/usr", "/usr", 17 + - "--ro-bind-try", "/etc/ld.so.cache", "/etc/ld.so.cache", 18 + + "--ro-bind", "@storeDir@", "@storeDir@", 19 + "--ro-bind", validate_icon, validate_icon, 20 + NULL); 21 + 22 + @@ -227,6 +226,9 @@ rerun_in_sandbox (const char *arg_width, 23 + add_args (args, "--setenv", "G_MESSAGES_DEBUG", g_getenv ("G_MESSAGES_DEBUG"), NULL); 24 + if (g_getenv ("G_MESSAGES_PREFIXED")) 25 + add_args (args, "--setenv", "G_MESSAGES_PREFIXED", g_getenv ("G_MESSAGES_PREFIXED"), NULL); 26 + + if (g_getenv ("GDK_PIXBUF_MODULE_FILE")) 27 + + add_args (args, "--setenv", "GDK_PIXBUF_MODULE_FILE", g_getenv ("GDK_PIXBUF_MODULE_FILE"), NULL); 28 + + 29 + 30 + add_args (args, validate_icon, arg_width, arg_height, filename, NULL); 31 + g_ptr_array_add (args, NULL);
+44 -45
pkgs/development/libraries/flatpak/fix-test-paths.patch
··· 1 1 diff --git a/app/flatpak-builtins-build-export.c b/app/flatpak-builtins-build-export.c 2 - index 43fd0563..4067bd36 100644 2 + index 3f5d8a1f..79493e61 100644 3 3 --- a/app/flatpak-builtins-build-export.c 4 4 +++ b/app/flatpak-builtins-build-export.c 5 - @@ -458,7 +458,7 @@ validate_desktop_file (GFile *desktop_file, 5 + @@ -464,7 +464,7 @@ validate_desktop_file (GFile *desktop_file, 6 6 subprocess = g_subprocess_new (G_SUBPROCESS_FLAGS_STDOUT_PIPE | 7 7 G_SUBPROCESS_FLAGS_STDERR_PIPE | 8 8 G_SUBPROCESS_FLAGS_STDERR_MERGE, ··· 12 12 { 13 13 if (!g_error_matches (local_error, G_SPAWN_ERROR, G_SPAWN_ERROR_NOENT)) 14 14 diff --git a/tests/libtest.sh b/tests/libtest.sh 15 - index acb2095b..b361da16 100644 15 + index 36d39ac4..3ad2c7a6 100644 16 16 --- a/tests/libtest.sh 17 17 +++ b/tests/libtest.sh 18 - @@ -431,7 +431,7 @@ if [ -z "${FLATPAK_BWRAP:-}" ]; then 18 + @@ -511,7 +511,7 @@ if [ -z "${FLATPAK_BWRAP:-}" ]; then 19 19 # running installed-tests: assume we know what we're doing 20 20 _flatpak_bwrap_works=true 21 21 elif ! "$FLATPAK_BWRAP" --unshare-ipc --unshare-net --unshare-pid \ ··· 24 24 _flatpak_bwrap_works=false 25 25 else 26 26 _flatpak_bwrap_works=true 27 - @@ -504,7 +504,7 @@ dbus-daemon --fork --config-file=session.conf --print-address=3 --print-pid=4 \ 27 + @@ -591,7 +591,7 @@ dbus-daemon --fork --config-file=session.conf --print-address=3 --print-pid=4 \ 28 28 export DBUS_SESSION_BUS_ADDRESS="$(cat dbus-session-bus-address)" 29 29 DBUS_SESSION_BUS_PID="$(cat dbus-session-bus-pid)" 30 30 ··· 33 33 assert_not_reached "Failed to start dbus-daemon" 34 34 fi 35 35 36 - @@ -519,7 +519,7 @@ commit_to_path () { 36 + @@ -606,7 +606,7 @@ commit_to_path () { 37 37 } 38 38 39 39 cleanup () { 40 40 - /bin/kill -9 $DBUS_SESSION_BUS_PID 41 41 + @coreutils@/bin/kill -9 $DBUS_SESSION_BUS_PID 42 - gpg-connect-agent --homedir "${FL_GPG_HOMEDIR}" killagent /bye || true 43 - fusermount -u $XDG_RUNTIME_DIR/doc || : 42 + gpg-connect-agent --homedir "${FL_GPG_HOMEDIR}" killagent /bye >&2 || true 43 + fusermount -u $XDG_RUNTIME_DIR/doc >&2 || : 44 44 kill $(jobs -p) &> /dev/null || true 45 45 diff --git a/tests/make-test-app.sh b/tests/make-test-app.sh 46 - index 612f914f..4b890da2 100755 46 + index afa11a6b..5b12055f 100755 47 47 --- a/tests/make-test-app.sh 48 48 +++ b/tests/make-test-app.sh 49 - @@ -151,13 +151,13 @@ msgid "Hello world" 49 + @@ -190,13 +190,13 @@ msgid "Hello world" 50 50 msgstr "Hallo Welt" 51 51 EOF 52 52 mkdir -p ${DIR}/files/de/share/de/LC_MESSAGES ··· 60 60 -msgfmt --output-file ${DIR}/files/fr/share/fr/LC_MESSAGES/helloworld.mo fr.po 61 61 +@gettext@/bin/msgfmt --output-file ${DIR}/files/fr/share/fr/LC_MESSAGES/helloworld.mo fr.po 62 62 63 - flatpak build-finish ${DIR} 63 + flatpak build-finish ${DIR} >&2 64 64 mkdir -p repos 65 65 diff --git a/tests/make-test-runtime.sh b/tests/make-test-runtime.sh 66 - index af289625..7db51c17 100755 66 + index 4ba950df..fd50fab3 100755 67 67 --- a/tests/make-test-runtime.sh 68 68 +++ b/tests/make-test-runtime.sh 69 69 @@ -28,9 +28,10 @@ EOF ··· 80 80 ln -s ../lib ${DIR}/usr/lib64 81 81 @@ -40,40 +41,17 @@ if test -f /sbin/ldconfig.real; then 82 82 else 83 - cp `which ldconfig` ${DIR}/usr/bin 83 + cp "$(type -P ldconfig)" "${DIR}/usr/bin" 84 84 fi 85 85 -LIBS=`mktemp` 86 86 -BINS=`mktemp` ··· 106 106 -} 107 107 - 108 108 for i in $@ bash ls cat echo readlink socat; do 109 - - I=`which $i` 110 - - add_bin $I 109 + - I=$(type -P "$i") 110 + - add_bin "$I" 111 111 -done 112 112 -for i in `cat $BINS`; do 113 113 - #echo Adding binary $i 1>&2 ··· 116 116 -for i in `cat $LIBS`; do 117 117 - #echo Adding library $i 1>&2 118 118 - cp "$i" ${DIR}/usr/lib/ 119 - + I=$(readlink -f $(which $i)) 120 - + [ -e ${DIR}/usr/bin/$i ] && continue 119 + + I=$(readlink -f "$(type -P "$i")") 120 + + [ -e "${DIR}/usr/bin/$i" ] && continue 121 121 + requisites=$(nix-store --query --requisites "$I") 122 122 + for r in $requisites; do 123 123 + # a single store item can be needed by multiple paths, no need to copy it again 124 - + if [ ! -e ${DIR}/$r ]; then 125 - + cp -r $r ${DIR}/$r 124 + + if [ ! -e "${DIR}/$r" ]; then 125 + + cp -r "$r" "${DIR}/$r" 126 126 + fi 127 127 + done 128 - + ln -s $I ${DIR}/usr/bin/$i 128 + + ln -s "$I" "${DIR}/usr/bin/$i" 129 129 done 130 130 ln -s bash ${DIR}/usr/bin/sh 131 131 ··· 141 141 +# We do not copy C.UTF8 locale because it is in locale archive and 142 142 +# that is already copied with glibc. 143 143 + 144 - +mv ${DIR}/nix/store ${DIR}/usr/store # files outside /usr are not permitted, we will have to replace /nix/store with /usr/store 145 - +chmod -R u+w ${DIR} # nix store has read-only directories which would cause problems during clean-up, files need to be writable for sed 146 - +find ${DIR} -type f -print0 | xargs -0 sed -i 's~/nix/store/~/usr/store/~g' # replace hardcoded paths 147 - +find ${DIR} -type l | xargs -I '{}' sh -c 'tg="$(readlink "$1")"; newtg="${tg#/nix/store/}"; if [ "$tg" != "$newtg" ]; then ln -fs "/usr/store/$newtg" "$1"; fi' -- '{}' # replace symlink targets 144 + +mv "${DIR}/nix/store" "${DIR}/usr/store" # files outside /usr are not permitted, we will have to replace /nix/store with /usr/store 145 + +chmod -R u+w "${DIR}" # nix store has read-only directories which would cause problems during clean-up, files need to be writable for sed 146 + +find "${DIR}" -type f -print0 | xargs -0 sed -i 's~/nix/store/~/usr/store/~g' # replace hardcoded paths 147 + +find "${DIR}" -type l | xargs -I '{}' sh -c 'tg="$(readlink "$1")"; newtg="${tg#/nix/store/}"; if [ "$tg" != "$newtg" ]; then ln -fs "/usr/store/$newtg" "$1"; fi' -- '{}' # replace symlink targets 148 148 149 149 if [ x$COLLECTION_ID != x ]; then 150 150 collection_args=--collection-id=${COLLECTION_ID} 151 151 diff --git a/tests/testlibrary.c b/tests/testlibrary.c 152 - index 509ce6cc..6a333c9c 100644 152 + index 831d85c1..ae4f03d0 100644 153 153 --- a/tests/testlibrary.c 154 154 +++ b/tests/testlibrary.c 155 - @@ -1399,7 +1399,7 @@ check_bwrap_support (void) 155 + @@ -1601,7 +1601,7 @@ check_bwrap_support (void) 156 156 { 157 157 gint exit_code = 0; 158 158 char *argv[] = { (char *) bwrap, "--unshare-ipc", "--unshare-net", ··· 162 162 g_test_message ("Spawning %s", argv_str); 163 163 g_spawn_sync (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL, &exit_code, &error); 164 164 diff --git a/triggers/desktop-database.trigger b/triggers/desktop-database.trigger 165 - index 2188f535..d8283061 100755 165 + index 1037466d..c4c7ed6d 100755 166 166 --- a/triggers/desktop-database.trigger 167 167 +++ b/triggers/desktop-database.trigger 168 168 @@ -1,5 +1,5 @@ 169 169 #!/bin/sh 170 170 171 - -if test \( -x "$(which update-desktop-database 2>/dev/null)" \) -a \( -d $1/exports/share/applications \); then 172 - - exec update-desktop-database -q $1/exports/share/applications 173 - +if test \( -d $1/exports/share/applications \); then 174 - + exec @dfu@/bin/update-desktop-database -q $1/exports/share/applications 171 + -if command -v update-desktop-database >/dev/null && test -d "$1/exports/share/applications"; then 172 + - exec update-desktop-database -q "$1/exports/share/applications" 173 + +if test -d "$1/exports/share/applications"; then 174 + + exec @dfu@/bin/update-desktop-database -q "$1/exports/share/applications" 175 175 fi 176 176 diff --git a/triggers/gtk-icon-cache.trigger b/triggers/gtk-icon-cache.trigger 177 - index 711cfab2..07baa2ac 100755 177 + index d9fc8251..d8ddb96e 100755 178 178 --- a/triggers/gtk-icon-cache.trigger 179 179 +++ b/triggers/gtk-icon-cache.trigger 180 180 @@ -1,10 +1,10 @@ 181 181 #!/bin/sh 182 182 183 - -if test \( -x "$(which gtk-update-icon-cache 2>/dev/null)" \) -a \( -d $1/exports/share/icons/hicolor \); then 184 - - cp /usr/share/icons/hicolor/index.theme $1/exports/share/icons/hicolor/ 185 - +if test \( -d $1/exports/share/icons/hicolor \); then 186 - + cp @hicolorIconTheme@/share/icons/hicolor/index.theme $1/exports/share/icons/hicolor/ 187 - for dir in $1/exports/share/icons/*; do 188 - if test -f $dir/index.theme; then 189 - - if ! gtk-update-icon-cache --quiet $dir; then 190 - + if ! @gtk3@/bin/gtk-update-icon-cache --quiet $dir; then 183 + if command -v gtk-update-icon-cache >/dev/null && test -d "$1/exports/share/icons/hicolor"; then 184 + - cp /usr/share/icons/hicolor/index.theme "$1/exports/share/icons/hicolor/" 185 + + cp @hicolorIconTheme@/share/icons/hicolor/index.theme "$1/exports/share/icons/hicolor/" 186 + for dir in "$1"/exports/share/icons/*; do 187 + if test -f "$dir/index.theme"; then 188 + - if ! gtk-update-icon-cache --quiet "$dir"; then 189 + + if ! @gtk3@/bin/gtk-update-icon-cache --quiet "$dir"; then 191 190 echo "Failed to run gtk-update-icon-cache for $dir" 192 191 exit 1 193 192 fi 194 193 diff --git a/triggers/mime-database.trigger b/triggers/mime-database.trigger 195 - index 2067d8ec..a49a8777 100755 194 + index 10ddbbb3..c270998a 100755 196 195 --- a/triggers/mime-database.trigger 197 196 +++ b/triggers/mime-database.trigger 198 197 @@ -1,5 +1,5 @@ 199 198 #!/bin/sh 200 199 201 - -if test \( -x "$(which update-mime-database 2>/dev/null)" \) -a \( -d $1/exports/share/mime/packages \); then 202 - - exec update-mime-database $1/exports/share/mime 203 - +if test \( -d $1/exports/share/mime/packages \); then 204 - + exec @smi@/bin/update-mime-database $1/exports/share/mime 200 + -if command -v update-mime-database >/dev/null && test -d "$1/exports/share/mime/packages"; then 201 + - exec update-mime-database "$1/exports/share/mime" 202 + +if test -d "$1/exports/share/mime/packages"; then 203 + + exec @smi@/bin/update-mime-database "$1/exports/share/mime" 205 204 fi
+11
pkgs/development/libraries/flatpak/no-breaking-fish.patch
··· 1 + --- a/profile/flatpak.fish 2 + +++ b/profile/flatpak.fish 3 + @@ -1,7 +1,7 @@ 4 + if type -q flatpak 5 + # Set XDG_DATA_DIRS to include Flatpak installations 6 + 7 + - set -x --path XDG_DATA_DIRS 8 + + set -x --path XDG_DATA_DIRS $XDG_DATA_DIRS 9 + 10 + set -q XDG_DATA_DIRS[1]; or set XDG_DATA_DIRS /usr/local/share /usr/share 11 + set -q XDG_DATA_HOME; or set -l XDG_DATA_HOME $HOME/.local/share
-13
pkgs/development/libraries/flatpak/validate-icon-pixbuf.patch
··· 1 - diff --git a/icon-validator/validate-icon.c b/icon-validator/validate-icon.c 2 - index 9e885070..44fea035 100644 3 - --- a/icon-validator/validate-icon.c 4 - +++ b/icon-validator/validate-icon.c 5 - @@ -200,6 +200,8 @@ rerun_in_sandbox (const char *arg_width, 6 - add_args (args, "--setenv", "G_MESSAGES_DEBUG", g_getenv ("G_MESSAGES_DEBUG"), NULL); 7 - if (g_getenv ("G_MESSAGES_PREFIXED")) 8 - add_args (args, "--setenv", "G_MESSAGES_PREFIXED", g_getenv ("G_MESSAGES_PREFIXED"), NULL); 9 - + if (g_getenv ("GDK_PIXBUF_MODULE_FILE")) 10 - + add_args (args, "--setenv", "GDK_PIXBUF_MODULE_FILE", g_getenv ("GDK_PIXBUF_MODULE_FILE"), NULL); 11 - 12 - add_args (args, validate_icon, arg_width, arg_height, filename, NULL); 13 - g_ptr_array_add (args, NULL);
+2 -4
pkgs/development/libraries/folks/default.nix
··· 17 17 , nss 18 18 , dbus 19 19 , libgee 20 - , evolution-data-server 21 - , libgdata 20 + , evolution-data-server-gtk4 22 21 , libsecret 23 22 , db 24 23 , python3 ··· 61 60 buildInputs = [ 62 61 db 63 62 dbus-glib 64 - evolution-data-server 65 - libgdata # required for some backends transitively 63 + evolution-data-server-gtk4 66 64 libsecret 67 65 libsoup 68 66 libxml2
+2 -4
pkgs/development/libraries/gcab/default.nix
··· 8 8 , pkg-config 9 9 , meson 10 10 , ninja 11 - , git 12 11 , vala 13 12 , glib 14 13 , zlib ··· 18 17 19 18 stdenv.mkDerivation rec { 20 19 pname = "gcab"; 21 - version = "1.4"; 20 + version = "1.5"; 22 21 23 22 outputs = [ "bin" "out" "dev" "devdoc" "installedTests" ]; 24 23 25 24 src = fetchurl { 26 25 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 - sha256 = "13q43iqld4l50yra45lhvkd376pn6qpk7rkx374zn8y9wsdzm9b7"; 26 + sha256 = "Rr90QkkfqkFIJCuewqB4al9unv+xsFZuUpDozIbwDww="; 28 27 }; 29 28 30 29 patches = [ ··· 35 34 nativeBuildInputs = [ 36 35 meson 37 36 ninja 38 - git 39 37 pkg-config 40 38 vala 41 39 gettext
+113
pkgs/development/libraries/gcr/4.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , pkg-config 5 + , meson 6 + , ninja 7 + , gettext 8 + , gnupg 9 + , p11-kit 10 + , glib 11 + , libgcrypt 12 + , libtasn1 13 + , gtk4 14 + , pango 15 + , libsecret 16 + , openssh 17 + , systemd 18 + , gobject-introspection 19 + , wrapGAppsHook4 20 + , vala 21 + , gi-docgen 22 + , gnome 23 + , python3 24 + , shared-mime-info 25 + }: 26 + 27 + stdenv.mkDerivation rec { 28 + pname = "gcr"; 29 + version = "3.92.0"; 30 + 31 + outputs = [ "out" "bin" "dev" "devdoc" ]; 32 + 33 + src = fetchurl { 34 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 35 + sha256 = "iWq/jh2w9A6ygHPzZPNqcjhayKv4zRNisQFul3If9Rg="; 36 + }; 37 + 38 + nativeBuildInputs = [ 39 + pkg-config 40 + meson 41 + ninja 42 + gettext 43 + gobject-introspection 44 + gi-docgen 45 + wrapGAppsHook4 46 + vala 47 + gi-docgen 48 + shared-mime-info 49 + ]; 50 + 51 + buildInputs = [ 52 + gnupg 53 + libgcrypt 54 + libtasn1 55 + pango 56 + libsecret 57 + openssh 58 + systemd 59 + gtk4 60 + ]; 61 + 62 + propagatedBuildInputs = [ 63 + glib 64 + p11-kit 65 + ]; 66 + 67 + checkInputs = [ 68 + python3 69 + ]; 70 + 71 + mesonFlags = [ 72 + # We are still using ssh-agent from gnome-keyring. 73 + # https://github.com/NixOS/nixpkgs/issues/140824 74 + "-Dssh_agent=false" 75 + ]; 76 + 77 + doCheck = false; # fails 21 out of 603 tests, needs dbus daemon 78 + 79 + PKG_CONFIG_SYSTEMD_SYSTEMDUSERUNITDIR = "${placeholder "out"}/lib/systemd/user"; 80 + 81 + postPatch = '' 82 + patchShebangs gcr/fixtures/ 83 + ''; 84 + 85 + postFixup = '' 86 + # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. 87 + moveToOutput "share/doc" "$devdoc" 88 + ''; 89 + 90 + passthru = { 91 + updateScript = gnome.updateScript { 92 + attrPath = "gcr_4"; 93 + packageName = pname; 94 + }; 95 + }; 96 + 97 + meta = with lib; { 98 + platforms = platforms.unix; 99 + maintainers = teams.gnome.members; 100 + description = "GNOME crypto services (daemon and tools)"; 101 + homepage = "https://gitlab.gnome.org/GNOME/gcr"; 102 + license = licenses.lgpl2Plus; 103 + 104 + longDescription = '' 105 + GCR is a library for displaying certificates, and crypto UI, accessing 106 + key stores. It also provides the viewer for crypto files on the GNOME 107 + desktop. 108 + 109 + GCK is a library for accessing PKCS#11 modules like smart cards, in a 110 + (G)object oriented way. 111 + ''; 112 + }; 113 + }
+4 -8
pkgs/development/libraries/gdk-pixbuf/default.nix
··· 7 7 , pkg-config 8 8 , gettext 9 9 , python3 10 - , libxslt 11 - , docbook-xsl-nons 12 - , docbook_xml_dtd_43 10 + , docutils 13 11 , gi-docgen 14 12 , glib 15 13 , libtiff ··· 25 23 26 24 stdenv.mkDerivation rec { 27 25 pname = "gdk-pixbuf"; 28 - version = "2.42.8"; 26 + version = "2.42.9"; 29 27 30 28 outputs = [ "out" "dev" "man" "devdoc" ] 31 29 ++ lib.optional (stdenv.buildPlatform == stdenv.hostPlatform) "installedTests"; 32 30 33 31 src = fetchurl { 34 32 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 35 - sha256 = "hKzqOsskEbKRNLMgFaWxqqYoRLGcSx74uJccawdZ9MY="; 33 + sha256 = "KPeVjnvymjLU6WNVbSQdCkGmeGWC/2pa0RZl4DR/yWI="; 36 34 }; 37 35 38 36 patches = [ ··· 59 57 gobject-introspection 60 58 61 59 # for man pages 62 - libxslt 63 - docbook-xsl-nons 64 - docbook_xml_dtd_43 60 + docutils 65 61 ] ++ lib.optionals stdenv.isDarwin [ 66 62 fixDarwinDylibNames 67 63 ];
+2 -17
pkgs/development/libraries/geocode-glib/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchurl 4 - , fetchpatch 5 4 , meson 6 5 , mesonEmulatorHook 7 6 , ninja ··· 19 18 20 19 stdenv.mkDerivation rec { 21 20 pname = "geocode-glib"; 22 - version = "3.26.3"; 21 + version = "3.26.4"; 23 22 24 23 outputs = [ "out" "dev" "devdoc" "installedTests" ]; 25 24 26 25 src = fetchurl { 27 26 url = "mirror://gnome/sources/geocode-glib/${lib.versions.majorMinor version}/geocode-glib-${version}.tar.xz"; 28 - sha256 = "Hf6ug7kOzMobbPfc98XjsxeCjPC1YgXERx7w+RGZl2Y="; 27 + sha256 = "LZpoJtFYRwRJoXOHEiFZbaD4Pr3P+YuQxwSQiQVqN6o="; 29 28 }; 30 29 31 30 patches = [ 32 31 ./installed-tests-path.patch 33 - 34 - # Install data for pi test. 35 - (fetchpatch { 36 - url = "https://gitlab.gnome.org/GNOME/geocode-glib/-/commit/0eb5c21cf4deb2c45aedf5a4393d4208b8dc6d58.patch"; 37 - sha256 = "DmaPzGEu7f+gjjb2HSZ3+ZMc4EJSsba9ufsVysB0UPA="; 38 - }) 39 - # Fix pi test. 40 - (fetchpatch { 41 - url = "https://gitlab.gnome.org/GNOME/geocode-glib/-/commit/464bb3bae5525566a7f41d157f73575cc4f3b5f8.patch"; 42 - sha256 = "qSjXR8eKl+E38Zp7/Kgge/FxOLHYUJgRSR68okc3No0="; 43 - postFetch = '' 44 - substituteInPlace $out --replace "LC_MESSAGES" "LC_ALL" 45 - ''; 46 - }) 47 32 ]; 48 33 49 34 nativeBuildInputs = [
+7 -1
pkgs/development/libraries/geocode-glib/installed-tests-path.patch
··· 1 + diff --git a/geocode-glib/tests/meson.build b/geocode-glib/tests/meson.build 2 + index 5cd1fca..c2f9a9d 100644 1 3 --- a/geocode-glib/tests/meson.build 2 4 +++ b/geocode-glib/tests/meson.build 3 - @@ -1,4 +1,4 @@ 5 + @@ -1,5 +1,5 @@ 4 6 -install_dir = get_option('prefix') / get_option('datadir') / 'installed-tests' / library_name 7 + -install_bindir = get_option('prefix') / get_option('libexecdir') / library_name 5 8 +install_dir = get_option('installed_test_prefix') / 'share' / 'installed-tests' / library_name 9 + +install_bindir = get_option('installed_test_prefix') / 'libexec' / library_name 6 10 7 11 e = executable('geo-uri', 8 12 'geo-uri.c', 13 + diff --git a/meson_options.txt b/meson_options.txt 14 + index 62b713d..1454416 100644 9 15 --- a/meson_options.txt 10 16 +++ b/meson_options.txt 11 17 @@ -1,6 +1,9 @@
+4 -4
pkgs/development/libraries/gjs/default.nix
··· 9 9 , gtk3 10 10 , atk 11 11 , gobject-introspection 12 - , spidermonkey_91 12 + , spidermonkey_102 13 13 , pango 14 14 , cairo 15 15 , readline ··· 32 32 ]; 33 33 in stdenv.mkDerivation rec { 34 34 pname = "gjs"; 35 - version = "1.72.2"; 35 + version = "1.74.0"; 36 36 37 37 outputs = [ "out" "dev" "installedTests" ]; 38 38 39 39 src = fetchurl { 40 40 url = "mirror://gnome/sources/gjs/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 41 - sha256 = "sha256-3e43m9xafTA6XYlL4rKBvrisVFCGBOfT8geBqGnaOXc="; 41 + sha256 = "sha256-fWQYr2LMc1VqssJbSt9n9FI4q4kliI96VyUTWdTr7R4="; 42 42 }; 43 43 44 44 patches = [ ··· 66 66 cairo 67 67 readline 68 68 libsysprof-capture 69 - spidermonkey_91 69 + spidermonkey_102 70 70 ]; 71 71 72 72 checkInputs = [
+4 -10
pkgs/development/libraries/glib-networking/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , fetchurl 3 4 , substituteAll 4 5 , meson ··· 8 9 , glib 9 10 , gettext 10 11 , makeWrapper 11 - , python3 12 12 , gnutls 13 13 , p11-kit 14 14 , libproxy ··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "glib-networking"; 21 - version = "2.72.2"; 21 + version = "2.74.0"; 22 22 23 23 outputs = [ "out" "installedTests" ]; 24 24 25 25 src = fetchurl { 26 26 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 - sha256 = "zSoITHu5HXjoSftV1A5HL22PaGLN3J8Sw5FJNZuhgmg="; 27 + sha256 = "HxharvCUEj+OJdj6VWYbP9cQIBY6AXSts1o3aFzaYTs="; 28 28 }; 29 29 30 30 patches = [ ··· 36 36 ./installed-tests-path.patch 37 37 ]; 38 38 39 - postPatch = '' 40 - chmod +x meson_post_install.py # patchShebangs requires executable file 41 - patchShebangs meson_post_install.py 42 - ''; 43 - 44 39 nativeBuildInputs = [ 45 40 meson 46 41 ninja 47 42 pkg-config 48 43 gettext 49 44 makeWrapper 50 - python3 # for install_script 51 45 ]; 52 46 53 47 buildInputs = [
+7 -5
pkgs/development/libraries/glib-networking/installed-tests-path.patch
··· 1 1 diff --git a/meson.build b/meson.build 2 - index 4d91677..aaaeb2b 100644 2 + index 01e18a9..5dbb2fc 100644 3 3 --- a/meson.build 4 4 +++ b/meson.build 5 - @@ -12,8 +12,8 @@ 5 + @@ -12,8 +12,8 @@ libdir = join_paths(prefix, get_option('libdir')) 6 6 libexecdir = join_paths(prefix, get_option('libexecdir')) 7 7 localedir = join_paths(prefix, get_option('localedir')) 8 8 ··· 14 14 cc = meson.get_compiler('c') 15 15 host_system = host_machine.system() 16 16 diff --git a/meson_options.txt b/meson_options.txt 17 - index 3a525dd..fc86302 100644 17 + index c566ccd..80f7c33 100644 18 18 --- a/meson_options.txt 19 19 +++ b/meson_options.txt 20 - @@ -3,4 +3,5 @@ 20 + @@ -10,6 +10,7 @@ option('environment_proxy', type: 'feature', value: 'auto', description: 'suppor 21 21 option('libproxy', type: 'feature', value: 'auto', description: 'support for libproxy proxy configration') 22 22 option('gnome_proxy', type: 'feature', value: 'auto', description: 'support for GNOME desktop proxy configuration') 23 23 option('installed_tests', type: 'boolean', value: false, description: 'enable installed tests') 24 24 +option('installed_test_prefix', type: 'string', value: '', description: 'Prefix for installed tests') 25 - option('static_modules', type: 'boolean', value: false, description: 'build static modules') 25 + option('debug_logs', type: 'boolean', value: false, description: 'enable debug log messages (slow)') 26 + 27 + # Deprecated, use -Ddefault_library=static instead.
+20 -4
pkgs/development/libraries/glib/default.nix
··· 1 1 { config, lib, stdenv, fetchurl, gettext, meson, ninja, pkg-config, perl, python3 2 - , libiconv, zlib, libffi, pcre, libelf, gnome, libselinux, bash, gnum4, gtk-doc, docbook_xsl, docbook_xml_dtd_45, libxslt 2 + , libiconv, zlib, libffi, pcre2, libelf, gnome, libselinux, bash, gnum4, gtk-doc, docbook_xsl, docbook_xml_dtd_45, libxslt 3 3 # use util-linuxMinimal to avoid circular dependency (util-linux, systemd, glib) 4 4 , util-linuxMinimal ? null 5 5 , buildPackages ··· 44 44 45 45 stdenv.mkDerivation (finalAttrs: { 46 46 pname = "glib"; 47 - version = "2.72.3"; 47 + version = "2.74.0"; 48 48 49 49 src = fetchurl { 50 50 url = "mirror://gnome/sources/glib/${lib.versions.majorMinor finalAttrs.version}/glib-${finalAttrs.version}.tar.xz"; 51 - sha256 = "Sjmi9iS4US1QDVhAFz7af6hfUcEJBS6ugGrOzoXTRfA="; 51 + sha256 = "NlLH8HLXsDGmte3WI/d+vF3NKuaYWYq8yJ/znKda3TA="; 52 52 }; 53 53 54 54 patches = optionals stdenv.isDarwin [ ··· 90 90 # * gio-launch-desktop 91 91 ./split-dev-programs.patch 92 92 93 + # Fix build on Darwin 94 + # https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2914 95 + (fetchpatch { 96 + name = "gio-properly-guard-use-of-utimensat.patch"; 97 + url = "https://gitlab.gnome.org/GNOME/glib/-/commit/7f7171e68a420991b537d3e9e63263a0b2871618.patch"; 98 + sha256 = "kKEqmBqx/RlvFT3eixu+NnM7JXhHb34b9NLRfAt+9h0="; 99 + }) 100 + 93 101 # https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2866 94 102 (fetchpatch { 95 103 name = "tests-skip-g-file-info-test-if-atime-unsupported.patch"; ··· 99 107 # https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2867 100 108 ./tests-skip-shared-libs-if-default_library-static.patch 101 109 110 + # https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2921 111 + (fetchpatch { 112 + url = "https://gitlab.gnome.org/GNOME/glib/-/commit/f0dd96c28751f15d0703b384bfc7c314af01caa8.patch"; 113 + sha256 = "sha256-8ucHS6ZnJuP6ajGb4/L8QfhC49FTQG1kAGHVdww/YYE="; 114 + }) 115 + 102 116 ./skip-timer-test.patch 103 117 ]; 104 118 ··· 107 121 setupHook = ./setup-hook.sh; 108 122 109 123 buildInputs = [ 110 - libelf finalAttrs.setupHook pcre 124 + libelf 125 + finalAttrs.setupHook 126 + pcre2 111 127 ] ++ optionals (!stdenv.hostPlatform.isWindows) [ 112 128 bash gnum4 # install glib-gettextize and m4 macros for other apps to use 113 129 ] ++ optionals stdenv.isLinux [
+46 -43
pkgs/development/libraries/glib/split-dev-programs.patch
··· 1 1 diff --git a/gio/gdbus-2.0/codegen/meson.build b/gio/gdbus-2.0/codegen/meson.build 2 - index 5ea6bae2f..e0b584a86 100644 2 + index f0a256898..9c8497cd0 100644 3 3 --- a/gio/gdbus-2.0/codegen/meson.build 4 4 +++ b/gio/gdbus-2.0/codegen/meson.build 5 - @@ -16,7 +16,7 @@ gdbus_codegen_conf.set('DATADIR', glib_datadir) 5 + @@ -19,7 +19,7 @@ gdbus_codegen_conf.set('DATADIR', glib_datadir) 6 6 # Install gdbus-codegen executable 7 7 gdbus_codegen = configure_file(input : 'gdbus-codegen.in', 8 8 output : 'gdbus-codegen', 9 9 - install_dir : get_option('bindir'), 10 10 + install_dir : get_option('devbindir'), 11 + install_tag : 'bin-devel', 11 12 configuration : gdbus_codegen_conf 12 13 ) 13 - # Provide tools for others when we're a subproject and they use the Meson GNOME module 14 14 diff --git a/gio/meson.build b/gio/meson.build 15 - index 3535788ab..99c3b48d6 100644 15 + index fdd2528df..cf359c7d7 100644 16 16 --- a/gio/meson.build 17 17 +++ b/gio/meson.build 18 - @@ -831,14 +831,15 @@ pkg.generate(libgio, 18 + @@ -859,14 +859,15 @@ pkg.generate(libgio, 19 19 variables : ['datadir=' + join_paths('${prefix}', get_option('datadir')), 20 20 'schemasdir=' + join_paths('${datadir}', schemas_subdir), 21 21 'bindir=' + join_paths('${prefix}', get_option('bindir')), 22 22 + 'devbindir=' + get_option('devbindir'), 23 23 'giomoduledir=' + pkgconfig_giomodulesdir, 24 24 'gio=' + join_paths('${bindir}', 'gio'), 25 - - 'gio_querymodules=' + join_paths('${bindir}', 'gio-querymodules'), 26 - - 'glib_compile_schemas=' + join_paths('${bindir}', 'glib-compile-schemas'), 25 + - 'gio_querymodules=@0@'.format(pkgconfig_multiarch_bindir / 'gio-querymodules'), 26 + - 'glib_compile_schemas=@0@'.format(pkgconfig_multiarch_bindir / 'glib-compile-schemas'), 27 27 - 'glib_compile_resources=' + join_paths('${bindir}', 'glib-compile-resources'), 28 - + 'gio_querymodules=' + join_paths('${devbindir}', 'gio-querymodules'), 29 - + 'glib_compile_schemas=' + join_paths('${devbindir}', 'glib-compile-schemas'), 28 + + 'gio_querymodules=@0@'.format('${devbindir}' / 'gio-querymodules'), 29 + + 'glib_compile_schemas=@0@'.format('${devbindir}' / 'glib-compile-schemas'), 30 30 + 'glib_compile_resources=' + join_paths('${devbindir}', 'glib-compile-resources'), 31 31 'gdbus=' + join_paths('${bindir}', 'gdbus'), 32 32 - 'gdbus_codegen=' + join_paths('${bindir}', 'gdbus-codegen'), ··· 36 36 'gsettings=' + join_paths('${bindir}', 'gsettings')], 37 37 version : glib_version, 38 38 install_dir : glib_pkgconfigreldir, 39 - @@ -939,12 +940,14 @@ executable('gio', gio_tool_sources, 39 + @@ -968,6 +969,7 @@ executable('gio', gio_tool_sources, 40 40 41 41 executable('gresource', 'gresource-tool.c', 42 42 install : true, 43 43 + install_dir : get_option('devbindir'), 44 + install_tag : 'bin', 44 45 # intl.lib is not compatible with SAFESEH 45 46 link_args : noseh_link_args, 46 - dependencies : [libelf, libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep]) 47 + @@ -975,7 +977,7 @@ executable('gresource', 'gresource-tool.c', 47 48 48 49 gio_querymodules = executable('gio-querymodules', 'gio-querymodules.c', 'giomodule-priv.c', 49 50 install : true, 51 + - install_dir : multiarch_bindir, 50 52 + install_dir : get_option('devbindir'), 53 + install_tag : 'bin', 51 54 c_args : gio_c_args, 52 55 # intl.lib is not compatible with SAFESEH 53 - link_args : noseh_link_args, 54 - @@ -953,6 +956,7 @@ gio_querymodules = executable('gio-querymodules', 'gio-querymodules.c', 'giomodu 56 + @@ -985,7 +987,7 @@ gio_querymodules = executable('gio-querymodules', 'gio-querymodules.c', 'giomodu 55 57 glib_compile_schemas = executable('glib-compile-schemas', 56 - [gconstructor_as_data_h, 'gvdb/gvdb-builder.c', 'glib-compile-schemas.c'], 58 + ['glib-compile-schemas.c'], 57 59 install : true, 60 + - install_dir : multiarch_bindir, 58 61 + install_dir : get_option('devbindir'), 62 + install_tag : 'bin', 59 63 # intl.lib is not compatible with SAFESEH 60 64 link_args : noseh_link_args, 61 - dependencies : [libgio_dep, libgobject_dep, libgmodule_dep, libglib_dep]) 62 - @@ -960,6 +964,7 @@ glib_compile_schemas = executable('glib-compile-schemas', 65 + @@ -994,6 +996,7 @@ glib_compile_schemas = executable('glib-compile-schemas', 63 66 glib_compile_resources = executable('glib-compile-resources', 64 - [gconstructor_as_data_h, 'gvdb/gvdb-builder.c', 'glib-compile-resources.c'], 67 + [gconstructor_as_data_h, 'glib-compile-resources.c'], 65 68 install : true, 66 69 + install_dir : get_option('devbindir'), 70 + install_tag : 'bin-devel', 67 71 c_args : gio_c_args, 68 72 # intl.lib is not compatible with SAFESEH 69 - link_args : noseh_link_args, 70 73 diff --git a/glib/meson.build b/glib/meson.build 71 - index aaf5f00f5..09edd291a 100644 74 + index 1e6dc36be..6b5de6c86 100644 72 75 --- a/glib/meson.build 73 76 +++ b/glib/meson.build 74 - @@ -375,9 +375,10 @@ pkg.generate(libglib, 77 + @@ -396,9 +396,10 @@ pkg.generate(libglib, 75 78 subdirs : ['glib-2.0'], 76 79 extra_cflags : ['-I${libdir}/glib-2.0/include'] + win32_cflags, 77 80 variables : ['bindir=' + join_paths('${prefix}', get_option('bindir')), ··· 85 88 version : glib_version, 86 89 install_dir : glib_pkgconfigreldir, 87 90 filebase : 'glib-2.0', 88 - @@ -413,6 +414,7 @@ if host_system == 'windows' 91 + @@ -435,6 +436,7 @@ if host_system == 'windows' 89 92 else 90 93 gtester = executable('gtester', 'gtester.c', 91 94 install : true, 92 95 + install_dir : get_option('devbindir'), 96 + install_tag : 'bin-devel', 93 97 c_args : ['-UG_DISABLE_ASSERT'], 94 98 include_directories : configinc, 95 - dependencies : [libglib_dep]) 96 - @@ -424,7 +426,7 @@ report_conf.set('PYTHON', python_name) 99 + @@ -447,7 +449,7 @@ report_conf.set('PYTHON', python_name) 97 100 configure_file( 98 101 input: 'gtester-report.in', 99 102 output: 'gtester-report', 100 103 - install_dir: get_option('bindir'), 101 104 + install_dir: get_option('devbindir'), 105 + install_tag : 'bin-devel', 102 106 configuration: report_conf, 103 107 install_mode: 'rwxr-xr-x' 104 - ) 105 108 diff --git a/gobject/meson.build b/gobject/meson.build 106 - index 85e283bab..386ad5e4e 100644 109 + index a994eb591..36b36b925 100644 107 110 --- a/gobject/meson.build 108 111 +++ b/gobject/meson.build 109 - @@ -75,7 +75,7 @@ foreach tool: python_tools 112 + @@ -79,7 +79,7 @@ foreach tool: python_tools 110 113 input : tool + '.in', 111 114 output : tool, 112 115 configuration : python_tools_conf, 113 116 - install_dir : glib_bindir, 114 117 + install_dir : get_option('devbindir'), 118 + install_tag : 'bin-devel', 115 119 ) 116 120 117 - # Set variables for later use 118 - @@ -145,6 +145,7 @@ libgobject_dep = declare_dependency(link_with : libgobject, 121 + @@ -155,6 +155,7 @@ meson.override_dependency('gobject-2.0', libgobject_dep) 119 122 120 123 executable('gobject-query', 'gobject-query.c', 121 124 install : true, 122 125 + install_dir : get_option('devbindir'), 126 + install_tag : 'bin-devel', 123 127 dependencies : [libglib_dep, libgobject_dep]) 124 128 125 - install_data('gobject_gdb.py', install_dir : join_paths(glib_pkgdatadir, 'gdb')) 126 - diff --git a/meson.build b/meson.build 127 - index 484f4c750..c7f9327d9 100644 128 - --- a/meson.build 129 - +++ b/meson.build 130 - @@ -2122,7 +2122,7 @@ if have_sh 131 - gettextize_conf.set('datarootdir', glib_datadir) 132 - gettextize_conf.set('datadir', glib_datadir) 133 - configure_file(input : 'glib-gettextize.in', 134 - - install_dir : glib_bindir, 135 - + install_dir : get_option('devbindir'), 136 - output : 'glib-gettextize', 137 - configuration : gettextize_conf) 138 - endif 139 129 diff --git a/meson_options.txt b/meson_options.txt 140 - index 2c831e37e..5d8928577 100644 130 + index f13cbfdd5..f218db581 100644 141 131 --- a/meson_options.txt 142 132 +++ b/meson_options.txt 143 133 @@ -3,6 +3,11 @@ option('runtime_libdir', ··· 152 142 option('iconv', 153 143 type : 'combo', 154 144 choices : ['auto', 'libc', 'external'], 145 + diff --git a/tools/meson.build b/tools/meson.build 146 + index 0542fb89b..bfb10cd80 100644 147 + --- a/tools/meson.build 148 + +++ b/tools/meson.build 149 + @@ -8,7 +8,7 @@ if have_sh 150 + gettextize_conf.set('datarootdir', glib_datadir) 151 + gettextize_conf.set('datadir', glib_datadir) 152 + configure_file(input : 'glib-gettextize.in', 153 + - install_dir : glib_bindir, 154 + + install_dir : get_option('devbindir'), 155 + install_tag : 'bin-devel', 156 + output : 'glib-gettextize', 157 + configuration : gettextize_conf)
+4 -4
pkgs/development/libraries/glib/tests-skip-shared-libs-if-default_library-static.patch
··· 13 13 --- 14 14 gio/tests/meson.build | 43 +++++++++++++++++++++++------------------- 15 15 glib/tests/meson.build | 2 +- 16 - tests/meson.build | 30 +++++++++++++++-------------- 16 + gmodule/tests/meson.build | 30 +++++++++++++++-------------- 17 17 3 files changed, 41 insertions(+), 34 deletions(-) 18 18 19 19 diff --git a/gio/tests/meson.build b/gio/tests/meson.build ··· 95 95 glib_tests += { 96 96 'gutils-user-database' : { 97 97 'depends' : [ 98 - diff --git a/tests/meson.build b/tests/meson.build 98 + diff --git a/gmodule/tests/meson.build b/gmodule/tests/meson.build 99 99 index c95fa1d00..25144c941 100644 100 - --- a/tests/meson.build 101 - +++ b/tests/meson.build 100 + --- a/gmodule/tests/meson.build 101 + +++ b/gmodule/tests/meson.build 102 102 @@ -72,20 +72,22 @@ if ['darwin', 'ios'].contains(host_machine.system()) 103 103 module_suffix = 'so' 104 104 endif
+2 -2
pkgs/development/libraries/glibmm/2.68.nix
··· 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "glibmm"; 16 - version = "2.72.1"; 16 + version = "2.74.0"; 17 17 18 18 outputs = [ "out" "dev" ]; 19 19 20 20 src = fetchurl { 21 21 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 22 - sha256 = "sha256-KnZJooq13FOsTau3bJ9hWZ+8Yokjq2p910v2ddkVXNg="; 22 + sha256 = "sha256-K0cmlsuseduOQFckEY7JRSGcW5sYr2PcjPt/HYmw8fo="; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/glibmm/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "glibmm"; 5 - version = "2.66.4"; 5 + version = "2.66.5"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 - sha256 = "sha256-GZrOVoLYGxWh1WVIC0qVBoLy22QCyKpd1yF9ce3/gdU="; 9 + sha256 = "sha256-ezhGYt1uw7hsBXAzHTKvBdsr2Zp5FgK3Z7SgslZuwUk="; 10 10 }; 11 11 12 12 outputs = [ "out" "dev" ];
+2 -4
pkgs/development/libraries/gnome-desktop/default.nix
··· 27 27 28 28 stdenv.mkDerivation rec { 29 29 pname = "gnome-desktop"; 30 - version = "42.3"; 30 + version = "43"; 31 31 32 32 outputs = [ "out" "dev" "devdoc" ]; 33 33 34 34 src = fetchurl { 35 35 url = "mirror://gnome/sources/gnome-desktop/${lib.versions.major version}/${pname}-${version}.tar.xz"; 36 - sha256 = "sha256-2lBBC48Z/X53WwDR/g26Z/xeEVHe0pkVjcJd2tw/qKk="; 36 + sha256 = "sha256-PW4VMxdIYVdZaqOAL4dnZBTFcHOPRQqUoEH+iDVCCmk="; 37 37 }; 38 38 39 39 patches = lib.optionals stdenv.isLinux [ ··· 78 78 mesonFlags = [ 79 79 "-Dgtk_doc=true" 80 80 "-Ddesktop_docs=false" 81 - "-Ddate_in_gnome_version=false" 82 - "-Dgnome_distributor=NixOS" 83 81 ] ++ lib.optionals (!stdenv.isLinux) [ 84 82 "-Dsystemd=disabled" 85 83 "-Dudev=disabled"
+14 -18
pkgs/development/libraries/gnome-online-accounts/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , fetchFromGitLab 3 4 , pkg-config 4 5 , vala 5 6 , glib 6 7 , meson 7 8 , ninja 8 - , python3 9 9 , libxslt 10 10 , gtk3 11 - , webkitgtk 11 + , webkitgtk_4_1 12 12 , json-glib 13 - , librest 13 + , librest_1_0 14 + , libxml2 14 15 , libsecret 15 16 , gtk-doc 16 17 , gobject-introspection 17 18 , gettext 18 19 , icu 19 20 , glib-networking 20 - , libsoup 21 + , libsoup_3 21 22 , docbook-xsl-nons 22 23 , docbook_xml_dtd_412 23 24 , gnome ··· 30 31 31 32 stdenv.mkDerivation rec { 32 33 pname = "gnome-online-accounts"; 33 - version = "3.44.0"; 34 + version = "3.46.0"; 35 + 36 + outputs = [ "out" "man" "dev" "devdoc" ]; 34 37 35 38 # https://gitlab.gnome.org/GNOME/gnome-online-accounts/issues/87 36 39 src = fetchFromGitLab { ··· 38 41 owner = "GNOME"; 39 42 repo = "gnome-online-accounts"; 40 43 rev = version; 41 - sha256 = "sha256-8dp3cizyQVHegDxX9G6iGLW5g44audn431hCPMS/KlA="; 44 + sha256 = "sha256-qVd55fmhY05zJ871OWc3hd1eWjYbYJuxlE/T2i3VCUA="; 42 45 }; 43 - 44 - outputs = [ "out" "man" "dev" "devdoc" ]; 45 46 46 47 mesonFlags = [ 47 48 "-Dfedora=false" # not useful in NixOS or for NixOS users. ··· 61 62 meson 62 63 ninja 63 64 pkg-config 64 - python3 65 65 vala 66 66 wrapGAppsHook 67 67 ]; ··· 75 75 icu 76 76 json-glib 77 77 libkrb5 78 - librest 78 + librest_1_0 79 + libxml2 79 80 libsecret 80 - libsoup 81 - webkitgtk 81 + libsoup_3 82 + webkitgtk_4_1 82 83 ]; 83 84 84 85 NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0"; 85 - 86 - postPatch = '' 87 - chmod +x meson_post_install.py 88 - patchShebangs meson_post_install.py 89 - ''; 90 86 91 87 passthru = { 92 88 updateScript = gnome.updateScript {
+2 -2
pkgs/development/libraries/gobject-introspection/default.nix
··· 35 35 in 36 36 stdenv.mkDerivation (finalAttrs: { 37 37 pname = "gobject-introspection"; 38 - version = "1.72.0"; 38 + version = "1.74.0"; 39 39 40 40 # outputs TODO: share/gobject-introspection-1.0/tests is needed during build 41 41 # by pygobject3 (and maybe others), but it's only searched in $out ··· 44 44 45 45 src = fetchurl { 46 46 url = "mirror://gnome/sources/gobject-introspection/${lib.versions.majorMinor finalAttrs.version}/gobject-introspection-${finalAttrs.version}.tar.xz"; 47 - sha256 = "Av6OWQhh2I+DBg3TnNpcyqYLLaHSHQ+VSZMBsYa+qrw="; 47 + sha256 = "NHs6cZ5oukxp/y1X7iaJIz6owH/EkiBeVzOGd55C1lM="; 48 48 }; 49 49 50 50 patches = [
+2 -2
pkgs/development/libraries/goffice/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "goffice"; 6 - version = "0.10.52"; 6 + version = "0.10.53"; 7 7 8 8 outputs = [ "out" "dev" "devdoc" ]; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "YLnv2UNw8JabOU8KrIxuuR4V68DOEja0Sqc16xyYhAw="; 12 + sha256 = "J/1YeW+qHNTMASDDTqhTFaCJHscfVbxnk8FOzxaKP1c="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ pkg-config intltool ];
+5 -7
pkgs/development/libraries/grilo-plugins/default.nix
··· 7 7 , gettext 8 8 , gperf 9 9 , sqlite 10 - , librest 11 10 , libarchive 12 - , libsoup 11 + , libsoup_3 13 12 , gnome 14 13 , libxml2 15 14 , lua5_3 ··· 31 30 32 31 stdenv.mkDerivation rec { 33 32 pname = "grilo-plugins"; 34 - version = "0.3.14"; 33 + version = "0.3.15"; 35 34 36 35 src = fetchurl { 37 36 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 38 - sha256 = "aGhEs07HOySTH/bMT2Az8AcpR6bbYKzcf7Pq8Velgcg="; 37 + sha256 = "hRjD2VT5MJXZVWJKBEzhanNFUy+BHSmdv6HhFM/rqzM="; 39 38 }; 40 39 41 40 patches = [ ··· 65 64 buildInputs = [ 66 65 grilo 67 66 libxml2 68 - libgdata 67 + # libgdata 69 68 lua5_3 70 69 liboauth 71 70 sqlite 72 71 gnome-online-accounts 73 72 totem-pl-parser 74 - librest 75 73 libarchive 76 - libsoup 74 + libsoup_3 77 75 gmime 78 76 gom 79 77 json-glib
+4 -4
pkgs/development/libraries/grilo/default.nix
··· 16 16 , libxml2 17 17 , gnome 18 18 , gobject-introspection 19 - , libsoup 19 + , libsoup_3 20 20 , totem-pl-parser 21 21 }: 22 22 23 23 stdenv.mkDerivation rec { 24 24 pname = "grilo"; 25 - version = "0.3.14"; # if you change minor, also change ./setup-hook.sh 25 + version = "0.3.15"; # if you change minor, also change ./setup-hook.sh 26 26 27 27 outputs = [ "out" "dev" "man" "devdoc" ]; 28 28 outputBin = "dev"; ··· 31 31 32 32 src = fetchurl { 33 33 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 34 - sha256 = "A2nQsAuw9Zul966oz8Zl843xSltBgtKMfB4s0VtRh0M="; 34 + sha256 = "81Ks9zZlZpk0JwY2/t5mtS2mgB/iD2OMQEirJnhXey0="; 35 35 }; 36 36 37 37 mesonFlags = [ ··· 57 57 liboauth 58 58 gtk3 59 59 libxml2 60 - libsoup 60 + libsoup_3 61 61 totem-pl-parser 62 62 ]; 63 63
+2 -2
pkgs/development/libraries/gsettings-desktop-schemas/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "gsettings-desktop-schemas"; 15 - version = "42.0"; 15 + version = "43.0"; 16 16 17 17 src = fetchurl { 18 18 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 19 - sha256 = "ZoYzWp7WI/euInb++lCkENTnHUIxiAgkcUBwyzFzI9I="; 19 + sha256 = "XVVoKCqzi5V1nUJUAfdHblb4y/JimIVYdDn0O9C4S74="; 20 20 }; 21 21 22 22 strictDeps = true;
+2 -2
pkgs/development/libraries/gspell/default.nix
··· 17 17 18 18 stdenv.mkDerivation rec { 19 19 pname = "gspell"; 20 - version = "1.11.1"; 20 + version = "1.12.0"; 21 21 22 22 outputs = [ "out" "dev" ]; 23 23 outputBin = "dev"; 24 24 25 25 src = fetchurl { 26 26 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 - sha256 = "72qk4/cRd1FYp+JBpfgJzyQmvA4Cwjp9K1xx/D3gApI="; 27 + sha256 = "QNKFDxu26HdSRvoeOUOLNsqvvbraHSihn6HKB+H/gq0="; 28 28 }; 29 29 30 30 patches = [
+83
pkgs/development/libraries/gssdp/1.6.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , gobject-introspection 8 + , vala 9 + , gi-docgen 10 + , python3 11 + , libsoup_3 12 + , glib 13 + , gnome 14 + , gssdp-tools 15 + }: 16 + 17 + stdenv.mkDerivation rec { 18 + pname = "gssdp"; 19 + version = "1.6.0"; 20 + 21 + outputs = [ "out" "dev" ] 22 + ++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [ "devdoc" ]; 23 + 24 + src = fetchurl { 25 + url = "mirror://gnome/sources/gssdp/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 + sha256 = "FI7UFijI8XM2osj6SxSrD7rpi2Amvi2s/d6nv0OGZok="; 27 + }; 28 + 29 + nativeBuildInputs = [ 30 + meson 31 + ninja 32 + pkg-config 33 + gobject-introspection 34 + vala 35 + gi-docgen 36 + python3 37 + ]; 38 + 39 + buildInputs = [ 40 + libsoup_3 41 + ]; 42 + 43 + propagatedBuildInputs = [ 44 + glib 45 + ]; 46 + 47 + mesonFlags = [ 48 + "-Dgtk_doc=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}" 49 + "-Dsniffer=false" 50 + "-Dintrospection=${lib.boolToString (stdenv.buildPlatform == stdenv.hostPlatform)}" 51 + ]; 52 + 53 + doCheck = true; 54 + 55 + postFixup = lib.optionalString (stdenv.buildPlatform == stdenv.hostPlatform) '' 56 + # Move developer documentation to devdoc output. 57 + # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. 58 + find -L "$out/share/doc" -type f -regex '.*\.devhelp2?' -print0 \ 59 + | while IFS= read -r -d ''' file; do 60 + moveToOutput "$(dirname "''${file/"$out/"/}")" "$devdoc" 61 + done 62 + ''; 63 + 64 + passthru = { 65 + updateScript = gnome.updateScript { 66 + attrPath = "gssdp_1_6"; 67 + packageName = pname; 68 + }; 69 + 70 + tests = { 71 + inherit gssdp-tools; 72 + }; 73 + }; 74 + 75 + meta = with lib; { 76 + broken = stdenv.isDarwin; 77 + description = "GObject-based API for handling resource discovery and announcement over SSDP"; 78 + homepage = "http://www.gupnp.org/"; 79 + license = licenses.lgpl2Plus; 80 + maintainers = teams.gnome.members; 81 + platforms = platforms.all; 82 + }; 83 + }
+1
pkgs/development/libraries/gssdp/default.nix
··· 64 64 passthru = { 65 65 updateScript = gnome.updateScript { 66 66 packageName = pname; 67 + freeze = true; 67 68 }; 68 69 69 70 tests = {
+2 -2
pkgs/development/libraries/gssdp/standalone-tools.patch
··· 22 22 +project('gssdp-tools', 'c', version: '@version@') 23 23 +gnome = import('gnome') 24 24 + 25 - +gssdp = dependency('gssdp-1.2') 25 + +gssdp = dependency('gssdp-1.6') 26 26 +gtk = dependency('gtk4', version : '>= 4') 27 - +libsoup = dependency('libsoup-2.4', version : '>= 2.26.1') 27 + +libsoup = dependency('libsoup-3.0', version : '>= 2.99.0') 28 28 + 29 29 resource = gnome.compile_resources( 30 30 'org.gupnp.GSSDP.DeviceSniffer',
+6 -6
pkgs/development/libraries/gssdp/tools.nix
··· 5 5 , ninja 6 6 , pkg-config 7 7 , wrapGAppsHook4 8 - , gssdp 8 + , gssdp_1_6 9 9 , gtk4 10 - , libsoup 10 + , libsoup_3 11 11 }: 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "gssdp-tools"; 15 - inherit (gssdp) version src; 15 + inherit (gssdp_1_6) version src; 16 16 17 17 patches = [ 18 18 # Allow building tools separately from the library. ··· 31 31 ]; 32 32 33 33 buildInputs = [ 34 - gssdp 34 + gssdp_1_6 35 35 gtk4 36 - libsoup 36 + libsoup_3 37 37 ]; 38 38 39 39 preConfigure = '' ··· 44 44 description = "Device Sniffer tool based on GSSDP framework"; 45 45 homepage = "http://www.gupnp.org/"; 46 46 license = licenses.lgpl2Plus; 47 - maintainers = gssdp.meta.maintainers; 47 + maintainers = gssdp_1_6.meta.maintainers; 48 48 platforms = platforms.all; 49 49 }; 50 50 }
+2 -2
pkgs/development/libraries/gtkmm/3.x.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gtkmm"; 5 - version = "3.24.6"; 5 + version = "3.24.7"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 - sha256 = "Sz4ULpROFjO7oAiQBgXDQak8/XVaf6KgCwXQQTQfEdY="; 9 + sha256 = "HXo1r5xc7MrLJE7jwt65skVyDYUQrFx+b0tvmUfmeJw="; 10 10 }; 11 11 12 12 outputs = [ "out" "dev" ];
+3 -1
pkgs/development/libraries/gtksourceview/4.x.nix
··· 70 70 dbus 71 71 ]; 72 72 73 - doCheck = stdenv.isLinux; 73 + # Broken by PCRE 2 bump in GLib. 74 + # https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/283 75 + doCheck = false; 74 76 75 77 checkPhase = '' 76 78 runHook preCheck
+2 -2
pkgs/development/libraries/gtksourceview/5.x.nix
··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "gtksourceview"; 26 - version = "5.4.2"; 26 + version = "5.6.1"; 27 27 28 28 outputs = [ "out" "dev" "devdoc" ]; 29 29 30 30 src = fetchurl { 31 31 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 32 - sha256 = "rRQOB+uEGRDeSDwJK9SIWr0puq3W6V+iLZPtLfC3nec="; 32 + sha256 = "ZZ2cydA0oRTwfn4TTugNd97ASXyxUWrlNpEZwvy52hY="; 33 33 }; 34 34 35 35 patches = [
+73
pkgs/development/libraries/gupnp/1.6.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , gobject-introspection 8 + , vala 9 + , gi-docgen 10 + , glib 11 + , gssdp_1_6 12 + , libsoup_3 13 + , libxml2 14 + , gnome 15 + }: 16 + 17 + stdenv.mkDerivation rec { 18 + pname = "gupnp"; 19 + version = "1.6.0"; 20 + 21 + outputs = [ "out" "dev" "devdoc" ]; 22 + 23 + src = fetchurl { 24 + url = "mirror://gnome/sources/gupnp/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 + sha256 = "sha256-MsSdrkd4zT74/Zpg9jdenId2ju5sPAWzPYp5+R4Ivcs="; 26 + }; 27 + 28 + depsBuildBuild = [ 29 + pkg-config 30 + ]; 31 + 32 + nativeBuildInputs = [ 33 + meson 34 + ninja 35 + pkg-config 36 + gobject-introspection 37 + vala 38 + gi-docgen 39 + ]; 40 + 41 + propagatedBuildInputs = [ 42 + glib 43 + gssdp_1_6 44 + libsoup_3 45 + libxml2 46 + ]; 47 + 48 + mesonFlags = [ 49 + "-Dgtk_doc=true" 50 + "-Dintrospection=true" 51 + ]; 52 + 53 + doCheck = true; 54 + 55 + postFixup = '' 56 + # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. 57 + moveToOutput "share/doc" "$devdoc" 58 + ''; 59 + 60 + passthru = { 61 + updateScript = gnome.updateScript { 62 + attrPath = "gupnp_1_6"; 63 + packageName = pname; 64 + }; 65 + }; 66 + 67 + meta = with lib; { 68 + homepage = "http://www.gupnp.org/"; 69 + description = "An implementation of the UPnP specification"; 70 + license = licenses.lgpl2Plus; 71 + platforms = platforms.linux; 72 + }; 73 + }
+1
pkgs/development/libraries/gupnp/default.nix
··· 72 72 passthru = { 73 73 updateScript = gnome.updateScript { 74 74 packageName = pname; 75 + freeze = true; 75 76 }; 76 77 }; 77 78
+54 -7
pkgs/development/libraries/libchamplain/default.nix
··· 1 - { fetchurl, lib, stdenv, meson, ninja, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, pkg-config, glib, gtk3, cairo, sqlite, gnome 2 - , clutter-gtk, libsoup, gobject-introspection /*, libmemphis */ }: 1 + { fetchurl 2 + , fetchpatch 3 + , lib 4 + , stdenv 5 + , meson 6 + , ninja 7 + , vala 8 + , gtk-doc 9 + , docbook_xsl 10 + , docbook_xml_dtd_412 11 + , pkg-config 12 + , glib 13 + , gtk3 14 + , cairo 15 + , sqlite 16 + , gnome 17 + , clutter-gtk 18 + , libsoup 19 + , libsoup_3 20 + , gobject-introspection /*, libmemphis */ 21 + , withLibsoup3 ? false 22 + }: 3 23 4 24 stdenv.mkDerivation rec { 5 25 pname = "libchamplain"; ··· 10 30 sha256 = "0rihpb0npqpihqcdz4w03rq6xl7jdckfqskvv9diq2hkrnzv8ch2"; 11 31 }; 12 32 33 + patches = lib.optionals withLibsoup3 [ 34 + # Port to libsoup3 35 + # https://gitlab.gnome.org/GNOME/libchamplain/-/merge_requests/13 36 + (fetchpatch { 37 + url = "https://gitlab.gnome.org/GNOME/libchamplain/-/commit/1cbaf3193c2b38e447fbc383d4c455c3dcac6db8.patch"; 38 + excludes = [ ".gitlab-ci.yml" ]; 39 + sha256 = "uk38gExnUgeUKwhDsqRU77hGWhJ+8fG5dSiV2MAWLFk="; 40 + }) 41 + ]; 42 + 13 43 outputs = [ "out" "dev" "devdoc" ]; 14 44 15 - nativeBuildInputs = [ meson ninja pkg-config gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ]; 45 + nativeBuildInputs = [ 46 + meson 47 + ninja 48 + pkg-config 49 + gobject-introspection 50 + vala 51 + gtk-doc 52 + docbook_xsl 53 + docbook_xml_dtd_412 54 + ]; 16 55 17 - buildInputs = [ sqlite libsoup ]; 56 + buildInputs = [ 57 + sqlite 58 + (if withLibsoup3 then libsoup_3 else libsoup) 59 + ]; 18 60 19 - propagatedBuildInputs = [ glib gtk3 cairo clutter-gtk ]; 61 + propagatedBuildInputs = [ 62 + glib 63 + gtk3 64 + cairo 65 + clutter-gtk 66 + ]; 20 67 21 68 mesonFlags = [ 22 69 "-Dgtk_doc=true" ··· 44 91 OpenCycleMap, OpenAerialMap, and Maps for free. 45 92 ''; 46 93 47 - maintainers = teams.gnome.members; 48 - platforms = platforms.gnu ++ platforms.linux; # arbitrary choice 94 + maintainers = teams.gnome.members ++ teams.pantheon.members; 95 + platforms = platforms.gnu ++ platforms.linux; # arbitrary choice 49 96 }; 50 97 }
+2 -2
pkgs/development/libraries/libgee/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libgee"; 5 - version = "0.20.5"; 5 + version = "0.20.6"; 6 6 7 7 outputs = [ "out" "dev" ]; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "MYY6iVfVpyf5BnSVyr8KCIn6XT1EYm5UCUMxGI1cFRg="; 11 + sha256 = "G/g09eENYMxhJNdO08HdONpkZ4f794ciILi0Bo5HbU0="; 12 12 }; 13 13 14 14 doCheck = true;
+31 -7
pkgs/development/libraries/libgepub/default.nix
··· 1 - { lib, stdenv, fetchurl, meson, ninja, pkg-config, glib, gobject-introspection, gnome 2 - , webkitgtk, libsoup, libxml2, libarchive }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , glib 8 + , gobject-introspection 9 + , gnome 10 + , webkitgtk_4_1 11 + , libsoup_3 12 + , libxml2 13 + , libarchive 14 + }: 3 15 4 16 stdenv.mkDerivation rec { 5 17 pname = "libgepub"; 6 - version = "0.6.0"; 18 + version = "0.7.0"; 7 19 8 20 src = fetchurl { 9 21 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 - sha256 = "16dkyywqdnfngmwsgbyga0kl9vcnzczxi3lmhm27pifrq5f3k2n7"; 22 + sha256 = "IQpMeJXC6E8BpWglArpej6PqiWrzFw+yWS/OHdpW4C4="; 11 23 }; 12 24 13 - doCheck = true; 25 + nativeBuildInputs = [ 26 + meson 27 + ninja 28 + pkg-config 29 + gobject-introspection 30 + ]; 31 + 32 + buildInputs = [ 33 + glib 34 + webkitgtk_4_1 35 + libsoup_3 36 + libxml2 37 + libarchive 38 + ]; 14 39 15 - nativeBuildInputs = [ meson ninja pkg-config gobject-introspection ]; 16 - buildInputs = [ glib webkitgtk libsoup libxml2 libarchive ]; 40 + doCheck = true; 17 41 18 42 passthru = { 19 43 updateScript = gnome.updateScript {
+20 -8
pkgs/development/libraries/libgnomekbd/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, file, intltool, glib, gtk3, libxklavier, wrapGAppsHook, gnome, gobject-introspection }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , gobject-introspection 8 + , glib 9 + , gtk3 10 + , libxklavier 11 + , wrapGAppsHook 12 + , gnome 13 + }: 2 14 3 15 stdenv.mkDerivation rec { 4 16 pname = "libgnomekbd"; 5 - version = "3.26.1"; 17 + version = "3.28.1"; 6 18 7 19 outputs = [ "out" "dev" ]; 8 20 9 21 src = fetchurl { 10 22 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "0y962ykn3rr9gylj0pwpww7bi20lmhvsw6qvxs5bisbn2mih5jpp"; 23 + sha256 = "ItxZVm1zwAZTUPWpc0DmLsx7CMTfGRg4BLuL4kyP6HA="; 12 24 }; 13 25 14 26 nativeBuildInputs = [ 15 - file 16 - intltool 27 + meson 28 + ninja 17 29 pkg-config 18 30 wrapGAppsHook 19 31 glib ··· 27 39 glib 28 40 ]; 29 41 30 - postPatch = '' 31 - substituteInPlace libgnomekbd/Makefile.in \ 32 - --replace "shell pkg-config" 'shell $(PKG_CONFIG)' 42 + postInstall = '' 43 + # Missing post-install script. 44 + glib-compile-schemas "$out/share/glib-2.0/schemas" 33 45 ''; 34 46 35 47 passthru = {
+8 -7
pkgs/development/libraries/libgweather/default.nix
··· 5 5 , ninja 6 6 , pkg-config 7 7 , libxml2 8 + , json-glib 8 9 , glib 9 10 , gettext 10 - , libsoup 11 + , libsoup_3 11 12 , gi-docgen 12 13 , gobject-introspection 13 14 , python3 14 15 , tzdata 15 - , geocode-glib 16 + , geocode-glib_2 16 17 , vala 17 18 , gnome 18 19 }: 19 20 20 21 stdenv.mkDerivation rec { 21 22 pname = "libgweather"; 22 - version = "4.0.0"; 23 + version = "4.2.0"; 23 24 24 25 outputs = [ "out" "dev" "devdoc" ]; 25 26 26 27 src = fetchurl { 27 28 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 - sha256 = "RA1EgBtvcrSMZ25eN/kQnP7hOU/XTMknJeGxuk+ug0w="; 29 + sha256 = "r4qBLaDYl2oADh1iVywlYIaoFzI/vzWwZtv92NLKYgM="; 29 30 }; 30 31 31 32 patches = [ ··· 52 53 53 54 buildInputs = [ 54 55 glib 55 - libsoup 56 + libsoup_3 56 57 libxml2 57 - geocode-glib 58 + json-glib 59 + geocode-glib_2 58 60 ]; 59 61 60 62 mesonFlags = [ ··· 64 66 ]; 65 67 66 68 postPatch = '' 67 - patchShebangs build-aux/meson/meson_post_install.py 68 69 patchShebangs build-aux/meson/gen_locations_variant.py 69 70 70 71 # Run-time dependency gi-docgen found: NO (tried pkgconfig and cmake)
+2 -2
pkgs/development/libraries/libhandy/default.nix
··· 26 26 27 27 stdenv.mkDerivation rec { 28 28 pname = "libhandy"; 29 - version = "1.6.3"; 29 + version = "1.8.0"; 30 30 31 31 outputs = [ 32 32 "out" ··· 39 39 40 40 src = fetchurl { 41 41 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 42 - sha256 = "sha256-R3iL01gE69M8sJkR6XU0TIQ1ngttlSCv0cgh66i6d/8="; 42 + sha256 = "sha256-bCVCwFeJJLDCm3rmy0TrJt846wHW1e89fQsIJXYyMOg="; 43 43 }; 44 44 45 45 depsBuildBuild = [
+2 -2
pkgs/development/libraries/libosinfo/default.nix
··· 9 9 , gtk-doc 10 10 , docbook_xsl 11 11 , glib 12 - , libsoup 12 + , libsoup_3 13 13 , libxml2 14 14 , libxslt 15 15 , check ··· 46 46 ]; 47 47 buildInputs = [ 48 48 glib 49 - libsoup 49 + libsoup_3 50 50 libxml2 51 51 libxslt 52 52 ];
+2 -2
pkgs/development/libraries/libpeas/default.nix
··· 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "libpeas"; 19 - version = "1.32.0"; 19 + version = "1.34.0"; 20 20 21 21 outputs = [ "out" "dev" "devdoc" ]; 22 22 23 23 src = fetchurl { 24 24 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 - sha256 = "1iVSD6AuiXcCmyRq5Dm8IYloll8egtYSIItxPx3MPQ4="; 25 + sha256 = "QwX3Fdq0ta0+gAfa7DFmJecGWpTmPiXvVese+5ZKe/A="; 26 26 }; 27 27 28 28 depsBuildBuild = [
+1 -1
pkgs/development/libraries/librest/1.0.nix
··· 32 32 gobject-introspection 33 33 ]; 34 34 35 - buildInputs = [ 35 + propagatedBuildInputs = [ 36 36 glib 37 37 json-glib 38 38 libsoup_3
+47 -18
pkgs/development/libraries/librsvg/default.nix
··· 22 22 , vala 23 23 , withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform 24 24 , gobject-introspection 25 - , nixosTests 25 + , _experimental-update-script-combinators 26 + , common-updater-scripts 27 + , jq 28 + , nix 26 29 }: 27 30 28 31 stdenv.mkDerivation rec { 29 32 pname = "librsvg"; 30 - version = "2.54.4"; 33 + version = "2.55.1"; 31 34 32 - outputs = [ "out" "dev" "installedTests" ] ++ lib.optionals withIntrospection [ 35 + outputs = [ "out" "dev" ] ++ lib.optionals withIntrospection [ 33 36 "devdoc" 34 37 ]; 35 38 36 39 src = fetchurl { 37 40 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 38 - sha256 = "6hUqJD9qQ8DgNqKMcN4/y83qVmTGgRx4WSvCKezCSDM="; 41 + sha256 = "a69IqdOlb9E7v7ufH3Z1myQLcKH6Ig/SOEdNZqkm+Yw="; 39 42 }; 40 43 41 - cargoVendorDir = "vendor"; 44 + cargoDeps = rustPlatform.fetchCargoTarball { 45 + inherit src; 46 + name = "${pname}-${version}"; 47 + hash = "sha256-nRmOB9Jo+mmB0+wXrQvoII4e0ucV7bNCDeuk6CbcPdk="; 48 + # TODO: move this to fetchCargoTarball 49 + dontConfigure = true; 50 + }; 42 51 43 52 strictDeps = true; 44 53 ··· 83 92 # https://github.com/NixOS/nixpkgs/pull/117081#issuecomment-827782004 84 93 (lib.enableFeature (withIntrospection && !stdenv.isDarwin) "vala") 85 94 86 - "--enable-installed-tests" 87 95 "--enable-always-build-tests" 88 96 ] ++ lib.optional stdenv.isDarwin "--disable-Bsymbolic" 89 97 ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "RUST_TARGET=${rust.toRustTarget stdenv.hostPlatform}"; 90 - 91 - makeFlags = [ 92 - "installed_test_metadir=${placeholder "installedTests"}/share/installed-tests/RSVG" 93 - "installed_testdir=${placeholder "installedTests"}/libexec/installed-tests/RSVG" 94 - ]; 95 98 96 99 doCheck = false; # all tests fail on libtool-generated rsvg-convert not being able to find coreutils 97 100 ··· 131 134 ''; 132 135 133 136 passthru = { 134 - updateScript = gnome.updateScript { 135 - packageName = pname; 136 - versionPolicy = "odd-unstable"; 137 - }; 137 + updateScript = 138 + let 139 + updateSource = gnome.updateScript { 140 + packageName = "librsvg"; 141 + }; 138 142 139 - tests = { 140 - installedTests = nixosTests.installed-tests.librsvg; 141 - }; 143 + updateLockfile = { 144 + command = [ 145 + "sh" 146 + "-c" 147 + '' 148 + PATH=${lib.makeBinPath [ 149 + common-updater-scripts 150 + jq 151 + nix 152 + ]} 153 + # update-source-version does not allow updating to the same version so we need to clear it temporarily. 154 + # Get the current version so that we can restore it later. 155 + latestVersion=$(nix-instantiate --eval -A librsvg.version | jq --raw-output) 156 + # Clear the version. Provide hash so that we do not need to do pointless TOFU. 157 + # Needs to be a fake SRI hash that is non-zero, since u-s-v uses zero as a placeholder. 158 + # Also cannot be here verbatim or u-s-v would be confused what to replace. 159 + update-source-version librsvg 0 "sha256-${lib.fixedWidthString 44 "B" "="}" --source-key=cargoDeps > /dev/null 160 + update-source-version librsvg "$latestVersion" --source-key=cargoDeps > /dev/null 161 + '' 162 + ]; 163 + # Experimental feature: do not copy! 164 + supportedFeatures = [ "silent" ]; 165 + }; 166 + in 167 + _experimental-update-script-combinators.sequence [ 168 + updateSource 169 + updateLockfile 170 + ]; 142 171 }; 143 172 144 173 meta = with lib; {
+4 -4
pkgs/development/libraries/libshumate/default.nix
··· 10 10 , glib 11 11 , cairo 12 12 , sqlite 13 - , libsoup 13 + , libsoup_3 14 14 , gtk4 15 15 , xvfb-run 16 16 , gnome ··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "libshumate"; 21 - version = "1.0.0.alpha.1"; 21 + version = "1.0.1"; 22 22 23 23 outputs = [ "out" "dev" "devdoc" ]; 24 24 outputBin = "devdoc"; # demo app ··· 28 28 owner = "GNOME"; 29 29 repo = "libshumate"; 30 30 rev = version; 31 - sha256 = "4kCXFUJRglh1aIBk03MNUV8jfx0mJzIFCUDM4g9tzlg="; 31 + sha256 = "fpHMfxnPnGJSfJe4kJ28+704QjjRwYddOZAB17QxXno="; 32 32 }; 33 33 34 34 nativeBuildInputs = [ ··· 44 44 glib 45 45 cairo 46 46 sqlite 47 - libsoup 47 + libsoup_3 48 48 gtk4 49 49 ]; 50 50
+19 -5
pkgs/development/libraries/libsoup/3.x.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchurl 4 + , fetchpatch 4 5 , glib 5 6 , meson 6 7 , ninja ··· 15 16 , withVala ? stdenv.buildPlatform == stdenv.hostPlatform 16 17 , libpsl 17 18 , python3 19 + , gi-docgen 18 20 , brotli 19 21 , libnghttp2 20 22 }: 21 23 22 24 stdenv.mkDerivation rec { 23 25 pname = "libsoup"; 24 - version = "3.0.7"; 26 + version = "3.2.0"; 25 27 26 - outputs = [ "out" "dev" ]; 28 + outputs = [ "out" "dev" "devdoc" ]; 27 29 28 30 src = fetchurl { 29 31 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 - sha256 = "sha256-69+QzzWZwRrLtoGKnZ4/ydLGjlbrgpuTlilyaD4b98g="; 32 + sha256 = "sha256-KDI3BpjKj5+/F0w0W3PYm2BWEQOmJsLfcHJrBwf3m9M="; 31 33 }; 32 34 35 + # https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/310 36 + patches = [ 37 + (fetchpatch { 38 + url = "https://gitlab.gnome.org/GNOME/libsoup/-/commit/0fae143dc8b0e668b7a35a9c1364009e7cf06d0f.patch"; 39 + sha256 = "sha256-yAKC7WGk0aQxMkT4At6Qfx1QO2InNotITrl/Lim41Jk="; 40 + }) 41 + ]; 42 + 33 43 nativeBuildInputs = [ 34 44 meson 35 45 ninja 36 46 pkg-config 37 47 glib 38 48 python3 49 + gi-docgen 39 50 ] ++ lib.optionals withIntrospection [ 40 51 gobject-introspection 41 52 ] ++ lib.optionals withVala [ ··· 64 75 "-Dntlm=disabled" 65 76 # Requires wstest from autobahn-testsuite. 66 77 "-Dautobahn=disabled" 67 - # Requires quart Python module. 68 - "-Dhttp2_tests=disabled" 69 78 # Requires gnutls, not added for closure size. 70 79 "-Dpkcs11_tests=disabled" 71 80 ] ++ lib.optionals (!stdenv.isLinux) [ ··· 80 89 81 90 postPatch = '' 82 91 patchShebangs libsoup/ 92 + ''; 93 + 94 + postFixup = '' 95 + # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. 96 + moveToOutput "share/doc" "$devdoc" 83 97 ''; 84 98 85 99 passthru = {
+13 -3
pkgs/development/libraries/libwnck/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , fetchurl 3 4 , fetchpatch 4 5 , meson ··· 21 22 22 23 stdenv.mkDerivation rec { 23 24 pname = "libwnck"; 24 - version = "40.1"; 25 + version = "43.0"; 25 26 26 27 outputs = [ "out" "dev" "devdoc" ]; 27 28 outputBin = "dev"; 28 29 29 30 src = fetchurl { 30 31 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 31 - sha256 = "AxNPoRTvP740B1qoNnj1iqLevp/O9OojwHeeKGAdZhE="; 32 + sha256 = "kFvNuFhH1rj4hh5WswzW3GHq5n7O9M2ZSp+SWiaiwf4="; 32 33 }; 34 + 35 + patches = [ 36 + # bamfdaemon crashes with libwnck3 43.0 37 + # https://bugs.launchpad.net/ubuntu/+source/libwnck3/+bug/1990263 38 + (fetchpatch { 39 + url = "https://gitlab.gnome.org/GNOME/libwnck/-/commit/6ceb684442eb26e3bdb8a38bf52264ad55f96a7b.patch"; 40 + sha256 = "/1wCnElCrZB7XTDW/l3dxMKZ9czGnukbGu4/aQStoXE="; 41 + }) 42 + ]; 33 43 34 44 nativeBuildInputs = [ 35 45 meson
+3 -3
pkgs/development/libraries/libwpe/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "libwpe"; 15 - version = "1.12.3"; 15 + version = "1.14.0"; 16 16 17 17 src = fetchurl { 18 - url = "https://wpewebkit.org/releases/${pname}-${version}.tar.xz"; 19 - sha256 = "sha256-uE/b+8hJzk/fCEuyi1jlRjsbS2zI8gDcd7QfhUXVMp0="; 18 + url = "https://wpewebkit.org/releases/libwpe-${version}.tar.xz"; 19 + sha256 = "wHMwW7rF9EAswcikdTv6PWOkCJAfhhggUeqlp13YnAA="; 20 20 }; 21 21 22 22 nativeBuildInputs = [
+3 -3
pkgs/development/libraries/libwpe/fdo.nix
··· 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "wpebackend-fdo"; 19 - version = "1.12.1"; 19 + version = "1.14.0"; 20 20 21 21 src = fetchurl { 22 - url = "https://wpewebkit.org/releases/${pname}-${version}.tar.xz"; 23 - sha256 = "sha256-RaqDPETsKS8x+pQ7AbjMdeVOtiOte6amb8LxGP5p5ik="; 22 + url = "https://wpewebkit.org/releases/wpebackend-fdo-${version}.tar.xz"; 23 + sha256 = "51sMsscUVEhBboaWAT2Ig/Z1xmwR7XUOBoZe/sWAkVU="; 24 24 }; 25 25 26 26 depsBuildBuild = [
+4 -4
pkgs/development/libraries/malcontent/default.nix
··· 5 5 , ninja 6 6 , pkg-config 7 7 , gobject-introspection 8 - , wrapGAppsHook 8 + , wrapGAppsNoGuiHook 9 9 , glib 10 10 , coreutils 11 11 , accountsservice ··· 19 19 20 20 stdenv.mkDerivation rec { 21 21 pname = "malcontent"; 22 - version = "0.10.5"; 22 + version = "0.11.0"; 23 23 24 24 outputs = [ "bin" "out" "lib" "pam" "dev" "man" "installedTests" ]; 25 25 ··· 28 28 owner = "pwithnall"; 29 29 repo = pname; 30 30 rev = version; 31 - sha256 = "sha256-UPKAStB6wTd3qbbISHMgNw1bJjIRgn89tHnsw4ZptvQ="; 31 + sha256 = "sha256-92F30DfdSJvO5C9EmNtiC/H6Fa6qQHecYSx59JKp8vA="; 32 32 }; 33 33 34 34 patches = [ ··· 44 44 ninja 45 45 pkg-config 46 46 gobject-introspection 47 - wrapGAppsHook 47 + wrapGAppsNoGuiHook 48 48 ]; 49 49 50 50 buildInputs = [
+14 -6
pkgs/development/libraries/malcontent/ui.nix
··· 4 4 , pkg-config 5 5 , gobject-introspection 6 6 , itstool 7 - , wrapGAppsHook 7 + , wrapGAppsHook4 8 8 , glib 9 9 , accountsservice 10 10 , dbus 11 11 , flatpak 12 12 , malcontent 13 - , gtk3 14 - , appstream-glib 13 + , gtk4 14 + , libadwaita 15 + , appstream 15 16 , desktop-file-utils 16 17 , polkit 17 18 , glib-testing ··· 39 40 gobject-introspection 40 41 itstool 41 42 desktop-file-utils 42 - wrapGAppsHook 43 + wrapGAppsHook4 43 44 ]; 44 45 45 46 buildInputs = [ 46 - appstream-glib 47 + appstream 47 48 dbus 48 49 polkit 49 50 glib-testing ··· 54 55 accountsservice 55 56 malcontent 56 57 glib 57 - gtk3 58 + gtk4 59 + libadwaita 58 60 ]; 59 61 60 62 mesonFlags = [ ··· 63 65 "-Duse_system_libmalcontent=true" 64 66 "-Dui=enabled" 65 67 ]; 68 + 69 + postPatch = '' 70 + # https://gitlab.freedesktop.org/pwithnall/malcontent/-/merge_requests/148 71 + substituteInPlace build-aux/meson_post_install.py \ 72 + --replace gtk-update-icon-cache gtk4-update-icon-cache 73 + ''; 66 74 67 75 meta = with lib; { 68 76 description = "UI components for parental controls library";
+4 -2
pkgs/development/libraries/pango/default.nix
··· 22 22 23 23 stdenv.mkDerivation rec { 24 24 pname = "pango"; 25 - version = "1.50.8"; 25 + version = "1.50.11"; 26 26 27 27 outputs = [ "bin" "out" "dev" "devdoc" ]; 28 28 29 29 src = fetchurl { 30 30 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 31 - sha256 = "z2JvWd0UbAIxdMQDSSDpZn8dJawsFWlRbWMTbDESVfo="; 31 + sha256 = "iAD4Etie5hOIGIcDID86eHiWPCL4aVqvH6ChoUKNF64="; 32 32 }; 33 33 34 34 depsBuildBuild = [ ··· 97 97 updateScript = gnome.updateScript { 98 98 packageName = pname; 99 99 versionPolicy = "odd-unstable"; 100 + # 1.90 is alpha for API 2. 101 + freeze = true; 100 102 }; 101 103 }; 102 104
+2 -2
pkgs/development/libraries/pangomm/2.48.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "pangomm"; 17 - version= "2.50.0"; 17 + version= "2.50.1"; 18 18 19 19 outputs = [ "out" "dev" ]; 20 20 21 21 src = fetchurl { 22 22 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 23 - sha256 = "sha256-onqnfgF7mvzp51HYW9HPiQq7s6WL9Z0PrJF+74LbO1s="; 23 + sha256 = "sha256-zMmSNBPkCMK/9jffZjJIMn1ygi8R45S0I+HFZSt9khQ="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/pangomm/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "pangomm"; 6 - version= "2.46.2"; 6 + version= "2.46.3"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 - sha256 = "sha256-V0QqtNwEOHe/44OZFXMastaT/GY0pxYUQi+1MMnqpvQ="; 10 + sha256 = "sha256-QQ/gTUcaYI8/AnPToX2EAkHZEe0P8sdYqYWcZsbyQ3k="; 11 11 }; 12 12 13 13 outputs = [ "out" "dev" ];
+5 -2
pkgs/development/libraries/spice-gtk/default.nix
··· 17 17 , libdrm 18 18 , libjpeg_turbo 19 19 , libopus 20 + , withLibsoup2 ? false 20 21 , libsoup 22 + , libsoup_3 21 23 , libusb1 22 24 , lz4 23 25 , meson 24 26 , ninja 25 27 , openssl 26 28 , perl 29 + , phodav_2_0 27 30 , phodav 28 31 , pixman 29 32 , pkg-config ··· 84 87 gettext 85 88 gobject-introspection 86 89 gtk-doc 87 - libsoup 88 90 meson 89 91 ninja 90 92 perl ··· 108 110 libcacard 109 111 libjpeg_turbo 110 112 libopus 113 + (if withLibsoup2 then libsoup else libsoup_3) 111 114 libusb1 112 115 lz4 113 116 openssl 114 - phodav 117 + (if withLibsoup2 then phodav_2_0 else phodav) 115 118 pixman 116 119 spice-protocol 117 120 usbredir
+42 -10
pkgs/development/libraries/template-glib/default.nix
··· 1 - { lib, stdenv, fetchurl, meson, ninja, pkg-config, glib, gobject-introspection, flex, bison, vala, gettext, gnome, gtk-doc, docbook_xsl, docbook_xml_dtd_43 }: 2 - let 3 - version = "3.34.1"; 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , glib 8 + , gobject-introspection 9 + , flex 10 + , bison 11 + , vala 12 + , gettext 13 + , gnome 14 + , gtk-doc 15 + , docbook_xsl 16 + , docbook_xml_dtd_43 17 + }: 18 + 19 + stdenv.mkDerivation rec { 4 20 pname = "template-glib"; 5 - in 6 - stdenv.mkDerivation { 7 - name = "${pname}-${version}"; 21 + version = "3.36.0"; 8 22 9 23 outputs = [ "out" "dev" "devdoc" ]; 10 24 11 25 src = fetchurl { 12 26 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 13 - sha256 = "nsm3HgTU9csU91XveQYxzQtFwGA+Ecg2/Hz9niaM0Ho="; 27 + sha256 = "HBKVJa5kQDpmL3Zm9jWDhqgVZohyrPEctWirObuh9CE="; 14 28 }; 15 29 16 - nativeBuildInputs = [ meson ninja pkg-config gettext flex bison vala glib gtk-doc docbook_xsl docbook_xml_dtd_43 gobject-introspection ]; 17 - buildInputs = [ glib ]; 30 + nativeBuildInputs = [ 31 + meson 32 + ninja 33 + pkg-config 34 + gettext 35 + flex 36 + bison 37 + vala 38 + glib 39 + gtk-doc 40 + docbook_xsl 41 + docbook_xml_dtd_43 42 + gobject-introspection 43 + ]; 44 + 45 + buildInputs = [ 46 + glib 47 + ]; 18 48 19 49 mesonFlags = [ 20 - "-Denable_gtk_doc=true" 50 + "-Dgtk_doc=true" 21 51 ]; 52 + 53 + doCheck = true; 22 54 23 55 passthru = { 24 56 updateScript = gnome.updateScript {
+2 -2
pkgs/development/libraries/tepl/default.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "tepl"; 18 - version = "6.0.2"; 18 + version = "6.1.2"; 19 19 20 20 outputs = [ "out" "dev" "devdoc" ]; 21 21 22 22 src = fetchurl { 23 23 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 - sha256 = "W0qcbGG9AAVT75eZ9MpiXQX1gBA2+ywvkopJRIyQPAk="; 24 + sha256 = "Cv4uyaWNT6ixBntqc0/TxzNqn/+3VyyWPFLqbYckoZs="; 25 25 }; 26 26 27 27 nativeBuildInputs = [
+4 -21
pkgs/development/libraries/tracker-miners/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchurl 4 - , fetchpatch 5 4 , asciidoc 6 5 , docbook-xsl-nons 7 6 , docbook_xml_dtd_45 ··· 14 13 , ninja 15 14 , pkg-config 16 15 , vala 17 - , wrapGAppsHook 16 + , wrapGAppsNoGuiHook 18 17 , bzip2 19 18 , dbus 20 - , evolution-data-server 21 19 , exempi 22 20 , giflib 23 21 , glib ··· 34 32 , libosinfo 35 33 , libpng 36 34 , libseccomp 37 - , libsoup 38 35 , libtiff 39 36 , libuuid 40 37 , libxml2 ··· 49 46 50 47 stdenv.mkDerivation rec { 51 48 pname = "tracker-miners"; 52 - version = "3.3.1"; 49 + version = "3.4.0"; 53 50 54 51 src = fetchurl { 55 52 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 56 - sha256 = "Pt3G0nLAKWn6TCwV360MSddtAh8aJ+xwi2m+gCU1PJQ="; 53 + sha256 = "ouA2XjCBG7YelcghSzP0eCo6BODGJGoG7NnAFBfNhOY="; 57 54 }; 58 55 59 - # TODO: remove me on 3.4.0 60 - patches = [ 61 - (fetchpatch { 62 - url = "https://gitlab.gnome.org/GNOME/tracker-miners/-/commit/cc655ba0f95022cf35bc6d44cb5155788fee2e24.patch"; 63 - sha256 = "sha256-a85ygtabpkruiDgKbseQxYbFIAQlVDhs3eWkbStJjKs="; 64 - }) 65 - (fetchpatch { 66 - url = "https://gitlab.gnome.org/GNOME/tracker-miners/-/commit/9e613ceb37ec41fd1cd88c3d539e3ee03e8f6ba6.patch"; 67 - sha256 = "sha256-ht7EfZztyl0st0Sv7H92Q37vwXY4T61GQm9WJ8IxTTg="; 68 - }) 69 - ]; 70 - 71 56 nativeBuildInputs = [ 72 57 asciidoc 73 58 docbook-xsl-nons ··· 79 64 ninja 80 65 pkg-config 81 66 vala 82 - wrapGAppsHook 67 + wrapGAppsNoGuiHook 83 68 ]; 84 69 85 70 # TODO: add libenca, libosinfo ··· 108 93 libjpeg 109 94 libosinfo 110 95 libpng 111 - libsoup 112 96 libtiff 113 97 libuuid 114 98 libxml2 115 99 poppler 116 100 taglib 117 101 ] ++ lib.optionals stdenv.isLinux [ 118 - evolution-data-server 119 102 libseccomp 120 103 networkmanager 121 104 systemd
+2 -4
pkgs/development/libraries/tracker/default.nix
··· 13 13 , libxml2 14 14 , glib 15 15 , wrapGAppsNoGuiHook 16 - , vala 17 16 , sqlite 18 17 , libxslt 19 18 , libstemmer ··· 30 29 31 30 stdenv.mkDerivation rec { 32 31 pname = "tracker"; 33 - version = "3.3.2"; 32 + version = "3.4.0"; 34 33 35 34 outputs = [ "out" "dev" "devdoc" ]; 36 35 37 36 src = fetchurl { 38 37 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 39 - sha256 = "DtK5iRiVbW8WQpxgfdihTIT02gpIlw/S64yTq6PPmRM="; 38 + sha256 = "s7OAyVcdfHQjtfQB5KLy143kcUOwNessEoHiQjxZIYs="; 40 39 }; 41 40 42 41 postPatch = '' ··· 50 49 nativeBuildInputs = [ 51 50 meson 52 51 ninja 53 - vala 54 52 pkg-config 55 53 asciidoc 56 54 gettext
+20 -6
pkgs/development/libraries/vte/default.nix
··· 9 9 , gnome 10 10 , glib 11 11 , gtk3 12 + , gtk4 13 + , gtkVersion ? "3" 12 14 , gobject-introspection 13 15 , vala 14 16 , python3 17 + , gi-docgen 15 18 , libxml2 16 19 , gnutls 17 20 , gperf ··· 27 30 28 31 stdenv.mkDerivation rec { 29 32 pname = "vte"; 30 - version = "0.68.0"; 33 + version = "0.70.0"; 31 34 32 - outputs = [ "out" "dev" ]; 35 + outputs = [ "out" "dev" "devdoc" ]; 33 36 34 37 src = fetchurl { 35 38 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 36 - sha256 = "sha256-E+fUeJyiFqM3gAMNJGybE92/0ECUxjFu6n/5IoTdF0k="; 39 + sha256 = "sha256-k+DdShvCp6GmLaZBYKJ0zORWl26hVn2YWR2pbi0mWuY="; 37 40 }; 38 41 39 42 patches = [ ··· 57 60 pkg-config 58 61 vala 59 62 python3 63 + gi-docgen 60 64 ]; 61 65 62 66 buildInputs = [ ··· 69 73 systemd 70 74 ]; 71 75 72 - propagatedBuildInputs = [ 76 + propagatedBuildInputs = assert (gtkVersion == "3" || gtkVersion == "4"); [ 73 77 # Required by vte-2.91.pc. 74 - gtk3 78 + (if gtkVersion == "3" then gtk3 else gtk4) 75 79 glib 76 80 pango 77 81 ]; 78 82 79 - mesonFlags = lib.optionals (!systemdSupport) [ 83 + mesonFlags = [ 84 + "-Ddocs=true" 85 + ] ++ lib.optionals (!systemdSupport) [ 80 86 "-D_systemd=false" 87 + ] ++ lib.optionals (gtkVersion == "4") [ 88 + "-Dgtk3=false" 89 + "-Dgtk4=true" 81 90 ] ++ lib.optionals stdenv.isDarwin [ 82 91 # -Bsymbolic-functions is not supported on darwin 83 92 "-D_b_symbolic_functions=false" ··· 91 100 patchShebangs src/box_drawing_generate.sh 92 101 patchShebangs src/parser-seq.py 93 102 patchShebangs src/modes.py 103 + ''; 104 + 105 + postFixup = '' 106 + # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. 107 + moveToOutput "share/doc" "$devdoc" 94 108 ''; 95 109 96 110 passthru = {
+2 -2
pkgs/development/libraries/xdg-desktop-portal-gnome/default.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "xdg-desktop-portal-gnome"; 21 - version = "42.3"; 21 + version = "43.0"; 22 22 23 23 src = fetchurl { 24 24 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 25 - sha256 = "TtEFpmfkYyVGcQPcc0bSAj+uwdXsFTvRcxbak49TrOA="; 25 + sha256 = "DhhnpFvKpd2yQKTP2yLdBVz4fwchC547twlJ88e+FqY="; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+22 -6
pkgs/development/libraries/xdg-desktop-portal/default.nix
··· 3 3 , autoreconfHook 4 4 , dbus 5 5 , fetchFromGitHub 6 - , fetchpatch 7 6 , flatpak 8 7 , fuse3 8 + , bubblewrap 9 9 , systemdMinimal 10 10 , geoclue2 11 11 , glib ··· 20 20 , python3 21 21 , pkg-config 22 22 , stdenv 23 - , substituteAll 23 + , runCommand 24 24 , wrapGAppsHook 25 25 , enableGeoLocation ? true 26 26 }: 27 27 28 - stdenv.mkDerivation rec { 28 + stdenv.mkDerivation (finalAttrs: { 29 29 pname = "xdg-desktop-portal"; 30 30 version = "1.15.0"; 31 31 ··· 33 33 34 34 src = fetchFromGitHub { 35 35 owner = "flatpak"; 36 - repo = pname; 37 - rev = version; 36 + repo = "xdg-desktop-portal"; 37 + rev = finalAttrs.version; 38 38 sha256 = "sha256-Kw3zJeGwPfw1fDo8HsgYmrpgCk/PUvWZPRloKJNAJVc="; 39 39 }; 40 40 41 + patches = [ 42 + # The icon validator copied from Flatpak needs to access the gdk-pixbuf loaders 43 + # in the Nix store and cannot bind FHS paths since those are not available on NixOS. 44 + (runCommand "icon-validator.patch" { } '' 45 + # Flatpak uses a different path 46 + substitute "${flatpak.icon-validator-patch}" "$out" \ 47 + --replace "/icon-validator/validate-icon.c" "/src/validate-icon.c" 48 + '') 49 + ]; 50 + 41 51 nativeBuildInputs = [ 42 52 autoreconfHook 43 53 libxml2 ··· 50 60 dbus 51 61 flatpak 52 62 fuse3 63 + bubblewrap 53 64 systemdMinimal # libsystemd 54 65 glib 55 66 gsettings-desktop-schemas ··· 83 94 passthru = { 84 95 tests = { 85 96 installedTests = nixosTests.installed-tests.xdg-desktop-portal; 97 + 98 + validate-icon = runCommand "test-icon-validation" { } '' 99 + ${finalAttrs.finalPackage}/libexec/xdg-desktop-portal-validate-icon --sandbox 512 512 ${../../../applications/audio/zynaddsubfx/ZynLogo.svg} > "$out" 100 + grep format=svg "$out" 101 + ''; 86 102 }; 87 103 }; 88 104 ··· 92 108 maintainers = with maintainers; [ jtojnar ]; 93 109 platforms = platforms.linux; 94 110 }; 95 - } 111 + })
+2 -2
pkgs/development/python-modules/pyatspi/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pyatspi"; 5 - version = "2.38.2"; 5 + version = "2.46.0"; 6 6 format = "other"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 - sha256 = "DnCJwLYwlhS1NiCDazRi1/kShOQ2/kkpuhYZqEHPEYU="; 10 + sha256 = "1FSJzz1HqhULGjXolJs7MQNfjCB15YjSa278Yllwxi4="; 11 11 }; 12 12 13 13 nativeBuildInputs = [ pkg-config ];
+8 -8
pkgs/development/ruby-modules/gem-config/default.nix
··· 20 20 { lib, fetchurl, writeScript, ruby, libkrb5, libxml2, libxslt, python2, stdenv, which 21 21 , libiconv, postgresql, v8, clang, sqlite, zlib, imagemagick, lasem 22 22 , pkg-config , ncurses, xapian, gpgme, util-linux, tzdata, icu, libffi 23 - , cmake, libssh2, openssl, openssl_1_1, libmysqlclient, git, perl, pcre, gecode_3, curl 23 + , cmake, libssh2, openssl, openssl_1_1, libmysqlclient, git, perl, pcre, pcre2, gecode_3, curl 24 24 , msgpack, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem 25 25 , cairo, re2, rake, gobject-introspection, gdk-pixbuf, zeromq, czmq, graphicsmagick, libcxx 26 26 , file, libvirt, glib, vips, taglib, libopus, linux-pam, libidn, protobuf, fribidi, harfbuzz ··· 69 69 cairo = attrs: { 70 70 nativeBuildInputs = [ pkg-config ] 71 71 ++ lib.optionals stdenv.isDarwin [ DarwinTools ]; 72 - buildInputs = [ gtk2 pcre xorg.libpthreadstubs xorg.libXdmcp]; 72 + buildInputs = [ gtk2 pcre2 xorg.libpthreadstubs xorg.libXdmcp]; 73 73 }; 74 74 75 75 cairo-gobject = attrs: { 76 76 nativeBuildInputs = [ pkg-config ] 77 77 ++ lib.optionals stdenv.isDarwin [ DarwinTools ]; 78 - buildInputs = [ cairo pcre xorg.libpthreadstubs xorg.libXdmcp ]; 78 + buildInputs = [ cairo pcre2 xorg.libpthreadstubs xorg.libXdmcp ]; 79 79 }; 80 80 81 81 charlock_holmes = attrs: { ··· 230 230 gio2 = attrs: { 231 231 nativeBuildInputs = [ pkg-config ] 232 232 ++ lib.optionals stdenv.isDarwin [ DarwinTools ]; 233 - buildInputs = [ gtk2 pcre gobject-introspection ] ++ lib.optionals stdenv.isLinux [ util-linux libselinux libsepol ]; 233 + buildInputs = [ gtk2 pcre pcre2 gobject-introspection ] ++ lib.optionals stdenv.isLinux [ util-linux libselinux libsepol ]; 234 234 }; 235 235 236 236 gitlab-markup = attrs: { meta.priority = 1; }; ··· 275 275 glib2 = attrs: { 276 276 nativeBuildInputs = [ pkg-config ] 277 277 ++ lib.optionals stdenv.isDarwin [ DarwinTools ]; 278 - buildInputs = [ gtk2 pcre ]; 278 + buildInputs = [ gtk2 pcre2 ]; 279 279 }; 280 280 281 281 gtk2 = attrs: { ··· 293 293 harfbuzz 294 294 libdatrie 295 295 libthai 296 - pcre 296 + pcre pcre2 297 297 xorg.libpthreadstubs 298 298 xorg.libXdmcp 299 299 ]; ··· 301 301 }; 302 302 303 303 gobject-introspection = attrs: { 304 - nativeBuildInputs = [ pkg-config pcre ] 304 + nativeBuildInputs = [ pkg-config pcre2 ] 305 305 ++ lib.optionals stdenv.isDarwin [ DarwinTools ]; 306 306 propagatedBuildInputs = [ gobject-introspection wrapGAppsHook glib ]; 307 307 }; ··· 518 518 pkg-config 519 519 fribidi 520 520 harfbuzz 521 - pcre 521 + pcre pcre2 522 522 xorg.libpthreadstubs 523 523 xorg.libXdmcp 524 524 ] ++ lib.optionals stdenv.isDarwin [ DarwinTools ];
+10
pkgs/development/tools/documentation/gi-docgen/default.nix
··· 1 1 { lib 2 2 , fetchFromGitLab 3 + , fetchpatch 3 4 , meson 4 5 , ninja 5 6 , python3 ··· 18 19 rev = version; 19 20 sha256 = "35pL/2TQRVgPfAcfOGCLlSP1LIh4r95mFC+UoXQEEHo="; 20 21 }; 22 + 23 + patches = [ 24 + # Fix gnome-builder build 25 + # https://gitlab.gnome.org/GNOME/gi-docgen/-/merge_requests/161 26 + (fetchpatch { 27 + url = "https://gitlab.gnome.org/GNOME/gi-docgen/-/commit/0524047ada3e6a5572c43dd36201ebe589d08095.patch"; 28 + sha256 = "1P+i7v1sMULOd0w8K363Mssj+tBJ2wiSmE7DlztvCbw="; 29 + }) 30 + ]; 21 31 22 32 depsBuildBuild = [ 23 33 python3
+9 -21
pkgs/development/tools/glade/default.nix
··· 2 2 , lib 3 3 , gettext 4 4 , fetchurl 5 - , fetchpatch 6 5 , python3 7 6 , meson 8 7 , ninja ··· 10 9 , gtk3 11 10 , glib 12 11 , gjs 13 - , webkitgtk 12 + , webkitgtk_4_1 14 13 , gobject-introspection 15 14 , wrapGAppsHook 16 15 , itstool ··· 25 24 26 25 stdenv.mkDerivation rec { 27 26 pname = "glade"; 28 - version = "3.38.2"; 27 + version = "3.40.0"; 29 28 30 29 src = fetchurl { 31 30 url = "mirror://gnome/sources/glade/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 32 - sha256 = "1dxsiz9ahqkxg2a1dw9sbd8jg59y5pdz4c1gvnbmql48gmj8gz4q"; 31 + sha256 = "McmtrqhJlyq5UXtWThmsGZd8qXdYsQntwxZwCPU+PZw="; 33 32 }; 34 33 35 - patches = [ 36 - # Fix build with meson 0.61 37 - # data/meson.build:4:5: ERROR: Function does not take positional arguments. 38 - # Taken from https://gitlab.gnome.org/GNOME/glade/-/merge_requests/117 39 - (fetchpatch { 40 - url = "https://gitlab.gnome.org/GNOME/glade/-/commit/61304b2e8bac8ded76643cb7c3e781f73881dd2b.patch"; 41 - sha256 = "9x6RK8Wgnm8bDxeBLV3PlUkUuH2706Ba9kwE5S87DgE="; 42 - }) 43 - # help/meson.build:6:6: ERROR: Tried to create target "help-glade-da-update-po", but a target of that name already exists. 44 - # Taken from https://gitlab.gnome.org/GNOME/glade/-/merge_requests/117 45 - (fetchpatch { 46 - url = "https://gitlab.gnome.org/GNOME/glade/-/commit/04ba6f969f716fbfe3c7feb7e4bab8678cc1e9eb.patch"; 47 - sha256 = "j3XfF7P6rndL+0PWqnp+QYph7Ba6bgcp4Pkikr2wuJA="; 48 - }) 49 - ]; 50 - 51 34 nativeBuildInputs = [ 52 35 meson 53 36 ninja ··· 66 49 gtk3 67 50 glib 68 51 gjs 69 - webkitgtk 52 + webkitgtk_4_1 70 53 libxml2 71 54 python3 72 55 python3.pkgs.pygobject3 ··· 74 57 gdk-pixbuf 75 58 gnome.adwaita-icon-theme 76 59 ]; 60 + 61 + postPatch = '' 62 + substituteInPlace meson.build \ 63 + --replace 'webkit2gtk-4.0' 'webkit2gtk-4.1' 64 + ''; 77 65 78 66 passthru = { 79 67 updateScript = gnome.updateScript {
+4 -5
pkgs/development/tools/misc/d-spy/default.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "d-spy"; 18 - version = "1.2.1"; 18 + version = "1.4.0"; 19 19 20 20 outputs = [ "out" "lib" "dev" ]; 21 21 22 22 src = fetchurl { 23 - url = "mirror://gnome/sources/dspy/${lib.versions.majorMinor version}/dspy-${version}.tar.xz"; 24 - sha256 = "TjnA1to687eJASJd0VEjOFe+Ihtfs62CwdsVhyNrZlI="; 23 + url = "mirror://gnome/sources/d-spy/${lib.versions.majorMinor version}/d-spy-${version}.tar.xz"; 24 + sha256 = "6uh0jOpiTFxMdeAhwt8dc3bk+fj76JrEQ0kR7PeIZ3I="; 25 25 }; 26 26 27 27 nativeBuildInputs = [ ··· 42 42 43 43 passthru = { 44 44 updateScript = gnome.updateScript { 45 - packageName = "dspy"; 46 - attrPath = "d-spy"; 45 + packageName = "d-spy"; 47 46 }; 48 47 }; 49 48
+6 -4
pkgs/development/tools/profiling/sysprof/capture.nix
··· 15 15 ]; 16 16 17 17 mesonFlags = [ 18 - "-Dwith_sysprofd=none" 18 + "-Dagent=false" 19 + "-Dsysprofd=none" 20 + "-Dgtk=false" 19 21 "-Dlibsysprof=false" 20 22 "-Dlibunwind=false" 21 23 "-Dhelp=false" 22 - "-Denable_tools=false" 23 - "-Denable_tests=false" 24 - "-Denable_examples=false" 24 + "-Dtools=false" 25 + "-Dtests=false" 26 + "-Dexamples=false" 25 27 ]; 26 28 27 29 meta = sysprof.meta // {
+11 -10
pkgs/development/tools/profiling/sysprof/default.nix
··· 4 4 , fetchurl 5 5 , gettext 6 6 , glib 7 - , gtk3 7 + , gtk4 8 8 , json-glib 9 9 , itstool 10 - , libdazzle 10 + , libadwaita 11 11 , libunwind 12 12 , libxml2 13 13 , meson ··· 17 17 , polkit 18 18 , shared-mime-info 19 19 , systemd 20 - , wrapGAppsHook 20 + , wrapGAppsHook4 21 21 , gnome 22 22 }: 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "sysprof"; 26 - version = "3.44.0"; 26 + version = "3.46.0"; 27 27 28 28 outputs = [ "out" "lib" "dev" ]; 29 29 30 30 src = fetchurl { 31 31 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 32 - sha256 = "q12fW3GXOzCI1Yob/fHcI8OaAvX85OXpxz4DSxeLAFs="; 32 + sha256 = "PkMNV4FQqN0LB1sX0vzBunBNQogCYvDMZR8z5JO+QHE="; 33 33 }; 34 34 35 35 nativeBuildInputs = [ ··· 41 41 ninja 42 42 pkg-config 43 43 shared-mime-info 44 - wrapGAppsHook 45 - gnome.adwaita-icon-theme 46 - glib 44 + wrapGAppsHook4 47 45 ]; 48 46 49 47 buildInputs = [ 50 - gtk3 48 + glib 49 + gtk4 51 50 json-glib 52 51 pango 53 52 polkit 54 53 systemd 55 - libdazzle 54 + libadwaita 56 55 libunwind 57 56 ]; 58 57 59 58 mesonFlags = [ 60 59 "-Dsystemdunitdir=lib/systemd/system" 60 + # In a separate libsysprof-capture package 61 + "-Dinstall-static=false" 61 62 ]; 62 63 63 64 passthru = {
+12 -1
pkgs/development/tools/vala-language-server/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , fetchFromGitHub 4 + , fetchpatch 3 5 , nix-update-script 4 6 , meson 5 7 , ninja ··· 23 25 rev = version; 24 26 sha256 = "sha256-gntGnz8uqGz2EGwWWyty/N1ImaUKAPtXVZcjgp73SQM="; 25 27 }; 28 + 29 + patches = [ 30 + # Fix regex for links in comments 31 + # https://github.com/vala-lang/vala-language-server/pull/268 32 + (fetchpatch { 33 + url = "https://github.com/vala-lang/vala-language-server/commit/b6193265d68b90755d57938c2ba1895841cf4b36.patch"; 34 + sha256 = "sha256-nWG+xQAPDVBXamuKQymvn/FBHEP7Ta9p/vhYjxxBGzI="; 35 + }) 36 + ]; 26 37 27 38 passthru = { 28 39 updateScript = nix-update-script {
+3
pkgs/development/web/valum/default.nix
··· 21 21 license = licenses.lgpl3; 22 22 platforms = platforms.linux; 23 23 maintainers = [ ]; 24 + # Likely broken by GLib 2.74 switch to PCRE 2. 25 + # https://github.com/valum-framework/valum/issues/238 26 + broken = true; 24 27 }; 25 28 }
+2 -1
pkgs/os-specific/linux/bolt/default.nix
··· 65 65 systemd 66 66 ]; 67 67 68 - doCheck = true; 68 + # https://gitlab.freedesktop.org/bolt/bolt/-/issues/181 69 + doCheck = false; 69 70 70 71 preCheck = '' 71 72 export LD_LIBRARY_PATH=${umockdev.out}/lib/
+3
pkgs/os-specific/linux/gtkgreet/default.nix
··· 40 40 "-Dlayershell=enabled" 41 41 ]; 42 42 43 + # G_APPLICATION_FLAGS_NONE is deprecated in GLib 2.73.3+. 44 + NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; 45 + 43 46 meta = with lib; { 44 47 description = "GTK based greeter for greetd, to be run under cage or similar"; 45 48 homepage = "https://git.sr.ht/~kennylevinsen/gtkgreet";
+14 -9
pkgs/tools/filesystems/eiciel/default.nix
··· 3 3 , stdenv 4 4 , acl 5 5 , gnome 6 - , gtkmm3 6 + , glibmm_2_68 7 + , gtkmm4 7 8 , meson 8 9 , ninja 9 10 , pkg-config 10 - , wrapGAppsHook 11 + , itstool 12 + , wrapGAppsHook4 13 + , gtk4 11 14 }: 12 15 13 16 stdenv.mkDerivation rec { 14 17 pname = "eiciel"; 15 - version = "0.9.13.1"; 18 + version = "0.10.0-rc2"; 16 19 17 20 outputs = [ "out" "nautilusExtension" ]; 18 21 ··· 20 23 owner = "rofirrim"; 21 24 repo = "eiciel"; 22 25 rev = version; 23 - sha256 = "0rhhw0h1hyg5kvxhjxkdz03vylgax6912mg8j4lvcz6wlsa4wkvj"; 26 + sha256 = "+MXoT6J4tKuFaSvUTcM15cKWLUnS0kYgBfqH+5lz6KY="; 24 27 }; 25 28 26 29 nativeBuildInputs = [ 27 30 meson 28 31 ninja 29 32 pkg-config 30 - wrapGAppsHook 33 + itstool 34 + wrapGAppsHook4 35 + gtk4 31 36 ]; 32 37 33 38 buildInputs = [ 34 39 acl 35 - gtkmm3 40 + glibmm_2_68 41 + gtkmm4 36 42 gnome.nautilus 37 43 ]; 38 44 39 45 mesonFlags = [ 40 - "-Dnautilus-extension-dir=${placeholder "nautilusExtension"}/lib/nautilus/extensions-3.0" 46 + "-Dnautilus-extension-dir=${placeholder "nautilusExtension"}/lib/nautilus/extensions-4" 41 47 ]; 42 48 43 49 postPatch = '' 50 + # https://github.com/rofirrim/eiciel/pull/9 44 51 substituteInPlace meson.build --replace "compiler.find_library('libacl')" "compiler.find_library('acl')" 45 - chmod +x img/install_icons.sh 46 - patchShebangs img/install_icons.sh 47 52 ''; 48 53 49 54 meta = with lib; {
+3
pkgs/tools/misc/ostree/default.nix
··· 8 8 , gobject-introspection 9 9 , gjs 10 10 , nixosTests 11 + , curl 11 12 , glib 12 13 , systemd 13 14 , xz ··· 85 86 ]; 86 87 87 88 buildInputs = [ 89 + curl 88 90 glib 89 91 systemd 90 92 e2fsprogs ··· 108 110 enableParallelBuilding = true; 109 111 110 112 configureFlags = [ 113 + "--with-curl" 111 114 "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" 112 115 "--with-systemdsystemgeneratordir=${placeholder "out"}/lib/systemd/system-generators" 113 116 "--enable-installed-tests"
+14
pkgs/tools/networking/modemmanager/default.nix
··· 1 1 { lib, stdenv, fetchurl 2 + , fetchpatch 2 3 , glib, udev, libgudev, polkit, ppp, gettext, pkg-config, python3 3 4 , libmbim, libqmi, systemd, vala, gobject-introspection, dbus 4 5 }: ··· 11 12 url = "https://www.freedesktop.org/software/ModemManager/ModemManager-${version}.tar.xz"; 12 13 sha256 = "sha256-FiVfginu6y3+y43RNwNg1G8QFeyF5vulwcvZ9DcdZes="; 13 14 }; 15 + 16 + patches = [ 17 + # Fix tests with GLib 2.73.2 18 + # https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/601 19 + (fetchpatch { 20 + url = "https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/commit/79a5a4eed2189ea87d25cbe00bc824a2572cad66.patch"; 21 + sha256 = "egGXkCzAMyqPjeO6ro23sdTddTDEGJUkV7rH8sSlSGE="; 22 + }) 23 + (fetchpatch { 24 + url = "https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/commit/51a333cd9a6707de7c623fd4c94cb6032477572f.patch"; 25 + sha256 = "1XyJ0GBmpBRwnsKPI4i/EBrF7W08HelL/PMDwmlQWcw="; 26 + }) 27 + ]; 14 28 15 29 nativeBuildInputs = [ vala gobject-introspection gettext pkg-config ]; 16 30
+2 -2
pkgs/tools/networking/networkmanager/libnma/default.nix
··· 27 27 28 28 stdenv.mkDerivation rec { 29 29 pname = "libnma"; 30 - version = "1.8.40"; 30 + version = "1.10.2"; 31 31 32 32 outputs = [ "out" "dev" "devdoc" ]; 33 33 34 34 src = fetchurl { 35 35 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 36 - sha256 = "hwp1+NRkHtDZD4Nq6m/1ESJL3pf/1W1git4um1rLKyI="; 36 + sha256 = "T8PZxAS3sTMD2TlPlpYcUpjXGvqfH6evXk8PboQqCUA="; 37 37 }; 38 38 39 39 patches = [
+4 -4
pkgs/tools/networking/networkmanager/sstp/default.nix
··· 6 6 , gnome 7 7 , gtk3 8 8 , gtk4 9 - , intltool 9 + , gettext 10 10 , libnma 11 11 , libnma-gtk4 12 12 , libsecret ··· 19 19 20 20 stdenv.mkDerivation rec { 21 21 pname = "NetworkManager-sstp"; 22 - version = "1.3.0"; 22 + version = "1.3.1"; 23 23 name = "${pname}${if withGnome then "-gnome" else ""}-${version}"; 24 24 25 25 src = fetchurl { 26 26 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 - sha256 = "+IJw3jvOYs/+NDS9HvCrSQ6wxh1x1yqwiFij7UZb+rU="; 27 + sha256 = "fQMSawiaCk/2ZeMHVVcM7PaFEKbP7bUS9Lh+htrGHX0="; 28 28 }; 29 29 30 30 nativeBuildInputs = [ 31 31 file 32 - intltool 32 + gettext 33 33 pkg-config 34 34 ]; 35 35
+59
pkgs/tools/networking/phodav/2.0.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , fetchpatch 5 + , pkg-config 6 + , libsoup 7 + , meson 8 + , ninja 9 + }: 10 + 11 + stdenv.mkDerivation rec { 12 + pname = "phodav"; 13 + version = "2.5"; 14 + 15 + outputs = [ "out" "dev" "lib" ]; 16 + 17 + src = fetchurl { 18 + url = "http://ftp.gnome.org/pub/GNOME/sources/phodav/${version}/${pname}-${version}.tar.xz"; 19 + sha256 = "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"; 20 + }; 21 + 22 + patches = [ 23 + (fetchpatch { 24 + url = "https://gitlab.gnome.org/GNOME/phodav/-/commit/ae9ac98c1b3db26070111661aba02594c62d2cef.patch"; 25 + sha256 = "sha256-jIHG6aRqG00Q6aIQsn4tyQdy/b6juW6QiUPXLmIc3TE="; 26 + }) 27 + (fetchpatch { 28 + url = "https://gitlab.gnome.org/GNOME/phodav/-/commit/560ab5ca4f836d82bddbbe66ea0f7c6b4cab6b3b.patch"; 29 + sha256 = "sha256-2gP579qhEkp7fQ8DBGYbZcjb2Tr+WpJs30Z7lsQaz2g="; 30 + }) 31 + ]; 32 + 33 + mesonFlags = [ 34 + "-Davahi=disabled" 35 + "-Dsystemd=disabled" 36 + "-Dgtk_doc=disabled" 37 + "-Dudev=disabled" 38 + ]; 39 + 40 + NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-lintl"; 41 + 42 + nativeBuildInputs = [ 43 + pkg-config 44 + meson 45 + ninja 46 + ]; 47 + 48 + buildInputs = [ 49 + libsoup 50 + ]; 51 + 52 + meta = with lib; { 53 + description = "WebDav server implementation and library using libsoup 2"; 54 + homepage = "https://wiki.gnome.org/phodav"; 55 + license = licenses.lgpl21Plus; 56 + maintainers = with maintainers; [ wegank ]; 57 + platforms = platforms.unix; 58 + }; 59 + }
+27 -25
pkgs/tools/networking/phodav/default.nix
··· 1 - { lib 2 - , stdenv 1 + { stdenv 2 + , lib 3 3 , fetchurl 4 - , fetchpatch 5 4 , pkg-config 6 - , libsoup 5 + , libsoup_3 6 + , libxml2 7 7 , meson 8 8 , ninja 9 + , gnome 9 10 }: 10 11 11 - let 12 - version = "2.5"; 13 - in 14 12 stdenv.mkDerivation rec { 15 13 pname = "phodav"; 16 - inherit version; 14 + version = "3.0"; 15 + 16 + outputs = [ "out" "dev" "lib" ]; 17 17 18 18 src = fetchurl { 19 - url = "http://ftp.gnome.org/pub/GNOME/sources/phodav/${version}/${pname}-${version}.tar.xz"; 20 - sha256 = "045rdzf8isqmzix12lkz6z073b5qvcqq6ad028advm5gf36skw3i"; 19 + url = "mirror://gnome/sources/phodav/${version}/phodav-${version}.tar.xz"; 20 + sha256 = "OS7C0G1QMA3P8e8mmiqYUwTim841IAAvyiny7cHRONE="; 21 21 }; 22 22 23 - patches = [ 24 - (fetchpatch { 25 - url = "https://gitlab.gnome.org/GNOME/phodav/-/commit/ae9ac98c1b3db26070111661aba02594c62d2cef.patch"; 26 - sha256 = "sha256-jIHG6aRqG00Q6aIQsn4tyQdy/b6juW6QiUPXLmIc3TE="; 27 - }) 28 - (fetchpatch { 29 - url = "https://gitlab.gnome.org/GNOME/phodav/-/commit/560ab5ca4f836d82bddbbe66ea0f7c6b4cab6b3b.patch"; 30 - sha256 = "sha256-2gP579qhEkp7fQ8DBGYbZcjb2Tr+WpJs30Z7lsQaz2g="; 31 - }) 23 + nativeBuildInputs = [ 24 + pkg-config 25 + meson 26 + ninja 27 + ]; 28 + 29 + buildInputs = [ 30 + libsoup_3 31 + libxml2 32 32 ]; 33 33 34 34 mesonFlags = [ 35 35 "-Davahi=disabled" 36 - "-Dsystemd=disabled" 36 + "-Dsystemdsystemunitdir=${placeholder "out"}/lib/systemd/system" 37 37 "-Dgtk_doc=disabled" 38 - "-Dudev=disabled" 38 + "-Dudevrulesdir=${placeholder "out"}/lib/udev/rules.d" 39 39 ]; 40 40 41 41 NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-lintl"; 42 42 43 - nativeBuildInputs = [ libsoup pkg-config meson ninja ]; 44 - 45 - outputs = [ "out" "dev" "lib" ]; 43 + passthru = { 44 + updateScript = gnome.updateScript { 45 + packageName = pname; 46 + }; 47 + }; 46 48 47 49 # We need to do this in pre-configure before the data/ folder disappears. 48 50 preConfigure = '' ··· 52 54 meta = with lib; { 53 55 description = "WebDav server implementation and library using libsoup"; 54 56 homepage = "https://wiki.gnome.org/phodav"; 55 - license = licenses.lgpl21; 57 + license = licenses.lgpl21Plus; 56 58 maintainers = with maintainers; [ wegank ]; 57 59 platforms = platforms.unix; 58 60 };
+2
pkgs/top-level/aliases.nix
··· 153 153 catfish = throw "'catfish' has been renamed to/replaced by 'xfce.catfish'"; # Converted to throw 2022-09-24 154 154 cde-gtk-theme = throw "cde-gtk-theme has been removed from nixpkgs as it shipped with python2 scripts that didn't work anymore"; # Added 2022-01-12 155 155 checkbashism = throw "'checkbashism' has been renamed to/replaced by 'checkbashisms'"; # Converted to throw 2022-02-22 156 + chrome-gnome-shell = gnome-browser-connector; # Added 2022-07-27 157 + chronos = throw "chronos has been removed from nixpkgs, as it was unmaintained"; # Added 2020-08-15 156 158 chunkwm = throw "chunkwm has been removed: abandoned by upstream"; # Added 2022-01-07 157 159 cifs_utils = throw "'cifs_utils' has been renamed to/replaced by 'cifs-utils'"; # Converted to throw 2022-02-22 158 160 cipherscan = throw "cipherscan was removed from nixpkgs, as it was unmaintained"; # added 2021-12-11
+31 -6
pkgs/top-level/all-packages.nix
··· 1821 1821 inherit (darwin.apple_sdk.frameworks) AppKit CoreGraphics CoreServices CoreText Foundation OpenGL; 1822 1822 }; 1823 1823 1824 + blackbox-terminal = callPackage ../applications/terminal-emulators/blackbox-terminal { }; 1825 + 1824 1826 contour = libsForQt5.callPackage ../applications/terminal-emulators/contour { fmt = fmt_8; }; 1825 1827 1826 1828 cool-retro-term = libsForQt5.callPackage ../applications/terminal-emulators/cool-retro-term { }; ··· 7432 7434 7433 7435 gssdp = callPackage ../development/libraries/gssdp { }; 7434 7436 7437 + gssdp_1_6 = callPackage ../development/libraries/gssdp/1.6.nix { }; 7438 + 7435 7439 gssdp-tools = callPackage ../development/libraries/gssdp/tools.nix { }; 7436 7440 7437 7441 grype = callPackage ../tools/security/grype { }; ··· 7464 7468 7465 7469 gupnp = callPackage ../development/libraries/gupnp { }; 7466 7470 7471 + gupnp_1_6 = callPackage ../development/libraries/gupnp/1.6.nix { }; 7472 + 7467 7473 gupnp-av = callPackage ../development/libraries/gupnp-av {}; 7468 7474 7469 7475 gupnp-dlna = callPackage ../development/libraries/gupnp-dlna {}; ··· 10163 10169 phockup = callPackage ../applications/misc/phockup { }; 10164 10170 10165 10171 phodav = callPackage ../tools/networking/phodav { }; 10172 + 10173 + phodav_2_0 = callPackage ../tools/networking/phodav/2.0.nix { }; 10166 10174 10167 10175 photon-rss = callPackage ../applications/networking/feedreaders/photon { }; 10168 10176 ··· 17858 17866 17859 17867 at-spi2-core = callPackage ../development/libraries/at-spi2-core { }; 17860 17868 17861 - at-spi2-atk = callPackage ../development/libraries/at-spi2-atk { }; 17869 + # Not moved to aliases while we decide if we should split the package again. 17870 + at-spi2-atk = at-spi2-core; 17862 17871 17863 17872 aqbanking = callPackage ../development/libraries/aqbanking { }; 17864 17873 ··· 18573 18582 18574 18583 gcr = callPackage ../development/libraries/gcr { }; 18575 18584 18585 + gcr_4 = callPackage ../development/libraries/gcr/4.nix { }; 18586 + 18576 18587 gdl = callPackage ../development/libraries/gdl { }; 18577 18588 18578 18589 gdome2 = callPackage ../development/libraries/gdome2 { }; ··· 18596 18607 geoclue2-with-demo-agent = geoclue2.override { withDemoAgent = true; }; 18597 18608 18598 18609 geocode-glib = callPackage ../development/libraries/geocode-glib {}; 18610 + 18611 + geocode-glib_2 = geocode-glib.override { 18612 + libsoup = libsoup_3; 18613 + }; 18599 18614 18600 18615 geoipWithDatabase = makeOverridable (callPackage ../development/libraries/geoip) { 18601 18616 drvName = "geoip-tools"; ··· 18970 18985 18971 18986 ace = callPackage ../development/libraries/ace { }; 18972 18987 18973 - atk = callPackage ../development/libraries/atk { }; 18988 + # Not moved to aliases while we decide if we should split the package again. 18989 + atk = at-spi2-core; 18974 18990 18975 18991 atkmm = callPackage ../development/libraries/atkmm { }; 18976 18992 ··· 19627 19643 libcdr = callPackage ../development/libraries/libcdr { lcms = lcms2; }; 19628 19644 19629 19645 libchamplain = callPackage ../development/libraries/libchamplain { }; 19646 + 19647 + libchamplain_libsoup3 = libchamplain.override { withLibsoup3 = true; }; 19630 19648 19631 19649 libchardet = callPackage ../development/libraries/libchardet { }; 19632 19650 ··· 20361 20379 20362 20380 libopusenc = callPackage ../development/libraries/libopusenc { }; 20363 20381 20364 - libosinfo = callPackage ../development/libraries/libosinfo { 20365 - inherit (gnome) libsoup; 20366 - }; 20382 + libosinfo = callPackage ../development/libraries/libosinfo { }; 20367 20383 20368 20384 libosip = callPackage ../development/libraries/osip {}; 20369 20385 ··· 22111 22127 spice = callPackage ../development/libraries/spice { }; 22112 22128 22113 22129 spice-gtk = callPackage ../development/libraries/spice-gtk { }; 22130 + 22131 + spice-gtk_libsoup2 = spice-gtk.override { withLibsoup2 = true; }; 22114 22132 22115 22133 spice-protocol = callPackage ../development/libraries/spice-protocol { }; 22116 22134 ··· 22442 22460 stdenv = clangStdenv; 22443 22461 }; 22444 22462 22463 + vte-gtk4 = vte.override { 22464 + gtkVersion = "4"; 22465 + }; 22466 + 22445 22467 vte_290 = callPackage ../development/libraries/vte/2.90.nix { }; 22446 22468 22447 22469 vtk_8 = libsForQt515.callPackage ../development/libraries/vtk/8.x.nix { ··· 27763 27785 27764 27786 inherit (gnome) empathy; 27765 27787 27788 + endeavour = callPackage ../applications/misc/endeavour { }; 27789 + 27766 27790 enhanced-ctorrent = callPackage ../applications/networking/enhanced-ctorrent { }; 27767 27791 27768 27792 entangle = callPackage ../applications/video/entangle { ··· 27867 27891 27868 27892 inherit (gnome) evince; 27869 27893 evolution-data-server = gnome.evolution-data-server; 27894 + evolution-data-server-gtk4 = evolution-data-server.override { withGtk3 = false; withGtk4 = true; }; 27870 27895 evolution-ews = callPackage ../applications/networking/mailreaders/evolution/evolution-ews { }; 27871 27896 evolution = callPackage ../applications/networking/mailreaders/evolution/evolution { }; 27872 27897 evolutionWithPlugins = callPackage ../applications/networking/mailreaders/evolution/evolution/wrapper.nix { plugins = [ evolution evolution-ews ]; }; ··· 34602 34627 34603 34628 gnome-tour = callPackage ../desktops/gnome/core/gnome-tour { }; 34604 34629 34605 - chrome-gnome-shell = callPackage ../desktops/gnome/extensions/chrome-gnome-shell { }; 34630 + gnome-browser-connector = callPackage ../desktops/gnome/extensions/gnome-browser-connector { }; 34606 34631 34607 34632 gnome-2048 = callPackage ../desktops/gnome/games/gnome-2048 { }; 34608 34633