summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-10-09 18:24:00 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-10-09 18:24:00 +0000
commitfd1c187b42d0563914d9787abce492126238b880 (patch)
treed14be918e95be73f90c824f7b925587adcd29810 /app-text/djvu
parentAdd live ebuild and make 0.3.0-r1 and 9999 share all code, fix musepack depen... (diff)
downloadhistorical-fd1c187b42d0563914d9787abce492126238b880.tar.gz
historical-fd1c187b42d0563914d9787abce492126238b880.tar.bz2
historical-fd1c187b42d0563914d9787abce492126238b880.zip
Bump to 3.5.22, fixes #287339
Package-Manager: portage-2.2_rc44/cvs/Linux x86_64
Diffstat (limited to 'app-text/djvu')
-rw-r--r--app-text/djvu/ChangeLog9
-rw-r--r--app-text/djvu/Manifest4
-rw-r--r--app-text/djvu/djvu-3.5.22.ebuild111
3 files changed, 121 insertions, 3 deletions
diff --git a/app-text/djvu/ChangeLog b/app-text/djvu/ChangeLog
index 062980a0f918..c0be9c1b5979 100644
--- a/app-text/djvu/ChangeLog
+++ b/app-text/djvu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/djvu
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.95 2009/04/15 16:53:46 ranger Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.96 2009/10/09 18:24:00 patrick Exp $
+
+*djvu-3.5.22 (09 Oct 2009)
+
+ 09 Oct 2009; Patrick Lauer <patrick@gentoo.org> +djvu-3.5.22.ebuild:
+ Bump to 3.5.22, fixes #287339
15 Apr 2009; Brent Baude <ranger@gentoo.org> djvu-3.5.21_p20090103.ebuild:
Marking djvu-3.5.21_p20090103 ppc64 for bug 262776
diff --git a/app-text/djvu/Manifest b/app-text/djvu/Manifest
index cd5ebdf09136..8f4680d0b15d 100644
--- a/app-text/djvu/Manifest
+++ b/app-text/djvu/Manifest
@@ -4,9 +4,11 @@ DIST djvulibre-20090103.tar.gz 3043215 RMD160 b639067ac8c1a2b9c7860fef9b75c093bd
DIST djvulibre-3.5.19.tar.gz 2380092 RMD160 2eb9b5df021bb7121a051d3256999da27dd3b682 SHA1 439977e03c8c35ca74eb5887993edb317923133f SHA256 57ffa154f45de309b352ce53aa6618af2f8639d1e330470c3c955241d44ccd78
DIST djvulibre-3.5.20.tar.gz 2416958 RMD160 fb755064912586585656b9701b7d98bd3019c67b SHA1 88ec94512f3f7845b42c2585f75e07a9cf147380 SHA256 d937528e10c16831d8df31893ee24da8ec2bfd9e9170671c482a1b1abfc5efc3
DIST djvulibre-3.5.21.tar.gz 2993718 RMD160 2163b784d705cc7b55bb3d9c9eb85edec44f28a7 SHA1 a6ef5cb1445baa333883754c703abd75cc5b34f6 SHA256 39f80c1810be22c5ea7f6a44bbb449c3e29902895dcff9da6a8440891a67b8b4
+DIST djvulibre-3.5.22.tar.gz 3027985 RMD160 f74cec88c5fbda28976e64669d3e48833b4dfdcd SHA1 f869d4114052a7df7b8da2d334d124934f1293a6 SHA256 3d9242f98db8f5fc8ca239ccaa91e70c20451fe3b3fa8de6f133e0888f89f0be
EBUILD djvu-3.5.19.ebuild 3295 RMD160 85ad554d5a7c8dd8990f8f8408c3b3953eba8704 SHA1 965f1fc093303026bba9eaf4829e1438ed84f898 SHA256 8c50ba5e182e3ecd34ec9a002159c8365f1a9e4c4b9af3be3ffd58734f60f9ce
EBUILD djvu-3.5.20-r1.ebuild 3524 RMD160 f9d14a06cdb2f57eeb4f41ff1ca3de87656551f1 SHA1 b9cdaec5cb6decb40a2d0aa49f639e71bc0dfef2 SHA256 b9ea8ac19f23d61e8db831eff08af6bae3b1c33f83880ce397ef0d9c8de8bc04
EBUILD djvu-3.5.21.ebuild 3327 RMD160 98f91477ad1eb10d1ddb434726eef015c21bac8a SHA1 895d1553ebb388e32f5b08dfcf4c15eab7afdc8f SHA256 80a93fd443611de1a5f8da5cb7989cc94007a44f60e9d6d59b54441f02de5c1e
EBUILD djvu-3.5.21_p20090103.ebuild 2952 RMD160 b3f48c6d090c198945d50fae2af576127b832b98 SHA1 869749abe0e98c2741df52a4c8196fcc7bd74fcf SHA256 c047add9198ff2fd6d1643ec0c3fea216ecb5dee2ca3778d5ae819c916aa8f18
-MISC ChangeLog 12337 RMD160 a88977d0bbbe11e3610c9bf8784bdde309e40c97 SHA1 9d7457c0416d7a37f0e42c753138b2f77a1ed3f6 SHA256 be1bf44be032e0001f08590e4aea6dab0eb3d8170e229e9d2b504e2c2a6046cd
+EBUILD djvu-3.5.22.ebuild 2954 RMD160 3e83b7054e72156fe50a6e6f40e690f93430fdf4 SHA1 54726e7291a1e6437181924a431130317577f75a SHA256 ee9152617d6c17576fd31db16df3da4b978147f79d8e5a226f8912e5ece35d13
+MISC ChangeLog 12470 RMD160 55ae4b48dfe928c998f23a0b18083b40db9d4d21 SHA1 3809e18f7186870e82e270ee4b86041450bccac0 SHA256 5b8410928542787bcbfdfab78bb17b39ad7f05c528433f7b183c50f1e90055a7
MISC metadata.xml 865 RMD160 09cb90b4680856217c680e395e15957263c01472 SHA1 35e8a38a7dbed0d7f547cf21fa5bbb0133591e3d SHA256 13f4ad340f245deb6b5ba0d5ecfd5fe5aa408ff8ef9b2fe37a2f63ffc793c672
diff --git a/app-text/djvu/djvu-3.5.22.ebuild b/app-text/djvu/djvu-3.5.22.ebuild
new file mode 100644
index 000000000000..fa064e431e61
--- /dev/null
+++ b/app-text/djvu/djvu-3.5.22.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/djvu-3.5.22.ebuild,v 1.1 2009/10/09 18:24:00 patrick Exp $
+
+EAPI=1
+inherit fdo-mime nsplugins flag-o-matic eutils multilib toolchain-funcs confutils
+
+MY_P="${PN}libre-${PV#*_p}"
+
+DESCRIPTION="DjVu viewers, encoders and utilities."
+HOMEPAGE="http://djvu.sourceforge.net"
+SRC_URI="mirror://sourceforge/djvu/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="xml qt3 jpeg tiff debug nls nsplugin kde doc"
+
+RDEPEND="jpeg? ( >=media-libs/jpeg-6b-r2 )
+ tiff? ( media-libs/tiff )
+ qt3? ( x11-libs/qt:3 )"
+DEPEND="${RDEPEND}
+ qt3? ( nsplugin? ( x11-libs/libXt ) )"
+
+S=${WORKDIR}/${MY_P}
+
+LANGS="cs de en fr ja zh"
+for X in ${LANGS}; do
+ IUSE="${IUSE} linguas_${X}"
+done
+
+pkg_setup() {
+ if ! use qt3; then
+ ewarn
+ ewarn "The standalone djvu viewer, djview, will not be compiled."
+ ewarn "Add \"qt3\" to your USE flags if you want it."
+ ewarn
+ fi
+
+ confutils_use_depend_all nsplugin qt3
+}
+
+src_compile() {
+ local I18N
+ if use nls; then
+ for X in ${LANGS}; do
+ if use linguas_${X}; then
+ I18N="${I18N} ${X}"
+ fi
+ done
+ I18N="${I18N# }"
+ if test -n "$I18N"; then
+ I18N="--enable-i18n=${I18N}"
+ else
+ I18N="--enable-i18n"
+ fi
+ else
+ I18N="--disable-i18n"
+ fi
+
+ # We install all desktop files by hand.
+ econf --disable-desktopfiles \
+ $(use_with qt3 qt) \
+ $(use_enable xml xmltools) \
+ $(use_with jpeg) \
+ $(use_with tiff) \
+ "${I18N}" \
+ $(use_enable debug) \
+ ${QTCONF}
+
+ if ! use nsplugin; then
+ sed -e 's:nsdejavu::' -i "${S}"/gui/Makefile || die
+ fi
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" plugindir=/usr/$(get_libdir)/${PLUGINS_DIR} install
+
+ dodoc README TODO NEWS
+
+ use doc && cp -r doc/ "${D}"/usr/share/doc/${PF}
+
+ # Install desktop files.
+ cd desktopfiles
+ insinto /usr/share/icons/hicolor/22x22/mimetypes && newins hi22-djvu.png image-vnd.djvu.png || die
+ insinto /usr/share/icons/hicolor/32x32/mimetypes && newins hi32-djvu.png image-vnd.djvu.png || die
+ insinto /usr/share/icons/hicolor/48x48/mimetypes && newins hi48-djvu.png image-vnd.djvu.png || die
+ insinto /usr/share/mime/packages && doins djvulibre-mime.xml || die
+ if use kde ; then
+ insinto /usr/share/mimelnk/image && doins vnd.djvu.desktop || die
+ cp "${D}"/usr/share/mimelnk/image/{vnd.djvu.desktop,x-djvu.desktop}
+ sed -i -e 's:image/vnd.djvu:image/x-djvu:' "${D}"/usr/share/mimelnk/image/x-djvu.desktop
+ fi
+
+ if use qt3 ; then
+ insinto /usr/share/icons/hicolor/32x32/apps && newins hi32-djview3.png djvulibre-djview3.png || die
+ insinto /usr/share/applications/ && doins djvulibre-djview3.desktop || die
+ fi
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}