nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge pull request #179849 from jtojnar/gnome

GNOME updates

authored by

Jan Tojnar and committed by
GitHub
f58225ff 3f95f407

+96 -79
+1
nixos/tests/installed-tests/default.nix
··· 92 92 fwupd = callInstalledTest ./fwupd.nix {}; 93 93 gcab = callInstalledTest ./gcab.nix {}; 94 94 gdk-pixbuf = callInstalledTest ./gdk-pixbuf.nix {}; 95 + geocode-glib = callInstalledTest ./geocode-glib.nix {}; 95 96 gjs = callInstalledTest ./gjs.nix {}; 96 97 glib-networking = callInstalledTest ./glib-networking.nix {}; 97 98 gnome-photos = callInstalledTest ./gnome-photos.nix {};
+15 -16
pkgs/applications/audio/rhythmbox/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchurl 4 - , fetchpatch 5 4 , pkg-config 6 5 , meson 7 6 , ninja ··· 28 29 , json-glib 29 30 , itstool 30 31 , wrapGAppsHook 32 + , desktop-file-utils 31 33 , gst_all_1 32 34 , gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ] 35 + , check 33 36 }: 34 37 35 38 stdenv.mkDerivation rec { 36 39 pname = "rhythmbox"; 37 - version = "3.4.5"; 40 + version = "3.4.6"; 38 41 39 42 src = fetchurl { 40 43 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 41 - sha256 = "l+u8YPN4sibaRbtEbYmQL26hgx4j8Q76ujZVk7HnTyo="; 44 + sha256 = "+VaCEM5V5BHpKcj7leERohHb0ZzEf1ePKRxdMZtesDQ="; 42 45 }; 43 - 44 - patches = [ 45 - # Fix stuff linking against rhythmdb not finding libxml headers 46 - # included by rhythmdb.h header. 47 - # https://gitlab.gnome.org/GNOME/rhythmbox/-/merge_requests/147 48 - (fetchpatch { 49 - url = "https://gitlab.gnome.org/GNOME/rhythmbox/-/commit/7e8c7b803a45b7badf350132f8e78e3d75b99a21.patch"; 50 - sha256 = "5CE/NVlmx7FItNJCVQxx+x0DCYhUkAi/UuksfAiyWBg="; 51 - }) 52 - ]; 53 46 54 47 nativeBuildInputs = [ 55 48 pkg-config ··· 51 60 glib 52 61 itstool 53 62 wrapGAppsHook 63 + desktop-file-utils 54 64 ]; 55 65 56 66 buildInputs = [ ··· 87 95 libnotify 88 96 ] ++ gst_plugins; 89 97 90 - postInstall = '' 91 - glib-compile-schemas "$out/share/glib-2.0/schemas" 92 - ''; 98 + checkInputs = [ 99 + check 100 + ]; 101 + 102 + mesonFlags = [ 103 + "-Dtests=disabled" 104 + ]; 105 + 106 + # Requires DISPLAY 107 + doCheck = false; 93 108 94 109 preFixup = '' 95 110 gappsWrapperArgs+=(
+2 -2
pkgs/applications/backup/deja-dup/default.nix
··· 22 22 23 23 stdenv.mkDerivation rec { 24 24 pname = "deja-dup"; 25 - version = "43.3"; 25 + version = "43.4"; 26 26 27 27 src = fetchFromGitLab { 28 28 domain = "gitlab.gnome.org"; 29 29 owner = "World"; 30 30 repo = pname; 31 31 rev = version; 32 - sha256 = "sha256-HOIBAzR+7OZ1RO+MSpCQKShcikdtWCjdMUO2rE2TxiM="; 32 + sha256 = "sha256-8eqrBQrMvS4cta5RP0ibo4Zc3B8hlkftxaRyvb6JuEY="; 33 33 }; 34 34 35 35 patches = [
+2 -2
pkgs/applications/misc/orca/default.nix
··· 34 34 35 35 buildPythonApplication rec { 36 36 pname = "orca"; 37 - version = "42.1"; 37 + version = "42.2"; 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 = "6p6dLehwg4ewUqe+FqXmnOqfZ2jfrrRee9meRmNxYt4="; 43 + sha256 = "mXHp/aGqK9ZKdrMxcxNcZBWaSQssS8/757lUj+38eCw="; 44 44 }; 45 45 46 46 patches = [
+2 -2
pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "evolution-ews"; 6 - version = "3.44.2"; 6 + version = "3.44.3"; 7 7 8 8 src = fetchurl { 9 9 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 - sha256 = "xXPzlxA8FybyS+Tz+f0gzrvJtEW6CysOt8lI/YQVBho="; 10 + sha256 = "hcysooh6+FvwSORzx7bELF9WQasFpbxM/Oo04rb1vhc="; 11 11 }; 12 12 13 13 nativeBuildInputs = [ cmake gettext intltool pkg-config ];
+2 -2
pkgs/applications/networking/mailreaders/evolution/evolution/default.nix
··· 46 46 47 47 stdenv.mkDerivation rec { 48 48 pname = "evolution"; 49 - version = "3.44.2"; 49 + version = "3.44.3"; 50 50 51 51 src = fetchurl { 52 52 url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 53 - sha256 = "+scGznpXP42WdzfxWtDr66Q6h/48p1f4VBID2ZG+BjM="; 53 + sha256 = "U2sR9BM99vIW8nr5okgaGe164Ivi1KE7EoBhwmKjZJk="; 54 54 }; 55 55 56 56 nativeBuildInputs = [
+5 -18
pkgs/applications/video/pitivi/default.nix
··· 1 1 { lib 2 2 , fetchurl 3 - , fetchpatch 4 3 , pkg-config 5 4 , gettext 6 5 , itstool 7 6 , python3 8 7 , wrapGAppsHook 9 - , python3Packages 10 8 , gst_all_1 11 9 , gtk3 12 10 , gobject-introspection 13 11 , libpeas 14 12 , librsvg 15 13 , gnome 16 - , gnome-desktop 17 14 , libnotify 18 15 , gsound 19 16 , meson ··· 18 21 , gsettings-desktop-schemas 19 22 }: 20 23 21 - python3Packages.buildPythonApplication rec { 24 + python3.pkgs.buildPythonApplication rec { 22 25 pname = "pitivi"; 23 - version = "2021.05"; 26 + version = "2022.06"; 24 27 25 28 format = "other"; 26 29 27 30 src = fetchurl { 28 31 url = "mirror://gnome/sources/pitivi/${lib.versions.major version}/${pname}-${version}.tar.xz"; 29 - sha256 = "z1aTxGxCqw2hSi5Zv89LyIBgS0HpzTqo0uvcYIJ7dcc="; 32 + sha256 = "Uz0448bSEcK9DpXiuWsPCDO98NXUd6zgffYRWDUGyDg="; 30 33 }; 31 34 32 35 patches = [ ··· 34 37 # and saves them to the generated binary. This would make the build-time 35 38 # dependencies part of the closure so we remove it. 36 39 ./prevent-closure-contamination.patch 37 - 38 - # Fix build with meson 0.61 39 - # https://gitlab.gnome.org/GNOME/pitivi/-/merge_requests/414 40 - (fetchpatch { 41 - url = "https://gitlab.gnome.org/GNOME/pitivi/-/commit/ddf2369d1fc6fddd63f676cc905a8b8e96291a4c.patch"; 42 - sha256 = "MC4naGnqhrYlFBFHZaSzbOzrqaNK5/Xv5jBmCu0fLQE="; 43 - }) 44 40 ]; 45 41 46 42 nativeBuildInputs = [ ··· 51 61 gtk3 52 62 libpeas 53 63 librsvg 54 - gnome-desktop 55 64 gsound 56 - gnome.adwaita-icon-theme 57 65 gsettings-desktop-schemas 58 66 libnotify 59 67 ] ++ (with gst_all_1; [ ··· 65 77 gst-devtools 66 78 ]); 67 79 68 - pythonPath = with python3Packages; [ 80 + pythonPath = with python3.pkgs; [ 69 81 pygobject3 70 82 gst-python 71 - pyxdg 72 83 numpy 73 84 pycairo 74 85 matplotlib 75 - dbus-python 86 + librosa 76 87 ]; 77 88 78 89 postPatch = ''
+3 -6
pkgs/desktops/gnome/apps/gnome-boxes/default.nix
··· 13 13 , gtk3 14 14 , gtksourceview4 15 15 , gtk-vnc 16 - , freerdp 17 16 , libvirt 18 17 , spice-gtk 19 18 , python3 ··· 54 55 55 56 stdenv.mkDerivation rec { 56 57 pname = "gnome-boxes"; 57 - version = "42.1"; 58 + version = "42.2"; 58 59 59 60 src = fetchurl { 60 61 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 61 - sha256 = "lvXQEbdQjbVhvw0WbA6p6LEhgFxA5dnzYRkkXBUXIIA="; 62 + sha256 = "98K8oU3K4oONsR+iyA4jQI41SBeK+GGg1NDcxql4ABU="; 62 63 }; 63 64 64 65 patches = [ 65 - # Fix path to libgovf-0.1.so (and libgtk-frdp-0.1.so when enabling rdp meson option) 66 - # in the gir file. We patch gobject-introspection to hardcode absolute paths but 66 + # Fix path to libgovf-0.1.so in the gir file. We patch gobject-introspection to hardcode absolute paths but 67 67 # our Meson patch will only pass the info when install_dir is absolute as well. 68 68 ./fix-gir-lib-path.patch 69 69 ]; ··· 91 93 buildInputs = [ 92 94 acl 93 95 cyrus_sasl 94 - freerdp 95 96 gdbm 96 97 glib 97 98 glib-networking
-11
pkgs/desktops/gnome/apps/gnome-boxes/fix-gir-lib-path.patch
··· 9 9 ) 10 10 11 11 govf_dep = declare_dependency( 12 - --- a/subprojects/gtk-frdp/src/meson.build 13 - +++ b/subprojects/gtk-frdp/src/meson.build 14 - @@ -50,7 +50,7 @@ gtk_frdp_lib = shared_library('gtk-frdp-' + api_version, 15 - gtk_frdp_sources, 16 - dependencies: gtk_frdp_deps, 17 - install: true, 18 - - install_dir: libdir 19 - + install_dir: get_option ('prefix') / libdir 20 - ) 21 - 22 - gtk_frdp_dep = declare_dependency(
+2 -2
pkgs/desktops/gnome/apps/gnome-maps/default.nix
··· 30 30 31 31 stdenv.mkDerivation rec { 32 32 pname = "gnome-maps"; 33 - version = "42.2"; 33 + version = "42.3"; 34 34 35 35 src = fetchurl { 36 36 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 37 - sha256 = "sha256-Xm0bDKfMk56pGq39pWM6hl6oX6VlADaGGyv+8L/QabE="; 37 + sha256 = "sha256-5FZGf6zzyP0QyThrXnTEPZWVrZ+3Ulf32gFK+YPWnNE="; 38 38 }; 39 39 40 40 doCheck = true;
+2 -2
pkgs/desktops/gnome/core/evolution-data-server/default.nix
··· 45 45 46 46 stdenv.mkDerivation rec { 47 47 pname = "evolution-data-server"; 48 - version = "3.44.2"; 48 + version = "3.44.3"; 49 49 50 50 outputs = [ "out" "dev" ]; 51 51 52 52 src = fetchurl { 53 53 url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 54 - sha256 = "Ltcq/k1rsXD4co+uoJB/7hAhLf3nqfq4L7zIPQ8i8Cg="; 54 + sha256 = "kEOrU/NB2hAxXFUDhKazIEMBk/yNeGHdJcTpsuC+Qls="; 55 55 }; 56 56 57 57 patches = [
+2 -2
pkgs/desktops/gnome/core/gnome-calculator/default.nix
··· 25 25 26 26 stdenv.mkDerivation rec { 27 27 pname = "gnome-calculator"; 28 - version = "42.1"; 28 + version = "42.2"; 29 29 30 30 src = fetchurl { 31 31 url = "mirror://gnome/sources/gnome-calculator/${lib.versions.major version}/${pname}-${version}.tar.xz"; 32 - sha256 = "700k5Cpl3IYOYgbztHC30jPCripNSWXYhZqp6oo5Ws0="; 32 + sha256 = "M9qxvKQ2WNZlIJWLD2dMsK0xhc/TDBLkWef2lIHFxqA="; 33 33 }; 34 34 35 35 nativeBuildInputs = [
+2 -2
pkgs/desktops/gnome/core/sushi/default.nix
··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "sushi"; 26 - version = "41.2"; 26 + version = "42.0"; 27 27 28 28 src = fetchurl { 29 29 url = "mirror://gnome/sources/sushi/${lib.versions.major version}/${pname}-${version}.tar.xz"; 30 - sha256 = "tZ+0LJllxzYfdilt0qNARatlUGXqQUPeWsiyygyq6l4="; 30 + sha256 = "RdjbevRaeXhOejRYjRSeqVXIvkS7gqNuiWgpQFt8iCA="; 31 31 }; 32 32 33 33 nativeBuildInputs = [
+42 -10
pkgs/development/libraries/geocode-glib/default.nix
··· 1 - { fetchurl, lib, stdenv, meson, ninja, pkg-config, gettext, gtk-doc, docbook_xsl, gobject-introspection, gnome, libsoup, json-glib, glib }: 1 + { fetchurl 2 + , lib 3 + , stdenv 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , gettext 8 + , gtk-doc 9 + , docbook-xsl-nons 10 + , gobject-introspection 11 + , gnome 12 + , libsoup 13 + , json-glib 14 + , glib 15 + , nixosTests 16 + }: 2 17 3 18 stdenv.mkDerivation rec { 4 19 pname = "geocode-glib"; 5 - version = "3.26.2"; 20 + version = "3.26.3"; 6 21 7 22 outputs = [ "out" "dev" "devdoc" "installedTests" ]; 8 23 9 24 src = fetchurl { 10 - url = "mirror://gnome/sources/geocode-glib/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 - sha256 = "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"; 25 + url = "mirror://gnome/sources/geocode-glib/${lib.versions.majorMinor version}/geocode-glib-${version}.tar.xz"; 26 + sha256 = "Hf6ug7kOzMobbPfc98XjsxeCjPC1YgXERx7w+RGZl2Y="; 12 27 }; 13 - 14 - nativeBuildInputs = [ meson ninja pkg-config gettext gtk-doc docbook_xsl gobject-introspection ]; 15 - buildInputs = [ glib libsoup json-glib ]; 16 28 17 29 patches = [ 18 30 ./installed-tests-path.patch 19 31 ]; 20 32 21 - postPatch = '' 22 - substituteInPlace geocode-glib/tests/meson.build --subst-var-by "installedTests" "$installedTests" 23 - ''; 33 + nativeBuildInputs = [ 34 + meson 35 + ninja 36 + pkg-config 37 + gettext 38 + gtk-doc 39 + docbook-xsl-nons 40 + gobject-introspection 41 + ]; 42 + 43 + buildInputs = [ 44 + glib 45 + libsoup 46 + json-glib 47 + ]; 48 + 49 + mesonFlags = [ 50 + "-Dsoup2=${lib.boolToString (lib.versionOlder libsoup.version "2.99")}" 51 + "-Dinstalled_test_prefix=${placeholder "installedTests"}" 52 + ]; 24 53 25 54 passthru = { 26 55 updateScript = gnome.updateScript { 27 56 packageName = pname; 57 + }; 58 + tests = { 59 + installed-tests = nixosTests.installed-tests.geocode-glib; 28 60 }; 29 61 }; 30 62
+14 -2
pkgs/development/libraries/geocode-glib/installed-tests-path.patch
··· 1 1 --- a/geocode-glib/tests/meson.build 2 2 +++ b/geocode-glib/tests/meson.build 3 3 @@ -1,4 +1,4 @@ 4 - -install_dir = get_option('libexecdir') + '/installed-tests/geocode-glib' 5 - +install_dir = '@installedTests@/libexec/installed-tests/geocode-glib' 4 + -install_dir = get_option('prefix') / get_option('datadir') / 'installed-tests' / library_name 5 + +install_dir = get_option('installed_test_prefix') / 'share' / 'installed-tests' / library_name 6 6 7 7 e = executable('geo-uri', 8 8 'geo-uri.c', 9 + --- a/meson_options.txt 10 + +++ b/meson_options.txt 11 + @@ -1,6 +1,9 @@ 12 + option('enable-installed-tests', 13 + type: 'boolean', value: true, 14 + description: 'Build & install test programs') 15 + +option('installed_test_prefix', 16 + + type: 'string', value: '', 17 + + description: 'Prefix for installed tests') 18 + option('enable-introspection', 19 + type: 'boolean', value: true, 20 + description: 'Whether to enable the introspection generation')