From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH] gnu: Add libcanberra-gtk2. Date: Sat, 6 Feb 2016 21:56:57 +0200 Message-ID: <20160206215657.3f9fa800@debian-netbook> References: <87lh6yctt8.fsf@member.fsf.org> <1454784524-9964-1-git-send-email-fhmgufs@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/caOm=HrgDYNH2g73E=xHi_C"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS8yl-0006jl-Bk for guix-devel@gnu.org; Sat, 06 Feb 2016 14:57:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aS8yg-00061C-SI for guix-devel@gnu.org; Sat, 06 Feb 2016 14:57:11 -0500 Received: from flashner.co.il ([178.62.234.194]:54433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS8yg-00060h-Lz for guix-devel@gnu.org; Sat, 06 Feb 2016 14:57:06 -0500 In-Reply-To: <1454784524-9964-1-git-send-email-fhmgufs@web.de> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Fabian Harfert Cc: guix-devel@gnu.org --Sig_/caOm=HrgDYNH2g73E=xHi_C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 6 Feb 2016 19:48:44 +0100 Fabian Harfert wrote: > * gnu/packages/libcanberra.scm (libcanberra/gtk+-2): New variable. > --- > gnu/packages/libcanberra.scm | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) >=20 > 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 =C2=A9 2013 Andreas Enge > ;;; Copyright =C2=A9 2014, 2015 Ludovic Court=C3=A8s > +;;; Copyright =C2=A9 2016 Fabian Harfert > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -96,6 +97,19 @@ GNOME. It comes with several backends (ALSA, PulseAud= io, OSS, GStreamer, > null) and is designed to be portable.") > (license lgpl2.1+))) > =20 > +(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? greppi= ng for "package-inputs" should have some examples. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Sig_/caOm=HrgDYNH2g73E=xHi_C Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWtlAKAAoJEPTB05F+rO6T5/cP/RmANWL/eYcRVxZmE7kl/50p F6sxAOSqYjQpvfQFfKgqiVMkAE9wqwwtrf1zyD1eKm+OMqzP5XkvgMJUqLUU+jKc lt6kItaYfCpRSZFiSVRQpfZQf3kxGr/GQhoX4mUEiybSNXXYdzK/ZWpE4sJb9H3F onzsalZ/K8dIMLIChR9NSPDWR2xFLbmCzsCg8OkDNPeNTrrzFwAYff1K7HngVF4x jmk+ZXaYIc4Yn6XlTnfdzyEJtRhQIu0GHFqTeNfKJidbfhAxMw5AGRnGAdRB/eEd /pFI6ivyrEU3rcFPeOMvIHfBo3yN4tEmyL+AQSDMLNsGI29vkI/Snqgso+tmMk9j eyXrWaVS0hziXZc1Tjvq3JllH0cjEDNlRulMmIGQcK/xdYd0U4sBvl7rv4+2yA9X Z+CaLrtZI0A0qOmGAQprqlilJmA/dMC9W0XlCApmM0CLFIyFwNYgbZ9cZTY1vmeO 4N6gPZPlYXjtyQokfEHxh6XiMh9llAiLZYh/NK7c1jsvkDjvY1UYOklAqJZJvVWK adDOAmpmASoCUJzH81T6jUBNps45SZ93cxWPA3us3bDxvses+6CPF+cPNGder5nf 2Q9VFqwd+WvH7yysYf07KAVzXCtnz35HEKjZ/89dJsZJFwDw6WD8s2W3co5ojZdP xxzSMF/QViE/6r9txXh/ =N2XK -----END PGP SIGNATURE----- --Sig_/caOm=HrgDYNH2g73E=xHi_C--