1 |
graaff 09/01/02 08:31:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xemacs-21.4.22.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
(Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r7 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.117 app-editors/xemacs/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/xemacs/ChangeLog?rev=1.117&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/xemacs/ChangeLog?rev=1.117&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/xemacs/ChangeLog?r1=1.116&r2=1.117 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v |
19 |
retrieving revision 1.116 |
20 |
retrieving revision 1.117 |
21 |
diff -u -r1.116 -r1.117 |
22 |
--- ChangeLog 30 Dec 2008 13:31:39 -0000 1.116 |
23 |
+++ ChangeLog 2 Jan 2009 08:31:29 -0000 1.117 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-editors/xemacs |
26 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.116 2008/12/30 13:31:39 graaff Exp $ |
28 |
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.117 2009/01/02 08:31:29 graaff Exp $ |
30 |
+ |
31 |
+*xemacs-21.4.22 (02 Jan 2009) |
32 |
+ |
33 |
+ 02 Jan 2009; Hans de Graaff <graaff@g.o> +xemacs-21.4.22.ebuild: |
34 |
+ Version bump with minor bugfixes. |
35 |
|
36 |
30 Dec 2008; Hans de Graaff <graaff@g.o> -xemacs-21.4.21.ebuild, |
37 |
xemacs-21.4.21-r1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-editors/xemacs/xemacs-21.4.22.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/xemacs/xemacs-21.4.22.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/xemacs/xemacs-21.4.22.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: xemacs-21.4.22.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.22.ebuild,v 1.1 2009/01/02 08:31:29 graaff Exp $ |
51 |
|
52 |
# Note: xemacs currently does not work with a hardened profile. If you |
53 |
# want to use xemacs on a hardened profile then compile with the |
54 |
# -nopie flag in CFLAGS or help fix bug #75028. |
55 |
|
56 |
export WANT_AUTOCONF="2.1" |
57 |
inherit autotools eutils |
58 |
|
59 |
DESCRIPTION="highly customizable open source text editor and application development system" |
60 |
HOMEPAGE="http://www.xemacs.org/" |
61 |
SRC_URI="http://ftp.xemacs.org/xemacs-21.4/${P}.tar.gz |
62 |
http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
67 |
IUSE="eolconv esd gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xim athena neXt Xaw3d gdbm berkdb" |
68 |
|
69 |
X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps" |
70 |
|
71 |
DEPEND="virtual/libc |
72 |
!virtual/xemacs |
73 |
berkdb? ( sys-libs/db ) |
74 |
gdbm? ( >=sys-libs/gdbm-1.8.3 ) |
75 |
>=sys-libs/zlib-1.1.4 |
76 |
>=dev-libs/openssl-0.9.6 |
77 |
>=media-libs/audiofile-0.2.3 |
78 |
gpm? ( >=sys-libs/gpm-1.19.6 ) |
79 |
postgres? ( >=virtual/postgresql-base-7.2 ) |
80 |
ldap? ( net-nds/openldap ) |
81 |
esd? ( media-sound/esound ) |
82 |
nas? ( media-libs/nas ) |
83 |
X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) ) |
84 |
dnd? ( x11-libs/dnd ) |
85 |
motif? ( >=x11-libs/openmotif-2.1.30 ) |
86 |
athena? ( x11-libs/libXaw ) |
87 |
Xaw3d? ( x11-libs/Xaw3d ) |
88 |
neXt? ( x11-libs/neXtaw ) |
89 |
xface? ( media-libs/compface ) |
90 |
tiff? ( media-libs/tiff ) |
91 |
png? ( =media-libs/libpng-1.2* ) |
92 |
jpeg? ( media-libs/jpeg ) |
93 |
canna? ( app-i18n/canna ) |
94 |
!amd64? ( freewnn? ( app-i18n/freewnn ) ) |
95 |
>=sys-libs/ncurses-5.2 |
96 |
>=app-admin/eselect-emacs-1.2" |
97 |
|
98 |
PDEPEND="app-xemacs/xemacs-base |
99 |
mule? ( app-xemacs/mule-base )" |
100 |
|
101 |
PROVIDE="virtual/xemacs" |
102 |
|
103 |
src_unpack() { |
104 |
unpack ${P}.tar.gz |
105 |
use neXt && unpack NeXT_XEmacs.tar.gz |
106 |
|
107 |
cd "${S}" |
108 |
epatch "${FILESDIR}"/xemacs-21.4.19-texi.patch |
109 |
|
110 |
# see bug 58350, 102540 and 143580 |
111 |
epatch "${FILESDIR}"/xemacs-21.4.19-db.patch |
112 |
|
113 |
# Security bug #216880 |
114 |
epatch "${FILESDIR}"/xemacs-21.4.21-vcdiff.patch |
115 |
|
116 |
# Run autoconf. XEmacs tries to be smart by providing a stub |
117 |
# configure.ac file for autoconf 2.59 but this throws our |
118 |
# autotools eclass so it must be removed first. |
119 |
rm "${S}"/configure.ac |
120 |
eautoconf |
121 |
|
122 |
use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/ |
123 |
} |
124 |
|
125 |
src_compile() { |
126 |
local myconf="" |
127 |
|
128 |
if use X; then |
129 |
|
130 |
myconf="${myconf} --with-widgets=athena" |
131 |
myconf="${myconf} --with-dialogs=athena" |
132 |
myconf="${myconf} --with-menubars=lucid" |
133 |
myconf="${myconf} --with-scrollbars=lucid" |
134 |
if use motif ; then |
135 |
myconf="--with-widgets=motif" |
136 |
myconf="${myconf} --with-dialogs=motif" |
137 |
myconf="${myconf} --with-scrollbars=motif" |
138 |
myconf="${myconf} --with-menubars=lucid" |
139 |
fi |
140 |
if use athena ; then |
141 |
myconf="--with-scrollbars=athena" |
142 |
fi |
143 |
|
144 |
if use Xaw3d; then |
145 |
myconf="${myconf} --with-athena=3d" |
146 |
elif use neXt; then |
147 |
myconf="${myconf} --with-athena=next" |
148 |
else |
149 |
myconf="${myconf} --with-athena=xaw" |
150 |
fi |
151 |
|
152 |
use dnd && myconf="${myconf} --with-dragndrop --with-offix" |
153 |
|
154 |
myconf="${myconf} $(use_with tiff ) $(use_with png )" |
155 |
myconf="${myconf} $(use_with jpeg ) $(use_with xface )" |
156 |
else |
157 |
myconf="${myconf} |
158 |
--without-x |
159 |
--without-xpm |
160 |
--without-dragndrop |
161 |
--with-gif=no" |
162 |
fi |
163 |
|
164 |
if use mule ; then |
165 |
myconf="${myconf} --with-mule" |
166 |
|
167 |
if use xim ; then |
168 |
if use motif ; then |
169 |
myconf="${myconf} --with-xim=motif" |
170 |
else |
171 |
myconf="${myconf} --with-xim=xlib" |
172 |
fi |
173 |
else |
174 |
myconf="${myconf} --with-xim=no" |
175 |
fi |
176 |
|
177 |
myconf="${myconf} $(use_with canna ) $(use_with freewnn wnn )" |
178 |
fi |
179 |
|
180 |
# This determines the type of sounds we are playing |
181 |
local soundconf="native" |
182 |
|
183 |
# This determines how these sounds should be played |
184 |
use nas && soundconf="${soundconf},nas" |
185 |
use esd && soundconf="${soundconf},esd" |
186 |
|
187 |
myconf="${myconf} --with-sound=${soundconf}" |
188 |
|
189 |
if use gdbm || use berkdb ; then |
190 |
use gdbm && mydb="gdbm" |
191 |
|
192 |
use berkdb && mydb="${mydb},berkdb" |
193 |
|
194 |
myconf="${myconf} --with-database=${mydb}" |
195 |
else |
196 |
myconf="${myconf} --without-database" |
197 |
fi |
198 |
|
199 |
# fixes #21264, this should be fixed in 21.4.21 and has been fixed |
200 |
# in 21.5 for sure. Now that 21.4.21 is out there is no real |
201 |
# evidence that this indeed got fixed, so keep these exceptions |
202 |
# for now. |
203 |
use alpha && myconf="${myconf} --with-system-malloc" |
204 |
use ppc64 && myconf="${myconf} --with-system-malloc" |
205 |
use ia64 && myconf="${myconf} --with-system-malloc" |
206 |
|
207 |
# Enabling modules will cause segfaults outside the XEmacs build directory |
208 |
use ia64 && myconf="${myconf} --without-modules" |
209 |
|
210 |
einfo "${myconf}" |
211 |
|
212 |
# Don't use econf because it uses options which this configure |
213 |
# script does not understand (like --host). |
214 |
./configure ${myconf} ${EXTRA_ECONF} \ |
215 |
$(use_with gif ) \ |
216 |
$(use_with gpm ) \ |
217 |
$(use_with postgres postgresql ) \ |
218 |
$(use_with ldap ) \ |
219 |
$(use_with eolconv file-coding ) \ |
220 |
$(use_with pop ) \ |
221 |
--prefix=/usr \ |
222 |
--with-ncurses \ |
223 |
--with-msw=no \ |
224 |
--mail-locking=flock \ |
225 |
--with-site-lisp=yes \ |
226 |
--with-site-modules=yes \ |
227 |
|| die "The configure script failed to run properly" |
228 |
|
229 |
emake || die "emake failed" |
230 |
} |
231 |
|
232 |
src_install() { |
233 |
emake prefix="${D}"/usr \ |
234 |
mandir="${D}"/usr/share/man/man1 \ |
235 |
infodir="${D}"/usr/share/info \ |
236 |
install gzip-el || die "emake install failed" |
237 |
|
238 |
# Rename some applications installed in bin so that it is clear |
239 |
# which application installed them and so that conflicting |
240 |
# packages (emacs) can't clobber the actual applications. |
241 |
# Addresses bug #62991. |
242 |
for i in b2m ctags etags rcs-checkin ; do |
243 |
mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed" |
244 |
done |
245 |
|
246 |
# rename man pages |
247 |
for i in ctags etags; do |
248 |
mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed" |
249 |
done |
250 |
|
251 |
# install base packages directories |
252 |
dodir /usr/lib/xemacs/xemacs-packages/ |
253 |
dodir /usr/lib/xemacs/site-packages/ |
254 |
dodir /usr/lib/xemacs/site-modules/ |
255 |
dodir /usr/lib/xemacs/site-lisp/ |
256 |
|
257 |
if use mule; |
258 |
then |
259 |
dodir /usr/lib/xemacs/mule-packages |
260 |
fi |
261 |
|
262 |
# remove extraneous info files |
263 |
cd "${D}"/usr/share/info |
264 |
rm -f dir info.info texinfo* termcap* standards* |
265 |
|
266 |
cd "${S}" |
267 |
dodoc BUGS CHANGES-* ChangeLog GETTING* INSTALL PROBLEMS README* |
268 |
dodoc "${FILESDIR}"/README.Gentoo |
269 |
|
270 |
insinto /usr/share/pixmaps |
271 |
newins "${S}"/etc/${PN}-icon.xpm ${PN}.xpm |
272 |
|
273 |
insinto /usr/share/applications |
274 |
doins "${FILESDIR}"/${PN}.desktop |
275 |
} |
276 |
|
277 |
pkg_postinst() { |
278 |
eselect emacs update ifunset |
279 |
} |
280 |
|
281 |
pkg_postrm() { |
282 |
eselect emacs update ifunset |
283 |
} |