debian/0000755000000000000000000000000012251343305007164 5ustar debian/mhc-utils.dirs0000644000000000000000000000003612144013406011750 0ustar usr/bin usr/share/pixmaps/mhc debian/adb2mhc.10000644000000000000000000000325012144013375010550 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH mhc 1 "23 Jun 2000" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME adb2mhc \- Convert ADB DB of HP200LX into MHC format .SH SYNOPSIS .B adb2mhc .RI [ options ] " files" ... .SH DESCRIPTION This manual page documents briefly the .B adb2mhc commands. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. .PP \fBadb2mhc\fP is a program that converts ADB DB file, which is used in HP200LX, into MHC format. .SH OPTIONS A summary of options is included below. .TP .B \-h, \-\-help Show summary of options. .TP .BI \--mhc-dir= dir Set repository dir of MHC. It is good idea to specify empty directory, because .B adb2mhc will overwrite files without notice. Default is: ~/Mail/schedule .SH SEE ALSO .BR gemcal (1), .BR mhc-sync (1), .BR mhc2palm (1), .BR palm2mhc (1), .BR today (1). .BR mhc (5). .br .SH AUTHOR This program was written by Yoshinari Nomura and this manual page was written by Fumitoshi UKAI , for the Debian GNU/Linux system (but may be used by others). debian/examples0000644000000000000000000000003612144013400010713 0ustar samples/* debian/dot.emacs.el debian/dh_ruby0000644000000000000000000000071712144013375010552 0ustar #!/usr/bin/ruby require 'getoptlong' substvars='debian/substvars' opts = GetoptLong.new(['--package', '-p', GetoptLong::REQUIRED_ARGUMENT]) opts.each {|opt, arg| case opt when '--package' then substvars = 'debian/' + arg + '.substvars' end } require 'rbconfig' CONFIG = Config::MAKEFILE_CONFIG File.open(substvars, "a+") {|f| f.puts "ruby:Depends=ruby (>= #{CONFIG['MAJOR']}.#{CONFIG['MINOR']}), ruby (<< #{CONFIG['MAJOR']}.#{CONFIG['MINOR'].to_i+1})" } debian/compat0000644000000000000000000000000212144013404010355 0ustar 7 debian/gemcal.10000644000000000000000000000344012144013375010501 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH mhc 1 "23 Jun 2000" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME gemcal \- Ruby/Gtk base calendar .SH SYNOPSIS .B gemcal .RI [ options ] " files" ... .br .SH DESCRIPTION This manual page documents briefly the .B gemcal commands. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. .PP \fBgemcal\fP is a program that browse and edit MHC calendar data on X environments. It is written by Ruby/Gtk, so you need to install libgtk-ruby to run this program. .SH OPTIONS A summary of options is included below. .TP .BI \-g " " \+ x \+ y ", -geometry" " " \+ x \+ y Specify geometry. .TP .BI \-r " dir" ", -repository" " dir" Specify MHC repository directory. .TP .BI \-f " file" ", -file " file" Specify MHC schedule file. .TP .BI \-d " " \+ month \+ mday ", -daybook" " " \+ month \+ mday Specify date. .SH SEE ALSO .BR adb2mhc (1), .BR mhc-sync (1), .BR mhc2palm (1), .BR palm2mhc (1), .BR today (1), .BR mhc (5). .br .SH AUTHOR This program was written by Yoshinari Nomura and this manual page was written by Fumitoshi UKAI , for the Debian GNU/Linux system (but may be used by others). debian/rules0000755000000000000000000000546612151132032010247 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all dpkg_buildflags = DEB_BUILD_MAINT_OPTIONS=$(DEB_BUILD_MAINT_OPTIONS) dpkg-buildflags CFLAGS=$(shell $(dpkg_buildflags) --get CFLAGS) CPPFLAGS=$(shell $(dpkg_buildflags) --get CPPFLAGS) LDFLAGS=$(shell $(dpkg_buildflags) --get LDFLAGS) SCRIPTS=adb2mhc gemcal mhc-sync mhc2palm palm2mhc today RUBY=/usr/bin/ruby1.9.1 DESTDIR := $(CURDIR)/debian/mhc-utils RUBYLIBDIR:=$(shell $(RUBY) -rrbconfig -e 'puts RbConfig::CONFIG["rubylibdir"]') RUBYARCHDIR:=$(shell $(RUBY) -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]') build-indep: build-indep-stamp build-indep-stamp: dh_testdir touch $@ build-arch: build-arch-stamp build-arch-stamp: dh_testdir CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(RUBY) ./configure.rb --with-ruby=$(RUBY) --with-icondir=/usr/share/pixmaps/mhc (cd ruby-ext && $(MAKE)) touch $@ build: build-arch build-indep clean: dh_testdir dh_testroot rm -f *-stamp -(cd ruby-ext && $(MAKE) clean) -rm -f $(SCRIPTS) configure.log make.rb emacs/make.rb \ mkmf.log ruby-ext/mkmf.log ruby-ext/lib/mhc-gtk.rb \ ruby-ext/extconf.rb ruby-ext/Makefile dh_clean -Xemacs/mhc-vars.el.orig install-indep: dh_testdir dh_testroot dh_prep -i -Xemacs/mhc-vars.el.orig dh_installdirs -i cp emacs/*.el debian/mhc/usr/share/emacs/site-lisp/mhc cp emacs/Makefile debian/mhc/usr/share/emacs/site-lisp/mhc cp emacs/MHC-MK debian/mhc/usr/share/emacs/site-lisp/mhc cp emacs/README.ja debian/mhc/usr/share/doc/mhc/emacs.README.ja cp icons/*.xbm debian/mhc/usr/share/pixmaps/mhc/xbm cp icons/*.xpm debian/mhc/usr/share/pixmaps/mhc install-arch: dh_testdir dh_testroot dh_prep -a -Xemacs/mhc-vars.el.orig dh_installdirs -a cp xpm/*.xpm debian/mhc-utils/usr/share/pixmaps/mhc for s in $(SCRIPTS); \ do \ install -m 755 $$s $(CURDIR)/debian/mhc-utils/usr/bin/$$s; \ done (cd ruby-ext && $(MAKE) install DESTDIR=$(DESTDIR) \ RUBYLIBDIR=$(DESTDIR)/$(RUBYLIBDIR) \ RUBYARCHDIR=$(DESTDIR)/$(RUBYARCHDIR)) install: install-arch install-indep binary-indep: build-indep install-indep dh_testdir dh_testroot # dh_installdebconf dh_installdocs -i dh_installexamples -i dh_installemacsen -i dh_installman debian/mhc.5 # dh_installinfo -i dh_installchangelogs -i dh_strip -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i binary-arch: build-arch install-arch dh_testdir dh_testroot dh_installdocs -a dh_installexamples -a dh_installmenu -a dh_installman -a debian/*.1 dh_installchangelogs -a dh_strip -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-arch binary-indep .PHONY: build-indep build-arch build clean binary-indep binary-arch binary install-indep install-arch install debian/README.Debian0000644000000000000000000000340712144013402011222 0ustar MHC for Debian -------------- This package provides a personal schedule management tool cooperating with an emacsen mailer. To use this package, put one of the following in your `~/.emacs'. (mhc-select-mailer-package 'gnus) ;; for Gnus (mhc-select-mailer-package 'mew) ;; for Mew (mhc-select-mailer-package 'wl) ;; for Wanderlust (mhc-select-mailer-package 'cmail) ;; for cmail The following keys are available on your emacsen mailer. `C-c . .' Go to this month `C-c . n' Go to next month (With prefix arg, input number of months) `C-c . p' Go to previous month (With prefix arg, input number of months) `C-c . g' Go to month `C-c . s' Rescan month `C-c . R' Reset and initialize mhc `C-c . |' Import schedule from mail `C-c . e' Edit new schedule `C-c . m' Modify schedule `C-c . d' Delete schedule (Move to +schedule/trash) `C-c . c' Set category `C-c . P' Generate PostScript data from schedule ("gv" and "lp" are used by default. See mhc-ps.el for details.) `C-c . t' Toggle calendar `C-c . ?' Display calendar `C-c . T' Toggle online/offline `C-c . S' Sync other mhc data ("mhc-sync" or "mhc-cvs" is used. See mhc-file.el for details.) mhc-draft-mode: `C-c C-c' Finish draft `C-c C-k' Kill draft `C-c C-q' Kill draft `C-c ?' Display calendar Examples of X-SC-Category: X-SC-Category: X-SC-Category: todo X-SC-Category: done X-SC-Category: private todo X-SC-Category: work done The mhc file format is briefly documented in the manual page mhc(5). Sample dot files are available at `/usr/share/doc/mhc/examples/'. Non Elisp utilities are provided by the mhc-utils package. -- Tatsuya Kinoshita , Sat, 22 Dec 2007 18:11:06 +0900 debian/dot.emacs.el0000644000000000000000000000060112144013400011347 0ustar ;;; .emacs --- sample of ~/.emacs for MHC -*-mode: emacs-lisp-*- (when (and (featurep 'mule) (locate-library "mhc")) (if (fboundp 'mhc-select-mailer-package) (mhc-select-mailer-package 'wl)) ;; 'mew, 'gnus, 'wl or 'cmail (setq mhc-insert-overdue-todo t) (setq mhc-use-wide-scope 14) (setq mhc-file-line-status-strings '(" Mhc" . " MHC")) ;; ) ;;; .emacs ends here debian/emacsen-remove0000644000000000000000000000044012144013404012006 0ustar #! /bin/sh # /usr/lib/emacsen-common/packages/remove/mhc set -e FLAVOR=$1 PACKAGE=mhc case $FLAVOR in emacs|emacs19|mule2) exit 0 ;; esac ELCDIR=/usr/share/$FLAVOR/site-lisp/$PACKAGE echo "remove/$PACKAGE: purging byte-compiled files for $FLAVOR" rm -rf "$ELCDIR" exit 0 debian/mhc.prerm0000644000000000000000000000044612251343213011004 0ustar #!/bin/sh set -e # Workaround to compatible with emacsen-common <2.0.0 if [ ! -e /var/lib/emacsen-common/state/package/installed/emacsen-common ]; then if [ -x /usr/lib/emacsen-common/emacs-package-remove ]; then /usr/lib/emacsen-common/emacs-package-remove mhc fi else #DEBHELPER# fi debian/mhc2palm.10000644000000000000000000000370312144013375010756 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH mhc 1 "23 Jun 2000" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME mhc2palm \- add/copy articles from mhc to PalmOS. .SH SYNOPSIS .B mhc2palm .RI [ options ] " files" ... .SH DESCRIPTION This manual page documents briefly the .B mhc2palm commands. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. .PP \fBmhc2palm\fP is a program that add or copy articles from mhc to PalmOS. .SH OPTIONS A summary of options is included below. .TP .B \-a Add mhc articles to a palm. all the original records of the palm will remain. .TP .B \-i Copy mhc articles into the palm. all the original records of palm will be lost. .TP .B \-n Do nothing effectives. Useful for checking. .TP .BI \-d " dev" Set the device file connected to the palm. default value is /dev/pilot. .TP .BI \-r " dir" Set repository directory of the mhc. default is ~/Mail/schedule. .TP .IB YYYYMMDD "-" yyyymmdd set a start and end date of scanning mhc. if omitted, scan from 3 months ago to 3 months after. .SH SEE ALSO .BR adb2mhc (1) .BR gemcal (1), .BR mhc-sync (1), .BR palm2mhc (1), .BR today (1), .BR mhc (5). .br .SH AUTHOR This program was written by Yoshinari Nomura and this manual page was written by Fumitoshi UKAI , for the Debian GNU/Linux system (but may be used by others). debian/copyright0000644000000000000000000000437012145717144011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: MHC Source: https://github.com/yoshinari-nomura/mhc Files: * Copyright: 1999, 2000 Yoshinari Nomura 2000-2010 MHC developing team License: BSD-3-clause License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE TEAM AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE TEAM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: today.in emacs/mhc-ps.el Copyright: 1999-2000 Yoshinari Nomura 2000, MHC developing team 1987, Pipeline Associates, Inc. 2000, SUZUKI Shingo License: BSD-3-clause and Pipeline-Associates-PS License: Pipeline-Associates-PS Permission is granted to modify and distribute this free of charge. Files: debian/* Copyright: 2006-2013, Tatsuya Kinoshita 2000-2005, Fumitoshi UKAI License: The Debian packaging is distributed under the same conditions as the upstream. debian/mhc.50000644000000000000000000000653712144013375010036 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH mhc 5 "23 Jun 2000" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME mhc \- Message Harmonized Calendaring system .SH DESCRIPTION This manual page documents briefly the .B mhc file format. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. .SH FIELDS \fBMhc\fP file format is based on STD11/RFC822: Standard for the format of ARPA Internet text messages. In \fBmhc\fP file, the following extra header fields are used. .TP .B X-SC-Day: Date of event in format \fIyyyymmdd\fP. You can specify multiple date with space separated like: .RS 10 X-SC-Day: 19990409 19990413 .RE .IP which means April 9th 1999 and April 13th 1999. .TP .B X-SC-Time: Time of event in format .IB hh : mm - hh : mm or .IB hh : mm . For event which has no meanings about time, you can leave it empty in this field. .TP .B X-SC-Duration: Period of event in .IB yyyymmdd - yyyymmdd . You can omit start date or end date, like "19991121-". \fBX-SC-Duration:\fP is used only to limit date specified by \fBX-SC-Day:\fP or \fBX-SC-Cond\fP, so you can't describe event date only by \fBX-SC-Duration:\fP. If \fBX-SC-Duration:\fP is empty, it means no limit. .TP .B X-SC-Cond: Condition of event date by using following keyword. .RS 10 .HP .IB 00 - 31 Day of month. .HP .B 1st 2nd 3rd 4th 5th Last Week in month. .HP .B Sun Mon ... Sat Day of week. .HP .B Jan Feb ... Dec Month .RE .IP Examples, .RS 10 .TP X-SC-Cond: Tue Fri Every Tuesday and Friday. .TP X-SC-Cond: 31 Aug Every August 31th. .TP X-SC-Cond: 1st 3rd Fri Every 1st and 3rd Friday. .RS 0 .TP X-SC-Cond: Fri .RE X-SC-Day: !19990409 .RS Every Friday, but except April 9th 1999. .RE .TP X-SC-Cond: Fri 13 Every 13th and Every Friday, not 13th Friday. .RE .TP .B X-SC-Alarm: Hint for alarm of event. Currently, \fBmhc.el\fP doesn't alaram, but gemcal will pop-up alarm window. It will be useful if you transfer this event to PalmOS. In \fBX-SC-Alarm:\fP, you can specify the number (1 to 99) with suffix such as minute, hour or day. For example, .RS 10 .TP X-SC-Alarm: 10 minutes Alarm 10 minutes before event. .TP X-SC-Alarm: 3 hour Alarm 3 hours before event. .TP X-SC-Alarm: 3 day Alarm 3 day before event. .RE .IP .TP .B X-SC-Subject: Subject of event. unstructured? .TP .B X-SC-Location: Location of event. unstructured? .TP .B X-SC-Category Category of event. Any keyword, space separeated. Case ignored. .TP .B X-SC-Recoard-Id: Internal use only. .SH SEE ALSO .BR adb2mhc (1) .BR gemcal (1), .BR mhc-sync (1), .BR mhc2palm (1), .BR palm2mhc (1), .BR today (1). .br .SH AUTHOR This program was written by Yoshinari Nomura and this manual page was written by Fumitoshi UKAI , for the Debian GNU/Linux system (but may be used by others). debian/control0000644000000000000000000000434512251343255010601 0ustar Source: mhc Section: misc Priority: optional Maintainer: Tatsuya Kinoshita Standards-Version: 3.9.5 Build-Depends: ruby1.9.1, ruby1.9.1-dev, libpisock-dev (>= 0.12), debhelper (>= 7) Vcs-Git: git://anonscm.debian.org/collab-maint/mhc.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/mhc.git Homepage: http://www.quickhack.net/mhc/ Package: mhc Section: lisp Architecture: all Depends: emacs | emacs24 | emacs23 | emacs22 | emacs21 | xemacs21-mule | xemacs21-mule-canna-wnn | xemacs21-gnome-mule | xemacs21-gnome-mule-canna-wnn | emacs-snapshot, mew | mew-beta | wl | wl-beta | gnus | emacs | emacsen | cmail, mew | mew-beta | gnus | emacs | emacsen | semi, make, ${misc:Depends} Recommends: mhc-utils, bitmap-mule Suggests: gv, cups-client | lprng Replaces: mhc-utils Description: schedule management tool for emacsen MHC (Message Harmonized Calendaring system) is a personal schedule management system, that is designed to help those who receive most appointments via email. . MHC has the following features: - You can easily import schedule articles from emails. - Simple data structure; schedule articles are stored in the same form of MH that allows you to manipulate stored data in many ways. - Powerful but simple expression of appointments. . This package provides mhc.el which cooperates with an emacsen mailer, Gnus, Mew, Wanderlust or cmail. Non Elisp (command line/GUI) utilities are provided by the mhc-utils package. Package: mhc-utils Architecture: any Depends: ruby1.9.1, ruby-gtk2, ${shlibs:Depends}, ${misc:Depends} Recommends: mhc Suggests: ssh, menu Description: command line/GUI utilities for the MHC schedule management system MHC (Message Harmonized Calendaring system) is a personal schedule management system, that is designed to help those who receive most appointments via email. . MHC has the following features: - You can easily import schedule articles from emails. - Simple data structure; schedule articles are stored in the same form of MH that allows you to manipulate stored data in many ways. - Powerful but simple expression of appointments. . This package provides the command line/GUI utilities, today, gemcal, etc. To use MHC on emacsen, install the mhc package. debian/watch0000644000000000000000000000020212144013406010204 0ustar version=3 opts="uversionmangle=s/([0-9]{8})/0.25.1+$1/" \ http://www.quickhack.net/mhc/ arc/mhc-([0-9].*)\.tar\.gz debian uupdate debian/mhc-utils.menu0000644000000000000000000000016612144013401011752 0ustar ?package(mhc-utils):needs="X11" section="Applications/Project Management"\ title="gemcal" command="/usr/bin/gemcal" debian/docs0000644000000000000000000000001712144013406010032 0ustar README* USAGE* debian/dirs0000644000000000000000000000011212144013406010037 0ustar usr/share/emacs/site-lisp/mhc usr/share/doc/mhc usr/share/pixmaps/mhc/xbm debian/source/0000755000000000000000000000000012144013406010461 5ustar debian/source/format0000644000000000000000000000001412144013406011667 0ustar 3.0 (quilt) debian/emacsen-install0000644000000000000000000000361712144013404012170 0ustar #! /bin/sh # /usr/lib/emacsen-common/packages/install/mhc set -e FLAVOR=$1 PACKAGE=mhc case $FLAVOR in emacs|emacs19|mule2) exit 0 ;; *xemacs*) EMACS=`/bin/ls -1 /usr/bin/$FLAVOR*-mule* 2>/dev/null | head -1` if [ -z "$EMACS" ]; then echo "install/$PACKAGE: $FLAVOR MULE not found, skipped" exit 0 fi ;; *) EMACS=$FLAVOR ;; esac ELCDIR=/usr/share/$FLAVOR/site-lisp/$PACKAGE ELDIR=/usr/share/emacs/site-lisp/$PACKAGE TOELDIR=../../../emacs/site-lisp/$PACKAGE ELCSTAMP=$ELCDIR/compile-stamp if [ -f "$ELCSTAMP" ]; then echo "install/$PACKAGE: already byte-compiled for $FLAVOR, skipped" exit 0 fi LOG=`mktemp -t elc.XXXXXXXXXXXX` chmod 644 "$LOG" echo "install/$PACKAGE: byte-compiling for $FLAVOR, logged in $LOG" cd "$ELDIR" FILES=`echo *.el` if [ ! -d "$ELCDIR" ]; then mkdir "$ELCDIR" chmod 755 "$ELCDIR" fi cp Makefile MHC-MK "$ELCDIR" cd "$ELCDIR" rm -f *.elc __myinit.el for f in $FILES; do ln -sf "$TOELDIR/$f" . done cat > __myinit.el << EOF (setq load-path (cons "." load-path)) (setq byte-compile-warnings nil) EOF INST_OPTS=--with-addpath=. MEW_OPTS= WL_OPTS= GNUS_OPTS= if [ -d "/usr/share/$FLAVOR/site-lisp/mew" ]; then INST_OPTS=$INST_OPTS:/usr/share/$FLAVOR/site-lisp/mew MEW_OPTS=--with-mew fi if [ -d "/usr/share/$FLAVOR/site-lisp/wl" ]; then INST_OPTS=$INST_OPTS:/usr/share/$FLAVOR/site-lisp/wl:/usr/share/$FLAVOR/site-lisp/semi:/usr/share/$FLAVOR/site-lisp/flim:/usr/share/$FLAVOR/site-lisp/apel WL_OPTS=--with-wl fi FLAGS="-q -no-site-file -batch -l __myinit.el -l MHC-MK" echo make EMACS="$EMACS" FLAGS="$FLAGS" OPTS="$INST_OPTS $MEW_OPTS $WL_OPTS $GNUS_OPTS" elc >> "$LOG" 2>&1 make EMACS="$EMACS" FLAGS="$FLAGS" OPTS="$INST_OPTS $MEW_OPTS $WL_OPTS $GNUS_OPTS" elc >> "$LOG" 2>&1 echo "install/$PACKAGE: deleting $LOG" rm -f "$LOG" __myinit.el* Makefile MHC-MK mhc-cmail.elc mhc-gnus.elc nnmhc.elc touch "$ELCSTAMP" exit 0 debian/today.10000644000000000000000000000371212144013403010363 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH mhc 1 "23 Jun 2000" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME today \- Show your today's schedules. .SH SYNOPSIS .B today .RI [ options ] .SH DESCRIPTION This manual page documents briefly the .B today commands. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. .PP \fBtoday\fP is a program that show your schedules in MHC repository. .SH OPTIONS A summary of options is included below. .TP .B \-h, \-\-help Show summary of options. .TP .BI --format= FORMAT change output format. .I FORMAT is 'html' or 'ps. .TP .BI --category= CATEGORY Pick only in \fICATEGORY\fP. \'!\' and space separated multiple values are allowed. .TP .BI --date= strig [ +n ] Set a period of date. String is one of these: today, tomorrow, sun ... sat, \fIyyyymmdd\fP, \fIyyyymm\fP. \fIyyyymm\fP lists all days in the month. list \fIn\fP+1 days of schedules if \fI+n\fP is given. default value is 'today+0' .TP .BI --mail= ADDRESS Send a e-mail to .I ADDRESS instead of listing to stdout .SH SEE ALSO .BR adb2mhc (1), .BR gemcal (1), .BR mhc-scan (1), .BR mhc2palm (1), .BR palm2mhc (1), .BR mhc (5). .br .SH AUTHOR This program was written by Yoshinari Nomura and this manual page was written by Fumitoshi UKAI , for the Debian GNU/Linux system (but may be used by others). debian/mhc.postinst0000644000000000000000000000050212251343200011527 0ustar #!/bin/sh set -e # Workaround to compatible with emacsen-common <2.0.0 if [ ! -e /var/lib/emacsen-common/state/package/installed/emacsen-common ]; then if [ "$1" = "configure" ] && [ -x /usr/lib/emacsen-common/emacs-package-install ]; then /usr/lib/emacsen-common/emacs-package-install mhc fi else #DEBHELPER# fi debian/changelog0000644000000000000000000004463212251343305011047 0ustar mhc (0.25.1+20130926-1) unstable; urgency=low * Imported Upstream version 0.25.1+20130926 * Workaround for emacsen-common <2 and debhelper <9.20131104 * Update Standards-Version to 3.9.5 -- Tatsuya Kinoshita Mon, 09 Dec 2013 22:33:51 +0900 mhc (0.25.1+20130612-1) unstable; urgency=low * Imported Upstream version 0.25.1+20130612 * Remove debian/patches (merged upstream) -- Tatsuya Kinoshita Fri, 05 Jul 2013 19:04:15 +0900 mhc (0.25.1+20130608-1) unstable; urgency=low * Imported Upstream version 0.25.1+20130608 * Remove debian/patches (merged upstream) * New patch 0001-Require-mkmf.patch -- Tatsuya Kinoshita Sat, 08 Jun 2013 16:20:21 +0900 mhc (0.25.1+20130503-3) unstable; urgency=low * New patch 0003-Use-StringValuePtr-rather-than-STR2CSTR.patch * Use RbConfig instead of deprecated Config -- Tatsuya Kinoshita Tue, 28 May 2013 23:30:16 +0900 mhc (0.25.1+20130503-2) unstable; urgency=low * Depend on ruby1.9.1 rather than ruby1.8 * New patch 0002-Support-Ruby-1.9.patch * New patch 0001-Fix-format-not-a-string-literal.patch -- Tatsuya Kinoshita Sun, 26 May 2013 18:02:46 +0900 mhc (0.25.1+20130503-1) unstable; urgency=low * Imported Upstream version 0.25.1+20130503 * Add Vcs-Git and Vcs-Browser * Update debian/copyright * Update Standards-Version to 3.9.4 -- Tatsuya Kinoshita Sun, 19 May 2013 00:56:41 +0900 mhc (0.25.1+20120403-2) unstable; urgency=low * debian/rules: Use dpkg-buildflags to support hardening flags * debian/control: Add emacs24 to Depends -- Tatsuya Kinoshita Sun, 08 Jul 2012 11:50:33 +0900 mhc (0.25.1+20120403-1) unstable; urgency=low * New upstream release. (development snapshot on 2012-04-03, yoshinari-nomura-mhc-e8c7645, downloaded from ) * debian/rules, debian/docs, debian/mhc-utils.examples, debian/watch: Follow the upstream changes. * debian/rules, debian/*dirs, debian/*files: New targets build-arch and build-indep. * debian/control: Update Standards-Version to 3.9.3. * debian/copyright: Switch to copyright-format-1.0. * Switch to dpkg-source 3.0 (quilt) format. -- Tatsuya Kinoshita Mon, 30 Apr 2012 23:59:42 +0900 mhc (0.25.1+20090531-2) unstable; urgency=low * debian/control: - Add emacs-snapshot to Depends. - Add ${misc:Depends} to Depends. - Update Standards-Version to 3.8.4. * debian/copyright: Updated. -- Tatsuya Kinoshita Sat, 13 Feb 2010 13:25:10 +0900 mhc (0.25.1+20090531-1) unstable; urgency=low * New upstream release. (CVS trunk on 2009-05-31) * debian/control: - Add emacs23 to Depends. - Set Section of mhc to lisp. - Update Standards-Version to 3.8.2. -- Tatsuya Kinoshita Mon, 03 Aug 2009 21:39:42 +0900 mhc (0.25.1+20090120-1) unstable; urgency=low * New upstream release. (development snapshot, downloaded from `http://www.quickhack.net/mhc/arc/mhc-current-snap20090120.tar.gz') - Conforming to pilot-link 0.12 or later. (closes: #398459) * debian/control: - Build-Depends: Update libpisock-dev version to 0.12. - Depends: Add make. - Suggests: Replace cupsys-client with cups-client. * debian/patches, debian/README.source: Removed, not to use quilt. * debian/rules, debian/control: Don't use quilt. * debian/po, debian/mhc-utils.config, debian/mhc-utils.postinst, debian/mhc-utils.templates: Removed, not to support /dev/pilot creation. * debian/rules, debian/control: Don't use po-debconf. * debian/emacsen-*: Rewritten. * debian/rules: Use dh_prep instead of `dh_clean -k'. * debian/compat, debian/control: Update debhelper version to 7. * debian/copyright: Updated. -- Tatsuya Kinoshita Mon, 16 Feb 2009 22:07:11 +0900 mhc (0.25.1+20080720-1) unstable; urgency=low * New upstream release. (development snapshot, downloaded from `http://www.quickhack.net/mhc/arc/mhc-current-snap20080720.tar.gz') * debian/README.source: New file to explain source package handling. * debian/control: Set Standards-Version to 3.8.0. -- Tatsuya Kinoshita Wed, 23 Jul 2008 22:47:33 +0900 mhc (0.25.1+20080320-2) unstable; urgency=low * debian/control: Build-Depends: debhelper (>= 6). -- Tatsuya Kinoshita Fri, 21 Mar 2008 22:44:51 +0900 mhc (0.25.1+20080320-1) unstable; urgency=low * New upstream release. (development snapshot, downloaded from `http://www.quickhack.net/mhc/arc/mhc-current-snap20080320.tar.gz') * debian/today.1: Fix warning: `'!'' not defined. * debian/compat: 5 -> 6. * debian/control: Remove `Vcs-Cvs:'. * debian/TODO: Removed. * debian/copyright: Updated. -- Tatsuya Kinoshita Thu, 20 Mar 2008 10:18:52 +0900 mhc (0.25.1+20071220-1) unstable; urgency=low * New upstream release. (development snapshot, downloaded from `http://www.quickhack.net/mhc/arc/mhc-current-snap20071220.tar.gz') * debian/control: - Add fields `Vcs-Cvs:' and `Homepage:'. - Remove `Homepage:' from Description. - Revise Description. - Set Standards-Version to 3.7.3. * debian/README.Debian: Revised. -- Tatsuya Kinoshita Sat, 22 Dec 2007 19:07:02 +0900 mhc (0.25.1+20071020-1) unstable; urgency=low * New upstream release. (development snapshot, downloaded from `http://www.quickhack.net/mhc/arc/mhc-current-snap20071020.tar.gz') * debian/mhc-utils.menu: Set section to "Applications/Project Management". -- Tatsuya Kinoshita Sun, 04 Nov 2007 23:54:14 +0900 mhc (0.25.1+20070620-2) unstable; urgency=low * debian/emacsen-install: Don't install *.elc for mhc-bm.el, mhc-cmail.el, mhc-gnus.el, mhc-mime.el and nnmhc.el. * debian/control: - Add `emacs | emacsen' to Depends for Gnus. - Remove t-gnus from Depends, which no longer exists in Debian. -- Tatsuya Kinoshita Fri, 24 Aug 2007 21:00:03 +0900 mhc (0.25.1+20070620-1) unstable; urgency=low * New upstream release. (development snapshot, downloaded from `http://www.quickhack.net/mhc/arc/mhc-current-snap20070620.tar.gz') * debian/mhc-utils.postinst: Disable libpisock8 stuff. (closes: #430210) * debian/control: - Prefer emacs to emacs21. - Add emacs22 to Depends. - Remove emacs-snapshot from Depends. -- Tatsuya Kinoshita Sat, 23 Jun 2007 21:29:27 +0900 mhc (0.25.1+20070220-1) unstable; urgency=low * New upstream release. (development snapshot, downloaded from `http://www.quickhack.net/mhc/arc/mhc-current-snap20070220.tar.gz', closes: #377455) - Merged Debian patches for ruby1.8, gtk2, etc. * debian/README.Debian: Described how to use MHC on emacsen mailer. * Handling patch with quilt. - libpisock9.patch to fix FTBFS with pilot-link 0.12. (from KOIE Hidetaka, [mhc:02219] on 2006-09-30) * debian/rules: Use --with-ruby=$(RUBY) for configure.rb. * debian/emacsen-install: Don't support wanderlust2 and mule2. * debian/emacsen-startup (mhc-select-mailer-package): Support cmail. * debian/control: - Add cmail to Depends. - Add `gv, cupsys-client | lprng' to Suggests. * debian/po/ja.po: Typo fix. * debian/dot.emacs.el: New file, sample of ~/.emacs. * debian/watch: New file. * debian/copyright: Updated. -- Tatsuya Kinoshita Sun, 08 Apr 2007 23:12:58 +0900 mhc (0.25.1+20050120-5) unstable; urgency=medium * gemcal.in, ruby-ext/lib/mhc-gtk.rb.in: Fix that opening schedule editor causes segfault, patch from upstream CVS version. (closes: #384141) -- Tatsuya Kinoshita Tue, 19 Dec 2006 01:36:09 +0900 mhc (0.25.1+20050120-4) unstable; urgency=medium * debian/control (Build-Depends): Add po-debconf. -- Tatsuya Kinoshita Tue, 12 Dec 2006 00:18:10 +0900 mhc (0.25.1+20050120-3) unstable; urgency=low * New maintainer, with previous maintainer's permission. * Acknowledge NMU. (closes: #386196) * debian/emacsen-install: Create *.el symlinks. (closes: #377457) * emacs/mhc-gnus.el: Fix "Invalid data for rfc2047 encoding", patch from [mhc:02229] on 2006-12-06, thanks to IRIE Tetsuya. * ruby-ext/lib/mhc-gtk.rb.in: Fix that gemcal causes segfault when closing, patch from [mhc:02233] on 2006-12-11, thanks to Kazuhiro NISHIYAMA. * debian/rules: Don't remove `emacs/mhc-vars.el.orig' with dh_clean. * debian/control: Remove redundant version dependencies. * debian/control (Description): Use `Homepage:'. * debian/control (Standards-Version): 3.6.1 -> 3.7.2. * debian/copyright: Rewritten. * Migrate to debhelper version 5. * debian/po/ja.po: Update Japanese translation. * Patch from Christian Perrier for debconf templates translations: - Swedish added. Closes: #333761 - Norwegian Bokmål added. Sent during the call for updates of the l10n NMU campaign. - Portuguese added. Sent during the call for updates of the l10n NMU campaign. - Czech added. Sent during the call for updates of the l10n NMU campaign. - German added. Sent during the call for updates of the l10n NMU campaign. - Russian added. Sent during the call for updates of the l10n NMU campaign. - French updated. Sent during the call for updates of the l10n NMU campaign. * Patch from Christian Perrier for lintian fixes: - Rewrite templates to fit the Developer's Reference suggested write style - Split Choices in debconf templates and make "None" only as translatable - Use debconf-updatepo in the clean target of debian/rules -- Tatsuya Kinoshita Mon, 11 Dec 2006 22:18:24 +0900 mhc (0.25.1+20050120-2.1) unstable; urgency=medium * Non-maintainer upload. * Fix FTBFS, patch from [mhc:02219], thanks to KOIE Hidetaka. closes: Bug#386196 -- Tatsuya Kinoshita Sun, 19 Nov 2006 23:01:31 +0900 mhc (0.25.1+20050120-2) unstable; urgency=low * use ${misc:Depends} in debian/control for debconf * port gemcal and mhc-gtk.rb to gtk2 (libgtk2-ruby) Good bye ruby1.6! * add debian/po/vi.po closes: Bug#312778 * add debian/po/cs.po closes: Bug#317665 -- Fumitoshi UKAI Thu, 4 Aug 2005 01:39:29 +0900 mhc (0.25.1+20050120-1) unstable; urgency=low * New snapshot is packaged supports mew 4.0.69 or later closes: Bug#294427 -- ukai Tue, 15 Feb 2005 02:18:56 +0900 mhc (0.25.1+20040505-1) unstable; urgency=low * New snapshot is packaged. * Oort Gnus supported -- Fumitoshi UKAI Mon, 10 May 2004 01:22:22 +0900 mhc (0.25.1+20040502-1) unstable; urgency=low * New snapshot is packaged. * gnus is supported. debian/control: add gnus to Depends: closes: Bug#244880 * debian/control: fix description. closes: Bug#214427 -- Fumitoshi UKAI Mon, 3 May 2004 01:57:00 +0900 mhc (0.25.1+20040320-3) unstable; urgency=low * emacsen-install: Use *.elc files rather than *.el files. (Replace `/usr/share/emacs' with `/usr/share/${FLAVOR}'.) reported by Tatsuya Kinoshita closes: Bug#243135 -- Fumitoshi UKAI Mon, 12 Apr 2004 00:05:13 +0900 mhc (0.25.1+20040320-2) unstable; urgency=low * emacsen-install: s//usr/bin/${FLAVOR}-mule*//usr/bin/${FLAVOR}*-mule*/ emacsen-startup: use fboundp instead of boundp closes: Bug#206213 -- Fumitoshi UKAI Sat, 27 Mar 2004 23:03:40 +0900 mhc (0.25.1+20040320-1) unstable; urgency=low * New snapshot is packaged. closes: Bug#217877 * debian/control: depends: remove emacs20, mule2 closes: Bug#232773 * debian/control: depends: add xemacs21-gnome-mule and xemacs21-gnome-mule-canna-wnn add mew-beta remove wanderlust2 * debian/emacsen-startup: check emacs-lisp directory for removed but not purged state. use debian-pkg-add-load-path-item closes: Bug#206213 * mhc-utils: add debconf question to create /dev/pilot closes: Bug#218664 * debian/mhc-utils.menu: fix lintian warnings. quoted * debian/control: fix lintian warnings. depends: debconf -- Fumitoshi UKAI Thu, 25 Mar 2004 01:52:40 +0900 mhc (0.25.1+20030720-2) unstable; urgency=low * debian/rules: we don't need to run dh_ruby anymore. closes: Bug#210191 -- Fumitoshi UKAI Wed, 10 Sep 2003 12:00:36 +0900 mhc (0.25.1+20030720-1) unstable; urgency=low * New upstream release * depends ruby1.6 -- Fumitoshi UKAI Mon, 8 Sep 2003 01:15:42 +0900 mhc (0.25+20030224-1) unstable; urgency=low * New upstream snapshot * fix palm2mhc manpage erratum, closes: Bug#181089 * adb2mhc default mhc-dir changed to ~/Mail/schedule -- Fumitoshi UKAI Wed, 26 Feb 2003 03:01:50 +0900 mhc (0.25+20020710-2) unstable; urgency=low * rebuild with libpisock8 -- Fumitoshi UKAI Thu, 15 Aug 2002 12:21:47 +0900 mhc (0.25+20020710-1) unstable; urgency=low * New upstream release -- Fumitoshi UKAI Sun, 14 Jul 2002 02:10:02 +0900 mhc (0.25+20020411-3) unstable; urgency=low * need apel to byte-compile for mule2, closes: Bug#146953 -- Fumitoshi UKAI Tue, 14 May 2002 23:32:13 +0900 mhc (0.25+20020411-2) unstable; urgency=low * fix mhc-kconv, closes: Bug#143717 -- Fumitoshi UKAI Sun, 21 Apr 2002 03:16:50 +0900 mhc (0.25+20020411-1) unstable; urgency=low * New upstream release * apply patch for debian/emacsen-startup contributed by Hiroyuki Komatsu -- Fumitoshi UKAI Fri, 19 Apr 2002 01:34:16 +0900 mhc (0.25+20010625-7) unstable; urgency=low * apply patch: [mhc:01547] Re: message display error with wl-2.9.6 -- Fumitoshi UKAI Fri, 8 Feb 2002 10:48:31 +0900 mhc (0.25+20010625-6) unstable; urgency=low * put bitmaps, pixmaps in /usr/share/pixmaps/mhc -- Fumitoshi UKAI Sun, 16 Dec 2001 03:45:10 +0900 mhc (0.25+20010625-5) unstable; urgency=low * debian/emacsen-install: failed if you have no mule enabled xemacs only fixed it -- Fumitoshi UKAI Thu, 13 Dec 2001 18:50:35 +0900 mhc (0.25+20010625-4) unstable; urgency=low * debian/control: add replaces mhc-utils because it will overwrite /usr/share/man/man5/mhc.5.gz which was in mhc-utils -- Fumitoshi UKAI Tue, 27 Nov 2001 15:18:20 +0900 mhc (0.25+20010625-3) unstable; urgency=low * debian/rules: mhc.5 should be installed mhc, not mhc-utils * debian/control: add depends semi(>=1.14)|wemi(>=1.14), closes: Bug#120589 * debian/control: remove depends gnus, because gnus conflicts flim and semi or wemi requires flim, so we can't install both gnus and semi|wemi * debian/control: add recommends bitmap-mule -- Fumitoshi UKAI Fri, 23 Nov 2001 03:22:51 +0900 mhc (0.25+20010625-2) unstable; urgency=low * fix typo in description. closes: Bug#113650 * depends on emacsen-mule only. mhc won't work on nomule. closes: Bug#117751 -- Fumitoshi UKAI Fri, 9 Nov 2001 18:24:28 +0900 mhc (0.25+20010625-1) unstable; urgency=low * build current-snap * build with libpisock4 -- Fumitoshi UKAI Tue, 3 Jul 2001 00:00:00 +0900 mhc (0.25+20010510-7) unstable; urgency=low * byte compilation log written to CompilationLog.gz * not to use compled e-lisp to refer when byte compilation, suggested by TSUCHIYA Masatoshi -- Fumitoshi UKAI Sun, 3 Jun 2001 03:24:03 +0900 mhc (0.25+20010510-6) unstable; urgency=low * remove require 'kconv' from mhc-make.rb, closes: Bug#97835 -- Fumitoshi UKAI Sat, 19 May 2001 01:40:07 +0900 mhc (0.25+20010510-5) unstable; urgency=low * apply patch from TSUCHIYA Masatoshi - (debian/control) add t-gnus in depends: - (debian/emacsen-install) t-gnus supports, custom-mule for mule2 - (debian/emacsen-startup) better setq mhc-icon-path - (emacs/MHC) - don't load /root/.lpath.el (require 'custom) -- Fumitoshi UKAI Mon, 14 May 2001 02:24:27 +0900 mhc (0.25+20010510-4) unstable; urgency=low * fix problem with wl-beta -- Fumitoshi UKAI Sat, 12 May 2001 12:42:44 +0900 mhc (0.25+20010510-3) unstable; urgency=low * New upstream snapshot release * Please split mhc into two packages: mhc + mhc-utils closes: Bug#80212 -- Fumitoshi UKAI Thu, 10 May 2001 12:03:04 +0900 mhc (0.25+20010510-2) unstable; urgency=low * add menu for gemcal * fix xemacs21 problem: !! Symbol's function definition is void ((product-version-as-string)) -- Fumitoshi UKAI Thu, 10 May 2001 11:18:48 +0900 mhc (0.25+20010510-1) unstable; urgency=low * build current-snap -- Fumitoshi UKAI Thu, 10 May 2001 03:02:23 +0900 mhc (0.25-9) unstable; urgency=low * mhc_pilib.so should in /usr/lib/ruby/1.6/i386-linux -- Fumitoshi UKAI Sun, 25 Feb 2001 02:55:53 +0900 mhc (0.25-8) unstable; urgency=low * build with ruby 1.6.2, closes: Bug#84205 -- Fumitoshi UKAI Mon, 5 Feb 2001 15:45:09 +0900 mhc (0.25-7) unstable; urgency=low * add dependency to wl (>= 2.4) and gnus, closes: Bug#75022 -- Fumitoshi UKAI Mon, 20 Nov 2000 12:09:31 +0900 mhc (0.25-6) unstable; urgency=low * fix dependency to wl-beta (>= 2.3) -- Fumitoshi UKAI Tue, 17 Oct 2000 12:28:34 +0900 mhc (0.25-5) unstable; urgency=low * add dependency to wl-beta -- Fumitoshi UKAI Mon, 16 Oct 2000 11:53:01 +0900 mhc (0.25-4) unstable; urgency=low * recommends libgnome-ruby instead of libgtk-ruby -- Fumitoshi UKAI Mon, 25 Sep 2000 14:52:13 +0900 mhc (0.25-3) unstable; urgency=low * rebuild with ruby 1.6.0 -- Fumitoshi UKAI Fri, 22 Sep 2000 15:22:23 +0900 mhc (0.25-2) unstable; urgency=low * Add debhelper to Build-Depends:, closes: Bug#70402 -- Fumitoshi UKAI Mon, 28 Aug 2000 21:25:53 +0900 mhc (0.25-1) unstable; urgency=low * Initial release -- Fumitoshi UKAI Sun, 25 Jun 2000 02:29:03 +0900 mhc (0.25-0) unstable; urgency=low * Experimental Release. -- Fumitoshi UKAI Thu, 22 Jun 2000 15:28:09 +0900 debian/emacsen-startup0000644000000000000000000000437012144013404012221 0ustar ;;; 50mhc.el --- Debian mhc startup file -*-mode: emacs-lisp;-*- (let* ((pkg "mhc") (flavor-name (if (boundp 'debian-emacs-flavor) (symbol-name debian-emacs-flavor) "emacs")) (pkg-inst (concat "/usr/lib/emacsen-common/packages/install/" pkg)) (elc-dir (concat "/usr/share/" flavor-name "/site-lisp/" pkg))) (when (and (file-exists-p elc-dir) (file-exists-p pkg-inst) (featurep 'mule)) (if (fboundp 'debian-pkg-add-load-path-item) (debian-pkg-add-load-path-item elc-dir) (setq load-path (cons elc-dir load-path))) ;; (defun mhc-select-mailer-package (mua) "Select mailer package for MHC: mew, gnus, wl or cmail" (interactive (let ((mua-alist '(("mew" . mew) ("wanderlust" . wl) ("gnus" . gnus) ("cmail" . cmail)))) (list (cdr (assoc (completing-read "Mailer Package for MHC: " mua-alist) mua-alist))))) (setq mhc-mailer-package mua) (cond ((eq mhc-mailer-package 'mew) (autoload 'mhc-mew-setup "mhc-mew") (add-hook 'mew-init-hook 'mhc-mew-setup) (and (boundp 'mew-summary-mode-map) (progn (mhc-mew-setup) (and (member major-mode '(mew-summary-mode mew-virtual-mode)) (mhc-mode))))) ((eq mhc-mailer-package 'wl) (autoload 'mhc-wl-setup "mhc-wl") (add-hook 'wl-init-hook 'mhc-wl-setup) (and (boundp 'wl-summary-mode-map) (progn (mhc-wl-setup) (and (member major-mode '(wl-summary-mode wl-folder-mode)) (mhc-mode))))) ((eq mhc-mailer-package 'gnus) (autoload 'mhc-gnus-setup "mhc-gnus") (add-hook 'gnus-startup-hook 'mhc-gnus-setup) (and (boundp 'gnus-summary-mode-map) (progn (mhc-gnus-setup) (and (member major-mode '(gnus-summary-mode gnus-group-mode)) (mhc-mode))))) ((eq mhc-mailer-package 'cmail) (autoload 'mhc-cmail-setup "mhc-cmail") (add-hook 'cmail-startup-hook 'mhc-cmail-setup) (and (boundp 'cmail-summary-mode-map) (progn (mhc-cmail-setup) (and (member major-mode '(cmail-summary-mode cmail-folders-mode)) (mhc-mode))))))) (setq mhc-icon-path (if (or (featurep 'xemacs) (>= emacs-major-version 21)) "/usr/share/pixmaps/mhc" "/usr/share/pixmaps/mhc/xbm")) ;; )) ;;; 50mhc.el ends here debian/palm2mhc.10000644000000000000000000000361512144013375010760 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH mhc 1 "23 Jun 2000" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME palm2mhc \- Add Palm articles to a MHC repository .SH SYNOPSIS .B palm2mhc .RI [ options ] " files" ... .SH DESCRIPTION This manual page documents briefly the .B palm2mhc commands. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. .PP \fBpalm2mhc\fP is a program that add articles in PalmOS to a MHC repository. .SH OPTIONS A summary of options is included below. .TP .B \-a Add all articles of a palm to a mhc repository. .TP .B \-u Add dirty articles of a palm to a mhc repository. .TP .B \-n Do nothing effectives to mhc. Useful for checking. .TP .B \-i Interactive. Confirm before install to a mhc repository. .TP .BI \-d " dev" Set the device file connected to the palm. default value is /dev/pilot. .TP .BI \-r " dir" Set repository directory of mhc. if not exists, \fBpalm2mhc\fP makes the directory. default value is ~/Mail/schedule. .SH SEE ALSO .BR adb2mhc (1), .BR gemcal (1), .BR mhc-sync (1), .BR mhc2palm (1), .BR today (1), .BR mhc (5). .br .SH AUTHOR This program was written by Yoshinari Nomura and this manual page was written by Fumitoshi UKAI , for the Debian GNU/Linux system (but may be used by others). debian/mhc-sync.10000644000000000000000000000361212144013375010773 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH mhc 1 "23 Jun 2000" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME mhc-sync \- Data synchronization tool for MHC .SH SYNOPSIS .B mhc-sync .RI [ options ] " " [ user@ ] remote.host [: dir ] .br .B mhc-sync .RI -s " " [ options ] "" .SH DESCRIPTION This manual page documents briefly the .B mhc-sync commands. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. .PP \fBmhc-sync\fP is a program that synchronize MHC data using ssh. Note that You must install ssh and mhc-sync in both systems. Before you use it, you must make sure that the remote repository and the local repository are identical. .SH OPTIONS A summary of options is included below. .TP .B \-n Do nothing effectives. Useful for checking. .TP .BI \-x " exchange_id" Set identical id for each pair of machines .TP .BI \-r " local_dir" Set local repository directory of the MHC. (default: ~/Mail/schedule) .TP .B -s Server mode, Don't specify it. .SH SEE ALSO .BR adb2mhc (1), .BR gemcal (1), .BR mhc2palm (1), .BR palm2mhc (1), .BR today (1), .BR mhc (5). .br .SH AUTHOR This program was written by Yoshinari Nomura and this manual page was written by Fumitoshi UKAI , for the Debian GNU/Linux system (but may be used by others).