Portage is a package management system used by Gentoo Linux
# ChangeLog for app-i18n/uim-svn
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/ChangeLog,v 1.33 2008/07/31 10:34:53 ulm Exp $
31 Jul 2008; Ulrich Mueller
Add USE flag description to metadata wrt GLEP 56.
27 Jul 2008; Carsten Lohrke
QA: Get rid of deprecated qt_min_version().
12 Oct 2007; Akinori Hattori
+files/50uim-svn-gentoo.el, uim-svn-1.5.ebuild:
fixes bug #194804.
03 Sep 2007; Akinori Hattori
change the repository location and update HOMEPAGE.
22 Jul 2007; Denis Dupeyron
Drop virtual/x11 dependency.
24 Jun 2007; MATSUU Takuto
Fixed to use the right condition for calling elisp-site-regen, bug #182639.
*uim-svn-1.5 (19 Jan 2007)
19 Jan 2007; Akinori Hattori
-uim-svn-20060320.ebuild:
use version number. this version cannot compile, because
dev-util/intltool-0.35.2 is not in portage.
30 Oct 2006; Akinori Hattori
add anthy use flag. and fix LICENSE.
26 Oct 2006; Akinori Hattori
add gnome-base/librsvg to DEPEND. rsvg is required for converting svg to
png, and add --enable-maintainer-mode.
22 Jul 2006; Akinori Hattori
use subversion_wc_info in pkg_setup.
12 Jul 2006; Akinori Hattori
use emake for install. and change sys-apps/gettext -> virtual/libintl.
24 Jun 2006; Doug Goldstein
USE flag qt->qt3/qt4 change
29 Mar 2006; Akinori Hattori
remove app-i18n/uim-{fep,kdehelper} and app-emacs/uim-fep block from *DEPEND
*uim-svn-20060320 (20 Mar 2006)
20 Mar 2006; Akinori Hattori
-uim-svn-20050505.ebuild, +uim-svn-20060320.ebuild:
switch to http://anonsvn.freedesktop.org/svn/uim/trunk and enable emacs
binding.
10 Feb 2006; Alastair Tse
modular-x-ified.
17 Dec 2005; Mamoru KOMACHI
Corrected qt-3* dependency; bug #100235.
04 Jun 2005; Akinori Hattori
-files/uim-svn-configure-fix.diff, uim-svn-20050505.ebuild:
remove a patch. this is fixed in the upstream repository.
*uim-svn-20050505 (05 May 2005)
05 May 2005; Akinori Hattori
+files/uim-svn-configure-fix.diff,
-files/uim-svn-gtk-query-immodules-gentoo.diff,
-files/uim-svn-qtkde-helper.diff, -uim-svn-20040709.ebuild,
+uim-svn-20050505.ebuild:
change the repository location and merged the changes of app-i18n/uim.
29 Jan 2005; Gregorio Guidi
Proper usage of kde eclasses, to make sure KDEDIR is defined (#33079).
15 Jan 2005; Dan Armak
Changed dep on kdebase to accept kdebase-meta, the split 'meta' package.
This dep will be narrowed down in the future to the precise split packages
required.
06 Nov 2004; Akinori Hattori
s/qtkde-helper/uim-kdehelper/
04 Nov 2004; Akinori Hattori
files/uim-svn-qtkde-helper.diff, uim-svn-20040709.ebuild:
add dict and fep use flags. and some updates.
10 Aug 2004; Akinori Hattori
fixed access violation of qtkde-helper.
10 Aug 2004; Akinori Hattori
cleaned out old ebuild.
17 Jul 2004; David Holm
Added to ~ppc.
*uim-svn-20040709 (09 Jul 2004)
09 Jul 2004; Akinori Hattori
+files/uim-svn-qtkde-helper.diff, +uim-svn-20040709.ebuild:
build qtkde-helper and merged the changes of app-i18n/uim.
07 Apr 2004; Akinori Hattori
inherit flag-o-matic.
05 Apr 2004; Akinori Hattori
files/uim-svn-gtk-query-immodules-gentoo.diff:
update patch from app-i18n/uim.
28 Jan 2004; Akinori Hattori
26 Jan 2004; Akinori Hattori
files/uim-svn-gtk-query-immodules-gentoo.diff:
Added a necessary patch.
*uim-svn-20040124 (25 Jan 2004)
25 Jan 2004; Akinori Hattori
Initial import.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX 50uim-svn-gentoo.el 117 RMD160 d95faf447aadc3d33e2f027f6b2dfce065559a4a SHA1 b79fe3b6fa3245fa2a9d92c4276401a45c4d3fe9 SHA256 6c466272b467ca1a6aba3d3c7993a504dc9e484fd1e47dd7be7ad807bcf3e0da
EBUILD uim-svn-1.5.ebuild 3866 RMD160 e403264d6e378bb91168c2ec23885882b7b20e03 SHA1 221346f3009e1d955706d2f952e4aa24a18717f9 SHA256 d0a4a1915c01e77ee8d9642973f78e852a865c1f0d966a1cec27b5a1073d6cee
MISC ChangeLog 4812 RMD160 84053f75dc4d93cb6ba8d25b270e4a3bd85a8d4c SHA1 3d2c402944dd60a951d01267a2cad045ab779b3b SHA256 e16812c6c982cac033866c188e0ac321f24ffcae60b76fb01ad223a741549a7b
MISC metadata.xml 581 RMD160 d4f6c26a6ff6df8ca3c359a1f075642d07af6ca4 SHA1 79758b0e0c4cc7127663e28dfd88c9dacdd37fc2 SHA256 898e84503f424ad0787ff07d06bb8e408c8f3ec792fd642663eed123482075c4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkiRlVoACgkQOeoy/oIi7uzjAgCcDpiMLlHJHRcfhtoB5gd4CPcS
cosAn02t/S4sULsu2/tRi6LsCOI/MTgk
=S0St
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-svn/uim-svn-1.5.ebuild,v 1.6 2008/07/27 19:49:00 carlo Exp $
EAPI=1
inherit elisp-common flag-o-matic kde-functions multilib subversion
IUSE="X anthy canna dict eb emacs fep gtk immqt libedit m17n-lib nls qt3"
DESCRIPTION="a multilingual input method library"
HOMEPAGE="http://code.google.com/p/uim/"
SRC_URI=""
LICENSE="|| ( BSD GPL-2 LGPL-2.1 )"
KEYWORDS="~x86"
SLOT="0"
DEPEND="${RDEPEND}
>=sys-devel/autoconf-2.60b
>=sys-devel/automake-1.10
>=dev-util/intltool-0.35.2
gnome-base/librsvg
dev-lang/perl
dev-lang/ruby
app-text/asciidoc
X? ( x11-proto/xextproto
x11-proto/xproto )
nls? ( virtual/libintl )"
RDEPEND="!app-i18n/uim
X? ( x11-libs/libX11
x11-libs/libXft
x11-libs/libXt
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXrender )
anthy? ( || ( app-i18n/anthy app-i18n/anthy-ss ) )
canna? ( app-i18n/canna )
eb? ( dev-libs/eb )
emacs? ( virtual/emacs )
gtk? ( >=x11-libs/gtk+-2 )
immqt? ( x11-libs/qt:3 )
libedit? ( dev-libs/libedit )
qt3? ( x11-libs/qt:3 )
m17n-lib? ( dev-libs/m17n-lib )"
src_unpack() {
local repo_uri="http://uim.googlecode.com/svn"
subversion_wc_info ${repo_uri}/trunk
if [[ $? -eq 0 ]] && [ "${ESVN_WC_URL}" != "${repo_uri}/trunk" ]; then
eerror "uim's repository is moved to Google Code."
eerror "please remove ${ESVN_STORE_DIR}/${ESVN_PROJECT}."
die
fi
subversion_fetch ${repo_uri}/trunk
subversion_fetch ${repo_uri}/sigscheme-trunk sigscheme
subversion_fetch ${repo_uri}/libgcroots-trunk sigscheme/libgcroots
cd "${S}"
sed -i -e "/^RELEASE_/d" -e "/^#RELEASE_/s:#::" Makefile.am
cd sigscheme/libgcroots
local i
for ((i = 0; i < 3; i++)); do
./autogen.sh
cd ..
done
}
src_compile() {
local myconf="--enable-maintainer-mode"
if use dict && (use anthy || use canna); then
myconf="${myconf} --enable-dict"
else
ewarn "dict use flag should use with anthy or canna use flag. disabled."
myconf="${myconf} --disable-dict"
fi
if use qt3 || use immqt; then
set-qtdir 3
fi
econf \
$(use_enable emacs) \
$(use_with emacs lispdir "${SITELISP}") \
$(use_enable fep) \
$(use_enable nls) \
$(use_with X x) \
$(use_with anthy) \
$(use_with canna) \
$(use_with eb) \
$(use_with immqt qt-immodule) \
$(use_with libedit) \
$(use_with qt3 qt) \
$(use_with gtk gtk2) \
$(use_with m17n-lib m17nlib) \
${myconf} \
|| die
emake all ChangeLog || die
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog* NEWS README*
rm doc/Makefile*
docinto doc
dodoc doc/*
local u
for u in emacs fep; do
if use ${u}; then
cd ${u}
docinto ${u}
dodoc README*
cd -
fi
done
if use emacs; then
cd "${D}/${SITELISP}"/uim-el
elisp-comp *.el || die
cd -
elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el uim-el
fi
# remove empty directories
rm -rf "${D}"/usr/include/sigscheme
rm -rf "${D}"/usr/include/libgcroots
# remove unnecessary header
rm -f "${D}"/usr/include/gcroots.h
}
pkg_postinst() {
local chost
has_multilib_profile && chost=${CHOST}
use gtk && gtk-query-immodules-2.0 > "${ROOT}"/etc/gtk-2.0/${chost}/gtk.immodules
if use emacs; then
elisp-site-regen
echo
elog "uim is autoloaded with Emacs with a minimal set of"
elog "features: There is no keybinding defined to call it directly,"
elog "so please create one yourself and choose an input method."
elog "Integration with LEIM is not done with this ebuild, please have a look"
elog "at the documentation how to achieve this."
fi
}
pkg_postrm() {
local chost
has_multilib_profile && chost=${CHOST}
use gtk && gtk-query-immodules-2.0 > "${ROOT}"/etc/gtk-2.0/${chost}/gtk.immodules
use emacs && elisp-site-regen
}