Merge pull request #2036 from Gottox/poppler-0.34

Poppler 0.34
This commit is contained in:
Juan RP 2015-07-17 08:18:10 +02:00
commit 5217a8902a
9 changed files with 50 additions and 12 deletions

View File

@ -354,7 +354,7 @@ libMagickCore-6.Q16.so.2 libmagick-6.8.8.4_1
libMagickWand-6.Q16.so.2 libmagick-6.8.8.4_1 libMagickWand-6.Q16.so.2 libmagick-6.8.8.4_1
libMagick++-6.Q16.so.6 libmagick-6.9.0.5_1 libMagick++-6.Q16.so.6 libmagick-6.9.0.5_1
libltdl.so.7 libltdl-2.2.6_1 libltdl.so.7 libltdl-2.2.6_1
libpoppler.so.52 poppler-0.33.0_1 libpoppler.so.53 poppler-0.34.0_1
libpoppler-glib.so.8 poppler-glib-0.18.2_1 libpoppler-glib.so.8 poppler-glib-0.18.2_1
libpoppler-cpp.so.0 poppler-cpp-0.18.2_1 libpoppler-cpp.so.0 poppler-cpp-0.18.2_1
libpoppler-qt4.so.4 poppler-qt4-0.22.3_1 libpoppler-qt4.so.4 poppler-qt4-0.22.3_1

View File

@ -0,0 +1,38 @@
Hack to make this build against poppler-0.34. Just disables color management in some places.
We should probably find a better solution. dilfridge@gentoo.org
diff -ruN cups-filters-1.0.71.orig/filter/pdftoopvp/OPVPOutputDev.cxx cups-filters-1.0.71/filter/pdftoopvp/OPVPOutputDev.cxx
--- filter/pdftoopvp/OPVPOutputDev.cxx 2015-06-26 17:45:26.000000000 +0200
+++ filter/pdftoopvp/OPVPOutputDev.cxx 2015-07-14 19:02:51.666737621 +0200
@@ -1812,9 +1812,15 @@
maskSplash->drawImage(&imageSrc, &imgMaskData,
splashModeMono8, gFalse, maskWidth, maskHeight, mat);
#else
+#if POPPLER_VERSION_MAJOR <= 0 && POPPLER_VERSION_MINOR <= 33
maskSplash->drawImage(&imageSrc, &imgMaskData,
splashModeMono8, gFalse, maskWidth, maskHeight,
mat,gFalse);
+#else
+ maskSplash->drawImage(&imageSrc, NULL, &imgMaskData,
+ splashModeMono8, gFalse, maskWidth, maskHeight,
+ mat,gFalse);
+#endif
#endif
delete imgMaskData.imgStr;
maskStr->close();
diff -ruN cups-filters-1.0.71.orig/filter/pdftoopvp/oprs/OPRS.cxx cups-filters-1.0.71/filter/pdftoopvp/oprs/OPRS.cxx
--- filter/pdftoopvp/oprs/OPRS.cxx 2015-06-26 17:45:26.000000000 +0200
+++ filter/pdftoopvp/oprs/OPRS.cxx 2015-07-14 19:00:20.655740720 +0200
@@ -241,7 +241,11 @@
#if POPPLER_VERSION_MAJOR <= 0 && (POPPLER_VERSION_MINOR <= 20 || (POPPLER_VERSION_MINOR == 21 && POPPLER_VERSION_MICRO <= 2))
return splash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat);
#else
+#if POPPLER_VERSION_MAJOR <= 0 && POPPLER_VERSION_MINOR <= 33
return splash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat,gFalse);
+#else
+ return splash->drawImage(src,NULL,srcData,srcMode,srcAlpha,w,h,mat,gFalse);
+#endif
#endif
} else {
return opvpSplash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat);

View File

@ -1,7 +1,7 @@
# Template file for 'cups-filters' # Template file for 'cups-filters'
pkgname=cups-filters pkgname=cups-filters
version=1.0.71 version=1.0.71
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --with-rcdir=no --enable-avahi configure_args="--disable-static --with-rcdir=no --enable-avahi
--with-browseremoteprotocols=DNSSD,CUPS" --with-browseremoteprotocols=DNSSD,CUPS"

View File

@ -1,7 +1,7 @@
# Template file for 'evas_generic_loaders' # Template file for 'evas_generic_loaders'
pkgname=evas_generic_loaders pkgname=evas_generic_loaders
version=1.14.0 version=1.14.0
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
configure_args="$(vopt_enable gstreamer) $(vopt_enable pdf poppler) configure_args="$(vopt_enable gstreamer) $(vopt_enable pdf poppler)
$(vopt_enable ps spectre) $(vopt_enable svg) $(vopt_enable raw libraw)" $(vopt_enable ps spectre) $(vopt_enable svg) $(vopt_enable raw libraw)"

