diff options
author | Michael Weber <xmw@gentoo.org> | 2015-04-17 15:37:51 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2015-04-17 15:37:51 +0000 |
commit | 1bf28892daf572506ceb08a064e874261b715309 (patch) | |
tree | 3d7f87d6d92166c7dba65e995ac54d554ecf9e2c /app-text | |
parent | Adjust mupdf dependency (diff) | |
download | historical-1bf28892daf572506ceb08a064e874261b715309.tar.gz historical-1bf28892daf572506ceb08a064e874261b715309.tar.bz2 historical-1bf28892daf572506ceb08a064e874261b715309.zip |
Version bump
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Manifest-Sign-Key: 0x62EEF090
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/mupdf/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/mupdf/Manifest | 12 | ||||
-rw-r--r-- | app-text/mupdf/mupdf-1.7.ebuild | 127 | ||||
-rw-r--r-- | app-text/mupdf/mupdf-9999.ebuild | 4 |
4 files changed, 143 insertions, 8 deletions
diff --git a/app-text/mupdf/ChangeLog b/app-text/mupdf/ChangeLog index b249f3e88b37..6decabdac00c 100644 --- a/app-text/mupdf/ChangeLog +++ b/app-text/mupdf/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/mupdf # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v 1.115 2015/02/26 13:53:42 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/ChangeLog,v 1.116 2015/04/17 15:37:50 xmw Exp $ + +*mupdf-1.7 (17 Apr 2015) + + 17 Apr 2015; Michael Weber <xmw@gentoo.org> +mupdf-1.7.ebuild, + mupdf-9999.ebuild: + Version bump *mupdf-1.6 (26 Feb 2015) diff --git a/app-text/mupdf/Manifest b/app-text/mupdf/Manifest index 196d0dc2eb44..77db936032bb 100644 --- a/app-text/mupdf/Manifest +++ b/app-text/mupdf/Manifest @@ -24,19 +24,21 @@ DIST mupdf-1.3_p20140118.tar.gz 7448663 SHA256 ed1791966a60be0d8556cf5e0def0e309 DIST mupdf-1.4.tar.gz 7470075 SHA256 ccac5ad1129f051dbaecbeec01b85f548c8bdb1c97b5e1dd397299bf7f988438 SHA512 6de95fa02e3ebaf2f268765df7eb4c1b53ef0b3b39b57b8e64097c429727dd483894e3a62c520151197290a8e392b9b1746109fc3eb528b44245040acc82a25e WHIRLPOOL a43ab9bbaf5cd5e40445ace3fdeb9e0b57e4924c7e9a7669899275da2c8a41725d862fb1cd85d779852ec794be8184b7d21aaee932024d7d0557e076de6611a4 DIST mupdf-1.5.tar.gz 7485699 SHA256 946393c7abf78e50fa9815f18a9e91f275a1a96a7ea14ae39b5237944070d1f5 SHA512 bfb79838eba629295ab164cf37e49edc8846689598fbad9312409535022a2e747bd062718b899909564c6cf5826fb46a2b4b579ced8c7a3896d6098e7e5ccf40 WHIRLPOOL ebcaf5f677984a78aecf9eeb72e7a79e6e2a6388db5024427d8bf55f31b3690844dd291ada3cd578a5bb9a370ea21cb2a044656c21a0ef47cdf7bfc42c842beb DIST mupdf-1.6.tar.gz 8188199 SHA256 ac6f64d5c287b6549d3c26af8fa298c91697f10ebe52b122ba2c1f43e5ccfa52 SHA512 cda47ef4442bb7de15fc54b87e0e819f80c56c144318b9e953bc36c3da0bb331a10f44016bc89986c317828b7043e737a89556fc51158114b1da58cd8f7977c7 WHIRLPOOL ea14db6f43a70df144f3f70c3421ac7d2096d835fa222f0d5b9c6d64214f5c9156884b6660dda7e1fd2bee83fa9ce66ca25b2f6290ba1588fc55035ad6228413 +DIST mupdf-1.7.tar.gz 7342238 SHA256 9c79ef0ad3343f8feed8aabfaaad6ba7cbdb3e3398aa380ed505ed71086d0fbc SHA512 f4c438019285731e5c8bb6f1f9c46ae20b9fd5f720034ab40d4e31ed4b2dd9cd704c45f1b25f68d46c1ed0a9c76d16b01fb26b83aa372497f924a763f9676044 WHIRLPOOL 3674a0144fa44c618380f06cba5093016fa6f0aa37ef6cc32e582e4f0a94cedb2e320db0f42007d6096650d42cbc2cc28716adf3371f214728c01332d4120462 EBUILD mupdf-1.1_p20121127.ebuild 1488 SHA256 a08ee7cf473fdc0dc524ae23356484895c4402a81ff3eaf8d6763a9839374154 SHA512 eb6fe8166278ba1c013b4b5469f14ff99ea430d4f5102318856e2197ae4121e1fa26d95764f7128f6291ae6835e52056484ed9af89cfacc2ac3fb7ba4a244fd1 WHIRLPOOL 1a3404dc724d8c12a00275b90e515614fcba4893cc1cd3e341e9068b4c61378270063bb766d4051be2d410863893610240d30d7ed86ad09de913c7a6520e9e0b EBUILD mupdf-1.2.ebuild 3259 SHA256 00fa6f25eceae7e70590e37dc6173830d3042fc7ce4ae24f4969f3dbf3ac17cc SHA512 495388528ca026e6d5b1b33e0b7449c48c34006791bd969cd181757175928e7003a4cb0f72839627442feee1eaee49065f0db68e4cf11912da2c970e5d8f32bf WHIRLPOOL 0c010b3dee2bb4378f96b95637867a88d139f9f7dbdf083705a1fbd7491849556f7721ee49cef0afcaf8cedd2793c17df6c14e08a919e875eeb23debfb4820ba EBUILD mupdf-1.3_p20140118.ebuild 3883 SHA256 dc26c2f86c130675f88b11d5e7ba268cd5af8afba5c24c439739dd1495fddad2 SHA512 53c7e2d290479211cf9a200d005503016cb0e0fb021d82e91f17f1fe0a0536f8501bec1486883d2592e6a3cabd3f28f7868c4fa06d30e02d172894b2209debcb WHIRLPOOL 90100b4fddc559f2f3afb3ff9f1fe20ca1953c746c3af974d008f518cda1f256b5522fab9d6dce82ed8e27dfdda28f2a6f09efc9cb228a049f04a32a7301d53f EBUILD mupdf-1.4-r1.ebuild 3868 SHA256 c671fef8c67125a739cf0be6e7c7408de3e044d55bc4234a1de33c3f9fd30b67 SHA512 832b65b05a3a36c6dcc4db99d0dd8cc9e05fda897840346f95b694d54f3cd894d688d83ac86b915134cf91c81f3e06c72f1a6438eec73c61765107a8d247afd0 WHIRLPOOL 6ec86b3a2022b6bdb2549a1f9c722cf97a3f54b56c4b157c2c7769128c55e4759cffa1e0f57bbe1504e8993eef0da6435356f2db6aab0288766245af4562189f EBUILD mupdf-1.5-r1.ebuild 3994 SHA256 5a2927d239c1f6a43671dfde22c9582af6d4519b1b65c16d57b8f3d98a177ba9 SHA512 3607d22378411a6b07d18db7fee85845bf42d21dffe4ef37312ce470fe71200426b132149a2c1274f866f6db7e7c623d7098a76191b665a920e1019c028094ed WHIRLPOOL d65bb6192a8b9e27dd57e61ef5dddcba926475fdc411465d4ea04548fed947cbeefa45f1e3f651b52d3fac580d9922076de35bbc0ae8d8e3d17438ff3cdcba30 EBUILD mupdf-1.6.ebuild 3991 SHA256 09079463c97cbfe1b8a5b67075da0239adb4ae3fd3f17e34e0aa0da1e85ba87e SHA512 ab8992565e41c9dcb5b60d273ae1bde3b22bf4ce2d691952bb9a0a03098d1d535403bbcd89874c2bba2a48796b9f85a597ced57e0f6895fb0ca75e0f144e5165 WHIRLPOOL 8f05ec8e1ad9ed46c650f8e0c73027e35fdeac7ccd57fe0db25fc196e59528b462f3ec17f4c7ffce9e8151e80ed9063886e608710bd09a17d245be5a2f7bdee7 -EBUILD mupdf-9999.ebuild 3833 SHA256 08dc38fb359d26da7043c60ce98dd75f188f003551f92273e3edcf28f1c5d77b SHA512 67e056c1bf5c01f1016e8f8f1f7952c294694980a79a3504c4aa2cde48b97bafe2e3f46d4352467430eb4ac496c0f3dfe4bd958f866318549655ac3c695c2c20 WHIRLPOOL ee1d09685c9ffcc4128564d63eeb1ff953c0f7f9c9bedb7ce2226fa7d0e402de011881a0b40a8dac5b9d6ed37f23e923a512ba4e5d79e1abb5f7459c74e7f8d1 -MISC ChangeLog 17997 SHA256 7d9f2f22721ea557347a0dd52951d62ce82c6d38b716d054305cf3be1dd19152 SHA512 6a6005b4b34f8bed477e8e43a633eb58e05fef31e32eb5d47f959433aaf8febd6ab83b6091c43ebdb81979a6459771e41472af3c085207b765ff3c54a3f35148 WHIRLPOOL 0fcfb8e3969c363e2d48101b6aee16f3f82fe26d8d5322b37c36a948982c7547375404d52284ae0df36acbd8764dffabd0ad98ba8b053b206531695f87ca6eaa +EBUILD mupdf-1.7.ebuild 3991 SHA256 ccd67c5b14758391c0440d61b889d1b0a2ea733ba8cdb1ab735aa30800340904 SHA512 0a48d45600c2eeabd725f7e702843e34c3bcb094b85430b927661873317dd27d9fa9770e53bf323d7c5a8f22fa3c32954a8e17ffbd046c49d00ff4b578cb8dee WHIRLPOOL dd023e6c014812d27bcab35ada37c946a1eb6079bdcde45b76dd429c034554d76e766340cdb20dce536e5a2a50694b12a78907452cd1a1c595f8a51d93386810 +EBUILD mupdf-9999.ebuild 3833 SHA256 6ea4a594ce604c1a35663defe9eaf6347769bb3a40fda72429600ad61562b946 SHA512 6dd2abe94edbe41ce9e903b4344ead55362bd8d6e65e4d9d846bdf51b1766cf6e3d0bdc4b000d24bdb2d6fec4e361fd64ff2ad9ab11d1ad3da2a0c8703605df1 WHIRLPOOL c1f5ea90e8769ef7a8edd7434566672b183804911cd42a038320c2d802ff04e3e2ec018aec94075b91326276e17a31f15efb910e18def7a57412c5315610a5ba +MISC ChangeLog 18125 SHA256 0e131535a62ff06616430f0feb1f0a18d600b5c6c2b3f5720a773271b501e04f SHA512 587a13aa2a44b9719ffe7bcd4308fea56a1768a46f38b3ac67fb861c903839456f8e7640f83ea40efbd3895b0bebca3b46f6e490cb6f4dcbb36a4885e25d23c8 WHIRLPOOL cd89361edc710527ecf12e2188e0b570fd682076749d74a0db8681694520bfa12d71705cd47554ef91ea0a255a4074ef64d652662d92ecdf9ea1a58d0bdceee0 MISC metadata.xml 302 SHA256 bde1ed5d5b77f24350d5708444153fdfc15593205bfbc58f115d2b7e292d404b SHA512 4c1b0f1ba4c185f0d80e10b094cbb41e8467308367bc6d37f51d82aba522c7d60189f3c6efa22f433d7ce25ec77ac25e9a5fdb9b00aef31c9e3fc1dd00fdbc08 WHIRLPOOL cf4814a563fd457b6e2979939fe693d765a6b87465f66ee9883c3d06723122dfe8de59e96055d7acbd8924d4d61f8627a704289e3bcc0c01a4742426780931b6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iF4EAREIAAYFAlTvJWoACgkQknrdDGLu8JA/QQEAlKiQ0K0gHCKpbb+aWzDdoTyK -JXyZNYp4Eas89k+9KtgA/AlR7bHNJ2MvWyzMUghC/G9Ay4vn3aiDaTYICI9erAv+ -=9fLS +iF4EAREIAAYFAlUxKM8ACgkQknrdDGLu8JBlGAEAk6ptv+QJT7JVWF+ADV66Ch2u +5KU8B7ljU/+6tf5ZQ+sA/2Ec/9cLuc5P5Znl0wRuy5DGiXU2MHP/ZC/6RQhIA5Vu +=jt3/ -----END PGP SIGNATURE----- diff --git a/app-text/mupdf/mupdf-1.7.ebuild b/app-text/mupdf/mupdf-1.7.ebuild new file mode 100644 index 000000000000..d53a9f02682c --- /dev/null +++ b/app-text/mupdf/mupdf-1.7.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-1.7.ebuild,v 1.1 2015/04/17 15:37:50 xmw Exp $ + +EAPI=5 + +inherit eutils multilib toolchain-funcs vcs-snapshot + +DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C" +HOMEPAGE="http://mupdf.com/" +SRC_URI="http://git.ghostscript.com/?p=mupdf.git;a=snapshot;h=0fd24cefd86fb5bb627ee490d3f8127052516c5a;sf=tgz -> ${P}.tar.gz" + +LICENSE="AGPL-3" +MY_SOVER=1.7 +SLOT="0/${MY_SOVER}" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="X vanilla +curl +openssl static static-libs" + +LIB_DEPEND="dev-libs/openssl[static-libs?] + media-libs/freetype:2[static-libs?] + media-libs/jbig2dec[static-libs?] + media-libs/openjpeg:2[static-libs?] + net-misc/curl[static-libs?] + virtual/jpeg[static-libs?] + X? ( x11-libs/libX11[static-libs?] + x11-libs/libXext[static-libs?] )" +RDEPEND="${LIB_DEPEND}" +DEPEND="${RDEPEND} + virtual/pkgconfig + static-libs? ( ${LIB_DEPEND} ) + static? ( ${LIB_DEPEND//?} + app-arch/bzip2[static-libs] + x11-libs/libXau[static-libs] + x11-libs/libXdmcp[static-libs] + x11-libs/libxcb[static-libs] )" + +src_prepare() { + rm -rf thirdparty || die + + epatch \ + "${FILESDIR}"/${PN}-1.3-CFLAGS.patch \ + "${FILESDIR}"/${PN}-1.5-old-debian-files.patch \ + "${FILESDIR}"/${PN}-1.3-pkg-config.patch \ + "${FILESDIR}"/${PN}-1.5-Makerules-openssl-curl.patch + + if has_version ">=media-libs/openjpeg-2.1:2" ; then + epatch \ + "${FILESDIR}"/${PN}-1.5-openjpeg-2.1.patch + fi + + sed -e "/^libdir=/s:/lib:/$(get_libdir):" \ + -e "/^prefix=/s:=.*:=${EROOT}/usr:" \ + -i platform/debian/${PN}.pc || die + + use vanilla || epatch \ + "${FILESDIR}"/${PN}-1.3-zoom-2.patch + + #http://bugs.ghostscript.com/show_bug.cgi?id=693467 + sed -e '/^\(Actions\|MimeType\)=/s:\(.*\):\1;:' \ + -i platform/debian/${PN}.desktop || die + + sed -e "1iOS = Linux" \ + -e "1iCC = $(tc-getCC)" \ + -e "1iLD = $(tc-getCC)" \ + -e "1iAR = $(tc-getAR)" \ + -e "1iverbose = yes" \ + -e "1ibuild = debug" \ + -e "1iprefix = ${ED}usr" \ + -e "1ilibdir = ${ED}usr/$(get_libdir)" \ + -e "1idocdir = ${ED}usr/share/doc/${PF}" \ + -e "1iHAVE_X11 = $(usex X)" \ + -e "1iWANT_OPENSSL = $(usex openssl)" \ + -e "1iWANT_CURL = $(usex curl)" \ + -i Makerules || die + + if use static-libs || use static ; then + cp -a "${S}" "${S}"-static || die + #add missing Libs.private for xcb and freetype + sed -e 's:\(pkg-config --libs\):\1 --static:' \ + -e '/^SYS_X11_LIBS = /s:\(.*\):\1 -lpthread:' \ + -e '/^SYS_FREETYPE_LIBS = /s:\(.*\):\1 -lbz2:' \ + -i "${S}"-static/Makerules || die + fi + + my_soname=libmupdf.so.${MY_SOVER} + my_soname_js_none=libmupdf-js-none.so.${MY_SOVER} + sed -e "\$a\$(MUPDF_LIB): \$(MUPDF_JS_NONE_LIB)" \ + -e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname} -Wl,--no-undefined -o \$@ \$^ \$(MUPDF_JS_NONE_LIB) \$(LIBS)" \ + -e "/^MUPDF_LIB :=/s:=.*:= \$(OUT)/${my_soname}:" \ + -e "\$a\$(MUPDF_JS_NONE_LIB):" \ + -e "\$a\\\t\$(QUIET_LINK) \$(CC) \$(LDFLAGS) --shared -Wl,-soname -Wl,${my_soname_js_none} -Wl,--no-undefined -o \$@ \$^ \$(LIBS)" \ + -e "/install/s: COPYING : :" \ + -i Makefile || die +} + +src_compile() { + emake XCFLAGS="-fpic" + use static-libs && \ + emake -C "${S}"-static build/debug/lib${PN}{,-js-none}.a + use static && \ + emake -C "${S}"-static XLIBS="-static" +} + +src_install() { + if use X ; then + domenu platform/debian/${PN}.desktop + doicon platform/debian/${PN}.xpm + else + rm docs/man/${PN}.1 + fi + + emake install + dosym ${my_soname} /usr/$(get_libdir)/lib${PN}.so + + use static-libs && \ + dolib.a "${S}"-static/build/debug/lib${PN}{,-js-none}.a + if use static ; then + dobin "${S}"-static/build/debug/mu{tool,draw} + use X && dobin "${S}"-static/build/debug/${PN}-x11 + fi + use X && dosym ${PN}-x11 /usr/bin/${PN} + + insinto /usr/$(get_libdir)/pkgconfig + doins platform/debian/${PN}.pc + + dodoc README docs/*.{txt,c} +} diff --git a/app-text/mupdf/mupdf-9999.ebuild b/app-text/mupdf/mupdf-9999.ebuild index 903e0bb9bfbc..224b98484d8e 100644 --- a/app-text/mupdf/mupdf-9999.ebuild +++ b/app-text/mupdf/mupdf-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-9999.ebuild,v 1.50 2015/02/26 13:53:42 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-9999.ebuild,v 1.51 2015/04/17 15:37:50 xmw Exp $ EAPI=5 @@ -12,7 +12,7 @@ EGIT_REPO_URI="git://git.ghostscript.com/mupdf.git" #EGIT_HAS_SUBMODULES=1 LICENSE="AGPL-3" -MY_SOVER=1.6 +MY_SOVER=1.7 SLOT="0/${MY_SOVER}" KEYWORDS="" IUSE="X vanilla curl openssl static static-libs" |