/[gentoo-x86]/app-i18n/scim-cvs/scim-cvs-0.99.8.ebuild
Gentoo

Contents of /app-i18n/scim-cvs/scim-cvs-0.99.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Nov 30 08:11:03 2004 UTC (15 years, 1 month ago) by usata
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Sync with app-i18n/scim-1.0.1-r1.ebuild

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-cvs/scim-cvs-0.99.8.ebuild,v 1.1 2004/08/23 10:49:58 usata Exp $
4
5 inherit gnome2 eutils cvs
6
7 DESCRIPTION="Smart Common Input Method (SCIM) is a Input Method (IM) development platform"
8 HOMEPAGE="http://freedesktop.org/~suzhe/"
9 SRC_URI=""
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~x86 ~alpha ~ppc"
14 IUSE="gnome"
15
16 ECVS_AUTH="ext"
17 CVS_RSH="ssh"
18 ECVS_SERVER="savannah.nongnu.org:/cvsroot/scim"
19 ECVS_SSH_HOST_KEY="savannah.nongnu.org,199.232.41.4 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAzFQovi+67xa+wymRz9u3plx0ntQnELBoNU4SCl3RkwSFZkrZsRTC0fTpOKatQNs1r/BLFoVt21oVFwIXVevGQwB+Lf0Z+5w9qwVAQNu/YUAFHBPTqBze4wYK/gSWqQOLoj7rOhZk0xtAS6USqcfKdzMdRWgeuZ550P6gSzEHfv0="
20 ECVS_USER="anoncvs"
21 ECVS_PASS=""
22 ECVS_MODULE="scim-lib"
23 S="${WORKDIR}/${ECVS_MODULE}"
24
25 RDEPEND="virtual/x11
26 gnome? ( >=gnome-base/gconf-1.2
27 >=dev-libs/libxml2-2.5
28 >=gnome-base/orbit-2.8 )
29 >=x11-libs/gtk+-2
30 >=dev-libs/atk-1
31 >=x11-libs/pango-1
32 >=dev-libs/glib-2
33 !app-i18n/scim
34 !<app-i18n/scim-chinese-0.4.0"
35 DEPEND="${RDEPEND}
36 dev-lang/perl
37 sys-devel/autoconf
38 sys-devel/automake
39 >=sys-apps/sed-4"
40 PDEPEND="|| ( >=app-i18n/scim-m17n-0.1.2
41 >=app-i18n/scim-uim-0.1.3
42 >=app-i18n/scim-chinese-0.4.2
43 >=app-i18n/scim-hangul-0.1.1
44 >=app-i18n/scim-tables-0.4.0 )"
45
46 ELTCONF="--reverse-deps"
47 SCROLLKEEPER_UPDATE="0"
48 USE_DESTDIR="1"
49
50 src_unpack() {
51 cvs_src_unpack
52 # use scim gtk2 IM module only for chinese/japanese/korean
53 EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-gtk2immodule.patch
54
55 cd ${S}
56 ./bootstrap || die "bootstrap failed"
57
58 # workaround for problematic makefile
59 sed -i -e "s:^\(scim.*LDFLAGS.*\):\1 -ldl:g" \
60 ${S}/src/Makefile.* || die
61 sed -i -e "s:^\(scim_make_table_LDFLAGS.*\):\1 -ldl:" \
62 ${S}/modules/IMEngine/Makefile.* || die
63 sed -i -e "s:^LDFLAGS = :LDFLAGS = -ldl :g" \
64 -e "s:^\(test.*LDFLAGS.*\):\1 -ldl:g" \
65 ${S}/tests/Makefile.* || die
66 sed -i -e "s:GTK_VERSION=2.3.5:GTK_VERSION=2.4.0:" \
67 ${S}/configure || die
68 }
69
70 src_compile() {
71 use gnome || G2CONF="${G2CONF} --disable-config-gconf"
72 gnome2_src_compile
73 }
74
75 src_install() {
76 gnome2_src_install || die "install failed"
77 dodoc README AUTHORS ChangeLog docs/developers docs/scim.cfg
78 dohtml -r docs/html/*
79 }
80
81 pkg_postinst() {
82 einfo
83 einfo "To use SCIM with both GTK2 and XIM, you should use the following"
84 einfo "in your user startup scripts such as .gnomerc or .xinitrc:"
85 einfo
86 einfo "LANG='your_language' scim -d"
87 einfo "export XMODIFIERS=@im=SCIM"
88 einfo
89 einfo "where 'your_language' can be zh_CN, zh_TW, ja_JP.eucJP or any other"
90 einfo "UTF-8 locale such as en_US.UTF-8 or ja_JP.UTF-8"
91 einfo
92 einfo "If you prefer KDE/Qt interface, try emerge app-i18n/skim."
93 einfo
94 einfo "To use Chinese input methods:"
95 einfo " # emerge app-i18n/scim-tables app-i18n/scim-chinese"
96 einfo "To use Korean input methods:"
97 einfo " # emerge app-i18n/scim-hangul"
98 einfo "To use Japanese input methods:"
99 einfo " # emerge app-i18n/scim-uim"
100 einfo "To use various input methods (more than 30 languages):"
101 einfo " # emerge app-i18n/scim-m17n"
102 einfo
103
104 gtk-query-immodules-2.0 > ${ROOT}etc/gtk-2.0/gtk.immodules
105 }
106
107 pkg_postrm() {
108
109 gtk-query-immodules-2.0 > ${ROOT}etc/gtk-2.0/gtk.immodules
110 }

  ViewVC Help
Powered by ViewVC 1.1.20