From 7a985e22752a4f846b3d9509648df1cba923f8b8 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Fri, 5 Sep 2008 18:09:54 +0000 Subject: Add patch to require cl extensions. (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686) --- app-doc/casting-spels-emacs/ChangeLog | 9 +++++- .../casting-spels-emacs-19-r1.ebuild | 36 ++++++++++++++++++++++ .../casting-spels-emacs-19.ebuild | 33 -------------------- .../files/casting-spels-emacs-19-require-cl.patch | 11 +++++++ 4 files changed, 55 insertions(+), 34 deletions(-) create mode 100644 app-doc/casting-spels-emacs/casting-spels-emacs-19-r1.ebuild delete mode 100644 app-doc/casting-spels-emacs/casting-spels-emacs-19.ebuild create mode 100644 app-doc/casting-spels-emacs/files/casting-spels-emacs-19-require-cl.patch (limited to 'app-doc') diff --git a/app-doc/casting-spels-emacs/ChangeLog b/app-doc/casting-spels-emacs/ChangeLog index a6216cc1ef4c..382043054eda 100644 --- a/app-doc/casting-spels-emacs/ChangeLog +++ b/app-doc/casting-spels-emacs/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-doc/casting-spels-emacs # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/casting-spels-emacs/ChangeLog,v 1.2 2008/08/11 11:15:25 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-doc/casting-spels-emacs/ChangeLog,v 1.3 2008/09/05 18:09:53 ulm Exp $ + +*casting-spels-emacs-19-r1 (05 Sep 2008) + + 05 Sep 2008; Ulrich Mueller + +files/casting-spels-emacs-19-require-cl.patch, + -casting-spels-emacs-19.ebuild, +casting-spels-emacs-19-r1.ebuild: + Add patch to require cl extensions. 11 Aug 2008; Ulrich Mueller casting-spels-emacs-19.ebuild: diff --git a/app-doc/casting-spels-emacs/casting-spels-emacs-19-r1.ebuild b/app-doc/casting-spels-emacs/casting-spels-emacs-19-r1.ebuild new file mode 100644 index 000000000000..732998668589 --- /dev/null +++ b/app-doc/casting-spels-emacs/casting-spels-emacs-19-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-doc/casting-spels-emacs/casting-spels-emacs-19-r1.ebuild,v 1.1 2008/09/05 18:09:53 ulm Exp $ + +inherit elisp-common eutils + +DESCRIPTION="Casting SPELs in Lisp - A Comic Book (Emacs Lisp Edition)" +HOMEPAGE="http://code.google.com/p/casting-spels-emacs/" +SRC_URI="http://casting-spels-emacs.googlecode.com/files/${PN}-v${PV}.zip" + +LICENSE="GPL-2 FDL-1.2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="virtual/emacs" +DEPEND="app-arch/unzip" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + edos2unix *.txt html/*.html {lisp,test}/*.el || die "edos2unix failed" + + # needs cl extensions + epatch "${FILESDIR}/${P}-require-cl.patch" +} + +src_install() { + elisp-install ${PN} lisp/*.el || die "elisp-install failed" + dohtml -r html/. images || die "dohtml failed" + dosym html/images /usr/share/doc/${PF}/images + dosym ${SITELISP}/${PN} /usr/share/doc/${PF}/lisp + dodoc README.txt test/walk-through-commands.el +} diff --git a/app-doc/casting-spels-emacs/casting-spels-emacs-19.ebuild b/app-doc/casting-spels-emacs/casting-spels-emacs-19.ebuild deleted file mode 100644 index f29c06ff1ab5..000000000000 --- a/app-doc/casting-spels-emacs/casting-spels-emacs-19.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/casting-spels-emacs/casting-spels-emacs-19.ebuild,v 1.2 2008/08/11 11:15:25 ulm Exp $ - -inherit elisp-common eutils - -DESCRIPTION="Casting SPELs in Lisp - A Comic Book (Emacs Lisp Edition)" -HOMEPAGE="http://code.google.com/p/casting-spels-emacs/" -SRC_URI="http://casting-spels-emacs.googlecode.com/files/${PN}-v${PV}.zip" - -LICENSE="GPL-2 FDL-1.2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="virtual/emacs" -DEPEND="app-arch/unzip" - -S="${WORKDIR}/${PN}" - -src_unpack() { - unpack ${A} - cd "${S}" - edos2unix *.txt html/*.html {lisp,test}/*.el || die "edos2unix failed" -} - -src_install() { - elisp-install ${PN} lisp/*.el || die "elisp-install failed" - dohtml -r html/. images || die "dohtml failed" - dosym html/images /usr/share/doc/${PF}/images - dosym ${SITELISP}/${PN} /usr/share/doc/${PF}/lisp - dodoc README.txt test/walk-through-commands.el -} diff --git a/app-doc/casting-spels-emacs/files/casting-spels-emacs-19-require-cl.patch b/app-doc/casting-spels-emacs/files/casting-spels-emacs-19-require-cl.patch new file mode 100644 index 000000000000..d7743d29fbf6 --- /dev/null +++ b/app-doc/casting-spels-emacs/files/casting-spels-emacs-19-require-cl.patch @@ -0,0 +1,11 @@ +--- casting-spels-emacs-orig/lisp/wizard-adventure-emacs.el 2007-09-17 04:18:48.000000000 +0200 ++++ casting-spels-emacs/lisp/wizard-adventure-emacs.el 2008-09-05 19:59:21.000000000 +0200 +@@ -27,6 +27,8 @@ + + ;;; Code in the comic not needed to play the game is commented out... + ++(require 'cl) ++ + (setq eval-expression-print-length nil) + + (setq objects '(whiskey-bottle bucket frog chain)) -- cgit v1.2.3-65-gdbad