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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#76224: closed ([PATCH] gnu: tractor: Invoke glib-compile-schemas.)
Date: Tue, 18 Feb 2025 17:09:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 18 Feb 2025 18:08:42 +0100
with message-id <8734gbji3p.fsf <at> gnu.org>
and subject line Re: [bug#76224] [PATCH] gnu: tractor: Invoke glib-compile-schemas.
has caused the debbugs.gnu.org bug report #76224,
regarding [PATCH] gnu: tractor: Invoke glib-compile-schemas.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
76224: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76224
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Danial Behzadi <dani.behzi <at> ubuntu.com>
Cc: 76224-done <at> debbugs.gnu.org
Subject: Re: [bug#76224] [PATCH] gnu: tractor: Invoke glib-compile-schemas.
Date: Tue, 18 Feb 2025 18:08:42 +0100
Danial Behzadi <dani.behzi <at> ubuntu.com> skribis:

> 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 ++++-

I tweaked the commit log and applied it, thanks!

Ludo'.


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.