all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Brett Gilio <brettg@gnu.org>
To: Leo Prikler <leo.prikler@student.tugraz.at>
Cc: 38877@debbugs.gnu.org
Subject: [bug#38877] [PATCH] gnu: Add xcur2png.
Date: Fri, 03 Jan 2020 22:32:31 -0600	[thread overview]
Message-ID: <87k167zvs0.fsf@gnu.org> (raw)
In-Reply-To: <20200102202336.20617-1-leo.prikler@student.tugraz.at> (Leo Prikler's message of "Thu, 2 Jan 2020 21:23:36 +0100")

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

> * gnu/packages/xorg.scm (xcur2png): New variable.
> ---
>  gnu/packages/xorg.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>
> diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
> index fda61aff67..1c21a1cf86 100644
> --- a/gnu/packages/xorg.scm
> +++ b/gnu/packages/xorg.scm
> @@ -6425,3 +6425,29 @@ Thai).")
>      ;; by simple permissive licenses.  See the 'COPYRIGHT' file.
>      (license (list license:gpl2+
>                     license:expat))))
> +
> +(define-public xcur2png
> +  (package
> +    (name "xcur2png")
> +    (version "0.7.1")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/eworm-de/xcur2png.git")
> +                    (commit version)))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +                "0858wn2p14bxpv9lvaz2bz1rk6zk0g8zgxf8iy595m8fqv4q2fya"))))
> +    (build-system gnu-build-system)
> +    (synopsis "Decode X cursors")
> +    (description
> +     "xcur2png is a program decomposes an X cursor into a set of PNG images and
> +a configuration file reusable by xcursorgen.")
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)))
> +    (inputs
> +     `(("libpng" ,libpng)
> +       ("libxcursor" ,libxcursor)))
> +    (home-page "https://github.com/eworm-de/xcur2png")
> +    (license license:gpl3+)))

Hey Leo! It doesn't really matter all that much, but I am curious about
the ordering of the package declaration. Why did you put the inputs
/after/ the synopsis and description? It's a fine looking package otherwise!

-- 
Brett M. Gilio
GNU Guix, Contributor | GNU Project, Webmaster
[DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE]
<brettg@gnu.org> <brettg@posteo.net>

  reply	other threads:[~2020-01-04  4:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-02 20:23 [bug#38877] [PATCH] gnu: Add xcur2png Leo Prikler
2020-01-04  4:32 ` Brett Gilio [this message]
2020-01-04 16:54   ` [bug#38922] " Leo Prikler
2020-01-05  1:06     ` bug#38877: " Nicolas Goaziou
2020-01-06  9:25     ` bug#38922: " Brett Gilio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k167zvs0.fsf@gnu.org \
    --to=brettg@gnu.org \
    --cc=38877@debbugs.gnu.org \
    --cc=leo.prikler@student.tugraz.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.