From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH 2/3] gnu: Add giblib. Date: Thu, 25 Sep 2014 21:37:13 +0400 Message-ID: <87fvffd2k6.fsf@gmail.com> References: <87vboccc7i.fsf@gmail.com> <871tqzluvu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXCyr-0003k3-Ej for guix-devel@gnu.org; Thu, 25 Sep 2014 13:37:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXCym-0000wh-2g for guix-devel@gnu.org; Thu, 25 Sep 2014 13:37:25 -0400 In-Reply-To: <871tqzluvu.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 25 Sep 2014 14:58:13 +0200") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s (2014-09-25 16:58 +0400) wrote: > Alex Kost skribis: > >> From 0fe34b2e2ab17ad4e74961a3292f7d855d4336c3 Mon Sep 17 00:00:00 2001 >> From: Alex Kost >> Date: Thu, 25 Sep 2014 12:29:43 +0400 >> Subject: [PATCH 2/3] gnu: Add giblib. >> >> * gnu/packages/giblib.scm: New file. >> * gnu-system.am (GNU_SYSTEM_MODULES): Add it. > > OK but moved to (gnu packages image) and with x11-style license. > > (Make sure to also try out Cyril=E2=80=99s neat =E2=80=98guix lint giblib= =E2=80=99 if you > haven=E2=80=99t already.) I know about "guix lint" but it gives me nothing on these packages. Do you mean anything particular that I need to fix? The modified patch is attached. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0002-gnu-Add-giblib.patch >From 8e2cdf8a8f451f1151a0a9c80652e06d3a7a2f46 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Thu, 25 Sep 2014 12:29:43 +0400 Subject: [PATCH 2/3] gnu: Add giblib. * gnu/packages/image.scm (giblib): New variable. --- gnu/packages/image.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index a9c3a5d..0e79942 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -265,3 +265,30 @@ more modular, simple, and flexible.") ;; This license adds several sentences to the original X11 license. (license (license:x11-style "file://COPYING" "See 'COPYING' in the distribution.")))) + +(define-public giblib + (package + (name "giblib") + (version "1.2.4") + (source (origin + (method url-fetch) + (uri (string-append + "http://linuxbrit.co.uk/downloads/giblib-" + version ".tar.gz")) + (sha256 + (base32 + "1b4bmbmj52glq0s898lppkpzxlprq9aav49r06j2wx4dv3212rhp")))) + (build-system gnu-build-system) + (inputs + `(("libx11" ,libx11) + ("imlib2" ,imlib2))) + (home-page "http://linuxbrit.co.uk/software/") ; no real home-page + (synopsis "Wrapper library for imlib2") + (description + "giblib is a simple library which wraps imlib2's context API, avoiding +all the context_get/set calls, adds fontstyles to the truetype renderer and +supplies a generic doubly-linked list and some string functions.") + ;; This license removes a clause about X Consortium from the original + ;; X11 license. + (license (license:x11-style "file://COPYING" + "See 'COPYING' in the distribution.")))) -- 2.1.0 --=-=-=--