summaryrefslogtreecommitdiff
path: root/app-text
diff options
context:
space:
mode:
Diffstat (limited to 'app-text')
-rw-r--r--app-text/Manifest.gzbin48423 -> 48427 bytes
-rw-r--r--app-text/apvlv/Manifest3
-rw-r--r--app-text/apvlv/apvlv-0.4.0-r2.ebuild60
-rw-r--r--app-text/apvlv/files/apvlv-0.4.0-icon-r1.patch10
-rw-r--r--app-text/apvlv/files/apvlv-0.4.0-webkitgtk4.1.patch45
-rw-r--r--app-text/atril/Manifest3
-rw-r--r--app-text/atril/atril-1.26.1.ebuild121
-rw-r--r--app-text/atril/files/atril-1.26.1-webkitgtk4.1.patch15
-rw-r--r--app-text/poppler/Manifest5
-rw-r--r--app-text/poppler/poppler-23.05.0.ebuild136
-rw-r--r--app-text/poppler/poppler-9999.ebuild2
11 files changed, 398 insertions, 2 deletions
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz
index 00d474e49211..e4efd38da4ef 100644
--- a/app-text/Manifest.gz
+++ b/app-text/Manifest.gz
Binary files differ
diff --git a/app-text/apvlv/Manifest b/app-text/apvlv/Manifest
index e048379e584d..a87c7c8b47af 100644
--- a/app-text/apvlv/Manifest
+++ b/app-text/apvlv/Manifest
@@ -1,5 +1,8 @@
AUX apvlv-0.4.0-cmake-cxxflags.patch 378 BLAKE2B 44063fd090374654067c6f1b43d9d392fb0a6739ae1e44271796c97a39962e229b6ba597b29ec7a0e5b30501af3c62f5a7c0fcc3ed093985e4b253ed33a39efc SHA512 d52d7b7f4500c3094de521e8eee368d6b50dd858d78fa830067ea2fe7cb446f66850d57ab70e6f51281d7a86ac531c0ed89425480d1c5e371631f1fbcff23fd3
+AUX apvlv-0.4.0-icon-r1.patch 270 BLAKE2B 330b19b80f1ada52e7f34c17ec1d332050b3ee72e9d0f6ccc246df810eb24b184f53b82ef3f179242564d18847493f487e42e04c3723c689eb31c2a95fe35b7d SHA512 3bb507141d0ea192b7d7fd39d41efe3d8093fe58996425f9db2b4bd5c5eceb4afdff26f51c3d0921b073113a0380c1d8c6521ac76598d02697d399bc22cc4615
AUX apvlv-0.4.0-icon.patch 258 BLAKE2B 440dfe9904c4ac79408c90c5930e7b6ffc26fdd084ac4320fd945679f69c5333ffc4120991658d045d1e4525421f973d7dce020814b641397b54a0706f510475 SHA512 039204036fdf6b8a26451ca7d4b5d7d2e6b28bac8df5d97876a3b3dcb1e5b24e1f030864cac41b7a4776ea7999dffa9053bdd0632baf2d43054474c28e9a9b3d
+AUX apvlv-0.4.0-webkitgtk4.1.patch 1477 BLAKE2B 228b713af3f2caa2110d8e95eeb9e098ad801291002968fae3cc4546c1f009d2e888050b626e00edd395ffd7e6119172e18180b1081cacf8d03a13ede9904930 SHA512 c9c803f89bda5334ebba444d01307815f3144627074d0e21099fed486e02bc60313e3459f30e01654d56ee913d6759dba4fece0c62ba1c30571cd932290f8e90
DIST apvlv-0.4.0.tar.gz 4361302 BLAKE2B 99d61df285ff3b910ace50bc4b1b62601fe7ca9037f835262a8eac179ddcccff5f772121b223e38050243d4bc2da9532e17d9b38fbceb786971d77fea006f91d SHA512 a25033e52acf34b486101953ffaa5de604e3321f9b4705e94fa157596ef560351c1712ed830b2a950f92c054b600a33f903be58f8a7d222c27e5125fedf4245b
EBUILD apvlv-0.4.0-r1.ebuild 1125 BLAKE2B aec2471b52af93c8435d3e3949e85687ccc030f2af562a9eba78e488646eb25e0d743d72b0f3acadbd67298edb736b1c52c6da49d158d14b140cfdd5ba8f7439 SHA512 1a9edbe4ffecec6f68d6a574b14a5e09cfa694c5b5785debfbae4c60edd7408d7eaa03ee9bf2db7d7ac9fce9a3e89b1457fb78efb728d0c5b8fd4079079994c5
+EBUILD apvlv-0.4.0-r2.ebuild 1317 BLAKE2B 514016264e3cb18fdf875957d496c7d8a004766f8780d133358c060e91f6012a52f29c026c66043ad1237b3088187affffbe35a8802971c6e0708a0bc1ea5df0 SHA512 9e551c11b65ec6e4bae8228319d35f82592f9515b2d91015155a1cef92ccdd4b44823e40395a0f38cec2b8efadf5af94ee20f0ea30c6592456b03bfe356fa872
MISC metadata.xml 543 BLAKE2B 6e61516bb251d76663ce79b5c55ba6b7ea8fc6c3b1f0bd9ba4524e7b61e9f79d271599395daaeafa90ff2a44ad6755bf1185aa29adc0462bf65d4bdc9129e502 SHA512 c8822ce8ddfec1223794ac415517f17e46b06eb19207a52457b5362076342364fb85cd1873c0b39642f65bc2640eb752fb793df1d26a66140dd8026f81b8ea90
diff --git a/app-text/apvlv/apvlv-0.4.0-r2.ebuild b/app-text/apvlv/apvlv-0.4.0-r2.ebuild
new file mode 100644
index 000000000000..afd75022a0c5
--- /dev/null
+++ b/app-text/apvlv/apvlv-0.4.0-r2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg cmake desktop
+
+DESCRIPTION="Alf's PDF/DJVU/EPUB Viewer like Vim"
+HOMEPAGE="https://github.com/naihe2010/apvlv/"
+SRC_URI="https://github.com/naihe2010/apvlv/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug djvu"
+
+RDEPEND="
+ app-text/ebook-tools
+ >=app-text/poppler-0.5.0:=[cairo,xpdf-headers(+)]
+ dev-libs/glib:2
+ dev-libs/libxml2
+ net-libs/webkit-gtk:4.1=
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ x11-libs/pango
+ djvu? ( app-text/djvu )
+"
+
+DEPEND="${RDEPEND}
+ app-text/ghostscript-gpl
+ media-libs/freetype
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-cmake-cxxflags.patch
+ "${FILESDIR}"/${P}-icon-r1.patch
+ # https://github.com/naihe2010/apvlv/commit/39f783103e99b954991183cea2b5ccbd9add2a1a
+ "${FILESDIR}"/${P}-webkitgtk4.1.patch
+)
+src_prepare() {
+ cmake_src_prepare
+}
+src_configure() {
+ local mycmakeargs=(
+ -DAPVLV_WITH_DJVU=$(usex djvu)
+ -DAPVLV_ENABLE_DEBUG=$(usex debug)
+ -DAPVLV_WITH_TXT=ON
+ -DDOCDIR="/usr/share/doc/${PF}"
+ )
+ cmake_src_configure
+}
+src_install() {
+ cmake_src_install
+ # https://github.com/naihe2010/apvlv/issues/84
+ newicon -s 32 icons/pdf.png x-office-document.png
+}
diff --git a/app-text/apvlv/files/apvlv-0.4.0-icon-r1.patch b/app-text/apvlv/files/apvlv-0.4.0-icon-r1.patch
new file mode 100644
index 000000000000..e5cb3526f318
--- /dev/null
+++ b/app-text/apvlv/files/apvlv-0.4.0-icon-r1.patch
@@ -0,0 +1,10 @@
+--- a/apvlv.desktop
++++ b/apvlv.desktop
+@@ -2,6 +2,7 @@
+ Version=1.0
+ Type=Application
+ Name=apvlv
++Icon=x-office-document
+ Comment=A minimalistic document viewer
+ Comment[de]=Ein minimalistischer Dokumenten-Betrachter
+ Comment[fr]=Un visionneur de document minimaliste
diff --git a/app-text/apvlv/files/apvlv-0.4.0-webkitgtk4.1.patch b/app-text/apvlv/files/apvlv-0.4.0-webkitgtk4.1.patch
new file mode 100644
index 000000000000..4501184d365c
--- /dev/null
+++ b/app-text/apvlv/files/apvlv-0.4.0-webkitgtk4.1.patch
@@ -0,0 +1,45 @@
+From 39f783103e99b954991183cea2b5ccbd9add2a1a Mon Sep 17 00:00:00 2001
+From: Alberto Garcia <berto@igalia.com>
+Date: Wed, 16 Nov 2022 10:05:42 +0100
+Subject: [PATCH] Use the WebKitGTK 4.1 API builds when available
+
+These use soup3 instead of soup2 internally but the API is the same.
+---
+ src/CMakeLists.txt | 10 ++++++++--
+ 1 file changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 457f576..cd12d9b 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -18,14 +18,20 @@ FIND_PACKAGE(PkgConfig)
+ PKG_CHECK_MODULES(FREETYPE2 freetype2 REQUIRED)
+ PKG_CHECK_MODULES(GTK gtk+-3.0)
+ PKG_CHECK_MODULES(GLIB2 glib-2.0 REQUIRED)
+-PKG_CHECK_MODULES(WEBKIT webkit2gtk-4.0 REQUIRED)
++PKG_CHECK_MODULES(LIBXML libxml-2.0 REQUIRED)
++PKG_CHECK_MODULES(WEBKIT webkit2gtk-4.1)
++if (NOT WEBKIT_FOUND)
++ PKG_CHECK_MODULES(WEBKIT webkit2gtk-4.0 REQUIRED)
++endif()
+ INCLUDE_DIRECTORIES(${FREETYPE2_INCLUDE_DIRS}
+ ${GTK_INCLUDE_DIRS}
+ ${GLIB2_INCLUDE_DIRS}
++ ${LIBXML_INCLUDE_DIRS}
+ ${WEBKIT_INCLUDE_DIRS})
+ LINK_DIRECTORIES(${FREETYPE2_LIBRARY_DIRS}
+ ${GTK_LIBRARY_DIRS}
+ ${GLIB2_LIBRARY_DIRS}
++ ${LIBXML_LIBRARY_DIRS}
+ ${WEBKIT_LIBRARY_DIRS})
+
+ IF (WIN32)
+@@ -116,7 +122,7 @@ TARGET_LINK_LIBRARIES(apvlv
+ ${GTHREAD2_LIBRARIES}
+ ${WEBKIT_LIBRARIES}
+ "-lepub"
+- "-lxml2"
++ ${LIBXML_LIBRARIES}
+ ${APVLV_REQ_LIBRARIES})
+
+ IF (WIN32)
diff --git a/app-text/atril/Manifest b/app-text/atril/Manifest
index 5066d61a936a..ff7d9533fece 100644
--- a/app-text/atril/Manifest
+++ b/app-text/atril/Manifest
@@ -1,3 +1,6 @@
+AUX atril-1.26.1-webkitgtk4.1.patch 510 BLAKE2B de6ea9eb6d2f43243d1827655fb25c02b8cd54f7af9a5f9da5b92432b3572b73f419a880d47d36fed5e5db7cf3114b70adac31a50f1cb8611f79933492f02804 SHA512 29e856a258f50b972618fef4efaa8d45269430d7c73bf3454f31b7d5ffa508e07485137a6b94fd71c5a7eb5ef68abedf9e82b98a73f0d78fd4015466d059ba93
DIST atril-1.26.0.tar.xz 1986160 BLAKE2B 40de33749113144c49341cf8249bd20de37c3d64f3daa865dfe2bcad117e1c2b5aae2aef3b4e0199fd2656b17af236e2a863ef97933decc5072e3419219154e4 SHA512 9c4e8b1c45959136c8fc4c5db47117e45e8afca8be2294418e6c1a0f8098c162ccaa4a60e5baea34db91d45d345a3953afe95281782986e7046b87a34c8f7dbd
+DIST atril-1.26.1.tar.xz 2087068 BLAKE2B d655bffb4a8245bb3cc25fc91d08ba64ade22fb6da24f5fcb9c418c020c99df66c85a0b59f1d0c31a2f450650d9807adc248a7baeb74cb696bf3687270572f47 SHA512 276e80a81234f3228065f3a804fbd8a306ac948978f3dfd233f678dc4fb6f833ebd1123950996ae08869fac112ebb0d2785ab60fde6bfddd2d2c407a2c991ea3
EBUILD atril-1.26.0-r4.ebuild 2915 BLAKE2B 0b8cf070cff4c4a82784bb1372321e2c310d2d5bfa69027cf5c3f571e9d04477c83bce9593702624e457903492184b58fa13b5073331ad37dc0f3326276dbf4a SHA512 8871a89d880f3763122b00e94a1f140fde04a510bed35ea3e2b564a0c7821e0e229cc95e8b5533a5e73dff5a94c1d34390bc5f99710ab8ceba19081fc857db0b
+EBUILD atril-1.26.1.ebuild 3006 BLAKE2B af7d71c20500ee590c10c91af0a13c8c9d9be1c29696d436f110979658e3561a320be70aeaacd874ae2a78a5a89810948a50b7479bee54026cc04536427c3cfa SHA512 7050cd32647f1b780025740b34c06855aaaa6f841af4c0f03e76ae96cc88d815e62ead7bfa58f99863ef775e3cb38978cebdd136789eb1dd1771658a808e62b2
MISC metadata.xml 888 BLAKE2B ce41dbf3197d9cf65fbb39ee5123a6c93979066342a83bab4c28ee65ec41adbe68c787165edc4bd61c2169909c499864a10d6459ba99e80a8fb83c19637b54cb SHA512 b375f7fcc127fd5ff26c0e2516b8d6702627296ea2a1f124b669bff788c4d1adbf0d0052e015063aeba0c1f13fff762effe050729f9ee44cf2e568dc4a80e44d
diff --git a/app-text/atril/atril-1.26.1.ebuild b/app-text/atril/atril-1.26.1.ebuild
new file mode 100644
index 000000000000..59774d63d5b8
--- /dev/null
+++ b/app-text/atril/atril-1.26.1.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MATE_LA_PUNT="yes"
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit mate python-any-r1 virtualx
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+fi
+
+DESCRIPTION="Atril document viewer for MATE"
+LICENSE="FDL-1.1+ GPL-2+ GPL-3+ LGPL-2+ LGPL-2.1+"
+SLOT="0"
+
+IUSE="caja dbus debug djvu dvi epub +introspection gnome-keyring nls +postscript synctex t1lib test tiff xps"
+
+REQUIRED_USE="t1lib? ( dvi )"
+
+COMMON_DEPEND="
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ >=app-text/poppler-0.22[cairo]
+ >=dev-libs/glib-2.62:2
+ >=dev-libs/libxml2-2.5:2
+ sys-libs/zlib
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-3.22:3[introspection?]
+ x11-libs/libICE
+ >=x11-libs/libSM-1:0
+ x11-libs/libX11
+ >=x11-libs/cairo-1.14
+ x11-libs/pango
+ caja? ( >=mate-base/caja-1.17.1[introspection?] )
+ djvu? ( >=app-text/djvu-3.5.17:0 )
+ dvi? (
+ virtual/tex-base
+ t1lib? ( >=media-libs/t1lib-5:5 )
+ )
+ epub? (
+ dev-libs/mathjax
+ >=net-libs/webkit-gtk-2.6.0:4.1
+ )
+ gnome-keyring? ( >=app-crypt/libsecret-0.5 )
+ introspection? ( >=dev-libs/gobject-introspection-0.6:= )
+ postscript? ( >=app-text/libspectre-0.2 )
+ synctex? ( virtual/tex-base )
+ tiff? ( >=media-libs/tiff-3.6:= )
+ xps? ( >=app-text/libgxps-0.2.1 )
+"
+
+RDEPEND="${COMMON_DEPEND}
+ virtual/libintl
+ !!app-text/mate-document-viewer
+"
+
+BDEPEND="${COMMON_DEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/yelp-tools
+ dev-util/gdbus-codegen
+ dev-util/glib-utils
+ dev-util/gtk-doc
+ dev-util/gtk-doc-am
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+ test? ( $(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]') )
+"
+
+#RESTRICT="!test? ( test )"
+# Tests use dogtail and require using accessibility services.
+# Until we figure out how to run successfully, don't run tests
+RESTRICT="test"
+
+PATCHES=(
+ # https://github.com/mate-desktop/atril/issues/582
+ "${FILESDIR}/${PN}-1.26.1-webkitgtk4.1.patch"
+)
+
+python_check_deps() {
+ use test && python_has_version "dev-util/dogtail[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
+src_configure() {
+ # Passing --disable-help would drop offline help, that would be inconsistent
+ # with helps of the most of GNOME apps that doesn't require network for that.
+ mate_src_configure \
+ --enable-comics \
+ --enable-pdf \
+ --enable-pixbuf \
+ --enable-previewer \
+ --enable-thumbnailer \
+ $(use_with gnome-keyring keyring) \
+ $(use_enable caja) \
+ $(use_enable dbus) \
+ $(use_enable debug) \
+ $(use_enable djvu) \
+ $(use_enable dvi) \
+ $(use_enable epub) \
+ $(use_enable introspection) \
+ $(use_enable nls) \
+ $(use_enable postscript ps) \
+ $(use_enable synctex) \
+ $(use_enable t1lib) \
+ $(use_enable test tests) \
+ $(use_enable tiff) \
+ $(use_enable xps)
+}
+
+src_test() {
+ export GSETTINGS_BACKEND=keyfile
+ gsettings set org.gnome.desktop.interface toolkit-accessibility true || die
+ gsettings set org.mate.interface accessibility true || die
+ virtx emake check
+}
diff --git a/app-text/atril/files/atril-1.26.1-webkitgtk4.1.patch b/app-text/atril/files/atril-1.26.1-webkitgtk4.1.patch
new file mode 100644
index 000000000000..3dd766bb5d5e
--- /dev/null
+++ b/app-text/atril/files/atril-1.26.1-webkitgtk4.1.patch
@@ -0,0 +1,15 @@
+Description: Search for webkit2gtk-4.1.
+Author: Unit 193 <unit193@debian.org>
+Forwarded: no
+
+--- atril-1.26.0.orig/configure.ac
++++ atril-1.26.0/configure.ac
+@@ -622,7 +622,7 @@ AC_ARG_ENABLE(epub,
+
+ have_webkit="no"
+ if test "x$enable_epub" = "xyes"; then
+- PKG_CHECK_MODULES(EPUB, webkit2gtk-4.0 >= $WEBKIT_REQUIRED \
++ PKG_CHECK_MODULES(EPUB, webkit2gtk-4.1 >= $WEBKIT_REQUIRED \
+ libxml-2.0 >= $LIBXML_REQUIRED zlib,have_webkit=yes,have_webkit=no)
+
+ if test "x$have_webkit" = "xyes"; then
diff --git a/app-text/poppler/Manifest b/app-text/poppler/Manifest
index f12fa20b972f..0b5e9d9ef667 100644
--- a/app-text/poppler/Manifest
+++ b/app-text/poppler/Manifest
@@ -5,7 +5,10 @@ DIST poppler-23.03.0.tar.xz 1849324 BLAKE2B 1247b7cf62466f65c46b739f0784e8ba9791
DIST poppler-23.03.0.tar.xz.sig 833 BLAKE2B a8a07aac9068a3edc6cdce4d59c2b5d3d792dd6addcd420d5b92f013041cfd934c0da04a21eabefdd25167fb89b940945f8ca03e7a7280d03a47b6df8490bdf4 SHA512 3d950ff4b1a368b6edd8333677d1d125f60b4b1a052e20a2be6a0d38489e7af393be8359fc2c75010b2a28673e201507da4bf4c8458904fa712247d8ebda4786
DIST poppler-23.04.0.tar.xz 1853488 BLAKE2B a26003f6bc642c03580d61999ae7e1c1756b2f602f697b372faaab99df7b5ddec843d93da3593d0388bc8a49d19ef00fc0e780d5297d77032afa77709a1f8372 SHA512 83580d42c79c6c5d08c686f764710bf08c6919b3707015ab3423c6f2a7fb711d53dde51b301148e14dba90a6f4d69bb6a3e0c8c47c1534047b0ce91be18d87ef
DIST poppler-23.04.0.tar.xz.sig 833 BLAKE2B 65b1f18330ff1e7088e3e1d427b6cf06563c82ada67b7fa1f2d90655ffb264b2c3db54a34cd6d91fb610c939dd76bcd15d3731dcb3b3be4ed532a8fa6845d60a SHA512 a7786ecd9dd7c160bfcad56bff6ac04d4503b2e2ef4f84b66c5ac67732dd9102d6156b791f2e356825ba7fe315b5ec566797b58ac18e3ac86a7b944f422994b2
+DIST poppler-23.05.0.tar.xz 1856488 BLAKE2B 837d532855da3816c3d83ff3401e9a545451d9f341b0e0260536f56d3eb56cdc1757ab057b49b8c8e1a2b9e4c34650807ea08138fb76d1ea86492bba51876dbd SHA512 b7fdd519737b95c5898f3ff83a294430390c330d0f3e5526180c956550656be9374a534d6c4e7ebffccaac3364b01d74b75a82d3f703e2575cc1b1273e7a12c3
+DIST poppler-23.05.0.tar.xz.sig 833 BLAKE2B c372ded3a5ea3fcf46cccd3d1417d95b449f0b2abfbc114f4bae0d3574040140a8081c23da3c048b3eecca484ed75baee700d2484a12a86d4a5ae82337530f8c SHA512 c9b359dfe67d901578ba6708f1224d1d45b3307a97f3e14e6bac0da748dd2c4457d6e8ff8949b2def5e84acd770198c653e0c5ef8b91088168c38bebf4f3be50
EBUILD poppler-23.03.0.ebuild 3708 BLAKE2B e6447e3be63e3b1af49b2af667b50517c92a709c94cd08cd327115cd6700baaaa5471e37ab698b8e3ed4af8b3db5803629d9bce24c69808d650ee66cc41e6e3b SHA512 29a5be0b1b0afa6e577b76e57c9ab3955511d34a20542088b85586694de99554b6b5863e2e6dadc2b9e801c236a43389a8c06457583e43d8ff9a2b2e059e7782
EBUILD poppler-23.04.0.ebuild 3762 BLAKE2B 409ebee16ed41580dcb05a9ab78a9e24f6f91a2e7d0b6b08f16b68e721c87f5a19b53e0ff73dbdfb319147059426b93802a115800bb7eaa578d70760f384e85b SHA512 5743d8dfd6ffb10a124549eb28164e299c989a8fb52a241924751461f4eb089b814d2b59b8988221ee3c78bc64f0df86982896a2562d07bdd58cba0dddc0244c
-EBUILD poppler-9999.ebuild 3762 BLAKE2B 409ebee16ed41580dcb05a9ab78a9e24f6f91a2e7d0b6b08f16b68e721c87f5a19b53e0ff73dbdfb319147059426b93802a115800bb7eaa578d70760f384e85b SHA512 5743d8dfd6ffb10a124549eb28164e299c989a8fb52a241924751461f4eb089b814d2b59b8988221ee3c78bc64f0df86982896a2562d07bdd58cba0dddc0244c
+EBUILD poppler-23.05.0.ebuild 3762 BLAKE2B 430665f738335ad9d52b04a3642a4fb098180ae393237842efd61c5b30322cfc981cba28281833e14697c1219ee969f0e24efb1377c6aa6e6f85d398fa3e2c5b SHA512 057728dc92a20383215d59e0be43edf7f1815a329e75999134e9aa64df9835676369072d50481c35ee89ee6b89baaf2a1e2fd25fd734639c7772ce9ef7e4777b
+EBUILD poppler-9999.ebuild 3762 BLAKE2B 430665f738335ad9d52b04a3642a4fb098180ae393237842efd61c5b30322cfc981cba28281833e14697c1219ee969f0e24efb1377c6aa6e6f85d398fa3e2c5b SHA512 057728dc92a20383215d59e0be43edf7f1815a329e75999134e9aa64df9835676369072d50481c35ee89ee6b89baaf2a1e2fd25fd734639c7772ce9ef7e4777b
MISC metadata.xml 1144 BLAKE2B 8714a00972a8ea9c7021883b515b7595c3eabe167c94d39988267940a8be38a33aa500b43124373b6585469cce4482de3b6e5844653bf52bd8c7bd61304af83b SHA512 53e36b94bc5872148e05ba905da6a43d955403eab77450d63cec9cd85e6fa08d72fbb0016eec6eb03e07cee581b2fbe9fef8a98d89ec87b0005d32683761fec7
diff --git a/app-text/poppler/poppler-23.05.0.ebuild b/app-text/poppler/poppler-23.05.0.ebuild
new file mode 100644
index 000000000000..8d49e49a184f
--- /dev/null
+++ b/app-text/poppler/poppler-23.05.0.ebuild
@@ -0,0 +1,136 @@
+# Copyright 2005-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic toolchain-funcs xdg-utils
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git"
+ SLOT="0/9999"
+else
+ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/aacid.asc
+ inherit verify-sig
+
+ SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
+ SRC_URI+=" verify-sig? ( https://poppler.freedesktop.org/${P}.tar.xz.sig )"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ SLOT="0/128" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
+fi
+
+DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
+HOMEPAGE="https://poppler.freedesktop.org/"
+
+LICENSE="GPL-2"
+IUSE="boost cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils"
+
+# No test data provided
+RESTRICT="test"
+
+COMMON_DEPEND="
+ >=media-libs/fontconfig-2.13
+ >=media-libs/freetype-2.10
+ sys-libs/zlib
+ cairo? (
+ >=dev-libs/glib-2.64:2
+ >=x11-libs/cairo-1.16
+ introspection? ( >=dev-libs/gobject-introspection-1.64:= )
+ )
+ curl? ( net-misc/curl )
+ jpeg? ( >=media-libs/libjpeg-turbo-1.1.0:= )
+ jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
+ lcms? ( media-libs/lcms:2 )
+ nss? ( >=dev-libs/nss-3.49 )
+ png? ( media-libs/libpng:0= )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtxml:5
+ )
+ tiff? ( media-libs/tiff:= )
+"
+RDEPEND="${COMMON_DEPEND}
+ cjk? ( app-text/poppler-data )
+"
+DEPEND="${COMMON_DEPEND}
+ boost? ( >=dev-libs/boost-1.71 )
+"
+BDEPEND="
+ >=dev-util/glib-utils-2.64
+ virtual/pkgconfig
+"
+
+if [[ ${PV} != *9999* ]] ; then
+ BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-aacid-20230313 )"
+fi
+
+DOCS=( AUTHORS NEWS README.md README-XPDF )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20.12.1-qt5-deps.patch"
+ "${FILESDIR}/${PN}-21.09.0-respect-cflags.patch"
+ "${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
+)
+
+src_prepare() {
+ cmake_src_prepare
+
+ # Clang doesn't grok this flag, the configure nicely tests that, but
+ # cmake just uses it, so remove it if we use clang
+ if tc-is-clang ; then
+ sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
+ fi
+
+ if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
+ sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
+ -i CMakeLists.txt || die
+ else
+ einfo "policy(SET CMP0002 OLD) - workaround can be removed"
+ fi
+}
+
+src_configure() {
+ xdg_environment_reset
+ append-lfs-flags # bug #898506
+
+ local mycmakeargs=(
+ -DBUILD_GTK_TESTS=OFF
+ -DBUILD_QT5_TESTS=OFF
+ -DBUILD_CPP_TESTS=OFF
+ -DBUILD_MANUAL_TESTS=OFF
+ -DRUN_GPERF_IF_PRESENT=OFF
+ -DENABLE_BOOST="$(usex boost)"
+ -DENABLE_ZLIB=ON
+ -DENABLE_ZLIB_UNCOMPRESS=OFF
+ -DENABLE_UNSTABLE_API_ABI_HEADERS=ON
+ -DUSE_FLOAT=OFF
+ -DWITH_Cairo=$(usex cairo)
+ -DENABLE_LIBCURL=$(usex curl)
+ -DENABLE_CPP=$(usex cxx)
+ -DWITH_JPEG=$(usex jpeg)
+ -DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
+ -DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
+ -DENABLE_CMS=$(usex lcms lcms2 none)
+ -DWITH_NSS3=$(usex nss)
+ -DWITH_PNG=$(usex png)
+ $(cmake_use_find_package qt5 Qt5Core)
+ -DWITH_TIFF=$(usex tiff)
+ -DENABLE_UTILS=$(usex utils)
+ -DENABLE_QT6=OFF
+ )
+ use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ # live version doesn't provide html documentation
+ if use cairo && use doc && [[ ${PV} != *9999* ]]; then
+ # For now install gtk-doc there
+ insinto /usr/share/gtk-doc/html/poppler
+ doins -r "${S}"/glib/reference/html/*
+ fi
+}
diff --git a/app-text/poppler/poppler-9999.ebuild b/app-text/poppler/poppler-9999.ebuild
index 353dacb709f7..8d49e49a184f 100644
--- a/app-text/poppler/poppler-9999.ebuild
+++ b/app-text/poppler/poppler-9999.ebuild
@@ -16,7 +16,7 @@ else
SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
SRC_URI+=" verify-sig? ( https://poppler.freedesktop.org/${P}.tar.xz.sig )"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
- SLOT="0/127" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
+ SLOT="0/128" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
fi
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"