>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. --- gnu-system.am | 1 + gnu/packages/giblib.scm | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 gnu/packages/giblib.scm diff --git a/gnu-system.am b/gnu-system.am index 820f935..5b4ece1 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -99,6 +99,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/geeqie.scm \ gnu/packages/gettext.scm \ gnu/packages/ghostscript.scm \ + gnu/packages/giblib.scm \ gnu/packages/giflib.scm \ gnu/packages/gimp.scm \ gnu/packages/gkrellm.scm \ diff --git a/gnu/packages/giblib.scm b/gnu/packages/giblib.scm new file mode 100644 index 0000000..f3d7c31 --- /dev/null +++ b/gnu/packages/giblib.scm @@ -0,0 +1,50 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014 Alex Kost +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages giblib) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (guix licenses) + #:use-module (gnu packages xorg) + #:use-module (gnu packages imlib2)) + +(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.") + (license (bsd-style "file://COPYING" + "See COPYING in the distribution.")))) -- 2.1.0