From 30c81c8530f14a4ae57422b2f841fa16cd08e46d Mon Sep 17 00:00:00 2001 From: Chris Rendle-Short Date: Sat, 27 Jul 2019 09:28:36 +1000 Subject: [PATCH 1/2] libgdata: propagate gnome-online-accounts to reverse dependencies Required since `libgdata` now uses Meson. See also: #64295 --- pkgs/development/libraries/libgdata/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libgdata/default.nix b/pkgs/development/libraries/libgdata/default.nix index 91994a5cfbae..77d4ed19b4ed 100644 --- a/pkgs/development/libraries/libgdata/default.nix +++ b/pkgs/development/libraries/libgdata/default.nix @@ -45,7 +45,6 @@ stdenv.mkDerivation rec { buildInputs = [ gcr glib - gnome3.gnome-online-accounts liboauth libsoup libxml2 @@ -55,6 +54,7 @@ stdenv.mkDerivation rec { ]; propagatedBuildInputs = [ + gnome3.gnome-online-accounts json-glib ]; From 9a2bddfc127a551d3d3a3ce7f8b7077899c8a69c Mon Sep 17 00:00:00 2001 From: Chris Rendle-Short Date: Sun, 28 Jul 2019 09:27:29 +1000 Subject: [PATCH 2/2] libgdata: meson fixes --- pkgs/development/libraries/libgdata/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pkgs/development/libraries/libgdata/default.nix b/pkgs/development/libraries/libgdata/default.nix index 77d4ed19b4ed..48cfa098c9fa 100644 --- a/pkgs/development/libraries/libgdata/default.nix +++ b/pkgs/development/libraries/libgdata/default.nix @@ -1,5 +1,6 @@ { stdenv , fetchurl +, fetchpatch , pkgconfig , meson , ninja @@ -31,6 +32,21 @@ stdenv.mkDerivation rec { patches = [ ./installed-tests-path.patch + (fetchpatch { + # Meson fixes + url = "https://gitlab.gnome.org/GNOME/libgdata/commit/f6d0e3f3b6fa8e8ee9569372c5709c1fb84af2c1.diff"; + sha256 = "00yrppn0s21i41r9mwzvrrv7j5dida09kh7i44kv8hrbrlfag7bm"; + }) + (fetchpatch { + # Meson minor fixes + url = "https://gitlab.gnome.org/GNOME/libgdata/commit/b653f602b3c2b518101c5d909e1651534c22757a.diff"; + sha256 = "1bn0rffsvkzjl59aw8dmq1wil58x1fshz0m6xabpn79ffvbjld8j"; + }) + (fetchpatch { + # Meson: Fix G_LOG_DOMAIN + url = "https://gitlab.gnome.org/GNOME/libgdata/commit/5d318e0bf905d0f1a8b3fe1e47ee7847739082e3.diff"; + sha256 = "11i2blq811d53433kdq4hhsscgkrq5f50d9ih4ixgs3j47hg7b1w"; + }) ]; nativeBuildInputs = [