diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2007-02-01 14:55:32 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2007-02-01 14:55:32 +0000 |
commit | 212b3b67e06a4f0f57d124b64068c6ee35108a98 (patch) | |
tree | cc8b8142a44c9421233fa831b22d85e420645b6d /app-i18n | |
parent | added ~amd64 (diff) | |
download | gentoo-2-212b3b67e06a4f0f57d124b64068c6ee35108a98.tar.gz gentoo-2-212b3b67e06a4f0f57d124b64068c6ee35108a98.tar.bz2 gentoo-2-212b3b67e06a4f0f57d124b64068c6ee35108a98.zip |
Version bumped. Fixed #162502.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/uim/ChangeLog | 10 | ||||
-rw-r--r-- | app-i18n/uim/files/digest-uim-1.4.0 | 3 | ||||
-rw-r--r-- | app-i18n/uim/files/uim-1.2.1-nls.patch | 14 | ||||
-rw-r--r-- | app-i18n/uim/files/uim-1.4.0-gentoo.patch | 43 | ||||
-rw-r--r-- | app-i18n/uim/uim-1.2.1.ebuild | 8 | ||||
-rw-r--r-- | app-i18n/uim/uim-1.3.1.ebuild | 8 | ||||
-rw-r--r-- | app-i18n/uim/uim-1.4.0.ebuild | 140 |
7 files changed, 223 insertions, 3 deletions
diff --git a/app-i18n/uim/ChangeLog b/app-i18n/uim/ChangeLog index 60540b6474fe..8bf5f49a8f96 100644 --- a/app-i18n/uim/ChangeLog +++ b/app-i18n/uim/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-i18n/uim # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.155 2007/01/05 16:35:39 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.156 2007/02/01 14:55:32 matsuu Exp $ + +*uim-1.4.0 (01 Feb 2007) + + 01 Feb 2007; MATSUU Takuto <matsuu@gentoo.org> +files/uim-1.2.1-nls.patch, + +files/uim-1.4.0-gentoo.patch, uim-1.2.1.ebuild, -uim-1.3.0.ebuild, + uim-1.3.1.ebuild, +uim-1.4.0.ebuild: + Version bumped. + Fixed USE="-nls" issue, bug #162502. 05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> uim-0.5.0.1.ebuild, uim-1.2.1.ebuild, uim-1.3.0.ebuild, uim-1.3.1.ebuild: diff --git a/app-i18n/uim/files/digest-uim-1.4.0 b/app-i18n/uim/files/digest-uim-1.4.0 new file mode 100644 index 000000000000..acab32c76592 --- /dev/null +++ b/app-i18n/uim/files/digest-uim-1.4.0 @@ -0,0 +1,3 @@ +MD5 3b5669a5eeee2d660dd179b3d7fec169 uim-1.4.0.tar.bz2 2684329 +RMD160 7bfa394d822b3bdc30736569b8543339d82ce10b uim-1.4.0.tar.bz2 2684329 +SHA256 0dc49075bace432a9be6116a966988e2991b8d052ed32043a9bdd60adaf92d2d uim-1.4.0.tar.bz2 2684329 diff --git a/app-i18n/uim/files/uim-1.2.1-nls.patch b/app-i18n/uim/files/uim-1.2.1-nls.patch new file mode 100644 index 000000000000..d0cdc05a0cbe --- /dev/null +++ b/app-i18n/uim/files/uim-1.2.1-nls.patch @@ -0,0 +1,14 @@ +Index: qt/qtgettext.h +=================================================================== +--- qt/qtgettext.h (revision 4453) ++++ qt/qtgettext.h (revision 4454) +@@ -57,6 +57,9 @@ + #define N_(String) (String) + #endif /* gettext_noop */ + ++#else /* ENABLE_NLS */ ++ ++#define mygettext(String) QString::fromLocal8Bit( (const char *)(String) ) + #endif /* ENABLE_NLS */ + + #endif /* Not def: _QT_GETTEXT_H_ */ diff --git a/app-i18n/uim/files/uim-1.4.0-gentoo.patch b/app-i18n/uim/files/uim-1.4.0-gentoo.patch new file mode 100644 index 000000000000..5e08cd62e102 --- /dev/null +++ b/app-i18n/uim/files/uim-1.4.0-gentoo.patch @@ -0,0 +1,43 @@ +--- intltool-update.in.orig 2007-01-26 01:43:29.000000000 +0900 ++++ intltool-update.in 2007-01-26 01:43:39.000000000 +0900 +@@ -64,7 +64,7 @@ + "ui|". # Bonobo specific - User Interface desc. files + "lang|". # ? + "glade2?(?:\\.in)*|". # Glade specific - User Interface desc. files (Note: .in is not required) +-"scm-workaround(?:\\.in)*|". # ? (Note: .in is not required) ++"scm(?:\\.in)*|". # ? (Note: .in is not required) + "oaf(?:\\.in)+|". # DEPRECATED: Replaces by Bonobo .server files + "etspec|". # ? + "server(?:\\.in)+|". # Bonobo specific +@@ -248,7 +248,7 @@ + { + $gettext_type="glade"; + } +- elsif ($type =~ /scm-workaround(\.in)*$/) ++ elsif ($type =~ /scm(\.in)*$/) + { + $gettext_type="scheme"; + } +@@ -341,11 +341,11 @@ + + ## Check if we should ignore some found files, when + ## comparing with POTFILES.in +- foreach my $ignore ("$SRCDIR/POTFILES.skip", "$SRCDIR/POTFILES.ignore") ++ foreach my $ignore ("POTFILES.skip", "POTFILES.ignore") + { + (-s $ignore) or next; + +- if ("$ignore" eq "$SRCDIR/POTFILES.ignore") ++ if ("$ignore" eq "POTFILES.ignore") + { + print "The usage of POTFILES.ignore is deprecated. Please consider moving the\n". + "content of this file to POTFILES.skip.\n"; +@@ -506,7 +506,7 @@ + foreach (@buf_potfiles_sorted) + { + chomp (my $dummy = $_); +- if ("$dummy" ne "" and ! -f "$SRCDIR/../$dummy" and ! -f "../$dummy") ++ if ("$dummy" ne "" and ! -f "$SRCDIR/../$dummy") + { + push @buf_potfiles_notexist, $_; + } diff --git a/app-i18n/uim/uim-1.2.1.ebuild b/app-i18n/uim/uim-1.2.1.ebuild index 7b225ca27b52..711d5fd5644f 100644 --- a/app-i18n/uim/uim-1.2.1.ebuild +++ b/app-i18n/uim/uim-1.2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.2.1.ebuild,v 1.15 2007/01/05 16:35:39 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.2.1.ebuild,v 1.16 2007/02/01 14:55:32 matsuu Exp $ inherit eutils kde-functions flag-o-matic multilib elisp-common @@ -60,6 +60,12 @@ pkg_setup() { GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/} } +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-nls.patch +} + src_compile() { local myconf diff --git a/app-i18n/uim/uim-1.3.1.ebuild b/app-i18n/uim/uim-1.3.1.ebuild index e16178ab9849..4fe40b2a0534 100644 --- a/app-i18n/uim/uim-1.3.1.ebuild +++ b/app-i18n/uim/uim-1.3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.3.1.ebuild,v 1.2 2007/01/05 16:35:39 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.3.1.ebuild,v 1.3 2007/02/01 14:55:32 matsuu Exp $ inherit eutils kde-functions flag-o-matic multilib elisp-common @@ -58,6 +58,12 @@ pkg_setup() { GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/} } +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.2.1-nls.patch +} + src_compile() { local myconf diff --git a/app-i18n/uim/uim-1.4.0.ebuild b/app-i18n/uim/uim-1.4.0.ebuild new file mode 100644 index 000000000000..6f8482300cc4 --- /dev/null +++ b/app-i18n/uim/uim-1.4.0.ebuild @@ -0,0 +1,140 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.4.0.ebuild,v 1.1 2007/02/01 14:55:32 matsuu Exp $ + +inherit eutils qt3 multilib elisp-common + +DESCRIPTION="Simple, secure and flexible input method library" +HOMEPAGE="http://uim.freedesktop.org/" +SRC_URI="http://uim.freedesktop.org/releases/uim/stable/${P}.tar.bz2" + +LICENSE="BSD GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="anthy canna eb emacs gnome gtk kde libedit m17n-lib ncurses nls prime qt3 X" + +RDEPEND="X? ( || ( ( + x11-libs/libX11 + x11-libs/libXft + x11-libs/libXt + x11-libs/libICE + x11-libs/libSM + x11-libs/libXext + x11-libs/libXrender + ) + <virtual/x11-7 ) ) + anthy? ( || ( app-i18n/anthy app-i18n/anthy-ss ) ) + canna? ( app-i18n/canna ) + eb? ( dev-libs/eb ) + emacs? ( virtual/emacs ) + gnome? ( >=gnome-base/gnome-panel-2.14 ) + gtk? ( >=x11-libs/gtk+-2.4 ) + kde? ( kde-base/kdelibs ) + libedit? ( dev-libs/libedit ) + m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 ) + ncurses? ( sys-libs/ncurses ) + nls? ( virtual/libintl ) + prime? ( app-i18n/prime ) + qt3? ( $(qt_min_version 3.3.4) ) + !app-i18n/uim-svn + !<app-i18n/prime-0.9.4" + +DEPEND="${RDEPEND} + X? ( || ( ( + x11-proto/xextproto + x11-proto/xproto + ) + <virtual/x11-7 ) )" + +pkg_setup() { + if use qt3 && ! built_with_use =x11-libs/qt-3* immqt-bc && ! built_with_use =x11-libs/qt-3* immqt; then + eerror "To support qt3 in this package is required to have" + eerror "=x11-libs/qt-3* compiled with immqt-bc(recommended) or immqt USE flag." + die "Please reemerge =x11-libs/qt-3* with USE=\"immqt-bc\" or USE=\"immqt\"." + + fi + # An arch specific config directory is used on multilib systems + has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" + GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/} +} + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.2.1-nls.patch + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_compile() { + local myconf + + if use gtk && (use anthy || use canna); then + myconf="${myconf} --enable-dict" + else + myconf="${myconf} --disable-dict" + fi + + if use qt3 ; then + append-flags -DQT_THREAD_SUPPORT + fi + + if use gtk || use qt3 ; then + myconf="${myconf} --enable-pref" + else + myconf="${myconf} --disable-pref" + fi + + econf $(use_with X x) \ + $(use_with anthy) \ + $(use_with canna) \ + $(use_with eb) \ + $(use_enable emacs) \ + $(use_enable gnome gnome-applet) \ + $(use_with gtk gtk2) \ + $(use_with libedit) \ + $(use_enable kde kde-applet) \ + $(use_with m17n-lib m17nlib) \ + $(use_enable ncurses fep) \ + $(use_enable nls) \ + $(use_with qt3 qt) \ + $(use_with qt3 qt-immodule) \ + ${myconf} || die "econf failed" + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog* NEWS README RELNOTE + use emacs && elisp-site-file-install "${FILESDIR}"/50uim-el-gentoo.el +} + +pkg_postinst() { + elog + elog "To use uim-skk you should emerge app-i18n/skk-jisyo." + elog + + 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 "or uim-im-switcher-qt." + elog + + use gtk && gtk-query-immodules-2.0 > "${ROOT}"/${GTK2_CONFDIR}/gtk.immodules + use emacs && elisp-site-regen +} + +pkg_postrm() { + use gtk && gtk-query-immodules-2.0 > "${ROOT}"/${GTK2_CONFDIR}/gtk.immodules + use emacs && elisp-site-regen +} |