From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NbHqM-0005Vv-Vk for garchives@archives.gentoo.org; Sat, 30 Jan 2010 18:14:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9BC3FE0962; Sat, 30 Jan 2010 18:14:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4E965E0962 for ; Sat, 30 Jan 2010 18:14:49 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id CBEEC1B404A for ; Sat, 30 Jan 2010 18:14:48 +0000 (UTC) Received: from ulm by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1NbHpj-00019E-0b for gentoo-commits@lists.gentoo.org; Sat, 30 Jan 2010 18:14:11 +0000 From: "Ulrich Mueller (ulm)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, ulm@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in app-emacs/emacs-common-gentoo: ChangeLog emacs-common-gentoo-1.2-r1.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog emacs-common-gentoo-1.2-r1.ebuild X-VCS-Directories: app-emacs/emacs-common-gentoo X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller Content-Type: text/plain; charset=utf8 Message-Id: Sender: Ulrich Mueller Date: Sat, 30 Jan 2010 18:14:11 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ad094c2d-badd-447e-910b-8e9e21a22779 X-Archives-Hash: 7592a8a35a8132b5b4906467d115172c ulm 10/01/30 18:14:11 Modified: ChangeLog Added: emacs-common-gentoo-1.2-r1.ebuild Log: Add prefix keywords, change EAPI to 3. (Portage version: 2.2_rc62/cvs/Linux i686) Revision Changes Path 1.28 app-emacs/emacs-common-gentoo/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/emacs-co= mmon-gentoo/ChangeLog?rev=3D1.28&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/emacs-co= mmon-gentoo/ChangeLog?rev=3D1.28&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/emacs-co= mmon-gentoo/ChangeLog?r1=3D1.27&r2=3D1.28 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/ChangeLog= ,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- ChangeLog 3 Jan 2010 15:03:43 -0000 1.27 +++ ChangeLog 30 Jan 2010 18:14:10 -0000 1.28 @@ -1,6 +1,12 @@ # ChangeLog for app-emacs/emacs-common-gentoo # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/ChangeL= og,v 1.27 2010/01/03 15:03:43 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/ChangeL= og,v 1.28 2010/01/30 18:14:10 ulm Exp $ + +*emacs-common-gentoo-1.2-r1 (30 Jan 2010) + + 30 Jan 2010; Ulrich Mueller + +emacs-common-gentoo-1.2-r1.ebuild: + Add prefix keywords, change EAPI to 3. =20 03 Jan 2010; Ulrich Mueller -emacs-common-gentoo-1.0.ebuild: 1.1 app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.= 2-r1.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/emacs-co= mmon-gentoo/emacs-common-gentoo-1.2-r1.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/emacs-co= mmon-gentoo/emacs-common-gentoo-1.2-r1.ebuild?rev=3D1.1&content-type=3Dte= xt/plain Index: emacs-common-gentoo-1.2-r1.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-co= mmon-gentoo-1.2-r1.ebuild,v 1.1 2010/01/30 18:14:10 ulm Exp $ EAPI=3D3 inherit elisp-common eutils fdo-mime gnome2-utils DESCRIPTION=3D"Common files needed by all GNU Emacs versions" HOMEPAGE=3D"http://www.gentoo.org/proj/en/lisp/emacs/" SRC_URI=3D"mirror://gentoo/${P}.tar.gz" LICENSE=3D"GPL-3" SLOT=3D"0" KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~= x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linu= x ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE=3D"X emacs22icons" PDEPEND=3D"virtual/emacs" pkg_setup() { if [ -e "${EROOT}${SITELISP}/subdirs.el" ] \ && ! has_version ">=3D${CATEGORY}/${PN}-1" then ewarn "Removing orphan subdirs.el (installed by old Emacs ebuilds)" rm -f "${EROOT}${SITELISP}/subdirs.el" fi NEW_INSTALL=3D"" has_version ${CATEGORY}/${PN} || NEW_INSTALL=3D"true" } src_install() { elisp-install . subdirs.el || die if use X; then local i domenu emacs.desktop emacsclient.desktop || die newicon icons/sink.png emacs-sink.png || die if use emacs22icons; then newicon icons/emacs22_48.png emacs.png || die for i in 16 24 32 48; do insinto /usr/share/icons/hicolor/${i}x${i}/apps newins icons/emacs22_${i}.png emacs.png || die done else newicon icons/emacs_48.png emacs.png || die for i in 16 24 32 48 128; do insinto /usr/share/icons/hicolor/${i}x${i}/apps newins icons/emacs_${i}.png emacs.png || die done insinto /usr/share/icons/hicolor/scalable/apps doins icons/emacs.svg || die fi gnome2_icon_savelist fi } make-site-start() { ebegin "Creating default ${SITELISP}/site-start.el" cat <<-EOF >"${T}/site-start.el" ;;; site-start.el -*- no-byte-compile: t -*- ;;; Commentary: ;; This default site startup file for Emacs was created by package ;; ${CATEGORY}/${PF}. You may modify this file, replace ;; it by your own site initialisation, or even remove it completely. ;;; Code: ;; Load site initialisation for Gentoo installed packages. (require 'site-gentoo) ;;; site-start.el ends here EOF mv "${T}/site-start.el" "${EROOT}${SITELISP}/site-start.el" eend $? "Installation of site-start.el failed" } pkg_config() { # make sure that site-gentoo.el exists since site-start.el requires it elisp-site-regen if [ ! -e "${EROOT}${SITELISP}/site-start.el" ]; then echo einfo "Press ENTER to create a default site-start.el file" einfo "for GNU Emacs, or Control-C to abort now ..." read make-site-start else einfo "site-start.el for GNU Emacs already exists." fi } pkg_postinst() { if use X; then fdo-mime_desktop_database_update gnome2_icon_cache_update fi # make sure that site-gentoo.el exists since site-start.el requires it elisp-site-regen if [ ! -e "${EROOT}${SITELISP}/site-start.el" ]; then local line echo while read line; do elog "${line:- }"; done <<-EOF All site initialisation for Gentoo-installed packages is added to /usr/share/emacs/site-lisp/site-gentoo.el. In order for this site initialisation to be loaded for all users automatically, a default site-start.el is created in the same directory. You are responsible for all further maintenance of this file. Alternatively, individual users can add the following command: (require 'site-gentoo) to their ~/.emacs initialisation files, or, for greater flexibility, users may load single package-specific initialisation files from /usr/share/emacs/site-lisp/site-gentoo.d/. EOF echo if [ "${NEW_INSTALL}" ]; then # This is a new install. Create default site-start.el, so that # Gentoo packages will work. make-site-start else # This package was already installed, but site-start.el does # not exist. Give a hint how to (re-)create it. elog "If this is a new install, you may want to run:" elog "emerge --config =3D${CATEGORY}/${PF}" fi fi } pkg_postrm() { if use X; then fdo-mime_desktop_database_update gnome2_icon_cache_update fi }