From: Anant Narayanan Date: Mon, 23 Apr 2007 22:51:06 +0000 (+0000) Subject: vBump to 7.0.1, closes bug #154259 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bec12578def01f56eee487ad118edc20c80529a7;p=gentoo.git vBump to 7.0.1, closes bug #154259 Package-Manager: portage-2.1.2.4 --- diff --git a/media-libs/pdflib/ChangeLog b/media-libs/pdflib/ChangeLog index 20cdae829ba1..b9a31867d819 100644 --- a/media-libs/pdflib/ChangeLog +++ b/media-libs/pdflib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/pdflib # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.63 2007/03/16 22:45:29 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.64 2007/04/23 22:51:06 anant Exp $ + +*pdflib-7.0.1 (23 Apr 2007) + + 23 Apr 2007; Anant Narayanan +pdflib-7.0.1.ebuild: + vBump to 7.0.1 16 Mar 2007; Luca Longinotti pdflib-5.0.4_p1-r1.ebuild, pdflib-6.0.3.ebuild, pdflib-6.0.3-r1.ebuild: diff --git a/media-libs/pdflib/Manifest b/media-libs/pdflib/Manifest index b257b8977af3..a0561b2bba2d 100644 --- a/media-libs/pdflib/Manifest +++ b/media-libs/pdflib/Manifest @@ -4,6 +4,7 @@ RMD160 c5ebf24dadba624d35bd32b4c53bcc7916aad329 files/fix-java-compile.patch 547 SHA256 9cf04367ca4e35f48f51b1d3b1454b60ff09d918b0a59246933cc1f4c88c5f83 files/fix-java-compile.patch 547 DIST PDFlib-Lite-5.0.4p1-Unix-src.tar.gz 2825309 RMD160 b184e1484d7e908d85a13f8ed7ef22b56154cc29 SHA1 0e2bbbb78e252fb96ba690fd1596911f540453a4 SHA256 7236c07aa80fdda79359ee89a05d4fdb5784a8a1788cdbc79197911cfa4dc422 DIST PDFlib-Lite-6.0.3.tar.gz 3763292 RMD160 c8d74b31f30156be0280865aaa9985883fba6c21 SHA1 93c5d78bdff142e873873967df8be49b70fe3c39 SHA256 7ebd0f907283800e757bf27b038e4f18786c16577f51a547e55da014f9f248ff +DIST PDFlib-Lite-7.0.1.tar.gz 5350886 RMD160 b0d7431c07d96df484cd45980fcde9b7df2f200f SHA1 096f0b569695aab6fbf675f4eeb19b32d4e5e443 SHA256 61b79378f5138c83d7b87675e58d82880f9d408c6d1c504b3d617104471db87f EBUILD pdflib-5.0.4_p1-r1.ebuild 3629 RMD160 718c0e0940df14365ea211346111c32d637a2af6 SHA1 4ab4831e06e4d284f7abb325338f2e0710b431c7 SHA256 973078486db140ec703d8bdb0c3cc57a95dfe9b3074a569f94447efb1080519d MD5 a9a8f032df2897f34c281523a5d89b07 pdflib-5.0.4_p1-r1.ebuild 3629 RMD160 718c0e0940df14365ea211346111c32d637a2af6 pdflib-5.0.4_p1-r1.ebuild 3629 @@ -16,10 +17,14 @@ EBUILD pdflib-6.0.3.ebuild 3613 RMD160 a9740dfe7de5b55c9618153b1f4e70a6c17cbc87 MD5 e8f5fb04285622051123a2a0eb8f8f34 pdflib-6.0.3.ebuild 3613 RMD160 a9740dfe7de5b55c9618153b1f4e70a6c17cbc87 pdflib-6.0.3.ebuild 3613 SHA256 cce2f55c02fea05934bd5b489fe5ed02bc4e1c190635b3f6dc6c2a2f4b5c7204 pdflib-6.0.3.ebuild 3613 -MISC ChangeLog 9127 RMD160 577449bb44b7471a5bb02f598d3598f1e06ca4c1 SHA1 4020e08ba0654961239dcf39be27ebc0fd5dcf92 SHA256 f84f2a9d05efbac77899e51f1a124bbba8793caa55447bc2efa2cb899ec3d674 -MD5 1c09070ef3b8ca78d75802bef36180e9 ChangeLog 9127 -RMD160 577449bb44b7471a5bb02f598d3598f1e06ca4c1 ChangeLog 9127 -SHA256 f84f2a9d05efbac77899e51f1a124bbba8793caa55447bc2efa2cb899ec3d674 ChangeLog 9127 +EBUILD pdflib-7.0.1.ebuild 3442 RMD160 593670b9efa9dd9b27bad520387b617851e09693 SHA1 b67bcc39c2fcc6e10687f8501d4da8c9adf80c72 SHA256 ac7fdea7969aeffb60bb034f1154667a910f7179e46af00e1aae9a94597c5f9e +MD5 ce7d0e895457eac2ee234ef6cfb5e116 pdflib-7.0.1.ebuild 3442 +RMD160 593670b9efa9dd9b27bad520387b617851e09693 pdflib-7.0.1.ebuild 3442 +SHA256 ac7fdea7969aeffb60bb034f1154667a910f7179e46af00e1aae9a94597c5f9e pdflib-7.0.1.ebuild 3442 +MISC ChangeLog 9245 RMD160 db2b92aa398999951b93c629347ecde6e6fddf62 SHA1 3bced59ca79c69baab01676b174aaf2536b226fb SHA256 0e9af549251864a3490daf5050f810d3823a534c23743b7adec6a0eb28611b58 +MD5 06588f617bf5e9d8dd06ecc199542940 ChangeLog 9245 +RMD160 db2b92aa398999951b93c629347ecde6e6fddf62 ChangeLog 9245 +SHA256 0e9af549251864a3490daf5050f810d3823a534c23743b7adec6a0eb28611b58 ChangeLog 9245 MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157 @@ -33,3 +38,6 @@ SHA256 b9e7114b03d531047fd457038d07e74ebcc2cec37e67bdab49e2c52663f43098 files/di MD5 2018b15518bb032401f97195b2e32920 files/digest-pdflib-6.0.3-r1 256 RMD160 9e4056694ed788f7ddfcd7d9e7a322039703a51e files/digest-pdflib-6.0.3-r1 256 SHA256 b9e7114b03d531047fd457038d07e74ebcc2cec37e67bdab49e2c52663f43098 files/digest-pdflib-6.0.3-r1 256 +MD5 ee62568260ad371160131cff26e16dae files/digest-pdflib-7.0.1 256 +RMD160 278ef576511d7eaf0b596dabafd68252533b1788 files/digest-pdflib-7.0.1 256 +SHA256 fd7b51c0e8ab6f52bc8bf15d60c79e65aefede29e34bff6c119c1f3389b450db files/digest-pdflib-7.0.1 256 diff --git a/media-libs/pdflib/files/digest-pdflib-7.0.1 b/media-libs/pdflib/files/digest-pdflib-7.0.1 new file mode 100644 index 000000000000..3f5dd6896ca6 --- /dev/null +++ b/media-libs/pdflib/files/digest-pdflib-7.0.1 @@ -0,0 +1,3 @@ +MD5 ac47f3f4b9d769c84ad211b76a33ef20 PDFlib-Lite-7.0.1.tar.gz 5350886 +RMD160 b0d7431c07d96df484cd45980fcde9b7df2f200f PDFlib-Lite-7.0.1.tar.gz 5350886 +SHA256 61b79378f5138c83d7b87675e58d82880f9d408c6d1c504b3d617104471db87f PDFlib-Lite-7.0.1.tar.gz 5350886 diff --git a/media-libs/pdflib/pdflib-7.0.1.ebuild b/media-libs/pdflib/pdflib-7.0.1.ebuild new file mode 100644 index 000000000000..3e9b6365570c --- /dev/null +++ b/media-libs/pdflib/pdflib-7.0.1.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-7.0.1.ebuild,v 1.1 2007/04/23 22:51:06 anant Exp $ + +# eutils must be inherited since get_libdir() is only +# globally available on baselayout-1.11 (still on ~arch) +inherit base eutils java-pkg-opt-2 flag-o-matic + +MY_PN="${PN/pdf/PDF}-Lite" +MY_P="${MY_PN}-${PV}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="A library for generating PDF on the fly." +HOMEPAGE="http://www.pdflib.com/" +SRC_URI="http://www.pdflib.com/binaries/${PN/pdf/PDF}/${PV//./}/${MY_P}.tar.gz" +LICENSE="Aladdin" +SLOT="5" +KEYWORDS="~x86" +IUSE="doc tcl perl python java" + +COMMON_DEP=" + >=sys-apps/sed-4 + tcl? ( >=dev-lang/tcl-8.2 ) + perl? ( >=dev-lang/perl-5.1 ) + python? ( >=dev-lang/python-2.2 )" + +DEPEND=" + ${COMMON_DEP} + java? ( >=virtual/jdk-1.4 )" + +RDEPEND=" + ${COMMON_DEP} + java? ( >=virtual/jre-1.4 )" + +src_compile() { + local myconf + + # Bug #87004 + filter-flags -mcpu=* + filter-flags -mtune=* + + PYVER="$(/usr/bin/python -V 2>&1 | cut -d ' ' -f 2 | cut -d '.' -f 1,2)" + # Necessary for multilib on amd64. Please keep this in future releases. + # BUG #81197 + # Danny van Dyk 2005/02/14 + TCLVER="$(echo 'puts [info tclversion]' | $(type -P tclsh))" + use tcl \ + && myconf="--with-tclpkg=/usr/$(get_libdir)/tcl${TCLVER}/" \ + || myconf="--with-tcl=no" + use perl || myconf="${myconf} --with-perl=no" + use python \ + && myconf="${myconf} --with-py=/usr --with-pyincl=/usr/include/python${PYVER}" \ + || myconf="${myconf} --with-py=no" + use java \ + && myconf="${myconf} --with-java=${JAVA_HOME}" \ + || myconf="${myconf} --with-java=no" + + econf \ + --enable-cxx \ + ${myconf} || die + + JAVACFLAGS="$(java-pkg_javac-args)" emake || die "emake failed" + if use java && use doc; then + cd ./bind/pdflib/java || die + emake javadoc || die "Failed to generate javadoc" + fi +} + +src_install() { + sed -i \ + -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ + "${S}/bind/pdflib/perl/Makefile" \ + || die "sed bind/pdflib/perl/Makefile failed" + + sed -i \ + -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ + "${S}/bind/pdflib/python/Makefile" \ + || die "sed bind/pdflib/python/Makefile failed" + + sed -i \ + -e "s:^\(LANG_LIBDIR\).*= \(.*\):\1\t = ${D}/\2:" \ + "${S}/bind/pdflib/tcl/Makefile" \ + || die "sed bind/pdflib/tcl/Makefile failed" + + # ok, this should create the correct lib dirs for perl and python. + # yes, i know it is messy, but as i see it, a ebuild should be generic + # ... ie. you should be able to just use cp to update it + if use perl && [ -x /usr/bin/perl ] ; then + local perlmajver="`/usr/bin/perl -v |grep 'This is perl' \ + |cut -d ' ' -f 4 |cut -d '.' -f 1`" + local perlver="`/usr/bin/perl -v |grep 'This is perl' \ + |cut -d ' ' -f 4`" + local perlarch="`/usr/bin/perl -v |grep 'This is perl' \ + |cut -d ' ' -f 7`" + dodir /usr/$(get_libdir)/perl${perlmajver/v/}/site_perl/${perlver/v/}/${perlarch} + fi + if use python && [ -x /usr/bin/python ] ; then + dodir /usr/$(get_libdir)/python${PYVER}/lib-dynload + fi + #next line required for proper install + dodir /usr/bin + einstall || die + + dodoc readme.txt doc/* + docinto pdflib + dodoc doc/pdflib/* + + # seemant: seems like the makefiles for pdflib generate the .jar file + # anyway + use java && java-pkg_dojar bind/pdflib/java/pdflib.jar + if use java && use doc; then + java-pkg_dojavadoc ./bind/pdflib/java/javadoc + fi +}