From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Becze Subject: bug#36896: [PATCH] wrapped evolution so that it know where its gsettings are Date: Sat, 17 Aug 2019 10:35:59 -0400 Message-ID: <20190817143559.3975-1-mjbecze@riseup.net> References: <18ecfb89-c1e7-3985-06d1-24a9abe0ecb7@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54712) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyzpH-0005p3-0U for bug-guix@gnu.org; Sat, 17 Aug 2019 10:37:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyzpF-0004Je-Vi for bug-guix@gnu.org; Sat, 17 Aug 2019 10:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47881) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyzpF-0004JV-T5 for bug-guix@gnu.org; Sat, 17 Aug 2019 10:37:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hyzpF-0005Qx-Pp for bug-guix@gnu.org; Sat, 17 Aug 2019 10:37:01 -0400 In-Reply-To: <18ecfb89-c1e7-3985-06d1-24a9abe0ecb7@riseup.net> Sender: "Debbugs-submit" Resent-Message-ID: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36896@debbugs.gnu.org --- gnu/packages/gnome.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index d5e46e09c1..1a091de938 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -39,6 +39,7 @@ ;;; Copyright © 2019 Giacomo Leidi ;;; Copyright © 2019 Jelle Licht ;;; Copyright © 2019 Jonathan Frederickson +;;; Copyright © 2019 Martin Becze ;;; ;;; This file is part of GNU Guix. ;;; @@ -8100,7 +8101,18 @@ generic enough to work for everyone.") "0sdv5lg2vlz5f4raymz9d8a5jq4j18vbqyigaip6508p3bjnfj8l")))) (build-system cmake-build-system) (arguments - `(#:configure-flags + `( + #:phases + (modify-phases %standard-phases + (add-after + 'install 'wrap-program + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/evolution") + `("GSETTINGS_SCHEMA_DIR" = (,(string-append out "/share/glib-2.0/schemas/"))) + `("XDG_DATA_DIRS" = (,(getenv "XDG_DATA_DIRS"))))) + #t))) + #:configure-flags (list "-DENABLE_PST_IMPORT=OFF" ; libpst is not packaged "-DENABLE_LIBCRYPTUI=OFF"))) ; libcryptui hasn't seen a release ; in four years and cannot be built. @@ -8113,6 +8125,7 @@ generic enough to work for everyone.") `(("enchant" ,enchant) ("evolution-data-server" ,evolution-data-server) ; must be the same version ("gcr" ,gcr) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) ("gnome-autoar" ,gnome-autoar) ("gnome-desktop" ,gnome-desktop) ("gtkspell3" ,gtkspell3) -- 2.22.0