From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/emacs:master commit in: app-emacs/emacs-common-gentoo/
Date: Wed, 13 Nov 2013 09:47:39 +0000 (UTC) [thread overview]
Message-ID: <1384336127.a9d1eb636d5c5d016f9daab7113520a97f469361.ulm@gentoo> (raw)
commit: a9d1eb636d5c5d016f9daab7113520a97f469361
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 09:48:47 2013 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 09:48:47 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=a9d1eb63
Refuse installation if the site-start.el file is still in its old location; we have warned about this since almost two years.
Package-Manager: portage-2.2.7
---
app-emacs/emacs-common-gentoo/ChangeLog | 4 ++++
.../emacs-common-gentoo-9999.ebuild | 26 ++++++++++++----------
2 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/app-emacs/emacs-common-gentoo/ChangeLog b/app-emacs/emacs-common-gentoo/ChangeLog
index f75d40d..613b87d 100644
--- a/app-emacs/emacs-common-gentoo/ChangeLog
+++ b/app-emacs/emacs-common-gentoo/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 13 Nov 2013; Ulrich Müller <ulm@gentoo.org> emacs-common-gentoo-9999.ebuild:
+ Refuse installation if the site-start.el file is still in its old location;
+ we have warned about this since almost two years.
+
31 Oct 2013; Ulrich Müller <ulm@gentoo.org> emacs-common-gentoo-9999.ebuild:
Create site-gentoo.el in preinst phase and have it belong to this package.
diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild
index 39dabf4..8994fe0 100644
--- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild
+++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild
@@ -106,23 +106,16 @@ pkg_preinst() {
chown "${GAMES_USER_DED:-games}" "${ED}${f}" || die
done
fi
-}
-
-pkg_postinst() {
- if use X; then
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
- fi
-
- readme.gentoo_print_elog
if [[ -e ${EROOT}${SITELISP}/site-start.el ]]; then
ewarn "The location of the site startup file for Emacs has changed to"
ewarn "/etc/emacs/site-start.el."
if site-start-modified-p; then
- ewarn "If your site-start.el file contains your own customisation,"
- ewarn "you should move it to the new file. In any case, you should"
- ewarn "remove the old ${SITELISP}/site-start.el file."
+ eerror "Locally modified ${SITELISP}/site-start.el file found."
+ eerror "If this file contains your own customisation, you should"
+ eerror "move it to /etc/emacs/. In any case, you must remove the"
+ eerror "file from the old location."
+ die "Cannot continue unless ${SITELISP}/site-start.el is removed."
else
ewarn "Removing the old ${SITELISP}/site-start.el file."
rm -f "${EROOT}${SITELISP}/site-start.el"
@@ -130,6 +123,15 @@ pkg_postinst() {
fi
}
+pkg_postinst() {
+ if use X; then
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+ fi
+
+ readme.gentoo_print_elog
+}
+
pkg_postrm() {
if use X; then
fdo-mime_desktop_database_update
next reply other threads:[~2013-11-13 9:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-13 9:47 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-03-21 9:45 [gentoo-commits] proj/emacs:master commit in: app-emacs/emacs-common-gentoo/ Ulrich Müller
2015-07-12 6:53 Ulrich Müller
2015-02-22 18:34 Ulrich Müller
2015-02-22 18:26 Ulrich Müller
2015-02-21 12:03 Ulrich Müller
2015-02-20 11:12 Ulrich Müller
2015-02-19 22:07 Ulrich Müller
2015-02-10 14:12 Ulrich Müller
2015-02-09 12:09 Ulrich Müller
2015-01-23 6:10 Ulrich Müller
2015-01-21 22:13 Ulrich Müller
2015-01-21 21:43 Ulrich Müller
2015-01-21 21:43 Ulrich Müller
2013-11-16 12:41 Ulrich Müller
2013-11-15 13:42 Ulrich Müller
2013-10-31 15:07 Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1384336127.a9d1eb636d5c5d016f9daab7113520a97f469361.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox