/[gentoo-x86]/eclass/elisp-common.eclass
Gentoo

Diff of /eclass/elisp-common.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.34 Revision 1.35
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.34 2007/12/28 17:48:34 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.35 2008/02/22 09:28:53 ulm Exp $
4# 4#
5# Copyright 2002-2004 Matthew Kennedy <mkennedy@gentoo.org> 5# Copyright 2002-2004 Matthew Kennedy <mkennedy@gentoo.org>
6# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> 6# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com>
7# Copyright 2004-2005 Mamoru Komachi <usata@gentoo.org> 7# Copyright 2004-2005 Mamoru Komachi <usata@gentoo.org>
8# Copyright 2007 Christian Faulhammer <opfer@gentoo.org> 8# Copyright 2007-2008 Christian Faulhammer <opfer@gentoo.org>
9# Copyright 2007 Ulrich Mueller <ulm@gentoo.org> 9# Copyright 2007-2008 Ulrich MΓΌller <ulm@gentoo.org>
10# 10#
11# @ECLASS: elisp-common.eclass 11# @ECLASS: elisp-common.eclass
12# @MAINTAINER: 12# @MAINTAINER:
13# Feel free to contact the Emacs team through <emacs@gentoo.org> if you have 13# Feel free to contact the Emacs team through <emacs@gentoo.org> if you have
14# problems, suggestions or questions. 14# problems, suggestions or questions.
382can be added by individual users to their initialisation files, or, 382can be added by individual users to their initialisation files, or,
383for greater flexibility, users can load individual package-specific 383for greater flexibility, users can load individual package-specific
384initialisation files from /usr/share/emacs/site-lisp/site-gentoo.d/. 384initialisation files from /usr/share/emacs/site-lisp/site-gentoo.d/.
385EOF 385EOF
386 echo 386 echo
387
388 if [ "${obsolete}" ]; then
389 while read line; do ewarn "${line}"; done <<-EOF
390 Site-initialisation files of Emacs packages are now installed in
391 /usr/share/emacs/site-lisp/site-gentoo.d/. You may consider using
392 /usr/sbin/emacs-updater to rebuild the installed Emacs packages.
393 However, the old location is still supported.
394 EOF
395 echo
396 fi
387 fi 397 fi
388 398
389 # Kludge for backwards compatibility: During pkg_postrm, old versions 399 # Kludge for backwards compatibility: During pkg_postrm, old versions
390 # of this eclass (saved in the VDB) won't find packages' site-init files 400 # of this eclass (saved in the VDB) won't find packages' site-init files
391 # in the new location. So we copy them to an auxiliary file that is 401 # in the new location. So we copy them to an auxiliary file that is
392 # visible to old eclass versions. 402 # visible to old eclass versions.
393 for sf in "${sflist[@]}"; do 403 for sf in "${sflist[@]}"; do
394 [ "${sf%/*}" = "${ROOT}${SITELISP}/site-gentoo.d" ] \ 404 [ "${sf%/*}" = "${ROOT}${SITELISP}/site-gentoo.d" ] \
395 && cat "${sf}" >>"${ROOT}${SITELISP}"/00site-gentoo.el 405 && cat "${sf}" >>"${ROOT}${SITELISP}"/00site-gentoo.el
396 done 406 done
397
398# if [ "${obsolete}" ]; then
399# while read line; do ewarn "${line}"; done <<-EOF
400# Site-initialisation files of Emacs packages are now installed in
401# /usr/share/emacs/site-lisp/site-gentoo.d/. You may consider using
402# /usr/sbin/emacs-updater to rebuild the installed Emacs packages.
403# However, the old location is still supported.
404# EOF
405# echo
406# fi
407} 407}

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

  ViewVC Help
Powered by ViewVC 1.1.20