Version bump
authorBen de Groot <yngwin@gentoo.org>
Thu, 18 Feb 2010 01:41:25 +0000 (01:41 +0000)
committerBen de Groot <yngwin@gentoo.org>
Thu, 18 Feb 2010 01:41:25 +0000 (01:41 +0000)
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64

app-text/poppler/ChangeLog
app-text/poppler/Manifest
app-text/poppler/files/poppler-0.12.4-config.patch [new file with mode: 0644]
app-text/poppler/poppler-0.12.4.ebuild [new file with mode: 0644]

index 003d468395c0b98bbd8e58cd95a66761ce3246d3..a79877cd887250e9bc731bed5376703142134bc7 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-text/poppler
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.222 2010/02/16 15:15:04 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.223 2010/02/18 01:41:25 yngwin Exp $
+
+*poppler-0.12.4 (18 Feb 2010)
+
+  18 Feb 2010; Ben de Groot <yngwin@gentoo.org> +poppler-0.12.4.ebuild,
+  +files/poppler-0.12.4-config.patch:
+  Version bump
 
   16 Feb 2010; Ben de Groot <yngwin@gentoo.org> +poppler-0.12.3-r5.ebuild,
   +files/poppler-0.12.3-cairo-downscale.patch:
index 28f67e87b2e5c942d6967639cd58c9e8c32d39dd..0e94ffa2249063ea5585daa3ed3080372ba54116 100644 (file)
@@ -4,8 +4,11 @@ AUX poppler-0.12.3-config.patch 3468 RMD160 de39ce760cca5b811e1c21efc893731fbcfb
 AUX poppler-0.12.3-darwin-gtk-link.patch 455 RMD160 9f08076c4821a29ef8b96bc0eb32b0b1d93b0285 SHA1 297d84fff5ee4f9fd05ceaf34228df5e21baff90 SHA256 1d58beb5d476857e60cdf16bc4c458b8c48e59f2b9a26715f485003da18f9814
 AUX poppler-0.12.3-fix-headers-installation.patch 1110 RMD160 8e327ab79c6cc3dc149b83be8c96ceb0ecfd494d SHA1 fa9b58cc1ca6f81f5dd30a41f89b8b5c136d9fe4 SHA256 ef05df49853ecde1fa5711f799f75d2811d56481f199995d88efb198f9f5b12e
 AUX poppler-0.12.3-gdk.patch 633 RMD160 85f009940f64f1e4d8d3b1dff2a8ec1e09b95420 SHA1 90c650df067e5dd2558dee1c098c5655b0f5974b SHA256 c6054c500b6049ec8be492bae5d364c6fdfed23a8ffe704ad80f2677ed13ccac
+AUX poppler-0.12.4-config.patch 3028 RMD160 5e0d0e51621eeb272d019990c526cbcef21cec1f SHA1 1279f1c31356ccf80857999f1c3574b28a9fae7c SHA256 7c1b7765ad6a55397d16822bf89e9dcee075181bf589bbbad100854274bbe69b
 DIST poppler-0.12.3.tar.gz 1616883 RMD160 a8fd07ec4dc918cc17390a5236aff9a43e1f7253 SHA1 bce8b675fb7c22d507b1965efa7bd71d9ce09460 SHA256 7a4ffe6d2950c446c285700d3b2dc399540a27ce635dd712aff646f02f8dfbcc
+DIST poppler-0.12.4.tar.gz 1674400 RMD160 9c212ebb8fc3d4cbc532f1c826428cc4d195cb5b SHA1 306507e0fbf47736b456218618f043a216c263ef SHA256 2afa2a54bd4ccb09e92f82b64bcafa95d39a404a3b3db9d6a5fcad0e0229857a
 EBUILD poppler-0.12.3-r3.ebuild 2720 RMD160 2ef7b55545520df24692896ef430b3f9a1d26231 SHA1 d3062e903b628aff17f485719dc44b5ecd35d50b SHA256 0a24a2981fb7760907a73fdbf1937d0ab831be1e65d96c399740ddec9b38dde3
 EBUILD poppler-0.12.3-r5.ebuild 2788 RMD160 d767d0a8225a4b748229962aa2db8dfce5f75fcd SHA1 55aac7c1f20f9a970031293dda224c8b32be61e5 SHA256 2532880ea41930aa879019ebcd09f616020744bdfdde1c1ec2a3fa605ff8a475
