From: Vivien Kraus via Guix-patches via <guix-patches@gnu.org>
To: 68447@debbugs.gnu.org
Cc: rg@raghavgururajan.name, vivien@planete-kraus.eu,
liliana.prikler@gmail.com, maxim.cournoyer@gmail.com
Subject: [bug#68447] [PATCH gnome-team v2 1/2] gnu: duplicity: Wrap for GI_TYPELIB_PATH.
Date: Mon, 22 Jan 2024 22:02:42 +0100 [thread overview]
Message-ID: <d9b5ed28707f3f3b1c0d95079f65f9d83d7f2b19.1705957508.git.vivien@planete-kraus.eu> (raw)
In-Reply-To: <cover.1705957508.git.vivien@planete-kraus.eu>
* gnu/packages/backup.scm (duplicity) [native-inputs]: Add
gobject-introspection.
[#:phases]: Add 'gi-wrap.
Change-Id: If9d6a6bb0e855a4d775c1e4adb3b07f71be43090
---
gnu/packages/backup.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 3126464347..836a984899 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -118,6 +118,7 @@ (define-public duplicity
(build-system python-build-system)
(native-inputs
(list gettext-minimal ; for msgfmt
+ gobject-introspection
util-linux ; setsid command, for the tests
par2cmdline
python-fasteners
@@ -172,7 +173,12 @@ (define-public duplicity
"share/zoneinfo"))
;; Some things respect TMPDIR, others hard-code /tmp, and the
;; defaults don't match up, breaking test_restart. Fix it.
- (setenv "TMPDIR" "/tmp"))))))
+ (setenv "TMPDIR" "/tmp")))
+ (add-after 'wrap 'gi-wrap
+ (lambda _
+ (let ((prog (string-append #$output "/bin/duplicity")))
+ (wrap-program prog
+ `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
(home-page "https://duplicity.gitlab.io/duplicity-web/")
(synopsis "Encrypted backup using rsync algorithm")
(description
--
2.41.0
next prev parent reply other threads:[~2024-01-22 21:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-14 12:11 [bug#68447] [WIP-PATCH gnome-team] gnu: deja-dup: update to 45.2 Vivien Kraus via Guix-patches via
2024-01-22 21:05 ` [bug#68447] [PATCH gnome-team v2 0/2] Update deja-dup (and fix duplicity) Vivien Kraus via Guix-patches via
2024-01-14 12:11 ` [bug#68447] [PATCH gnome-team v2 2/2] gnu: deja-dup: update to 45.2 Vivien Kraus via Guix-patches via
2024-01-22 21:02 ` Vivien Kraus via Guix-patches via [this message]
2024-01-23 5:16 ` [bug#68447] [PATCH gnome-team v2 1/2] gnu: duplicity: Wrap for GI_TYPELIB_PATH Liliana Marie Prikler
2024-01-29 17:56 ` [bug#68447] [PATCH gnome-team v3 0/2] Wrap duplicity, with bash-minimal! Vivien Kraus via Guix-patches via
2024-01-14 12:11 ` [bug#68447] [PATCH gnome-team v3 2/2] gnu: deja-dup: update to 45.2 Vivien Kraus via Guix-patches via
2024-01-22 21:02 ` [bug#68447] [PATCH gnome-team v3 1/2] gnu: duplicity: Wrap for GI_TYPELIB_PATH Vivien Kraus via Guix-patches via
2024-02-06 17:06 ` bug#68447: [WIP-PATCH gnome-team] gnu: deja-dup: update to 45.2 Vivien Kraus via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d9b5ed28707f3f3b1c0d95079f65f9d83d7f2b19.1705957508.git.vivien@planete-kraus.eu \
--to=guix-patches@gnu.org \
--cc=68447@debbugs.gnu.org \
--cc=liliana.prikler@gmail.com \
--cc=maxim.cournoyer@gmail.com \
--cc=rg@raghavgururajan.name \
--cc=vivien@planete-kraus.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.