Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/editors
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5606/10.3/unstable/main/finkinfo/editors
Added Files:
ddskk.info ddskk.patch
Log Message:
New packages. Submission #925438 and #944299
--- NEW FILE: ddskk.patch ---
--- ddskk-12.2.0.orig/fink/ddskk-install Thu Mar 11 18:50:11 2004
+++ ddskk-12.2.0/fink/ddskk-install Thu Mar 11 18:16:51 2004
@@ -0,0 +1,63 @@
+#! /bin/sh -e
+# <PREFIX>/lib/emacsen-common/packages/install/ddskk
+
+# Written by Jim Van Zandt <[EMAIL PROTECTED]>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <[EMAIL PROTECTED]> and octave by Dirk Eddelbuettel <[EMAIL PROTECTED]>.
+
+FLAVOR=$1
+PACKAGE=ddskk
+
+if [ ${FLAVOR} = emacs -o ${FLAVOR} = emacs19 ]; then exit 0; fi
+
+## Checking MULE supported XEmacs. -------------------------------------
+if [ ${FLAVOR} = "xemacs20" -o ${FLAVOR} = "xemacs21" ]; then
+ CHECKMULE=`${FLAVOR} -batch -vanilla -eval "(if (featurep 'mule)(message
\"MULE\"))" 2>&1`
+ if [ "${CHECKMULE}" != "MULE" ]; then exit 0; fi
+fi
+##---------------------------------------------------------------------
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+#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"
+
+ELDIR=<PREFIX>/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=<PREFIX>/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+# Install-info-altdir does not actually exist.
+# Maybe somebody will write it.
+if test -x <PREFIX>/sbin/install-info-altdir; then
+ echo install/${PACKAGE}: install Info links for ${FLAVOR}
+ install-info-altdir --quiet --section "Emacs" "Skk" --dirname=${FLAVOR}
<PREFIX>/share/info/skk.info.gz
+fi
+
+install -m 755 -d ${ELCDIR}
+cd ${ELDIR}
+FILES=`echo *`
+cp -r ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} -l SKK-MK -f SKK-MK-generate-autoloads-el >CompilationLog 2>&1
+sed '/^;;; `load-path/,/^$/s/^/;/' skk-setup.el.in >skk-setup.el
+mv -f leim-list.el.in leim-list.el
+${FLAVOR} ${FLAGS} -f batch-byte-compile skk-setup.el >>CompilationLog 2>&1
+${FLAVOR} ${FLAGS} -l SKK-MK -f SKK-MK-compile NONE NONE NONE >>CompilationLog 2>&1
+cd nicola
+${FLAVOR} ${FLAGS} -l NICOLA-DDSKK-ELS -l NICOLA-DDSKK-MK -f
nicola-ddskk-generate-autoloads >>../CompilationLog 2>&1
+${FLAVOR} ${FLAGS} -f batch-byte-compile nicola-ddskk-autoloads.el
>>../CompilationLog 2>&1
+${FLAVOR} ${FLAGS} -l NICOLA-DDSKK-MK -f compile-nicola-ddskk NONE NONE NONE
>>../CompilationLog 2>&1
+rm -f NICOLA-* *.el
+cd ..
+rm -rf SKK-* *.el *.in tut-code
+gzip -9qf CompilationLog
+
+exit 0
--- ddskk-12.2.0.orig/fink/ddskk-remove Thu Mar 11 18:50:11 2004
+++ ddskk-12.2.0/fink/ddskk-remove Thu Mar 11 18:16:03 2004
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# <PREFIX>/lib/emacsen-common/packages/remove/ddskk
+
+FLAVOR=$1
+PACKAGE=ddskk
+
+if [ ${FLAVOR} != emacs -a ${FLAVOR} != emacs19 ]; then
+ if test -x <PREFIX>/sbin/install-info-altdir; then
+ echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
+ install-info-altdir --quiet --remove --dirname=${FLAVOR}
<PREFIX>/share/info/skk.info.gz
+ fi
+
+ echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+ rm -rf <PREFIX>/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
--- ddskk-12.2.0.orig/fink/ddskk-startup Thu Mar 11 18:50:11 2004
+++ ddskk-12.2.0/fink/ddskk-startup Thu Mar 11 18:45:31 2004
@@ -0,0 +1,41 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian GNU/Linux ddskk package
+;;
+;; Originally contributed by Nils Naumann <[EMAIL PROTECTED]>
+;; Modified by Dirk Eddelbuettel <[EMAIL PROTECTED]>
+;; Adapted for dh-make by Jim Van Zandt <[EMAIL PROTECTED]>
+
+;; The ddskk package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...). The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(or (eq fink-emacs-flavor 'emacs19)
+ (let ((skkpath
+ (list (concat "<PREFIX>/share/" (symbol-name fink-emacs-flavor)
"/site-lisp/ddskk")
+ (concat "<PREFIX>/share/" (symbol-name fink-emacs-flavor)
"/site-lisp/ddskk/nicola"))))
+ (setq load-path (append load-path skkpath))
+
+ (require 'skk-setup)
+
+ (and (featurep 'xemacs)
+ (load (concat (car skkpath) "/skk-autoloads.elc"))) ; Why needed?
+
+ (add-hook 'minibuffer-setup-hook
+ (function (lambda ()
+ (and (boundp 'skk-henkan-okuri-strictly)
+ skk-henkan-okuri-strictly
+ (not (eq last-command 'skk-purge-jisyo))
+ (put 'skk-henkan-okuri-strictly 'temporary-nil t)
+ (setq skk-henkan-okuri-strictly nil)))))
+ (add-hook 'minibuffer-exit-hook
+ (function (lambda ()
+ (and (get 'skk-henkan-okuri-strictly 'temporary-nil)
+ (setq skk-henkan-okuri-strictly t)
+ (put 'skk-henkan-okuri-strictly 'temporary-nil
nil)))))
+
+ (setq skk-server-host (or (getenv "SKKSERVER") "localhost"))))
+ (if (file-exists-p "<PREFIX>/share/ddskk/SKK-JISYO.L")
+ (setq skk-large-jisyo "<PREFIX>/share/ddskk/SKK-JISYO.L")
+ )
--- ddskk-12.2.0.orig/skk-vars.el Fri Jul 18 21:50:53 2003
+++ ddskk-12.2.0/skk-vars.el Fri Mar 12 19:27:39 2004
@@ -2126,7 +2126,7 @@
(cond ((eq skk-emacs-type 'xemacs)
(locate-data-file "SKK.tut"))
(t
- "/usr/local/share/skk/SKK.tut"))
+ "<PREFIX>/share/ddskk/SKK.tut"))
"*SKK $B%A%e!<%H%j%"%k$N%U%!%$%kL>!#(B
The English version is SKK.tut.E."
:type 'file
--- NEW FILE: ddskk.info ---
Package: ddskk
Version: 12.2.0
Revision: 5
Depends: emacsen, apel ( >=10.6)
Provides: skk
Recommends: skk-dict
CustomMirror: <<
ring: ftp://ftp.ring.gr.jp/pub/text/elisp/skk/maintrunk
primary: http://openlab.ring.gr.jp/skk/maintrunk
<<
Source: mirror:custom:%n-%v.tar.bz2
Source-MD5: 3b0f2a2ff13508d6dbb2a3b09369c444
PatchScript: sed -e 's|<PREFIX>|%p|g' < %a/%n.patch | patch -p1
CompileScript: make info
InstallScript: <<
#copy info files
install -m 755 -d %i/share/info
install -m 644 doc/skk.info* %i/share/info
#copy etc files
install -m 755 -d %i/share/%n
install -m 644 etc/* %i/share/%n
#copy elisp files
install -m 755 -d %i/share/emacs/site-lisp/%n
install -m 644 *.el* %i/share/emacs/site-lisp/%n
install -m 644 SKK-* %i/share/emacs/site-lisp/%n
install -m 644 tut-code/*.el %i/share/emacs/site-lisp/%n
#copy additional elisp files
install -m 755 -d %i/share/emacs/site-lisp/%n/nicola
install -m 644 nicola/*.el %i/share/emacs/site-lisp/%n/nicola
install -m 644 nicola/NICOLA* %i/share/emacs/site-lisp/%n/nicola
#copy doc files
install -m 755 -d %i/share/doc/%n %i/share/doc/%n/READMEs
install -m 644 ChangeLog.* %i/share/doc/%n
install -m 644 READMEs/* %i/share/doc/%n/READMEs
#copy site-lisp.d/50ddskk.el
install -m 755 -d %i/etc/emacs/site-start.d
install -m 644 fink/%n-startup %i/etc/emacs/site-start.d/50%n.el
#copy install, remove scripts
install -m 755 -d %i/lib/emacsen-common/packages/{install,remove}
install -m 755 fink/%n-install %i/lib/emacsen-common/packages/install/%n
install -m 755 fink/%n-remove %i/lib/emacsen-common/packages/remove/%n
<<
PostInstScript: <<
if [ "$1" = "configure" ] && [ -x %p/lib/emacsen-common/emacs-package-install ]
then
%p/lib/emacsen-common/emacs-package-install %n
fi
<<
PreRmScript: <<
if [ -x %p/lib/emacsen-common/emacs-package-remove ] ; then
%p/lib/emacsen-common/emacs-package-remove %n
fi
<<
InfoDocs: skk.info
License: GPL
Homepage: http://openlab.jp/skk/
Maintainer: Todai Fink Team <[EMAIL PROTECTED]>
Description: Simple Kana to Kanji conversion program
DescDetail: <<
Daredevil SKK is a version of SKK (Simple Kana to Kanji
conversion program, an input method of Japanese) that has been
maintained by the SKK developing team at
http://openlab.ring.gr.jp/skk.
It consists of a simple core and many optional programs which provide
extensive features, however, our target is to more simplify core, and
more expand its optional features.
If you want to join developing Daredevil SKK, you can access its
sources via a cvs server on the Ring Server Openlab. See
CVS_digest to learn briefly how to access the cvs server.
Daredevil SKK is under the GNU General Public License. See COPYING
for its details.
<<
DescUsage: <<
If you want to customize, copy %p/share/ddskk/dot.skk to your $HOME
and enjoy!
<<
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits