diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /app-text/xpdf | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'app-text/xpdf')
-rw-r--r-- | app-text/xpdf/Manifest | 1 | ||||
-rw-r--r-- | app-text/xpdf/xpdf-4.04-r1.ebuild | 161 |
2 files changed, 0 insertions, 162 deletions
diff --git a/app-text/xpdf/Manifest b/app-text/xpdf/Manifest index 00df14bb5bb3..e280645a4adf 100644 --- a/app-text/xpdf/Manifest +++ b/app-text/xpdf/Manifest @@ -22,7 +22,6 @@ DIST xpdf-korean-20231205.tar.gz 809244 BLAKE2B f24d521d17d675a1054aed0df12b4105 DIST xpdf-latin2.tar.gz 1431 BLAKE2B db8c823c4e90643b9d08c9a4106f479470236a00115d2dc6f3a71da4bc9b5e33561da5ac5dce81cbf5fc943a65572f3595601f6e9f31a3fba9bc0d35f28e0016 SHA512 5fe0b60bfac7f0f4a26e3e7216de5043f6b94446f464c984b7c25431ec01a5912952c0dc66bb2c7159c9f63e4805689c6cfc761086aad9e59f1f21d0cddb5d15 DIST xpdf-thai.tar.gz 1878 BLAKE2B dbcc2aa2652c40c2220688767a58cadcfbe39310d6c2664b98392a03b00de6d558fa3f333a085e7c6ff3476b6ffcd98fcc228eeb8dd59e905f870c8a39143ac9 SHA512 5584b590e34da29285c379e3b7a7243c28241ec6fddb3e4a8e2e7bf88b8f7aaae3483061d12c332a1ff042ec5e2b31869a67d60512ac48f7903c5e2fc871aa87 DIST xpdf-turkish.tar.gz 1137 BLAKE2B f735e9842361a5a73fabe40aa4e9cb552475d3751df3e885c5a1a68e0de8ca7b5a031e6332495f70abdc1e943fa615f09185e9ba22922f37f02e42f59ddfc57c SHA512 a73e90bce8f2a12154b06ef29333a45d96258c0d653d5cb15afd2e5ad9e79a9b617e5f8ebeb20bde545684d50f3bc1349800c99f70c863bdd502c24c266b4fb1 -EBUILD xpdf-4.04-r1.ebuild 4121 BLAKE2B 918e321bb50511e69e792581c9c1e9a28c4b82965520ddd8f8e4c80adf49bd6b781d94c9fccf01a0b55b7a30dd4e5205e0747a3ad63bb79533b1e032a1299eab SHA512 7863ab3f65d77b541beceb80324d2a3c9f49fc6f7c0f0fc2d03ed5f0b40e0a7b50d7cd97477a616b16c7b1572a3a700b2fea3015cb96255b633682eb84982033 EBUILD xpdf-4.04-r2.ebuild 4164 BLAKE2B cdfeb410fc2cfe5d100aee08cf14961dd82e13ffa5814c6f4c4ebbd3da890e0dd2bf30bff13b34b15f68fb77c2deffc897ef2cd35687d6cd545108ddf84acd11 SHA512 47b99d180a0b062a60a1c495aa6d2dbd217eb361e242db1246c808deb855a95a2ddc22a54b7776f57c12175226ae4876499b28bfde3e5969445393571d9061e5 EBUILD xpdf-4.05.ebuild 4215 BLAKE2B 6c144238a4eb787ee3f9fc491c1ecfd124f236f7e68d9eeda44bf46dd09e7cf2e0e440243ed8c370be8f41035b41cc866d3bfdac215d457c5e76011b0be4317b SHA512 3d93115b2ae36577ae2272269a4e3e5a957a9d6fb1ebe7b47e887d8bd9f50603c9c3ba52005960200596187efde790b96860ccfd69e873dd35ff29be2225e57c MISC metadata.xml 1011 BLAKE2B a35854c110678bcc8c46a1a8a8823f93b2552b6349c3ab75829aeddd201a446dd73d72e166db112f9d8a808082822982956ec36d53600f139603d56bf72a3208 SHA512 230517c08a5b36fd2bc4135ea50405ed3eb73becd5f5747b94229389cc5f61227bd8b61004239f30fd1dae314a6da37434b370db12aacea5d1643610e0a36699 diff --git a/app-text/xpdf/xpdf-4.04-r1.ebuild b/app-text/xpdf/xpdf-4.04-r1.ebuild deleted file mode 100644 index a9265208e02a..000000000000 --- a/app-text/xpdf/xpdf-4.04-r1.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/xpdf.asc -inherit cmake desktop verify-sig xdg - -DESCRIPTION="The PDF viewer and tools" -HOMEPAGE="https://www.xpdfreader.com" -SRC_URI="https://dl.xpdfreader.com/${P}.tar.gz - i18n? ( - https://dl.xpdfreader.com/xpdf-arabic.tar.gz - https://dl.xpdfreader.com/xpdf-chinese-simplified.tar.gz -> xpdf-chinese-simplified-20201222.tar.gz - https://dl.xpdfreader.com/xpdf-chinese-traditional.tar.gz -> xpdf-chinese-traditional-20201222.tar.gz - https://dl.xpdfreader.com/xpdf-cyrillic.tar.gz - https://dl.xpdfreader.com/xpdf-greek.tar.gz - https://dl.xpdfreader.com/xpdf-hebrew.tar.gz - https://dl.xpdfreader.com/xpdf-japanese.tar.gz -> xpdf-japanese-20201222.tar.gz - https://dl.xpdfreader.com/xpdf-korean.tar.gz -> xpdf-korean-20201222.tar.gz - https://dl.xpdfreader.com/xpdf-latin2.tar.gz - https://dl.xpdfreader.com/xpdf-thai.tar.gz - https://dl.xpdfreader.com/xpdf-turkish.tar.gz - ) - verify-sig? ( https://dl.xpdfreader.com/${P}.tar.gz.sig )" - -LICENSE="|| ( GPL-2 GPL-3 ) i18n? ( BSD )" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cmyk cups +fontconfig i18n icons +libpaper metric opi png +textselect utils" - -BDEPEND=" - icons? ( gnome-base/librsvg ) - verify-sig? ( sec-keys/openpgp-keys-xpdf ) -" -DEPEND=" - cups? ( - dev-qt/qtprintsupport:5[cups] - net-print/cups - ) - fontconfig? ( media-libs/fontconfig ) - libpaper? ( app-text/libpaper:= ) - utils? ( png? ( media-libs/libpng:0 ) ) - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - media-libs/freetype - sys-libs/zlib -" -RDEPEND="${DEPEND} - dev-qt/qtsvg:5 - media-fonts/urw-fonts -" - -PATCHES=( - "${FILESDIR}"/${PN}-automagic.patch - "${FILESDIR}"/${PN}-visibility.patch - "${FILESDIR}"/${PN}-shared-libs.patch - "${FILESDIR}"/${PN}-4.04-libpaper-2.patch -) - -DOCS=( ANNOUNCE CHANGES README ) - -src_unpack() { - if use verify-sig; then - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.sig} - fi - default -} - -src_prepare() { - sed -i \ - "s|/usr/local/etc|${EPREFIX}/etc|; - s|/usr/local|${EPREFIX}/usr|" \ - doc/sample-xpdfrc || die - - if use i18n; then - sed -i "s|/usr/local|${EPREFIX}/usr|" "${WORKDIR}"/*/add-to-xpdfrc || die - fi - - xdg_environment_reset - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DA4_PAPER=$(usex metric) - -DNO_FONTCONFIG=$(usex fontconfig off on) - -DNO_TEXT_SELECT=$(usex textselect off on) - -DOPI_SUPPORT=$(usex opi) - -DSPLASH_CMYK=$(usex cmyk) - -DWITH_LIBPAPER=$(usex libpaper) - -DWITH_LIBPNG=$(usex png) - -DXPDFWIDGET_PRINTING=$(usex cups) - -DSYSTEM_XPDFRC="${EPREFIX}/etc/xpdfrc" - # Bug 910166 - # https://forum.xpdfreader.com/viewtopic.php?p=45052#p45052 - # Likely fixed in 4.05 - -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Widgets=ON - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - if use icons; then - sizes="16 22 24 32 36 48 64 72 96 128 192 256 512" - cd xpdf-qt - mkdir $sizes - local i - for i in $sizes; do - rsvg-convert xpdf-icon.svg -w $i -h $i -o $i/xpdf.png - done - fi -} - -src_install() { - cmake_src_install - - domenu "${FILESDIR}/xpdf.desktop" - newicon -s scalable xpdf-qt/xpdf-icon.svg xpdf.svg - if use icons; then - local i - for i in $sizes; do - doicon -s $i xpdf-qt/$i/xpdf.png - done - unset sizes - fi - - insinto /etc - newins doc/sample-xpdfrc xpdfrc - - local d i - if use utils; then - for d in "bin" "share/man/man1"; do - pushd "${ED}/usr/${d}" || die - for i in pdf*; do - mv "${i}" "x${i}" || die - done - popd || die - done - - einfo "PDF utilities were renamed from pdf* to xpdf* to avoid file collisions" - einfo "with other packages" - else - rm -rf "${ED}"/usr/bin/pdf* \ - "${ED}"/usr/share/man/man1/pdf* \ - "${ED}"/usr/$(get_libdir) || die - fi - - if use i18n; then - for i in arabic chinese-simplified chinese-traditional cyrillic greek \ - hebrew japanese korean latin2 thai turkish; do - insinto "/usr/share/xpdf/${i}" - doins -r $(find -O3 "${WORKDIR}/xpdf-${i}" -maxdepth 1 -mindepth 1 \ - ! -name README ! -name add-to-xpdfrc || die) - - cat "${WORKDIR}/xpdf-${i}/add-to-xpdfrc" >> "${ED}/etc/xpdfrc" || die - done - fi -} |