public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Mueller (ulm)" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: elisp-common.eclass
Date: Tue, 01 Jul 2008 22:10:07 +0000	[thread overview]
Message-ID: <E1KDo35-0001Ze-6f@stork.gentoo.org> (raw)

ulm         08/07/01 22:10:07

  Modified:             elisp-common.eclass
  Log:
  Sync eclasses from Emacs overlay (revision 1110).
  
  elisp-common.eclass:
  Create file for backwards compatibility only if obsolete files were found.

Revision  Changes    Path
1.41                 eclass/elisp-common.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp-common.eclass?rev=1.41&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp-common.eclass?rev=1.41&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/elisp-common.eclass?r1=1.40&r2=1.41

Index: elisp-common.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- elisp-common.eclass	18 May 2008 06:15:12 -0000	1.40
+++ elisp-common.eclass	1 Jul 2008 22:10:06 -0000	1.41
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.40 2008/05/18 06:15:12 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.41 2008/07/01 22:10:06 ulm Exp $
 #
 # Copyright 2002-2004 Matthew Kennedy <mkennedy@gentoo.org>
 # Copyright 2003      Jeremy Maitin-Shepard <jbms@attbi.com>
@@ -317,7 +317,7 @@
 
 	einfon "Regenerating ${SITELISP}/site-gentoo.el ..."
 
-	# remove auxiliary file
+	# remove any auxiliary file (from previous run)
 	rm -f "${ROOT}${SITELISP}"/00site-gentoo.el
 
 	# set nullglob option, there may be a directory without matching files
@@ -395,26 +395,26 @@
 initialisation files from /usr/share/emacs/site-lisp/site-gentoo.d/.
 EOF
 		echo
-
-		if [ "${obsolete}" ]; then
-			while read line; do ewarn "${line}"; done <<-EOF
-			Site-initialisation files of Emacs packages are now installed in
-			/usr/share/emacs/site-lisp/site-gentoo.d/. We strongly recommend
-			that you use /usr/sbin/emacs-updater to rebuild the installed
-			Emacs packages.
-			EOF
-			echo
-		fi
 	fi
 
-	# Kludge for backwards compatibility: During pkg_postrm, old versions
-	# of this eclass (saved in the VDB) won't find packages' site-init files
-	# in the new location. So we copy them to an auxiliary file that is
-	# visible to old eclass versions.
-	for sf in "${sflist[@]}"; do
-		[ "${sf%/*}" = "${ROOT}${SITELISP}/site-gentoo.d" ] \
-			&& cat "${sf}" >>"${ROOT}${SITELISP}"/00site-gentoo.el
-	done
+	if [ "${obsolete}" ]; then
+		while read line; do ewarn "${line}"; done <<-EOF
+		Site-initialisation files of Emacs packages are now installed in
+		/usr/share/emacs/site-lisp/site-gentoo.d/. We strongly recommend
+		that you use /usr/sbin/emacs-updater to rebuild the installed
+		Emacs packages.
+		EOF
+		echo
+
+		# Kludge for backwards compatibility: During pkg_postrm, old versions
+		# of this eclass (saved in the VDB) won't find packages' site-init
+		# files in the new location. So we copy them to an auxiliary file
+		# that is visible to old eclass versions.
+		for sf in "${sflist[@]}"; do
+			[ "${sf%/*}" = "${ROOT}${SITELISP}/site-gentoo.d" ] \
+				&& cat "${sf}" >>"${ROOT}${SITELISP}"/00site-gentoo.el
+		done
+	fi
 
 	# cleanup
 	rm -f "${tmpdir}"/site-{gentoo,start}.el



-- 
gentoo-commits@lists.gentoo.org mailing list



             reply	other threads:[~2008-07-01 22:10 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-01 22:10 Ulrich Mueller (ulm) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-05-25 12:52 [gentoo-commits] gentoo-x86 commit in eclass: elisp-common.eclass Ulrich Mueller (ulm)
2014-06-11  9:13 Ulrich Mueller (ulm)
2011-10-09  9:10 Ulrich Mueller (ulm)
2011-08-13 12:19 Ulrich Mueller (ulm)
2011-02-19 10:12 Ulrich Mueller (ulm)
2010-11-29 17:07 Ulrich Mueller (ulm)
2010-10-09 15:30 Ulrich Mueller (ulm)
2010-09-17  7:41 Ulrich Mueller (ulm)
2009-12-29 20:15 Ulrich Mueller (ulm)
2009-12-07 21:05 Ulrich Mueller (ulm)
2009-11-22 12:06 Ulrich Mueller (ulm)
2009-05-25 16:25 Christian Faulhammer (fauli)
2009-04-14 15:45 Ulrich Mueller (ulm)
2009-04-08 10:47 Ulrich Mueller (ulm)
2009-03-12 14:10 Ulrich Mueller (ulm)
2009-02-13 17:15 Ulrich Mueller (ulm)
2009-01-31 21:31 Ulrich Mueller (ulm)
2009-01-31 20:58 Ulrich Mueller (ulm)
2008-11-24 14:21 Ulrich Mueller (ulm)
2008-10-27 21:34 Ulrich Mueller (ulm)
2008-10-12 19:48 Ulrich Mueller (ulm)
2008-10-05 13:56 Ulrich Mueller (ulm)
2008-09-24  9:47 Ulrich Mueller (ulm)
2008-09-01 10:45 Ulrich Mueller (ulm)
2008-08-27 11:21 Ulrich Mueller (ulm)
2008-08-27  6:53 Ulrich Mueller (ulm)
2008-08-10 16:54 Ulrich Mueller (ulm)
2008-05-18  6:15 Ulrich Mueller (ulm)
2008-04-12  8:40 Ulrich Mueller (ulm)
2008-04-04 18:11 Ulrich Mueller (ulm)
2008-03-07  8:19 Ulrich Mueller (ulm)
2008-02-22  9:30 Ulrich Mueller (ulm)
2008-02-22  9:28 Ulrich Mueller (ulm)
2007-12-12 21:58 Ulrich Mueller (ulm)
2007-12-11 12:28 Ulrich Mueller (ulm)
2007-12-01 15:35 Ulrich Mueller (ulm)
2007-11-17 15:39 Ulrich Mueller (ulm)

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=E1KDo35-0001Ze-6f@stork.gentoo.org \
    --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