From 462391357aa5e749dc9908c15f3baa0b4416f3d8 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 28 Jan 2014 03:27:16 +0000 Subject: Tue Jan 28 03:22:21 UTC 2014 --- pcr/emacs-color-theme/PKGBUILD | 48 ------------------------- pcr/emacs-color-theme/emacs-color-theme.install | 9 ----- pcr/emacs-color-theme/fix-build.patch | 19 ---------- pcr/emacs-color-theme/gnus-bug.diff | 28 --------------- 4 files changed, 104 deletions(-) delete mode 100644 pcr/emacs-color-theme/PKGBUILD delete mode 100644 pcr/emacs-color-theme/emacs-color-theme.install delete mode 100644 pcr/emacs-color-theme/fix-build.patch delete mode 100644 pcr/emacs-color-theme/gnus-bug.diff (limited to 'pcr/emacs-color-theme') diff --git a/pcr/emacs-color-theme/PKGBUILD b/pcr/emacs-color-theme/PKGBUILD deleted file mode 100644 index 53ad1bf24..000000000 --- a/pcr/emacs-color-theme/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# $Id: PKGBUILD 59903 2011-12-02 11:18:13Z andrea $ -# Contributor: Stefan Husmann -# Contributor: Cesar Romero -# Maintainer : Parabola GNU / Linux-libre - -pkgname=emacs-color-theme -pkgver=6.6.0 -pkgrel=8 -arch=('any') -pkgdesc="Emacs color themes" -url="https://gna.org/projects/color-theme" -license=('GPL2') -depends=('emacs' 'xorg-fonts-100dpi') -makedepends=('emacs') -provides=('color-theme') -replaces=('color-theme') -install=$pkgname.install -source=(http://download.savannah.gnu.org/releases/color-theme/color-theme-$pkgver.tar.gz - 'gnus-bug.diff' - 'fix-build.patch') -md5sums=('a4de73c236a6af11ab378bfe18dabcca' - '8b7ee1c4c6f80606f22c3de448ec92e8' - '25b92ea246716689502ebe050322a60a') - -build() { - cd $srcdir/color-theme-$pkgver - - patch -p1 -i $srcdir/gnus-bug.diff - patch -p0 -i $srcdir/fix-build.patch - - make -} - -package() { - cd $srcdir/color-theme-$pkgver - install -Dm644 color-theme.el \ - $pkgdir/usr/share/emacs/site-lisp/color-theme.el - install -Dm644 themes/color-theme-library.el \ - $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-library.el - install -Dm644 themes/color-theme-example.el \ - $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-example.el - install -Dm644 color-theme.elc \ - $pkgdir/usr/share/emacs/site-lisp/color-theme.elc - install -Dm644 themes/color-theme-library.elc \ - $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-library.elc - install -Dm644 themes/color-theme-example.elc \ - $pkgdir/usr/share/emacs/site-lisp/themes/color-theme-example.elc -} diff --git a/pcr/emacs-color-theme/emacs-color-theme.install b/pcr/emacs-color-theme/emacs-color-theme.install deleted file mode 100644 index b1de09f76..000000000 --- a/pcr/emacs-color-theme/emacs-color-theme.install +++ /dev/null @@ -1,9 +0,0 @@ -# arg 1: the new package version -post_install() { -echo "# To start using color-theme add this to your .emacs:" -echo "# (require 'color-theme)" -} - -post_upgrade() { - post_install -} \ No newline at end of file diff --git a/pcr/emacs-color-theme/fix-build.patch b/pcr/emacs-color-theme/fix-build.patch deleted file mode 100644 index cadb1ae05..000000000 --- a/pcr/emacs-color-theme/fix-build.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- Makefile.orig 2009-05-15 18:22:49.000000000 +0200 -+++ Makefile 2009-05-16 08:59:36.000000000 +0200 -@@ -15,6 +15,7 @@ - TARGET = $(patsubst %.el,%.elc,$(SPECIAL) $(SOURCE)) - MANUAL = color-theme - MISC = AUTHORS COPYING ChangeLog Makefile.defs Makefile $(AUTOLOADFILE).in -+LOADPATH = "$(shell pwd)" "$(shell pwd)/themes" - #AUTHORS CREDITS HISTORY NEWS README Makefile ChangeLog \ - #ChangeLog.2005 ChangeLog.2004 ChangeLog.2003 ChangeLog.2002 \ - #ChangeLog.2001 servers.pl color-theme-auto.in color-theme.texi -@@ -47,7 +48,7 @@ - - %.elc: %.el - @$(EMACS) $(OPTIONCOMPILE) \ -- --eval '(setq load-path (cons "." load-path))' \ -+ --eval '(setq load-path (append load-path (list $(LOADPATH))))' \ - -f batch-byte-compile $< - - %.info: %.texi diff --git a/pcr/emacs-color-theme/gnus-bug.diff b/pcr/emacs-color-theme/gnus-bug.diff deleted file mode 100644 index 9d227df56..000000000 --- a/pcr/emacs-color-theme/gnus-bug.diff +++ /dev/null @@ -1,28 +0,0 @@ -diff -Naur color-theme-6.6.0.orig/color-theme.el color-theme-6.6.0.new/color-theme.el ---- color-theme-6.6.0.orig/color-theme.el 2011-11-18 01:17:29.000000000 +0100 -+++ color-theme-6.6.0.new/color-theme.el 2011-11-18 01:24:07.000000000 +0100 -@@ -73,9 +73,10 @@ - "Non-nil if running XEmacs.") - - ;; Add this since it appears to miss in emacs-2x --(or (fboundp 'replace-in-string) -- (defun replace-in-string (target old new) -- (replace-regexp-in-string old new target))) -+(if (fboundp 'replace-in-string) -+ (defalias 'color-theme-replace-in-string 'replace-in-string) -+ (defsubst color-theme-replace-in-string (target old new &optional literal) -+ (replace-regexp-in-string old new target nil literal))) - - ;; face-attr-construct has a problem in Emacs 20.7 and older when - ;; dealing with inverse-video faces. Here is a short test to check -@@ -1626,8 +1627,8 @@ - (add-to-list 'color-themes - (list ',n - (upcase-initials -- (replace-in-string -- (replace-in-string -+ (color-theme-replace-in-string -+ (color-theme-replace-in-string - (symbol-name ',n) "^color-theme-" "") "-" " ")) - ,author)) - (defun ,n () -- cgit v1.2.3-54-g00ecf