commit: d9728c685caaac8360a6c26a57a184b262388543 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Dec 21 16:07:41 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri Dec 26 20:51:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9728c68
app-i18n/tagainijisho: treeclean Closes: https://bugs.gentoo.org/802033 (pkgremoved) Closes: https://bugs.gentoo.org/957555 (pkgremoved) Closes: https://bugs.gentoo.org/961793 (pkgremoved) Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> app-i18n/tagainijisho/Manifest | 2 - app-i18n/tagainijisho/metadata.xml | 31 ---- app-i18n/tagainijisho/tagainijisho-1.2.2.ebuild | 197 ------------------------ app-i18n/tagainijisho/tagainijisho-9999.ebuild | 197 ------------------------ profiles/package.mask | 5 - 5 files changed, 432 deletions(-) diff --git a/app-i18n/tagainijisho/Manifest b/app-i18n/tagainijisho/Manifest deleted file mode 100644 index 0a68d2e24b94..000000000000 --- a/app-i18n/tagainijisho/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST kanjivg-20220427.xml.gz 3599920 BLAKE2B 01c5f523023433ef8ada843ff55347ad8bb5be07d094fe2a602c47442c77d863dd131e766c486c75541618b31ab4d6493e2a1c15b5f4f416e22c561c2a73aacb SHA512 204c372ec8fbd3deeb0a644eae8883c3eada4693539c232d3e04709eb59af58925d7e3d4eca576c03ebd74fc077633f1e4897d2bf82105d35edd92023ea832d5 -DIST tagainijisho-1.2.2.tar.gz 32366512 BLAKE2B bb5670e9cfcd38f21cd16f8f2977c8ae754291ceaa8b1933a50256201b0ad90871bf2440c481eb0ca08ee802956780c02b5e25e9454dd21237743a352304a82f SHA512 08ed99282bd95123dba008af40c5c214ed6434e4179b2f1ccb2b2e83461b55dc4125d431827a9e3e9ec91c6e3ad0b0e98bc02e15e81ae7ce51e9efb47e93f316 diff --git a/app-i18n/tagainijisho/metadata.xml b/app-i18n/tagainijisho/metadata.xml deleted file mode 100644 index c37235731276..000000000000 --- a/app-i18n/tagainijisho/metadata.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>[email protected]</email> - <name>Jake Shipton</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>[email protected]</email> - <name>Proxy Maintainers</name> - </maintainer> - <maintainer type="project"> - <email>[email protected]</email> - <name>Cjk</name> - </maintainer> - <longdescription> - Tagaini Jisho is a free, open-source Japanese dictionary and kanji lookup tool - that is available for Windows, MacOS X and Linux and aims at becoming your - Japanese study assistant. It allows you to quickly search for entries and mark - those that you wish to study, along with tags and personal notes. It also let - you train entries you are studying and follows your progression in remembering - them. Finally, it makes it easy to review entries you did not remember by - listing them on screen or printing them on a small booklet. - - Tagaini Jisho also features complete stroke order animations for more than 6000 - kanji. - </longdescription> - <upstream> - <remote-id type="github">Gnurou/tagainijisho</remote-id> - </upstream> -</pkgmetadata> diff --git a/app-i18n/tagainijisho/tagainijisho-1.2.2.ebuild b/app-i18n/tagainijisho/tagainijisho-1.2.2.ebuild deleted file mode 100644 index 568f5e3ce5f3..000000000000 --- a/app-i18n/tagainijisho/tagainijisho-1.2.2.ebuild +++ /dev/null @@ -1,197 +0,0 @@ -# Copyright 2014-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit cmake xdg-utils - -if [[ "${PV}" == 9999 ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/Gnurou/tagainijisho" -elif [[ "${PV}" == *_pre* ]]; then - inherit vcs-snapshot - - TAGAINIJISHO_GIT_REVISION="a16d7b82002d95365b54b8cd07d4fd80e2b9cfeb" - TAGAINIJISHO_VERSION="${PV%_p*_p*}" - JMDICT_DATE="${PV#${TAGAINIJISHO_VERSION}_p}" - JMDICT_DATE="${JMDICT_DATE%_p*}" - JMDICT_DATE="${JMDICT_DATE:0:4}-${JMDICT_DATE:4:2}-${JMDICT_DATE:6}" - KANJIDIC2_DATE="${PV#${TAGAINIJISHO_VERSION}_p*_p}" - KANJIDIC2_DATE="${KANJIDIC2_DATE:0:4}-${KANJIDIC2_DATE:4:2}-${KANJIDIC2_DATE:6}" -fi - -if [[ "${PV}" == 9999 || "${PV}" == *_pre* ]]; then - KANJIVG_VERSION="20220427" -fi - -DESCRIPTION="Open-source Japanese dictionary and kanji lookup tool" -HOMEPAGE="https://www.tagaini.net/ https://github.com/Gnurou/tagainijisho" -if [[ "${PV}" == 9999 ]]; then - # A daily archive is fetched for both JMdict and kanjidic2 - SRC_URI="" -elif [[ "${PV}" == *_pre* ]]; then - SRC_URI="https://github.com/Gnurou/${PN}/archive/${TAGAINIJISHO_GIT_REVISION}.tar.gz -> ${PN}-${TAGAINIJISHO_VERSION}.tar.gz" - - # Upstream: https://www.edrdg.org/pub/Nihongo/JMdict.gz - SRC_URI+=" https://home.apache.org/~arfrever/distfiles/JMdict-${JMDICT_DATE}.gz" - # Upstream: https://www.edrdg.org/pub/Nihongo/kanjidic2.xml.gz - SRC_URI+=" https://home.apache.org/~arfrever/distfiles/kanjidic2-${KANJIDIC2_DATE}.xml.gz" -else - # JMdict and kanjidic2 are already included in stable release archive. - SRC_URI="https://github.com/Gnurou/${PN}/releases/download/${PV}/${PN}-${PV}.tar.gz" -fi - -if [[ "${PV}" == 9999 || "${PV}" == *_pre* ]]; then - SRC_URI+=" https://github.com/KanjiVG/kanjivg/releases/download/r${KANJIVG_VERSION}/kanjivg-${KANJIVG_VERSION}.xml.gz" -fi - -LICENSE="GPL-3+ public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -BDEPEND="dev-qt/linguist-tools:5" -DEPEND=">=dev-db/sqlite-3.40:3 - dev-qt/qtcore:5 - dev-qt/qtnetwork:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5" -RDEPEND="${DEPEND}" - -pkg_langs=(ar cs de es fa fi fr hr hu id it nb nl no pl pt ru sv ta th tr uk vi zh) -IUSE+=" ${pkg_langs[@]/#/l10n_}" -unset pkg_langs - -if [[ "${PV}" == *_pre* ]]; then - S="${WORKDIR}/${PN}-${TAGAINIJISHO_VERSION}" -fi - -src_unpack() { - if [[ "${PV}" == 9999 ]]; then - git-r3_src_unpack - elif [[ "${PV}" == *_pre* ]]; then - unpack ${PN}-${TAGAINIJISHO_VERSION}.tar.gz - mv ${PN}-${TAGAINIJISHO_GIT_REVISION} ${PN}-${TAGAINIJISHO_VERSION} || die - else - unpack ${PN}-${PV}.tar.gz - fi - - if [[ "${PV}" == 9999 ]]; then - # JMdict.gz and kanjidic2.xml.gz are updated once per day. - - local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}" - local today="$(TZ="UTC" date --date=today "+%Y-%m-%d")" - local yesterday="$(TZ="UTC" date --date=yesterday "+%Y-%m-%d")" - - if [[ -f ${distdir}/JMdict-${today}.gz && -s ${distdir}/JMdict-${today}.gz ]]; then - # Use previously downloaded file from today. - JMDICT_DATE="${today}" - elif [[ -f ${distdir}/JMdict-${yesterday}.gz && -s ${distdir}/JMdict-${yesterday}.gz ]]; then - # Use previously downloaded file from yesterday. File from today may still be nonexistent. - JMDICT_DATE="${yesterday}" - else - # Download file from today or yesterday. - wget https://www.edrdg.org/pub/Nihongo/JMdict.gz -O JMdict.gz || die - JMDICT_DATE="$(gzip -cd JMdict.gz | grep -E "^<!-- JMdict created: [[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2} -->$" | sed -e "s/.*\([[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}\).*/\1/")" - if [[ ${JMDICT_DATE} != ${today} && ${JMDICT_DATE} != ${yesterday} ]]; then - die "Unexpected date in JMdict.gz: '${JMDICT_DATE}'" - fi - ( - addwrite "${distdir}" - mv JMdict.gz "${distdir}/JMdict-${JMDICT_DATE}.gz" || die - ) - fi - einfo "Date in JMdict.gz: '${JMDICT_DATE}'" - - if [[ -f ${distdir}/kanjidic2-${today}.xml.gz && -s ${distdir}/kanjidic2-${today}.xml.gz ]]; then - # Use previously downloaded file from today. - KANJIDIC2_DATE="${today}" - elif [[ -f ${distdir}/kanjidic2-${yesterday}.xml.gz && -s ${distdir}/kanjidic2-${yesterday}.xml.gz ]]; then - # Use previously downloaded file from yesterday. File from today may still be nonexistent. - KANJIDIC2_DATE="${yesterday}" - else - # Download file from today or yesterday. - wget https://www.edrdg.org/pub/Nihongo/kanjidic2.xml.gz -O kanjidic2.xml.gz || die - KANJIDIC2_DATE="$(gzip -cd kanjidic2.xml.gz | grep -E "^<date_of_creation>[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}</date_of_creation>$" | sed -e "s/.*\([[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}\).*/\1/")" - if [[ ${KANJIDIC2_DATE} != ${today} && ${KANJIDIC2_DATE} != ${yesterday} ]]; then - die "Unexpected date in kanjidic2.xml.gz: '${KANJIDIC2_DATE}'" - fi - ( - addwrite "${distdir}" - mv kanjidic2.xml.gz "${distdir}/kanjidic2-${KANJIDIC2_DATE}.xml.gz" || die - ) - fi - einfo "Date in kanjidic2.xml.gz: '${KANJIDIC2_DATE}'" - - mkdir "${S}/3rdparty" || die - gzip -cd "${distdir}/JMdict-${JMDICT_DATE}.gz" > "${S}/3rdparty/JMdict" || die - gzip -cd "${distdir}/kanjidic2-${KANJIDIC2_DATE}.xml.gz" > "${S}/3rdparty/kanjidic2.xml" || die - elif [[ "${PV}" == *_pre* ]]; then - mkdir "${S}/3rdparty" || die - pushd "${S}/3rdparty" > /dev/null || die - - unpack JMdict-${JMDICT_DATE}.gz - mv JMdict-${JMDICT_DATE} JMdict || die - - unpack kanjidic2-${KANJIDIC2_DATE}.xml.gz - mv kanjidic2-${KANJIDIC2_DATE}.xml kanjidic2.xml || die - - popd > /dev/null || die - fi - - if [[ "${PV}" == 9999 || "${PV}" == *_pre* ]]; then - pushd "${S}/3rdparty" > /dev/null || die - - unpack kanjivg-${KANJIVG_VERSION}.xml.gz - mv kanjivg-${KANJIVG_VERSION}.xml kanjivg.xml || die - - popd > /dev/null || die - fi -} - -src_configure() { - # GUI linguae - # en is not optional, and build fails if none other than en is set, so adding ja as non-optional too. - local lang use_lang - for lang in i18n/*.ts; do - lang=${lang#i18n/tagainijisho_} - lang=${lang%.ts} - case ${lang} in - es_AR|fa_IR|fi_FI|pt_BR|zh_TW) - # Use generic tags. - use_lang=${lang%%_*} - ;; - *) - use_lang=${lang} - ;; - esac - - if [[ ${lang} != en && ${lang} != ja ]] && ! use l10n_${use_lang}; then - rm i18n/tagainijisho_${lang}.ts || die - fi - done - - # Dictionary linguae - # en is not optional here either, but nothing special needs to be done. - local dict_langs - for lang in $(sed -e 's/;/ /g' -ne '/set(DICT_LANG ".*")/s/.*"\(.*\)".*/\1/p' CMakeLists.txt); do - if use l10n_${lang}; then - dict_langs+="${dict_langs:+;}${lang}" - fi - done - - local mycmakeargs=( - -DDICT_LANG="${dict_langs:-;}" - -DEMBED_SQLITE=OFF - ) - - cmake_src_configure -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/app-i18n/tagainijisho/tagainijisho-9999.ebuild b/app-i18n/tagainijisho/tagainijisho-9999.ebuild deleted file mode 100644 index 923deb0d27a1..000000000000 --- a/app-i18n/tagainijisho/tagainijisho-9999.ebuild +++ /dev/null @@ -1,197 +0,0 @@ -# Copyright 2014-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit cmake xdg-utils - -if [[ "${PV}" == 9999 ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/Gnurou/tagainijisho" -elif [[ "${PV}" == *_pre* ]]; then - inherit vcs-snapshot - - TAGAINIJISHO_GIT_REVISION="a16d7b82002d95365b54b8cd07d4fd80e2b9cfeb" - TAGAINIJISHO_VERSION="${PV%_p*_p*}" - JMDICT_DATE="${PV#${TAGAINIJISHO_VERSION}_p}" - JMDICT_DATE="${JMDICT_DATE%_p*}" - JMDICT_DATE="${JMDICT_DATE:0:4}-${JMDICT_DATE:4:2}-${JMDICT_DATE:6}" - KANJIDIC2_DATE="${PV#${TAGAINIJISHO_VERSION}_p*_p}" - KANJIDIC2_DATE="${KANJIDIC2_DATE:0:4}-${KANJIDIC2_DATE:4:2}-${KANJIDIC2_DATE:6}" -fi - -if [[ "${PV}" == 9999 || "${PV}" == *_pre* ]]; then - KANJIVG_VERSION="20220427" -fi - -DESCRIPTION="Open-source Japanese dictionary and kanji lookup tool" -HOMEPAGE="https://www.tagaini.net/ https://github.com/Gnurou/tagainijisho" -if [[ "${PV}" == 9999 ]]; then - # A daily archive is fetched for both JMdict and kanjidic2 - SRC_URI="" -elif [[ "${PV}" == *_pre* ]]; then - SRC_URI="https://github.com/Gnurou/${PN}/archive/${TAGAINIJISHO_GIT_REVISION}.tar.gz -> ${PN}-${TAGAINIJISHO_VERSION}.tar.gz" - - # Upstream: https://www.edrdg.org/pub/Nihongo/JMdict.gz - SRC_URI+=" https://home.apache.org/~arfrever/distfiles/JMdict-${JMDICT_DATE}.gz" - # Upstream: https://www.edrdg.org/pub/Nihongo/kanjidic2.xml.gz - SRC_URI+=" https://home.apache.org/~arfrever/distfiles/kanjidic2-${KANJIDIC2_DATE}.xml.gz" -else - # JMdict and kanjidic2 are already included in stable release archive. - SRC_URI="https://github.com/Gnurou/${PN}/releases/download/${PV}/${PN}-${PV}.tar.gz" -fi - -if [[ "${PV}" == 9999 || "${PV}" == *_pre* ]]; then - SRC_URI+=" https://github.com/KanjiVG/kanjivg/releases/download/r${KANJIVG_VERSION}/kanjivg-${KANJIVG_VERSION}.xml.gz" -fi - -LICENSE="GPL-3+ public-domain" -SLOT="0" -KEYWORDS="" -IUSE="" - -BDEPEND="dev-qt/linguist-tools:5" -DEPEND=">=dev-db/sqlite-3.40:3 - dev-qt/qtcore:5 - dev-qt/qtnetwork:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5" -RDEPEND="${DEPEND}" - -pkg_langs=(ar cs de es fa fi fr hr hu id it nb nl no pl pt ru sv ta th tr uk vi zh) -IUSE+=" ${pkg_langs[@]/#/l10n_}" -unset pkg_langs - -if [[ "${PV}" == *_pre* ]]; then - S="${WORKDIR}/${PN}-${TAGAINIJISHO_VERSION}" -fi - -src_unpack() { - if [[ "${PV}" == 9999 ]]; then - git-r3_src_unpack - elif [[ "${PV}" == *_pre* ]]; then - unpack ${PN}-${TAGAINIJISHO_VERSION}.tar.gz - mv ${PN}-${TAGAINIJISHO_GIT_REVISION} ${PN}-${TAGAINIJISHO_VERSION} || die - else - unpack ${PN}-${PV}.tar.gz - fi - - if [[ "${PV}" == 9999 ]]; then - # JMdict.gz and kanjidic2.xml.gz are updated once per day. - - local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}" - local today="$(TZ="UTC" date --date=today "+%Y-%m-%d")" - local yesterday="$(TZ="UTC" date --date=yesterday "+%Y-%m-%d")" - - if [[ -f ${distdir}/JMdict-${today}.gz && -s ${distdir}/JMdict-${today}.gz ]]; then - # Use previously downloaded file from today. - JMDICT_DATE="${today}" - elif [[ -f ${distdir}/JMdict-${yesterday}.gz && -s ${distdir}/JMdict-${yesterday}.gz ]]; then - # Use previously downloaded file from yesterday. File from today may still be nonexistent. - JMDICT_DATE="${yesterday}" - else - # Download file from today or yesterday. - wget https://www.edrdg.org/pub/Nihongo/JMdict.gz -O JMdict.gz || die - JMDICT_DATE="$(gzip -cd JMdict.gz | grep -E "^<!-- JMdict created: [[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2} -->$" | sed -e "s/.*\([[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}\).*/\1/")" - if [[ ${JMDICT_DATE} != ${today} && ${JMDICT_DATE} != ${yesterday} ]]; then - die "Unexpected date in JMdict.gz: '${JMDICT_DATE}'" - fi - ( - addwrite "${distdir}" - mv JMdict.gz "${distdir}/JMdict-${JMDICT_DATE}.gz" || die - ) - fi - einfo "Date in JMdict.gz: '${JMDICT_DATE}'" - - if [[ -f ${distdir}/kanjidic2-${today}.xml.gz && -s ${distdir}/kanjidic2-${today}.xml.gz ]]; then - # Use previously downloaded file from today. - KANJIDIC2_DATE="${today}" - elif [[ -f ${distdir}/kanjidic2-${yesterday}.xml.gz && -s ${distdir}/kanjidic2-${yesterday}.xml.gz ]]; then - # Use previously downloaded file from yesterday. File from today may still be nonexistent. - KANJIDIC2_DATE="${yesterday}" - else - # Download file from today or yesterday. - wget https://www.edrdg.org/pub/Nihongo/kanjidic2.xml.gz -O kanjidic2.xml.gz || die - KANJIDIC2_DATE="$(gzip -cd kanjidic2.xml.gz | grep -E "^<date_of_creation>[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}</date_of_creation>$" | sed -e "s/.*\([[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}\).*/\1/")" - if [[ ${KANJIDIC2_DATE} != ${today} && ${KANJIDIC2_DATE} != ${yesterday} ]]; then - die "Unexpected date in kanjidic2.xml.gz: '${KANJIDIC2_DATE}'" - fi - ( - addwrite "${distdir}" - mv kanjidic2.xml.gz "${distdir}/kanjidic2-${KANJIDIC2_DATE}.xml.gz" || die - ) - fi - einfo "Date in kanjidic2.xml.gz: '${KANJIDIC2_DATE}'" - - mkdir "${S}/3rdparty" || die - gzip -cd "${distdir}/JMdict-${JMDICT_DATE}.gz" > "${S}/3rdparty/JMdict" || die - gzip -cd "${distdir}/kanjidic2-${KANJIDIC2_DATE}.xml.gz" > "${S}/3rdparty/kanjidic2.xml" || die - elif [[ "${PV}" == *_pre* ]]; then - mkdir "${S}/3rdparty" || die - pushd "${S}/3rdparty" > /dev/null || die - - unpack JMdict-${JMDICT_DATE}.gz - mv JMdict-${JMDICT_DATE} JMdict || die - - unpack kanjidic2-${KANJIDIC2_DATE}.xml.gz - mv kanjidic2-${KANJIDIC2_DATE}.xml kanjidic2.xml || die - - popd > /dev/null || die - fi - - if [[ "${PV}" == 9999 || "${PV}" == *_pre* ]]; then - pushd "${S}/3rdparty" > /dev/null || die - - unpack kanjivg-${KANJIVG_VERSION}.xml.gz - mv kanjivg-${KANJIVG_VERSION}.xml kanjivg.xml || die - - popd > /dev/null || die - fi -} - -src_configure() { - # GUI linguae - # en is not optional, and build fails if none other than en is set, so adding ja as non-optional too. - local lang use_lang - for lang in i18n/*.ts; do - lang=${lang#i18n/tagainijisho_} - lang=${lang%.ts} - case ${lang} in - es_AR|fa_IR|fi_FI|pt_BR|zh_TW) - # Use generic tags. - use_lang=${lang%%_*} - ;; - *) - use_lang=${lang} - ;; - esac - - if [[ ${lang} != en && ${lang} != ja ]] && ! use l10n_${use_lang}; then - rm i18n/tagainijisho_${lang}.ts || die - fi - done - - # Dictionary linguae - # en is not optional here either, but nothing special needs to be done. - local dict_langs - for lang in $(sed -e 's/;/ /g' -ne '/set(DICT_LANG ".*")/s/.*"\(.*\)".*/\1/p' CMakeLists.txt); do - if use l10n_${lang}; then - dict_langs+="${dict_langs:+;}${lang}" - fi - done - - local mycmakeargs=( - -DDICT_LANG="${dict_langs:-;}" - -DEMBED_SQLITE=OFF - ) - - cmake_src_configure -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/profiles/package.mask b/profiles/package.mask index 8a2176b63cac..f1c9f6614a0c 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -246,11 +246,6 @@ x11-wm/lumina # Removal on 2025-12-27. media-gfx/meshlab -# Andreas Sturmlechner <[email protected]> (2025-11-27) -# Depends on Qt5, no reply or activity upstream. Bug #961793 -# Removal on 2025-12-27. -app-i18n/tagainijisho - # Sam James <[email protected]> (2025-11-25) # Generates session keys with weak (no) randomness. Please re-encrypt # any data/messages using this librnp version. <0.18 is fine as is >=0.18.1.
