GNU bug report logs

#41380 [PATCH] gnu: add glabels

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to guix-patches@gnu.org:
bug#41380; Package guix-patches. (Mon, 18 May 2020 21:13:02 GMT) (full text, mbox, link).


Acknowledgement sent to Vinicius Monego <monego@posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches@gnu.org. (Mon, 18 May 2020 21:13:02 GMT) (full text, mbox, link).


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

From: Vinicius Monego <monego@posteo.net>
To: guix-patches@gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [PATCH] gnu: add glabels
Date: Mon, 18 May 2020 18:11:44 -0300
---
 gnu/packages/gnome.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d5a2032ccf..2f258089be 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -50,6 +50,7 @@
 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
+;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -10216,3 +10217,34 @@ communicating using the GVariant serialization format instead of JSON when
 both peers support it.  You might want that when communicating on a single
 host to avoid parser overhead and memory-allocator fragmentation.")
     (license license:lgpl2.1+)))
+
+(define-public glabels
+  (package
+   (name "glabels")
+   (version "3.4.1")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append "mirror://gnome/sources/" name "/"
+                                (version-major+minor version)  "/"
+                                name "-" version ".tar.xz"))
+            (sha256
+             (base32
+              "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))
+   (build-system glib-or-gtk-build-system)
+   (native-inputs
+    `(("pkg-config" ,pkg-config)
+      ("glib:bin" ,glib "bin")
+      ("gettext" ,gettext-minimal)
+      ("intltool" ,intltool)
+      ("itstool" ,itstool)))
+   (inputs
+    `(("gtk+" ,gtk+)
+      ("librsvg" ,librsvg)
+      ("libxml2" ,libxml2)))
+   (home-page "http://glabels.org/")
+   (synopsis "Program for creating labels and business cards.")
+   (description
+    "gLabels is a program for creating labels and business cards.  It is
+designed to work with various laser/ink-jet peel-off label and business
+card sheets that you’ll find at most office supply stores.")
+   (license license:gpl3+)))
-- 
2.20.1





Information forwarded to guix-patches@gnu.org:
bug#41380; Package guix-patches. (Wed, 20 May 2020 18:08:02 GMT) (full text, mbox, link).


Message #8 received at 41380@debbugs.gnu.org (full text, mbox, reply):

From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Vinicius Monego <monego@posteo.net>
Cc: 41380@debbugs.gnu.org
Subject: Re: [bug#41380] [PATCH] gnu: add glabels
Date: Wed, 20 May 2020 20:07:26 +0200
Hello,

Vinicius Monego <monego@posteo.net> writes:

> ---
>  gnu/packages/gnome.scm | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
>

Thank you! Could you use "git format-patch" and provide a commit message
in line with what we usually do for new packages? You may want to check
the commits in the repository to get an idea.

> +(define-public glabels
> +  (package
> +   (name "glabels")
> +   (version "3.4.1")
> +   (source (origin

Nitpick: Could you move "(origin" on the next line?

> +            (method url-fetch)
> +            (uri (string-append "mirror://gnome/sources/" name "/"
> +                                (version-major+minor version)  "/"
> +                                name "-" version ".tar.xz"))

Could you replace "name" with "glabels"? We do not hard-code names
anymore in package definitions.

> +            (sha256
> +             (base32
> +              "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q"))))

Nitpick: Could you put the string on the same line as `base32'?

> +   (build-system glib-or-gtk-build-system)
> +   (native-inputs
> +    `(("pkg-config" ,pkg-config)
> +      ("glib:bin" ,glib "bin")
> +      ("gettext" ,gettext-minimal)
> +      ("intltool" ,intltool)
> +      ("itstool" ,itstool)))

Could you re-order alphabetically the native inputs?

> +   (inputs
> +    `(("gtk+" ,gtk+)
> +      ("librsvg" ,librsvg)
> +      ("libxml2" ,libxml2)))
> +   (home-page "http://glabels.org/")

The home-page should be using https

> +   (synopsis "Program for creating labels and business cards.")

Synopsis shouldn't end with a full stop. You may want to lint your
package definition with "guix lint".

> +   (description
> +    "gLabels is a program for creating labels and business cards.  It is
> +designed to work with various laser/ink-jet peel-off label and business
> +card sheets that you’ll find at most office supply stores.")
> +   (license license:gpl3+)))

Could you send an updated patch?

Regards,

-- 
Nicolas Goaziou




Added tag(s) fixed. Request was from Ludovic Courtès <ludo@gnu.org> to control@debbugs.gnu.org. (Wed, 03 Jun 2020 15:53:03 GMT) (full text, mbox, link).


bug closed, send any further explanations to 41380@debbugs.gnu.org and Vinicius Monego <monego@posteo.net> Request was from Ludovic Courtès <ludo@gnu.org> to control@debbugs.gnu.org. (Wed, 03 Jun 2020 15:53:03 GMT) (full text, mbox, link).


bug archived. Request was from Debbugs Internal Request <help-debbugs@gnu.org> to internal_control@debbugs.gnu.org. (Thu, 02 Jul 2020 11:24:06 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Mon Nov 4 22:17:14 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.