unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Fabian Harfert <fhmgufs@web.de>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add libcanberra-gtk2.
Date: Sat, 6 Feb 2016 21:56:57 +0200	[thread overview]
Message-ID: <20160206215657.3f9fa800@debian-netbook> (raw)
In-Reply-To: <1454784524-9964-1-git-send-email-fhmgufs@web.de>

[-- Attachment #1: Type: text/plain, Size: 1865 bytes --]

On Sat,  6 Feb 2016 19:48:44 +0100
Fabian Harfert <fhmgufs@web.de> wrote:

> * gnu/packages/libcanberra.scm (libcanberra/gtk+-2): New variable.
> ---
>  gnu/packages/libcanberra.scm | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/gnu/packages/libcanberra.scm b/gnu/packages/libcanberra.scm
> index 3769e3f..2cd75ce 100644
> --- a/gnu/packages/libcanberra.scm
> +++ b/gnu/packages/libcanberra.scm
> @@ -1,6 +1,7 @@
>  ;;; GNU Guix --- Functional package management for GNU
>  ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
>  ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
> +;;; Copyright © 2016 Fabian Harfert <fhmgufs@web.de>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -96,6 +97,19 @@ GNOME.  It comes with several backends (ALSA, PulseAudio, OSS, GStreamer,
>  null) and is designed to be portable.")
>      (license lgpl2.1+)))
>  
> +(define-public libcanberra/gtk+-2
> +  (package (inherit libcanberra)
> +    (name "libcanberra-gtk2")
> +    (inputs
> +     `(("alsa-lib" ,alsa-lib)
> +       ("gstreamer" ,gstreamer)
> +       ("gtk+" ,gtk+-2)
> +       ("libltdl" ,libltdl)
> +       ("libvorbis" ,libvorbis)
> +       ("pulseaudio" ,pulseaudio)
> +       ("udev" ,eudev)
> +       ("sound-theme-freedesktop" ,sound-theme-freedesktop)))))
> +
>  (define-public sound-theme-freedesktop
>    (package
>      (name "sound-theme-freedesktop")

gtk is the only different input between the two variants, how about just
removing gtk from the list of inherited inputs and adding in gtk+-2? grepping
for "package-inputs" should have some examples.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-02-06 19:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-04 16:04 [PATCH] gnu: libcanberra: Add input gtk+-2 Fabian Harfert
2016-02-04 16:08 ` Fabian Harfert
2016-02-06  5:05   ` 宋文武
2016-02-06 18:48     ` [PATCH] gnu: Add libcanberra-gtk2 Fabian Harfert
2016-02-06 19:56       ` Efraim Flashner [this message]
2016-02-07 11:13         ` Andreas Enge
2016-02-07 13:41           ` Fabian Harfert
2016-02-07 14:03             ` Andreas Enge
2016-02-07 14:25               ` Efraim Flashner
2016-02-07 15:51                 ` Andreas Enge
2016-02-07 20:15         ` Ludovic Courtès
2016-02-07 20:16           ` Andreas Enge

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20160206215657.3f9fa800@debian-netbook \
    --to=efraim@flashner.co.il \
    --cc=fhmgufs@web.de \
    --cc=guix-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).