1 |
graaff 11/04/30 08:03:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xemacs-21.5.31.ebuild |
5 |
Log: |
6 |
Version bump. License has changed to GPL-3. Drop patch now applied upstream. |
7 |
|
8 |
(Portage version: 2.1.9.42/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.144 app-editors/xemacs/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/xemacs/ChangeLog?rev=1.144&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/xemacs/ChangeLog?rev=1.144&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/xemacs/ChangeLog?r1=1.143&r2=1.144 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v |
20 |
retrieving revision 1.143 |
21 |
retrieving revision 1.144 |
22 |
diff -u -r1.143 -r1.144 |
23 |
--- ChangeLog 27 Apr 2011 18:02:18 -0000 1.143 |
24 |
+++ ChangeLog 30 Apr 2011 08:03:43 -0000 1.144 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-editors/xemacs |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.143 2011/04/27 18:02:18 graaff Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.144 2011/04/30 08:03:43 graaff Exp $ |
30 |
+ |
31 |
+*xemacs-21.5.31 (30 Apr 2011) |
32 |
+ |
33 |
+ 30 Apr 2011; Hans de Graaff <graaff@g.o> +xemacs-21.5.31.ebuild: |
34 |
+ Version bump. License has changed to GPL-3. Drop patch now applied |
35 |
+ upstream. |
36 |
|
37 |
*xemacs-21.5.30 (27 Apr 2011) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 app-editors/xemacs/xemacs-21.5.31.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/xemacs/xemacs-21.5.31.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/xemacs/xemacs-21.5.31.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: xemacs-21.5.31.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.5.31.ebuild,v 1.1 2011/04/30 08:03:43 graaff Exp $ |
52 |
|
53 |
# Note: xemacs currently does not work with a hardened profile. If you |
54 |
# want to use xemacs on a hardened profile then compile with the |
55 |
# -nopie flag in CFLAGS or help fix bug #75028. |
56 |
|
57 |
EAPI="2" |
58 |
|
59 |
export WANT_AUTOCONF="2.5" |
60 |
inherit eutils flag-o-matic multilib |
61 |
|
62 |
DESCRIPTION="highly customizable open source text editor and application development system" |
63 |
HOMEPAGE="http://www.xemacs.org/" |
64 |
SRC_URI="http://ftp.xemacs.org/xemacs-21.5/${P}.tar.gz |
65 |
http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz" |
66 |
|
67 |
LICENSE="GPL-3" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
70 |
IUSE="alsa debug eolconv esd gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xft xim athena neXt Xaw3d gdbm berkdb" |
71 |
|
72 |
X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps" |
73 |
|
74 |
RDEPEND=" |
75 |
berkdb? ( sys-libs/db ) |
76 |
gdbm? ( >=sys-libs/gdbm-1.8.3 ) |
77 |
>=sys-libs/zlib-1.1.4 |
78 |
>=dev-libs/openssl-0.9.6 |
79 |
>=media-libs/audiofile-0.2.3 |
80 |
gpm? ( >=sys-libs/gpm-1.19.6 ) |
81 |
postgres? ( dev-db/postgresql-base ) |
82 |
ldap? ( net-nds/openldap ) |
83 |
alsa? ( media-libs/alsa-lib ) |
84 |
esd? ( media-sound/esound ) |
85 |
nas? ( media-libs/nas ) |
86 |
X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) ) |
87 |
dnd? ( x11-libs/dnd ) |
88 |
motif? ( >=x11-libs/openmotif-2.3:0[xft=] ) |
89 |
athena? ( x11-libs/libXaw ) |
90 |
Xaw3d? ( x11-libs/Xaw3d ) |
91 |
xft? ( media-libs/freetype x11-libs/libXft x11-libs/libXrender >=media-libs/fontconfig-2.5.0 ) |
92 |
neXt? ( x11-libs/neXtaw ) |
93 |
xface? ( media-libs/compface ) |
94 |
tiff? ( media-libs/tiff ) |
95 |
png? ( >=media-libs/libpng-1.2 ) |
96 |
jpeg? ( virtual/jpeg ) |
97 |
canna? ( app-i18n/canna ) |
98 |
freewnn? ( app-i18n/freewnn ) |
99 |
>=sys-libs/ncurses-5.2" |
100 |
|
101 |
DEPEND="${RDEPEND} |
102 |
>=app-admin/eselect-emacs-1.2" |
103 |
|
104 |
PDEPEND="app-xemacs/xemacs-base |
105 |
mule? ( app-xemacs/mule-base )" |
106 |
|
107 |
src_unpack() { |
108 |
default_src_unpack |
109 |
|
110 |
use neXt && unpack NeXT_XEmacs.tar.gz |
111 |
} |
112 |
|
113 |
src_prepare() { |
114 |
# Fix problem caused by improper optimization with GCC 4.1.2 on x86 |
115 |
# (and possibly other arches, but only confirmed on x86). See |
116 |
# http://tracker.xemacs.org/XEmacs/its/issue354 for the upstream |
117 |
# bug. |
118 |
epatch "${FILESDIR}"/${PN}-21.5.29-optimization-bug.patch |
119 |
|
120 |
use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/ |
121 |
} |
122 |
|
123 |
src_configure() { |
124 |
local myconf="" |
125 |
|
126 |
if use X; then |
127 |
|
128 |
myconf="${myconf} --with-widgets=athena" |
129 |
myconf="${myconf} --with-dialogs=athena" |
130 |
myconf="${myconf} --with-menubars=lucid" |
131 |
myconf="${myconf} --with-scrollbars=lucid" |
132 |
if use motif ; then |
133 |
myconf="--with-widgets=motif" |
134 |
myconf="${myconf} --with-dialogs=motif" |
135 |
myconf="${myconf} --with-scrollbars=motif" |
136 |
myconf="${myconf} --with-menubars=lucid" |
137 |
fi |
138 |
if use athena or use Xaw3d ; then |
139 |
myconf="--with-scrollbars=athena" |
140 |
fi |
141 |
|
142 |
if use Xaw3d; then |
143 |
myconf="${myconf} --with-athena=3d" |
144 |
elif use neXt; then |
145 |
myconf="${myconf} --with-athena=next" |
146 |
else |
147 |
myconf="${myconf} --with-athena=xaw" |
148 |
fi |
149 |
|
150 |
use dnd && myconf="${myconf} --with-dragndrop --with-offix" |
151 |
|
152 |
myconf="${myconf} $(use_with tiff )" |
153 |
myconf="${myconf} $(use_with png )" |
154 |
myconf="${myconf} $(use_with jpeg )" |
155 |
myconf="${myconf} $(use_with xface )" |
156 |
|
157 |
use xft && myconf="${myconf} --with-xft=emacs,tabs,menubars,gauges" || |
158 |
myconf="${myconf} --with-xft=no" |
159 |
|
160 |
else |
161 |
myconf="${myconf} |
162 |
--without-x |
163 |
--without-xpm |
164 |
--without-dragndrop |
165 |
--with-xft=no |
166 |
--with-gif=no" |
167 |
fi |
168 |
|
169 |
if use mule ; then |
170 |
myconf="${myconf} --with-mule" |
171 |
|
172 |
if use xim ; then |
173 |
if use motif ; then |
174 |
myconf="${myconf} --with-xim=motif" |
175 |
else |
176 |
myconf="${myconf} --with-xim=xlib" |
177 |
fi |
178 |
else |
179 |
myconf="${myconf} --with-xim=no" |
180 |
fi |
181 |
|
182 |
myconf="${myconf} $(use_with canna )" |
183 |
myconf="${myconf} $(use_with freewnn wnn )" |
184 |
fi |
185 |
|
186 |
# This determines the type of sounds we are playing |
187 |
local soundconf="native" |
188 |
|
189 |
# This determines how these sounds should be played |
190 |
use nas && soundconf="${soundconf},nas" |
191 |
use esd && soundconf="${soundconf},esd" |
192 |
use alsa && soundconf="${soundconf},alsa" |
193 |
|
194 |
myconf="${myconf} --with-sound=${soundconf}" |
195 |
|
196 |
if use gdbm || use berkdb ; then |
197 |
use gdbm && mydb="gdbm" |
198 |
use berkdb && mydb="${mydb},berkdb" |
199 |
|
200 |
myconf="${myconf} --with-database=${mydb}" |
201 |
else |
202 |
myconf="${myconf} --without-database" |
203 |
fi |
204 |
|
205 |
use debug && myconf="${myconf} --with-optimization=no --with-debug" || |
206 |
myconf="${myconf} --with-optimization=yes" |
207 |
|
208 |
econf ${myconf} \ |
209 |
$(use_with gif ) \ |
210 |
$(use_with gpm ) \ |
211 |
$(use_with postgres postgresql ) \ |
212 |
$(use_with ldap ) \ |
213 |
$(use_with eolconv file-coding ) \ |
214 |
$(use_with pop ) \ |
215 |
--prefix=/usr \ |
216 |
--with-ncurses \ |
217 |
--with-msw=no \ |
218 |
--with-mail-locking=flock \ |
219 |
--with-site-lisp=yes \ |
220 |
--with-site-modules=yes \ |
221 |
--with-newgc \ |
222 |
--with-optimizations \ |
223 |
--enable-option-checking=no \ |
224 |
--with-last-packages=/usr/lib/xemacs \ |
225 |
|| die "configuration failed" |
226 |
} |
227 |
|
228 |
src_install() { |
229 |
emake prefix="${D}"/usr \ |
230 |
mandir="${D}"/usr/share/man/man1 \ |
231 |
infodir="${D}"/usr/share/info \ |
232 |
libdir="${D}"/usr/$(get_libdir) \ |
233 |
datadir="${D}"/usr/share \ |
234 |
install gzip-el || die |
235 |
|
236 |
# Rename some applications installed in bin so that it is clear |
237 |
# which application installed them and so that conflicting |
238 |
# packages (emacs) can't clobber the actual applications. |
239 |
# Addresses bug #62991. |
240 |
for i in b2m ctags etags ; do |
241 |
mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed" |
242 |
done |
243 |
|
244 |
# rename man pages |
245 |
for i in ctags etags; do |
246 |
mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed" |
247 |
done |
248 |
|
249 |
# install base packages directories |
250 |
dodir /usr/lib/xemacs/xemacs-packages/ |
251 |
dodir /usr/lib/xemacs/site-packages/ |
252 |
dodir /usr/lib/xemacs/site-modules/ |
253 |
dodir /usr/lib/xemacs/site-lisp/ |
254 |
|
255 |
if use mule; |
256 |
then |
257 |
dodir /usr/lib/xemacs/mule-packages |
258 |
fi |
259 |
|
260 |
# remove extraneous info files |
261 |
cd "${D}"/usr/share/info |
262 |
rm -f dir info.info texinfo* termcap* standards* |
263 |
|
264 |
cd "${S}" |
265 |
dodoc CHANGES-* ChangeLog INSTALL Installation PROBLEMS README* |
266 |
|
267 |
insinto /usr/share/pixmaps |
268 |
newins "${S}"/etc/${PN}-icon.xpm ${PN}.xpm |
269 |
|
270 |
insinto /usr/share/applications |
271 |
doins "${FILESDIR}"/${PN}.desktop |
272 |
} |
273 |
|
274 |
pkg_postinst() { |
275 |
eselect emacs update ifunset |
276 |
|
277 |
einfo "If you are upgrading from XEmacs 21.4 you should note the following" |
278 |
einfo "incompatibilities:" |
279 |
einfo "- Mule-UCS is no longer supported due to proper UTF-8 support in XEmacs 21.5" |
280 |
einfo "- The X resource class has changed from Emacs to XEmacs," |
281 |
einfo " settings in your .Xdefaults file should be updated accordingly." |
282 |
|
283 |
if use xft; |
284 |
then |
285 |
einfo "You have enabled Xft font support. Xft requires font names to be provided" |
286 |
einfo "in a different way, so you may need to adjust your .Xdefaults accordingly." |
287 |
fi |
288 |
} |
289 |
|
290 |
pkg_postrm() { |
291 |
eselect emacs update ifunset |
292 |
} |