From e88d37389cb58827dd39d7a2712ef34cc5dc190d Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 1 Jul 2022 22:24:14 +0000 Subject: [PATCH 01/12] =?UTF-8?q?evolution-ews:=203.44.2=20=E2=86=92=203.4?= =?UTF-8?q?4.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/evolution-ews/-/compare/3.44.2...3.44.3 --- .../mailreaders/evolution/evolution-ews/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix b/pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix index bb7f6c96de45..16e5508281d1 100644 --- a/pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix +++ b/pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix @@ -3,11 +3,11 @@ stdenv.mkDerivation rec { pname = "evolution-ews"; - version = "3.44.2"; + version = "3.44.3"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "xXPzlxA8FybyS+Tz+f0gzrvJtEW6CysOt8lI/YQVBho="; + sha256 = "hcysooh6+FvwSORzx7bELF9WQasFpbxM/Oo04rb1vhc="; }; nativeBuildInputs = [ cmake gettext intltool pkg-config ]; From d87a011c1e38153508bf6940d6bc2a5221069220 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 1 Jul 2022 22:24:16 +0000 Subject: [PATCH 02/12] =?UTF-8?q?evolution-data-server:=203.44.2=20?= =?UTF-8?q?=E2=86=92=203.44.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/evolution-data-server/-/compare/3.44.2...3.44.3 --- pkgs/desktops/gnome/core/evolution-data-server/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnome/core/evolution-data-server/default.nix b/pkgs/desktops/gnome/core/evolution-data-server/default.nix index d0252bc39c38..0a8d46157a6e 100644 --- a/pkgs/desktops/gnome/core/evolution-data-server/default.nix +++ b/pkgs/desktops/gnome/core/evolution-data-server/default.nix @@ -45,13 +45,13 @@ stdenv.mkDerivation rec { pname = "evolution-data-server"; - version = "3.44.2"; + version = "3.44.3"; outputs = [ "out" "dev" ]; src = fetchurl { url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "Ltcq/k1rsXD4co+uoJB/7hAhLf3nqfq4L7zIPQ8i8Cg="; + sha256 = "kEOrU/NB2hAxXFUDhKazIEMBk/yNeGHdJcTpsuC+Qls="; }; patches = [ From bd9e9f512daf9b8f1bad82f7a3c8eb8fe70df17b Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 1 Jul 2022 22:24:22 +0000 Subject: [PATCH 03/12] =?UTF-8?q?evolution:=203.44.2=20=E2=86=92=203.44.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/evolution/-/compare/3.44.2...3.44.3 --- .../networking/mailreaders/evolution/evolution/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/mailreaders/evolution/evolution/default.nix b/pkgs/applications/networking/mailreaders/evolution/evolution/default.nix index adb457068a03..6a571ffacf8f 100644 --- a/pkgs/applications/networking/mailreaders/evolution/evolution/default.nix +++ b/pkgs/applications/networking/mailreaders/evolution/evolution/default.nix @@ -46,11 +46,11 @@ stdenv.mkDerivation rec { pname = "evolution"; - version = "3.44.2"; + version = "3.44.3"; src = fetchurl { url = "mirror://gnome/sources/evolution/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "+scGznpXP42WdzfxWtDr66Q6h/48p1f4VBID2ZG+BjM="; + sha256 = "U2sR9BM99vIW8nr5okgaGe164Ivi1KE7EoBhwmKjZJk="; }; nativeBuildInputs = [ From 5e2d29c7f2cfa964153d60095c3fa08584b5a928 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 1 Jul 2022 22:24:45 +0000 Subject: [PATCH 04/12] =?UTF-8?q?gnome.gnome-boxes:=2042.1=20=E2=86=92=204?= =?UTF-8?q?2.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/gnome-boxes/-/compare/42.1...42.2 Tarball no longer contains gtk-frdp subproject and it is going to be dropped in the future: https://gitlab.gnome.org/GNOME/gnome-boxes/-/merge_requests/532 --- pkgs/desktops/gnome/apps/gnome-boxes/default.nix | 9 +++------ .../gnome/apps/gnome-boxes/fix-gir-lib-path.patch | 11 ----------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/pkgs/desktops/gnome/apps/gnome-boxes/default.nix b/pkgs/desktops/gnome/apps/gnome-boxes/default.nix index 9b770c0680e7..ebf80a2ab504 100644 --- a/pkgs/desktops/gnome/apps/gnome-boxes/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-boxes/default.nix @@ -13,7 +13,6 @@ , gtk3 , gtksourceview4 , gtk-vnc -, freerdp , libvirt , spice-gtk , python3 @@ -55,16 +54,15 @@ stdenv.mkDerivation rec { pname = "gnome-boxes"; - version = "42.1"; + version = "42.2"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; - sha256 = "lvXQEbdQjbVhvw0WbA6p6LEhgFxA5dnzYRkkXBUXIIA="; + sha256 = "98K8oU3K4oONsR+iyA4jQI41SBeK+GGg1NDcxql4ABU="; }; patches = [ - # Fix path to libgovf-0.1.so (and libgtk-frdp-0.1.so when enabling rdp meson option) - # in the gir file. We patch gobject-introspection to hardcode absolute paths but + # Fix path to libgovf-0.1.so in the gir file. We patch gobject-introspection to hardcode absolute paths but # our Meson patch will only pass the info when install_dir is absolute as well. ./fix-gir-lib-path.patch ]; @@ -93,7 +91,6 @@ stdenv.mkDerivation rec { buildInputs = [ acl cyrus_sasl - freerdp gdbm glib glib-networking diff --git a/pkgs/desktops/gnome/apps/gnome-boxes/fix-gir-lib-path.patch b/pkgs/desktops/gnome/apps/gnome-boxes/fix-gir-lib-path.patch index 6b0ba4732997..ec2a4285cc0f 100644 --- a/pkgs/desktops/gnome/apps/gnome-boxes/fix-gir-lib-path.patch +++ b/pkgs/desktops/gnome/apps/gnome-boxes/fix-gir-lib-path.patch @@ -9,14 +9,3 @@ ) govf_dep = declare_dependency( ---- a/subprojects/gtk-frdp/src/meson.build -+++ b/subprojects/gtk-frdp/src/meson.build -@@ -50,7 +50,7 @@ gtk_frdp_lib = shared_library('gtk-frdp-' + api_version, - gtk_frdp_sources, - dependencies: gtk_frdp_deps, - install: true, -- install_dir: libdir -+ install_dir: get_option ('prefix') / libdir - ) - - gtk_frdp_dep = declare_dependency( From 6654f950105717b7401a0d140fa9c00043c235f1 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 1 Jul 2022 22:24:46 +0000 Subject: [PATCH 05/12] =?UTF-8?q?gnome.gnome-calculator:=2042.1=20?= =?UTF-8?q?=E2=86=92=2042.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/gnome-calculator/-/compare/42.1...42.2 --- pkgs/desktops/gnome/core/gnome-calculator/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnome/core/gnome-calculator/default.nix b/pkgs/desktops/gnome/core/gnome-calculator/default.nix index 351673d532e3..c31c6de3b9f1 100644 --- a/pkgs/desktops/gnome/core/gnome-calculator/default.nix +++ b/pkgs/desktops/gnome/core/gnome-calculator/default.nix @@ -25,11 +25,11 @@ stdenv.mkDerivation rec { pname = "gnome-calculator"; - version = "42.1"; + version = "42.2"; src = fetchurl { url = "mirror://gnome/sources/gnome-calculator/${lib.versions.major version}/${pname}-${version}.tar.xz"; - sha256 = "700k5Cpl3IYOYgbztHC30jPCripNSWXYhZqp6oo5Ws0="; + sha256 = "M9qxvKQ2WNZlIJWLD2dMsK0xhc/TDBLkWef2lIHFxqA="; }; nativeBuildInputs = [ From 679a373a81d3e88bd76afe10c9d3cd6205965937 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 1 Jul 2022 22:25:04 +0000 Subject: [PATCH 06/12] =?UTF-8?q?gnome.gnome-maps:=2042.2=20=E2=86=92=2042?= =?UTF-8?q?.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/gnome-maps/-/compare/v42.2...v42.3 --- pkgs/desktops/gnome/apps/gnome-maps/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnome/apps/gnome-maps/default.nix b/pkgs/desktops/gnome/apps/gnome-maps/default.nix index 3ed33be4e98a..1b419aa892e6 100644 --- a/pkgs/desktops/gnome/apps/gnome-maps/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-maps/default.nix @@ -30,11 +30,11 @@ stdenv.mkDerivation rec { pname = "gnome-maps"; - version = "42.2"; + version = "42.3"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; - sha256 = "sha256-Xm0bDKfMk56pGq39pWM6hl6oX6VlADaGGyv+8L/QabE="; + sha256 = "sha256-5FZGf6zzyP0QyThrXnTEPZWVrZ+3Ulf32gFK+YPWnNE="; }; doCheck = true; From ac47a22add424a0f35dda0949862e702e94e3d4a Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 1 Jul 2022 22:25:35 +0000 Subject: [PATCH 07/12] =?UTF-8?q?gnome.sushi:=2041.2=20=E2=86=92=2042.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/sushi/-/compare/41.2...42.0 --- pkgs/desktops/gnome/core/sushi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/gnome/core/sushi/default.nix b/pkgs/desktops/gnome/core/sushi/default.nix index af6a81b34787..d927fff95594 100644 --- a/pkgs/desktops/gnome/core/sushi/default.nix +++ b/pkgs/desktops/gnome/core/sushi/default.nix @@ -23,11 +23,11 @@ stdenv.mkDerivation rec { pname = "sushi"; - version = "41.2"; + version = "42.0"; src = fetchurl { url = "mirror://gnome/sources/sushi/${lib.versions.major version}/${pname}-${version}.tar.xz"; - sha256 = "tZ+0LJllxzYfdilt0qNARatlUGXqQUPeWsiyygyq6l4="; + sha256 = "RdjbevRaeXhOejRYjRSeqVXIvkS7gqNuiWgpQFt8iCA="; }; nativeBuildInputs = [ From dbb3c8d6a716809dfcb1bb159d2576c53bb461d6 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 1 Jul 2022 22:39:56 +0000 Subject: [PATCH 08/12] =?UTF-8?q?orca:=2042.1=20=E2=86=92=2042.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/orca/-/compare/ORCA_42_1...ORCA_42_2 --- pkgs/applications/misc/orca/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/orca/default.nix b/pkgs/applications/misc/orca/default.nix index b2c34a883510..09dae9a7ab93 100644 --- a/pkgs/applications/misc/orca/default.nix +++ b/pkgs/applications/misc/orca/default.nix @@ -34,13 +34,13 @@ buildPythonApplication rec { pname = "orca"; - version = "42.1"; + version = "42.2"; format = "other"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; - sha256 = "6p6dLehwg4ewUqe+FqXmnOqfZ2jfrrRee9meRmNxYt4="; + sha256 = "mXHp/aGqK9ZKdrMxcxNcZBWaSQssS8/757lUj+38eCw="; }; patches = [ From c6217958d040ffd004c6d553a6481ca9d92d0357 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 1 Jul 2022 22:40:06 +0000 Subject: [PATCH 09/12] =?UTF-8?q?rhythmbox:=203.4.5=20=E2=86=92=203.4.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/rhythmbox/-/compare/v3.4.5...v3.4.6 - Build script now compiles schemas automatically. - Add some initial test dependencies. --- pkgs/applications/audio/rhythmbox/default.nix | 31 +++++++++---------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/pkgs/applications/audio/rhythmbox/default.nix b/pkgs/applications/audio/rhythmbox/default.nix index 0ba86567c7c8..853613c9a5f5 100644 --- a/pkgs/applications/audio/rhythmbox/default.nix +++ b/pkgs/applications/audio/rhythmbox/default.nix @@ -1,7 +1,6 @@ { stdenv , lib , fetchurl -, fetchpatch , pkg-config , meson , ninja @@ -29,29 +28,21 @@ , json-glib , itstool , wrapGAppsHook +, desktop-file-utils , gst_all_1 , gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ] +, check }: stdenv.mkDerivation rec { pname = "rhythmbox"; - version = "3.4.5"; + version = "3.4.6"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "l+u8YPN4sibaRbtEbYmQL26hgx4j8Q76ujZVk7HnTyo="; + sha256 = "+VaCEM5V5BHpKcj7leERohHb0ZzEf1ePKRxdMZtesDQ="; }; - patches = [ - # Fix stuff linking against rhythmdb not finding libxml headers - # included by rhythmdb.h header. - # https://gitlab.gnome.org/GNOME/rhythmbox/-/merge_requests/147 - (fetchpatch { - url = "https://gitlab.gnome.org/GNOME/rhythmbox/-/commit/7e8c7b803a45b7badf350132f8e78e3d75b99a21.patch"; - sha256 = "5CE/NVlmx7FItNJCVQxx+x0DCYhUkAi/UuksfAiyWBg="; - }) - ]; - nativeBuildInputs = [ pkg-config meson @@ -60,6 +51,7 @@ stdenv.mkDerivation rec { glib itstool wrapGAppsHook + desktop-file-utils ]; buildInputs = [ @@ -95,9 +87,16 @@ stdenv.mkDerivation rec { libnotify ] ++ gst_plugins; - postInstall = '' - glib-compile-schemas "$out/share/glib-2.0/schemas" - ''; + checkInputs = [ + check + ]; + + mesonFlags = [ + "-Dtests=disabled" + ]; + + # Requires DISPLAY + doCheck = false; preFixup = '' gappsWrapperArgs+=( From e13726c80ea86cb356293cd7d2d2ab44995ee4f9 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 1 Jul 2022 22:40:07 +0000 Subject: [PATCH 10/12] =?UTF-8?q?pitivi:=202021.05=20=E2=86=92=202022.06?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/pitivi/-/compare/2021.05.0...2022.06.0 - Add librosa for beat detection - Also remove some dependencies that have long been unneeded. --- pkgs/applications/video/pitivi/default.nix | 23 +++++----------------- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/pkgs/applications/video/pitivi/default.nix b/pkgs/applications/video/pitivi/default.nix index 1b97fa9b7c66..5406b7dfa8a8 100644 --- a/pkgs/applications/video/pitivi/default.nix +++ b/pkgs/applications/video/pitivi/default.nix @@ -1,19 +1,16 @@ { lib , fetchurl -, fetchpatch , pkg-config , gettext , itstool , python3 , wrapGAppsHook -, python3Packages , gst_all_1 , gtk3 , gobject-introspection , libpeas , librsvg , gnome -, gnome-desktop , libnotify , gsound , meson @@ -21,15 +18,15 @@ , gsettings-desktop-schemas }: -python3Packages.buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "pitivi"; - version = "2021.05"; + version = "2022.06"; format = "other"; src = fetchurl { url = "mirror://gnome/sources/pitivi/${lib.versions.major version}/${pname}-${version}.tar.xz"; - sha256 = "z1aTxGxCqw2hSi5Zv89LyIBgS0HpzTqo0uvcYIJ7dcc="; + sha256 = "Uz0448bSEcK9DpXiuWsPCDO98NXUd6zgffYRWDUGyDg="; }; patches = [ @@ -37,13 +34,6 @@ python3Packages.buildPythonApplication rec { # and saves them to the generated binary. This would make the build-time # dependencies part of the closure so we remove it. ./prevent-closure-contamination.patch - - # Fix build with meson 0.61 - # https://gitlab.gnome.org/GNOME/pitivi/-/merge_requests/414 - (fetchpatch { - url = "https://gitlab.gnome.org/GNOME/pitivi/-/commit/ddf2369d1fc6fddd63f676cc905a8b8e96291a4c.patch"; - sha256 = "MC4naGnqhrYlFBFHZaSzbOzrqaNK5/Xv5jBmCu0fLQE="; - }) ]; nativeBuildInputs = [ @@ -61,9 +51,7 @@ python3Packages.buildPythonApplication rec { gtk3 libpeas librsvg - gnome-desktop gsound - gnome.adwaita-icon-theme gsettings-desktop-schemas libnotify ] ++ (with gst_all_1; [ @@ -77,14 +65,13 @@ python3Packages.buildPythonApplication rec { gst-devtools ]); - pythonPath = with python3Packages; [ + pythonPath = with python3.pkgs; [ pygobject3 gst-python - pyxdg numpy pycairo matplotlib - dbus-python + librosa ]; postPatch = '' From fb2877c36f3e2a6de74dce7310160d9673a4a48f Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 1 Jul 2022 22:24:22 +0000 Subject: [PATCH 11/12] =?UTF-8?q?geocode-glib:=203.26.2=20=E2=86=92=203.26?= =?UTF-8?q?.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/geocode-glib/-/compare/3.26.2...3.26.3 - Add support for linking against libsoup 3 (incompatible ABI). - Format the expression. - Register installed tests (currently broken). --- nixos/tests/installed-tests/default.nix | 1 + .../libraries/geocode-glib/default.nix | 52 +++++++++++++++---- .../geocode-glib/installed-tests-path.patch | 16 +++++- 3 files changed, 57 insertions(+), 12 deletions(-) diff --git a/nixos/tests/installed-tests/default.nix b/nixos/tests/installed-tests/default.nix index c6fb37cfe584..b81384aa8c0b 100644 --- a/nixos/tests/installed-tests/default.nix +++ b/nixos/tests/installed-tests/default.nix @@ -92,6 +92,7 @@ in fwupd = callInstalledTest ./fwupd.nix {}; gcab = callInstalledTest ./gcab.nix {}; gdk-pixbuf = callInstalledTest ./gdk-pixbuf.nix {}; + geocode-glib = callInstalledTest ./geocode-glib.nix {}; gjs = callInstalledTest ./gjs.nix {}; glib-networking = callInstalledTest ./glib-networking.nix {}; gnome-photos = callInstalledTest ./gnome-photos.nix {}; diff --git a/pkgs/development/libraries/geocode-glib/default.nix b/pkgs/development/libraries/geocode-glib/default.nix index 458e0d59a0d5..090dbcc70169 100644 --- a/pkgs/development/libraries/geocode-glib/default.nix +++ b/pkgs/development/libraries/geocode-glib/default.nix @@ -1,31 +1,63 @@ -{ fetchurl, lib, stdenv, meson, ninja, pkg-config, gettext, gtk-doc, docbook_xsl, gobject-introspection, gnome, libsoup, json-glib, glib }: +{ fetchurl +, lib +, stdenv +, meson +, ninja +, pkg-config +, gettext +, gtk-doc +, docbook-xsl-nons +, gobject-introspection +, gnome +, libsoup +, json-glib +, glib +, nixosTests +}: stdenv.mkDerivation rec { pname = "geocode-glib"; - version = "3.26.2"; + version = "3.26.3"; outputs = [ "out" "dev" "devdoc" "installedTests" ]; src = fetchurl { - url = "mirror://gnome/sources/geocode-glib/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "1l8g0f13xgkrk335afr9w8k46mziwb2jnyhl07jccl5yl37q9zh1"; + url = "mirror://gnome/sources/geocode-glib/${lib.versions.majorMinor version}/geocode-glib-${version}.tar.xz"; + sha256 = "Hf6ug7kOzMobbPfc98XjsxeCjPC1YgXERx7w+RGZl2Y="; }; - nativeBuildInputs = [ meson ninja pkg-config gettext gtk-doc docbook_xsl gobject-introspection ]; - buildInputs = [ glib libsoup json-glib ]; - patches = [ ./installed-tests-path.patch ]; - postPatch = '' - substituteInPlace geocode-glib/tests/meson.build --subst-var-by "installedTests" "$installedTests" - ''; + nativeBuildInputs = [ + meson + ninja + pkg-config + gettext + gtk-doc + docbook-xsl-nons + gobject-introspection + ]; + + buildInputs = [ + glib + libsoup + json-glib + ]; + + mesonFlags = [ + "-Dsoup2=${lib.boolToString (lib.versionOlder libsoup.version "2.99")}" + "-Dinstalled_test_prefix=${placeholder "installedTests"}" + ]; passthru = { updateScript = gnome.updateScript { packageName = pname; }; + tests = { + installed-tests = nixosTests.installed-tests.geocode-glib; + }; }; meta = with lib; { diff --git a/pkgs/development/libraries/geocode-glib/installed-tests-path.patch b/pkgs/development/libraries/geocode-glib/installed-tests-path.patch index 499c68008088..c68b7a3a75c3 100644 --- a/pkgs/development/libraries/geocode-glib/installed-tests-path.patch +++ b/pkgs/development/libraries/geocode-glib/installed-tests-path.patch @@ -1,8 +1,20 @@ --- a/geocode-glib/tests/meson.build +++ b/geocode-glib/tests/meson.build @@ -1,4 +1,4 @@ --install_dir = get_option('libexecdir') + '/installed-tests/geocode-glib' -+install_dir = '@installedTests@/libexec/installed-tests/geocode-glib' +-install_dir = get_option('prefix') / get_option('datadir') / 'installed-tests' / library_name ++install_dir = get_option('installed_test_prefix') / 'share' / 'installed-tests' / library_name e = executable('geo-uri', 'geo-uri.c', +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -1,6 +1,9 @@ + option('enable-installed-tests', + type: 'boolean', value: true, + description: 'Build & install test programs') ++option('installed_test_prefix', ++ type: 'string', value: '', ++ description: 'Prefix for installed tests') + option('enable-introspection', + type: 'boolean', value: true, + description: 'Whether to enable the introspection generation') From e2d48d0ece7aa3033c670f2bcae727e0ed0ae0d7 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 2 Jul 2022 02:27:57 +0200 Subject: [PATCH 12/12] =?UTF-8?q?deja-dup:=2043.3=20=E2=86=92=2043.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/World/deja-dup/-/compare/43.3...43.4 --- pkgs/applications/backup/deja-dup/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/backup/deja-dup/default.nix b/pkgs/applications/backup/deja-dup/default.nix index 0151fb073333..9055b46284c0 100644 --- a/pkgs/applications/backup/deja-dup/default.nix +++ b/pkgs/applications/backup/deja-dup/default.nix @@ -22,14 +22,14 @@ stdenv.mkDerivation rec { pname = "deja-dup"; - version = "43.3"; + version = "43.4"; src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "World"; repo = pname; rev = version; - sha256 = "sha256-HOIBAzR+7OZ1RO+MSpCQKShcikdtWCjdMUO2rE2TxiM="; + sha256 = "sha256-8eqrBQrMvS4cta5RP0ibo4Zc3B8hlkftxaRyvb6JuEY="; }; patches = [