View File

@ -1,7 +1,7 @@
# Template file for 'inkscape' # Template file for 'inkscape'
pkgname=inkscape pkgname=inkscape
version=0.91 version=0.91
revision=5 revision=6
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-lcms --enable-poppler-cairo configure_args="--enable-lcms --enable-poppler-cairo
--without-gnome-vfs --disable-static" --without-gnome-vfs --disable-static"

View File

@ -1,7 +1,7 @@
# Template file for 'ipe' # Template file for 'ipe'
pkgname=ipe pkgname=ipe
version=7.1.7 version=7.1.7
revision=6 revision=7
hostmakedepends="pkg-config git" hostmakedepends="pkg-config git"
makedepends="qt-devel lua-devel libjpeg-turbo-devel cairo-devel poppler-devel" makedepends="qt-devel lua-devel libjpeg-turbo-devel cairo-devel poppler-devel"
short_desc="Drawing editor for creating figures in PDF or EPS formats" short_desc="Drawing editor for creating figures in PDF or EPS formats"

View File

@ -4,7 +4,7 @@
# A CYCLIC DEPENDENCY: qt -> cups -> poppler -> qt. # A CYCLIC DEPENDENCY: qt -> cups -> poppler -> qt.
# #
pkgname=poppler-qt4 pkgname=poppler-qt4
version=0.33.0 version=0.34.0
revision=1 revision=1
wrksrc="poppler-${version}" wrksrc="poppler-${version}"
build_style=gnu-configure build_style=gnu-configure
@ -21,7 +21,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2" license="GPL-2"
homepage="http://poppler.freedesktop.org" homepage="http://poppler.freedesktop.org"
distfiles="${homepage}/poppler-$version.tar.xz" distfiles="${homepage}/poppler-$version.tar.xz"
checksum=a5fa6d7f7dc5382b48caca82b147c54bdffda02698611af76db5326ba64995a6 checksum=1ba4ba9a2f9eb1e62ee6d736f4d82be4fc5f6dd177dc2b03febbe2ef2e515cb0
post_install() { post_install() {
rm -f ${DESTDIR}/usr/lib/libpoppler.* rm -f ${DESTDIR}/usr/lib/libpoppler.*

View File

@ -4,7 +4,7 @@
# A CYCLIC DEPENDENCY: qt5 -> cups -> poppler -> qt5. # A CYCLIC DEPENDENCY: qt5 -> cups -> poppler -> qt5.
# #
pkgname=poppler-qt5 pkgname=poppler-qt5
version=0.33.0 version=0.34.0
revision=1 revision=1
wrksrc="poppler-${version}" wrksrc="poppler-${version}"
build_style=gnu-configure build_style=gnu-configure
@ -21,7 +21,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2" license="GPL-2"
homepage="http://poppler.freedesktop.org" homepage="http://poppler.freedesktop.org"
distfiles="${homepage}/poppler-$version.tar.xz" distfiles="${homepage}/poppler-$version.tar.xz"
checksum=a5fa6d7f7dc5382b48caca82b147c54bdffda02698611af76db5326ba64995a6 checksum=1ba4ba9a2f9eb1e62ee6d736f4d82be4fc5f6dd177dc2b03febbe2ef2e515cb0
post_install() { post_install() {
rm -f ${DESTDIR}/usr/lib/libpoppler.* rm -f ${DESTDIR}/usr/lib/libpoppler.*

View File

@ -3,7 +3,7 @@
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/poppler-qt{4,5}". # THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/poppler-qt{4,5}".
# #
pkgname=poppler pkgname=poppler
version=0.33.0 version=0.34.0
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-zlib --enable-libcurl --enable-libjpeg configure_args="--enable-zlib --enable-libcurl --enable-libjpeg
@ -19,7 +19,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2" license="GPL-2"
homepage="http://poppler.freedesktop.org" homepage="http://poppler.freedesktop.org"
distfiles="${homepage}/$pkgname-$version.tar.xz" distfiles="${homepage}/$pkgname-$version.tar.xz"
checksum=a5fa6d7f7dc5382b48caca82b147c54bdffda02698611af76db5326ba64995a6 checksum=1ba4ba9a2f9eb1e62ee6d736f4d82be4fc5f6dd177dc2b03febbe2ef2e515cb0
# Package build options # Package build options
build_options="gir" build_options="gir"