From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH] gnu: add dependencies to poppler. Date: Sun, 24 Mar 2013 21:08:52 +0100 Message-ID: <1364155732-2031-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJrQ8-0002pI-Hc for bug-guix@gnu.org; Sun, 24 Mar 2013 16:21:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJrQ7-0001f7-J7 for bug-guix@gnu.org; Sun, 24 Mar 2013 16:21:36 -0400 Received: from mail-we0-x230.google.com ([2a00:1450:400c:c03::230]:60314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJrQ7-0001ea-Cz for bug-guix@gnu.org; Sun, 24 Mar 2013 16:21:35 -0400 Received: by mail-we0-f176.google.com with SMTP id s43so287434wey.7 for ; Sun, 24 Mar 2013 13:21:34 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org Add libpng and zlib to the inputs. --- Hello! This patch is quite simple. It adds both libpng (which was already available in Guix) and zlib (which has to be explicitely enabled) to poppler. Note that zlib is not enabled by default, even if it is found on the system, because it is "not safe" according to the poppler developers. Andreas, do you know why ? Maybe we should remove it from the dependencies. I also listed the dependencies that are not yet satisfied. I think I will take care of libopenjpeg soon, but it requires cmake, and I'd rather write a cmake build system first. Cyril. gnu/packages/pdf.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 5a9d513..a172414 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -25,6 +25,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages fontutils) #:use-module (gnu packages libjpeg) + #:use-module (gnu packages libpng) #:use-module (gnu packages libtiff) #:use-module (gnu packages pkg-config)) @@ -40,15 +41,25 @@ "1rmrspavldlpqi6g76fijcmshy80m0kxd01nc1dmy4id3h4las44")))) (build-system gnu-build-system) ;; FIXME: more dependencies could be added + ;; cairo output: no (requires cairo >= 1.10.0) + ;; qt4 wrapper: no + ;; glib wrapper: no (requires cairo output) + ;; introspection: no + ;; use gtk-doc: no + ;; use libcurl: no + ;; use libopenjpeg: no (inputs `(("fontconfig" ,fontconfig) ("freetype" ,freetype) ("libjpeg-8" ,libjpeg-8) + ("libpng" ,libpng) ("libtiff" ,libtiff) ("pkg-config" ,pkg-config) ("zlib" ,zlib))) (arguments `(#:tests? #f ; no test data provided with the tarball - #:configure-flags '("--enable-xpdf-headers"))) ; to install header files + #:configure-flags + '("--enable-xpdf-headers" ; to install header files + "--enable-zlib"))) (synopsis "Poppler, a pdf rendering library") (description "Poppler is a PDF rendering library based on the xpdf-3.0 code base.") -- 1.7.10.4