1 |
commit: da381f1347f2f93dbb51b5f1ba69603a5c726586 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 29 11:09:10 2019 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 29 11:24:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da381f13 |
7 |
|
8 |
app-editors/emacs: Remove release candidate. |
9 |
|
10 |
Package-Manager: Portage-2.3.73, Repoman-2.3.17 |
11 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
12 |
|
13 |
app-editors/emacs/Manifest | 1 - |
14 |
app-editors/emacs/emacs-26.3_rc1.ebuild | 385 -------------------------------- |
15 |
2 files changed, 386 deletions(-) |
16 |
|
17 |
diff --git a/app-editors/emacs/Manifest b/app-editors/emacs/Manifest |
18 |
index 01e59508b11..005091428ef 100644 |
19 |
--- a/app-editors/emacs/Manifest |
20 |
+++ b/app-editors/emacs/Manifest |
21 |
@@ -10,5 +10,4 @@ DIST emacs-25.3.tar.xz 42854740 BLAKE2B 4f4e2572bbef48b75c561497fc22046081e56099 |
22 |
DIST emacs-26.1-patches-2.tar.xz 2740 BLAKE2B 43a58137d6096fd6b49688192b65e97446cd31691b18c2e69c8980ff1d93caa66ff670f06456df91411fd74396deaa1899c7afb6c0a4bbc98d4c2d9bd7ed7d40 SHA512 31c1714d130a02692c65dd1371662100f9fbf33a8df30b8bad8fa688ab993e0a596101a4765a7859801d1f66e729c9fca748e70b9919e5b2a777d39fcbe92c21 |
23 |
DIST emacs-26.1.tar.xz 44258932 BLAKE2B 5b5ea6a506228507af18417c3f94c2d6ea482c25d13ec5e0bee9ec6a65e80c52c870162b4671e80a82f8310784c802924609f2f87d504b1a97617c44d859566f SHA512 537c2cfdd281151b360002419dde6280c313e07a937ed96405c67f754b3401ec5541091a3c0aa6690929bc33dd79e8e0d8844e7a6b014b7798c63cb15de210c2 |
24 |
DIST emacs-26.2.tar.xz 44406808 BLAKE2B 23c23958b177f032082fc5e71ebccc4a88c10b19258ec22608d7bade37dc58d5f8aa4a74e86114c72ea8be8fc299b6c9af5af283f28bd7e965830e587f1bdc93 SHA512 c223ff5c51ca8bdf887bacb2dc37b08a637d39ed6f887cc24f67397e46fe5fdb68f33f21b97300b985c749f32aa09080d33103271637ed4ce5d9f2ea34ce9fe1 |
25 |
-DIST emacs-26.3-rc1.tar.xz 44415140 BLAKE2B aa8434e6431992ee40402f03a890dd2c49784ee76f437888efe61d66b9aa2bdb816eb0bfe1055e9e154a8bb3ed065fee71623741b474d465a96964618ec775e3 SHA512 4d5a4319253afb081e105a3697eb6eeb8d8a0da18cd41346e376ca5af1e180a26e641f76c64fad1b0253168f14a511f0a4d9d4141524fb1cf4d04f25b05a76e9 |
26 |
DIST emacs-26.3.tar.xz 44415140 BLAKE2B aa8434e6431992ee40402f03a890dd2c49784ee76f437888efe61d66b9aa2bdb816eb0bfe1055e9e154a8bb3ed065fee71623741b474d465a96964618ec775e3 SHA512 4d5a4319253afb081e105a3697eb6eeb8d8a0da18cd41346e376ca5af1e180a26e641f76c64fad1b0253168f14a511f0a4d9d4141524fb1cf4d04f25b05a76e9 |
27 |
|
28 |
diff --git a/app-editors/emacs/emacs-26.3_rc1.ebuild b/app-editors/emacs/emacs-26.3_rc1.ebuild |
29 |
deleted file mode 100644 |
30 |
index fc25e4232b7..00000000000 |
31 |
--- a/app-editors/emacs/emacs-26.3_rc1.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,385 +0,0 @@ |
34 |
-# Copyright 1999-2019 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
- |
39 |
-inherit autotools elisp-common flag-o-matic multilib readme.gentoo-r1 |
40 |
- |
41 |
-DESCRIPTION="The extensible, customizable, self-documenting real-time display editor" |
42 |
-HOMEPAGE="https://www.gnu.org/software/emacs/" |
43 |
-SRC_URI="mirror://gnu-alpha/emacs/pretest/emacs-${PV/_/-}.tar.xz" |
44 |
- |
45 |
-LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2" |
46 |
-SLOT="26" |
47 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
48 |
-IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk gtk2 gzip-el imagemagick +inotify jpeg kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib" |
49 |
-REQUIRED_USE="?? ( aqua X )" |
50 |
- |
51 |
-RDEPEND="sys-libs/ncurses:0= |
52 |
- >=app-eselect/eselect-emacs-1.16 |
53 |
- >=app-emacs/emacs-common-gentoo-1.5[games?,X?] |
54 |
- acl? ( virtual/acl ) |
55 |
- alsa? ( media-libs/alsa-lib ) |
56 |
- dbus? ( sys-apps/dbus ) |
57 |
- games? ( acct-group/gamestat ) |
58 |
- gpm? ( sys-libs/gpm ) |
59 |
- !inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) ) |
60 |
- kerberos? ( virtual/krb5 ) |
61 |
- lcms? ( media-libs/lcms:2 ) |
62 |
- libxml2? ( >=dev-libs/libxml2-2.2.0 ) |
63 |
- mailutils? ( net-mail/mailutils[clients] ) |
64 |
- !mailutils? ( net-libs/liblockfile ) |
65 |
- selinux? ( sys-libs/libselinux ) |
66 |
- ssl? ( net-libs/gnutls:0= ) |
67 |
- systemd? ( sys-apps/systemd ) |
68 |
- zlib? ( sys-libs/zlib ) |
69 |
- X? ( |
70 |
- x11-libs/libICE |
71 |
- x11-libs/libSM |
72 |
- x11-libs/libX11 |
73 |
- x11-libs/libXext |
74 |
- x11-libs/libXfixes |
75 |
- x11-libs/libXinerama |
76 |
- x11-libs/libXrandr |
77 |
- x11-libs/libxcb |
78 |
- x11-misc/xbitmaps |
79 |
- gconf? ( >=gnome-base/gconf-2.26.2 ) |
80 |
- gsettings? ( >=dev-libs/glib-2.28.6 ) |
81 |
- gif? ( media-libs/giflib:0= ) |
82 |
- jpeg? ( virtual/jpeg:0= ) |
83 |
- png? ( >=media-libs/libpng-1.4:0= ) |
84 |
- svg? ( >=gnome-base/librsvg-2.0 ) |
85 |
- tiff? ( media-libs/tiff:0 ) |
86 |
- xpm? ( x11-libs/libXpm ) |
87 |
- imagemagick? ( >=media-gfx/imagemagick-6.6.2:0= ) |
88 |
- xft? ( |
89 |
- media-libs/fontconfig |
90 |
- media-libs/freetype |
91 |
- x11-libs/libXft |
92 |
- x11-libs/libXrender |
93 |
- cairo? ( >=x11-libs/cairo-1.12.18 ) |
94 |
- m17n-lib? ( |
95 |
- >=dev-libs/libotf-0.9.4 |
96 |
- >=dev-libs/m17n-lib-1.5.1 |
97 |
- ) |
98 |
- ) |
99 |
- gtk? ( |
100 |
- gtk2? ( x11-libs/gtk+:2 ) |
101 |
- !gtk2? ( |
102 |
- x11-libs/gtk+:3 |
103 |
- xwidgets? ( |
104 |
- net-libs/webkit-gtk:4= |
105 |
- x11-libs/libXcomposite |
106 |
- ) |
107 |
- ) |
108 |
- ) |
109 |
- !gtk? ( |
110 |
- motif? ( |
111 |
- >=x11-libs/motif-2.3:0 |
112 |
- x11-libs/libXpm |
113 |
- x11-libs/libXmu |
114 |
- x11-libs/libXt |
115 |
- ) |
116 |
- !motif? ( |
117 |
- Xaw3d? ( |
118 |
- x11-libs/libXaw3d |
119 |
- x11-libs/libXmu |
120 |
- x11-libs/libXt |
121 |
- ) |
122 |
- !Xaw3d? ( athena? ( |
123 |
- x11-libs/libXaw |
124 |
- x11-libs/libXmu |
125 |
- x11-libs/libXt |
126 |
- ) ) |
127 |
- ) |
128 |
- ) |
129 |
- )" |
130 |
- |
131 |
-DEPEND="${RDEPEND} |
132 |
- X? ( x11-base/xorg-proto )" |
133 |
- |
134 |
-BDEPEND="virtual/pkgconfig |
135 |
- gzip-el? ( app-arch/gzip )" |
136 |
-# pax_kernel? ( sys-apps/attr ) |
137 |
- |
138 |
-RDEPEND="${RDEPEND} |
139 |
- !<app-editors/emacs-vcs-${PV}" |
140 |
- |
141 |
-EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}" |
142 |
-SITEFILE="20${PN}-${SLOT}-gentoo.el" |
143 |
-# FULL_VERSION keeps the full version number, which is needed in |
144 |
-# order to determine some path information correctly for copy/move |
145 |
-# operations later on |
146 |
-FULL_VERSION="${PV%%_*}" |
147 |
-S="${WORKDIR}/emacs-${FULL_VERSION}" |
148 |
- |
149 |
-src_prepare() { |
150 |
- #eapply ../patch |
151 |
- eapply_user |
152 |
- |
153 |
- # Fix filename reference in redirected man page |
154 |
- sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 || die |
155 |
- |
156 |
- #AT_M4DIR=m4 eautoreconf |
157 |
-} |
158 |
- |
159 |
-src_configure() { |
160 |
- strip-flags |
161 |
- filter-flags -pie #526948 |
162 |
- |
163 |
- if use sh; then |
164 |
- replace-flags "-O[1-9]" -O0 #262359 |
165 |
- elif use ia64; then |
166 |
- replace-flags "-O[2-9]" -O1 #325373 |
167 |
- else |
168 |
- replace-flags "-O[3-9]" -O2 |
169 |
- fi |
170 |
- |
171 |
- local myconf |
172 |
- |
173 |
- if use alsa; then |
174 |
- use sound || ewarn \ |
175 |
- "USE flag \"alsa\" overrides \"-sound\"; enabling sound support." |
176 |
- myconf+=" --with-sound=alsa" |
177 |
- else |
178 |
- myconf+=" --with-sound=$(usex sound oss)" |
179 |
- fi |
180 |
- |
181 |
- if use X; then |
182 |
- myconf+=" --with-x --without-ns" |
183 |
- myconf+=" $(use_with gconf)" |
184 |
- myconf+=" $(use_with gsettings)" |
185 |
- myconf+=" $(use_with toolkit-scroll-bars)" |
186 |
- myconf+=" $(use_with gif)" |
187 |
- myconf+=" $(use_with jpeg)" |
188 |
- myconf+=" $(use_with png)" |
189 |
- myconf+=" $(use_with svg rsvg)" |
190 |
- myconf+=" $(use_with tiff)" |
191 |
- myconf+=" $(use_with xpm)" |
192 |
- myconf+=" $(use_with imagemagick)" |
193 |
- |
194 |
- if use xft; then |
195 |
- myconf+=" --with-xft" |
196 |
- myconf+=" $(use_with cairo)" |
197 |
- myconf+=" $(use_with m17n-lib libotf)" |
198 |
- myconf+=" $(use_with m17n-lib m17n-flt)" |
199 |
- else |
200 |
- myconf+=" --without-xft" |
201 |
- myconf+=" --without-cairo" |
202 |
- myconf+=" --without-libotf --without-m17n-flt" |
203 |
- use cairo && ewarn \ |
204 |
- "USE flag \"cairo\" has no effect if \"xft\" is not set." |
205 |
- use m17n-lib && ewarn \ |
206 |
- "USE flag \"m17n-lib\" has no effect if \"xft\" is not set." |
207 |
- fi |
208 |
- |
209 |
- local f line |
210 |
- if use gtk; then |
211 |
- einfo "Configuring to build with GIMP Toolkit (GTK+)" |
212 |
- while read line; do ewarn "${line}"; done <<-EOF |
213 |
- Your version of GTK+ will have problems with closing open |
214 |
- displays. This is no problem if you just use one display, but |
215 |
- if you use more than one and close one of them Emacs may crash. |
216 |
- See <https://bugzilla.gnome.org/show_bug.cgi?id=85715>. |
217 |
- If you intend to use more than one display, then it is strongly |
218 |
- recommended that you compile Emacs with the Athena/Lucid or the |
219 |
- Motif toolkit instead. |
220 |
- EOF |
221 |
- if use gtk2; then |
222 |
- myconf+=" --with-x-toolkit=gtk2 --without-xwidgets" |
223 |
- use xwidgets && ewarn \ |
224 |
- "USE flag \"xwidgets\" has no effect if \"gtk2\" is set." |
225 |
- else |
226 |
- myconf+=" --with-x-toolkit=gtk3 $(use_with xwidgets)" |
227 |
- fi |
228 |
- for f in motif Xaw3d athena; do |
229 |
- use ${f} && ewarn \ |
230 |
- "USE flag \"${f}\" has no effect if \"gtk\" is set." |
231 |
- done |
232 |
- elif use motif; then |
233 |
- einfo "Configuring to build with Motif toolkit" |
234 |
- myconf+=" --with-x-toolkit=motif" |
235 |
- for f in Xaw3d athena; do |
236 |
- use ${f} && ewarn \ |
237 |
- "USE flag \"${f}\" has no effect if \"motif\" is set." |
238 |
- done |
239 |
- elif use athena || use Xaw3d; then |
240 |
- einfo "Configuring to build with Athena/Lucid toolkit" |
241 |
- myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)" |
242 |
- else |
243 |
- einfo "Configuring to build with no toolkit" |
244 |
- myconf+=" --with-x-toolkit=no" |
245 |
- fi |
246 |
- if ! use gtk; then |
247 |
- use gtk2 && ewarn \ |
248 |
- "USE flag \"gtk2\" has no effect if \"gtk\" is not set." |
249 |
- use xwidgets && ewarn \ |
250 |
- "USE flag \"xwidgets\" has no effect if \"gtk\" is not set." |
251 |
- fi |
252 |
- elif use aqua; then |
253 |
- einfo "Configuring to build with Nextstep (Cocoa) support" |
254 |
- myconf+=" --with-ns --disable-ns-self-contained" |
255 |
- myconf+=" --without-x" |
256 |
- else |
257 |
- myconf+=" --without-x --without-ns" |
258 |
- fi |
259 |
- |
260 |
- econf \ |
261 |
- --program-suffix="-${EMACS_SUFFIX}" \ |
262 |
- --includedir="${EPREFIX}"/usr/include/${EMACS_SUFFIX} \ |
263 |
- --infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \ |
264 |
- --localstatedir="${EPREFIX}"/var \ |
265 |
- --enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \ |
266 |
- --without-compress-install \ |
267 |
- --without-hesiod \ |
268 |
- --without-pop \ |
269 |
- --with-file-notification=$(usev inotify || usev gfile || echo no) \ |
270 |
- $(use_enable acl) \ |
271 |
- $(use_with dbus) \ |
272 |
- $(use_with dynamic-loading modules) \ |
273 |
- $(use_with games gameuser ":gamestat") \ |
274 |
- $(use_with gpm) \ |
275 |
- $(use_with kerberos) $(use_with kerberos kerberos5) \ |
276 |
- $(use_with lcms lcms2) \ |
277 |
- $(use_with libxml2 xml2) \ |
278 |
- $(use_with mailutils) \ |
279 |
- $(use_with selinux) \ |
280 |
- $(use_with ssl gnutls) \ |
281 |
- $(use_with systemd libsystemd) \ |
282 |
- $(use_with threads) \ |
283 |
- $(use_with wide-int) \ |
284 |
- $(use_with zlib) \ |
285 |
- ${myconf} |
286 |
-} |
287 |
- |
288 |
-src_compile() { |
289 |
- # Disable sandbox when dumping. For the unbelievers, see bug #131505 |
290 |
- emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs" |
291 |
-} |
292 |
- |
293 |
-src_install () { |
294 |
- emake DESTDIR="${D}" NO_BIN_LINK=t install |
295 |
- |
296 |
- mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die |
297 |
- mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 || die |
298 |
- mv "${ED}"/usr/share/metainfo/{emacs-,}${EMACS_SUFFIX}.appdata.xml || die |
299 |
- |
300 |
- # move info dir to avoid collisions with the dir file generated by portage |
301 |
- mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} || die |
302 |
- touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir |
303 |
- docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig |
304 |
- |
305 |
- # avoid collision between slots, see bug #169033 e.g. |
306 |
- rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el |
307 |
- rm -rf "${ED}"/usr/share/{appdata,applications,icons} |
308 |
- rm -rf "${ED}/usr/$(get_libdir)" |
309 |
- rm -rf "${ED}"/var |
310 |
- |
311 |
- # remove unused <version>/site-lisp dir |
312 |
- rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp |
313 |
- |
314 |
- # remove COPYING file (except for etc/COPYING used by describe-copying) |
315 |
- rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING |
316 |
- |
317 |
- if use gzip-el; then |
318 |
- # compress .el files when a corresponding .elc exists |
319 |
- find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \ |
320 |
- -name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n |
321 |
- assert "gzip .el failed" |
322 |
- fi |
323 |
- |
324 |
- local cdir |
325 |
- if use source; then |
326 |
- cdir="/usr/share/emacs/${FULL_VERSION}/src" |
327 |
- insinto "${cdir}" |
328 |
- # This is not meant to install all the source -- just the |
329 |
- # C source you might find via find-function |
330 |
- doins src/*.{c,h,m} |
331 |
- elif has installsources ${FEATURES}; then |
332 |
- cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src" |
333 |
- fi |
334 |
- |
335 |
- sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || die |
336 |
- X |
337 |
- ;;; ${PN}-${SLOT} site-lisp configuration |
338 |
- X |
339 |
- (when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version) |
340 |
- Y (setq find-function-C-source-directory |
341 |
- Y "${EPREFIX}${cdir}") |
342 |
- X (let ((path (getenv "INFOPATH")) |
343 |
- X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}") |
344 |
- X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>")) |
345 |
- X (and path |
346 |
- X ;; move Emacs Info dir before anything else in /usr/share/info |
347 |
- X (let* ((p (cons nil (split-string path ":" t))) (q p)) |
348 |
- X (while (and (cdr q) (not (string-match re (cadr q)))) |
349 |
- X (setq q (cdr q))) |
350 |
- X (setcdr q (cons dir (delete dir (cdr q)))) |
351 |
- X (setq Info-directory-list (prune-directory-list (cdr p))))))) |
352 |
- EOF |
353 |
- elisp-site-file-install "${T}/${SITEFILE}" || die |
354 |
- |
355 |
- dodoc README BUGS CONTRIBUTE |
356 |
- |
357 |
- if use aqua; then |
358 |
- dodir /Applications/Gentoo |
359 |
- rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app |
360 |
- mv nextstep/Emacs.app \ |
361 |
- "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die |
362 |
- fi |
363 |
- |
364 |
- DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs |
365 |
- through the Emacs eselect module, which also redirects man and info |
366 |
- pages. Therefore, several Emacs versions can be installed at the |
367 |
- same time. \"man emacs.eselect\" for details. |
368 |
- \\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is |
369 |
- strongly recommended that you use app-admin/emacs-updater to rebuild |
370 |
- all byte-compiled elisp files of the installed Emacs packages." |
371 |
- use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs. |
372 |
- Installing media-fonts/font-adobe-{75,100}dpi on the X server's |
373 |
- machine would satisfy basic Emacs requirements under X11. |
374 |
- See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs |
375 |
- for how to enable anti-aliased fonts." |
376 |
- use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in |
377 |
- \"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink |
378 |
- it into /Applications by yourself." |
379 |
- readme.gentoo_create_doc |
380 |
-} |
381 |
- |
382 |
-pkg_preinst() { |
383 |
- # move Info dir file to correct name |
384 |
- local infodir=/usr/share/info/${EMACS_SUFFIX} f |
385 |
- if [[ -f ${ED}${infodir}/dir.orig ]]; then |
386 |
- mv "${ED}"${infodir}/dir{.orig,} || die |
387 |
- elif [[ -d "${ED}"${infodir} ]]; then |
388 |
- # this should not happen in EAPI 4 |
389 |
- ewarn "Regenerating Info directory index in ${infodir} ..." |
390 |
- rm -f "${ED}"${infodir}/dir{,.*} |
391 |
- for f in "${ED}"${infodir}/*; do |
392 |
- if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then |
393 |
- install-info --info-dir="${ED}"${infodir} "${f}" || die |
394 |
- fi |
395 |
- done |
396 |
- fi |
397 |
-} |
398 |
- |
399 |
-pkg_postinst() { |
400 |
- elisp-site-regen |
401 |
- readme.gentoo_print_elog |
402 |
- |
403 |
- if use livecd; then |
404 |
- # force an update of the emacs symlink for the livecd/dvd, |
405 |
- # because some microemacs packages set it with USE=livecd |
406 |
- eselect emacs update |
407 |
- elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then |
408 |
- # refresh symlinks in case any installed files have changed |
409 |
- eselect emacs set ${EMACS_SUFFIX} |
410 |
- else |
411 |
- eselect emacs update ifunset |
412 |
- fi |
413 |
-} |
414 |
- |
415 |
-pkg_postrm() { |
416 |
- elisp-site-regen |
417 |
- eselect emacs update ifunset |
418 |
-} |