From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: [PATCH 1/3] gnu: Add imlib2. Date: Thu, 25 Sep 2014 12:53:50 +0400 Message-ID: <87wq8scc81.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX4oJ-0006Uv-Ss for guix-devel@gnu.org; Thu, 25 Sep 2014 04:54:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XX4oF-0007Jn-GK for guix-devel@gnu.org; Thu, 25 Sep 2014 04:53:59 -0400 Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:53723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX4oF-0007J6-2x for guix-devel@gnu.org; Thu, 25 Sep 2014 04:53:55 -0400 Received: by mail-lb0-f173.google.com with SMTP id 10so10476900lbg.32 for ; Thu, 25 Sep 2014 01:53:48 -0700 (PDT) Received: from leviafan (128-70-192-205.broadband.corbina.ru. [128.70.192.205]) by mx.google.com with ESMTPSA id z2sm612884laa.15.2014.09.25.01.53.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Sep 2014 01:53:47 -0700 (PDT) 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: guix-devel@gnu.org --=-=-= Content-Type: text/plain Hello, This is a patchset for scrot and dependencies (giblib and imlib2). All 3 packages have some custom licenses, so I used "bsd-style", but I'm not sure about it. Along with the patch, I'm attaching "COPYING". What license it is? Thanks. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-imlib2.patch Content-Transfer-Encoding: quoted-printable >From fe4ff0e9c4c52a6574630a5d1505e866968b9f61 Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Thu, 25 Sep 2014 12:27:25 +0400 Subject: [PATCH 1/3] gnu: Add imlib2. * gnu/packages/imlib2.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 + gnu/packages/imlib2.scm | 78 +++++++++++++++++++++++++++++++++++++++++++++= ++++ 2 files changed, 79 insertions(+) create mode 100644 gnu/packages/imlib2.scm diff --git a/gnu-system.am b/gnu-system.am index 7d6a6b9..820f935 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -131,6 +131,7 @@ GNU_SYSTEM_MODULES =3D \ gnu/packages/idutils.scm \ gnu/packages/image.scm \ gnu/packages/imagemagick.scm \ + gnu/packages/imlib2.scm \ gnu/packages/indent.scm \ gnu/packages/inkscape.scm \ gnu/packages/irssi.scm \ diff --git a/gnu/packages/imlib2.scm b/gnu/packages/imlib2.scm new file mode 100644 index 0000000..f087446 --- /dev/null +++ b/gnu/packages/imlib2.scm @@ -0,0 +1,78 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 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 imlib2) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages xorg) + #:use-module (gnu packages image) + #:use-module (gnu packages giflib) + #:use-module (gnu packages compression) + #:use-module (gnu packages fontutils) + #:use-module (gnu packages pkg-config)) + +(define-public imlib2 + (package + (name "imlib2") + (version "1.4.6") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/enlightenment/imlib2-" + version ".tar.gz")) + (sha256 + (base32 + "0kjggg4gfn6chi8v1xddd5qwk1fbnl7rvd93qiclv5v11s615k0p")))) + (build-system gnu-build-system) + (arguments + '(;; Will be fixed in the next release: + ;; . + #:phases (alist-cons-before + 'configure 'patch-config + (lambda _ + (substitute* "imlib2-config.in" + (("@my_libs@") ""))) + %standard-phases))) + (native-inputs + `(("pkgconfig" ,pkg-config))) + (inputs + `(("libx11" ,libx11) + ("libxext" ,libxext) + ("freetype" ,freetype) + ("libjpeg" ,libjpeg) + ("libpng" ,libpng) + ("libtiff" ,libtiff) + ("giflib" ,giflib) + ("bzip2" ,bzip2))) + (home-page "http://sourceforge.net/projects/enlightenment/") + (synopsis + "Library for loading, saving, rendering and manipulating image files") + (description + "Imlib2 is a library that does image file loading and saving as well = as +rendering, manipulation, arbitrary polygon support, etc. + +It does ALL of these operations FAST. Imlib2 also tries to be highly +intelligent about doing them, so writing naive programs can be done easily, +without sacrificing speed. + +This is a complete rewrite over the Imlib 1.x series. The architecture is +more modular, simple, and flexible.") + (license (license:bsd-style "file://COPYING" + "See COPYING in the distribution.")))) --=20 2.1.0 --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=COPYING Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies of the Software and its Copyright notices. In addition publicly documented acknowledgment must be given that this software has been used if no source code of this software is made available publicly. Making the source available publicly means including the source for this software with the distribution, or a method to get this software via some reasonable mechanism (electronic transfer via a network or media) as well as making an offer to supply the source on request. This Copyright notice serves as an offer to supply the source on on request as well. Instead of this, supplying acknowledgments of use of this software in either Copyright notices, Manuals, Publicity and Marketing documents or any documentation provided with any product containing this software. This License does not apply to any software that links to the libraries provided by this software (statically or dynamically), but only to the software provided. Please see the COPYING-PLAIN for a plain-english explanation of this notice and its intent. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --=-=-=--