From 3b08f674e3f771b49370edb144dab0958c8cf721 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 31 Aug 2021 08:59:54 +0100 Subject: gentoo resync : 31.08.2021 --- app-text/Manifest.gz | Bin 48406 -> 48393 bytes app-text/calibre/Manifest | 5 +- app-text/calibre/calibre-5.16.1.ebuild | 3 +- app-text/calibre/calibre-5.25.0-r1.ebuild | 263 +++++++++++++++++++++ .../calibre/files/calibre-5.16.1-zeroconf.patch | 30 +++ app-text/docbook-sgml-dtd/Manifest | 2 +- .../docbook-sgml-dtd-4.5-r1.ebuild | 2 +- app-text/enchant/Manifest | 2 +- app-text/enchant/enchant-1.6.1-r1.ebuild | 2 +- app-text/evince/Manifest | 2 +- app-text/evince/evince-40.4.ebuild | 2 +- app-text/gspell/Manifest | 2 +- app-text/gspell/gspell-1.9.1.ebuild | 2 +- app-text/htmltidy/Manifest | 2 +- app-text/htmltidy/metadata.xml | 4 + app-text/iso-codes/Manifest | 2 + app-text/iso-codes/iso-codes-4.7.0.ebuild | 79 +++++++ app-text/lesspipe/Manifest | 5 +- .../lesspipe/files/lesspipe-1.87-fix-tests.patch | 76 ------ app-text/lesspipe/lesspipe-1.88.ebuild | 60 ----- app-text/lesspipe/lesspipe-1.89.ebuild | 60 +++++ app-text/libgxps/Manifest | 2 +- app-text/libgxps/libgxps-0.3.2.ebuild | 2 +- app-text/tesseract/Manifest | 53 +---- .../files/tesseract-3.05.00-no_graphics.patch | 74 ------ .../tesseract-3.05.00-use-system-piccolo2d.patch | 27 --- app-text/tesseract/metadata.xml | 4 +- app-text/tesseract/tesseract-3.05.02.ebuild | 148 ------------ app-text/tesseract/tesseract-4.1.0-r1.ebuild | 91 ------- .../tesseract/tesseract-5.0.0_beta20210815.ebuild | 95 ++++++++ 30 files changed, 556 insertions(+), 545 deletions(-) create mode 100644 app-text/calibre/calibre-5.25.0-r1.ebuild create mode 100644 app-text/calibre/files/calibre-5.16.1-zeroconf.patch create mode 100644 app-text/iso-codes/iso-codes-4.7.0.ebuild delete mode 100644 app-text/lesspipe/files/lesspipe-1.87-fix-tests.patch delete mode 100644 app-text/lesspipe/lesspipe-1.88.ebuild create mode 100644 app-text/lesspipe/lesspipe-1.89.ebuild delete mode 100644 app-text/tesseract/files/tesseract-3.05.00-no_graphics.patch delete mode 100644 app-text/tesseract/files/tesseract-3.05.00-use-system-piccolo2d.patch delete mode 100644 app-text/tesseract/tesseract-3.05.02.ebuild delete mode 100644 app-text/tesseract/tesseract-4.1.0-r1.ebuild create mode 100644 app-text/tesseract/tesseract-5.0.0_beta20210815.ebuild (limited to 'app-text') diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz index 950c8989e4c8..51eb34e7eeea 100644 Binary files a/app-text/Manifest.gz and b/app-text/Manifest.gz differ diff --git a/app-text/calibre/Manifest b/app-text/calibre/Manifest index c95dc7152862..452b69dead5c 100644 --- a/app-text/calibre/Manifest +++ b/app-text/calibre/Manifest @@ -1,8 +1,11 @@ AUX calibre-2.9.0-no_updates_dialog.patch 1661 BLAKE2B c75fc49a621e8dbd16ee1bad748110399cf09a404b4a905d3f723bac1827787e4749f464ba026700b6e5b3cc0ee646a92de00f1f58d10cf12dc9bc91195ee8b6 SHA512 9663b95ed64bdc2bc40692922384d1c6073177eee58a49c412883c4d2ae098e4e0b4ea51b80443108b7c0c3e4f3fda60c00fc3be4d0b62a5d79d982697927235 +AUX calibre-5.16.1-zeroconf.patch 1457 BLAKE2B 104ba007fbb051cf07bf55fcc30f58469e989dc842a4a046c8e212a2f971b27c497346466a15b380080fd54cc8c561bdbad5bbaa5b1917d7f8a748bb289d1b2d SHA512 e15a2659f1663e77a80b9148180b0636228d483cef7395aa0e7a45eb41e57b541bc91c1a87ed1439e3a3e43a167882af5ce6d493e4723220c8665c1d1341e302 AUX calibre-disable_plugins.patch 1042 BLAKE2B 92a56016c2c54f1b156bc91031420594445545b98b701f7cce99cf4bb86847eebad1ccebdc20a0d1b67f9fa88a9250fc4926d7c04cb36405323388b3171cf502 SHA512 c152ddd92728a89db10c75a4d00a968bf119bef68da8b9116c76827e3cdc8f8a7e5c45fbb973f6ca8db1f79e461518351ce2d47e5e059c282f36d2df499d1629 AUX calibre-server-3.conf 541 BLAKE2B 06593633721e6adf2cf2077dffa83953eea46ccdcdc857ad468a9b74788326e9424f6ab9058be344dbbac8e49d343f5a1e53ddb486f2018b77319a7f8f713cf4 SHA512 12ef793a5b6ffd4413f780a13cad63927a95f15d17d85d4229eb5005ead68e51779abb822f9898ab5ae8c2094affeec1f9e85c34f109499739e6726b7641542a AUX calibre-server-3.init 1796 BLAKE2B f87d785d6f6fc10fa648d40944ec8538027854bb872d9a3be6b5b35b0abf3cda1e4e93874a9422914da5eb4287f193459733956e3f1e25e61bec0c214c552c99 SHA512 88110ded1b9c6cf8d3bfc3d5889654f77578f9d299e88daea9023767b930082e00fbddbb92a6e43c46d900248f3684232d93396ec1d0e784c7ec14b44783f98a DIST calibre-5.16.0-SIP-v4.patch.xz 6768 BLAKE2B b939233266c7cab0fa71ccdeb748bbcffbf16248081ccf0ab313420fe3898954da71e0796b3d6c44e93c636113221f95fa6affc6be97bf41f4086a909b2849f9 SHA512 eb19e6bb328f60eb4af2c38d54c3d2a09989d41d71d27de10ab5ae443af902c3c12fc70042d4735dd785573cb63bb7d7a10ae5f7ed72afc1e1a9c6aacaf64aec DIST calibre-5.16.1.tar.xz 36757204 BLAKE2B 71114eed723180142f5428a680d8c5ceabcd007acbc6a70a9298e45a9f21fc793f0ef86bf60b36c96bbd15e9e3f8d8638d179872fb6ff1f9b9f5e31a93e65ba1 SHA512 41cf29cc32c7af08215baf80609f8f099d44f2b82d34181451cbf3ed1648e07d64712dba9ff0ddec5bad3d342c7d8bde40bb822f6bd5fb93a4b29d25cf188aae -EBUILD calibre-5.16.1.ebuild 8594 BLAKE2B fc44679327343cd2ea1942bc079f83128e0cb7a3992358df5f1a443828aaf4482b7d2943735a1afe28b5a2331970acd517fef5f28a8503e57e87aeba138a60d5 SHA512 90de7afbeecc7458302b68b5a02125b6b23bb027aa2c1e95d4eec1405cf08ef461d7a46bb0cbd71b4107e20aa8dcea8af6b25310aa39d926536c663a1c0356e6 +DIST calibre-5.25.0.tar.xz 36849112 BLAKE2B f9cb423317ea1f5b22e7f3540708fd4fa6e7dff2d6d2c667755c74c4f46b72f52aac7672933c51efaf56a5ef57e573c8927649fe30570481c2057e5f757cdfde SHA512 7913fec188d8a8c40cf2768671836f6431d233ac53d1d683222a12f8a753a11cc4023fcfc1dd5ca8b27fd049fb579563b1cdd89624b824ce4eec7b438e25006e +EBUILD calibre-5.16.1.ebuild 8632 BLAKE2B b9c94603db82e4ee6d478bdd0259f7a3bd63610cba7d85962bfc33041ae77412ebd0077d9b8b60b17188b71b05adad69eed73b12bb76484cd5ec337fbc5a91c2 SHA512 193b9cfb42833dc0266a216a72a68b3ca88b488a2876c744db1715a9409045d3b3756bbdaa4d75f80e9036a763cad09c0cdd3e31e6e1a9ce2bda035edf6cd164 +EBUILD calibre-5.25.0-r1.ebuild 8503 BLAKE2B 26158d2392ae6a5465aced0c07dafda0205b7667d2cd9160a4ddba1fe636acd628df5c6c1ce2bb17c4545cd141bb9004b47c2d4403aedd14e6bb8d46ba93e347 SHA512 0d02e0bde9f63d339a35abe5e98ec5c28fd56c5d04e393dd86415e0ad276d0989b0e80a4d51033d70cd628da72558e2ba2b228320fa4675e9eaf766da9ab2dc2 MISC metadata.xml 303 BLAKE2B f50da5b3e8c1e9b4553180ccce38939e7c8e11e5a0527f94c3df7ac4d93a37d5e838c633e58b3fe960dc60ce52c6c6ec6901eedbcd99039c0cc1ccf6dc8a0a44 SHA512 38da4e43d91a3a1d1adf6daf32e4ec69696ab7df6179788fbda75a40219acf01cedbff28943c0b169b2de9f490f3a324285294a9b2783c90757c8cd23aa9e847 diff --git a/app-text/calibre/calibre-5.16.1.ebuild b/app-text/calibre/calibre-5.16.1.ebuild index 497d11873043..546774b0f935 100644 --- a/app-text/calibre/calibre-5.16.1.ebuild +++ b/app-text/calibre/calibre-5.16.1.ebuild @@ -123,7 +123,8 @@ src_prepare() { # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface eapply \ "${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" \ - "${FILESDIR}/${PN}-disable_plugins.patch" + "${FILESDIR}/${PN}-disable_plugins.patch" \ + "${FILESDIR}/${P}-zeroconf.patch" if ! has_version ">=dev-python/sip-5"; then einfo "Applying SIP v4 patch because SIP v5 was not detected" diff --git a/app-text/calibre/calibre-5.25.0-r1.ebuild b/app-text/calibre/calibre-5.25.0-r1.ebuild new file mode 100644 index 000000000000..419397284072 --- /dev/null +++ b/app-text/calibre/calibre-5.25.0-r1.ebuild @@ -0,0 +1,263 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE="ipv6,sqlite,ssl" + +inherit bash-completion-r1 desktop toolchain-funcs python-single-r1 xdg-utils + +DESCRIPTION="Ebook management application" +HOMEPAGE="https://calibre-ebook.com/" +SRC_URI="https://download.calibre-ebook.com/${PV}/${P}.tar.xz" + +LICENSE=" + GPL-3+ + GPL-3 + GPL-2+ + GPL-2 + GPL-1+ + LGPL-3+ + LGPL-2.1+ + LGPL-2.1 + BSD + MIT + Old-MIT + Apache-2.0 + public-domain + || ( Artistic GPL-1+ ) + CC-BY-3.0 + OFL-1.1 + PSF-2 +" +KEYWORDS="~amd64 ~arm ~x86" +SLOT="0" +IUSE="ios +udisks" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND="${PYTHON_DEPS} + >=app-text/hunspell-1.7:= + >=app-text/podofo-0.9.6_pre20171027:= + >=app-text/poppler-0.26.5[qt5] + dev-libs/glib:2= + dev-libs/hyphen:= + >=dev-libs/icu-57.1:= + dev-libs/libinput:= + >=dev-libs/dbus-glib-0.106 + dev-libs/snowball-stemmer:= + >=sys-apps/dbus-1.10.8 + $(python_gen_cond_dep ' + >=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}] + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] + >=dev-python/chardet-3.0.3[${PYTHON_USEDEP}] + >=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}] + >=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}] + >=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + >=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}] + >=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}] + >=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}] + dev-python/jeepney[${PYTHON_USEDEP}] + >=dev-python/lxml-3.8.0[${PYTHON_USEDEP}] + >=dev-python/markdown-3.0.1[${PYTHON_USEDEP}] + >=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}] + >=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}] + >=dev-python/pillow-3.2.0[${PYTHON_USEDEP}] + >=dev-python/psutil-4.3.0[${PYTHON_USEDEP}] + >=dev-python/pychm-0.8.6[${PYTHON_USEDEP}] + >=dev-python/pygments-2.3.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}] + >=dev-python/PyQt5-5.15.5_pre2107091435[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}] + >=dev-python/PyQt-builder-1.10.3[${PYTHON_USEDEP}] + >=dev-python/PyQtWebEngine-5.12[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + dev-python/zeroconf[${PYTHON_USEDEP}] + ') + dev-qt/qtcore:5= + dev-qt/qtdbus:5= + dev-qt/qtgui:5=[jpeg] + >=dev-qt/qtwebengine-5.12 + dev-qt/qtwidgets:5= + dev-util/desktop-file-utils + dev-util/gtk-update-icon-cache + media-fonts/liberation-fonts + media-libs/fontconfig:= + >=media-libs/freetype-2:= + >=media-libs/libmtp-1.1.11:= + >=media-libs/libwmf-0.2.8 + >=media-gfx/optipng-0.7.6 + >=sys-libs/zlib-1.2.11:= + virtual/libusb:1= + x11-libs/libxkbcommon:= + x11-libs/libX11:= + x11-libs/libXext:= + x11-libs/libXrender:= + x11-misc/shared-mime-info + >=x11-misc/xdg-utils-1.0.2-r2 + ios? ( + >=app-pda/usbmuxd-1.0.8 + >=app-pda/libimobiledevice-1.2.0 + ) + udisks? ( virtual/libudev )" +RDEPEND="${COMMON_DEPEND} + udisks? ( sys-fs/udisks:2 )" +DEPEND="${COMMON_DEPEND} + $(python_gen_cond_dep ' + >=dev-python/setuptools-23.1.0[${PYTHON_USEDEP}] + >=dev-python/sip-5[${PYTHON_USEDEP}] + ') + >=virtual/podofo-build-0.9.6_pre20171027 + virtual/pkgconfig" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc && [[ $(gcc-major-version) -lt 6 ]]; then + eerror "Calibre cannot be built with this version of gcc." + eerror "You need at least gcc-6.0" + die "Your C compiler is too old for this package." + fi +} + +src_prepare() { + # no_updates: do not annoy user with "new version is availible all the time + # disable_plugins: walking sec-hole, wait for upstream to use GHNS interface + eapply \ + "${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch" \ + "${FILESDIR}/${PN}-disable_plugins.patch" + + eapply_user + + # Fix outdated version constant. + #sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \ + # -i src/calibre/constants.py || \ + # die "sed failed to patch constants.py" + + # Avoid sandbox violation in /usr/share/gnome/apps when linux.py + # calls xdg-* (bug #258938). + sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \ + -e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \ + -e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \ + -e "s|, PreserveMIMEDefaults():|:|" \ + -e "s|'xdg-icon-resource', 'install'|\\0, '--mode', 'user'|" \ + -e "s|cmd\[2\]|cmd[4]|" \ + -e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \ + -e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \ + -i src/calibre/linux.py || die "sed failed to patch linux.py" + + # Disable unnecessary privilege dropping for bug #287067. + sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \ + -i setup/install.py || die "sed failed to patch install.py" + + sed -e "/^ self.check_call(\\[QMAKE\\] + qmc + \\[proname\\])$/a\ +\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \ +'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \ +'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \ +'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \ +'-i', 'Makefile'])" \ + -e "s|open(self.j(bdir, '.qmake.conf'), 'wb').close()|open(self.j(bdir, '.qmake.conf'), 'wb').write(b'QMAKE_LFLAGS += ${LDFLAGS}')|" \ + -i setup/build.py || die "sed failed to patch build.py" +} + +src_install() { + # calibre works with python 3, so remove the python 2 constraint + export CALIBRE_PY3_PORT=1 + + # Bypass kbuildsycoca and update-mime-database in order to + # avoid sandbox violations if xdg-mime tries to call them. + mkdir "${T}/bin" || die + cat - > "${T}/bin/kbuildsycoca" <<-EOF + #!${BASH} + echo $0 : $@ + exit 0 + EOF + + cp "${T}"/bin/{kbuildsycoca,update-mime-database} || die + chmod +x "${T}"/bin/{kbuildsycoca,update-mime-database} || die + + export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake" + + # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox + # violation with kbuildsycoca as in bug #287067, comment #13. + export -n DISPLAY + + # Bug #352625 - Some LANGUAGE values can trigger the following ValueError: + # File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale + # return _parse_localename(localename) + # File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename + # raise ValueError, 'unknown locale: %s' % localename + #ValueError: unknown locale: 46 + export -n LANG LANGUAGE ${!LC_*} + export LC_ALL=C.utf8 #709682 + + # Bug #295672 - Avoid sandbox violation in ~/.config by forcing + # variables to point to our fake temporary $HOME. + export HOME="${T}/fake_homedir" + export XDG_CONFIG_HOME="${HOME}/.config" + export XDG_DATA_HOME="${HOME}/.local/share" + export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre" + mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}" || die + + tc-export CC CXX + # Bug #334243 - respect LDFLAGS when building extensions + export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS" + local libdir=$(get_libdir) + [[ -n $libdir ]] || die "get_libdir returned an empty string" + + addpredict /dev/dri #665310 + + PATH=${T}/bin:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \ + "${PYTHON}" setup.py install \ + --root="${D}" \ + --prefix="${EPREFIX}/usr" \ + --libdir="${EPREFIX}/usr/${libdir}" \ + --staging-root="${ED}/usr" \ + --staging-libdir="${ED}/usr/${libdir}" || die + + find "${ED}"/usr/share -type d -empty -delete + + cd "${ED}"/usr/share/calibre/fonts/liberation || die + local x + for x in * ; do + [[ -f ${EPREFIX}/usr/share/fonts/liberation-fonts/${x} ]] || continue + ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die + done + + einfo "Converting python shebangs" + python_fix_shebang --force "${ED}" + + einfo "Compiling python modules" + python_optimize "${ED}"/usr/$(get_libdir)/calibre "${D}/$(python_get_sitedir)" + + newinitd "${FILESDIR}"/calibre-server-3.init calibre-server + newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server +} + +pkg_preinst() { + # Indentify stray directories from upstream's "Binary install" + # method (see bug 622728). + CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre + CALIBRE_LIB_CONTENT=$(for x in "${ED}${CALIBRE_LIB_DIR}"/*; do + printf -- "${x##*/} "; done) || die "Failed to list ${ED}${CALIBRE_LIB_DIR}" +} + +pkg_postinst() { + [[ -n ${CALIBRE_LIB_DIR} ]] || die "CALIBRE_LIB_DIR is unset" + local x + for x in "${EROOT}${CALIBRE_LIB_DIR}"/*; do + if [[ " ${CALIBRE_LIB_CONTENT} " != *" ${x##*/} "* ]]; then + elog "Purging '${x}'" + rm -rf "${x}" + fi + done + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + xdg_icon_cache_update +} diff --git a/app-text/calibre/files/calibre-5.16.1-zeroconf.patch b/app-text/calibre/files/calibre-5.16.1-zeroconf.patch new file mode 100644 index 000000000000..68c09d219c60 --- /dev/null +++ b/app-text/calibre/files/calibre-5.16.1-zeroconf.patch @@ -0,0 +1,30 @@ +diff --color -Naru a/src/calibre/devices/smart_device_app/driver.py b/src/calibre/devices/smart_device_app/driver.py +--- a/src/calibre/devices/smart_device_app/driver.py 2021-08-08 08:32:03.104016444 +0200 ++++ b/src/calibre/devices/smart_device_app/driver.py 2021-08-08 08:33:30.699018403 +0200 +@@ -2040,13 +2040,6 @@ + # Function to monkeypatch zeroconf to remove the 15 character name length restriction. + # Copied from https://github.com/jstasiak/python-zeroconf version 0.28.1 + +- +-from zeroconf import (BadTypeInNameException, _HAS_A_TO_Z, +- _HAS_ONLY_A_TO_Z_NUM_HYPHEN_UNDERSCORE, +- _HAS_ASCII_CONTROL_CHARS, +- _HAS_ONLY_A_TO_Z_NUM_HYPHEN) +- +- + def service_type_name(type_: str, *, allow_underscores: bool = False) -> str: + """ + Validate a fully qualified service name, instance or subtype. [rfc6763] +@@ -2087,6 +2080,12 @@ + :param type_: Type, SubType or service name to validate + :return: fully qualified service name (eg: _http._tcp.local.) + """ ++ ++ from zeroconf import (BadTypeInNameException, _HAS_A_TO_Z, ++ _HAS_ONLY_A_TO_Z_NUM_HYPHEN_UNDERSCORE, ++ _HAS_ASCII_CONTROL_CHARS, ++ _HAS_ONLY_A_TO_Z_NUM_HYPHEN) ++ + if not (type_.endswith('._tcp.local.') or type_.endswith('._udp.local.')): + raise BadTypeInNameException("Type '%s' must end with '._tcp.local.' or '._udp.local.'" % type_) + diff --git a/app-text/docbook-sgml-dtd/Manifest b/app-text/docbook-sgml-dtd/Manifest index 66033e6ee8e2..06dcaf0dc48f 100644 --- a/app-text/docbook-sgml-dtd/Manifest +++ b/app-text/docbook-sgml-dtd/Manifest @@ -21,5 +21,5 @@ EBUILD docbook-sgml-dtd-4.1-r4.ebuild 1280 BLAKE2B 49ad5753228fe65e7543dd297eeab EBUILD docbook-sgml-dtd-4.2-r3.ebuild 1250 BLAKE2B 1c45c9c384c7adad833cf96b6feb350bd7d3e5466cf3a1ef691741a37fde7a884d465db7b382bce8dc5a843f565aa789bce8594b581878052b7528599f43390c SHA512 2cb75bd3291390b46e37c8f63d34b90fefc3454e50b3fbc036c3a2c3600036c888082ef6778d7628c8f894eb901a2ff31d84d062dbae8e90bda5c14594720762 EBUILD docbook-sgml-dtd-4.3-r3.ebuild 1235 BLAKE2B d6f7247d4a19507591323bcd007dc0b539b2fafb6506a47e13c11ac8c833f38091bbe48c46e1c8548f4129f39d29b2a5d35fa87252d38449cc3ebe83663b6c7d SHA512 c66958024687577b47abb37d0ad9861de725395991b485732a80b4bb395ebd06b345897742a6cbfa8833d0c794eed9571495f3af5648aaf53c7f6455e0041834 EBUILD docbook-sgml-dtd-4.4-r1.ebuild 1235 BLAKE2B a27b99082ed42d9591a312e961908b4540cbb0bfb8cb4f2302f7f7b91569818005e4e3700ff8a91648419aa912cad93b0d87487d6a191b8b4745beed03d34f15 SHA512 d268062133ffed3857fa7653c9a33f8abbae69bfc9456dcd1879b868bcaf9c8cde17330b2b66ef55ffc06b532da80e95d19d0e7b5e01fa4833b7c783870f4259 -EBUILD docbook-sgml-dtd-4.5-r1.ebuild 1231 BLAKE2B 1985a0cd42ee53986870a2e06b18427ef13d4da33f3ffe8f90b1fa3c9c883914d2c1c69db15a7f4d7a82a34ee21d3b54ef10f2f8be19bc7f05077f328185854e SHA512 a6f17d4326f74f593d8b706ad59370b752711ba3d01a65fb585eddd37a05bac34827e1ff87c6e34ea253b5f7714556f7b6a46b171ab8a838ec2596e5b3312754 +EBUILD docbook-sgml-dtd-4.5-r1.ebuild 1272 BLAKE2B ee18c6c71ed01ff7c760cfa05309e9ae873c8fa1f30d02afec083a6157b8521f9ff0ab2d619d3531a542277b6b1477b6eebcfd9033c8027fb3646790372e2acd SHA512 69060de85a4880ddb72e507c11af3e4897e98cc0e5fcdd0acc957a50884bc7ece04fa50f17f72c3a003a023200c2077f2ab9919eb3ae897d7d42c2bc01164992 MISC metadata.xml 247 BLAKE2B 1750cec57189e711ca5eba89a78e1d317f0839fa53564fbd39b4e955c28d98f4ae04caf9069afc20a18536cdc92b30fe7b15eb086767c742bad07d9980cfd24b SHA512 d6e2ea8a9d74791bcbf3d6311a66bafc20b8f4db3a576d9a8d54b86d7afb231122b8d87f71f3f46360980adf8d815c633b6d5041f9a30fc8656e8fb66057a282 diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.5-r1.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.5-r1.ebuild index 484d0e72473a..db8c331274e9 100644 --- a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.5-r1.ebuild +++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.5-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://docbook.org/sgml/${PV}/${MY_P}.zip" LICENSE="docbook" SLOT="${PV}" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" DEPEND=">=app-arch/unzip-5.41" diff --git a/app-text/enchant/Manifest b/app-text/enchant/Manifest index 35cd3ae42cca..dcbeeba60ba6 100644 --- a/app-text/enchant/Manifest +++ b/app-text/enchant/Manifest @@ -2,7 +2,7 @@ AUX enchant-1.6.0-hunspell150_fix.patch 577 BLAKE2B dc57f0fd5a90ba36abe174949060 DIST enchant-1.6.1.tar.gz 642124 BLAKE2B d41aa9b313e7fe8b0887728b55f3c5218e270c7359b4edcdc8d9180af68687230bcc9f7d1abb9f85ac673478530e5674366c9bc7d08b983e7226725b2cdd73d3 SHA512 26c62dfa89ee40150db502651a2f876fba00569b7015f205dae27a029557effacff335bbe36124dbe6686537da2305bcab02592179d03e95fdf9741d54b98036 DIST enchant-2.3.0.tar.gz 986837 BLAKE2B 57859d41d1e605ba5b89a264e3b6f53bab7a2f060c2b306a1ac51c55925d5b30a5d40fd121be7d3df22395cc11ad4808e63627f7e0f5ae9f3c1d2f2939dc2f68 SHA512 ed25d74176aefe4ab3b1754ea09356d04c844f8e7a50441d331fcf6a0fefbedaffa21df7296b7947ab1fcd44844c1d8567d39d67ebc4381ce8766577c0269d43 DIST enchant-2.3.1.tar.gz 987361 BLAKE2B 86d6f384ada861a1df40a3241d2d32ef8513784c9dbca3b71bfdc52e2efc94c4d9cfb38e752970dc31a36545c1f9bf32f0550316b969d9170363e8b52c030819 SHA512 c6fb8498d34a55040c2791124c2975952497e5a1b8999958691279b1a60a37473a1d2e3e11504f7cc877370be7772c2db621022040ea7035b21e40e8367606f5 -EBUILD enchant-1.6.1-r1.ebuild 1618 BLAKE2B 339676eff2871a9abd5bf85a3509924677ec5d9939e49416d4d09b71d4d228b45e81f8ac6b207c449c8ca837aab0d8d63add052598a0ce9430873bf0ea3df250 SHA512 eedb24e76290dffa83a68a565e2f5dc10544360a62617bea107a4270d13b5a6dbb19418a245c84923ad3dd5d6e77dda2338f14bee2b3a17ddeff1b7c2414ad2c +EBUILD enchant-1.6.1-r1.ebuild 1625 BLAKE2B 8f42b0410fa9b7565c5eebb849fa32c8850e8d77d65d34cc5f69a6ae553acf3bbf702e85d134387e8b2a75ad22f43426021d65b5ef4ac4f8e92cd6b3236c0d9c SHA512 fb0da3b82a95b9af44b7f35c05c204f6eaf2529fe72dcfe00b2e9a0ba6edfccdacda4f87e0e167548d66b2256beef4177bf4ee7fbad9a4817ed5688270531de3 EBUILD enchant-2.3.0.ebuild 1234 BLAKE2B 581181d56ebf49b2d414dbbc9b5b10978b00995af9c1351fde61323c7a82037f7d1ad9bf04e45fab52d493724d77c1b722d363c5dd83e7be9bf61d674c8f0bd3 SHA512 ffd97fbf9221420bce5cac19b147c65f945ee5c612728f7e400a9172fad1b62aae24ddcf811a6ea12fe9bdef9fb73fc1bef41d50a11c012db75352e253d48c91 EBUILD enchant-2.3.1.ebuild 1241 BLAKE2B be853d1f72faf5dca852318b15cf3c61c5b0b2938a76863df67602dbc244a58d651c080e5f367a8e6ad226367808de6415b931781a2507a5d0440c27de635f1b SHA512 3f4176267b8e7cbd0278bacccafc89c4ee3210947db628a4dc919c418541f47ba46685c31eb5378b978205c30de406c424507dadaa01ca7a506844fcc1b054a1 MISC metadata.xml 536 BLAKE2B 5f66bf0da00c6cfd8d6e22b9644486d0df8cf81cf5875768572965f60927edbe4d46ed2502659bcb71431c715129d1d7da051f9320b3f2834905a0cac3c2556b SHA512 920c2056608571d6a2e52d0c52b995b664c95aa53c8f8cb51129b059c32180d977ab3c840ef7fb59af3dec5f984f3e1488de26cf3ba4d93c2eb81c08e6688d5b diff --git a/app-text/enchant/enchant-1.6.1-r1.ebuild b/app-text/enchant/enchant-1.6.1-r1.ebuild index 7a5f39aa232e..595d263abfd1 100644 --- a/app-text/enchant/enchant-1.6.1-r1.ebuild +++ b/app-text/enchant/enchant-1.6.1-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/AbiWord/enchant/releases/download/${PN}-${MY_PV}/${P LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="aspell +hunspell static-libs test" RESTRICT="!test? ( test )" diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest index a1ec5da4e21b..b6f0dc1f2576 100644 --- a/app-text/evince/Manifest +++ b/app-text/evince/Manifest @@ -2,5 +2,5 @@ AUX 40.0-internal-synctex.patch 921 BLAKE2B d970afe7dd3ac16d7f285baeb157bba0271a DIST evince-40.2.tar.xz 2928072 BLAKE2B 86051e8568044ec484a7a3c036a523ee44d22e46bdf5e75c6052d3302f92a27d48cb26e2408b176cfee3fafd3879a8771f4bf29a51f6b8085c31fa28f4885660 SHA512 f3ee19053a0bc6989a50fc790d1d54747d7aac5cbf0cd1e0eaea6cb743c0ebbbdf2565e88ea995fbba31c7f97e4279f9c0fa44c386bcf635a500033f6105ca9f DIST evince-40.4.tar.xz 2928100 BLAKE2B 491b2333e21093b032ec9c4f24c61cdaa31e4a46ee058b0f109b0998fb7216ada2c933e6202eae1d6193caad0cfa94a77434ef042555bab7cf4aeed959be759b SHA512 dbec3828f1e8f0b9b48dd90ce605ce83312e53cbeb8f8e7358c1318f1701680a69a9bcd26b7cf1da4b53679ae11e334ce514f5df4c5bbcc976581441e0d654cd EBUILD evince-40.2.ebuild 3114 BLAKE2B 212af71efdef680ec92b16edfb8e3e7663f456f66aa33d87f9c6a3f3238ed3d47c560c73a5067290969c88a28e215ad96dcfde4c6e341807f071521de0972c0e SHA512 0868af950d265c5f12ab93a29eb547285cdb7e9ce07a6f82b3067fdaa507c47188f619d53dc3f987a6820a0518690cbac93fe9592df048e22b417194581ee917 -EBUILD evince-40.4.ebuild 3145 BLAKE2B 73e6f842e057d8c4fcd8b009c2bfb962cf63c0886283b24fa32d2e2d9cb6d77cc8eab2dd0c2c9fd95ea24622523b5ec93e80cc48874dedc1bbdf1c553706ea3f SHA512 5cb7ccfec922a1966deeee88680c9be389f4823ca42e0d11247cbfdc5f81eab50964ef19d2741b386602f78df6f40f967dccddad8bd8d904764a4ce8cbc7938f +EBUILD evince-40.4.ebuild 3152 BLAKE2B c7a5f0a517b4b5b6600e1c50a0474bd866d996d2a4d0d3df4b96645c72ada67e2209c8d45a7fdfea3880ee16b2355ab8a5ee5c97455e835c9737f3fbbd8903f6 SHA512 42a636ec94d77c69b3376167b618dc141acf88d1960588bba6fb5a3b9cca34db0383922bed15c0b5bba2fbd4a1f416d1cf6bd8b31199ba333c6d3a32c113f817 MISC metadata.xml 881 BLAKE2B 180e93316fad8f1bf7b80028a86c18964e695c93292b724e864ed50f3fbd951f810fd490b91944f30e42f632ce090dbe34aadf9679b2e62c118aa75b7b0ea834 SHA512 ece377a284a548444c185a7c1fa4c36546709ec00754d066eb4186fba0f079de60b02dcb75f3fd101d50c8ea8f4d4d654d7efd0d8ff8db7b2b85c097c18b43c5 diff --git a/app-text/evince/evince-40.4.ebuild b/app-text/evince/evince-40.4.ebuild index 11d4bb473a0c..d64fa8636548 100644 --- a/app-text/evince/evince-40.4.ebuild +++ b/app-text/evince/evince-40.4.ebuild @@ -12,7 +12,7 @@ LICENSE="GPL-2+ CC-BY-SA-3.0" # subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) SLOT="0/evd3.4-evv3.3" IUSE="cups djvu dvi gstreamer gnome gnome-keyring gtk-doc +introspection nautilus nsplugin postscript spell t1lib tiff xps" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" # atk used in libview # bundles unarr diff --git a/app-text/gspell/Manifest b/app-text/gspell/Manifest index 0c0d2a02e5ad..f26a69033557 100644 --- a/app-text/gspell/Manifest +++ b/app-text/gspell/Manifest @@ -1,3 +1,3 @@ DIST gspell-1.9.1.tar.xz 424252 BLAKE2B 436e6af50f7d1058dd7692c22b5a5e18c25cc76ea6816193e48728f7e1d55ef29af26127403a40d594a2125e4d3e1ee889abe067d2c065de74ae95ca431e5fbe SHA512 72f1fb384e02bb73397b457c3e8a7b98393c9fab5c0dad07f84d1db3f6b75c093663cc83c13fefe868424c503abc2fb89c8b045d0495dd43ddcedad025f23bca -EBUILD gspell-1.9.1.ebuild 1491 BLAKE2B 1451fb6f626d5b5a2d868ce41b931ec5f2c06e3f8b058444735b608425b89fd9c56c5d2d2b4e812935bcc98cb0efc5fb55ae38a5125353da8893da683dddeddc SHA512 2151c268607ef4ee5ae91a549d09764ce7eea36a471002e301a662231b44c57a03d2cfaf74b8ccf2e16726109e8e6f5ed3d153f7ba7c5398863ede4f379bf479 +EBUILD gspell-1.9.1.ebuild 1498 BLAKE2B dedb12f34742b3d985c08703c9a242b18bc2436fa4c341eb5324847147e48d33e4382a59d0ebbe50a5e3e56fd0a7cccf526828e9a3c1ff9f6f64821ed9e62f2d SHA512 b3cd29ecafbe605eb29a61700853ae61c64070464a11c141ec7bef9266fed5d94c83d8a741c2456905f33642a8d7900deec7231e82ae87c6f16917d56bf85a00 MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 diff --git a/app-text/gspell/gspell-1.9.1.ebuild b/app-text/gspell/gspell-1.9.1.ebuild index f754d7d1f1f6..8228c7822e6f 100644 --- a/app-text/gspell/gspell-1.9.1.ebuild +++ b/app-text/gspell/gspell-1.9.1.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/gspell" LICENSE="LGPL-2.1+" SLOT="0/2" # subslot = libgspell-1 soname version -KEYWORDS="~alpha amd64 ~arm arm64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="+introspection +vala" REQUIRED_USE="vala? ( introspection )" diff --git a/app-text/htmltidy/Manifest b/app-text/htmltidy/Manifest index f961e1815450..d4e3a0d4542e 100644 --- a/app-text/htmltidy/Manifest +++ b/app-text/htmltidy/Manifest @@ -7,4 +7,4 @@ DIST tidy-20090325-doc.tar.bz2 13319 BLAKE2B c55c5e10cdfbf0eb62685955cad24f628c2 DIST tidy-20090325.tar.bz2 382016 BLAKE2B 3373e94d54cfef866e701e2e258be821b8749dbbbc37b10e4e4e4ba6d7f5995676161ac11bc6a2497f5e02c3907f680fabe9ac6dec2f2365aeb39c03b9697e0a SHA512 daeab2c3dd7f1248a5dbc1585267a8fdb0be09a940b79c3e53c97051f692cf85ea9f0a267f37e1c877054b77efb836d422a1e7ff61b22b383a2d2ac08939b970 EBUILD htmltidy-0.99.0.ebuild 1970 BLAKE2B 3070aed3a7fd97500449b0a9d15e94310d0fc6e1132031eb780c219341906c9c28d18c17510768a39f7c0abeada96ba536281d4e363cd9a5dee333cf05d80ef5 SHA512 c2daf06a319549320e4510df60f240e9f6a9504657fc230ca3d6af535804b1daf47fae2c6f92bab84fdc31b3968683e30228196249b60e92d480540006c89c2d EBUILD htmltidy-5.8.0-r1.ebuild 1497 BLAKE2B 2708e7b4d932a3938fc06ffd4b0322e3863e64b7f986a3fb940e3c25d32e97f21d7f0aa2be8bb779fa27ca637052aeaf0a8014f300731308829a87ec18fca954 SHA512 63cfa9d65d64fdfa41209358424620fbab4eaf934841eb70c39f9fddfe9efd88ec870f3534a6ecf2a6af5b9027f115919a6d32dc0292b1b931cb993404eb0727 -MISC metadata.xml 495 BLAKE2B db90fdb2d6e42059e23252b6be26e4d010c2bedbb522fb247b18a06b9f4328f8ef64a170e170cd510e7a677da4c046217914637416e37b0b31bb342362915efd SHA512 c83ecc62f8023d8a9d2ff50580e2a43879c0a99e1249e720ecd5bc90cdb9c33f0a86d4c65db580f25f2061f409ca27ba196b0088670367e40d2e29522e1f704a +MISC metadata.xml 607 BLAKE2B 4c7b33ab77b79bde2f15795812a98a19a720afd1695b639dece1c0c710a28816d4d9b289dce854385c853ab990f6f7537236585c1cfc588831ab426bfd1b14a4 SHA512 0e7bb1cfe88380e1bb3b5d9dcd343092aec7e6ff6582a905fae9f941102d764e3e1015398ef8b794743f568319058953bd2d1b4f0d02b0535ee29e1d2b76d170 diff --git a/app-text/htmltidy/metadata.xml b/app-text/htmltidy/metadata.xml index d1dfd0869ca2..d8d8c84e03f2 100644 --- a/app-text/htmltidy/metadata.xml +++ b/app-text/htmltidy/metadata.xml @@ -1,6 +1,10 @@ + + monsieurp@gentoo.org + Patrice Clement + marecki@gentoo.org Marek Szuba diff --git a/app-text/iso-codes/Manifest b/app-text/iso-codes/Manifest index 7f7c9a87ac7d..0beb92faa598 100644 --- a/app-text/iso-codes/Manifest +++ b/app-text/iso-codes/Manifest @@ -1,3 +1,5 @@ DIST iso-codes-4.6.0.tar.gz 14089611 BLAKE2B 0e85ca49dd40ca053af4b06aca440e55c2b9bb2061fcdceaa25b31ac7fd7942a590756db90c10db64e5e1ffcedbce5a552e60a6d495bb9d60621bc7b862e630b SHA512 fcee802a3f92ef035371ff45fa9d8acbf1e2f490e38d84d2e27d2226d250ad02d088156d0889c0fc0fc09f30c4541b30dc7eb65ca4f40c3764599c1b2143013f +DIST iso-codes-4.7.0.tar.gz 14122654 BLAKE2B 5dfcf4a0b39ff7b696f157a3938b7c1d35015c346ba4b046dda6b6b5bdcb02e561161afecfd2909fdbfbff6378cd4940335543d0ca7313bb9e80e490ad901abb SHA512 77ceb2ba9f3290f9409efdb50112beda2872ed163a86912b46480407f1135c0263cb70bf84bd2635b304d1af65e5b60f97a20b305219ead9ac98423b5abb255d EBUILD iso-codes-4.6.0.ebuild 2637 BLAKE2B 96372d652576a4070b2c72792d4596d040e95c857a688612b92eba596433267274aee5b0d07cf86516ccc5ba40860468523b8ec3bf0a1658a020a166cc2580b5 SHA512 51a092a6c6a712e4a862b5735c439d8e8f079e098cffa883aebcbd531468456be49a7a0f20f313dd359ecc3e59f1b783ce2a7ae18e0c603919afa1103cbd0779 +EBUILD iso-codes-4.7.0.ebuild 2645 BLAKE2B 1e045a1379fbbd86f88215fab9f0fb539d3a89336ccd20c46f437653f0ee67d0f8660ef3287574f8b81f3c8cda93d3e1e7b8b3e8ecb176049c793b79b85f2202 SHA512 664d02decf8bb5f8c603e949cf9b50e92e4801b83be61c925f31382e85173fce17e66801a5d289a682fc9e9e26c2bb2b243348d7cef413617028736a3f911281 MISC metadata.xml 480 BLAKE2B 3aefef945cb111095839e8fa8b84757e7f51a9aa8848806911d8c01763ab2d2f1d0c5b31c042f6ee307756e007893f6559c54d74a104caa612c9a6d39b2eea7e SHA512 5729ca31911ea7dad748e9f3afdd1f45f9034d783b56a75609101bfdb0a204bda8a078e7d251e89731091726062c4ac962e000ec7a898cb66ff787c8f2308d4c diff --git a/app-text/iso-codes/iso-codes-4.7.0.ebuild b/app-text/iso-codes/iso-codes-4.7.0.ebuild new file mode 100644 index 000000000000..b89d5b65020f --- /dev/null +++ b/app-text/iso-codes/iso-codes-4.7.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} ) +PLOCALES="ab ace ach af ak am an ar as ast ay az ba bar be bg bi bn bn_BD bn_IN br bs byn ca ce ch chr ckb crh cs csb cv cy da de dv dz ee el en eo es et eu fa ff fi fil fo fr frp fur fy ga gez gl gn gu gv ha haw he hi hr ht hu hy ia id io is it iu ja jam ka kab ki kk kl km kmr kn ko kok kv kw ky lo lt lv mai mhr mi mk ml mn mo mr ms mt my na nah nb nb_NO ne nl nn nso nv oc or pa pap pi pl ps pt pt_BR ro ru rw sc sd si sk sl so son sq sr sr@latin sv sw ta te tg th ti tig tk tl tr tt tt@iqtelif tzm ug uk ur uz ve vi wa wal wo xh yo zh_CN zh_HK zh_Hant zh_TW zu" + +inherit python-any-r1 + +DESCRIPTION="ISO language, territory, currency, script codes and their translations" +HOMEPAGE="https://salsa.debian.org/iso-codes-team/iso-codes" +SRC_URI="https://salsa.debian.org/${PN}-team/${PN}/-/archive/${P}/${PN}-${P}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" + +BDEPEND="${PYTHON_DEPS} + sys-devel/gettext +" +S="${WORKDIR}/${PN}-${P}" + +# This ebuild does not install any binaries. +RESTRICT="binchecks strip" + +DOCS=( ChangeLog.md README.md ) + +# plocale_find_changes doesn't support multiple directories, +# so need to do the update scan ourselves. +check_existing_locales() { + local std loc all_locales=() + + ebegin "Looking for new locales" + for std in "${all_stds[@]}"; do + pushd "${std}" >/dev/null || die + for loc in *.po; do + all_locales+=( "${loc%.po}" ) + done + popd >/dev/null + done + + all_locales=$(echo $(printf '%s\n' "${all_locales[@]}" | LC_COLLATE=C sort -u)) + if [[ ${PLOCALES} != "${all_locales}" ]]; then + eend 1 + eerror "There are changes in locales! This ebuild should be updated to:" + eerror "PLOCALES=\"${all_locales}\"" + die "Update PLOCALES in the ebuild" + else + eend 0 + fi +} + +src_prepare() { + default + + local std loc mylinguas + local all_stds=( iso_15924 iso_3166-{1,2,3} iso_4217 iso_639-{2,3,5} ) + + check_existing_locales + + # Modify the Makefiles so they only install requested locales. + for std in "${all_stds[@]}"; do + einfo "Preparing ${std} ..." + pushd "${std}" >/dev/null || die + mylinguas=() + for loc in *.po; do + if has ${loc%.po} ${LINGUAS-${loc%.po}}; then + mylinguas+=( "${loc}" ) + fi + done + + sed \ + -e "/^pofiles =/s:=.*:= ${mylinguas[*]}:" \ + -e "/^mofiles =/s:=.*:= ${mylinguas[*]/%.po/.mo}:" \ + -i Makefile.am Makefile.in || die "sed in ${std} folder failed" + popd >/dev/null + done +} diff --git a/app-text/lesspipe/Manifest b/app-text/lesspipe/Manifest index 2f52636883cd..aa22699ca03b 100644 --- a/app-text/lesspipe/Manifest +++ b/app-text/lesspipe/Manifest @@ -1,6 +1,5 @@ -AUX lesspipe-1.87-fix-tests.patch 3235 BLAKE2B feceffc77cfd62ea3c183d352abe0664db18c7f9765beba6d094a7fc15188e9f6cac255c824b0a42a70faeee7f9b44d77a77094aaadc54fc976a44db27dfb8a4 SHA512 c09a2a65b26ce1f08c559895fcd501dbcf51798547970c7f09b8c24494ea899e0801da47e57dc84fffa595f53cdcdae6233342db08be02db47e01f3c28d9b592 DIST lesspipe-1.85.tar.gz 120568 BLAKE2B d2c00f4121dc1bbed6b82220dac038068bbff87c732385399542cb212d4664c74d018db07829f90c38e938cb8623a443888c74b0d003fff725d0ddf207d8109e SHA512 420d087b9fc9783b9404855e4656b88c10852502bd2f1931978b7dc7ff15eba1a375b217184480f9b341322c12e7336d0861ba9c2f673f2b2a7fb340a381f5b2 -DIST lesspipe-1.88.tar.gz 121053 BLAKE2B 9d754c38b7e13f11799c22ac75d1a3636a1c5a38f1f83bda5b41d24ae9a6ecda0191190edf72132b0bb4e09a16aa3696cad906269ad09c9d2e1f26b44cc6937e SHA512 ece17095e2ba4cabeb689f7a4eb2e04297ec4fd3910af719a067487127bea3f11d2946542048cf152cf9d269152fc5dfa4a57abb0ccd8f60c5e1f9f106f23559 +DIST lesspipe-1.89.tar.gz 121118 BLAKE2B e730b6e8afc767a0118abbcc6221d2c18467393119c26baf71b8758b5826ba52230526b9c5cd67704aadda07b63a62dfe006db10de1dbae0a73ede1885b03ed0 SHA512 b8d7c92d3dae77f2ccee8e314af4354fefc9f3aaec1566af02c9be2640f11ebf7ea1432334470c5d5dbce39d2ac7c3e9f4074bcf9ee4a502dc59b370a21b54f5 EBUILD lesspipe-1.85.ebuild 1166 BLAKE2B b4f5ad06062203f195b36dc874c2d91f30f4222ecc94940687225b94a84129e142838c12938cb54ad35d248a3ea48bcc8ceddeda5aad0154b19ee8be6dfaad38 SHA512 7c7c0b9e6e95c1a6821338ba67f9869154b86ec9ab7d9f5e24e027a72c71ce6510da7f7d824dfea3e8e02bd9101111e1d75d45f1ae5518ef7aa50770904f3034 -EBUILD lesspipe-1.88.ebuild 1699 BLAKE2B 5a2f7a3ce059c3907fcc929f764e25545318d46d7f819bb3be3316946c6201fb7c1c3ab99c62c6205280fcdd4a578b30f4f7d2f872c1064ecea3620996566f66 SHA512 e6c9ddef87efbe09e4dbd03e71173e290a9436730106878c31507cd670edbde6937aec79cd45ccc0177a57eede30d2978d7a7fa0c42abfb21f52ca1edba77fa3 +EBUILD lesspipe-1.89.ebuild 1699 BLAKE2B 5a2f7a3ce059c3907fcc929f764e25545318d46d7f819bb3be3316946c6201fb7c1c3ab99c62c6205280fcdd4a578b30f4f7d2f872c1064ecea3620996566f66 SHA512 e6c9ddef87efbe09e4dbd03e71173e290a9436730106878c31507cd670edbde6937aec79cd45ccc0177a57eede30d2978d7a7fa0c42abfb21f52ca1edba77fa3 MISC metadata.xml 303 BLAKE2B 994cf3fadfb22f368dc6f14707fd56a6a4dc019b335d0d241a5f5f6ccbc221bdd284a3544c3171cc10c107ca01248444c23ca5c0f1386bd0d344fa1c13618699 SHA512 079c0445d27021945507ccc075775236d1ddd6f60cfa669928d982ebbff394f8185de0f8e092c3cb3bf3a531d21b80db6c04af9c98a34f28c8d643b25fd00b10 diff --git a/app-text/lesspipe/files/lesspipe-1.87-fix-tests.patch b/app-text/lesspipe/files/lesspipe-1.87-fix-tests.patch deleted file mode 100644 index c52e4c0957ef..000000000000 --- a/app-text/lesspipe/files/lesspipe-1.87-fix-tests.patch +++ /dev/null @@ -1,76 +0,0 @@ -https://github.com/wofr06/lesspipe/commit/428062937e99f5a5da5c5f94fecba5b13557d973.patch - -Dropped ChangeLog + README hunks, but not weeded out the tiny MP4 change. - -From 428062937e99f5a5da5c5f94fecba5b13557d973 Mon Sep 17 00:00:00 2001 -From: wf -Date: Sun, 8 Aug 2021 21:26:17 +0200 -Subject: [PATCH] make all tests in the test suite work - ---- - lesspipe.sh | 6 +++--- - lesspipe.sh.in | 6 +++--- - 4 files changed, 9 insertions(+), 6 deletions(-) - -diff --git a/lesspipe.sh b/lesspipe.sh -index 0bf3cb9..22c10b2 100755 ---- a/lesspipe.sh -+++ b/lesspipe.sh -@@ -54,7 +54,7 @@ filecmd() { - TMPDIR=${TMPDIR:-/tmp} - sep=: # file name separator - altsep== # alternate separator character --if [[ -e "$1" && "$1" = *$sep* || "$1" = *$sep*$altsep* ]]; then -+if [[ -e "$1" && "$1" = *$sep* ]]; then - sep=$altsep - xxx="${1%=}" - set "$xxx" -@@ -773,7 +773,7 @@ isfinal() { - elif [[ "$PARSEHTML" = yes && "$1" = *HTML$NOL_A_P* ]]; then - msg "append $sep to filename to view the HTML source" - parsehtml "$2" -- elif [[ "$1" = *pdf* ]] && cmd_exist pdftotext; then -+ elif [[ "$1" = *pdf* || "$1" = *PDF* ]] && cmd_exist pdftotext; then - if [[ "$PARSEHTML" = yes ]]; then - msg "append $sep to filename to view the PDF source" - istemp "pdftotext -htmlmeta -nopgbrk -q --" "$2" - | parsehtml - -@@ -952,7 +952,7 @@ isfinal() { - elif [[ "$1" = *mp3* ]] && cmd_exist id3v2; then - msg "append $sep to filename to view the raw data" - istemp "id3v2 --list" "$2" -- elif [[ "$1" = *image* || "$1" = *mp3* || "$1" = *audio* || "$1" = *video* ]] && cmd_exist mediainfo; then -+ elif [[ "$1" = *image* || "$1" = *mp3* || "$1" = *MP4* || "$1" = *audio* || "$1" = *video* ]] && cmd_exist mediainfo; then - msg "append $sep to filename to view the raw data" - mediainfo --Full "$2" - elif [[ "$1" = *image* || "$1" = *mp3* || "$1" = *audio* || "$1" = *video* ]] && cmd_exist exiftool; then -diff --git a/lesspipe.sh.in b/lesspipe.sh.in -index 8819dad..a099a84 100755 ---- a/lesspipe.sh.in -+++ b/lesspipe.sh.in -@@ -56,7 +56,7 @@ TMPDIR=${TMPDIR:-/tmp} - sep=: # file name separator - altsep== # alternate separator character - # if the separator is part of the file name then altsep is used --if [[ -e "$1" && "$1" = *$sep* || "$1" = *$sep*$altsep* ]]; then -+if [[ -e "$1" && "$1" = *$sep* ]]; then - sep=$altsep - xxx="${1%=}" - set "$xxx" -@@ -942,7 +942,7 @@ isfinal() { - msg "append $sep to filename to view the HTML source" - parsehtml "$2" - #ifdef pdftotext -- elif [[ "$1" = *pdf* ]] && cmd_exist pdftotext; then -+ elif [[ "$1" = *pdf* || "$1" = *PDF* ]] && cmd_exist pdftotext; then - if [[ "$PARSEHTML" = yes ]]; then - msg "append $sep to filename to view the PDF source" - istemp "pdftotext -htmlmeta -nopgbrk -q --" "$2" - | parsehtml - -@@ -1202,7 +1202,7 @@ isfinal() { - mp3info "$2" - #endif - #ifdef mediainfo -- elif [[ "$1" = *image* || "$1" = *mp3* || "$1" = *audio* || "$1" = *video* ]] && cmd_exist mediainfo; then -+ elif [[ "$1" = *image* || "$1" = *mp3* || "$1" = *MP4* || "$1" = *audio* || "$1" = *video* ]] && cmd_exist mediainfo; then - msg "append $sep to filename to view the raw data" - mediainfo --Full "$2" - #ifdef exiftool diff --git a/app-text/lesspipe/lesspipe-1.88.ebuild b/app-text/lesspipe/lesspipe-1.88.ebuild deleted file mode 100644 index bc53c82f7b8e..000000000000 --- a/app-text/lesspipe/lesspipe-1.88.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A preprocessor for less" -HOMEPAGE="https://github.com/wofr06/lesspipe" -SRC_URI="https://github.com/wofr06/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -# Tests are broken in 1.84, 1.85. -# Still fragile in 1.88. Passes when lesspipe is not installed. -# Please check again on bumps! -# bug #734896 -RESTRICT="test" - -DEPEND="dev-lang/perl" -RDEPEND="${DEPEND} - !tesseract-ocr/tesseract - Enable support for recognition of equations. - Install viewer to debug recognition (ScrollView). - Enable support orientation and script detection. + Support float for model training and text recognition (faster, requires less RAM) Enable opencl support for speedup using GPU computation. Install training applications to add support for new languages. diff --git a/app-text/tesseract/tesseract-3.05.02.ebuild b/app-text/tesseract/tesseract-3.05.02.ebuild deleted file mode 100644 index d237b25cfbfd..000000000000 --- a/app-text/tesseract/tesseract-3.05.02.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MY_PN="tesseract-ocr" -LANGPACKV="3.04.00" -URI_PREFIX="https://github.com/${MY_PN}/tessdata/raw/${LANGPACKV}/" -JAVA_PKG_OPT_USE="scrollview" - -inherit autotools java-pkg-opt-2 toolchain-funcs - -DESCRIPTION="An OCR Engine, originally developed at HP, now open source." -HOMEPAGE="https://github.com/tesseract-ocr" -SRC_URI="https://github.com/${MY_PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - ${URI_PREFIX}eng.traineddata -> eng.traineddata-${LANGPACKV} - math? ( ${URI_PREFIX}equ.traineddata -> equ.traineddata-${LANGPACKV} ) - l10n_ar? ( ${URI_PREFIX}ara.traineddata -> ara.traineddata-${LANGPACKV} ) - l10n_bg? ( ${URI_PREFIX}bul.traineddata -> bul.traineddata-${LANGPACKV} ) - l10n_ca? ( ${URI_PREFIX}cat.traineddata -> cat.traineddata-${LANGPACKV} ) - l10n_chr? ( ${URI_PREFIX}chr.traineddata -> chr.traineddata-${LANGPACKV} ) - l10n_cs? ( ${URI_PREFIX}ces.traineddata -> ces.traineddata-${LANGPACKV} ) - l10n_de? ( ${URI_PREFIX}deu.traineddata -> deu.traineddata-${LANGPACKV} - ${URI_PREFIX}deu_frak.traineddata -> deu_frak.traineddata-${LANGPACKV} ) - l10n_da? ( ${URI_PREFIX}dan.traineddata -> dan.traineddata-${LANGPACKV} - ${URI_PREFIX}dan_frak.traineddata -> dan_frak.traineddata-${LANGPACKV} ) - l10n_el? ( ${URI_PREFIX}ell.traineddata -> ell.traineddata-${LANGPACKV} ) - l10n_es? ( ${URI_PREFIX}spa.traineddata -> spa.traineddata-${LANGPACKV} ) - l10n_fi? ( ${URI_PREFIX}fin.traineddata -> fin.traineddata-${LANGPACKV} ) - l10n_fr? ( ${URI_PREFIX}fra.traineddata -> fra.traineddata-${LANGPACKV} ) - l10n_he? ( ${URI_PREFIX}heb.traineddata -> heb.traineddata-${LANGPACKV} ) - l10n_hi? ( ${URI_PREFIX}hin.traineddata -> hin.traineddata-${LANGPACKV} ) - l10n_hu? ( ${URI_PREFIX}hun.traineddata -> hun.traineddata-${LANGPACKV} ) - l10n_id? ( ${URI_PREFIX}ind.traineddata -> ind.traineddata-${LANGPACKV} ) - l10n_it? ( ${URI_PREFIX}ita.traineddata -> ita.traineddata-${LANGPACKV} ) - l10n_ja? ( ${URI_PREFIX}jpn.traineddata -> jpn.traineddata-${LANGPACKV} ) - l10n_ko? ( ${URI_PREFIX}kor.traineddata -> kor.traineddata-${LANGPACKV} ) - l10n_lt? ( ${URI_PREFIX}lit.traineddata -> lit.traineddata-${LANGPACKV} ) - l10n_lv? ( ${URI_PREFIX}lav.traineddata -> lav.traineddata-${LANGPACKV} ) - l10n_nl? ( ${URI_PREFIX}nld.traineddata -> nld.traineddata-${LANGPACKV} ) - l10n_no? ( ${URI_PREFIX}nor.traineddata -> nor.traineddata-${LANGPACKV} ) - l10n_pl? ( ${URI_PREFIX}pol.traineddata -> pol.traineddata-${LANGPACKV} ) - l10n_pt? ( ${URI_PREFIX}por.traineddata -> por.traineddata-${LANGPACKV} ) - l10n_ro? ( ${URI_PREFIX}ron.traineddata -> ron.traineddata-${LANGPACKV} ) - l10n_ru? ( ${URI_PREFIX}rus.traineddata -> rus.traineddata-${LANGPACKV} ) - l10n_sk? ( ${URI_PREFIX}slk.traineddata -> slk.traineddata-${LANGPACKV} - ${URI_PREFIX}slk_frak.traineddata -> slk_frak.traineddata-${LANGPACKV} ) - l10n_sl? ( ${URI_PREFIX}slv.traineddata -> slv.traineddata-${LANGPACKV} ) - l10n_sr? ( ${URI_PREFIX}srp.traineddata -> srp.traineddata-${LANGPACKV} ) - l10n_sv? ( ${URI_PREFIX}swe.traineddata -> swe.traineddata-${LANGPACKV} ) - l10n_th? ( ${URI_PREFIX}tha.traineddata -> tha.traineddata-${LANGPACKV} ) - l10n_tl? ( ${URI_PREFIX}tgl.traineddata -> tgl.traineddata-${LANGPACKV} ) - l10n_tr? ( ${URI_PREFIX}tur.traineddata -> tur.traineddata-${LANGPACKV} ) - l10n_uk? ( ${URI_PREFIX}ukr.traineddata -> ukr.traineddata-${LANGPACKV} ) - l10n_vi? ( ${URI_PREFIX}vie.traineddata -> vie.traineddata-${LANGPACKV} ) - l10n_zh-CN? ( ${URI_PREFIX}chi_sim.traineddata -> chi_sim.traineddata-${LANGPACKV} ) - l10n_zh-TW? ( ${URI_PREFIX}chi_tra.traineddata -> chi_tra.traineddata-${LANGPACKV} ) - osd? ( ${URI_PREFIX}osd.traineddata -> osd.traineddata-${LANGPACKV} ) -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~mips ppc ppc64 ~sparc x86" - -IUSE="doc examples jpeg math opencl osd png scrollview static-libs tiff training webp l10n_ar l10n_bg l10n_ca l10n_chr l10n_cs l10n_de l10n_da l10n_el l10n_es l10n_fi l10n_fr l10n_he l10n_hi l10n_hu l10n_id l10n_it l10n_ja l10n_ko l10n_lt l10n_lv l10n_nl l10n_no l10n_pl l10n_pt l10n_ro l10n_ru l10n_sk l10n_sl l10n_sr l10n_sv l10n_th l10n_tl l10n_tr l10n_uk l10n_vi l10n_zh-CN l10n_zh-TW" - -# With opencl USE=tiff is necessary in leptonica -CDEPEND=">=media-libs/leptonica-1.71:=[zlib,tiff?,jpeg?,png?,webp?] - opencl? ( - virtual/opencl - media-libs/tiff:0= - media-libs/leptonica:=[tiff] - ) - scrollview? ( - >=dev-java/piccolo2d-3.0:0 - ) - training? ( - dev-libs/icu:= - x11-libs/pango:= - x11-libs/cairo:= - )" - -DEPEND="${CDEPEND} - doc? ( app-doc/doxygen ) - scrollview? ( >=virtual/jdk-1.7 )" - -RDEPEND="${CDEPEND} - scrollview? ( >=virtual/jre-1.7 )" - -DOCS=( AUTHORS ChangeLog NEWS README.md ) - -PATCHES=( - "${FILESDIR}/${PN}-3.05.00-no_graphics.patch" - "${FILESDIR}/${PN}-3.05.00-use-system-piccolo2d.patch" -) - -src_unpack() { - unpack ${P}.tar.gz - for file in ${A}; do - if [[ "${file}" == *traineddata* ]]; then - cp "${DISTDIR}/${file}" "${S}/tessdata/${file%-*}" || die - fi - done -} - -src_prepare() { - default - eautoreconf - - java-pkg-opt-2_src_prepare -} - -src_configure() { - local myeconfargs=( - --enable-shared - $(use_enable opencl) - $(use_enable scrollview graphics) - $(use_enable static-libs static) - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - default - use doc && emake doc - use scrollview && emake ScrollView.jar JAVAC="javac $(java-pkg_javac-args)" - use training && emake training -} - -src_install() { - use doc && HTML_DOCS=( doc/html/. ) - default - find "${ED}" -name '*.la' -delete || die - - if use training; then - emake DESTDIR="${D}" training-install - fi - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins testing/eurotext.tif testing/phototest.tif - fi - - insinto /usr/share/tessdata - doins tessdata/*traineddata* # language files - use scrollview && doins java/ScrollView.jar # scrollview -} diff --git a/app-text/tesseract/tesseract-4.1.0-r1.ebuild b/app-text/tesseract/tesseract-4.1.0-r1.ebuild deleted file mode 100644 index ac660c1f07d3..000000000000 --- a/app-text/tesseract/tesseract-4.1.0-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools multilib-minimal toolchain-funcs - -DESCRIPTION="An OCR Engine, originally developed at HP, now open source." -HOMEPAGE="https://github.com/tesseract-ocr" -SRC_URI="https://github.com/tesseract-ocr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="doc jpeg opencl openmp png static-libs tiff training webp" - -COMMON_DEPEND=">=media-libs/leptonica-1.74:=[${MULTILIB_USEDEP},zlib,tiff?,jpeg?,png?,webp?] - opencl? ( - virtual/opencl[${MULTILIB_USEDEP}] - media-libs/tiff:0=[${MULTILIB_USEDEP}] - media-libs/leptonica:=[tiff] - ) - training? ( - dev-libs/icu:= - x11-libs/pango:= - x11-libs/cairo:= - )" -RDEPEND="${COMMON_DEPEND} - || ( - >=app-text/tessdata_fast-4.0.0 - >=app-text/tessdata_best-4.0.0 - >=app-text/tessdata_legacy-4.0.0 - )" -DEPEND="${COMMON_DEPEND} - app-text/asciidoc - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - doc? ( app-doc/doxygen )" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - eautoreconf -} - -multilib_src_configure() { - # scrollview disabled for now, see bug #686944 - local myeconfargs=( - --enable-shared - --disable-graphics - $(use_enable opencl) - $(use_enable openmp) - $(use_enable static-libs static) - ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_compile() { - default - if multilib_is_native_abi; then - use doc && emake doc - use training && emake training - fi -} - -multilib_src_install() { - if multilib_is_native_abi; then - DOCS=( "${S}"/AUTHORS "${S}"/ChangeLog "${S}"/README.md ) - if use doc; then - HTML_DOCS=( doc/html/. ) - fi - einstalldocs - - if use training; then - emake DESTDIR="${D}" training-install - fi - fi - emake DESTDIR="${D}" install -} - -multilib_src_install_all() { - find "${D}" -name '*.la' -type f -delete || die -} diff --git a/app-text/tesseract/tesseract-5.0.0_beta20210815.ebuild b/app-text/tesseract/tesseract-5.0.0_beta20210815.ebuild new file mode 100644 index 000000000000..0cd624612031 --- /dev/null +++ b/app-text/tesseract/tesseract-5.0.0_beta20210815.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal toolchain-funcs + +DESCRIPTION="An OCR Engine, originally developed at HP, now open source." +HOMEPAGE="https://github.com/tesseract-ocr" +BETA_PV=$(ver_rs 3-4 "-") +SRC_URI="https://github.com/tesseract-ocr/${PN}/archive/${BETA_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc float32 jpeg opencl openmp png static-libs tiff training webp" + +COMMON_DEPEND=">=media-libs/leptonica-1.74:=[${MULTILIB_USEDEP},zlib,tiff?,jpeg?,png?,webp?] + opencl? ( + virtual/opencl[${MULTILIB_USEDEP}] + media-libs/tiff:0=[${MULTILIB_USEDEP}] + media-libs/leptonica:=[tiff] + ) + training? ( + dev-libs/icu:= + x11-libs/pango:= + x11-libs/cairo:= + )" +RDEPEND="${COMMON_DEPEND} + || ( + >=app-text/tessdata_fast-4.0.0 + >=app-text/tessdata_best-4.0.0 + >=app-text/tessdata_legacy-4.0.0 + )" +DEPEND="${COMMON_DEPEND} + app-text/asciidoc + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + doc? ( app-doc/doxygen )" + +S=${WORKDIR}/${PN}-${BETA_PV} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + # scrollview disabled for now, see bug #686944 + local myeconfargs=( + --enable-shared + --disable-graphics + $(use_enable float32) + $(use_enable opencl) + $(use_enable openmp) + $(use_enable static-libs static) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + default + if multilib_is_native_abi; then + use doc && emake doc + use training && emake training + fi +} + +multilib_src_install() { + if multilib_is_native_abi; then + DOCS=( "${S}"/AUTHORS "${S}"/ChangeLog "${S}"/README.md ) + if use doc; then + HTML_DOCS=( doc/html/. ) + fi + einstalldocs + + if use training; then + emake DESTDIR="${D}" training-install + fi + fi + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + find "${D}" -name '*.la' -type f -delete || die +} -- cgit v1.2.3