GNU bug report logs - #76224
[PATCH] gnu: tractor: Invoke glib-compile-schemas.

Previous Next

Package: guix-patches;

Reported by: Danial Behzadi <dani.behzi <at> ubuntu.com>

Date: Wed, 12 Feb 2025 13:24:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danial Behzadi <dani.behzi <at> ubuntu.com>
To: guix-patches <at> gnu.org
Cc: Danial Behzadi <dani.behzi <at> ubuntu.com>
Subject: [PATCH] gnu: tractor: Invoke glib-compile-schemas.
Date: Wed, 12 Feb 2025 16:53:00 +0330
This is needed for packages which have tractor in their input to access the compile schemas of tractor in their environment.
---
 gnu/packages/tor.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tor.scm b/gnu/packages/tor.scm
index b6b73f92..d9aa1ca2 100644
--- a/gnu/packages/tor.scm
+++ b/gnu/packages/tor.scm
@@ -484,7 +484,10 @@ (define-public tractor
           (add-after 'install 'install-gschema
             (lambda _
               (let ((schemas (string-append #$output "/share/glib-2.0/schemas")))
-                (install-file "src/tractor/tractor.gschema.xml" schemas)))))))
+                (install-file "src/tractor/tractor.gschema.xml" schemas)
+                ;; The following line is needed for packages having tractor as input
+                (invoke "glib-compile-schemas" schemas)))))))
+
     (home-page "https://framagit.org/tractor")
     (synopsis "Setup an onion routing proxy")
     (description
-- 
2.47.2





This bug report was last modified 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.