wok-current rev 11494

Up: poppler 0.18.2; poppler-data 0.4.5 (fix build of epdfview; thank godane)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Dec 19 02:49:30 2011 +0100 (2011-12-19)
parents a612b276a27c
children f4ee6f71888c
files poppler-apps/receipt poppler-data/receipt poppler-dev/receipt poppler/receipt poppler/stuff/fix_cairo.patch
line diff
     1.1 --- a/poppler-apps/receipt	Mon Dec 19 02:49:30 2011 +0100
     1.2 +++ b/poppler-apps/receipt	Mon Dec 19 02:49:30 2011 +0100
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="poppler-apps"
     1.7 -VERSION="0.14.5"
     1.8 +VERSION="0.18.2"
     1.9  CATEGORY="office"
    1.10  SHORT_DESC="Poppler utilities to manipulate PDF file."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  WANTED="poppler"
    1.13 -DEPENDS="fontconfig poppler zlib libpng gcc-lib-base"
    1.14 +DEPENDS="fontconfig poppler cairo zlib libpng gcc-lib-base"
    1.15  WEB_SITE="http://poppler.freedesktop.org/"
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/poppler-data/receipt	Mon Dec 19 02:49:30 2011 +0100
     2.2 +++ b/poppler-data/receipt	Mon Dec 19 02:49:30 2011 +0100
     2.3 @@ -1,12 +1,12 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="poppler-data"
     2.7 -VERSION="0.4.4"
     2.8 +VERSION="0.4.5"
     2.9  CATEGORY="office"
    2.10  SHORT_DESC="Poppler encoding data."
    2.11  MAINTAINER="rocky@slitaz.org"
    2.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 -DEPENDS="poppler"
    2.14 +DEPENDS=""
    2.15  WEB_SITE="http://poppler.freedesktop.org/"
    2.16  WGET_URL="http://poppler.freedesktop.org/$TARBALL"
    2.17  
    2.18 @@ -14,7 +14,7 @@
    2.19  compile_rules()
    2.20  {
    2.21      cd $src
    2.22 -    make datadir=/usr/share DESTDIR=$PWD/_pkg install
    2.23 +    make datadir=/usr/share DESTDIR=$DESTDIR install
    2.24  }
    2.25  
    2.26  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/poppler-dev/receipt	Mon Dec 19 02:49:30 2011 +0100
     3.2 +++ b/poppler-dev/receipt	Mon Dec 19 02:49:30 2011 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="poppler-dev"
     3.7 -VERSION="0.14.5"
     3.8 +VERSION="0.18.2"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="Poppler PDF rendering library devel files."
    3.11  MAINTAINER="pankso@slitaz.org"
     4.1 --- a/poppler/receipt	Mon Dec 19 02:49:30 2011 +0100
     4.2 +++ b/poppler/receipt	Mon Dec 19 02:49:30 2011 +0100
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="poppler"
     4.7 -VERSION="0.14.5"
     4.8 +VERSION="0.18.2"
     4.9  CATEGORY="office"
    4.10  SHORT_DESC="Poppler is a PDF rendering library."
    4.11  MAINTAINER="pankso@slitaz.org"
    4.12 @@ -9,15 +9,17 @@
    4.13  WEB_SITE="http://poppler.freedesktop.org/"
    4.14  WGET_URL="http://poppler.freedesktop.org/$TARBALL"
    4.15  
    4.16 -DEPENDS="expat freetype glib jpeg libxml2 xorg-libXdamage lcms \
    4.17 -gcc-lib-base cairo"
    4.18 -BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev libxml2-dev \
    4.19 -freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev"
    4.20 +DEPENDS="expat freetype glib jpeg xorg-libXdamage lcms \
    4.21 +gcc-lib-base cairo poppler-data"
    4.22 +BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev \
    4.23 +freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev \
    4.24 +automake"
    4.25  
    4.26  # Rules to configure and make the package.
    4.27  compile_rules()
    4.28  {
    4.29  	cd $src
    4.30 +	autoreconf -fi
    4.31  	./configure \
    4.32  		--enable-zlib \
    4.33  		$CONFIGURE_ARGS &&
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/poppler/stuff/fix_cairo.patch	Mon Dec 19 02:49:30 2011 +0100
     5.3 @@ -0,0 +1,19 @@
     5.4 +From 66ab373365b8f9060ff3d117bb677520e32c7e8e Mon Sep 17 00:00:00 2001
     5.5 +From: Adrian Johnson <ajohnson@redneon.com>
     5.6 +Date: Wed, 28 Sep 2011 11:50:23 +0000
     5.7 +Subject: cairo: fix crash when using poppler_page_get_image()
     5.8 +
     5.9 +---
    5.10 +diff --git a/poppler/CairoOutputDev.h b/poppler/CairoOutputDev.h
    5.11 +index effa9dd..0f202a5 100644
    5.12 +--- a/poppler/CairoOutputDev.h
    5.13 ++++ b/poppler/CairoOutputDev.h
    5.14 +@@ -434,6 +434,7 @@ public:
    5.15 +   virtual void stroke(GfxState *state) { }
    5.16 +   virtual void fill(GfxState *state) { }
    5.17 +   virtual void eoFill(GfxState *state) { }
    5.18 ++  virtual void clipToStrokePath(GfxState *state) { }
    5.19 +   virtual GBool tilingPatternFill(GfxState *state, Catalog *cat, Object *str,
    5.20 + 				  double *pmat, int paintType, int tilingType, Dict *resDict,
    5.21 + 				  double *mat, double *bbox,
    5.22 +