Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/editors
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv4938
Added Files:
redo-el.info redo-el.patch
Log Message:
New from tracker
http://sourceforge.net/tracker/index.php?func=detail&aid=1851529&group_id=17203&atid=414256
--- NEW FILE: redo-el.info ---
Package: redo-el
Description: Improved undo/redo mechanism for emacsen
Depends: emacsen
Version: 1.02
Revision: 2
License: GPL
DocFiles: fink/README.fink fink/LICENSE
Maintainer: Jesse Alama <[EMAIL PROTECTED]>
Source: http://www.wonderworks.com/download/redo.el
Source-MD5: 36ac2daaba22adcafec3e118d12e11e9
NoSourceDirectory: true
PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
DescDetail: <<
>From http://www.emacswiki.org/cgi-bin/wiki/RedoMode:
Emacs treats 'undo' as just another command. Therefore you can undo
the undo. This is powerful and confusing, because if you are doing
several undos and miss the "correct spot", and do anything at all
which is not an undo command, you will be stuck: You broke the chain
of undos. When you realize your mistake and try to undo some more, you
will first undo your previous undos, then undo the dos, and then you
can finally undo some more to find the correct spot. The problem is at
least as confusing as this description.
<<
CompileScript: <<
<<
InstallScript: <<
mkdir -p %i/share/emacs/site-lisp/redo
install -m 644 redo.el %i/share/emacs/site-lisp/redo
mkdir -p %i/lib/emacsen-common/packages/install
mkdir -p %i/lib/emacsen-common/packages/remove
install -m 755 fink/emacsen-install %i/lib/emacsen-common/packages/install/%n
install -m 755 fink/emacsen-remove %i/lib/emacsen-common/packages/remove/%n
mkdir -p %i/etc/emacs/site-start.d
install -m 644 fink/40redo.el %i/etc/emacs/site-start.d
<<
PostInstScript: %p/lib/emacsen-common/emacs-package-install %n
PreRmScript: %p/lib/emacsen-common/emacs-package-remove %n
Homepage: http://www.emacswiki.org/cgi-bin/wiki/RedoMode
--- NEW FILE: redo-el.patch ---
diff -Naur --exclude='*~' redo-el-1.02/fink/40redo.el
redo-el-1.02.fink/fink/40redo.el
--- redo-el-1.02/fink/40redo.el 1969-12-31 18:00:00.000000000 -0600
+++ redo-el-1.02.fink/fink/40redo.el 2007-12-26 21:16:37.000000000 -0600
@@ -0,0 +1 @@
+(require 'redo)
diff -Naur --exclude='*~' redo-el-1.02/fink/LICENSE
redo-el-1.02.fink/fink/LICENSE
--- redo-el-1.02/fink/LICENSE 1969-12-31 18:00:00.000000000 -0600
+++ redo-el-1.02.fink/fink/LICENSE 2007-12-26 21:15:04.000000000 -0600
@@ -0,0 +1,25 @@
+;;; redo.el -- Redo/undo system for XEmacs
+
+;; Copyright (C) 1985, 1986, 1987, 1993-1995 Free Software Foundation, Inc.
+;; Copyright (C) 1995 Tinker Systems and INS Engineering Corp.
+;; Copyright (C) 1997 Kyle E. Jones
+
+;; Author: Kyle E. Jones, February 1997
+;; Keywords: lisp, extensions
+
+;; This file is part of XEmacs.
+
+;; XEmacs is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; XEmacs is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with XEmacs; see the file COPYING. If not, write to the Free
+;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+;; 02111-1307, USA.
diff -Naur --exclude='*~' redo-el-1.02/fink/README.fink
redo-el-1.02.fink/fink/README.fink
--- redo-el-1.02/fink/README.fink 1969-12-31 18:00:00.000000000 -0600
+++ redo-el-1.02.fink/fink/README.fink 2007-12-26 21:18:45.000000000 -0600
@@ -0,0 +1,4 @@
+This package was finkified by Jesse Alama ([EMAIL PROTECTED]) on
+Februrary 24, 2007. The sole upstream file was downloaded from
+
+ http://www.wonderworks.com/download/redo.el
diff -Naur --exclude='*~' redo-el-1.02/fink/emacsen-install
redo-el-1.02.fink/fink/emacsen-install
--- redo-el-1.02/fink/emacsen-install 1969-12-31 18:00:00.000000000 -0600
+++ redo-el-1.02.fink/fink/emacsen-install 2007-12-26 21:15:48.000000000
-0600
@@ -0,0 +1,33 @@
+#!/bin/bash -e
+#
+# install file for the fink redo-el emacs package.
+
+set -o posix
+
+FLAVOR=${1}
+
+echo >&2 "install/redo-el: Handling install of emacsen flavor ${FLAVOR}"
+
+if [ ${FLAVOR} == emacs20 ]
+then
+ echo "install/redo-el: Skipping unsupported flavor ${FLAVOR}"
+ exit 0
+fi
+
+if [ ${FLAVOR} == emacs ]
+then
+ exit 0
+fi
+
+echo >&2 -n "install/redo-el: Byte-compiling for ${FLAVOR}..."
+mkdir -p @PREFIX@/share/${FLAVOR}/site-lisp/redo;
+ln -s -f @PREFIX@/share/emacs/site-lisp/redo/redo.el
@PREFIX@/share/${FLAVOR}/site-lisp/redo;
+
+cd @PREFIX@/share/${FLAVOR}/site-lisp/redo;
+
+(${FLAVOR} -batch -f batch-byte-compile --no-site-file --no-init-file redo.el
2>&1) | gzip -9qf > @PREFIX@/share/doc/redo-el/CompilationLog-${FLAVOR}.gz
+
+echo >&2 "done."
+echo >&2 "install/redo-el: Compilation log saved in
@PREFIX@/share/doc/redo-el/CompilationLog-${FLAVOR}.gz."
+
+exit 0
diff -Naur --exclude='*~' redo-el-1.02/fink/emacsen-remove
redo-el-1.02.fink/fink/emacsen-remove
--- redo-el-1.02/fink/emacsen-remove 1969-12-31 18:00:00.000000000 -0600
+++ redo-el-1.02.fink/fink/emacsen-remove 2007-12-26 21:16:08.000000000
-0600
@@ -0,0 +1,27 @@
+#!/bin/bash -e
+#
+# This is the Fink version of the redo-el emacs package.
+set -o posix
+
+FLAVOR=${1}
+
+echo "remove/redo-el: Handling removal for emacsen flavor ${FLAVOR}"
+
+if [ ${FLAVOR} == emacs20 ]
+then
+ echo "remove/redo-el: Skipping unsupported flavor ${FLAVOR}"
+ exit 0
+fi
+
+if [ ${FLAVOR} == emacs ]
+then
+ exit 0
+fi
+
+echo >&2 -n "remove/redo-el: Purging compilation log and byte-compiled files
for ${FLAVOR}..."
+rm -f @PREFIX@/share/doc/redo-el/CompilationLog-${FLAVOR}.gz
+
+rm -Rf @PREFIX@/share/${FLAVOR}/site-lisp/redo
+echo >&2 "done."
+
+exit 0
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs