Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/editors
In directory vz-cvs-3.sog:/tmp/cvs-serv32592/d/d/d/d
Added Files:
eieio.info eieio.patch semantic.info semantic.patch
Log Message:
to stable
--- NEW FILE: eieio.patch ---
diff -u -Naur eieio-0.17/eieio.texi eieio-0.17.fink/eieio.texi
--- eieio-0.17/eieio.texi Wed Aug 7 21:12:47 2002
+++ eieio-0.17.fink/eieio.texi Mon Jun 9 23:06:23 2003
@@ -7,6 +7,7 @@
@ifinfo
@format
+INFO-DIR-SECTION Emacs
START-INFO-DIR-ENTRY
* eieio: (eieio). Objects for Emacs
END-INFO-DIR-ENTRY
diff -u -Naur eieio-0.17/emacsen-install eieio-0.17.fink/emacsen-install
--- eieio-0.17/emacsen-install Wed Dec 31 19:00:00 1969
+++ eieio-0.17.fink/emacsen-install Mon Jun 9 23:14:53 2003
@@ -0,0 +1,41 @@
+#! /bin/sh -e
+
+FLAVOR=$1
+PACKAGE=eieio
+
+echo install/${PACKAGE}: Handling install of emacsen flavor ${FLAVOR}
+
+if [ ${FLAVOR} == emacs ]; then exit 0; fi
+
+FLAVORTEST=`echo $FLAVOR | cut -c-6`
+if [ ${FLAVORTEST} = xemacs ] ; then
+ SITEFLAG="-no-site-file"
+else
+ SITEFLAG="--no-site-file"
+fi
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+ELDIR=@PREFIX@/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=@PREFIX@/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+install -m 755 -d ${ELCDIR}
+cd ${ELDIR}
+
+FILES="eieio.el eieio-comp.el eieio-opt.el eieio-custom.el eieio-doc.el
eieio-base.el tree.el call-tree.el chart.el eieio-speedbar.el linemark.el"
+cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+
+rm -f *.elc
+${FLAVOR} ${FLAGS} ${FILES}
+
+rm -f *.el
+
+# previous version (incorrectly) installed this file and didn't remove it
+rm -f @PREFIX@/etc/${FLAVOR}/site-start.d/??eieio.el
+
+exit 0
+
diff -u -Naur eieio-0.17/emacsen-remove eieio-0.17.fink/emacsen-remove
--- eieio-0.17/emacsen-remove Wed Dec 31 19:00:00 1969
+++ eieio-0.17.fink/emacsen-remove Mon Jun 9 23:06:22 2003
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+FLAVOR=$1
+
+echo remove/eieio: Handling removal of emacsen flavor ${FLAVOR}
+
+if [ ${FLAVOR} != emacs ]
+then
+ echo remove/eieio: purging byte-compiled files for ${FLAVOR}
+
+ rm -rf @PREFIX@/share/${FLAVOR}/site-lisp/eieio
+
+fi
+
+exit 0;
+
diff -Naur a/eieio-comp.el b/eieio-comp.el
--- a/eieio-comp.el 2009-10-03 13:26:17.000000000 +0200
+++ b/eieio-comp.el 2009-10-03 13:27:15.000000000 +0200
@@ -74,7 +74,10 @@
(class (if (listp arg1) (nth 1 arg1) nil))
(my-outbuffer (if (eval-when-compile
(string-match "XEmacs" emacs-version))
- byte-compile-outbuffer outbuffer))
+ byte-compile-outbuffer
+ (condition-case nil
+ bytecomp-outbuffer
+ (error outbuffer))))
)
(let ((name (format "%s::%s" (or class "#<generic>") meth)))
(if byte-compile-verbose
--- NEW FILE: semantic.patch ---
diff -Naur semantic-1.4.4.orig/emacsen-install semantic-1.4.4/emacsen-install
--- semantic-1.4.4.orig/README.Fink Thu Jan 1 10:00:00 1970
+++ semantic-1.4.4/README.Fink Wed Sep 25 02:24:08 2002
@@ -0,0 +1,4 @@
+To use semantic, add the following lines to your .emacs file:
+
+(setq semantic-load-turn-everything-on t)
+(require 'semantic-load)
diff -Naur semantic-1.4.4.orig/emacsen-install semantic-1.4.4/emacsen-install
--- semantic-1.4.4.orig/emacsen-install Thu Jan 1 10:00:00 1970
+++ semantic-1.4.4/emacsen-install Wed Sep 25 02:24:08 2002
@@ -0,0 +1,59 @@
+#! /bin/sh
+# @PREFIX@/lib/emacsen-common/packages/install/semantic
+set -e
+
+FLAVOR=${1}
+PACKAGE=semantic
+
+echo install/${PACKAGE}: Handling install of emacsen flavor ${FLAVOR}
+
+el_semantic="semantic.el semantic-util.el semantic-bnf.el semantic-ctxt.el"
+el_languages="semantic-c.el semantic-el.el semantic-java.el semantic-make.el \
+ semantic-scm.el semantic-texi.el"
+el_tools="semantic-imenu.el semantic-sb.el working.el semanticdb.el \
+ document.el document-vars.el sformat.el semantic-chart.el \
+ semantic-util-modes.el semantic-analyze.el semantic-ia.el \
+ semantic-cb.el semantic-ia-sb.el"
+el_senator="senator.el"
+el_load="semantic-load.el"
+
+el_files="${el_semantic} ${el_languages} ${el_tools} ${el_senator} ${el_load}"
+
+el_dir=@PREFIX@/share/emacs/site-lisp/${PACKAGE}/
+elc_dir=@PREFIX@/share/${FLAVOR}/site-lisp/${PACKAGE}/
+el_path_list=`for i in ${el_files}; do \
+ echo $i | perl -pe "s|^|${el_dir}|"; done`
+elc_path_list=`for i in ${el_files}; do \
+ echo $i | perl -pe "s|^|${elc_dir}|"; done`
+
+if [ `echo ${FLAVOR} | cut -c-6` = xemacs ] ; then
+ site_file_flag="-no-site-file"
+else
+ site_file_flag="--no-site-file"
+fi
+
+byte_compile_options="-batch -q --no-init-file ${site_file_flag} \
+ --funcall=batch-byte-compile"
+
+if [ ${FLAVOR} != emacs ]
+then
+ echo install/${PACKAGE}: byte-compiling for ${FLAVOR}
+
+ install -m 755 -d ${elc_dir}
+
+ # Copy the temp .el files to the installation dir
+ cp ${el_path_list} ${elc_dir}
+
+ # Byte compile them
+ (cd ${elc_dir} && ${FLAVOR} ${byte_compile_options} ${elc_path_list})
+
+ # remove the redundant .el files
+ rm ${elc_path_list}
+fi
+
+exit 0
+
+### Local variables:
+### mode: shell-script
+### End:
+
diff -Naur semantic-1.4.4.orig/emacsen-remove semantic-1.4.4/emacsen-remove
--- semantic-1.4.4.orig/emacsen-remove Thu Jan 1 10:00:00 1970
+++ semantic-1.4.4/emacsen-remove Wed Sep 25 02:25:09 2002
@@ -0,0 +1,22 @@
+#!/bin/sh
+# @PREFIX@/lib/emacsen-common/packages/remove/semantic
+set -e
+
+FLAVOR=${1}
+PACKAGE=semantic
+
+echo remove/${PACKAGE}: Handling removal of emacsen flavor ${FLAVOR}
+
+if [ ${FLAVOR} != emacs ]
+then
+ echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+
+ rm -rf @PREFIX@/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
+
+exit 0;
+
+### Local variables:
+### mode: shell-script
+### End:
+
diff -Naur semantic-1.4.4.orig/semantic.texi semantic-1.4.4/semantic.texi
--- semantic-1.4.4.orig/semantic.texi Mon Feb 24 18:37:45 2003
+++ semantic-1.4.4/semantic.texi Mon Feb 24 18:87:19 2003
@@ -7,6 +7,7 @@
@ifinfo
@format
+INFO-DIR-SECTION Emacs
START-INFO-DIR-ENTRY
* semantic: (semantic). Semantic Parsing for Emacs
END-INFO-DIR-ENTRY
--- NEW FILE: eieio.info ---
Package: eieio
Version: 0.17
Revision: 6
Description: Enhanced Integration of Emacs Interpreted Objects
License: GPL
Maintainer: Rohan Lloyd <[email protected]>
BuildDepends: fink (>= 0.24.12)
Depends: emacsen, speedbar
Source: mirror:sourceforge:cedet/%n-%v.tar.gz
Source-MD5: 13a5663dcd6bae31d6c618701d2bd08b
PatchFile: %n.patch
PatchFile-MD5: 8df2b507ac2039f0140442e8d37cda25
PatchScript: <<
/usr/bin/sed 's|@PREFIX@|%p|g' <%{PatchFile} | /usr/bin/patch
/usr/bin/head -n 31 eieio.el >LICENSE
<<
CompileScript: /usr/bin/makeinfo %n.texi
InstallScript: <<
/usr/bin/install -m 755 -d %i/share/emacs/site-lisp/%n
/usr/bin/install -m 644 *.el %i/share/emacs/site-lisp/%n
/usr/bin/install -m 755 -d %i/lib/emacsen-common/packages/install
/usr/bin/install -m 755 emacsen-install \
%i/lib/emacsen-common/packages/install/%n
/usr/bin/install -m 755 -d %i/lib/emacsen-common/packages/remove
/usr/bin/install -m 755 emacsen-remove %i/lib/emacsen-common/packages/remove/%n
/usr/bin/install -m 755 -d %i/share/info
/usr/bin/install -m 644 *.info %i/share/info
/usr/bin/install -m 755 -d %i/share/doc/%n/src
/usr/bin/install -m 644 *.texi %i/share/doc/%n/src
<<
PostInstScript: <<
if [ "$1" = "configure" ]; then
%p/lib/emacsen-common/emacs-package-install %n
fi
<<
PreRmScript: <<
%p/lib/emacsen-common/emacs-package-remove %n
<<
DocFiles: INSTALL LICENSE ChangeLog
InfoDocs: %n.info
Homepage: http://cedet.sourceforge.net/eieio.shtml
DescDetail:<<
EIEIO is a series of Lisp routines which implements a subset of
CLOS, the Common Lisp Object System. In addition, EIEIO also adds
a few new features which help it integrate more strongly with the
Emacs running environment.
<<
DescPort: <<
Patch for emacs23 (byte-compiling eieio-comp.el) from Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/cedet/+bug/420402
<<
--- NEW FILE: semantic.info ---
Package: semantic
Version: 1.4.4
Revision: 4
Description: Emacs - Semantic Bovinator
License: GPL
Maintainer: Rohan Lloyd <[email protected]>
Depends: emacsen, eieio, speedbar
BuildDepends: fink (>= 0.24.12), texinfo
Source: mirror:sourceforge:cedet/%n-%v.tar.gz
Source-MD5: 9b3780695154dc66e1ecbdc40c0541a0
PatchFile: %n.patch
PatchFile-MD5: fd7b1b507be8e8a26b14c56795934dfa
PatchScript: <<
sed 's|@PREFIX@|%p|g' <%{PatchFile} | patch -p1
head -n 27 %n.el >LICENSE
<<
CompileScript: makeinfo %n.texi
InstallScript:<<
install -m 755 -d %i/share/emacs/site-lisp/%n
install -m 644 *.el %i/share/emacs/site-lisp/%n
install -m 755 -d %i/share/info
install -m 644 %n.info* %i/share/info
install -m 755 -d %i/share/doc/%n/src
install -m 644 *.texi %i/share/doc/%n/src
install -m 755 -d %i/share/doc/%n/examples
install -m 644 *.bnf %i/share/doc/%n/examples
install -m 644 semantic-skel.el semantic-example.el %i/share/doc/%n/examples
install -m 755 -d %i/lib/emacsen-common/packages/install
install -m 755 emacsen-install %i/lib/emacsen-common/packages/install/%n
install -m 755 -d %i/lib/emacsen-common/packages/remove
install -m 755 emacsen-remove %i/lib/emacsen-common/packages/remove/%n
<<
PostInstScript: %p/lib/emacsen-common/emacs-package-install %n
PreRmScript: %p/lib/emacsen-common/emacs-package-remove %n
DocFiles: INSTALL LICENSE ChangeLog NEWS README.Fink
InfoDocs: %n.info
## The CompileScript destroys the 5 original %n.info* files, and writes out
## a single new one. Previous InfoDoc led then to breakdown at postinstall.
(JFm)
#
Homepage: http://cedet.sourceforge.net/semantic.shtml
DescDetail: <<
The Semantic Bovinator's goal is to provide an intermediate API for
authors of language agnostic tools who want to deal with languages in
a generic way. It also provides a simple way for Mode Authors, who
are experts in their language, to provide a parser for those tool
authors, without knowing anything about those tools.
The Semantic Bovinator is made up of these important pieces:
- lexer: Converts a language into a token stream
- parser: Converts a token stream into a stream of nonterminals
defined by the language.
- parser-generator: Converts a language definition into a table
usable by the parser. (Written using the Semantic Bovinator)
- Language Definitions: Parsers already existing for the parser
generator language (Bovine Normal Form), Emacs Lisp, and C.
- speedbar browser: Code for browsing a generated nonterminal list
with Speedbar.
- Documentation generator: Identifies inline documentation in source
code, and can convert it to texinfo. It can also create inline
documentation.
<<
DescUsage: <<
(setq semantic-load-turn-everything-on t)
(require 'semantic-load)
<<
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs