Subject: bug#76224: closed (Re: [bug#76224] [PATCH] gnu: tractor: Invoke glib-compile-schemas.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 18 Feb 2025 17:09:02 +0000

Your bug report

#76224: [PATCH] gnu: tractor: Invoke glib-compile-schemas.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
76224: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76224
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#76224] [PATCH] gnu: tractor: Invoke glib-compile-schemas.
From: Ludovic Courtès <[email-masked]>
To: Danial Behzadi <[email-masked]>
Cc: [email-masked]
Date: Tue, 18 Feb 2025 18:08:42 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Danial Behzadi <[email-masked]> 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'.

Subject: [PATCH] gnu: tractor: Invoke glib-compile-schemas.
From: Danial Behzadi <[email-masked]>
To: [email-masked]
Cc: Danial Behzadi <[email-masked]>
Date: Wed, 12 Feb 2025 16:53:00 +0330
List-Id: <debbugs-submit.debbugs.gnu.org>

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