1 |
jmglov 08/05/04 01:54:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xemacs-21.5.28.ebuild |
5 |
Log: |
6 |
initial revision of app-editors/xemacs-21.5.28 |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.111 app-editors/xemacs/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/xemacs/ChangeLog?rev=1.111&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/xemacs/ChangeLog?rev=1.111&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/xemacs/ChangeLog?r1=1.110&r2=1.111 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v |
19 |
retrieving revision 1.110 |
20 |
retrieving revision 1.111 |
21 |
diff -u -r1.110 -r1.111 |
22 |
--- ChangeLog 11 Apr 2008 14:17:36 -0000 1.110 |
23 |
+++ ChangeLog 4 May 2008 01:54:46 -0000 1.111 |
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.110 2008/04/11 14:17:36 graaff Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.111 2008/05/04 01:54:46 jmglov Exp $ |
29 |
+ |
30 |
+*xemacs-21.5.28 (03 May 2008) |
31 |
+ |
32 |
+ 03 May 2008; Josh Glover <jmglov@g.o> +xemacs-21.5.28.ebuild: |
33 |
+ Version bump |
34 |
|
35 |
11 Apr 2008; Hans de Graaff <graaff@g.o> xemacs-21.4.21-r1.ebuild: |
36 |
Bump to stable since the bug fix in -r1 only affects a shell script that |
37 |
|
38 |
|
39 |
|
40 |
1.1 app-editors/xemacs/xemacs-21.5.28.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/xemacs/xemacs-21.5.28.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/xemacs/xemacs-21.5.28.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: xemacs-21.5.28.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.5.28.ebuild,v 1.1 2008/05/04 01:54:46 jmglov Exp $ |
50 |
|
51 |
inherit autotools eutils |
52 |
|
53 |
DESCRIPTION="highly customizable open source text editor and application development system" |
54 |
HOMEPAGE="http://www.xemacs.org/" |
55 |
SRC_URI="http://ftp.xemacs.org/pub/xemacs/beta/${P}.tar.gz" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~x86" |
60 |
IUSE="athena berkdb canna debug dnd esd freewnn gdbm gif gnome gpm gtk hesiod ipv6 jpeg kerberos ldap motif mule nas neXt ncurses png pop postgres purify quantify socks5 tooltalk tiff X Xaw3d xface xft xim xpm zlib" |
61 |
|
62 |
DEPEND="virtual/libc |
63 |
!virtual/xemacs |
64 |
>=dev-libs/openssl-0.9.6 |
65 |
>=media-libs/audiofile-0.2.3 |
66 |
>=sys-libs/ncurses-5.2 |
67 |
>=app-admin/eselect-emacs-0.7-r1 |
68 |
berkdb? ( =sys-libs/db-1* >=sys-libs/gdbm-1.8.0 ) |
69 |
canna? ( app-i18n/canna ) |
70 |
dnd? ( x11-libs/dnd ) |
71 |
esd? ( media-sound/esound ) |
72 |
freewnn? ( app-i18n/freewnn ) |
73 |
gdbm? ( sys-libs/gdbm ) |
74 |
gif? ( media-libs/giflib ) |
75 |
gnome? ( gnome-base/libgnomeui ) |
76 |
gpm? ( sys-libs/gpm ) |
77 |
gtk? ( =x11-libs/gtk+-1.2* ) |
78 |
hesiod? ( net-dns/hesiod ) |
79 |
jpeg? ( media-libs/jpeg ) |
80 |
kerberos? ( virtual/krb5 ) |
81 |
ldap? ( net-nds/openldap ) |
82 |
motif? ( x11-libs/openmotif ) |
83 |
nas? ( media-libs/nas ) |
84 |
ncurses? ( sys-libs/ncurses ) |
85 |
png? ( media-libs/libpng ) |
86 |
postgres? ( >=dev-db/postgresql-7.2 ) |
87 |
socks5? ( >=net-proxy/dante-1.1.13 ) |
88 |
tiff? ( media-libs/tiff ) |
89 |
xface? ( media-libs/compface ) |
90 |
xft? ( virtual/xft ) |
91 |
xpm? ( x11-libs/libXpm ) |
92 |
zlib? ( >=sys-libs/zlib-1.1.4 )" |
93 |
|
94 |
PDEPEND="app-xemacs/xemacs-base" |
95 |
|
96 |
PROVIDE="virtual/xemacs" |
97 |
|
98 |
src_compile() { |
99 |
local myconf="" |
100 |
|
101 |
if use X; then |
102 |
|
103 |
myconf="${myconf} --with-widgets=athena" |
104 |
myconf="${myconf} --with-dialogs=athena" |
105 |
myconf="${myconf} --with-menubars=lucid" |
106 |
myconf="${myconf} --with-scrollbars=lucid" |
107 |
if use motif ; then |
108 |
myconf="--with-widgets=motif" |
109 |
myconf="${myconf} --with-dialogs=motif" |
110 |
myconf="${myconf} --with-scrollbars=motif" |
111 |
myconf="${myconf} --with-menubars=lucid" |
112 |
fi |
113 |
if use athena ; then |
114 |
myconf="--with-scrollbars=athena" |
115 |
fi |
116 |
|
117 |
if use Xaw3d; then |
118 |
myconf="${myconf} --with-athena=3d" |
119 |
elif use neXt; then |
120 |
myconf="${myconf} --with-athena=next" |
121 |
else |
122 |
myconf="${myconf} --with-athena=xaw" |
123 |
fi |
124 |
|
125 |
use dnd && myconf="${myconf} --with-dragndrop --with-offix" |
126 |
|
127 |
myconf="${myconf} $(use_with tiff ) $(use_with png )" |
128 |
myconf="${myconf} $(use_with jpeg ) $(use_with xface )" |
129 |
else |
130 |
myconf="${myconf} |
131 |
--without-x |
132 |
--without-xpm |
133 |
--without-dragndrop |
134 |
--with-gif=no" |
135 |
fi |
136 |
|
137 |
if use mule ; then |
138 |
myconf="${myconf} --with-mule" |
139 |
|
140 |
if use xim ; then |
141 |
if use motif ; then |
142 |
myconf="${myconf} --with-xim=motif" |
143 |
else |
144 |
myconf="${myconf} --with-xim=xlib" |
145 |
fi |
146 |
else |
147 |
myconf="${myconf} --with-xim=no" |
148 |
fi |
149 |
|
150 |
myconf="${myconf} $(use_with canna ) $(use_with freewnn wnn )" |
151 |
fi |
152 |
|
153 |
# This determines the type of sounds we are playing |
154 |
local soundconf="native" |
155 |
|
156 |
# This determines how these sounds should be played |
157 |
use nas && soundconf="${soundconf},nas" |
158 |
use esd && soundconf="${soundconf},esd" |
159 |
|
160 |
myconf="${myconf} --with-sound=${soundconf}" |
161 |
|
162 |
if use gdbm || use berkdb ; then |
163 |
use gdbm && mydb="gdbm" |
164 |
|
165 |
use berkdb && mydb="${mydb},berkdb" |
166 |
|
167 |
myconf="${myconf} --with-database=${mydb}" |
168 |
else |
169 |
myconf="${myconf} --with-database=no" |
170 |
fi |
171 |
|
172 |
# Don't use econf because it uses options which this configure |
173 |
# script does not understand (like --host). |
174 |
./configure ${myconf} ${EXTRA_ECONF} \ |
175 |
$(use_with debug ) \ |
176 |
$(use_with gif ) \ |
177 |
$(use_with gpm ) \ |
178 |
$(use_with hesiod ) \ |
179 |
$(use_with ipv6 ipv6-cname ) \ |
180 |
$(use_with jpeg ) \ |
181 |
$(use_with kerberos ) \ |
182 |
$(use_with ldap ) \ |
183 |
$(use_with ncurses ) \ |
184 |
$(use_with png ) \ |
185 |
$(use_with pop ) \ |
186 |
$(use_with postgres postgresql ) \ |
187 |
$(use_with purify ) \ |
188 |
$(use_with quantify ) \ |
189 |
$(use_with socks5 socks ) \ |
190 |
$(use_with tiff ) \ |
191 |
$(use_with tooltalk ) \ |
192 |
$(use_with xface ) \ |
193 |
$(use_with xpm ) \ |
194 |
$(use_with zlib ) \ |
195 |
--prefix=/usr \ |
196 |
--with-msw=no \ |
197 |
--with-site-lisp=yes \ |
198 |
--with-site-modules=yes \ |
199 |
|| die "The configure script failed to run properly" |
200 |
|
201 |
emake || die "emake failed" |
202 |
} |
203 |
|
204 |
src_install() { |
205 |
emake prefix="${D}"/usr \ |
206 |
mandir="${D}"/usr/share/man/man1 \ |
207 |
infodir="${D}"/usr/share/info \ |
208 |
install gzip-el || die "emake install failed" |
209 |
|
210 |
# Rename some applications installed in bin so that it is clear |
211 |
# which application installed them and so that conflicting |
212 |
# packages (emacs) can't clobber the actual applications. |
213 |
# Addresses bug #62991. |
214 |
for i in b2m ctags etags rcs-checkin ; do |
215 |
mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed" |
216 |
done |
217 |
|
218 |
# rename man pages |
219 |
for i in ctags etags; do |
220 |
mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed" |
221 |
done |
222 |
|
223 |
# install base packages directories |
224 |
dodir /usr/lib/xemacs/xemacs-packages/ |
225 |
dodir /usr/lib/xemacs/site-packages/ |
226 |
dodir /usr/lib/xemacs/site-modules/ |
227 |
dodir /usr/lib/xemacs/site-lisp/ |
228 |
|
229 |
# remove extraneous info files |
230 |
cd "${D}"/usr/share/info |
231 |
rm -f dir info.info texinfo* termcap* standards* |
232 |
|
233 |
cd "${S}" |
234 |
dodoc BUGS CHANGES-* ChangeLog GETTING* INSTALL PROBLEMS README* |
235 |
dodoc "${FILESDIR}"/README.Gentoo |
236 |
|
237 |
insinto /usr/share/pixmaps |
238 |
newins "${S}"/etc/${PN}-icon.xpm ${PN}.xpm |
239 |
|
240 |
insinto /usr/share/applications |
241 |
doins "${FILESDIR}"/${PN}.desktop |
242 |
} |
243 |
|
244 |
pkg_postinst() { |
245 |
eselect emacs update --if-unset |
246 |
} |
247 |
|
248 |
pkg_postrm() { |
249 |
eselect emacs update --if-unset |
250 |
} |
251 |
|
252 |
|
253 |
|
254 |
-- |
255 |
gentoo-commits@l.g.o mailing list |