diff options
Diffstat (limited to 'app-dicts')
33 files changed, 348 insertions, 171 deletions
diff --git a/app-dicts/aspell-da/Manifest b/app-dicts/aspell-da/Manifest index 80011f74227b..ceccff54f0ae 100644 --- a/app-dicts/aspell-da/Manifest +++ b/app-dicts/aspell-da/Manifest @@ -1 +1 @@ -DIST aspell-da-4.2.1.tar.gz 4244477 BLAKE2B 51c25e9dc3f033daf4884abb3db5681ba834835bd6ae417e9edf5200d4791fd911974dca4f3323b880efd7a2be1ee8259784e0a54d7e0bceb7249a6bb4a55736 SHA512 66a32be37615423cdd88c3ccbe81e26bc955068a5d74f1829f0d309ba93741d99f7ccbb335e0fe1a890aada984cc771eb25c00027554509c0f1fbf36fea5fb0b +DIST aspell-da-4.3.tar.gz 4262160 BLAKE2B d7de57716c36b23e7de83152f46f3b13d9474007d05fb96171a9a2e70758afbe6ca96e0b2c6d2bacd5543e33698de5483f9dae3469017475a5e19a75975eaf86 SHA512 6cb391660f7c7dad85f0242feca284d07204dfbab348e4138e07932da8dd7446e8bccf8e3079bc40f69d73b3967da80ddd539e66eda037b8053056effd20b389 diff --git a/app-dicts/aspell-da/aspell-da-4.2.1.ebuild b/app-dicts/aspell-da/aspell-da-4.3.ebuild index adc235aae632..d8131bfdbab6 100644 --- a/app-dicts/aspell-da/aspell-da-4.2.1.ebuild +++ b/app-dicts/aspell-da/aspell-da-4.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/app-dicts/aspell-it/aspell-it-2.4.20070901.0-r1.ebuild b/app-dicts/aspell-it/aspell-it-2.4.20070901.0-r1.ebuild index 737d13283005..25c8fccbccd5 100644 --- a/app-dicts/aspell-it/aspell-it-2.4.20070901.0-r1.ebuild +++ b/app-dicts/aspell-it/aspell-it-2.4.20070901.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ MY_P="${PN/aspell/aspell"${ASPELL_VERSION}"}-${PV%%.*}.${MY_PV//./-}" inherit aspell-dict-r1 -SRC_URI="mirror://sourceforge/linguistico/${MY_P}.tar.bz2" +SRC_URI="https://downloads.sourceforge.net/linguistico/${MY_P}.tar.bz2" S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" diff --git a/app-dicts/aspell-pl/Manifest b/app-dicts/aspell-pl/Manifest index 346a12b91acb..1b2bc01413cb 100644 --- a/app-dicts/aspell-pl/Manifest +++ b/app-dicts/aspell-pl/Manifest @@ -1 +1 @@ -DIST sjp-aspell6-pl-6.0_20240101-0.tar.bz2 658829 BLAKE2B e35c0268f1684b56fe4a8f8a8cf41a943c3747965a952dfce4f21bf7e8378117dafd04e45a3365ce649783b9810a45683fb17e4941122a6f81b32f66e473e82c SHA512 bf6cbc3fe6f07fb2b8100a9d39e87defe7066d98c6fa97e3d144e2700b55b61e437dafc8e98c68d9d57e91d702dd6ecfbf8e84c5d773f493491bec21be1a4ac6 +DIST sjp-aspell6-pl-6.0_20240301-0.tar.bz2 658890 BLAKE2B 6b4b5fa979aaf1e6d04d8e6efda375e88f3d6c1ce0ec1ad7c518e2ad2aedd69d5ed78488c317fa60cda82d8460b535973684e8571577167beb4c284ff605389f SHA512 81f11538195cca3faa42a6dd7f7f1f674f08126203347f3a2803cb0ea80e272013800e1986ebcc99b7c65003b156db6ceca953f64509d39120024140a848be9c diff --git a/app-dicts/aspell-pl/aspell-pl-6.0.20240101.0.ebuild b/app-dicts/aspell-pl/aspell-pl-6.0.20240301.0.ebuild index 77b0aa908ac8..77b0aa908ac8 100644 --- a/app-dicts/aspell-pl/aspell-pl-6.0.20240101.0.ebuild +++ b/app-dicts/aspell-pl/aspell-pl-6.0.20240301.0.ebuild diff --git a/app-dicts/aspell-ro/aspell-ro-3.3.10-r1.ebuild b/app-dicts/aspell-ro/aspell-ro-3.3.10-r1.ebuild index d92599c11f7c..ac69d9adb9bb 100644 --- a/app-dicts/aspell-ro/aspell-ro-3.3.10-r1.ebuild +++ b/app-dicts/aspell-ro/aspell-ro-3.3.10-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ HOMEPAGE=" http://aspell.net https://rospell.wordpress.com/ " -SRC_URI="mirror://sourceforge/rospell/${MY_P}.tar.bz2" +SRC_URI="https://downloads.sourceforge.net/rospell/${MY_P}.tar.bz2" S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" diff --git a/app-dicts/gwaei/files/gwaei-3.6.2-yelp.patch b/app-dicts/gwaei/files/gwaei-3.6.2-yelp.patch new file mode 100644 index 000000000000..a5515561fd59 --- /dev/null +++ b/app-dicts/gwaei/files/gwaei-3.6.2-yelp.patch @@ -0,0 +1,53 @@ +--- + autogen.sh | 1 - + configure.ac | 4 +--- + src/gwaei/help/Makefile.am | 5 +++-- + 3 files changed, 4 insertions(+), 6 deletions(-) + +--- gwaei.git.orig/configure.ac ++++ gwaei.git/configure.ac +@@ -73,8 +73,6 @@ AM_CONDITIONAL([WITH_MECAB], [test x$mec + + AC_CHECK_LIB(m, sqrt) + +-GNOME_DOC_INIT(,,[:]) +- + PKG_CHECK_MODULES(LIBWAEI, glib-2.0 >= $GLIB_REQUIRED_VERSION + gobject-2.0 >= $GLIB_REQUIRED_VERSION + gio-2.0 >= $GIO_REQUIRED_VERSION +@@ -103,7 +101,7 @@ if test x$gnome = xtrue; then + libcurl >= $LIBCURL_REQUIRED_VERSION ) + AC_SUBST(GWAEI_CFLAGS) + AC_SUBST(GWAEI_LIBS) +- GNOME_DOC_INIT ++ YELP_HELP_INIT + fi + + if test x$hunspell = xtrue; then +--- gwaei.git.orig/src/gwaei/help/Makefile.am ++++ gwaei.git/src/gwaei/help/Makefile.am +@@ -2,10 +2,12 @@ PACKAGE = @PACKAGE@ + VERSION = @VERSION@ + datadir = @datadir@ + +-include $(top_srcdir)/gnome-doc-utils.make ++@YELP_HELP_RULES@ + dist-hook: doc-dist-hook +-DOC_MODULE = gwaei ++HELP_MODULE = gwaei ++HELP_ID = gwaei + ++HELP_FILES=glossary.xml gwaei.xml + cglossarydir = $(datadir)/gnome/help/$(PACKAGE)/C + cglossary_DATA = C/glossary.xml + EXTRA_DIST = C/glossary.xml +--- gwaei.git.orig/autogen.sh ++++ gwaei.git/autogen.sh +@@ -6,7 +6,6 @@ touch ChangeLog + libtoolize --force + glib-gettextize --copy --force + intltoolize --copy --force --automake +-gnome-doc-prepare --copy --force + aclocal -I m4 --force + autoheader -f + automake --copy --force --add-missing diff --git a/app-dicts/gwaei/gwaei-3.6.2.ebuild b/app-dicts/gwaei/gwaei-3.6.2-r1.ebuild index a260fad3a22c..0939ac61c424 100644 --- a/app-dicts/gwaei/gwaei-3.6.2.ebuild +++ b/app-dicts/gwaei/gwaei-3.6.2-r1.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit gnome2-utils +inherit autotools gnome2-utils xdg DESCRIPTION="Japanese-English Dictionary for GNOME" -HOMEPAGE="http://gwaei.sourceforge.net/" -SRC_URI="mirror://sourceforge/gwaei/${P}.tar.xz" +HOMEPAGE="https://github.com/zakkudo/gwaei" +SRC_URI="https://downloads.sourceforge.net/gwaei/${P}.tar.xz" LICENSE="GPL-3" SLOT="0" @@ -20,7 +20,7 @@ RDEPEND=" >=dev-libs/glib-2.31 gtk? ( x11-libs/gtk+:3 - >=app-text/gnome-doc-utils-0.14.0 + app-text/yelp-tools ) hunspell? ( app-text/hunspell ) nls? ( virtual/libintl ) @@ -28,7 +28,7 @@ RDEPEND=" DEPEND="${RDEPEND} gtk? ( x11-themes/gnome-icon-theme-symbolic - >=app-text/gnome-doc-utils-0.14.0 + app-text/yelp-tools )" BDEPEND=" app-text/rarian @@ -40,6 +40,16 @@ BDEPEND=" app-text/scrollkeeper-dtd )" +PATCHES=( + # Migrate away from gnome-doc-utils (from Debian) + "${FILESDIR}/${P}-yelp.patch" +) + +src_prepare() { + default + eautoreconf +} + src_configure() { econf \ --disable-static \ @@ -51,19 +61,26 @@ src_configure() { src_install() { default - - # no static archives find "${ED}" -name '*.la' -delete || die } pkg_preinst() { - use gtk && gnome2_schemas_savelist + if use gtk; then + gnome2_schemas_savelist + xdg_pkg_preinst + fi } pkg_postinst() { - use gtk && gnome2_schemas_update + if use gtk; then + gnome2_schemas_update + xdg_pkg_postinst + fi } pkg_postrm() { - use gtk && gnome2_schemas_update + if use gtk; then + gnome2_schemas_update + xdg_pkg_postrm + fi } diff --git a/app-dicts/mecab-ipadic/mecab-ipadic-2.7.0.20070801-r1.ebuild b/app-dicts/mecab-ipadic/mecab-ipadic-2.7.0.20070801-r1.ebuild index e87ac5f413a9..f38e31ffc78e 100644 --- a/app-dicts/mecab-ipadic/mecab-ipadic-2.7.0.20070801-r1.ebuild +++ b/app-dicts/mecab-ipadic/mecab-ipadic-2.7.0.20070801-r1.ebuild @@ -7,7 +7,7 @@ MY_P="${PN}-${PV%.*}-${PV/*.}" DESCRIPTION="IPA dictionary for MeCab" HOMEPAGE="https://taku910.github.io/mecab/" -SRC_URI="mirror://sourceforge/${PN%-*}/${MY_P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN%-*}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" LICENSE="ipadic" diff --git a/app-dicts/migemo-dict/Manifest b/app-dicts/migemo-dict/Manifest index 925756c7debb..3f444e501887 100644 --- a/app-dicts/migemo-dict/Manifest +++ b/app-dicts/migemo-dict/Manifest @@ -1 +1 @@ -DIST migemo-dict-200812.tar.bz2 1467494 BLAKE2B 25f4da49e0e1970df9f43a26f72f1ae85c89ee0d3b708e7f7ea46a2b3b133c59a3990a44e6e578335d3c836027543fc695334573613674ad4e100c06da3eac0b SHA512 cc42d62247c5ff0c3a4ff30a7c135173f94c4f49685df997b305486502b86144428dc104a77361d5ceff91683b0b663d0c68174300d628f70f6999cf7667f3c0 +DIST migemo-dict-202402.tar.xz 1202732 BLAKE2B aea31efc4b4967ba52fbfe85a691b1deb7eef70f2c9d5a1dcb6942d10507ef140045af9232055ab9ae6bbd2936bc5f077ef1564237316e3f0a98b2e0e3100aef SHA512 622b237eb1bdb3abcc18cc104cba3bed56eefbd2a92f47ed316757ce3d9016a435c9b3181030b392a42ff4ef59582cbee3879570ad6312907699e50f297ff5dc diff --git a/app-dicts/migemo-dict/metadata.xml b/app-dicts/migemo-dict/metadata.xml index a94766977fa6..a34fdeebcd32 100644 --- a/app-dicts/migemo-dict/metadata.xml +++ b/app-dicts/migemo-dict/metadata.xml @@ -5,4 +5,5 @@ <email>cjk@gentoo.org</email> <name>Cjk</name> </maintainer> + <stabilize-allarches/> </pkgmetadata> diff --git a/app-dicts/migemo-dict/migemo-dict-200812.ebuild b/app-dicts/migemo-dict/migemo-dict-202402.ebuild index 7410ee71985f..2785b6de8f7d 100644 --- a/app-dicts/migemo-dict/migemo-dict-200812.ebuild +++ b/app-dicts/migemo-dict/migemo-dict-202402.ebuild @@ -1,26 +1,27 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI="8" DESCRIPTION="Dictionary files for the Migemo and C/Migemo" -HOMEPAGE="http://openlab.ring.gr.jp/skk/dic.html" -SRC_URI="mirror://gentoo/${P}.tar.bz2" +HOMEPAGE="https://skk-dev.github.io/dict/" +SRC_URI="mirror://gentoo/${P}.tar.xz + https://dev.gentoo.org/~hattya/distfiles/${P}.tar.xz" -LICENSE="GPL-2" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +LICENSE="GPL-2+" SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="unicode" src_configure() { if use unicode; then - iconv -f euc-jp -t utf-8 migemo-dict > "${T}"/migemo-dict || die + iconv -f euc-jp -t utf-8 ${PN} >"${T}"/${PN} || die else - cp migemo-dict "${T}"/ || die + cp ${PN} "${T}"/ || die fi } src_install() { - insinto /usr/share/migemo - doins "${T}"/migemo-dict + insinto /usr/share/${PN%-*} + doins "${T}"/${PN} } diff --git a/app-dicts/myspell-af/myspell-af-20080701.ebuild b/app-dicts/myspell-af/myspell-af-20080701.ebuild index fc30edb1c6f4..c6eea751ba11 100644 --- a/app-dicts/myspell-af/myspell-af-20080701.ebuild +++ b/app-dicts/myspell-af/myspell-af-20080701.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ inherit myspell-r2 DESCRIPTION="Afrikaans dictionaries for myspell/hunspell" HOMEPAGE="https://extensions.openoffice.org/project/dict_af" -SRC_URI="mirror://sourceforge/aoo-extensions/1109/0/dict-af.oxt" +SRC_URI="https://downloads.sourceforge.net/aoo-extensions/1109/0/dict-af.oxt" LICENSE="LGPL-3" SLOT="0" diff --git a/app-dicts/myspell-bg/myspell-bg-4.3.ebuild b/app-dicts/myspell-bg/myspell-bg-4.3.ebuild index 050cf4a1386a..0861a1547d4a 100644 --- a/app-dicts/myspell-bg/myspell-bg-4.3.ebuild +++ b/app-dicts/myspell-bg/myspell-bg-4.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -23,7 +23,7 @@ inherit myspell-r2 DESCRIPTION="Bulgarian dictionaries for myspell/hunspell" HOMEPAGE="http://bgoffice.sourceforge.net/" -SRC_URI="mirror://sourceforge/bgoffice/${MY_P}.zip" +SRC_URI="https://downloads.sourceforge.net/bgoffice/${MY_P}.zip" LICENSE="GPL-2 LGPL-2.1 MPL-1.1" SLOT="0" diff --git a/app-dicts/myspell-cy/myspell-cy-20130708.ebuild b/app-dicts/myspell-cy/myspell-cy-20130708.ebuild index b18358748972..6742ea55218b 100644 --- a/app-dicts/myspell-cy/myspell-cy-20130708.ebuild +++ b/app-dicts/myspell-cy/myspell-cy-20130708.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ inherit myspell-r2 DESCRIPTION="Welsh dictionaries for myspell/hunspell" HOMEPAGE="https://extensions.openoffice.org/en/project/gwirydd-sillafu-cymraeg-welsh-language-spell-checker" -SRC_URI="mirror://sourceforge/aoo-extensions/geiriadur-cy.oxt -> ${P}.oxt" +SRC_URI="https://downloads.sourceforge.net/aoo-extensions/geiriadur-cy.oxt -> ${P}.oxt" LICENSE="GPL-2 LGPL-2.1" SLOT="0" diff --git a/app-dicts/myspell-en/Manifest b/app-dicts/myspell-en/Manifest index 0035ab76c222..b513fa6b4acc 100644 --- a/app-dicts/myspell-en/Manifest +++ b/app-dicts/myspell-en/Manifest @@ -1,4 +1,3 @@ -DIST dict-en-20230701_lo.oxt 6102145 BLAKE2B ecf95d76415317fb3dbe4c8e2d30fa37f9d798ae979d83d7e3eaab566264a7db12ed3133e8ed5d1580225171143056edd5189b1685064dab201fadbf59466b7e SHA512 3e495fb7c130d2767d88c4ff21f556c4c64f3739d7b1974355f252329fa526b8ac647a6121f1341396ec9170dda96346463a51b2df06d15e1dcccec4f800593e -DIST dict-en-20230901_lo.oxt 6102109 BLAKE2B d90bb0614217103ad0d4fb4bd411028925311c372047cd88d3075d8480ca1f7d10fa73b3099eea01e06edf22cd85e4cb7aee0e92da89e3e4887a2433ab10bbcb SHA512 76afc82b6d32e1204d36f1fdd602fd4a073b096f49676faab8edd1ab3322f305a4549d07c9e6740463ac4130948dc008181d741d6ebc110bdb87ff1465f03ba2 -DIST dict-en-20240101_lo.oxt 6105115 BLAKE2B 8d81a60fe73adc4b12b0023915aa131eeaf6bbd33f816b05dcb5d0ad40c7806f35c724be1b380904ed62c50c2f3c71925981fdc7bd653f155d7da11383e2ed1e SHA512 cbb6dec8486df96678e0c6c75297645af2455a41194c5232e71ac7a0edcbf2b15115985958529427c57b82a41ca853af86fa4baffbdc8ea50d23f9f48c868940 DIST dict-en-20240201_lo.oxt 6105836 BLAKE2B 2978b36dfea07570b8be255c021e8f6cf9113f3ea342db0cc25d52e58a406f75015fdc5961556594756fde30293c21bcbf17c00b49e962e5a4f558be3f17b42c SHA512 92098925935ec23a3058db4a136e37f6dc3c24f0901de45bfd84e19efb5c3b207bb06e902368fd00c0851003b2e385719d850b3cced15e3d4a2b2d5143b5eafc +DIST dict-en-20240501_lo.oxt 6107426 BLAKE2B 811ca6f8a82f348c391b8b4df832446a8d248ec9b6ec85a9c1320f7329679e4fa6d3d507d18d3d792d878fc6f369b70135fa25a75c86b858333e370816db5761 SHA512 3d4ae13c4d68a62970742bb7e8568bebf03cbfaa04051b2152197f2d2a9fb539642a6ff6032123716c31e5f340bd2bad428983f79a7d8c6679e9da48f272e65c +DIST dict-en-20240601_lo.oxt 6109035 BLAKE2B a90f4f2dad3a0b694aadeddf0a028138cb06f6e9f244279a43741b87260bacefd83148997f99ddca83343a301dc92a84253174e16595c11796a20dda3a372237 SHA512 688ad1a14f6a3eadbcaa7cc9e08ce6fe4bf5d6867fa92df6eb9fc91d06645936ad1844e1fa954e6c9d20aabfa8cb323a99ff9383f70c55b1afcf6685d5970b5e diff --git a/app-dicts/myspell-en/myspell-en-20230701.ebuild b/app-dicts/myspell-en/myspell-en-20230701.ebuild deleted file mode 100644 index 30efc923e94e..000000000000 --- a/app-dicts/myspell-en/myspell-en-20230701.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit myspell-r2 - -DESCRIPTION="English dictionaries for myspell/hunspell" -HOMEPAGE=" - https://extensions.libreoffice.org/extensions/english-dictionaries - https://proofingtoolgui.org - https://github.com/marcoagpinto/aoo-mozilla-en-dict -" -SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1688193331/dict-en-20230701_lo.oxt" - -LICENSE="BSD MIT LGPL-3+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -PLOCALES=( "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" ) -IUSE+="+l10n_en ${PLOCALES[@]/#/l10n_}" -REQUIRED_USE="|| ( l10n_en ${PLOCALES[@]/#/l10n_} )" - -src_prepare() { - if use l10n_en-GB || use l10n_en; then - MYSPELL_HYPH+=( "hyph_en_GB.dic" ) - fi - if use l10n_en-US || use l10n_en; then - MYSPELL_THES+=( - "th_en_US_v2.dat" - "th_en_US_v2.idx" - ) - MYSPELL_HYPH+=( "hyph_en_US.dic" ) - fi - - MYSPELL_DICT=( ) - for lang in "${PLOCALES[@]}"; do - if [[ "${lang}" == "en" ]]; then - continue - fi - local mylinguas="${lang//-/_}" - if use "l10n_${lang}" || use l10n_en; then - MYSPELL_DICT+=( "${mylinguas}.aff" "${mylinguas}.dic" ) - else - rm "README_${mylinguas}.txt" || die - if [[ ${lang} == "en-US" ]]; then - rm "README_hyph_en_US.txt" || die - fi - if [[ ${lang} == "en-GB" ]]; then - rm "README_hyph_en_GB.txt" || die - rm "README_en_GB_thes.txt" || die - fi - fi - done - - default -} diff --git a/app-dicts/myspell-en/myspell-en-20230901.ebuild b/app-dicts/myspell-en/myspell-en-20230901.ebuild deleted file mode 100644 index 4a2935c26f50..000000000000 --- a/app-dicts/myspell-en/myspell-en-20230901.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit myspell-r2 - -DESCRIPTION="English dictionaries for myspell/hunspell" -HOMEPAGE=" - https://extensions.libreoffice.org/extensions/english-dictionaries - https://proofingtoolgui.org - https://github.com/marcoagpinto/aoo-mozilla-en-dict -" -SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1693549382/dict-en-20230901_lo.oxt" - -LICENSE="BSD MIT LGPL-3+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -PLOCALES=( "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" ) -IUSE+="+l10n_en ${PLOCALES[@]/#/l10n_}" -REQUIRED_USE="|| ( l10n_en ${PLOCALES[@]/#/l10n_} )" - -src_prepare() { - if use l10n_en-GB || use l10n_en; then - MYSPELL_HYPH+=( "hyph_en_GB.dic" ) - fi - if use l10n_en-US || use l10n_en; then - MYSPELL_THES+=( - "th_en_US_v2.dat" - "th_en_US_v2.idx" - ) - MYSPELL_HYPH+=( "hyph_en_US.dic" ) - fi - - MYSPELL_DICT=( ) - for lang in "${PLOCALES[@]}"; do - if [[ "${lang}" == "en" ]]; then - continue - fi - local mylinguas="${lang//-/_}" - if use "l10n_${lang}" || use l10n_en; then - MYSPELL_DICT+=( "${mylinguas}.aff" "${mylinguas}.dic" ) - else - rm "README_${mylinguas}.txt" || die - if [[ ${lang} == "en-US" ]]; then - rm "README_hyph_en_US.txt" || die - fi - if [[ ${lang} == "en-GB" ]]; then - rm "README_hyph_en_GB.txt" || die - rm "README_en_GB_thes.txt" || die - fi - fi - done - - default -} diff --git a/app-dicts/myspell-en/myspell-en-20240101.ebuild b/app-dicts/myspell-en/myspell-en-20240501.ebuild index e1be4d0fc2a1..a09614bf817d 100644 --- a/app-dicts/myspell-en/myspell-en-20240101.ebuild +++ b/app-dicts/myspell-en/myspell-en-20240501.ebuild @@ -11,7 +11,7 @@ HOMEPAGE=" https://proofingtoolgui.org https://github.com/marcoagpinto/aoo-mozilla-en-dict " -SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1704094893/dict-en-20240101_lo.oxt" +SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1714540032/dict-en-20240501_lo.oxt" LICENSE="BSD MIT LGPL-3+" SLOT="0" diff --git a/app-dicts/myspell-en/myspell-en-20240601.ebuild b/app-dicts/myspell-en/myspell-en-20240601.ebuild new file mode 100644 index 000000000000..e2ef61695d09 --- /dev/null +++ b/app-dicts/myspell-en/myspell-en-20240601.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit myspell-r2 + +DESCRIPTION="English dictionaries for myspell/hunspell" +HOMEPAGE=" + https://extensions.libreoffice.org/extensions/english-dictionaries + https://github.com/marcoagpinto/aoo-mozilla-en-dict + https://proofingtoolgui.org +" +SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1717313617/dict-en-${PV}_lo.oxt" + +LICENSE="BSD MIT LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +PLOCALES=( "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" ) +IUSE="${PLOCALES[*]/#/+l10n_}" +REQUIRED_USE="|| ( ${PLOCALES[*]/#/l10n_} )" + +src_prepare() { + # This thesaurus is used by all the English dictionaries, see + # ./dictionaries.xcu in the distfile, lines 71-81. + MYSPELL_THES=( + "th_en_US_v2.dat" + "th_en_US_v2.idx" + ) + + local non_us_dic_used=0 + local mylinguas + for lang in "${PLOCALES[@]}"; do + mylinguas="${lang/-/_}" + if use "l10n_${lang}"; then + MYSPELL_DICT+=( "${mylinguas}.aff" "${mylinguas}.dic" ) + if [[ ${lang} == en-US ]]; then + MYSPELL_HYPH=( "hyph_en_US.dic" ) + else + non_us_dic_used=1 + fi + else + rm "README_${mylinguas}.txt" || die + if [[ ${lang} == "en-US" ]]; then + rm "README_hyph_en_US.txt" || die + elif [[ ${lang} == "en-GB" ]]; then + rm "README_en_GB_thes.txt" || die + fi + fi + done + + if [[ non_us_dic_used -eq 1 ]]; then + # This is used by every English variety, except for the en-US, see + # ./dictionaries.xcu, lines 60-70. + MYSPELL_HYPH+=( "hyph_en_GB.dic" ) + else + rm "README_hyph_en_GB.txt" || die + fi + + default +} diff --git a/app-dicts/myspell-hr/myspell-hr-20080813.ebuild b/app-dicts/myspell-hr/myspell-hr-20080813.ebuild index 0da88df10e93..699955fc5217 100644 --- a/app-dicts/myspell-hr/myspell-hr-20080813.ebuild +++ b/app-dicts/myspell-hr/myspell-hr-20080813.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -17,7 +17,7 @@ inherit myspell-r2 DESCRIPTION="Croatian dictionaries for myspell/hunspell" LICENSE="LGPL-2.1" HOMEPAGE="https://extensions.openoffice.org/en/project/croatian-dictionary-and-hyphenation-patterns" -SRC_URI="mirror://sourceforge/aoo-extensions/dict-hr.oxt -> ${P}.oxt" +SRC_URI="https://downloads.sourceforge.net/aoo-extensions/dict-hr.oxt -> ${P}.oxt" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" diff --git a/app-dicts/myspell-ia/myspell-ia-20140518.ebuild b/app-dicts/myspell-ia/myspell-ia-20140518.ebuild index 715eea2e580f..3ba856b1ba09 100644 --- a/app-dicts/myspell-ia/myspell-ia-20140518.ebuild +++ b/app-dicts/myspell-ia/myspell-ia-20140518.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,7 +19,7 @@ inherit myspell-r2 DESCRIPTION="Interlingua dictionaries for myspell/hunspell" LICENSE="GPL-3" HOMEPAGE="https://extensions.openoffice.org/en/project/interlingua-dictionario-orthographic-e-regulas-de-division-de-parolas" -SRC_URI="mirror://sourceforge/aoo-extensions/dict-ia-${MY_PV}.oxt -> ${P}.oxt" +SRC_URI="https://downloads.sourceforge.net/aoo-extensions/dict-ia-${MY_PV}.oxt -> ${P}.oxt" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" diff --git a/app-dicts/myspell-ku/myspell-ku-0.21.ebuild b/app-dicts/myspell-ku/myspell-ku-0.21.ebuild index 5d561e71086a..9abd1dfcb3b8 100644 --- a/app-dicts/myspell-ku/myspell-ku-0.21.ebuild +++ b/app-dicts/myspell-ku/myspell-ku-0.21.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,7 @@ inherit myspell-r2 DESCRIPTION="Kurdish dictionaries for myspell/hunspell" HOMEPAGE="https://code.google.com/p/hunspell-ku/" -SRC_URI="mirror://sourceforge/myspellkurdish/ku_TR-${PV/./}.zip" +SRC_URI="https://downloads.sourceforge.net/myspellkurdish/ku_TR-${PV/./}.zip" LICENSE="GPL-3 LGPL-3 MPL-1.1" SLOT="0" diff --git a/app-dicts/myspell-mk/myspell-mk-20091211.ebuild b/app-dicts/myspell-mk/myspell-mk-20091211.ebuild index 5ad412dd72f1..c3b97c262313 100644 --- a/app-dicts/myspell-mk/myspell-mk-20091211.ebuild +++ b/app-dicts/myspell-mk/myspell-mk-20091211.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,7 +19,7 @@ inherit myspell-r2 DESCRIPTION="Macedonian dictionaries for myspell/hunspell" LICENSE="GPL-2" HOMEPAGE="https://extensions.openoffice.org/en/project/macedonian-spellchecker-dictionary" -SRC_URI="mirror://sourceforge/aoo-extensions/dict-mk.oxt -> ${P}.oxt" +SRC_URI="https://downloads.sourceforge.net/aoo-extensions/dict-mk.oxt -> ${P}.oxt" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" diff --git a/app-dicts/myspell-ms/myspell-ms-20100407.ebuild b/app-dicts/myspell-ms/myspell-ms-20100407.ebuild index 097c3550c4cf..20b0d06b7721 100644 --- a/app-dicts/myspell-ms/myspell-ms-20100407.ebuild +++ b/app-dicts/myspell-ms/myspell-ms-20100407.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ inherit myspell-r2 DESCRIPTION="Malay dictionaries for myspell/hunspell" LICENSE="FDL-1.2" HOMEPAGE="https://extensions.openoffice.org/en/project/kamus-bahasa-malaysia-malay-dictionary" -SRC_URI="mirror://sourceforge/aoo-extensions/ms_my.oxt -> ${P}.oxt" +SRC_URI="https://downloads.sourceforge.net/aoo-extensions/ms_my.oxt -> ${P}.oxt" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" diff --git a/app-dicts/myspell-ro/myspell-ro-3.3.10.ebuild b/app-dicts/myspell-ro/myspell-ro-3.3.10.ebuild index 8fda4f3882f5..a1fb0e790e45 100644 --- a/app-dicts/myspell-ro/myspell-ro-3.3.10.ebuild +++ b/app-dicts/myspell-ro/myspell-ro-3.3.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -22,9 +22,9 @@ inherit myspell-r2 DESCRIPTION="Romanian dictionaries for myspell/hunspell" HOMEPAGE="https://rospell.wordpress.com" SRC_URI=" - mirror://sourceforge/rospell/ro_RO.${PV}.zip - mirror://sourceforge/rospell/hyph_ro_RO.${PV}.zip - mirror://sourceforge/rospell/th_ro_RO.3.3.zip + https://downloads.sourceforge.net/rospell/ro_RO.${PV}.zip + https://downloads.sourceforge.net/rospell/hyph_ro_RO.${PV}.zip + https://downloads.sourceforge.net/rospell/th_ro_RO.3.3.zip " LICENSE="GPL-2 LGPL-2.1 MPL-1.1" diff --git a/app-dicts/myspell-uk/Manifest b/app-dicts/myspell-uk/Manifest index 7474b82882bc..7ad622c01003 100644 --- a/app-dicts/myspell-uk/Manifest +++ b/app-dicts/myspell-uk/Manifest @@ -1 +1,2 @@ DIST dict-uk_UA-6.3.1.oxt 1829530 BLAKE2B effd7477006d05f2eb7f09bc7548150d97b1457430bf3159df191981089dbbc6955ce205b4ea1455c58d84b3b8da57dd63bf5d4c0a30e38d36d6c644bc93c27f SHA512 cc8a6725fc184662b56fd9a766a6763bd8b34d86d88eeed063241a6339aabffdca524845abc6133602de61df37fa80259de6e9bc8a98b39689c2d407889458d8 +DIST dict-uk_UA-6.4.4.oxt 1835796 BLAKE2B c50b977c59e675c6e99548ba2de8cb6c94f34238d45e1fb872059898a22dc2a03bd8b19a5b880e37fcdc9cb6950a363df34afdb8b5236580ab178b9031f2acba SHA512 24225e6668a0cb12c35f3bd6ff9a3da4a23c4f527721d3ef3e9a61e4046a2b50a857060ddb8c6a6fdb75407a33f53e069cb8e47fdd58efd9d76b5485d40381d7 diff --git a/app-dicts/myspell-uk/myspell-uk-6.4.4.ebuild b/app-dicts/myspell-uk/myspell-uk-6.4.4.ebuild new file mode 100644 index 000000000000..3a45fe23889f --- /dev/null +++ b/app-dicts/myspell-uk/myspell-uk-6.4.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MYSPELL_DICT=( + "uk_UA.aff" + "uk_UA.dic" +) + +MYSPELL_HYPH=( + "hyph_uk_UA.dic" +) + +MYSPELL_THES=( + "th_uk_UA.dat" + "th_uk_UA.idx" +) + +inherit myspell-r2 + +DESCRIPTION="Ukrainian dictionaries for myspell/hunspell" +HOMEPAGE="https://extensions.libreoffice.org/extension-center/ukrainian-spelling-dictionary-and-thesaurus" +SRC_URI="https://extensions.libreoffice.org/assets/downloads/521/1711493602/dict-uk_UA-6.4.4.oxt" + +LICENSE="GPL-3 LGPL-2.1 MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" diff --git a/app-dicts/myspell-zu/myspell-zu-20100126.ebuild b/app-dicts/myspell-zu/myspell-zu-20100126.ebuild index ee97ec6e7933..5aea56b18ead 100644 --- a/app-dicts/myspell-zu/myspell-zu-20100126.ebuild +++ b/app-dicts/myspell-zu/myspell-zu-20100126.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ inherit myspell-r2 DESCRIPTION="Zulu dictionaries for myspell/hunspell" LICENSE="LGPL-2.1" HOMEPAGE="https://extensions.openoffice.org/en/project/zulu-spell-checker" -SRC_URI="mirror://sourceforge/aoo-extensions/dict-zu_za-${MY_PV}.oxt -> ${P}.oxt" +SRC_URI="https://downloads.sourceforge.net/aoo-extensions/dict-zu_za-${MY_PV}.oxt -> ${P}.oxt" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" diff --git a/app-dicts/verbiste/Manifest b/app-dicts/verbiste/Manifest index f8304dddee8e..ccc70cba7a55 100644 --- a/app-dicts/verbiste/Manifest +++ b/app-dicts/verbiste/Manifest @@ -1 +1,2 @@ DIST verbiste-0.1.47.tar.gz 781085 BLAKE2B 39f92bffc2165b49a2cd66ced4337aa4eb4253a1d767f0c26cea0bc10e965a5547158ab0de796b76016fd46bd220b305a14c9be42b76f5a25f0fde85e4ff1b97 SHA512 cc06d3e4a09b9edf2fe3996f527ae05fa50af909cc5ea6ed830d1b4f5706cf9b29028160cff842a211148e13d736f7e2cb74f10b3c5fd84d93a1038e05a26cbf +DIST verbiste-0.1.48.tar.gz 807115 BLAKE2B 666df78baf30ae4fba19e86dc2b812ea6ea6711829d46e6c1e5474f3b500576c992a3338abdbe6c347d154d1f37b696ef59e1e60a8ab79c2ef5b9584d026ac2a SHA512 4d0ac1a1116b51196b1ba72cceed507c56551ed97d2de07dfbf1f6eb48769a7c3c1ee676aa3a2d3f9e3cb512df3808d9bb1da9c7166a820cc3379ff06f4f14f2 diff --git a/app-dicts/verbiste/verbiste-0.1.48.ebuild b/app-dicts/verbiste/verbiste-0.1.48.ebuild new file mode 100644 index 000000000000..d8d3ec98d114 --- /dev/null +++ b/app-dicts/verbiste/verbiste-0.1.48.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg-utils + +DESCRIPTION="French conjugation system" +HOMEPAGE="http://sarrazip.com/dev/verbiste.html" +SRC_URI="http://sarrazip.com/dev/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~riscv ~x86" +IUSE="gtk test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/libxml2-2.4.0:2 + gtk? ( >=x11-libs/gtk+-2.6:2 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-lang/perl + dev-perl/XML-Parser + sys-devel/gettext + virtual/pkgconfig +" + +src_configure() { + local myeconfargs=( + --with-console-app + --without-gnome-app + --without-gnome-applet + $(use_with gtk gtk-app) + ) + econf "${myeconfargs[@]}" +} + +src_test() { + emake VERBOSE=1 check +} + +src_install() { + default + + dodoc HACKING LISEZMOI + # file is only installed with USE=gnome + if use gtk; then + sed -e 's/Exec=.*/Exec=verbiste-gtk/' \ + -i src/gnome/verbiste.desktop || die + domenu src/gnome/verbiste.desktop + fi + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + if use gtk; then + xdg_desktop_database_update + xdg_icon_cache_update + fi +} + +pkg_postrm() { + if use gtk; then + xdg_desktop_database_update + xdg_icon_cache_update + fi +} diff --git a/app-dicts/ydpdict/Manifest b/app-dicts/ydpdict/Manifest index d66c4d77547d..97310111c500 100644 --- a/app-dicts/ydpdict/Manifest +++ b/app-dicts/ydpdict/Manifest @@ -1 +1,2 @@ DIST ydpdict-1.0.3.tar.gz 185721 BLAKE2B 1db80dc20dd6d71c4b7fed2051bbfae1021fd1ea15ca1f993e8e095912fbcc8d599d8f480143d185fd11c6a1414d7f29ae67a9f5cffda624b434d198cddc5c68 SHA512 ca50c485f10aa4c4691a27a474a5ae814be3bb183b4927728f14de67af1e11a281e5272fc5777d6573e69dd00d3da2223b78d729132764338c92489f20eb17e8 +DIST ydpdict-1.0.5.tar.gz 191401 BLAKE2B 5b57e16d36fe744e435924546c55bb5d0e130a1e76ec743cb871ccf71bb53d5999a8ba5eb3cca0db8ae6d4f3680642d2d243f067a4bef653d375ccf9e203f460 SHA512 12fcee0612560ebea3942ce31ef6b4927bd033cd45e9dd6e677a8aefcf3a81feb267ad77953e3ed1a904428586e41df8dd8c732cdbe1e9a3220cc46c153030c1 diff --git a/app-dicts/ydpdict/ydpdict-1.0.5.ebuild b/app-dicts/ydpdict/ydpdict-1.0.5.ebuild new file mode 100644 index 000000000000..c29a3178c033 --- /dev/null +++ b/app-dicts/ydpdict/ydpdict-1.0.5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Interface for the Collins Dictionary" +HOMEPAGE="https://github.com/wojtekka/ydpdict" +SRC_URI="https://github.com/wojtekka/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="ao" + +RDEPEND=" + app-dicts/libydpdict + sys-libs/ncurses:=[unicode(+)] + ao? ( media-libs/libao ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.3-tinfo.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_with ao libao) +} + +src_install() { + dodir "/etc" + default +} + +pkg_postinst() { + echo + elog "Note that to use this program you'll need the original Collins Dictionary" + elog "datafiles (dict100.*, dict101.*). These can be found in the Dabasase/" + elog "directory of the Windows version of the Collins dictionary. Once you obtain" + elog "the files, put them into /usr/share/ydpdict" + elog + elog "Some configuration options can be set in /etc/ydpdict.conf" + echo +} |