From 325837835fc86686829aaa6acace3d3c06c74cea Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 8 Oct 2024 04:26:34 +0100 Subject: gentoo auto-resync : 08:10:2024 - 04:26:34 --- app-i18n/uim/Manifest | 2 +- app-i18n/uim/uim-1.8.9-r1.ebuild | 246 --------------------------------------- app-i18n/uim/uim-1.8.9-r2.ebuild | 244 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 245 insertions(+), 247 deletions(-) delete mode 100644 app-i18n/uim/uim-1.8.9-r1.ebuild create mode 100644 app-i18n/uim/uim-1.8.9-r2.ebuild (limited to 'app-i18n/uim') diff --git a/app-i18n/uim/Manifest b/app-i18n/uim/Manifest index beecfd5eaed7..84b0c652d6ad 100644 --- a/app-i18n/uim/Manifest +++ b/app-i18n/uim/Manifest @@ -9,5 +9,5 @@ AUX uim-xkb.patch 400 BLAKE2B 54992f9ef87e4ede3e2beaadf4bd55c018b0aec3eb645b7716 AUX uim-zh-TW.patch 369 BLAKE2B a0d536721c67e3acbdc8d9efd060408eb23f0ae3b6eb06cf54ce1fdaf214a7b6e0aef615ad8d27471fa349c94cccefeb97a8f60fcfe0e920ac6ca7451cf325dc SHA512 3dc2a7a5af1562f4972044feccdd3723f5264a6fe22d0bc8a742b8d358f8103b4fe9d2e767e0220fa93eaeb2ff675f162bca4d863f182dbcdf47ea1f8400b652 AUX xinput-uim 108 BLAKE2B f66525e52af923170224ca9953e82489d7f6f92c3e83d96452663ebd538723d1dbaaaa4233bf2bebe1ad6f783fffd4e3e4e82bba5f6fd92d0ef88e3cbaaff6eb SHA512 b3ba31a87e19f589ac8051ece45b6b6c44b295dde76a5ce6164d1e435d791c4e7cafc7192177384f4052fd928caabb8574a9192cf783f4cb22e4ee16741343fc DIST uim-1.8.9.tar.bz2 6233465 BLAKE2B 5fc57ffd43557cc685ca766d13e871a7b3ad3829fe3b3fcaa3ab76cba15350e82747952bcc77eda0093df0681ad5d3580cb30c96e2a707f0f3e2687a5bf96e19 SHA512 342bda32f27b9875bf1458adbfb3d3cdd92d98daf8068647e3cb01f9757fda6befbb44a7b9ba2b25b03e14b1de68c7e2d6b57362e84d6aae8bcff3959aaa12df -EBUILD uim-1.8.9-r1.ebuild 5900 BLAKE2B 3cec0d3686cecc9a22ec523ad2129537648dc4cc2607490fc11e1610f0465c84f243345611d50877c3a7537b023cb6d2ef6d464e891e302daa38852b908a52b2 SHA512 d5209092888b3df093747eaa8574ac2eca6ca157450cb5d062effd43aaca2044e98beac44f7e0699ec5fe1613ca7d474a6582704bdaa680cb160d50e6b2d02ab +EBUILD uim-1.8.9-r2.ebuild 5829 BLAKE2B 2594f87bb63a38696fc0c0e57588fb170595b0d20f51b43cebce1438b21cdbf7aa8e834033b0de2156c0d8722ab3c7993b35dc3f352382399395a611e864539d SHA512 1fcb7ad2e793d4569934710add46a42b75e0afd5b7ec82beb20681e10f28385e0b40fc35b8ea4c893785656d589ea14325711b9d06d225699f3a56d931186b6a MISC metadata.xml 1059 BLAKE2B 7ddf7ebb4c6fa262fb369edabe5bc106023d8b4960ea067fab673c6ca9a489190e591e92e4c14df617318e5feb08d3c064fbdaa5f1ea66a6ebf983a8154a3828 SHA512 c412582600c38a9c171e3e45cf2bfbac0ac3682d5ab1f367ef3e988a4702e8d36cba58ea4f9c34b28493150f34c863c6071b8c02eb3b68bfe5f3b8f98a195c79 diff --git a/app-i18n/uim/uim-1.8.9-r1.ebuild b/app-i18n/uim/uim-1.8.9-r1.ebuild deleted file mode 100644 index ff48ee2259e3..000000000000 --- a/app-i18n/uim/uim-1.8.9-r1.ebuild +++ /dev/null @@ -1,246 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -inherit autotools elisp-common flag-o-matic gnome2-utils qmake-utils - -EGIT_COMMIT="d1ac9d9315ff8c57c713b502544fef9b3a83b3e5" - -DESCRIPTION="A multilingual input method framework" -HOMEPAGE="https://github.com/uim/uim" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.bz2" - -LICENSE="BSD GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ppc ppc64 ~riscv x86" -IUSE="X +anthy curl eb emacs expat libffi gtk gtk2 kde l10n_ja l10n_ko l10n_zh-CN l10n_zh-TW libedit libnotify m17n-lib ncurses nls qt5 skk sqlite ssl static-libs xft" -RESTRICT="test" -REQUIRED_USE="gtk? ( X ) - gtk2? ( X ) - qt5? ( X ) - xft? ( X )" - -CDEPEND="X? ( - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXft - x11-libs/libXrender - x11-libs/libXt - ) - anthy? ( app-i18n/anthy ) - curl? ( net-misc/curl ) - eb? ( dev-libs/eb ) - emacs? ( >=app-editors/emacs-23.1:* ) - expat? ( dev-libs/expat ) - gtk? ( x11-libs/gtk+:3 ) - gtk2? ( x11-libs/gtk+:2 ) - kde? ( kde-plasma/libplasma:5 ) - libedit? ( dev-libs/libedit ) - libffi? ( dev-libs/libffi:= ) - libnotify? ( x11-libs/libnotify ) - m17n-lib? ( dev-libs/m17n-lib ) - ncurses? ( sys-libs/ncurses:0= ) - nls? ( virtual/libintl ) - qt5? ( - dev-qt/qtx11extras:5 - dev-qt/qtwidgets:5 - ) - skk? ( app-i18n/skk-jisyo ) - sqlite? ( dev-db/sqlite:3 ) - ssl? ( dev-libs/openssl:0= )" -DEPEND="${CDEPEND} - X? ( x11-base/xorg-proto )" -RDEPEND="${CDEPEND} - !dev-scheme/sigscheme - X? ( - media-fonts/font-sony-misc - l10n_ja? ( - || ( - media-fonts/font-jis-misc - media-fonts/intlfonts - ) - ) - l10n_ko? ( - || ( - media-fonts/font-daewoo-misc - media-fonts/intlfonts - ) - ) - l10n_zh-CN? ( - || ( - media-fonts/font-isas-misc - media-fonts/intlfonts - ) - ) - l10n_zh-TW? ( media-fonts/intlfonts ) - )" -BDEPEND="gnome-base/librsvg - sys-devel/gettext - virtual/pkgconfig - kde? ( dev-build/cmake ) - nls? ( dev-util/intltool )" - -PATCHES=( - "${FILESDIR}"/${PN}-clang-16.patch - "${FILESDIR}"/${PN}-gentoo.patch - "${FILESDIR}"/${PN}-kde.patch - "${FILESDIR}"/${PN}-slibtool.patch - "${FILESDIR}"/${PN}-tinfo.patch - "${FILESDIR}"/${PN}-Wconversion.patch - "${FILESDIR}"/${PN}-xkb.patch - "${FILESDIR}"/${PN}-zh-TW.patch -) - -DOCS=( AUTHORS NEWS README RELNOTE doc ) - -SITEFILE="50${PN}-gentoo.el" - -src_prepare() { - default - sed -i "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac - use nls || sed -i "/^if .*USE_NLS/,/^fi/d" configure.ac - # fix build with "-march=pentium4 -O2", bug #661806 - use x86 && append-cflags $(test-flags-CC -fno-inline-small-functions) - - # Fix build w/ Clang 16+ and >= openssl 1.1.x, tries to use - # SSLv2_method otherwise. - append-cppflags -DOPENSSL_NO_SSL2 - - eautoreconf -} - -src_configure() { - local myconf=( - $(use_with X x) - $(use_with anthy anthy-utf8) - $(use_with curl) - $(use_with eb) - $(use_enable emacs) - $(use_with emacs lispdir "${SITELISP}") - $(use_with expat) - $(use_enable kde kde5-applet) - $(use_with libedit) - $(use_with libffi ffi) - $(use_with gtk gtk3) - $(use_with gtk2) - $(use_with m17n-lib m17nlib) - $(use_enable ncurses fep) - $(use_enable nls) - $(use_with qt5) - $(use_with qt5 qt5-immodule) - _QMAKE5=$(qt5_get_bindir)/qmake - $(use_with skk) - $(use_with sqlite sqlite3) - $(use_enable ssl openssl) - $(use_enable static-libs static) - $(use_with xft) - --without-anthy - --without-canna - --enable-default-toolkit=$(usex gtk gtk3 $(usex gtk2 gtk $(usex qt5 qt5))) - --disable-gnome-applet - --disable-gnome3-applet - --disable-kde-applet - --disable-kde4-applet - --without-mana - --enable-maintainer-mode - --without-prime - --disable-qt4-qt3support - ) - - if (use gtk || use gtk2) && use anthy; then - myconf+=( --enable-dict ) - else - myconf+=( --disable-dict ) - fi - - if use libnotify; then - myconf+=( --enable-notify=libnotify ) - fi - - if use gtk || use gtk2 || use qt5; then - myconf+=( --enable-pref ) - else - myconf+=( --disable-pref ) - fi - - econf "${myconf[@]}" -} - -src_compile() { - default - - if use emacs; then - cd emacs || die - elisp-compile *.el || die - cd - >/dev/null || die - fi -} - -src_install() { - # bug #222677 - emake -j1 DESTDIR="${D}" install - rm -f doc/Makefile* - einstalldocs - - find "${ED}"/usr/$(get_libdir)/${PN} -name '*.la' -delete || die - use static-libs || find "${ED}" -name '*.la' -delete || die - - insinto /etc/X11/xinit/xinput.d - sed \ - -e "s:@EPREFIX@:${EPREFIX}:g" \ - "${FILESDIR}"/xinput-${PN} > "${T}"/${PN}.conf - doins "${T}"/${PN}.conf - - if use X; then - docinto xim - dodoc xim/README* - fi - - if use emacs; then - elisp-install ${PN}-el emacs/*.el{,c} - elisp-site-file-install "${FILESDIR}"/${SITEFILE} ${PN}-el - docinto emacs - dodoc emacs/README* - fi - - if use ncurses; then - docinto fep - dodoc fep/README* - fi -} - -pkg_postinst() { - elog "New input method switcher has been introduced. You need to set" - elog - elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE" - elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE" - elog "% XMODIFIERS=@im=uim ; export XMODIFIERS" - elog - elog "If you would like to use uim-anthy as default input method, put" - elog "(define default-im-name 'anthy)" - elog "to your ~/.uim." - elog - elog "All input methods can be found by running uim-im-switcher-gtk, " - elog "uim-im-switcher-gtk3 or uim-im-switcher-qt5." - - if use emacs; then - elisp-site-regen - elog - elog "uim is autoloaded with Emacs with a minimal set of features:" - elog "There is no keybinding defined to call it directly, so please" - elog "create one yourself and choose an input method." - elog "Integration with LEIM is not done with this ebuild, please have" - elog "a look at the documentation how to achieve this." - fi - use gtk && gnome2_query_immodules_gtk3 - use gtk2 && gnome2_query_immodules_gtk2 -} - -pkg_postrm() { - use emacs && elisp-site-regen - use gtk && gnome2_query_immodules_gtk3 - use gtk2 && gnome2_query_immodules_gtk2 -} diff --git a/app-i18n/uim/uim-1.8.9-r2.ebuild b/app-i18n/uim/uim-1.8.9-r2.ebuild new file mode 100644 index 000000000000..6414c90e1d4a --- /dev/null +++ b/app-i18n/uim/uim-1.8.9-r2.ebuild @@ -0,0 +1,244 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit autotools elisp-common flag-o-matic gnome2-utils qmake-utils + +EGIT_COMMIT="d1ac9d9315ff8c57c713b502544fef9b3a83b3e5" + +DESCRIPTION="A multilingual input method framework" +HOMEPAGE="https://github.com/uim/uim" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.bz2" + +LICENSE="BSD GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ppc ppc64 ~riscv x86" +IUSE="X +anthy curl eb emacs expat libffi gtk gtk2 l10n_ja l10n_ko l10n_zh-CN l10n_zh-TW libedit libnotify m17n-lib ncurses nls qt5 skk sqlite ssl static-libs xft" +RESTRICT="test" +REQUIRED_USE="gtk? ( X ) + gtk2? ( X ) + qt5? ( X ) + xft? ( X )" + +CDEPEND="X? ( + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXft + x11-libs/libXrender + x11-libs/libXt + ) + anthy? ( app-i18n/anthy ) + curl? ( net-misc/curl ) + eb? ( dev-libs/eb ) + emacs? ( >=app-editors/emacs-23.1:* ) + expat? ( dev-libs/expat ) + gtk? ( x11-libs/gtk+:3 ) + gtk2? ( x11-libs/gtk+:2 ) + libedit? ( dev-libs/libedit ) + libffi? ( dev-libs/libffi:= ) + libnotify? ( x11-libs/libnotify ) + m17n-lib? ( dev-libs/m17n-lib ) + ncurses? ( sys-libs/ncurses:0= ) + nls? ( virtual/libintl ) + qt5? ( + dev-qt/qtx11extras:5 + dev-qt/qtwidgets:5 + ) + skk? ( app-i18n/skk-jisyo ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( dev-libs/openssl:0= )" +DEPEND="${CDEPEND} + X? ( x11-base/xorg-proto )" +RDEPEND="${CDEPEND} + !dev-scheme/sigscheme + X? ( + media-fonts/font-sony-misc + l10n_ja? ( + || ( + media-fonts/font-jis-misc + media-fonts/intlfonts + ) + ) + l10n_ko? ( + || ( + media-fonts/font-daewoo-misc + media-fonts/intlfonts + ) + ) + l10n_zh-CN? ( + || ( + media-fonts/font-isas-misc + media-fonts/intlfonts + ) + ) + l10n_zh-TW? ( media-fonts/intlfonts ) + )" +BDEPEND="gnome-base/librsvg + sys-devel/gettext + virtual/pkgconfig + nls? ( dev-util/intltool )" + +PATCHES=( + "${FILESDIR}"/${PN}-clang-16.patch + "${FILESDIR}"/${PN}-gentoo.patch + "${FILESDIR}"/${PN}-kde.patch + "${FILESDIR}"/${PN}-slibtool.patch + "${FILESDIR}"/${PN}-tinfo.patch + "${FILESDIR}"/${PN}-Wconversion.patch + "${FILESDIR}"/${PN}-xkb.patch + "${FILESDIR}"/${PN}-zh-TW.patch +) + +DOCS=( AUTHORS NEWS README RELNOTE doc ) + +SITEFILE="50${PN}-gentoo.el" + +src_prepare() { + default + sed -i "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac + use nls || sed -i "/^if .*USE_NLS/,/^fi/d" configure.ac + # fix build with "-march=pentium4 -O2", bug #661806 + use x86 && append-cflags $(test-flags-CC -fno-inline-small-functions) + + # Fix build w/ Clang 16+ and >= openssl 1.1.x, tries to use + # SSLv2_method otherwise. + append-cppflags -DOPENSSL_NO_SSL2 + + eautoreconf +} + +src_configure() { + local myconf=( + $(use_with X x) + $(use_with anthy anthy-utf8) + $(use_with curl) + $(use_with eb) + $(use_enable emacs) + $(use_with emacs lispdir "${SITELISP}") + $(use_with expat) + $(use_with libedit) + $(use_with libffi ffi) + $(use_with gtk gtk3) + $(use_with gtk2) + $(use_with m17n-lib m17nlib) + $(use_enable ncurses fep) + $(use_enable nls) + $(use_with qt5) + $(use_with qt5 qt5-immodule) + _QMAKE5=$(qt5_get_bindir)/qmake + $(use_with skk) + $(use_with sqlite sqlite3) + $(use_enable ssl openssl) + $(use_enable static-libs static) + $(use_with xft) + --without-anthy + --without-canna + --enable-default-toolkit=$(usex gtk gtk3 $(usex gtk2 gtk $(usex qt5 qt5))) + --disable-gnome-applet + --disable-gnome3-applet + --disable-kde-applet + --disable-kde4-applet + --disable-kde5-applet + --without-mana + --enable-maintainer-mode + --without-prime + --disable-qt4-qt3support + ) + + if (use gtk || use gtk2) && use anthy; then + myconf+=( --enable-dict ) + else + myconf+=( --disable-dict ) + fi + + if use libnotify; then + myconf+=( --enable-notify=libnotify ) + fi + + if use gtk || use gtk2 || use qt5; then + myconf+=( --enable-pref ) + else + myconf+=( --disable-pref ) + fi + + econf "${myconf[@]}" +} + +src_compile() { + default + + if use emacs; then + cd emacs || die + elisp-compile *.el || die + cd - >/dev/null || die + fi +} + +src_install() { + # bug #222677 + emake -j1 DESTDIR="${D}" install + rm -f doc/Makefile* + einstalldocs + + find "${ED}"/usr/$(get_libdir)/${PN} -name '*.la' -delete || die + use static-libs || find "${ED}" -name '*.la' -delete || die + + insinto /etc/X11/xinit/xinput.d + sed \ + -e "s:@EPREFIX@:${EPREFIX}:g" \ + "${FILESDIR}"/xinput-${PN} > "${T}"/${PN}.conf + doins "${T}"/${PN}.conf + + if use X; then + docinto xim + dodoc xim/README* + fi + + if use emacs; then + elisp-install ${PN}-el emacs/*.el{,c} + elisp-site-file-install "${FILESDIR}"/${SITEFILE} ${PN}-el + docinto emacs + dodoc emacs/README* + fi + + if use ncurses; then + docinto fep + dodoc fep/README* + fi +} + +pkg_postinst() { + elog "New input method switcher has been introduced. You need to set" + elog + elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE" + elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE" + elog "% XMODIFIERS=@im=uim ; export XMODIFIERS" + elog + elog "If you would like to use uim-anthy as default input method, put" + elog "(define default-im-name 'anthy)" + elog "to your ~/.uim." + elog + elog "All input methods can be found by running uim-im-switcher-gtk, " + elog "uim-im-switcher-gtk3 or uim-im-switcher-qt5." + + if use emacs; then + elisp-site-regen + elog + elog "uim is autoloaded with Emacs with a minimal set of features:" + elog "There is no keybinding defined to call it directly, so please" + elog "create one yourself and choose an input method." + elog "Integration with LEIM is not done with this ebuild, please have" + elog "a look at the documentation how to achieve this." + fi + use gtk && gnome2_query_immodules_gtk3 + use gtk2 && gnome2_query_immodules_gtk2 +} + +pkg_postrm() { + use emacs && elisp-site-regen + use gtk && gnome2_query_immodules_gtk3 + use gtk2 && gnome2_query_immodules_gtk2 +} -- cgit v1.2.3