-MISC ChangeLog 31569 RMD160 35a2938394d1c0bba97214eec08f0430b3a85487 SHA1 0c963f8304c26a89e4dc0724d74b494233059c14 SHA256 90b2957f21dc049ccf3c18ae80aca417541b0f215359b9edef2cbb80132a8419
+EBUILD poppler-0.12.4.ebuild 2825 RMD160 0c944803bd151b2572ed8e159a8a1191cb080f65 SHA1 122668a59d963b0058712f7b6737ba000daa2cd1 SHA256 55e7063c98a8f7836c9831cc8ea66af6e1d6d95d053f51168de18ce8d5736059
+MISC ChangeLog 31726 RMD160 1bbb42542f0bf84ba7de4b825ae66fdee9993935 SHA1 bad983500b63c38aa3f2355d5abbab8af6ee71ba SHA256 e8e1dd847abd82445995621d7342a10e8ef999ba0be6b339ef8e41cad76c5848
 MISC metadata.xml 565 RMD160 6a9e714721911707b23fb27535d64ab92c90a5f8 SHA1 ca7711ec7b7d2953310ae3b00ff2f447371c103f SHA256 ec946c05ddfa21325d7cb705cee3342f4a95a1d08b02f324e4bac36bfc479e0b
diff --git a/app-text/poppler/files/poppler-0.12.4-config.patch b/app-text/poppler/files/poppler-0.12.4-config.patch
new file mode 100644 (file)
index 0000000..0449e3f
--- /dev/null
@@ -0,0 +1,95 @@
+diff -urN poppler-0.12.3.sav/poppler/poppler-config.h poppler-0.12.3/poppler/poppler-config.h
+--- poppler-0.12.3.sav/poppler/poppler-config.h        2009-12-24 11:51:39.000000000 +0100
++++ poppler-0.12.3/poppler/poppler-config.h    1970-01-01 01:00:00.000000000 +0100
+@@ -1,91 +0,0 @@
+-/* poppler/poppler-config.h.  Generated from poppler-config.h.in by configure.  */
+-//================================================= -*- mode: c++ -*- ====
+-//
+-// poppler-config.h
+-//
+-// Copyright 1996-2004 Glyph & Cog, LLC
+-//
+-//========================================================================
+-
+-#ifndef POPPLER_CONFIG_H
+-#define POPPLER_CONFIG_H
+-
+-// We duplicate some of the config.h #define's here since they are
+-// used in some of the header files we install.  The #ifndef/#endif
+-// around #undef look odd, but it's to silence warnings about
+-// redefining those symbols.
+-
+-/* Enable multithreading support. */
+-#ifndef MULTITHREADED
+-#define MULTITHREADED 1
+-#endif
+-
+-/* Enable exceptions. */
+-#ifndef USE_EXCEPTIONS
+-/* #undef USE_EXCEPTIONS */
+-#endif
+-
+-/* Use fixedpoint. */
+-#ifndef USE_FIXEDPOINT
+-/* #undef USE_FIXEDPOINT */
+-#endif
+-
+-/* Include support for OPI comments. */
+-#ifndef OPI_SUPPORT
+-#define OPI_SUPPORT 1
+-#endif
+-
+-/* Enable word list support. */
+-#ifndef TEXTOUT_WORD_LIST
+-#define TEXTOUT_WORD_LIST 1
+-#endif
+-
+-// Also, there's a couple of preprocessor symbols in the header files
+-// that are used but never defined: DISABLE_OUTLINE, DEBUG_MEM and
+-
+-//------------------------------------------------------------------------
+-// version
+-//------------------------------------------------------------------------
+-
+-// copyright notice
+-#define popplerCopyright "Copyright 2005-2009 The Poppler Developers - http://poppler.freedesktop.org"
+-#define xpdfCopyright "Copyright 1996-2004 Glyph & Cog, LLC"
+-
+-//------------------------------------------------------------------------
+-// popen
+-//------------------------------------------------------------------------
+-
+-#if defined(_MSC_VER) || defined(__BORLANDC__)
+-#define popen _popen
+-#define pclose _pclose
+-#endif
+-
+-#if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(__EMX__) || defined(_WIN32) || defined(__DJGPP__) || defined(MACOS)
+-#define POPEN_READ_MODE "rb"
+-#else
+-#define POPEN_READ_MODE "r"
+-#endif
+-
+-//------------------------------------------------------------------------
+-// Win32 stuff
+-//------------------------------------------------------------------------
+-
+-#if defined(_WIN32) && !defined(_MSC_VER)
+-#include <windef.h>
+-#else
+-#define CDECL
+-#endif
+-
+-//------------------------------------------------------------------------
+-// Compiler
+-//------------------------------------------------------------------------
+-
+-#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
+-#define GCC_PRINTF_FORMAT(fmt_index, va_index) \
+-      __attribute__((__format__(__printf__, fmt_index, va_index)))
+-#else
+-#define GCC_PRINTF_FORMAT(fmt_index, va_index)
+-#endif
+-
+-
+-#endif /* POPPLER_CONFIG_H */
diff --git a/app-text/poppler/poppler-0.12.4.ebuild b/app-text/poppler/poppler-0.12.4.ebuild
new file mode 100644 (file)
index 0000000..7e95602
--- /dev/null
@@ -0,0 +1,88 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.12.4.ebuild,v 1.1 2010/02/18 01:41:25 yngwin Exp $
+
+EAPI="2"
+
+inherit cmake-utils
+
+DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
+HOMEPAGE="http://poppler.freedesktop.org/"
+SRC_URI="http://poppler.freedesktop.org/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="+abiword cairo cjk debug doc exceptions jpeg jpeg2k +lcms png qt4 +utils +xpdf-headers"
+
+COMMON_DEPEND=">=media-libs/fontconfig-2.6.0
+       >=media-libs/freetype-2.3.9
+       sys-libs/zlib
+       abiword? ( dev-libs/libxml2:2 )
+       cairo? ( dev-libs/glib:2
+                        >=x11-libs/cairo-1.8.4
+                        >=x11-libs/gtk+-2.14.0:2 )
+       jpeg? ( >=media-libs/jpeg-7:0 )
+       jpeg2k? ( media-libs/openjpeg )
+       png? ( media-libs/libpng )
+       qt4? ( x11-libs/qt-core:4
+                  x11-libs/qt-gui:4 )"
+DEPEND="${COMMON_DEPEND}
+       dev-util/pkgconfig"
+RDEPEND="${COMMON_DEPEND}
+       !dev-libs/poppler
+       !dev-libs/poppler-glib
+       !dev-libs/poppler-qt3
+       !dev-libs/poppler-qt4
+       !app-text/poppler-utils
+       cjk? ( >=app-text/poppler-data-0.2.1 )"
+
+DOCS="AUTHORS ChangeLog NEWS README README-XPDF TODO"
+
+src_prepare() {
+       epatch "${FILESDIR}"/${PN}-0.12.3-cmake-disable-tests.patch
+       epatch "${FILESDIR}"/${PN}-0.12.3-fix-headers-installation.patch
+       epatch "${FILESDIR}"/${PN}-0.12.3-gdk.patch
+       epatch "${FILESDIR}"/${PN}-0.12.3-darwin-gtk-link.patch
+       epatch "${FILESDIR}"/${P}-config.patch  #304407
+       epatch "${FILESDIR}"/${PN}-0.12.3-cairo-downscale.patch  #303817
+}
+
+src_configure() {
+       mycmakeargs=(
+               -DBUILD_GTK_TESTS=OFF
+               -DBUILD_QT4_TESTS=OFF
+               -DWITH_Qt3=OFF
+               -DENABLE_SPLASH=ON
+               -DENABLE_ZLIB=ON
+               $(cmake-utils_use_enable abiword)
+               $(cmake-utils_use_enable lcms)
+               $(cmake-utils_use_enable jpeg2k LIBOPENJPEG)
+               $(cmake-utils_use_enable utils)
+               $(cmake-utils_use_enable xpdf-headers XPDF_HEADERS)
+               $(cmake-utils_use_with cairo)
+               $(cmake-utils_use_with cairo GTK)
+               $(cmake-utils_use_with jpeg)
+               $(cmake-utils_use_with png)
+               $(cmake-utils_use_with qt4)
+               $(cmake-utils_use exceptions USE_EXCEPTIONS)
+       )
+
+       cmake-utils_src_configure
+}
+
+src_install() {
+       cmake-utils_src_install
+
+       if use cairo && use doc; then
+               # For now install gtk-doc there
+               insinto /usr/share/gtk-doc/html/poppler
+               doins -r "${S}"/glib/reference/html/* || die 'failed to install API documentation'
+       fi
+}
+
+pkg_postinst() {
+       ewarn 'After upgrading app-text/poppler you may need to reinstall packages'
+       ewarn 'depending on it. If you have gentoolkit installed, you can find those'
+       ewarn 'with `equery d poppler`.'
+}