Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/xsim: ChangeLog xsim-0.3.9.4-r2.ebuild xsim-0.3.9.4-r5.ebuild
Date: Tue, 09 Sep 2008 15:03:48
Message-Id: E1Kd4kr-0001bY-Ax@stork.gentoo.org
1 matsuu 08/09/09 15:03:45
2
3 Modified: ChangeLog xsim-0.3.9.4-r2.ebuild
4 Added: xsim-0.3.9.4-r5.ebuild
5 Log:
6 Fixed compile problem on gcc-4.3, bug #227117. Fixed kdelibs dependency, bug #213425.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 x86_64)
8
9 Revision Changes Path
10 1.17 app-i18n/xsim/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/xsim/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/xsim/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/xsim/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-i18n/xsim/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 4 May 2008 15:06:48 -0000 1.16
23 +++ ChangeLog 9 Sep 2008 15:03:44 -0000 1.17
24 @@ -1,6 +1,14 @@
25 # ChangeLog for app-i18n/xsim
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/ChangeLog,v 1.16 2008/05/04 15:06:48 matsuu Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/ChangeLog,v 1.17 2008/09/09 15:03:44 matsuu Exp $
29 +
30 +*xsim-0.3.9.4-r5 (09 Sep 2008)
31 +
32 + 09 Sep 2008; MATSUU Takuto <matsuu@g.o>
33 + +files/xsim-0.3.9.4-gcc-4.3.patch, xsim-0.3.9.4-r2.ebuild,
34 + +xsim-0.3.9.4-r5.ebuild:
35 + Fixed compile problem on gcc-4.3, bug #227117. Fixed kdelibs dependency,
36 + bug #213425.
37
38 04 May 2008; MATSUU Takuto <matsuu@g.o> xsim-0.3.9.4-r2.ebuild,
39 -xsim-0.3.9.4-r3.ebuild, xsim-0.3.9.4-r4.ebuild:
40
41
42
43 1.12 app-i18n/xsim/xsim-0.3.9.4-r2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild?rev=1.12&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild?rev=1.12&content-type=text/plain
47 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild?r1=1.11&r2=1.12
48
49 Index: xsim-0.3.9.4-r2.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild,v
52 retrieving revision 1.11
53 retrieving revision 1.12
54 diff -u -r1.11 -r1.12
55 --- xsim-0.3.9.4-r2.ebuild 4 May 2008 15:06:48 -0000 1.11
56 +++ xsim-0.3.9.4-r2.ebuild 9 Sep 2008 15:03:44 -0000 1.12
57 @@ -1,7 +1,8 @@
58 # Copyright 1999-2008 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild,v 1.11 2008/05/04 15:06:48 matsuu Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild,v 1.12 2008/09/09 15:03:44 matsuu Exp $
62
63 +EAPI="1"
64 inherit kde-functions eutils
65
66 DESCRIPTION="A simple and fast GB and BIG5 Chinese XIM server"
67 @@ -16,7 +17,7 @@
68 DEPEND="virtual/libc
69 >=sys-libs/db-3
70 >=sys-apps/sed-4
71 - kde? ( >=kde-base/kdelibs-3 )"
72 + kde? ( kde-base/kdelibs:3.5 )"
73
74 src_unpack() {
75 unpack ${A}
76
77
78
79 1.1 app-i18n/xsim/xsim-0.3.9.4-r5.ebuild
80
81 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4-r5.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4-r5.ebuild?rev=1.1&content-type=text/plain
83
84 Index: xsim-0.3.9.4-r5.ebuild
85 ===================================================================
86 # Copyright 1999-2008 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4-r5.ebuild,v 1.1 2008/09/09 15:03:44 matsuu Exp $
89
90 EAPI="1"
91 inherit db-use eutils flag-o-matic kde-functions multilib
92
93 DESCRIPTION="A simple and fast GB and BIG5 Chinese XIM server"
94 HOMEPAGE="http://developer.berlios.de/projects/xsim/"
95 SRC_URI="mirror://berlios/xsim/${P}.tar.gz"
96
97 LICENSE="LGPL-2.1"
98 SLOT="0"
99 KEYWORDS="~amd64 ~x86"
100 IUSE="debug kde"
101
102 DEPEND=">=sys-libs/db-4.1
103 >=sys-apps/sed-4
104 kde? ( kde-base/kdelibs:3.5 )"
105
106 src_unpack() {
107 local dbver
108
109 unpack ${A}
110 cd "${S}"
111
112 epatch "${FILESDIR}"/${P}-compile-fix.patch
113 epatch "${FILESDIR}"/${P}-gcc-3.4.patch
114 epatch "${FILESDIR}"/${P}-64bit.patch
115 # bug 227117
116 epatch "${FILESDIR}"/${P}-gcc-4.3.patch
117
118 append-flags -DPIC -fPIC -fno-strict-aliasing
119
120 dbver="$(db_findver sys-libs/db)"
121 sed -i -e "s/\(CFLAGS.*\)-O2/\1${CFLAGS}/" \
122 -e "s/libdb_cxx.so/libdb_cxx-${dbver}.so/" \
123 -e "s/bdblib=\"db_cxx\"/bdblib=\"db_cxx-${dbver}\"/" configure* || die
124
125 find . -name '*.in' | xargs sed -i \
126 -e "s#\(@prefix@/\)\(dat\|plugins\)#\1$(get_libdir)/xsim/\2#" \
127 -e "s#@prefix@/etc#/etc#" || die
128 }
129
130 src_compile() {
131 local myconf
132
133 if use kde; then
134 set-qtdir 3
135 set-kdedir 3
136 myconf="${myconf}
137 --with-kde3=${KDEDIR} \
138 --with-qt3=${QTDIR} \
139 --enable-status-kde3"
140 fi
141
142 myconf="${myconf} --with-bdb-includes=$(db_includedir)"
143
144 use debug && myconf="${myconf} --enable-debug"
145
146 econf ${myconf} || die "configure failed"
147 emake || die "make failed"
148 }
149
150 src_install() {
151 emake \
152 xsim_datp="${D}"/usr/$(get_libdir)/xsim/dat \
153 xsim_libp="${D}"usr/$(get_libdir)/xsim/plugins \
154 xsim_binp="${D}"/usr/bin \
155 xsim_etcp="${D}"/etc \
156 install-data install || die "install failed"
157
158 dodoc ChangeLog KNOWNBUG README* TODO
159 }
160
161 pkg_postinst() {
162 elog "XSIM needs write access to /usr/$(get_libdir)/xsim/dat/chardb, so if you"
163 elog "not running it as root, you need to do the following:"
164 elog
165 elog " cp -r /usr/$(get_libdir)/xsim/dat \${HOME}/.xsim"
166 elog " sed -i \"s#DICT_LOCAL.*#DICT_LOCAL \${HOME}/.xsim#\" > \${HOME}/.xsim/xsimrc"
167 echo
168 }