diff options
author | Naohiro Aota <naota@gentoo.org> | 2012-03-08 08:23:59 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2012-03-08 08:23:59 +0000 |
commit | 9befb5bb6169d9607a896d14d2af34949530df5a (patch) | |
tree | d43021d1c59218532cc92c7bcbc0554040ca7ed4 /app-i18n/uim | |
parent | Dropped old (diff) | |
download | historical-9befb5bb6169d9607a896d14d2af34949530df5a.tar.gz historical-9befb5bb6169d9607a896d14d2af34949530df5a.tar.bz2 historical-9befb5bb6169d9607a896d14d2af34949530df5a.zip |
Version bump #401143
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/uim')
-rw-r--r-- | app-i18n/uim/ChangeLog | 7 | ||||
-rw-r--r-- | app-i18n/uim/Manifest | 30 | ||||
-rw-r--r-- | app-i18n/uim/uim-1.7.3.ebuild | 258 |
3 files changed, 280 insertions, 15 deletions
diff --git a/app-i18n/uim/ChangeLog b/app-i18n/uim/ChangeLog index 0066aa009215..21cff039b7d1 100644 --- a/app-i18n/uim/ChangeLog +++ b/app-i18n/uim/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-i18n/uim # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.238 2012/03/07 16:09:17 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.239 2012/03/08 08:23:59 naota Exp $ + +*uim-1.7.3 (08 Mar 2012) + + 08 Mar 2012; Naohiro Aota <naota@gentoo.org> +uim-1.7.3.ebuild: + Version bump #401143 07 Mar 2012; Naohiro Aota <naota@gentoo.org> uim-1.7.1-r1.ebuild: Add missing dependency dev-util/intltool. #407247 Patch-By: Piotr Szymaniak diff --git a/app-i18n/uim/Manifest b/app-i18n/uim/Manifest index a3269e2596f7..8505a74bb091 100644 --- a/app-i18n/uim/Manifest +++ b/app-i18n/uim/Manifest @@ -15,27 +15,29 @@ DIST uim-1.4.2.tar.bz2 2723523 RMD160 7f0c6a93fb31799643f6c1e594896fc817b2e7f9 S DIST uim-1.5.7.tar.bz2 3330555 RMD160 037677cd583c2b69293fbbc1c0393756d7c7adac SHA1 fbea2590286ddc857a7824d8544cb08842f4299f SHA256 f404b274c4b7e71b4b912912c758606585af476fcc5f3d602a08564187ad4e46 DIST uim-1.6.1.tar.bz2 6192431 RMD160 26c4e30f59c8eb005189d6778333079c81f8489c SHA1 412bb2df6041185084e2f64fb73357389bf992b5 SHA256 ee23965e26e6e9c52bdc37d87e66da9de2a491221b5f1989942f3666e9a44914 DIST uim-1.7.1.tar.bz2 6354866 RMD160 af62d79be189e0cafda37fbb34bd94441ebeff77 SHA1 9001955f9efbd3cf23c9ad62c027f44060553fa8 SHA256 81964ed6786eaa8306b0a638193db8171b78b386b9443d2e6a78e7f2cdf9a773 +DIST uim-1.7.3.tar.bz2 6380469 RMD160 2cc9fda13289c2f0e4cf04d7dfb1472630bc5746 SHA1 5c07416b01383d0d8047035a98af9af16f776ff9 SHA256 d2909d2d624a92677935461ce03413f33b7e5af6e19796410406628e59bd561c EBUILD uim-1.4.2.ebuild 3987 RMD160 d290986b0fbefcd7855237c56ac59ec7457de6d4 SHA1 01fd6a01801b0aa17335c7df5582ef460cb229f3 SHA256 02cf0e6dba0b37e028d5e5aedd0aed1b4091a7522e245d55c95ef455d0a81143 EBUILD uim-1.5.7.ebuild 5340 RMD160 e1bea05e98821a63e91c5c687757878744aa2c9e SHA1 fbd35bd0e661dc6c55a05eb81c41f6387d90c8f8 SHA256 681eaeae231fdb61e242a736988b8bce08978a0bc15788101476ab24ad9f278e EBUILD uim-1.6.1.ebuild 6058 RMD160 542e051057e3fd2bb996f4150ba4a7bd025cb0ff SHA1 14b65642e9802073ad5c94cdf32ee52f6a5a270d SHA256 8cdeb77ddaf32162a2986504b2ec8c7babe7f1ab7d93c06ee37f65ef9ff595ed EBUILD uim-1.7.1-r1.ebuild 6941 RMD160 cc33e643dfad1f84f0583b9606e65489a1114fd0 SHA1 d22e48e6b8e7b62c3b9d5415dfbd8cceabd5325a SHA256 b19cade197774e44966a1e84763bd9d42c4295f19575e826779123d877f62c04 EBUILD uim-1.7.1.ebuild 6847 RMD160 b2eb29e193d5774dbaf5a3946b571648b1f70747 SHA1 f8555a41aa39c97f718e2f3342524fb274a07a3d SHA256 563f2bfff4e5c3c7233bda6ab8b5601b3c8e42b42ccfc2ed7aa3a9fb40511947 -MISC ChangeLog 34223 RMD160 914f459e22ae6b92d945f1821f8878e39ce89807 SHA1 8773cb1c857af57ecdb66ae6315ccc78344d7628 SHA256 696abca9cad471c6afe3b259d4f4795c982c1b77d1d53b834eb7d35ac126969d +EBUILD uim-1.7.3.ebuild 6898 RMD160 74c11905bbdb5ee5f278c848c3a9d9ad89e3a4b5 SHA1 4586682918bcc131b026c4ac3a5e3e9d68ae8c97 SHA256 935db4bbe200b3215240e1fa6eca88c405e9ec13cfa866fb376e02babe69a7d9 +MISC ChangeLog 34339 RMD160 7302fb0e2761a89dab1ef30a359fd14a2c567231 SHA1 1cc1ae92f8396c86124c11e1d521c9fc3fb333ff SHA256 533c30aa79a93f5ad284ab4daea5cd38a2fe6f0fab8dc7acfaba8057c5a1cb97 MISC metadata.xml 963 RMD160 2275f335832b0cf6d3b9a22138ea9a8c89ed76c1 SHA1 69c61337a5cec1abc7311a7e6543cc460679597d SHA256 f9ec0fb753307e61a6e6cc5381e41344f34fe4d774ec12d61063077e803c2a8b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQIcBAEBCAAGBQJPV4gcAAoJEDYO1FT4VRUU0tAP/ilYx7SzzcOxjkT8XbaYlGh2 -ifj5Tb2zLGHgux53zHeO/ZbTfQ59VlMbhAl8FBdngzKRDxDPrA4hTVl0bvr1j8gE -nGQGu8WN6twnXKQlxm6t8lIg6R1sThE7TM9pCoosWHzR4Fu3eS48NBWFZ8eMdx2f -DCzpVadc3Ahw1tRbGlL8sk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kZtJwAdwRv4ooWMiII+dJizlFhsTH5fEc69z7zD2 +MaUB8LZl6afSM5/qxUs3pDUkApu0YGOmdFxdOA+4M6pn8GqYIylwsCL0cuHRT0iL +btUgo7IJCsc02EujGYoYm7CxuGUSi5pQkfsByksw/NVoi6onoN97cWM+H2+HqGYY +x12VGdUImAAM3PB8rDX7 +=JbM+ -----END PGP SIGNATURE----- diff --git a/app-i18n/uim/uim-1.7.3.ebuild b/app-i18n/uim/uim-1.7.3.ebuild new file mode 100644 index 000000000000..e13513d0a4b4 --- /dev/null +++ b/app-i18n/uim/uim-1.7.3.ebuild @@ -0,0 +1,258 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.7.3.ebuild,v 1.1 2012/03/08 08:23:59 naota Exp $ + +EAPI="4" +inherit autotools eutils multilib elisp-common flag-o-matic + +DESCRIPTION="Simple, secure and flexible input method library" +HOMEPAGE="http://code.google.com/p/uim/" +SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2" + +LICENSE="BSD GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="+anthy canna curl eb emacs libffi gnome gtk gtk3 kde libedit libnotify m17n-lib ncurses nls prime qt4 skk sqlite ssl static-libs test unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko" + +RESTRICT="test" + +REQUIRED_USE="gtk? ( X ) qt4? ( X )" + +RDEPEND="X? ( + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM + x11-libs/libXext + x11-libs/libXrender + ) + anthy? ( + unicode? ( >=app-i18n/anthy-8622 ) + !unicode? ( app-i18n/anthy ) + ) + canna? ( app-i18n/canna ) + curl? ( >=net-misc/curl-7.16.4 ) + eb? ( dev-libs/eb ) + emacs? ( virtual/emacs ) + libffi? ( virtual/libffi ) + gnome? ( >=gnome-base/gnome-panel-2.14 ) + gtk? ( >=x11-libs/gtk+-2.4:2 ) + gtk3? ( x11-libs/gtk+:3 ) + kde? ( >=kde-base/kdelibs-4 ) + libedit? ( dev-libs/libedit ) + libnotify? ( >=x11-libs/libnotify-0.4 ) + m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 ) + ncurses? ( sys-libs/ncurses ) + nls? ( virtual/libintl ) + prime? ( app-i18n/prime ) + qt4? ( x11-libs/qt-gui:4[qt3support] ) + skk? ( app-i18n/skk-jisyo ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( dev-libs/openssl ) + !dev-scheme/sigscheme + !app-i18n/uim-svn + !<app-i18n/prime-0.9.4" +# >=dev-scheme/sigscheme-0.8.5 +# mana? ( app-i18n/mana ) +# scim? ( >=app-i18n/scim-1.3.0 ) # broken +# sj3? ( >=app-i18n/sj3-2.0.1.21 ) +# wnn? ( app-i18n/wnn ) +# gnome? ( +# gtk? ( >=gnome-base/gnome-panel-2.14 ) +# gtk3? ( >=gnome-base/gnome-panel-3 ) +# ) +DEPEND="${RDEPEND} + dev-util/intltool + dev-util/pkgconfig + >=sys-devel/gettext-0.15 + kde? ( dev-util/cmake ) + X? ( + x11-proto/xextproto + x11-proto/xproto + )" + +RDEPEND="${RDEPEND} + X? ( + media-fonts/font-sony-misc + linguas_zh_CN? ( + || ( media-fonts/font-isas-misc media-fonts/intlfonts ) + ) + linguas_zh_TW? ( + media-fonts/intlfonts + ) + linguas_ja? ( + || ( media-fonts/font-jis-misc media-fonts/intlfonts ) + ) + linguas_ko? ( + || ( media-fonts/font-daewoo-misc media-fonts/intlfonts ) + ) + )" +# test? ( dev-scheme/gauche ) + +SITEFILE=50${PN}-gentoo.el + +update_gtk_immodules() { + local GTK2_CONFDIR="/etc/gtk-2.0" + # bug #366889 + if has_version '>=x11-libs/gtk+-2.22.1-r1:2' || has_multilib_profile ; then + GTK2_CONFDIR="${GTK2_CONFDIR}/$(get_abi_CHOST)" + fi + mkdir -p "${EPREFIX}${GTK2_CONFDIR}" + + if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-2.0" ] ; then + "${EPREFIX}/usr/bin/gtk-query-immodules-2.0" > "${EPREFIX}${GTK2_CONFDIR}/gtk.immodules" + fi +} + +update_gtk3_immodules() { + if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-3.0" ] ; then + "${EPREFIX}/usr/bin/gtk-query-immodules-3.0" --update-cache + fi +} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.6.0-gentoo.patch \ + "${FILESDIR}"/${PN}-1.5.4-zhTW.patch + + # bug 275420 + sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die + + echo "QMAKE_LFLAGS = ${LDFLAGS}" >> qt4/common.pro.in || die + + #./autogen.sh + AT_NO_RECURSIVE=1 eautoreconf +} + +src_configure() { + local myconf + + if (use gtk || use gtk3) && (use anthy || use canna) ; then + myconf="${myconf} --enable-dict" + else + myconf="${myconf} --disable-dict" + fi + + if use gtk || use gtk3 || use qt4 ; then + myconf="${myconf} --enable-pref" + else + myconf="${myconf} --disable-pref" + fi + + if use anthy ; then + if use unicode ; then + myconf="${myconf} --with-anthy-utf8" + else + myconf="${myconf} --with-anthy" + fi + else + myconf="${myconf} --without-anthy" + fi + + if use libnotify ; then + myconf="${myconf} --enable-notify=libnotify" + fi + + #if use gnome ; then + # myconf="${myconf} $(use_enable gtk gnome-applet)" + # myconf="${myconf} $(use_enable gtk3 gnome3-applet)" + #fi + + econf $(use_with X x) \ + $(use_with canna) \ + $(use_with curl) \ + $(use_with eb) \ + $(use_enable emacs) \ + $(use_with emacs lispdir "${SITELISP}") \ + $(use_with libffi ffi) \ + $(use_enable gnome gnome-applet) \ + $(use_with gtk gtk2) \ + $(use_with gtk3) \ + $(use_with libedit) \ + --disable-kde-applet \ + $(use_enable kde kde4-applet) \ + $(use_with m17n-lib m17nlib) \ + $(use_enable ncurses fep) \ + $(use_enable nls) \ + $(use_with prime) \ + --without-qt \ + --without-qt-immodule \ + $(use_with qt4 qt4) \ + $(use_with qt4 qt4-immodule) \ + $(use_enable qt4 qt4-qt3support) \ + $(use_with skk) \ + $(use_with sqlite sqlite3) \ + $(use_enable ssl openssl) \ + $(use_enable static-libs static) \ + $(use_with xft) \ + ${myconf} +} + +src_compile() { + emake || die "emake failed" + + if use emacs; then + cd emacs + elisp-compile *.el || die "elisp-compile failed" + fi +} + +src_install() { + # parallel make install b0rked, bug #222677 + emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog* NEWS README RELNOTE || die + if use emacs; then + elisp-install uim-el emacs/*.elc || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \ + || die "elisp-site-file-install failed" + fi + + find "${ED}/usr/$(get_libdir)/uim" -name '*.la' -exec rm {} + + use static-libs || find "${ED}" -name '*.la' -exec rm {} + + + sed -e "s:@EPREFIX@:${EPREFIX}:" "${FILESDIR}/xinput-uim" > "${T}/uim.conf" || die + insinto /etc/X11/xinit/xinput.d + doins "${T}/uim.conf" || die + + # collision with dev-scheme/sigscheme, bug #330975 + # find "${ED}" -name '*gcroots*' -delete || die +} + +pkg_postinst() { + elog + 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-qt4." + elog + elog "If you upgrade from a version of uim older than 1.4.0," + elog "you should run revdep-rebuild." + + use gtk && update_gtk_immodules + use gtk3 && update_gtk3_immodules + if use emacs; then + elisp-site-regen + echo + 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 +} + +pkg_postrm() { + use gtk && update_gtk_immodules + use gtk3 && update_gtk3_immodules + use emacs && elisp-site-regen +} |