1 |
commit: 2607fdefd97e80f126e9781022ede0c94cdec670 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 1 15:52:17 2015 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 1 15:52:17 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=2607fdef |
7 |
|
8 |
app-editors/emacs-xwidget: Remove package, the xwidget branch has been merged to master. |
9 |
|
10 |
--- |
11 |
app-editors/emacs-xwidget/ChangeLog | 87 ----- |
12 |
.../emacs-xwidget/emacs-xwidget-25.0.9999.ebuild | 375 --------------------- |
13 |
app-editors/emacs-xwidget/metadata.xml | 48 --- |
14 |
3 files changed, 510 deletions(-) |
15 |
|
16 |
diff --git a/app-editors/emacs-xwidget/ChangeLog b/app-editors/emacs-xwidget/ChangeLog |
17 |
deleted file mode 100644 |
18 |
index 1cec23c..0000000 |
19 |
--- a/app-editors/emacs-xwidget/ChangeLog |
20 |
+++ /dev/null |
21 |
@@ -1,87 +0,0 @@ |
22 |
-# ChangeLog for app-editors/emacs-xwidget |
23 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
24 |
-# $Header: $ |
25 |
- |
26 |
- 29 Dec 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-25.0.9999.ebuild: |
27 |
- Set a fake version number to avoid collisions with emacs-vcs. |
28 |
- |
29 |
-*emacs-xwidget-25.0.9999 (29 Dec 2014) |
30 |
- |
31 |
- 29 Dec 2014; Ulrich Müller <ulm@g.o> -emacs-xwidget-24.4.9999.ebuild, |
32 |
- +emacs-xwidget-25.0.9999.ebuild: |
33 |
- Upstream version number has changed. Merge changes from emacs-vcs. |
34 |
- |
35 |
- 13 Nov 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-24.4.9999.ebuild: |
36 |
- Merge changes from emacs-vcs. |
37 |
- |
38 |
-*emacs-xwidget-24.4.9999 (07 Jun 2014) |
39 |
- |
40 |
- 07 Jun 2014; Ulrich Müller <ulm@g.o> -emacs-xwidget-24.3.9999.ebuild, |
41 |
- +emacs-xwidget-24.4.9999.ebuild: |
42 |
- Upstream version number has changed. |
43 |
- |
44 |
- 06 May 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild: |
45 |
- Merge changes from emacs-vcs. |
46 |
- |
47 |
- 13 Mar 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild: |
48 |
- Merge changes from emacs-vcs. |
49 |
- |
50 |
- 19 Feb 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild: |
51 |
- Merge changes from emacs-vcs. |
52 |
- |
53 |
- 19 Jan 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild: |
54 |
- Merge changes from emacs-vcs. |
55 |
- |
56 |
- 19 Jan 2014; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild: |
57 |
- Switch from package.mask to empty KEYWORDS. |
58 |
- |
59 |
- 16 Jul 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild: |
60 |
- Install README.xwidget. |
61 |
- |
62 |
- 14 Jul 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild: |
63 |
- Merge changes from emacs-vcs. |
64 |
- |
65 |
- 15 Jun 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild, |
66 |
- metadata.xml: |
67 |
- Merge changes from emacs-vcs. |
68 |
- |
69 |
- 08 Jun 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild: |
70 |
- Merge some changes from emacs-vcs. |
71 |
- |
72 |
- 31 Mar 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild: |
73 |
- Merge changes from Portage tree. |
74 |
- |
75 |
- 27 Mar 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild, |
76 |
- metadata.xml: |
77 |
- Merge changes from emacs-vcs. |
78 |
- |
79 |
- 21 Mar 2013; Ulrich Müller <ulm@g.o> emacs-xwidget-24.3.9999.ebuild, |
80 |
- metadata.xml: |
81 |
- Merge changes from emacs-vcs. |
82 |
- |
83 |
-*emacs-xwidget-24.3.9999 (17 Nov 2012) |
84 |
- |
85 |
- 17 Nov 2012; Ulrich Müller <ulm@g.o> -emacs-xwidget-24.2.9999.ebuild, |
86 |
- +emacs-xwidget-24.3.9999.ebuild: |
87 |
- Version number has changed upstream. |
88 |
- |
89 |
- 24 Oct 2012; Ulrich Müller <ulm@g.o> emacs-xwidget-24.2.9999.ebuild: |
90 |
- Update dependency after package move from x11-libs/openmotif to |
91 |
- x11-libs/motif. |
92 |
- |
93 |
- 05 Oct 2012; Ulrich Müller <ulm@g.o> emacs-xwidget-24.2.9999.ebuild: |
94 |
- With USE=xwidgets, add webkit-gtk as dependency and enable gtk3. Drop ~hppa |
95 |
- and ~sh keywords. |
96 |
- |
97 |
-*emacs-xwidget-24.2.9999 (04 Oct 2012) |
98 |
- |
99 |
- 04 Oct 2012; Ulrich Müller <ulm@g.o> -emacs-xwidget-24.0.9999.ebuild, |
100 |
- +emacs-xwidget-24.2.9999.ebuild, metadata.xml: |
101 |
- Update from emacs-vcs ebuild. |
102 |
- |
103 |
-*emacs-xwidget-24.0.9999 (30 Sep 2011) |
104 |
- |
105 |
- 30 Sep 2011; Ulrich Mueller <ulm@g.o> +emacs-xwidget-24.0.9999.ebuild, |
106 |
- +metadata.xml: |
107 |
- Emacs xwidget branch. |
108 |
- |
109 |
|
110 |
diff --git a/app-editors/emacs-xwidget/emacs-xwidget-25.0.9999.ebuild b/app-editors/emacs-xwidget/emacs-xwidget-25.0.9999.ebuild |
111 |
deleted file mode 100644 |
112 |
index 7ae4df6..0000000 |
113 |
--- a/app-editors/emacs-xwidget/emacs-xwidget-25.0.9999.ebuild |
114 |
+++ /dev/null |
115 |
@@ -1,375 +0,0 @@ |
116 |
-# Copyright 1999-2014 Gentoo Foundation |
117 |
-# Distributed under the terms of the GNU General Public License v2 |
118 |
-# $Header: $ |
119 |
- |
120 |
-EAPI=5 |
121 |
- |
122 |
-inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo |
123 |
- |
124 |
-if [[ ${PV##*.} = 9999 ]]; then |
125 |
- inherit git-r3 |
126 |
- EGIT_REPO_URI="git://git.sv.gnu.org/emacs.git" |
127 |
- EGIT_BRANCH="xwidget" |
128 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/emacs" |
129 |
- S="${EGIT_CHECKOUT_DIR}" |
130 |
-else |
131 |
- SRC_URI="http://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz |
132 |
- mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz" |
133 |
- # FULL_VERSION keeps the full version number, which is needed in |
134 |
- # order to determine some path information correctly for copy/move |
135 |
- # operations later on |
136 |
- FULL_VERSION="${PV%%_*}" |
137 |
- S="${WORKDIR}/emacs-${FULL_VERSION}" |
138 |
-fi |
139 |
- |
140 |
-DESCRIPTION="The extensible, customizable, self-documenting real-time display editor" |
141 |
-HOMEPAGE="http://www.gnu.org/software/emacs/ |
142 |
- http://www.emacswiki.org/emacs/EmacsXembed" |
143 |
- |
144 |
-LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2" |
145 |
-SLOT="25" |
146 |
-IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib" |
147 |
-REQUIRED_USE="?? ( aqua X )" |
148 |
- |
149 |
-RDEPEND="sys-libs/ncurses |
150 |
- >=app-admin/eselect-emacs-1.16 |
151 |
- >=app-emacs/emacs-common-gentoo-1.4-r1[games?,X?] |
152 |
- net-libs/liblockfile |
153 |
- acl? ( virtual/acl ) |
154 |
- alsa? ( media-libs/alsa-lib ) |
155 |
- dbus? ( sys-apps/dbus ) |
156 |
- gfile? ( >=dev-libs/glib-2.28.6 ) |
157 |
- gnutls? ( net-libs/gnutls ) |
158 |
- gpm? ( sys-libs/gpm ) |
159 |
- hesiod? ( net-dns/hesiod ) |
160 |
- kerberos? ( virtual/krb5 ) |
161 |
- libxml2? ( >=dev-libs/libxml2-2.2.0 ) |
162 |
- selinux? ( sys-libs/libselinux ) |
163 |
- zlib? ( sys-libs/zlib ) |
164 |
- X? ( |
165 |
- x11-libs/libXmu |
166 |
- x11-libs/libXt |
167 |
- x11-misc/xbitmaps |
168 |
- gconf? ( >=gnome-base/gconf-2.26.2 ) |
169 |
- gsettings? ( >=dev-libs/glib-2.28.6 ) |
170 |
- gif? ( media-libs/giflib ) |
171 |
- jpeg? ( virtual/jpeg:0= ) |
172 |
- png? ( >=media-libs/libpng-1.4:0= ) |
173 |
- svg? ( >=gnome-base/librsvg-2.0 ) |
174 |
- tiff? ( media-libs/tiff ) |
175 |
- xpm? ( x11-libs/libXpm ) |
176 |
- imagemagick? ( >=media-gfx/imagemagick-6.6.2 ) |
177 |
- xft? ( |
178 |
- media-libs/fontconfig |
179 |
- media-libs/freetype |
180 |
- x11-libs/libXft |
181 |
- m17n-lib? ( |
182 |
- >=dev-libs/libotf-0.9.4 |
183 |
- >=dev-libs/m17n-lib-1.5.1 |
184 |
- ) |
185 |
- ) |
186 |
- gtk3? ( |
187 |
- x11-libs/gtk+:3 |
188 |
- xwidgets? ( |
189 |
- >=dev-libs/gobject-introspection-1.32.1 |
190 |
- net-libs/webkit-gtk:3 |
191 |
- ) |
192 |
- ) |
193 |
- !gtk3? ( |
194 |
- gtk? ( x11-libs/gtk+:2 ) |
195 |
- !gtk? ( |
196 |
- motif? ( >=x11-libs/motif-2.3:0 ) |
197 |
- !motif? ( |
198 |
- Xaw3d? ( x11-libs/libXaw3d ) |
199 |
- !Xaw3d? ( athena? ( x11-libs/libXaw ) ) |
200 |
- ) |
201 |
- ) |
202 |
- ) |
203 |
- )" |
204 |
- |
205 |
-DEPEND="${RDEPEND} |
206 |
- virtual/pkgconfig |
207 |
- gzip-el? ( app-arch/gzip ) |
208 |
- pax_kernel? ( |
209 |
- sys-apps/attr |
210 |
- sys-apps/paxctl |
211 |
- )" |
212 |
- |
213 |
-if [[ ${PV##*.} = 9999 ]]; then |
214 |
- DEPEND="${DEPEND} |
215 |
- sys-apps/texinfo" |
216 |
-fi |
217 |
- |
218 |
-EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}" |
219 |
-SITEFILE="20${PN}-${SLOT}-gentoo.el" |
220 |
- |
221 |
-src_prepare() { |
222 |
- # set a fake version number to avoid collisions with emacs-vcs |
223 |
- sed -i -e "/AC_INIT/s/\(25\.[0-9]*\)\.[0-9]*/\1.60/" configure.ac |
224 |
- |
225 |
- if [[ ${PV##*.} = 9999 ]]; then |
226 |
- FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \ |
227 |
- configure.ac) |
228 |
- [[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version" |
229 |
- einfo "Emacs branch: ${EGIT_BRANCH}" |
230 |
- einfo "Commit: ${EGIT_VERSION}" |
231 |
- einfo "Emacs version number: ${FULL_VERSION}" |
232 |
- [[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \ |
233 |
- || die "Upstream version number changed to ${FULL_VERSION}" |
234 |
- fi |
235 |
- |
236 |
- epatch_user |
237 |
- |
238 |
- # Fix filename reference in redirected man page |
239 |
- sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \ |
240 |
- || die "unable to sed ctags.1" |
241 |
- |
242 |
- AT_M4DIR=m4 eautoreconf |
243 |
-} |
244 |
- |
245 |
-src_configure() { |
246 |
- strip-flags |
247 |
- filter-flags -pie #526948 |
248 |
- |
249 |
- if use sh; then |
250 |
- replace-flags "-O[1-9]" -O0 #262359 |
251 |
- elif use ia64; then |
252 |
- replace-flags "-O[2-9]" -O1 #325373 |
253 |
- else |
254 |
- replace-flags "-O[3-9]" -O2 |
255 |
- fi |
256 |
- |
257 |
- local myconf |
258 |
- |
259 |
- if use alsa; then |
260 |
- use sound || ewarn \ |
261 |
- "USE flag \"alsa\" overrides \"-sound\"; enabling sound support." |
262 |
- myconf+=" --with-sound=alsa" |
263 |
- else |
264 |
- myconf+=" --with-sound=$(usex sound oss)" |
265 |
- fi |
266 |
- |
267 |
- if use X; then |
268 |
- myconf+=" --with-x --without-ns" |
269 |
- myconf+=" $(use_with gconf)" |
270 |
- myconf+=" $(use_with gsettings)" |
271 |
- myconf+=" $(use_with toolkit-scroll-bars)" |
272 |
- myconf+=" $(use_with gif)" |
273 |
- myconf+=" $(use_with jpeg)" |
274 |
- myconf+=" $(use_with png)" |
275 |
- myconf+=" $(use_with svg rsvg)" |
276 |
- myconf+=" $(use_with tiff)" |
277 |
- myconf+=" $(use_with xpm)" |
278 |
- myconf+=" $(use_with imagemagick)" |
279 |
- |
280 |
- if use xft; then |
281 |
- myconf+=" --with-xft" |
282 |
- myconf+=" $(use_with m17n-lib libotf)" |
283 |
- myconf+=" $(use_with m17n-lib m17n-flt)" |
284 |
- else |
285 |
- myconf+=" --without-xft" |
286 |
- myconf+=" --without-libotf --without-m17n-flt" |
287 |
- use m17n-lib && ewarn \ |
288 |
- "USE flag \"m17n-lib\" has no effect if \"xft\" is not set." |
289 |
- fi |
290 |
- |
291 |
- if use gtk3; then |
292 |
- einfo "Configuring to build with GIMP Toolkit (GTK+) version 3" |
293 |
- myconf+=" --with-x-toolkit=gtk3 $(use_with xwidgets)" |
294 |
- elif use gtk; then |
295 |
- einfo "Configuring to build with GIMP Toolkit (GTK+) version 2" |
296 |
- myconf+=" --with-x-toolkit=gtk2" |
297 |
- elif use motif; then |
298 |
- einfo "Configuring to build with Motif toolkit" |
299 |
- myconf+=" --with-x-toolkit=motif" |
300 |
- elif use athena || use Xaw3d; then |
301 |
- einfo "Configuring to build with Athena/Lucid toolkit" |
302 |
- myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)" |
303 |
- else |
304 |
- einfo "Configuring to build with no toolkit" |
305 |
- myconf+=" --with-x-toolkit=no" |
306 |
- fi |
307 |
- |
308 |
- local f tk |
309 |
- for f in gtk3 gtk motif Xaw3d athena; do |
310 |
- use ${f} || continue |
311 |
- [[ ${tk} = gtk* || ${tk} = motif ]] \ |
312 |
- && ewarn "USE flag \"${f}\" ignored (superseded by \"${tk}\")" |
313 |
- : ${tk:=${f}} |
314 |
- done |
315 |
- ! use gtk3 && use xwidgets && ewarn \ |
316 |
- "USE flag \"xwidgets\" has no effect if \"gtk3\" is not set." |
317 |
- elif use aqua; then |
318 |
- einfo "Configuring to build with Nextstep (Cocoa) support" |
319 |
- myconf+=" --with-ns --disable-ns-self-contained" |
320 |
- myconf+=" --without-x" |
321 |
- else |
322 |
- myconf+=" --without-x --without-ns" |
323 |
- fi |
324 |
- |
325 |
- # Save version information in the Emacs binary. It will be available |
326 |
- # in variable "system-configuration-options". |
327 |
- myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}" |
328 |
- if [[ ${PV##*.} = 9999 ]]; then |
329 |
- myconf+=" EGIT_BRANCH=${EGIT_BRANCH} EGIT_VERSION=${EGIT_VERSION}" |
330 |
- fi |
331 |
- |
332 |
- econf \ |
333 |
- --program-suffix="-${EMACS_SUFFIX}" \ |
334 |
- --infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \ |
335 |
- --localstatedir="${EPREFIX}"/var \ |
336 |
- --enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \ |
337 |
- --with-gameuser="${GAMES_USER_DED:-games}" \ |
338 |
- --without-compress-install \ |
339 |
- --with-file-notification=$(usev gfile || usev inotify || echo no) \ |
340 |
- $(use_enable acl) \ |
341 |
- $(use_with dbus) \ |
342 |
- $(use_with gnutls) \ |
343 |
- $(use_with gpm) \ |
344 |
- $(use_with hesiod) \ |
345 |
- $(use_with kerberos) $(use_with kerberos kerberos5) \ |
346 |
- $(use_with libxml2 xml2) \ |
347 |
- $(use_with selinux) \ |
348 |
- $(use_with wide-int) \ |
349 |
- $(use_with zlib) \ |
350 |
- ${myconf} |
351 |
-} |
352 |
- |
353 |
-src_compile() { |
354 |
- export SANDBOX_ON=0 # for the unbelievers, see Bug #131505 |
355 |
- emake |
356 |
-} |
357 |
- |
358 |
-src_install () { |
359 |
- emake DESTDIR="${D}" NO_BIN_LINK=t install |
360 |
- |
361 |
- mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \ |
362 |
- || die "moving emacs executable failed" |
363 |
- mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \ |
364 |
- || die "moving emacs man page failed" |
365 |
- |
366 |
- # move info dir to avoid collisions with the dir file generated by portage |
367 |
- mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \ |
368 |
- || die "moving info dir failed" |
369 |
- touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir |
370 |
- docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig |
371 |
- |
372 |
- # avoid collision between slots, see bug #169033 e.g. |
373 |
- rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el |
374 |
- rm -rf "${ED}"/usr/share/{appdata,applications,icons} |
375 |
- rm -rf "${ED}"/var |
376 |
- |
377 |
- # remove unused <version>/site-lisp dir |
378 |
- rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp |
379 |
- |
380 |
- # remove COPYING file (except for etc/COPYING used by describe-copying) |
381 |
- rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING |
382 |
- |
383 |
- if use gzip-el; then |
384 |
- # compress .el files when a corresponding .elc exists |
385 |
- find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \ |
386 |
- -name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n |
387 |
- assert "gzip .el failed" |
388 |
- fi |
389 |
- |
390 |
- local cdir |
391 |
- if use source; then |
392 |
- cdir="/usr/share/emacs/${FULL_VERSION}/src" |
393 |
- insinto "${cdir}" |
394 |
- # This is not meant to install all the source -- just the |
395 |
- # C source you might find via find-function |
396 |
- doins src/*.{c,h,m} |
397 |
- elif has installsources ${FEATURES}; then |
398 |
- cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src" |
399 |
- fi |
400 |
- |
401 |
- sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF |
402 |
- X |
403 |
- ;;; ${PN}-${SLOT} site-lisp configuration |
404 |
- X |
405 |
- (when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version) |
406 |
- Y (setq find-function-C-source-directory |
407 |
- Y "${EPREFIX}${cdir}") |
408 |
- X (let ((path (getenv "INFOPATH")) |
409 |
- X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}") |
410 |
- X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>")) |
411 |
- X (and path |
412 |
- X ;; move Emacs Info dir before anything else in /usr/share/info |
413 |
- X (let* ((p (cons nil (split-string path ":" t))) (q p)) |
414 |
- X (while (and (cdr q) (not (string-match re (cadr q)))) |
415 |
- X (setq q (cdr q))) |
416 |
- X (setcdr q (cons dir (delete dir (cdr q)))) |
417 |
- X (setq Info-directory-list (prune-directory-list (cdr p))))))) |
418 |
- EOF |
419 |
- elisp-site-file-install "${T}/${SITEFILE}" || die |
420 |
- |
421 |
- dodoc README README.xwidget BUGS CONTRIBUTE |
422 |
- |
423 |
- if use aqua; then |
424 |
- dodir /Applications/Gentoo |
425 |
- rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app |
426 |
- mv nextstep/Emacs.app \ |
427 |
- "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die |
428 |
- fi |
429 |
- |
430 |
- DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs |
431 |
- through the Emacs eselect module, which also redirects man and info |
432 |
- pages. Therefore, several Emacs versions can be installed at the |
433 |
- same time. \"man emacs.eselect\" for details. |
434 |
- \\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is |
435 |
- strongly recommended that you use app-admin/emacs-updater to rebuild |
436 |
- all byte-compiled elisp files of the installed Emacs packages." |
437 |
- use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs. |
438 |
- Installing media-fonts/font-adobe-{75,100}dpi on the X server's |
439 |
- machine would satisfy basic Emacs requirements under X11. |
440 |
- See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs |
441 |
- for how to enable anti-aliased fonts." |
442 |
- use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in |
443 |
- \"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink |
444 |
- it into /Applications by yourself." |
445 |
- readme.gentoo_create_doc |
446 |
-} |
447 |
- |
448 |
-pkg_preinst() { |
449 |
- # move Info dir file to correct name |
450 |
- local infodir=/usr/share/info/${EMACS_SUFFIX} f |
451 |
- if [[ -f ${ED}${infodir}/dir.orig ]]; then |
452 |
- mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed" |
453 |
- elif [[ -d "${ED}"${infodir} ]]; then |
454 |
- # this should not happen in EAPI 4 |
455 |
- ewarn "Regenerating Info directory index in ${infodir} ..." |
456 |
- rm -f "${ED}"${infodir}/dir{,.*} |
457 |
- for f in "${ED}"${infodir}/*; do |
458 |
- if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then |
459 |
- install-info --info-dir="${ED}"${infodir} "${f}" \ |
460 |
- || die "install-info failed" |
461 |
- fi |
462 |
- done |
463 |
- fi |
464 |
-} |
465 |
- |
466 |
-pkg_postinst() { |
467 |
- elisp-site-regen |
468 |
- |
469 |
- local pvr |
470 |
- for pvr in ${REPLACING_VERSIONS}; do |
471 |
- [[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1 |
472 |
- done |
473 |
- readme.gentoo_print_elog |
474 |
- |
475 |
- if use livecd; then |
476 |
- # force an update of the emacs symlink for the livecd/dvd, |
477 |
- # because some microemacs packages set it with USE=livecd |
478 |
- eselect emacs update |
479 |
- elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then |
480 |
- # refresh symlinks in case any installed files have changed |
481 |
- eselect emacs set ${EMACS_SUFFIX} |
482 |
- else |
483 |
- eselect emacs update ifunset |
484 |
- fi |
485 |
-} |
486 |
- |
487 |
-pkg_postrm() { |
488 |
- elisp-site-regen |
489 |
- eselect emacs update ifunset |
490 |
-} |
491 |
|
492 |
diff --git a/app-editors/emacs-xwidget/metadata.xml b/app-editors/emacs-xwidget/metadata.xml |
493 |
deleted file mode 100644 |
494 |
index 7e27373..0000000 |
495 |
--- a/app-editors/emacs-xwidget/metadata.xml |
496 |
+++ /dev/null |
497 |
@@ -1,48 +0,0 @@ |
498 |
-<?xml version="1.0" encoding="UTF-8"?> |
499 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
500 |
-<pkgmetadata> |
501 |
-<herd>emacs</herd> |
502 |
-<longdescription> |
503 |
- GNU Emacs is an extensible, customizable text editor - and more. At its core |
504 |
- is an interpreter for Emacs Lisp, a dialect of the Lisp programming language |
505 |
- with extensions to support text editing. The features of GNU Emacs include: |
506 |
- * Content-sensitive editing modes, including syntax coloring, for a variety |
507 |
- of file types including plain text, source code, and HTML. |
508 |
- * Complete built-in documentation, including a tutorial for new users. |
509 |
- * Full Unicode support for nearly all human languages and their scripts. |
510 |
- * Highly customizable, using Emacs Lisp code or a graphical interface. |
511 |
- * A large number of extensions that add other functionality, including a |
512 |
- project planner, mail and news reader, debugger interface, calendar, and |
513 |
- more. Many of these extensions are distributed with GNU Emacs; others are |
514 |
- available separately. |
515 |
-</longdescription> |
516 |
-<use> |
517 |
- <flag name='athena'>Enable the MIT Athena widget set |
518 |
- (<pkg>x11-libs/libXaw</pkg>)</flag> |
519 |
- <flag name='games'>Support shared score files for games</flag> |
520 |
- <flag name='gconf'>Use <pkg>gnome-base/gconf</pkg> to read the system |
521 |
- font name</flag> |
522 |
- <flag name='gfile'>Use gfile (<pkg>dev-libs/glib</pkg>) for file |
523 |
- notification</flag> |
524 |
- <flag name='gsettings'>Use gsettings (<pkg>dev-libs/glib</pkg>) to read the |
525 |
- system font name</flag> |
526 |
- <flag name='gtk3'>Link against version 3 of the GIMP Toolkit instead of |
527 |
- version 2 (<pkg>x11-libs/gtk+</pkg>)</flag> |
528 |
- <flag name='gzip-el'>Compress bundled Emacs Lisp source</flag> |
529 |
- <flag name='hesiod'>Enable support for <pkg>net-dns/hesiod</pkg></flag> |
530 |
- <flag name='imagemagick'>Use <pkg>media-gfx/imagemagick</pkg> for image |
531 |
- processing</flag> |
532 |
- <flag name='libxml2'>Use <pkg>dev-libs/libxml2</pkg> to parse XML instead |
533 |
- of the internal Lisp implementations</flag> |
534 |
- <flag name='pax_kernel'>Enable building under a PaX enabled kernel |
535 |
- (<pkg>sys-apps/paxctl</pkg>)</flag> |
536 |
- <flag name='source'>Install C source files and make them available for |
537 |
- find-function</flag> |
538 |
- <flag name='toolkit-scroll-bars'>Use the selected toolkit's scrollbars in |
539 |
- preference to Emacs' own scrollbars</flag> |
540 |
- <flag name='wide-int'>Prefer wide Emacs integers (typically 62-bit). |
541 |
- This option has an effect only on architectures where "long" and |
542 |
- "long long" types have different size.</flag> |
543 |
- <flag name='xwidgets'>Enable use of some gtk widgets it Emacs buffers</flag> |
544 |
-</use> |
545 |
-</pkgmetadata> |