GNU bug report logs - #46340
[PATCH] gnu: Add gnome-recipes.

Previous Next

Package: guix-patches;

Reported by: Leo Prikler <leo.prikler <at> student.tugraz.at>

Date: Sat, 6 Feb 2021 10:13:01 UTC

Severity: normal

Tags: patch

Done: Leo Prikler <leo.prikler <at> student.tugraz.at>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46340 in the body.
You can then email your comments to 46340 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#46340; Package guix-patches. (Sat, 06 Feb 2021 10:13:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Prikler <leo.prikler <at> student.tugraz.at>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 06 Feb 2021 10:13:01 GMT) Full text and rfc822 format available.

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

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add gnome-recipes.
Date: Sat,  6 Feb 2021 11:11:31 +0100
* gnu/packages/gnome.scm (gnome-recipes): New variable.
---
 gnu/packages/gnome.scm | 61 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 60 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 0f0b7c8157..e9da4e66d7 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -44,7 +44,7 @@
 ;;; Copyright © 2019 David Wilson <david <at> daviwil.com>
 ;;; Copyright © 2019, 2020 Raghav Gururajan <raghavgururajan <at> disroot.org>
 ;;; Copyright © 2019, 2020 Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
-;;; Copyright © 2019, 2020 Leo Prikler <leo.prikler <at> student.tugraz.at>
+;;; Copyright © 2019, 2020, 2021 Leo Prikler <leo.prikler <at> student.tugraz.at>
 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust <at> gmail.com>
 ;;; Copyright © 2020 Pierre Neidhardt <mail <at> ambrevar.xyz>
 ;;; Copyright © 2020 raingloom <raingloom <at> riseup.net>
@@ -794,6 +794,65 @@ patterns.")
       license:lgpl2.1+
       license:gpl2+))))
 
