summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2006-06-26 15:01:48 +0000
committerLuca Longinotti <chtekk@gentoo.org>2006-06-26 15:01:48 +0000
commit8ddfae7a050ae223c0f2da917f3e5d718cd1f0a5 (patch)
tree3d9b9a870d8e77325d9a6cc6a77ec8ba9ef2c159 /media-libs
parentStable on sparc (diff)
downloadgentoo-2-8ddfae7a050ae223c0f2da917f3e5d718cd1f0a5.tar.gz
gentoo-2-8ddfae7a050ae223c0f2da917f3e5d718cd1f0a5.tar.bz2
gentoo-2-8ddfae7a050ae223c0f2da917f3e5d718cd1f0a5.zip
Vbump.
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/pdflib/ChangeLog7
-rw-r--r--media-libs/pdflib/files/digest-pdflib-5.0.22
-rw-r--r--media-libs/pdflib/files/digest-pdflib-5.0.4_p12
-rw-r--r--media-libs/pdflib/files/digest-pdflib-5.0.4_p1-r12
-rw-r--r--media-libs/pdflib/files/digest-pdflib-6.0.12
-rw-r--r--media-libs/pdflib/files/digest-pdflib-6.0.33
-rw-r--r--media-libs/pdflib/pdflib-6.0.3.ebuild109
7 files changed, 126 insertions, 1 deletions
diff --git a/media-libs/pdflib/ChangeLog b/media-libs/pdflib/ChangeLog
index ee1579605164..80154348d567 100644
--- a/media-libs/pdflib/ChangeLog
+++ b/media-libs/pdflib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/pdflib
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.56 2006/03/07 12:46:14 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/ChangeLog,v 1.57 2006/06/26 15:01:48 chtekk Exp $
+
+*pdflib-6.0.3 (26 Jun 2006)
+
+ 26 Jun 2006; Luca Longinotti <chtekk@gentoo.org> +pdflib-6.0.3.ebuild:
+ Version bump.
07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml:
Add maintainer-needed metadata.
diff --git a/media-libs/pdflib/files/digest-pdflib-5.0.2 b/media-libs/pdflib/files/digest-pdflib-5.0.2
index 29fc2e9dcf26..ca9adbaa3ce7 100644
--- a/media-libs/pdflib/files/digest-pdflib-5.0.2
+++ b/media-libs/pdflib/files/digest-pdflib-5.0.2
@@ -1 +1,3 @@
MD5 009fb9a1bace2ba86d6ed5373a18fa4b PDFlib-Lite-5.0.2-Unix-src.tar.gz 2774610
+RMD160 30d86a1bfe3c492e0efedcafa4d84f206dfa32e1 PDFlib-Lite-5.0.2-Unix-src.tar.gz 2774610
+SHA256 413cda6a71283b7336c234b4623f05d43d0616252fd7432275979a1237457591 PDFlib-Lite-5.0.2-Unix-src.tar.gz 2774610
diff --git a/media-libs/pdflib/files/digest-pdflib-5.0.4_p1 b/media-libs/pdflib/files/digest-pdflib-5.0.4_p1
index 4bd289be0a01..4eda875a9a43 100644
--- a/media-libs/pdflib/files/digest-pdflib-5.0.4_p1
+++ b/media-libs/pdflib/files/digest-pdflib-5.0.4_p1
@@ -1 +1,3 @@
MD5 0bdafcbf7d1e732cf0abd376c6021637 PDFlib-Lite-5.0.4p1-Unix-src.tar.gz 2825309
+RMD160 b184e1484d7e908d85a13f8ed7ef22b56154cc29 PDFlib-Lite-5.0.4p1-Unix-src.tar.gz 2825309
+SHA256 7236c07aa80fdda79359ee89a05d4fdb5784a8a1788cdbc79197911cfa4dc422 PDFlib-Lite-5.0.4p1-Unix-src.tar.gz 2825309
diff --git a/media-libs/pdflib/files/digest-pdflib-5.0.4_p1-r1 b/media-libs/pdflib/files/digest-pdflib-5.0.4_p1-r1
index 4bd289be0a01..4eda875a9a43 100644
--- a/media-libs/pdflib/files/digest-pdflib-5.0.4_p1-r1
+++ b/media-libs/pdflib/files/digest-pdflib-5.0.4_p1-r1
@@ -1 +1,3 @@
MD5 0bdafcbf7d1e732cf0abd376c6021637 PDFlib-Lite-5.0.4p1-Unix-src.tar.gz 2825309
+RMD160 b184e1484d7e908d85a13f8ed7ef22b56154cc29 PDFlib-Lite-5.0.4p1-Unix-src.tar.gz 2825309
+SHA256 7236c07aa80fdda79359ee89a05d4fdb5784a8a1788cdbc79197911cfa4dc422 PDFlib-Lite-5.0.4p1-Unix-src.tar.gz 2825309
diff --git a/media-libs/pdflib/files/digest-pdflib-6.0.1 b/media-libs/pdflib/files/digest-pdflib-6.0.1
index 5439bdd0c685..78255aa0e41d 100644
--- a/media-libs/pdflib/files/digest-pdflib-6.0.1
+++ b/media-libs/pdflib/files/digest-pdflib-6.0.1
@@ -1 +1,3 @@
MD5 6a4f3c0c8407e0ed1d5c9d5233b1b62b PDFlib-Lite-6.0.1.tar.gz 3642803
+RMD160 9e0981af333f5d2de7abcb584d8e1edcd1acb820 PDFlib-Lite-6.0.1.tar.gz 3642803
+SHA256 f9df3a479995d28a1d71c9286859ccd38c3fdb41c39acf86d9a92c19fa517f89 PDFlib-Lite-6.0.1.tar.gz 3642803
diff --git a/media-libs/pdflib/files/digest-pdflib-6.0.3 b/media-libs/pdflib/files/digest-pdflib-6.0.3
new file mode 100644
index 000000000000..101dd33ba572
--- /dev/null
+++ b/media-libs/pdflib/files/digest-pdflib-6.0.3
@@ -0,0 +1,3 @@
+MD5 799aeaa3f0f9a13d7a661d730327e9d0 PDFlib-Lite-6.0.3.tar.gz 3763292
+RMD160 c8d74b31f30156be0280865aaa9985883fba6c21 PDFlib-Lite-6.0.3.tar.gz 3763292
+SHA256 7ebd0f907283800e757bf27b038e4f18786c16577f51a547e55da014f9f248ff PDFlib-Lite-6.0.3.tar.gz 3763292
diff --git a/media-libs/pdflib/pdflib-6.0.3.ebuild b/media-libs/pdflib/pdflib-6.0.3.ebuild
new file mode 100644
index 000000000000..08a037ed8454
--- /dev/null
+++ b/media-libs/pdflib/pdflib-6.0.3.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/pdflib/pdflib-6.0.3.ebuild,v 1.1 2006/06/26 15:01:48 chtekk Exp $
+
+# eutils must be inherited since get_libdir() is only
+# globally available on baselayout-1.11 (still on ~arch)
+inherit eutils java-pkg
+
+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/products/pdflib/download/${PV//./}src/${MY_P}.tar.gz"
+LICENSE="Aladdin"
+SLOT="5"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~ppc-macos ~s390"
+IUSE="tcltk perl python java"
+
+DEPEND=">=sys-apps/sed-4
+ tcltk? ( >=dev-lang/tk-8.2 )
+ perl? ( >=dev-lang/perl-5.1 )
+ python? ( >=dev-lang/python-2.2 )
+ java? ( >=virtual/jdk-1.3 )"
+
+src_compile() {
+ local myconf=
+
+ 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 <kugelfang@gentoo.org> 2005/02/14
+ TCLVER="$(echo 'puts [info tclversion]' | $(which tclsh))"
+ use tcltk \
+ && 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
+ emake || die "emake failed"
+}
+
+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/*
+
+ # seemant: seems like the makefiles for pdflib generate the .jar file
+ # anyway
+ use java && java-pkg_dojar bind/pdflib/java/pdflib.jar
+
+ # karltk: This is definitely NOT how it should be done!
+ # we need this to create pdflib.jar (we will not have the source when
+ # this is a binary package ...)
+# if use java
+# then
+# insinto /usr/share/pdflib
+# doins ${S}/bind/pdflib/java/pdflib.java
+#
+# mkdir -p com/pdflib
+# mv ${S}/bind/pdflib/java/pdflib.java com/pdflib
+# javac com/pdflib/pdflib.java
+#
+# jar cf pdflib.jar com/pdflib/*.class
+#
+# java-pkg_dojar pdflib.jar
+# fi
+}