Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/editors
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29542/10.3/unstable/main/finkinfo/editors

Modified Files:
        riece.info riece.patch 
Log Message:
Version bumped.

Index: riece.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/editors/riece.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- riece.info  3 Jan 2006 22:45:33 -0000       1.2
+++ riece.info  4 Apr 2006 22:36:45 -0000       1.3
@@ -1,31 +1,22 @@
 Package: riece
-Version: 1.0.8
-Revision: 6
+Version: 2.0.2
+Revision: 1
 Description: IRC client for Emacs
 License: GPL
 Maintainer: Todai Fink Team <[EMAIL PROTECTED]>
-Depends: emacsen, debconf (>= 0.5)
-Suggests: riece-ndcc | riece-rdcc, riece-async, riece-lsdb, riece-xface, 
riece-hangman, riece-kakasi, riece-google
+Depends: emacsen
+Conflicts: riece-async, riece-kakasi, riece-lsdb, riece-rdcc, riece-xface
+Replaces: riece-async, riece-kakasi, riece-lsdb, riece-rdcc, riece-xface
 Source: http://savannah.nongnu.org/download/%n/%n-%v.tar.gz
-Source-MD5: 11dd0db3ae1407a59649a42ab730b632
-PatchScript: <<
- #!/bin/sh -e
- sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
- cd fink
- for pkg in async kakasi lsdb rdcc xface
- do
-       sed "s|@PACKAGE@|%n-${pkg}|g" < pkg-install > %n-${pkg}-install
-       sed "s|@PACKAGE@|%n-${pkg}|g" < pkg-remove  > %n-${pkg}-remove
-       sed "s|@PACKAGE@|%n-${pkg}|g" < pkg-startup > %n-${pkg}-startup
- done
-<<
+Source-MD5: 06618990f02e5025066703c4fe226077
+PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
 CompileScript: echo "Skip Compilation."
 InstallScript: <<
  install -m 755 -d         %i/share/info
  install -m 644 doc/*.info %i/share/info
 
- install -m 755 -d                        %i/share/emacs/site-lisp/%n
- install -m 644 lisp/{COMPILE,*.el,*.xpm} %i/share/emacs/site-lisp/%n
+ install -m 755 -d                             %i/share/emacs/site-lisp/%n
+ install -m 644 lisp/{COMPILE,*.el,*.rb,*.xpm} %i/share/emacs/site-lisp/%n
 
  install -m 755 -d             %i/share/doc/%n/test
  install -m 644 lisp/test/*.el %i/share/doc/%n/test
@@ -36,167 +27,46 @@
  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
-
- install -m 755 -d                       %d/DEBIAN
- install -m 755 fink/{config,post*,pre*} %d/DEBIAN
- install -m 644 fink/templates           %d/DEBIAN
 <<
-DocFiles: AUTHORS COPYING ChangeLog INSTALL* NEWS* README*
-SplitOff: <<
- Package: %N-async
- Description: connect to IRC server via asynchronous proxy for riece
- Depends: %N (= %v-%r)
- InstallScript: <<
-  install -m 755 -d              %i/etc/emacs/site-start.d
-  install -m 644 fink/%n-startup %i/etc/emacs/site-start.d/51%n.el
-
-  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
- <<
- DocFiles: AUTHORS COPYING ChangeLog INSTALL* NEWS* README*
- Files: share/emacs/site-lisp/%N/%n.el
- 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
- <<
- ConfFiles: %p/etc/emacs/site-start.d/51%n.el
- DescDetail: <<
- This package provides safe connection to an IRC server via local proxy
- which responds to PING requests while Emacs is busy or suspended.
- <<
-<<
-SplitOff2: <<
- Package: %N-kakasi
- Description: convert Japanese to roman string by kakasi for riece
- Depends: %N (= %v-%r), kakasi
- InstallScript: <<
-  install -m 755 -d              %i/etc/emacs/site-start.d
-  install -m 644 fink/%n-startup %i/etc/emacs/site-start.d/51%n.el
+DocFiles: AUTHORS COPYING ChangeLog INSTALL* NEWS* README* doc/HACKING*
+InfoDocs: riece-en.info riece-ja.info
+PreInstScript: <<
+case "$1" in
+    install|upgrade)
+        if [ -e %p/share/debconf/confmodule ]; then
+            . %p/share/debconf/confmodule
+            db_purge
+        fi
+        # Remove garbage.
+        rm -rf %p/var/cache/%n
+    ;;
 
-  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
- <<
- DocFiles: AUTHORS COPYING ChangeLog INSTALL* NEWS* README*
- Files: share/emacs/site-lisp/%N/%n.el
- 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
- <<
- ConfFiles: %p/etc/emacs/site-start.d/51%n.el
- DescDetail: This package is convert Japanese to roman string by kakasi.
-<<
-SplitOff3: <<
- Package: %N-lsdb
- Description: interface to LSDB for riece
- Depends: %N (= %v-%r), lsdb
- InstallScript: <<
-  install -m 755 -d              %i/etc/emacs/site-start.d
-  install -m 644 fink/%n-startup %i/etc/emacs/site-start.d/51%n.el
+    abort-upgrade)
+    ;;
 
-  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
- <<
- DocFiles: AUTHORS COPYING ChangeLog INSTALL* NEWS* README*
- Files: share/emacs/site-lisp/%N/%n.el
- 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
- <<
- ConfFiles: %p/etc/emacs/site-start.d/51%n.el
- DescDetail: This package is cooperates with LSDB.
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
 <<
-SplitOff4: <<
- Package: %N-rdcc
- Description: DCC add-on for riece implemented by ruby
- Depends: %N (= %v-%r)
- Conflicts: riece-ndcc
- InstallScript: <<
-  install -m 755 -d              %i/etc/emacs/site-start.d
-  install -m 644 fink/%n-startup %i/etc/emacs/site-start.d/51%n.el
-
-  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
- <<
- DocFiles: AUTHORS COPYING ChangeLog INSTALL* NEWS* README*
- Files: share/emacs/site-lisp/%N/%n.el
- 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
- <<
- ConfFiles: %p/etc/emacs/site-start.d/51%n.el
- DescDetail: <<
- This package is DCC(Direct Client Connection) add-on for riece.
- DCC is implemented not by emacs lisp, but by ruby.
- <<
+PostInstScript: <<
+if [ -x %p/lib/emacsen-common/emacs-package-install ] && [ "$1" = "configure" ]
+then
+       %p/lib/emacsen-common/emacs-package-install %n
+fi
 <<
-SplitOff5: <<
- Package: %N-xface
- Description: display X-Face in user list buffer for riece
- Depends: %N (= %v-%r), riece-lsdb (= %v-%r)
- InstallScript: <<
-  install -m 755 -d              %i/etc/emacs/site-start.d
-  install -m 644 fink/%n-startup %i/etc/emacs/site-start.d/52%n.el
-
-  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
- <<
- DocFiles: AUTHORS COPYING ChangeLog INSTALL* NEWS* README*
- Files: share/emacs/site-lisp/%N/%n.el
- 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
- <<
- ConfFiles: %p/etc/emacs/site-start.d/52%n.el
- DescDetail: This package is displays X-Faces in user list buffer.
+PreRmScript: <<
+if [ -x %p/lib/emacsen-common/emacs-package-remove ]; then
+       %p/lib/emacsen-common/emacs-package-remove %n
+fi
 <<
 ConfFiles: %p/etc/emacs/site-start.d/50%n.el
 Homepage: http://savannah.nongnu.org/projects/riece/
 DescDetail: <<
 Riece is an IRC client for Emacs. The development has started to redesign
-the Liece IRC client. This package is also includes the add-ons independent
-of the other packages. The add-ons depending on the other packages are
-separated.
-
+the Liece IRC client.
+ 
 Riece provides the following features:
 
  - Several IRC servers may be used at the same time.
@@ -206,6 +76,6 @@
  - Setup is easy.  Automatically save/restore the configuration.
  - Riece uses separate windows to display users, channels, and
    dialogues.  The user can select the window layout.
- - Step-by-step instructions (currently written in Japanese) are included.
+ - Step-by-step instructions (in info format) are included.
  - Mostly compliant with RFC 2812.
 <<

Index: riece.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/editors/riece.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- riece.patch 4 Apr 2005 05:33:21 -0000       1.1
+++ riece.patch 4 Apr 2006 22:36:45 -0000       1.2
@@ -1,407 +1,126 @@
-diff -Naur riece-1.0.8.orig/fink/config riece-1.0.8/fink/config
---- riece-1.0.8.orig/fink/config       Thu Jan  1 09:00:00 1970
-+++ riece-1.0.8/fink/config    Sun Apr  3 03:05:51 2005
-@@ -0,0 +1,73 @@
-+#!/bin/sh -e
-+
-+#set -x
-+
-+. @PREFIX@/share/debconf/confmodule
-+
-+if [ ! -d @PREFIX@/var/cache/riece ]; then
-+  mkdir -m 755 @PREFIX@/var/cache/riece
-+fi
-+
[EMAIL PROTECTED]@/var/cache/riece/addonlist
-+
-+if [ -f "$ADDONLIST" ]; then
-+  if [ -f "$ADDONLIST"-old ]; then
-+    rm -f "$ADDONLIST"-old
-+  fi
-+  mv "$ADDONLIST" "$ADDONLIST"-old
-+fi
-+
-+cat << ENDOFLIST > "$ADDONLIST"
-+alias
-+biff
-+button
-+ctcp
-+ctlseq
-+doctor
-+eval
-+foolproof
-+guess
-+highlight
-+history
-+icon
-+ignore
-+keepalive
-+keyword
-+log
-+menu
-+mini
-+skk-kakutei
-+toolbar
-+unread
-+url
-+yank
-+ENDOFLIST
-+
-+if [ -f "$ADDONLIST"-old ]; then
-+  if diff -q "${ADDONLIST}"-old "${ADDONLIST}" > /dev/null 2>&1; then
-+    # old file and new file are identical
-+    rm -f "$ADDONLIST"-old
-+  else
-+    db_get riece/reconf
-+    if [ "$RET" = "true" ]; then
-+       db_fset riece/addons seen false
-+    fi
-+  fi
-+fi
-+
-+ADDONS=$(sort -u "$ADDONLIST" | tr '\n' ' ' \
-+        | sed 's/\ /,\ /g' | sed 's/,\ $//g')
-+
-+db_capb backup
-+
-+db_subst riece/addons addons "$ADDONS"
-+
-+while [ "$GO" != "ok" ]; do
-+  db_input medium riece/addons || true
-+  if db_go; then
-+    GO=ok
-+  fi
-+done
-+
-+db_input medium riece/reconf || true
-+db_go || true
-diff -Naur riece-1.0.8.orig/fink/pkg-install riece-1.0.8/fink/pkg-install
---- riece-1.0.8.orig/fink/pkg-install  Thu Jan  1 09:00:00 1970
-+++ riece-1.0.8/fink/pkg-install       Sun Apr  3 21:09:50 2005
-@@ -0,0 +1,48 @@
-+#! /bin/sh -e
-+# @PREFIX@/lib/emacsen-common/packages/install/@PACKAGE@
+diff -Naur riece-2.0.2.orig/fink/riece-install riece-2.0.2/fink/riece-install
+--- riece-2.0.2.orig/fink/riece-install        1970-01-01 09:00:00.000000000 
+0900
++++ riece-2.0.2/fink/riece-install     2006-03-30 18:01:04.000000000 +0900
+@@ -0,0 +1,115 @@
++#! /bin/bash -e
++# @PREFIX@/lib/emacsen-common/packages/install/riece
 +
 +# 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
[EMAIL PROTECTED]@
-+
-+if [ ${FLAVOR} = emacs ]; then exit 0; 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"
-+
-+LOG=`tempfile -pelc_ -s.log -m644`
[EMAIL PROTECTED]@/share/emacs/site-lisp/riece
[EMAIL PROTECTED]@/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 "" "" --dirname=${FLAVOR} 
@PREFIX@/info/${PACKAGE}.info.gz
-+#fi
-+
-+install -m 755 -d ${ELCDIR}
-+cd ${ELDIR}
-+FILES=`echo *.el COMPILE`
-+cp ${FILES} ${ELCDIR}
-+cd ${ELCDIR}
-+
-+cat << EOF > path.el
-+(setq load-path (cons "." load-path) byte-compile-warnings nil)
-+EOF
-+echo ${FLAVOR} ${FLAGS} --eval "(setq riece-modules '(${PACKAGE}))" -l 
COMPILE -f riece-compile >> ${LOG}
-+"${FLAVOR}" ${FLAGS} --eval "(setq riece-modules '(${PACKAGE}))" -l COMPILE 
-f riece-compile >> ${LOG} 2>&1
-+FILES=`echo *.el COMPILE`
-+rm -f ${FILES}
-+
-+exit 0
-diff -Naur riece-1.0.8.orig/fink/pkg-remove riece-1.0.8/fink/pkg-remove
---- riece-1.0.8.orig/fink/pkg-remove   Thu Jan  1 09:00:00 1970
-+++ riece-1.0.8/fink/pkg-remove        Sun Apr  3 21:10:53 2005
-@@ -0,0 +1,15 @@
-+#!/bin/sh -e
-+# @PREFIX@/lib/emacsen-common/packages/remove/@PACKAGE@
-+
-+FLAVOR=$1
[EMAIL PROTECTED]@
-+
-+if [ ${FLAVOR} != emacs ]; 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@/info/riece-ja.info.gz
-+    # fi
-+
-+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
-+    rm -rf @PREFIX@/share/${FLAVOR}/site-lisp/${PACKAGE}
-+fi
-diff -Naur riece-1.0.8.orig/fink/pkg-startup riece-1.0.8/fink/pkg-startup
---- riece-1.0.8.orig/fink/pkg-startup  Thu Jan  1 09:00:00 1970
-+++ riece-1.0.8/fink/pkg-startup       Sun Apr  3 21:12:59 2005
-@@ -0,0 +1,22 @@
-+;; -*-emacs-lisp-*-
-+;;
-+;; Emacs startup file for Fink @PACKAGE@ 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 @PACKAGE@ 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:
-+
-+(if (not (file-exists-p "@PREFIX@/share/emacs/site-lisp/riece"))
-+    (message "Package @PACKAGE@ removed but not purged.  Skipping setup.")
-+  (setq load-path (cons (concat "@PREFIX@/share/"
-+                              (symbol-name fink-emacs-flavor)
-+                              "/site-lisp/@PACKAGE@") load-path))
-+
-+  (add-to-list 'riece-addons '@PACKAGE@)
-+  )
-diff -Naur riece-1.0.8.orig/fink/postinst riece-1.0.8/fink/postinst
---- riece-1.0.8.orig/fink/postinst     Thu Jan  1 09:00:00 1970
-+++ riece-1.0.8/fink/postinst  Sun Apr  3 03:14:23 2005
-@@ -0,0 +1,70 @@
-+#! /bin/sh
-+# postinst script for riece
-+#
-+# see: dh_installdeb(1)
-+
-+set -e
-+
-+# summary of how this script can be called:
-+#        * <postinst> `configure' <most-recently-configured-version>
-+#        * <old-postinst> `abort-upgrade' <new version>
-+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-+#          <new-version>
-+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-+#          <failed-install-package> <version> `removing'
-+#          <conflicting-package> <version>
-+# for details, see http://www.debian.org/doc/debian-policy/ or
-+# the debian-policy package
 +#
-+# quoting from the policy:
-+#     Any necessary prompting should almost always be confined to the
-+#     post-installation script, and should be protected with a conditional
-+#     so that unnecessary prompting doesn't happen if a package's
-+#     installation fails and the `postinst' is called with `abort-upgrade',
-+#     `abort-remove' or `abort-deconfigure'.
++# Patched by Roland Mas <[EMAIL PROTECTED]> to add support for lists
++# of flavor-dependently included/excluded files
 +
-+case "$1" in
-+    configure)
-+    install-info --quiet --section "Emacs" "Riece (en)" \
-+    --description="Riece IRC client" @PREFIX@/share/info/riece-en.info
++FLAVOR=$1
++STAMPFILE=riece.elc
++PACKAGE=riece
 +
-+    install-info --quiet --section "Emacs" "Riece (ja)" \
-+    --description="Riece IRC client" @PREFIX@/share/info/riece-ja.info
++# INCLUDED_emacs20=""
++# INCLUDED_emacs21=""
++# INCLUDED_xemacs21=""
++# INCLUDE_emacs_snapshot=""
 +
-+    . @PREFIX@/share/debconf/confmodule
++# EXCLUDED_emacs20=""
++# EXCLUDED_emacs21=""
++# EXCLUDED_xemacs21=""
++# EXCLUDED_emacs_snapshot=""
 +
-+    [EMAIL PROTECTED]@/etc/emacs/site-start.d/50riece.el
-+    db_get riece/addons
-+    addons=$RET
-+    if [ "$RET" != "" ]; then
-+        addons=`echo "$RET" | sed 's/,//g' | sed 's/\(^\| \)/\1riece-/g'`
-+    fi
-+    sed "s/(setq riece-addons '(.*))/(setq riece-addons '($addons))/" \
-+        "$STARTUPFILE" > "$STARTUPFILE".tmp
-+    rm "$STARTUPFILE"
-+    mv "$STARTUPFILE".tmp "$STARTUPFILE"
++SOURCEONLY_ALL="COMPILE riece-command-next-channel.xpm 
riece-command-previous-channel.xpm riece-submit-bug-report.xpm"
 +
-+    ;;
++eval included_here=\$$(echo INCLUDED_$FLAVOR | tr - _)
++eval excluded_here=\$$(echo EXCLUDED_$FLAVOR | tr - _)
++eval sourceonly_here=\$$(echo SOURCEONLY_$FLAVOR | tr - _)
 +
-+    abort-upgrade|abort-remove|abort-deconfigure)
++included_all=$(for i in ${!INCLUDED_*} ; do
++    eval echo \$$i
++    done | sort -u)
 +
-+    ;;
++excluded_all=$(for i in ${!EXCLUDED_*} ; do
++    eval echo \$$i
++    done | sort -u)
 +
-+    *)
-+        echo "postinst called with unknown argument \`$1'" >&2
-+        exit 1
-+    ;;
-+esac
++sourceonly_all=$(for i in ${!SOURCEONLY_*} ; do
++    eval echo \$$i
++    done | sort -u)
 +
-+# dh_installdeb will replace this with shell code automatically
-+# generated by other debhelper scripts.
++if [ ${FLAVOR} = emacs ]; then exit 0; fi
 +
-+# Automatically added by dh_installemacsen
-+if [ "$1" = "configure" ] && [ -x 
@PREFIX@/lib/emacsen-common/emacs-package-install ]
-+then
-+      @PREFIX@/lib/emacsen-common/emacs-package-install riece
++LOG=`tempfile -pelc_ -s.log -m644`
[EMAIL PROTECTED]@/share/emacs/site-lisp/${PACKAGE}
[EMAIL PROTECTED]@/share/${FLAVOR}/site-lisp/${PACKAGE}
++if test -e "${ELCDIR}/${STAMPFILE}"; then
++    echo "${PACKAGE} files already compiled in ${ELCDIR}."
++    rm -f ${LOG}
++    exit
 +fi
-+# End automatically added section
-+
-+
-+exit 0
-diff -Naur riece-1.0.8.orig/fink/postrm riece-1.0.8/fink/postrm
---- riece-1.0.8.orig/fink/postrm       Thu Jan  1 09:00:00 1970
-+++ riece-1.0.8/fink/postrm    Sun Apr  3 03:10:29 2005
-@@ -0,0 +1,47 @@
-+#! /bin/sh
-+# postrm script for riece
-+#
-+# see: dh_installdeb(1)
-+
-+set -e
-+
-+# summary of how this script can be called:
-+#        * <postrm> `remove'
-+#        * <postrm> `purge'
-+#        * <old-postrm> `upgrade' <new-version>
-+#        * <new-postrm> `failed-upgrade' <old-version>
-+#        * <new-postrm> `abort-install'
-+#        * <new-postrm> `abort-install' <old-version>
-+#        * <new-postrm> `abort-upgrade' <old-version>
-+#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
-+# for details, see http://www.debian.org/doc/debian-policy/ or
-+# the debian-policy package
-+
-+
-+case "$1" in
-+       
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-+        if [ "$1" = purge -a -e @PREFIX@/share/debconf/confmodule ]; then
-+            . @PREFIX@/share/debconf/confmodule
-+            db_purge
-+            rm -rf @PREFIX@/var/cache/riece
-+        fi
-+        ;;
-+
-+    *)
-+        echo "postrm called with unknown argument \`$1'" >&2
-+        exit 1
-+
-+esac
-+
-+# dh_installdeb will replace this with shell code automatically
-+# generated by other debhelper scripts.
++echo install/${PACKAGE}: Handling ${FLAVOR}, logged in ${LOG}
 +
-+# Automatically added by dh_installdebconf
-+if [ "$1" = purge ] && [ -e @PREFIX@/share/debconf/confmodule ]; then
-+      . @PREFIX@/share/debconf/confmodule
-+      db_purge
++if [ -z "$FLAGS" ] ; then
++    FLAGS="-q -no-site-file --no-site-file -batch -l COMPILE -f riece-compile"
 +fi
-+# End automatically added section
-+
-+
-+exit 0
-diff -Naur riece-1.0.8.orig/fink/prerm riece-1.0.8/fink/prerm
---- riece-1.0.8.orig/fink/prerm        Thu Jan  1 09:00:00 1970
-+++ riece-1.0.8/fink/prerm     Sun Apr  3 03:16:07 2005
-@@ -0,0 +1,43 @@
-+#! /bin/sh
-+# prerm script for riece
-+#
-+# see: dh_installdeb(1)
-+
-+set -e
-+
-+# summary of how this script can be called:
-+#        * <prerm> `remove'
-+#        * <old-prerm> `upgrade' <new-version>
-+#        * <new-prerm> `failed-upgrade' <old-version>
-+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-+#          <package-being-installed> <version> `removing'
-+#          <conflicting-package> <version>
-+# for details, see http://www.debian.org/doc/debian-policy/ or
-+# the debian-policy package
 +
++install -m 755 -d ${ELCDIR}
++cd ${ELDIR}
 +
-+case "$1" in
-+    remove|upgrade|deconfigure)
-+        install-info --quiet --remove @PREFIX@/share/info/riece-en.info
-+        install-info --quiet --remove @PREFIX@/share/info/riece-ja.info
-+        ;;
-+    failed-upgrade)
-+        ;;
-+    *)
-+        echo "prerm called with unknown argument \`$1'" >&2
-+        exit 1
-+    ;;
-+esac
++# Now to compute the list of files to install...
 +
-+# dh_installdeb will replace this with shell code automatically
-+# generated by other debhelper scripts.
++FILES=$(ls -1 *.el)
++# Here we have all of them
 +
-+# Automatically added by dh_installemacsen
-+if [ -x @PREFIX@/lib/emacsen-common/emacs-package-remove ] ; then
-+      @PREFIX@/lib/emacsen-common/emacs-package-remove riece
++PATTERN=""
++for i in $included_all $excluded_all $sourceonly_all; do
++    [ ! -z "$PATTERN" ] && PATTERN="${PATTERN}\|"
++    PATTERN="${PATTERN}^$i\$"
++done
++FILES2=$FILES
++if [ ! -z "$PATTERN" ] ; then
++    FILES=$(for i in $FILES2 ; do echo $i | grep -v $PATTERN || true ; done)
 +fi
-+# End automatically added section
-+
-+
-+exit 0
-diff -Naur riece-1.0.8.orig/fink/riece-install riece-1.0.8/fink/riece-install
---- riece-1.0.8.orig/fink/riece-install        Thu Jan  1 09:00:00 1970
-+++ riece-1.0.8/fink/riece-install     Sun Apr  3 03:16:40 2005
-@@ -0,0 +1,50 @@
-+#! /bin/sh -e
-+# @PREFIX@/lib/emacsen-common/packages/install/riece
-+
-+# 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=riece
-+
-+if [ ${FLAVOR} = emacs ]; then exit 0; fi
-+
-+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
++# Here we only have those not explicitly included or excluded by any flavour
 +
-+FLAVORTEST=`echo $FLAVOR | cut -c-6`
-+if [ ${FLAVORTEST} = xemacs ] ; then
-+    SITEFLAG="-no-site-file"
-+else
-+    SITEFLAG="--no-site-file"
-+fi
-+FLAGS="${SITEFLAG} -q -batch"
++FILES="$FILES $included_here"
++# Here we also have those included for the current flavour
 +
-+LOG=`tempfile -pelc_ -s.log -m644`
[EMAIL PROTECTED]@/share/emacs/site-lisp/${PACKAGE}
[EMAIL PROTECTED]@/share/${FLAVOR}/site-lisp/${PACKAGE}
++for i in $excluded_all ; do
++    include_i="yes"
++    for j in $excluded_here ; do
++      [ $i = $j ] && include_i="no"
++    done
++    [ $include_i = "yes" ] && FILES="$FILES $i"
++done
++# And now we have those excluded by other flavours but not the current one
 +
-+# 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 "" "" --dirname=${FLAVOR} 
@PREFIX@/info/${PACKAGE}.info.gz
-+#fi
++FILES=$(for i in $FILES ; do echo $i ; done | sort -u)
++# And now for my last trick...  The list is now uniquified!
 +
-+install -m 755 -d ${ELCDIR}
-+cd ${ELDIR}
-+FILES=`echo *.xpm`
-+cp ${FILES} ${ELCDIR}
-+FILES=`echo *.el COMPILE`
-+cp ${FILES} ${ELCDIR}
++# Symlinks instead of copying...
 +cd ${ELCDIR}
++for i in $FILES $sourceonly_all; do
++    ln -fs @PREFIX@/share/emacs/site-lisp/${PACKAGE}/$i
++done
 +
 +cat << EOF > path.el
 +(setq load-path (cons "." load-path) byte-compile-warnings nil)
 +EOF
-+echo ${FLAVOR} ${FLAGS} -l COMPILE -f riece-compile >> ${LOG}
-+"${FLAVOR}" ${FLAGS} -l COMPILE -f riece-compile >> ${LOG} 2>&1
-+FILES=`echo *.el COMPILE`
-+rm -f ${FILES}
++if test "${APPEND_LOAD_PATH}" != ""
++then
++      cat << EOF >> path.el
++(setq load-path (append ${APPEND_LOAD_PATH} load-path))
++EOF
++fi
++
++echo ${FLAVOR} ${FLAGS} >> ${LOG}
++"${FLAVOR}" ${FLAGS} >> ${LOG} 2>&1
++egrep -s -e "While compiling|\*\*" ${LOG} || /usr/bin/true
++echo install/${PACKAGE}: Deleting ${LOG}
++rm -f path.el COMPILE ${LOG}
 +
 +exit 0
-diff -Naur riece-1.0.8.orig/fink/riece-remove riece-1.0.8/fink/riece-remove
---- riece-1.0.8.orig/fink/riece-remove Thu Jan  1 09:00:00 1970
-+++ riece-1.0.8/fink/riece-remove      Sun Apr  3 03:17:24 2005
-@@ -0,0 +1,15 @@
+diff -Naur riece-2.0.2.orig/fink/riece-remove riece-2.0.2/fink/riece-remove
+--- riece-2.0.2.orig/fink/riece-remove 1970-01-01 09:00:00.000000000 +0900
++++ riece-2.0.2/fink/riece-remove      2006-03-30 18:00:50.000000000 +0900
+@@ -0,0 +1,11 @@
 +#!/bin/sh -e
 +# @PREFIX@/lib/emacsen-common/packages/remove/riece
 +
@@ -409,21 +128,17 @@
 +PACKAGE=riece
 +
 +if [ ${FLAVOR} != emacs ]; 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@/info/riece-ja.info.gz
-+    # fi
 +
 +    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
 +    rm -rf @PREFIX@/share/${FLAVOR}/site-lisp/${PACKAGE}
 +fi
-diff -Naur riece-1.0.8.orig/fink/riece-startup riece-1.0.8/fink/riece-startup
---- riece-1.0.8.orig/fink/riece-startup        Thu Jan  1 09:00:00 1970
-+++ riece-1.0.8/fink/riece-startup     Sun Apr  3 03:43:51 2005
-@@ -0,0 +1,29 @@
+diff -Naur riece-2.0.2.orig/fink/riece-startup riece-2.0.2/fink/riece-startup
+--- riece-2.0.2.orig/fink/riece-startup        1970-01-01 09:00:00.000000000 
+0900
++++ riece-2.0.2/fink/riece-startup     2006-03-30 17:54:41.000000000 +0900
+@@ -0,0 +1,21 @@
 +;; -*-emacs-lisp-*-
 +;;
-+;; Emacs startup file for Fink riece package
++;; Emacs startup file for the Fink riece package
 +;;
 +;; Originally contributed by Nils Naumann <[EMAIL PROTECTED]>
 +;; Modified by Dirk Eddelbuettel <[EMAIL PROTECTED]>
@@ -437,118 +152,8 @@
 +
 +(if (not (file-exists-p "@PREFIX@/share/emacs/site-lisp/riece"))
 +    (message "Package riece removed but not purged.  Skipping setup.")
-+  (setq load-path (cons (concat "@PREFIX@/share/"
-+                              (symbol-name fink-emacs-flavor)
-+                              "/site-lisp/riece") load-path))
-+
-+  (autoload 'riece "riece" nil t)
-+  ;; Don't touch manually the following line which is modified by debconf.
-+  ;; If you want to customize add-ons, use `dpkg-reconfigure'.
-+  (setq riece-addons '())
-+  (when (and (memq 'riece-history riece-addons)
-+           (memq 'riece-guess riece-addons))
-+    (setq riece-guess-channel-try-functions
-+        '(riece-guess-channel-from-history)))
-+  )
-diff -Naur riece-1.0.8.orig/fink/templates riece-1.0.8/fink/templates
---- riece-1.0.8.orig/fink/templates    Thu Jan  1 09:00:00 1970
-+++ riece-1.0.8/fink/templates Sun Apr  3 02:58:28 2005
-@@ -0,0 +1,98 @@
-+Template: riece/addons
-+Type: multiselect
-+Choices: ${addons}
-+Default: alias, button, ctcp, ctlseq, guess, highlight, history, icon, 
ignore, keyword, log, menu, toolbar, unread, url
-+Description: Which add-on would you like to use?
-+ Riece provides extensible add-on mechanism. Now, these following add-ons
-+ are implemented. Note that the add-ons trailing with `*' mark are separated
-+ as another binary packages.
-+ .
-+  alias          - Define aliases of channel/user names
-+  async*         - Keep IRC connection with external process
-+  biff           - Biff for new arrival messages
-+  button         - Display useful buttons in IRC buffers
-+  ctcp           - CTCP (Client To Client Protocol) support
-+  ctlseq         - Highlight control sequences in IRC buffers
-+  doctor         - Allow users in channel to talk with the classic pseudo-AI
-+  eval(New)      - Evaluate an input string as lisp object
-+  foolproof      - Channel miss killer
-+  google*(New)   - Search keywords by Google
-+  guess          - Guess the next channel, using multiple methods
-+  hangman*       - Allow users in channel to play classic textual game 
"hangman"
-+  highlight      - Highlight IRC buffers
-+  history        - Keep track channel history
-+  icon           - Add icon images on IRC buffers
-+  ignore         - Ignore users
-+  kakasi*        - Convert Japanese to roman string by kakasi
-+  keepalive(New) - Keep an IRC connection
-+  keyword        - Highlight keywords in IRC buffers
-+  log            - Saving IRC logs
-+  lsdb*          - Use LSDB (Lovely Sister Database)
-+  menu           - Setup command menus on menubar
-+  mini           - Send arrival messages to minibuffer
-+  ndcc*          - DCC file sending extension implemented with 
`make-network-process'
-+  rdcc*          - DCC file sending extension implemented in Ruby
-+  skk-kakutei    - Deny SKK's sankaku send
-+  toolbar(New)   - Show toolbar icons
-+  unread         - Mark channels where "unread" messages arrived
-+  url            - Collect URL in IRC buffers
-+  xface*         - Display X-Face in user list buffer
-+  yank           - Enter the element of `kill-ring'
-+Description-ja.EUC-JP: ¤¢¤Ê¤¿¤Ï¤É¤Î¥¢¥É¥ª¥ó¤òÍøÍѤ·¤¿¤¤¤È»×¤¤¤Þ¤¹¤«?
-+ Riece
-+ ¤Ë¤Ï³ÈÄ¥²Äǽ¤Ê¥¢¥É¥ª¥óµ¡¹½¤¬¤¢¤ê¡¢¸½ºß°Ê²¼¤Î¥¢¥É¥ª¥ó¤¬¼ÂÁõ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£*
-+ ¥Þ¡¼¥¯¤ÎÉÕ¤¤¤¿¥¢¥É¥ª¥ó¤ÏÊ̥ѥ屡¼¥¸¤Ë¤Ê¤Ã¤Æ¤¤¤ë»ö¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
-+ .
-+  alias           - ¥Á¥ã¥ó¥Í¥ë¤ä¥æ¡¼¥¶Ì¾¤ÎÊÌ̾¤òÄêµÁ¤Ç¤­¤ë¤è¤¦¤Ë¤·¤Þ¤¹
-+  async*          - ³°Éô¥×¥í¥»¥¹¤ò»È¤Ã¤Æ IRC ¤ÎÀܳ¤ò°Ý»ý¤·¤Þ¤¹
-+  biff            - ¿·¤·¤¯ÆÏ¤¤¤¿¥á¥Ã¥»¡¼¥¸¤ò¤ªÃΤ餻¤·¤Þ¤¹
-+  button          - IRC ¥Ð¥Ã¥Õ¥¡¤ËÊØÍø¤Ê¥Ü¥¿¥ó¤òɽ¼¨¤·¤Þ¤¹
-+  ctcp            - CTCP (Client To Client Protocol) ¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹
-+  ctlseq          - IRC ¥Ð¥Ã¥Õ¥¡¤Î¥³¥ó¥È¥í¡¼¥ë¥·¡¼¥±¥ó¥¹¤Ë¿§¤òÉÕ¤±¤Þ¤¹
-+  doctor          - ¾¤Î¥æ¡¼¥¶¤¬¤ª°å¼Ô¤µ¤ó(µ¼»÷AI)¤È²ñÏäǤ­¤ë¤è¤¦¤Ë¤·¤Þ¤¹
-+  eval(¿·µ¬)      - ÆþÎϤ·¤¿Ê¸»úÎó¤ò lisp ¥ª¥Ö¥¸¥§¥¯¥È¤È¤·¤ÆÉ¾²Á¤·¤Þ¤¹
-+  foolproof       - ¥Á¥ã¥ó¥Í¥ë¥ß¥¹¤òËɤ®¤Þ¤¹
-+  google*(¿·µ¬)   - ¥­¡¼¥ï¡¼¥É¤ò Google ¤Ç¸¡º÷¤·¤Þ¤¹
-+  guess           - ¼¡¤Ë°Üư¤¹¤ë¥Á¥ã¥ó¥Í¥ë¤ò¿ä¬¤·¤Þ¤¹
-+  hangman*        - ¾¤Î¥æ¡¼¥¶¤¬ "hangman" ¤Î¥²¡¼¥à¤ÇÍ·¤Ù¤ë¤è¤¦¤Ë¤·¤Þ¤¹
-+  highlight       - IRC ¥Ð¥Ã¥Õ¥¡¤Ë¿§¤òÉÕ¤±¤Þ¤¹
-+  history         - ¥Á¥ã¥ó¥Í¥ë¤ÎÍúÎò¤ò´ÉÍý¤·¤Þ¤¹
-+  icon            - IRC ¥Ð¥Ã¥Õ¥¡¤Ë¥¢¥¤¥³¥ó¤òÄɲä·¤Þ¤¹
-+  ignore          - »ØÄꤷ¤¿¥æ¡¼¥¶¤ò̵»ë¤Ç¤­¤ë¤è¤¦¤Ë¤·¤Þ¤¹
-+  kakasi*         - kakasi ¤ò»È¤Ã¤ÆÆüËܸì¤ò¥í¡¼¥Þ»ú¤ËÊÑ´¹¤·¤Þ¤¹
-+  keepalive(¿·µ¬) - IRC ¤ÎÀܳ¤ò°Ý»ý¤·¤Þ¤¹
-+  keyword         - IRC ¥Ð¥Ã¥Õ¥¡¤Î¥­¡¼¥ï¡¼¥É¤Ë¿§¤òÉÕ¤±¤Þ¤¹
-+  log             - IRC ¤Î¥í¥°¤òÊݸ¤·¤Þ¤¹
-+  lsdb*           - LSDB (Lovely Sister Database) ¤òÍøÍѤ·¤Þ¤¹
-+  menu            - ¥á¥Ë¥å¡¼¥Ð¡¼¤«¤é¥³¥Þ¥ó¥É¤òÁªÂò¤Ç¤­¤ë¤è¤¦¤Ë¤·¤Þ¤¹
-+  mini            - ÆÏ¤¤¤¿¥á¥Ã¥»¡¼¥¸¤ò¥ß¥Ë¥Ð¥Ã¥Õ¥¡¤ØÉ½¼¨¤·¤Þ¤¹
-+  ndcc*           - make-network-process ¤ò»È¤Ã¤Æ DCC
-+ ¤òÍøÍѤǤ­¤ë¤è¤¦¤Ë¤·¤Þ¤¹
-+  rdcc*           - Ruby ¤ò»È¤Ã¤Æ DCC ¤òÍøÍѤǤ­¤ë¤è¤¦¤Ë¤·¤Þ¤¹
-+  skk-kakutei     - SKK ¤Î»°³Ñ¥Þ¡¼¥¯¤ò¸í¤Ã¤ÆÁ÷¤é¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹
-+  toolbar(¿·µ¬)   - ¥Ä¡¼¥ë¥Ð¡¼¤òɽ¼¨¤·¤Þ¤¹
-+  unread          - ̤ÆÉ¥á¥Ã¥»¡¼¥¸¤Î¤¢¤ë¥Á¥ã¥ó¥Í¥ë¤Ë°õ¤òÉÕ¤±¤Þ¤¹
-+  url             - IRC ¥Ð¥Ã¥Õ¥¡¾å¤Î URL ¤ò¼ý½¸¤·¤Þ¤¹
-+  xface*          - ¥æ¡¼¥¶°ìÍ÷¤Ë X-Face ¤òɽ¼¨¤·¤Þ¤¹
-+  yank            - ¥­¥ë¥ê¥ó¥°¤ÎÆâÍÆ¤òȯ¸À¤Ç¤­¤ë¤è¤¦¤Ë¤·¤Þ¤¹
++  (setq load-path (cons
++   (concat "@PREFIX@/share/" (symbol-name fink-emacs-flavor)
++         "/site-lisp/riece") load-path))
 +
-+Template: riece/reconf
-+Type: boolean
-+Default: true
-+Description: Do you want to reconfigure when there are new add-ons?
-+ If you accept here you will be given the opportunity to decide whether to
-+ use newly introduced add-ons.
-+Description-ca.ISO-8859-15: Voleu reconfigurar-lo quan hi hagi 
característiques addicionals noves?
-+ Si ho accepteu, tindreu l'oportunitat de decidir si voleu utilitzar les
-+ noves característiques addicionals.
-+Description-cs.ISO-8859-2: Pøekonfigurovat pøi zji¹tìní nových modulù?
-+ Pokud zde odpovíte kladnì, budete se moci rozhodnout, zda chcete pou¾ít
-+ novì instalované moduly.
-+Description-fr.ISO-8859-15: Reconfigurer le paquet lorsque de nouvelles 
extensions apparaissent ? 
-+ Si vous choisissez cette option, vous pourrez décider si vous souhaitez
-+ utiliser les nouvelles extensions.
-+Description-ja.EUC-JP: ¿·µ¬¤Î¥¢¥É¥ª¥ó¤¬¤¢¤Ã¤¿¾ì¹ç¡¢ºÆÀßÄꤷ¤Þ¤¹¤«?
-+ 
¡Ö¤Ï¤¤¡×¤ÈÅú¤¨¤¿¾ì¹ç¡¢¿·¤·¤¯Æ³Æþ¤µ¤ì¤¿¥¢¥É¥ª¥ó¤òÍøÍѤ¹¤ë¤«¤É¤¦¤«·è¤á¤ë»ö¤¬¤Ç¤­¤Þ¤¹¡£
-+Description-nl.ISO-8859-15: Wilt u hercnfigureren wanneer er nieuwe add-ons 
zijn?
-+ Als u hier aanvaard zal u de kans gegeven worden om te beslissen de nieuwe
-+ add-ons te gebruiken.
++  (autoload 'riece "riece" nil t))



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to