+(define-public gnome-recipes
+  (package
+    (name "gnome-recipes")
+    (version "2.0.4")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.gnome.org/GNOME/recipes")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1h049mzqnlcfqwrhmzbq3pzzdglvy2bn9fj1p8wql7a60pn8sr32"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:glib-or-gtk? #t
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'skip-gtk-update-icon-cache
+           (lambda _
+             (substitute* "meson_post_install.py"
+               (("gtk-update-icon-cache") (which "true")))
+             #t))
+         (add-after 'unpack 'unpack-libgd
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let ((libgd (assoc-ref inputs "libgd")))
+               (copy-recursively libgd "subprojects/libgd")
+               #t))))))
+    (inputs
+     `(("glib" ,glib)
+       ("gnome-autoar" ,gnome-autoar)
+       ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
+       ("gspell" ,gspell)
+       ("gtk+" ,gtk+)
+       ("json-glib" ,json-glib)
+       ("libcanberra" ,libcanberra)
+       ("libsoup" ,libsoup)
+       ("rest" ,rest)))
+    (native-inputs
+     `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
+       ("gettext" ,gettext-minimal)
+       ("glib:bin" ,glib "bin")
+       ("itstool" ,itstool)
+       ("libgd"
+        ,(origin
+           (method git-fetch)
+           (uri (git-reference
+                 (url "https://gitlab.gnome.org/GNOME/libgd")
+                 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
+           (file-name (git-file-name "libgd" version))
+           (sha256
+            (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
+       ("pkg-config" ,pkg-config)))
+    (home-page "https://wiki.gnome.org/Apps/Recipes")
+    (synopsis "Recipes for preparing food")
+    (description "GNOME Recipes helps you discover what to cook today,
+tomorrow, the rest of the week and for special occasions.")
+    (license license:gpl3+)))
+
 (define-public gnome-photos
   (package
     (name "gnome-photos")
-- 
2.30.0





Information forwarded to guix-patches <at> gnu.org:
bug#46340; Package guix-patches. (Sun, 07 Feb 2021 09:49:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Leo Prikler <leo.prikler <at> student.tugraz.at>
Cc: 46340 <at> debbugs.gnu.org
Subject: Re: [bug#46340] [PATCH] gnu: Add gnome-recipes.
Date: Sun, 07 Feb 2021 10:48:10 +0100
Hello,

Leo Prikler <leo.prikler <at> student.tugraz.at> writes:

> * gnu/packages/gnome.scm (gnome-recipes): New variable.

Thanks.

> +       ("libgd"
> +        ,(origin
> +           (method git-fetch)
> +           (uri (git-reference
> +                 (url "https://gitlab.gnome.org/GNOME/libgd")
> +                 (commit "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
> +           (file-name (git-file-name "libgd" version))
> +           (sha256
> +            (base32 "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))

Do you know why we cannot use gd package from Guix? If so, it could be
useful to add a comment about it.

> +       ("pkg-config" ,pkg-config)))
> +    (home-page "https://wiki.gnome.org/Apps/Recipes")
> +    (synopsis "Recipes for preparing food")

Maybe "Discover recipes for preparing food"

Otherwise LGTM!

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches <at> gnu.org:
bug#46340; Package guix-patches. (Sun, 07 Feb 2021 11:31:02 GMT) Full text and rfc822 format available.

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

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 46340 <at> debbugs.gnu.org
Subject: Re: [bug#46340] [PATCH] gnu: Add gnome-recipes.
Date: Sun, 07 Feb 2021 12:30:42 +0100
Hello,

Am Sonntag, den 07.02.2021, 10:48 +0100 schrieb Nicolas Goaziou:
> > +       ("libgd"
> > +        ,(origin
> > +           (method git-fetch)
> > +           (uri (git-reference
> > +                 (url "https://gitlab.gnome.org/GNOME/libgd")
> > +                 (commit
> > "c7c7ff4e05d3fe82854219091cf116cce6b19de0")))
> > +           (file-name (git-file-name "libgd" version))
> > +           (sha256
> > +            (base32
> > "16yld0ap7qj1n96h4f2sqkjmibg7xx5xwkqxdfzam2nmyfdlrrrs"))))
> 
> Do you know why we cannot use gd package from Guix? If so, it could
> be
> useful to add a comment about it.
Those are two different projects.  It might perhaps be worth packaging
GNOME's libgd inside gnome.scm, but there seems to be no public
release. 
Other than that, I merely copied the snippet from gedit, which also has
it as a subproject.  

> > +       ("pkg-config" ,pkg-config)))
> > +    (home-page "https://wiki.gnome.org/Apps/Recipes")
> > +    (synopsis "Recipes for preparing food")
> 
> Maybe "Discover recipes for preparing food"
Good hint.  Should I push this with that change or should I do
something about libgd first?

Regards,
Leo







Information forwarded to guix-patches <at> gnu.org:
bug#46340; Package guix-patches. (Mon, 08 Feb 2021 19:21:01 GMT) Full text and rfc822 format available.

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

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Leo Prikler <leo.prikler <at> student.tugraz.at>
Cc: 46340 <at> debbugs.gnu.org
Subject: Re: [bug#46340] [PATCH] gnu: Add gnome-recipes.
Date: Mon, 08 Feb 2021 20:20:15 +0100
Hello,

Leo Prikler <leo.prikler <at> student.tugraz.at> writes:

> Those are two different projects.  It might perhaps be worth packaging
> GNOME's libgd inside gnome.scm, but there seems to be no public
> release. 
> Other than that, I merely copied the snippet from gedit, which also has
> it as a subproject.  

Ah OK. Thanks for the information.

> Good hint.  Should I push this with that change or should I do
> something about libgd first?

I think pushing that change is fine. The libgd case can be handled
later, assuming there is anything to do.

Regards,
-- 
Nicolas Goaziou




Reply sent to Leo Prikler <leo.prikler <at> student.tugraz.at>:
You have taken responsibility. (Mon, 08 Feb 2021 19:46:01 GMT) Full text and rfc822 format available.

Notification sent to Leo Prikler <leo.prikler <at> student.tugraz.at>:
bug acknowledged by developer. (Mon, 08 Feb 2021 19:46:02 GMT) Full text and rfc822 format available.

Message #19 received at 46340-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Prikler <leo.prikler <at> student.tugraz.at>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 46340-done <at> debbugs.gnu.org
Subject: Re: [bug#46340] [PATCH] gnu: Add gnome-recipes.
Date: Mon, 08 Feb 2021 20:44:39 +0100
Hello,

Am Montag, den 08.02.2021, 20:20 +0100 schrieb Nicolas Goaziou:
> > Good hint.  Should I push this with that change or should I do
> > something about libgd first?
> 
> I think pushing that change is fine. The libgd case can be handled
> later, assuming there is anything to do.
Aaaaand it's done.  Thanks as always for the review 🙂

Leo





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Mar 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 48 days ago.

Previous Next


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