diff --git a/deskutils/Makefile b/deskutils/Makefile index f88d80ddb8c7..fac85eba206c 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -27,6 +27,7 @@ SUBDIR += sliderule SUBDIR += teapot SUBDIR += wmpinboard + SUBDIR += xcalendar SUBDIR += xinvest SUBDIR += xmaddressbook SUBDIR += xmdiary diff --git a/deskutils/xcalendar/Makefile b/deskutils/xcalendar/Makefile new file mode 100644 index 000000000000..785abf5e4c3a --- /dev/null +++ b/deskutils/xcalendar/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: xcalendar-4.0 +# Date created: 25 June 1996 +# Whom: MITA Yoshio +# +# $FreeBSD$ +# + +PORTNAME= xcalendar +PORTVERSION= 4.0 +CATEGORIES= deskutils +MASTER_SITES= ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/ +DISTNAME= ${PORTNAME}-${PORTVERSION}+i18n + +MAINTAINER= mistral@imasy.or.jp + +WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_IMAKE= yes +USE_GMAKE= yes +MAKE_ENV= FILESDIR=${FILESDIR} +ALL_TARGET= all XCal-uj.ad xcalendar-uj.hlp xcalendar-uj.man +MAN1= xcalendar.1 +MANLANG= "" ja + +.include diff --git a/deskutils/xcalendar/distinfo b/deskutils/xcalendar/distinfo new file mode 100644 index 000000000000..e2c376774fc2 --- /dev/null +++ b/deskutils/xcalendar/distinfo @@ -0,0 +1 @@ +MD5 (xcalendar-4.0+i18n.tar.gz) = 88a642ccb00d419068b43c1f6f1949c8 diff --git a/deskutils/xcalendar/files/patch-aa b/deskutils/xcalendar/files/patch-aa new file mode 100644 index 000000000000..a36973d4be28 --- /dev/null +++ b/deskutils/xcalendar/files/patch-aa @@ -0,0 +1,41 @@ +--- xcalendar.c.dist Tue Jul 4 06:59:01 1995 ++++ xcalendar.c Mon Mar 12 20:53:10 2001 +@@ -1091,10 +1091,10 @@ + struct tm * + gettime() + { +- struct timeval t; ++ time_t now; + +- gettimeofday(&t, NULL); +- today = localtime(&t.tv_sec); ++ (void) time(&now); ++ today = localtime(&now); + return today; + } + +@@ -1827,8 +1827,8 @@ + *sb++ = '1', *sb++ = '9'; + /* fall thru */ + case 'y': +- *sb++ = tm.tm_year / 10 + '0'; +- *sb++ = tm.tm_year % 10 + '0'; ++ *sb++ = (tm.tm_year%100) / 10 + '0'; ++ *sb++ = (tm.tm_year%100) % 10 + '0'; + break; + case '%': + *sb++ = *p; +@@ -1869,6 +1869,13 @@ + if (len == -1) + return; + } ++ ++ /* terminate `buf' with NULL */ ++ if (sizeof(buf) == len) { ++ buf = XtRealloc(buf, len + 1); ++ } ++ buf[len] = NULL; ++ + start = buf; + + while (len > 0) { diff --git a/deskutils/xcalendar/files/patch-ab b/deskutils/xcalendar/files/patch-ab new file mode 100644 index 000000000000..47586370d88c --- /dev/null +++ b/deskutils/xcalendar/files/patch-ab @@ -0,0 +1,20 @@ +--- dayeditor.c.orig Sun Oct 1 13:54:55 1995 ++++ dayeditor.c Mon Mar 12 20:55:07 2001 +@@ -236,7 +236,7 @@ + { + char *getenv(); + DIR *dirp; +-#if defined (SYSV) || defined(__osf__) || defined(SVR4) ++#if defined (SYSV) || defined(__osf__) || defined(SVR4) || defined(HAVE_DIRENT_H) + struct dirent *dp; + #else + struct direct *dp; +@@ -1068,7 +1068,7 @@ + XawTextSetSource(editor->holiday, + #ifdef XI18N + (XtIsSubclass(old, multiSrcObjectClass) ? +- XtCreateWidget("holSource", asciiSrcObjectClass, ++ XtCreateWidget("holSource", multiSrcObjectClass, + editor->holiday, args, n) : + XtCreateWidget("holSource", asciiSrcObjectClass, + editor->holiday, args, n) ), diff --git a/deskutils/xcalendar/files/patch-ac b/deskutils/xcalendar/files/patch-ac new file mode 100644 index 000000000000..a25f018d7bbf --- /dev/null +++ b/deskutils/xcalendar/files/patch-ac @@ -0,0 +1,154 @@ +--- XCal-uj.sed.orig Sun Oct 1 14:31:06 1995 ++++ XCal-uj.sed Sun Mar 11 12:52:22 2001 +@@ -3,7 +3,9 @@ + *showGrip: False + *calendar*internalBorderWidth: 0 + *input: True +-*resize: False ++*controls*resize: False ++*bcontrols*resize: False ++*daybuttons*resize: False + *resizable: True + *title: XCalendar v.4.0 + *dayEditor.title: Day Editor +@@ -21,8 +23,8 @@ + *succ*Label: 来月 + *prevday*Label: 昨日 + *succday*Label: 明日 +-*helpButton*label: 助け +-*quitButton*label: 終り ++*helpButton*Label: 助け ++*quitButton*Label: 終り + + *daynames.SUN.label: \ 日 + *daynames.MON.label: \ 月 +@@ -32,20 +34,12 @@ + *daynames.FRI.label: \ 金 + *daynames.SAT.label: \ 土 + +-*prev*labelString: 先月 +-*succ*labelString: 来月 +-*prevday*labelString: 昨日 +-*succday*labelString: 明日 +-*helpButton*labelString: 助け +-*quitButton*labelString: 終り +- +-*daynames.SUN.labelString: \ 日 +-*daynames.MON.labelString: \ 月 +-*daynames.TUE.labelString: \ 火 +-*daynames.WED.labelString: \ 水 +-*daynames.THU.labelString: \ 木 +-*daynames.FRI.labelString: \ 金 +-*daynames.SAT.labelString: \ 土 ++*monthnames: 1/2/3/4/5/6/7/8/9/10/11/12 ++*monthnms: 1/2/3/4/5/6/7/8/9/10/11/12 ++*daynames: 日曜日/月曜日/火曜日/水曜日/木曜日/金曜日/土曜日 ++*daynms: 日/月/火/水/木/金/土 ++*date: %M月%d日(%W) ++ + + #ifdef COLOR + ! colors +@@ -70,11 +64,12 @@ + *editorControls*Background: lightgray + *editorControls*Command.Background: slategray + *editorControls*Command.Foreground: White ++*editorControls*XmPushButton.Background: slategray ++*editorControls*XmPushButton.Foreground: White + #endif + + *setMarkBackground: True + *markOnStartup: True +-! + *markCurrent: True + *currentForeground: Blue + *markHoliday: True +@@ -88,57 +83,38 @@ + *prev*vertDistance: 0 + *succ*vertDistance: 0 + +-*controls*date*fontSet: 8x13bold ++*controls*date*fontSet: 8x13bold, -*--14-* + *daynames*fontSet: -*--14-* +-*dayEditor*editorTitle*fontSet: 8x13bold +-*helpWindow*editorTitle*fontSet: 8x13bold ++*dayEditor*editorTitle*fontSet: 8x13bold, -*--14-* ++*helpWindow*editorTitle*fontSet: 8x13bold, -*--14-* + + *helpButton*vertDistance: 5 + *quitButton*vertDistance: 5 + *editorTitle*vertDistance: 5 +-*cdate*vertDistance: 0 ++*cdate*vertDistance: 5 + + *editorControls*doneButton*label: 終り + *editorControls*saveButton*label: 保存 + *editorControls*clearEntry*label: 消えてなくなれ +-*editorControls*doneButton*labelString: 終り +-*editorControls*saveButton*labelString: 保存 +-*editorControls*clearEntry*labelString: 消えてなくなれ ++*doneButton*labelString: 終り ++*saveButton*labelString: 保存 ++*clearEntry*labelString: 消えてなくなれ + + *dayEditor*geometry: 300x150 + *helpWindow*geometry: 600x350 + +-*doneButton*Label: done +-*editorTitle*Label: Help +-*saveButton*Label: save +- +-*bcontrols*borderWidth: 0 +-*prev*highlightThickness: 0 +-*succ*highlightThickness: 0 +- +-*prevday*highlightThickness: 0 +-*succday*highlightThickness: 0 +-*daybuttons*borderWidth: 0 +- +-*Scrollbar.borderWidth: 1 +-*editor.scrollVertical: whenNeeded +-! *scrollHorizontal: False +-! *helpWindow*scrollHorizontal: True +-*holiday*cursorPositionVisible: False +-*holiday*displayCaret: False +-*helpWindow*cursorPositionVisible: False +-*helpWindow*displayCaret: False +- +- + *dayEditor*fontSet: -*--14-* + *controls*fontSet: -*--14-* + *bcontrols*fontSet: -*--14-* + *editorControls*fontSet: -*--14-* + *fontSet: -*--14-* ++ + !*preeditType: Root + !*preeditType: OffTheSpot + *preeditType: OverTheSpot + ++*helpWindow*editorTitle*label: ヘルプ ++*helpWindow*editorTitle*labelString: ヘルプ + *helpWindow*rows: 15 + *helpWindow*columns: 80 + *rows:7 +@@ -149,11 +125,18 @@ + *helpWindow*Paned*editor.width: 600 + *helpWindow*Paned*editor.height: 350 + ++*bcontrols*borderWidth: 0 ++*prev*highlightThickness: 0 ++*succ*highlightThickness: 0 ++ ++*prevday*highlightThickness: 0 ++*succday*highlightThickness: 0 ++*daybuttons*borderWidth: 0 + + *Scrollbar.borderWidth: 1 + *Text*scrollVertical: whenNeeded +-*scrollHorizontal: False +-*helpWindow*scrollHorizontal: True ++*scrollHorizontal: Never ++*helpWindow*scrollHorizontal: Always + *holiday*cursorPositionVisible: False + *holiday*displayCaret: False + *helpWindow*cursorPositionVisible: False diff --git a/deskutils/xcalendar/files/patch-ad b/deskutils/xcalendar/files/patch-ad new file mode 100644 index 000000000000..51355874f2f4 --- /dev/null +++ b/deskutils/xcalendar/files/patch-ad @@ -0,0 +1,46 @@ +--- Imakefile.orig Sun Oct 1 12:19:17 1995 ++++ Imakefile Mon Mar 12 20:54:39 2001 +@@ -1,4 +1,5 @@ + XCALENDAR_LIBDIR = $(LIBDIR)/xcalendar ++XCALENDAR_JP_LIBDIR = $(LIBDIR)/ja_JP.EUC/xcalendar + LIBFILES = larrow.xbm qmark.xbm quit.xbm rarrow.xbm xcalendar.hlp + # Comment out the following two lines for the Motif version + LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) +@@ -12,7 +13,7 @@ + # + # for Internationalization + # +-EXTRA_DEFINES = -DXI18N -DATHENA ++EXTRA_DEFINES = -DXI18N -DATHENA -DHAVE_DIRENT_H + ##if !SharedLibXwchar + # _UseCat($(USRLIBDIR),$(CONTRIBSRC)/lib/Xwchar,/libXwchar.a) + # XWCHARLIB = LoaderLibPrefix _Use(-lXwchar,$(DEPXWCHARLIB)) +@@ -40,12 +41,26 @@ + # for Internationalization + # + XCal-uj.ad: XCal-uj.sed +- sed 's;%%XCALENDAR_LIBDIR%%;$(XCALENDAR_LIBDIR);'\ ++ sed 's;%%XCALENDAR_LIBDIR%%;$(XCALENDAR_JP_LIBDIR);'\ ++ < $? \ ++ > $@ ++xcalendar-uj.hlp: $(FILESDIR)/xcalendar-uj.hlp.sed ++ sed 's;%%XCALENDAR_LIBDIR%%;$(XCALENDAR_JP_LIBDIR);'\ ++ < $? \ ++ > $@ ++xcalendar-uj.man: $(FILESDIR)/xcalendar-uj.man.sed ++ sed 's;%%XCALENDAR_LIBDIR%%;$(XCALENDAR_JP_LIBDIR);'\ + < $? \ + > $@ +-install:: XCal-uj.ad ++install:: + MakeDir($(LIBDIR)/ja_JP.EUC/app-defaults) + $(INSTALL) -c $(INSTAPPFLAGS) XCal-uj.ad $(LIBDIR)/ja_JP.EUC/app-defaults/XCalendar ++ MakeDir($(XCALENDAR_JP_LIBDIR)) ++ $(INSTALL) -c $(INSTAPPFLAGS) $(FILESDIR)/xcalendar.hol $(XCALENDAR_JP_LIBDIR) ++ $(INSTALL) -c $(INSTAPPFLAGS) xcalendar-uj.hlp $(XCALENDAR_JP_LIBDIR)/xcalendar.hlp ++ $(INSTALL) -c $(INSTMANFLAGS) xcalendar-uj.man \ ++ $(MANPATH)/ja/man1/xcalendar.1 ++ $(COMPRESSMANCMD) $(MANPATH)/ja/man1/xcalendar.1 + + # MakeDir($(LIBDIR)/ja_JP.ujis/app-defaults) + # $(INSTALL) -c $(INSTAPPFLAGS) XCal-uj.ad $(LIBDIR)/ja_JP.ujis/app-defaults/XCalendar diff --git a/deskutils/xcalendar/files/patch-af b/deskutils/xcalendar/files/patch-af new file mode 100644 index 000000000000..7ad3be5bc60c --- /dev/null +++ b/deskutils/xcalendar/files/patch-af @@ -0,0 +1,24 @@ +--- XCalendar.sed.orig Tue Jul 4 06:59:01 1995 ++++ XCalendar.sed Sun Mar 11 11:39:52 2001 +@@ -2,7 +2,9 @@ + *showGrip: False + *calendar*internalBorderWidth: 0 + *input: True +-*resize: False ++*controls*resize: False ++*bcontrols*resize: False ++*daybuttons*resize: False + *resizable: True + *title: XCalendar v.4.0 + *dayEditor.title: Day Editor +@@ -120,8 +122,8 @@ + + *Scrollbar.borderWidth: 1 + *Text*scrollVertical: whenNeeded +-*scrollHorizontal: False +-*helpWindow*scrollHorizontal: True ++*scrollHorizontal: Never ++*helpWindow*scrollHorizontal: Always + *holiday*cursorPositionVisible: False + *holiday*displayCaret: False + *helpWindow*cursorPositionVisible: False diff --git a/deskutils/xcalendar/files/patch-ag b/deskutils/xcalendar/files/patch-ag new file mode 100644 index 000000000000..5aeac0376726 --- /dev/null +++ b/deskutils/xcalendar/files/patch-ag @@ -0,0 +1,11 @@ +--- xcalendar.h.orig Sun Oct 1 12:21:42 1995 ++++ xcalendar.h Mon Mar 12 20:54:02 2001 +@@ -75,7 +75,7 @@ + #include + #endif + +-#if defined(SYSV) || defined(__osf__) || defined(SVR4) ++#if defined(SYSV) || defined(__osf__) || defined(SVR4) || defined(HAVE_DIRENT_H) + #include + #else + #include diff --git a/deskutils/xcalendar/files/xcalendar-uj.hlp.sed b/deskutils/xcalendar/files/xcalendar-uj.hlp.sed new file mode 100644 index 000000000000..c8e587b2ffee --- /dev/null +++ b/deskutils/xcalendar/files/xcalendar-uj.hlp.sed @@ -0,0 +1,497 @@ + + + +xcalendar(1) xcalendar(1) + + +名称 + xcalendar - X11 用のカレンダーとメモ + +書式 + xcalendar [month [year]] + + +解説 + xcalendar はメモ機能を持ったシンプルな対話型カレンダープロ + グラムです。このプログラムは X Toolkit と Athena ま た は + Motif ウィジェット (コンパイル時のオプションで指定) で作ら + れています。 + + コマンドラインで month と year が指定されなかった場合に は + 現在の年と月が仮定されます。 + + +操作 + 日付の上でマウスの左ボタンをクリックするとテキストエディタ + が起動し、テキストの編集や保存ができます。このテキストはそ + の日付に関連づけられ、後からエディタで開いて読み書きできま + す。テキストは calendarDir リソースで指定されたディレク ト + リ (デフォルトでは ~/Calendar) に保存されます。エディタか + らは個々の日付に関連づけられた内容を消去することもで き ま + す。またエディタ上で日付ラベルの左右にある矢印をクリックす + れば日の移動ができます。既に開いている日に移動した場合は、 + メッセージが表示され、エディタは表示しかできないモードにな + ります。 + + 同様にメインウィンドウにおいて今日の日付ラベルの左右にある + 矢印をクリックすることにより、月を移動することもできます。 + + ShowEntries 関数を実行すると、その月にある全ての予定をハイ + ライト表示できます。デフォルトではこの関数は (年や月が表示 + されている) タイトルウィンドウの中でマウスの左ボタンを押す + ことにより実行されます。もう一度押すと全ての予定のハイライ + ト表示を止めます。 + + 「祝日」は日エディタの下の方にあるテキストウィジェットに表 + 示 さ れます。祝日は祝日ファイル (下記の holidayfile 参照) + から読み取られます。ファイルの形式は mm/dd/yyyy 祝日 内 容 + で、日付と内容の間はタブで区切られます。現在のところワイル + ドカードは使えません。 + +欠けている機能 + いろいろ便利な機能が考えられるでしょう。たとえば今日の予定 + を自動的に解釈して約束を検索し、適切な時間にアラーム (リマ + インダ) を鳴らすという機能が考えられます。実際、このような + 機 能 を実現する xcalendar+ という perl スクリプトがありま + す。おそらくある日には xcalendar はこの機能を内蔵 す る で + しょう。 + +リソース + リソースデータベースはプログラムの見栄えを変更します。フォ + ントや縁幅、ラベル、その他のウィジェットで試用されているリ + ソースが変更可能です。この機能の使い途の一つは曜日や月名の + 変更です。 + + 変更可能な様々のリソースのウィジェット名には以下のようなも + のがあります。 + + + XCalendar - アプリケーションクラス + xcalendar - トップレベルペイン + controls - コントロールパネル + quitButton - 終了ボタン + helpButton - ヘルプボタン + date - 日付ラベル + calendar - カレンダーぺイン + daynumbers - 日付フレーム + 1-49 - 日付ボタン + daynames - 曜日フレーム + MON,TUE,WED,THU,FRI,SAT,SUN - 曜日ボタン + helpWindow - ヘルプウィンドウ + bcontrols - 月ボタンフレーム + prev - 先月ボタン + succ - 来月ボタン + cdate - 今日の日付ウィジェット + dayEditor - エディタポップアップ + editorFrame - エディタフレーム + editorTitle - エディタタイトル + editor - エディタ + holiday - 祝日テキスト + daybuttons - 日付ボタンフレーム + prevday - 前日ボタン + succday - 明日ボタン + editorControls - コントロールパネル + doneButton - 終了ボタン + saveButton - 保存ボタン + clearEntry - 消去ボタン + + + アプリケーション特有リソース: + + + reverseVideoMark - True の場合は予定を反転した強調表示にします。 + デフォルトでは白黒ディスプレイでは True で、 + カラーディスプレイでは Falase です。 + + setMarkBackground - True かつ reverseVideoMark が False の場合、 + 予定の強調表示は背景色が markBackground に + なります。 + + markBackground - 予定を強調表示する際に使われる背景色。 + + setMarkForeground - setMarkBackground と同様です。 + + markForeground - 予定を強調表示する際に使われる前景色。 + + setMarkBackground と setMarkForeground の組合わせは + どのような値でも構いません。 + + + january,february,..,december - これらのリソースで月ラベルの月名や + oldStyle (下記参照) 時のファイル名決定方法を + 変更できます。 + + firstDay - 1-7 の整数で週をどの曜日から始めるか指定します。 + デフォルトは 7 (日曜) です。 + + markOnStartup - True の場合起動時から予定をマークします。 + デフォルト: True。 + + helpFile - xcalendar.hlp ファイルのフルパス名。 + デフォルト: %%XCALENDAR_LIBDIR%%/xcalendar.hlp + + textBufferSize - 日付エディタのテキストバッファの最大サイズ。 + デフォルト: 2048。 + + calendarDir - $HOME/Calendar 以外のディレクトリにカレンダー + ファイルを保存する場合のパス名 + + holidayFile - 祝日を決めるのに用いるファイルのパス名。 + デフォルト: %%XCALENDAR_LIBDIR%%/xcalendar.hol + + oldStyle - ファイルの命名規則として新しいスタイル + (xcyyyymmdd) ではなく version 3.0 およびそれ + 以前のファイル命名規則 (xcDAYmonYEAR) を使用 + します。ここで DAY と YEAR は数字で mon は月 + の最初の3文字です。 + デフォルト: True + + markCurrent - True の場合、今日の日付をマークします (見ら + れる場合。カラーディスプレイでのみ便利です)。 + デフォルト: False + + updateCurrent - 今日の日付のマーキングを更新する間隔の秒数。 + デフォルト: 60 + + currentForeground - 今日の日付を強調表示する際の前景色。 + + markHoliday - True の場合、祝日をマークします (見られる場合、 + カラーディスプレイでのみ便利です)。 + デフォルト: False + + holidayForeground - 祝日を強調表示する際の前景色 + + monthnames - cdate において日付をフォーマットする際に用いる + 月名を '/' で区切った文字列 + + monthnms - cdate において日付をフォーマットする際に用いる + 月名の略称を '/' で区切った文字列 + + daynames - cdate において日付をフォーマットする際に用いる + 曜日名を '/' で区切った文字列 + + daynms - cdate において日付をフォーマットする際に用いる + 曜日名の略称を '/' で区切った文字列 + + date - cdate において日付をフォーマットする文字列。 + 解釈されるフォーマット文字は次のとおり: + + %W 曜日の完全な名称 + %w 曜日の略称 + %M 月名の完全な名称 + %m 月名の略称 + %d 日 (数字) + %Y 完全な年数 (4 桁) + %y 2 桁の年数 + + デフォルト: "%W, %M %d"; + + +デフォルトのリソースデータベース + *international: TRUE + ! + *showGrip: False + *calendar*internalBorderWidth: 0 + *input: True + *controls*resize: False + *bcontrols*resize: False + *daybuttons*resize: False + *resizable: True + *title: XCalendar v.4.0 + *dayEditor.title: Day Editor + *helpWindow.title: XCalendar Help + *Font: 8x13 + *FontList: 8x13 + + *helpFile: %%XCALENDAR_LIBDIR%%/xcalendar.hlp + *holidayFile: %%XCALENDAR_LIBDIR%%/xcalendar.hol + + *firstDay: 7 + + *labelType: XmSTRING + *prev*Label: 先月 + *succ*Label: 来月 + *prevday*Label: 昨日 + *succday*Label: 明日 + *helpButton*Label: 助け + *quitButton*Label: 終り + + *daynames.SUN.label: \ 日 + *daynames.MON.label: \ 月 + *daynames.TUE.label: \ 火 + *daynames.WED.label: \ 水 + *daynames.THU.label: \ 木 + *daynames.FRI.label: \ 金 + *daynames.SAT.label: \ 土 + + *monthnames: 1/2/3/4/5/6/7/8/9/10/11/12 + *monthnms: 1/2/3/4/5/6/7/8/9/10/11/12 + *daynames: 日曜日/月曜日/火曜日/水曜日/木曜日/金曜日/土曜日 + *daynms: 日/月/火/水/木/金/土 + *date: %M月%d日(%W) + + + #ifdef COLOR + ! colors + *Background: lightgray + *markBackground: Steel Blue + *daynames*Background: lightgray + *daynames.SUN*Foreground: Red + *daynames.SAT*Foreground: Black + *daynumbers*Foreground: Black + *daynumbers.1*Foreground: Red + *daynumbers.8*Foreground: Red + *daynumbers.15*Foreground: Red + *daynumbers.22*Foreground: Red + *daynumbers.29*Foreground: Red + *daynumbers.36*Foreground: Red + *helpButton*Background: slategray + *helpButton*Foreground: White + *quitButton*Background: slategray + *quitButton*Foreground: White + *editorTitle*Background: lightgray + *editorTitle*Foreground: Black + *editorControls*Background: lightgray + *editorControls*Command.Background: slategray + *editorControls*Command.Foreground: White + *editorControls*XmPushButton.Background: slategray + *editorControls*XmPushButton.Foreground: White + #endif + + *setMarkBackground: True + *markOnStartup: True + *markCurrent: True + *currentForeground: Blue + *markHoliday: True + *holidayForeground: Red + + *BorderWidth: 2 + *calendar.borderWidth: 1 + *borderWidth: 0 + *date*borderWidth: 0 + *date*vertDistance: 1 + *prev*vertDistance: 0 + *succ*vertDistance: 0 + *controls*date*fontSet: 8x13bold, -*--14-* + *daynames*fontSet: -*--14-* + *dayEditor*editorTitle*fontSet: 8x13bold, -*--14-* + *helpWindow*editorTitle*fontSet: 8x13bold, -*--14-* + + *helpButton*vertDistance: 5 + *quitButton*vertDistance: 5 + *editorTitle*vertDistance: 5 + *cdate*vertDistance: 5 + + *editorControls*doneButton*label: 終り + *editorControls*saveButton*label: 保存 + *editorControls*clearEntry*label: 消えてなくなれ + *doneButton*labelString: 終り + *saveButton*labelString: 保存 + *clearEntry*labelString: 消えてなくなれ + + *dayEditor*geometry: 300x150 + *helpWindow*geometry: 600x350 + + *dayEditor*fontSet: -*--14-* + *controls*fontSet: -*--14-* + *bcontrols*fontSet: -*--14-* + *editorControls*fontSet: -*--14-* + *fontSet: -*--14-* + + !*preeditType: Root + !*preeditType: OffTheSpot + *preeditType: OverTheSpot + + *helpWindow*editorTitle*label: ヘルプ + *helpWindow*editorTitle*labelString: ヘルプ + *helpWindow*rows: 15 + *helpWindow*columns: 80 + *rows:7 + *columns: 30 + + *dayEditor*Paned*editor.width: 300 + *dayEditor*Paned*editor.height: 150 + *helpWindow*Paned*editor.width: 600 + *helpWindow*Paned*editor.height: 350 + + *bcontrols*borderWidth: 0 + *prev*highlightThickness: 0 + *succ*highlightThickness: 0 + + *prevday*highlightThickness: 0 + *succday*highlightThickness: 0 + *daybuttons*borderWidth: 0 + + *Scrollbar.borderWidth: 1 + *Text*scrollVertical: whenNeeded + *scrollHorizontal: Never + *helpWindow*scrollHorizontal: Always + *holiday*cursorPositionVisible: False + *holiday*displayCaret: False + *helpWindow*cursorPositionVisible: False + *helpWindow*displayCaret: False + + ! Keyboard accelerators + *editorControls*doneButton*accelerators: #override \n\ + Metaq: set() notify() reset() \n + *editorControls*saveButton*accelerators: #override \n\ + Metas: set() notify() reset() \n + *editorControls*clearEntry*accelerators: #override \n\ + Metac: set() notify() reset() \n + + *daybuttons*prevday*accelerators: #override \n\ + Metap: set() notify() reset() \n + *daybuttons*succday*accelerators: #override \n\ + Metan: set() notify() reset() \n + + *prev*accelerators: #override \n\ + p: set() notify() reset() \n + *succ*accelerators: #override \n\ + n: set() notify() reset() \n + *quitButton*accelerators: #override \n\ + q: set() notify() \n + + *XmText.translations: #override\n\ + Ctrl b: backward-character()\n\ + Alt b: backward-word()\n\ + Meta b: backward-word()\n\ + Shift Alt b: backward-word(extend)\n\ + Shift Meta b: backward-word(extend)\n\ + Alt [: backward-paragraph()\n\ + Meta [: backward-paragraph()\n\ + Shift Alt [: backward-paragraph(extend)\n\ + Shift Meta [: backward-paragraph(extend)\n\ + Alt <: beginning-of-file()\n\ + Meta <: beginning-of-file()\n\ + Ctrl a: beginning-of-line()\n\ + Shift Ctrl a: beginning-of-line(extend)\n\ + Ctrl osfInsert: copy-clipboard()\n\ + Shift osfDelete: cut-clipboard()\n\ + Shift osfInsert: paste-clipboard()\n\ + Alt >: end-of-file()\n\ + Meta >: end-of-file()\n\ + Ctrl e: end-of-line()\n\ + + Shift Ctrl e: end-of-line(extend)\n\ + Ctrl f: forward-character()\n\ + Alt ]: forward-paragraph()\n\ + Meta ]: forward-paragraph()\n\ + Shift Alt ]: forward-paragraph(extend)\n\ + Shift Meta ]: forward-paragraph(extend)\n\ + Ctrl Alt f: forward-word()\n\ + Ctrl Meta f: forward-word()\n\ + Ctrl d: kill-next-character()\n\ + Ctrl h: kill-previous-character()\n\ + Alt BackSpace: kill-previous-word()\n\ + Meta BackSpace: kill-previous-word()\n\ + Ctrl w: key-select() kill-selection()\n\ + Ctrl y: unkill()\n\ + Ctrl k: kill-to-end-of-line()\n\ + Alt Delete: kill-to-start-of-line()\n\ + Meta Delete: kill-to-start-of-line()\n\ + Ctrl o: newline-and-backup()\n\ + Ctrl j: newline-and-indent()\n\ + Ctrl n: next-line()\n\ + Ctrl osfLeft: page-left()\n\ + Ctrl osfRight: page-right()\n\ + Ctrl p: previous-line()\n\ + Ctrl g: process-cancel()\n\ + Ctrl l: redraw-display()\n\ + Ctrl v: next-page()\n\ + Meta v: previous-page()\n\ + Ctrl osfDown: next-page()\n\ + Ctrl osfUp: previous-page()\n\ + Ctrl space: set-anchor()\n + + +関連ファイル + $HOME/Calendar/*, %%XCALENDAR_LIBDIR%%/xcalendar.hlp, + %%XCALENDAR_LIBDIR%%/xcalendar.hol + + +関連項目 + xrdb(1), xcalendar+(1) + + +バグ + いくつかあると思います。もし見つけたら 私 (bingle@cs.pur- + due.edu) に教えてください。 + + +作者 + Copyright 1988 by Massachusetts Institute of Technology + Roman J. Budzianowski, MIT Project Athena + + Copyright 1990-1994 by Purdue University + Richard Bingle, Department of Computer Sciences + + 拡張 / 提案: + Beth Chaney + Purdue University, Department of Computer Sciences + + Mike Urban + Jet Propulsion Labs, NASA + + Joel Neisen + Minnesota Supercomputer Center + + Hiroshi Kuribayashi + Omron Corp. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +X Version 11 6 June 1994 1 + + diff --git a/deskutils/xcalendar/files/xcalendar-uj.man.sed b/deskutils/xcalendar/files/xcalendar-uj.man.sed new file mode 100644 index 000000000000..d89a7bc4b5b0 --- /dev/null +++ b/deskutils/xcalendar/files/xcalendar-uj.man.sed @@ -0,0 +1,456 @@ +.de EX \"Begin example +.ne 5 +.if n .sp 1 +.if t .sp .5 +.nf +.in +.5i +.. +.de EE +.fi +.in -.5i +.if n .sp 1 +.if t .sp .5 +.. +.TH xcalendar 1 "6 June 1994" "X Version 11" +.SH 名称 +xcalendar - X11 用のカレンダーとメモ +.SH 書式 +.PP +\fBxcalendar \fP[month \fp[year\fp]\fP] +.PP +.SH 解説 +.PP +\fIxcalendar\fP はメモ機能を持ったシンプルな対話型カレンダープログラムです。 +このプログラムは X Toolkit と Athena または Motif ウィジェット +(コンパイル時のオプションで指定) で作られています。 +.PP +コマンドラインで month と year が指定されなかった場合には +現在の年と月が仮定されます。 +.PP +.SH 操作 +.PP +日付の上でマウスの左ボタンをクリックするとテキストエディタが起動し、 +テキストの編集や保存ができます。このテキストはその日付に関連づけられ、 +後からエディタで開いて読み書きできます。 +テキストは calendarDir リソースで指定されたディレクトリ (デフォルトでは +~/Calendar) に保存されます。エディタからは個々の日付に関連づけられた内容を +消去することもできます。またエディタ上で日付ラベルの左右にある矢印を +クリックすれば日の移動ができます。既に開いている日に移動した場合は、 +メッセージが表示され、エディタは表示しかできないモードになります。 +.PP +同様にメインウィンドウにおいて今日の日付ラベルの左右にある矢印を +クリックすることにより、月を移動することもできます。 +.PP +ShowEntries 関数を実行すると、その月にある全ての予定をハイライト表示できます。 +デフォルトではこの関数は (年や月が表示されている) タイトルウィンドウの中で +マウスの左ボタンを押すことにより実行されます。 +もう一度押すと全ての予定のハイライト表示を止めます。 +.PP +「祝日」は日エディタの下の方にあるテキストウィジェットに表示されます。 +祝日は祝日ファイル (下記の holidayfile 参照) から読み取られます。 +ファイルの形式は mm/dd/yyyy 祝日内容 で、日付と内容の間はタブで区切られます。 +現在のところワイルドカードは使えません。 +.SH 欠けている機能 +.PP +いろいろ便利な機能が考えられるでしょう。たとえば今日の予定を自動的に +解釈して約束を検索し、適切な時間にアラーム (リマインダ) を鳴らすという機能が +考えられます。実際、このような機能を実現する \fIxcalendar+\fP という perl +スクリプトがあります。おそらくある日には \fIxcalendar\fP はこの機能を +内蔵するでしょう。 +.PP +.SH リソース +.PP +リソースデータベースはプログラムの見栄えを変更します。 +フォントや縁幅、ラベル、その他のウィジェットで試用されているリソースが変更可能で +す。この機能の使い途の一つは曜日や月名の変更です。 +.PP +変更可能な様々のリソースのウィジェット名には以下のようなものがあります。 +.PP +.EX 0 +XCalendar - アプリケーションクラス +xcalendar - トップレベルペイン +controls - コントロールパネル +quitButton - 終了ボタン +helpButton - ヘルプボタン +date - 日付ラベル +calendar - カレンダーぺイン +daynumbers - 日付フレーム +1-49 - 日付ボタン +daynames - 曜日フレーム +MON,TUE,WED,THU,FRI,SAT,SUN - 曜日ボタン +helpWindow - ヘルプウィンドウ +bcontrols - 月ボタンフレーム +prev - 先月ボタン +succ - 来月ボタン +cdate - 今日の日付ウィジェット +dayEditor - エディタポップアップ +editorFrame - エディタフレーム +editorTitle - エディタタイトル +editor - エディタ +holiday - 祝日テキスト +daybuttons - 日付ボタンフレーム +prevday - 前日ボタン +succday - 明日ボタン +editorControls - コントロールパネル +doneButton - 終了ボタン +saveButton - 保存ボタン +clearEntry - 消去ボタン +.EE +.PP +アプリケーション特有リソース: +.PP +.EX 0 +reverseVideoMark - True の場合は予定を反転した強調表示にします。 + デフォルトでは白黒ディスプレイでは True で、 + カラーディスプレイでは Falase です。 + +setMarkBackground - True かつ reverseVideoMark が False の場合、 + 予定の強調表示は背景色が markBackground に + なります。 + +markBackground - 予定を強調表示する際に使われる背景色。 + +setMarkForeground - setMarkBackground と同様です。 + +markForeground - 予定を強調表示する際に使われる前景色。 + +\fIsetMarkBackground\fP と \fIsetMarkForeground\fP の組合わせは +どのような値でも構いません。 + + +january,february,..,december - これらのリソースで月ラベルの月名や + oldStyle (下記参照) 時のファイル名決定方法を + 変更できます。 + +firstDay - 1-7 の整数で週をどの曜日から始めるか指定します。 + デフォルトは 7 (日曜) です。 + +markOnStartup - True の場合起動時から予定をマークします。 + デフォルト: True。 +.\" 原文は False + +helpFile - xcalendar.hlp ファイルのフルパス名。 + デフォルト: %%XCALENDAR_LIBDIR%%/xcalendar.hlp + +textBufferSize - 日付エディタのテキストバッファの最大サイズ。 + デフォルト: 2048。 + +calendarDir - $HOME/Calendar 以外のディレクトリにカレンダー + ファイルを保存する場合のパス名 + +holidayFile - 祝日を決めるのに用いるファイルのパス名。 + デフォルト: %%XCALENDAR_LIBDIR%%/xcalendar.hol + +oldStyle - ファイルの命名規則として新しいスタイル + (xcyyyymmdd) ではなく version 3.0 およびそれ + 以前のファイル命名規則 (xcDAYmonYEAR) を使用 + します。ここで DAY と YEAR は数字で mon は月 + の最初の3文字です。 + デフォルト: True + +markCurrent - True の場合、今日の日付をマークします (見ら + れる場合。カラーディスプレイでのみ便利です)。 + デフォルト: False + +updateCurrent - 今日の日付のマーキングを更新する間隔の秒数。 + デフォルト: 60 + +currentForeground - 今日の日付を強調表示する際の前景色。 + +markHoliday - True の場合、祝日をマークします (見られる場合、 + カラーディスプレイでのみ便利です)。 + デフォルト: False + +holidayForeground - 祝日を強調表示する際の前景色 + +monthnames - cdate において日付をフォーマットする際に用いる + 月名を '/' で区切った文字列 + +monthnms - cdate において日付をフォーマットする際に用いる + 月名の略称を '/' で区切った文字列 + +daynames - cdate において日付をフォーマットする際に用いる + 曜日名を '/' で区切った文字列 + +daynms - cdate において日付をフォーマットする際に用いる + 曜日名の略称を '/' で区切った文字列 + +date - cdate において日付をフォーマットする文字列。 + 解釈されるフォーマット文字は次のとおり: + +.in +9 +.nf +%W 曜日の完全な名称 +%w 曜日の略称 +%M 月名の完全な名称 +%m 月名の略称 +%d 日 (数字) +%Y 完全な年数 (4 桁) +%y 2 桁の年数 +.fi +.in -9 + + デフォルト: "%W, %M %d"; +.EE +.SH デフォルトのリソースデータベース +.EX 0 +*international: TRUE +! +*showGrip: False +*calendar*internalBorderWidth: 0 +*input: True +*controls*resize: False +*bcontrols*resize: False +*daybuttons*resize: False +*resizable: True +*title: XCalendar v.4.0 +*dayEditor.title: Day Editor +*helpWindow.title: XCalendar Help +*Font: 8x13 +*FontList: 8x13 + +*helpFile: %%XCALENDAR_LIBDIR%%/xcalendar.hlp +*holidayFile: %%XCALENDAR_LIBDIR%%/xcalendar.hol + +*firstDay: 7 + +*labelType: XmSTRING +*prev*Label: 先月 +*succ*Label: 来月 +*prevday*Label: 昨日 +*succday*Label: 明日 +*helpButton*Label: 助け +*quitButton*Label: 終り + +*daynames.SUN.label: \\ 日 +*daynames.MON.label: \\ 月 +*daynames.TUE.label: \\ 火 +*daynames.WED.label: \\ 水 +*daynames.THU.label: \\ 木 +*daynames.FRI.label: \\ 金 +*daynames.SAT.label: \\ 土 + +*monthnames: 1/2/3/4/5/6/7/8/9/10/11/12 +*monthnms: 1/2/3/4/5/6/7/8/9/10/11/12 +*daynames: 日曜日/月曜日/火曜日/水曜日/木曜日/金曜日/土曜日 +*daynms: 日/月/火/水/木/金/土 +*date: %M月%d日(%W) + + +#ifdef COLOR +! colors +*Background: lightgray +*markBackground: Steel Blue +*daynames*Background: lightgray +*daynames.SUN*Foreground: Red +*daynames.SAT*Foreground: Black +*daynumbers*Foreground: Black +*daynumbers.1*Foreground: Red +*daynumbers.8*Foreground: Red +*daynumbers.15*Foreground: Red +*daynumbers.22*Foreground: Red +*daynumbers.29*Foreground: Red +*daynumbers.36*Foreground: Red +*helpButton*Background: slategray +*helpButton*Foreground: White +*quitButton*Background: slategray +*quitButton*Foreground: White +*editorTitle*Background: lightgray +*editorTitle*Foreground: Black +*editorControls*Background: lightgray +*editorControls*Command.Background: slategray +*editorControls*Command.Foreground: White +*editorControls*XmPushButton.Background: slategray +*editorControls*XmPushButton.Foreground: White +#endif + +*setMarkBackground: True +*markOnStartup: True +*markCurrent: True +*currentForeground: Blue +*markHoliday: True +*holidayForeground: Red + +*BorderWidth: 2 +*calendar.borderWidth: 1 +*borderWidth: 0 +*date*borderWidth: 0 +*date*vertDistance: 1 +*prev*vertDistance: 0 +*succ*vertDistance: 0 + +*controls*date*fontSet: 8x13bold, -*--14-* +*daynames*fontSet: -*--14-* +*dayEditor*editorTitle*fontSet: 8x13bold, -*--14-* +*helpWindow*editorTitle*fontSet: 8x13bold, -*--14-* + +*helpButton*vertDistance: 5 +*quitButton*vertDistance: 5 +*editorTitle*vertDistance: 5 +*cdate*vertDistance: 5 + +*editorControls*doneButton*label: 終り +*editorControls*saveButton*label: 保存 +*editorControls*clearEntry*label: 消えてなくなれ +*doneButton*labelString: 終り +*saveButton*labelString: 保存 +*clearEntry*labelString: 消えてなくなれ + +*dayEditor*geometry: 300x150 +*helpWindow*geometry: 600x350 + +*dayEditor*fontSet: -*--14-* +*controls*fontSet: -*--14-* +*bcontrols*fontSet: -*--14-* +*editorControls*fontSet: -*--14-* +*fontSet: -*--14-* + +!*preeditType: Root +!*preeditType: OffTheSpot +*preeditType: OverTheSpot + +*helpWindow*editorTitle*label: ヘルプ +*helpWindow*editorTitle*labelString: ヘルプ +*helpWindow*rows: 15 +*helpWindow*columns: 80 +*rows:7 +*columns: 30 + +*dayEditor*Paned*editor.width: 300 +*dayEditor*Paned*editor.height: 150 +*helpWindow*Paned*editor.width: 600 +*helpWindow*Paned*editor.height: 350 + +*bcontrols*borderWidth: 0 +*prev*highlightThickness: 0 +*succ*highlightThickness: 0 + +*prevday*highlightThickness: 0 +*succday*highlightThickness: 0 +*daybuttons*borderWidth: 0 + +*Scrollbar.borderWidth: 1 +*Text*scrollVertical: whenNeeded +*scrollHorizontal: Never +*helpWindow*scrollHorizontal: Always +*holiday*cursorPositionVisible: False +*holiday*displayCaret: False +*helpWindow*cursorPositionVisible: False +*helpWindow*displayCaret: False + +! Keyboard accelerators +*editorControls*doneButton*accelerators: #override \\n\\ + Metaq: set() notify() reset() \\n +*editorControls*saveButton*accelerators: #override \\n\\ + Metas: set() notify() reset() \\n +*editorControls*clearEntry*accelerators: #override \\n\\ + Metac: set() notify() reset() \\n + +*daybuttons*prevday*accelerators: #override \\n\\ + Metap: set() notify() reset() \\n +*daybuttons*succday*accelerators: #override \\n\\ + Metan: set() notify() reset() \\n + +*prev*accelerators: #override \\n\\ + p: set() notify() reset() \\n +*succ*accelerators: #override \\n\\ + n: set() notify() reset() \\n +*quitButton*accelerators: #override \\n\\ + q: set() notify() \\n + +*XmText.translations: #override\\n\\ +.in +9 +.nf +Ctrl b: backward-character()\\n\\ +Alt b: backward-word()\\n\\ +Meta b: backward-word()\\n\\ +Shift Alt b: backward-word(extend)\\n\\ +Shift Meta b: backward-word(extend)\\n\\ +Alt [: backward-paragraph()\\n\\ +Meta [: backward-paragraph()\\n\\ +Shift Alt [: backward-paragraph(extend)\\n\\ +Shift Meta [: backward-paragraph(extend)\\n\\ +Alt <: beginning-of-file()\\n\\ +Meta <: beginning-of-file()\\n\\ +Ctrl a: beginning-of-line()\\n\\ +Shift Ctrl a: beginning-of-line(extend)\\n\\ +Ctrl osfInsert: copy-clipboard()\\n\\ +Shift osfDelete: cut-clipboard()\\n\\ +Shift osfInsert: paste-clipboard()\\n\\ +Alt >: end-of-file()\\n\\ +Meta >: end-of-file()\\n\\ +Ctrl e: end-of-line()\\n\\ + +Shift Ctrl e: end-of-line(extend)\\n\\ +Ctrl f: forward-character()\\n\\ +Alt ]: forward-paragraph()\\n\\ +Meta ]: forward-paragraph()\\n\\ +Shift Alt ]: forward-paragraph(extend)\\n\\ +Shift Meta ]: forward-paragraph(extend)\\n\\ +Ctrl Alt f: forward-word()\\n\\ +Ctrl Meta f: forward-word()\\n\\ +Ctrl d: kill-next-character()\\n\\ +Ctrl h: kill-previous-character()\\n\\ +Alt BackSpace: kill-previous-word()\\n\\ +Meta BackSpace: kill-previous-word()\\n\\ +Ctrl w: key-select() kill-selection()\\n\\ +Ctrl y: unkill()\\n\\ +Ctrl k: kill-to-end-of-line()\\n\\ +Alt Delete: kill-to-start-of-line()\\n\\ +Meta Delete: kill-to-start-of-line()\\n\\ +Ctrl o: newline-and-backup()\\n\\ +Ctrl j: newline-and-indent()\\n\\ +Ctrl n: next-line()\\n\\ +Ctrl osfLeft: page-left()\\n\\ +Ctrl osfRight: page-right()\\n\\ +Ctrl p: previous-line()\\n\\ +Ctrl g: process-cancel()\\n\\ +Ctrl l: redraw-display()\\n\\ +Ctrl v: next-page()\\n\\ +Meta v: previous-page()\\n\\ +Ctrl osfDown: next-page()\\n\\ +Ctrl osfUp: previous-page()\\n\\ +Ctrl space: set-anchor()\\n +.fi +.in -9 +.EE +.SH 関連ファイル +.PP +$HOME/Calendar/*, %%XCALENDAR_LIBDIR%%/xcalendar.hlp, +%%XCALENDAR_LIBDIR%%/xcalendar.hol +.PP +.SH 関連項目 +xrdb(1), xcalendar+(1) +.PP +.SH バグ +.PP +いくつかあると思います。 +もし見つけたら私 (bingle@cs.purdue.edu) に教えてください。 +.PP +.SH 作者 +.PP +Copyright 1988 by Massachusetts Institute of Technology +.br +Roman J. Budzianowski, MIT Project Athena + +Copyright 1990-1994 by Purdue University +.br +Richard Bingle, Department of Computer Sciences + +拡張 / 提案: +.br +Beth Chaney +.br +Purdue University, Department of Computer Sciences + +Mike Urban +.br +Jet Propulsion Labs, NASA + +Joel Neisen +.br +Minnesota Supercomputer Center + +Hiroshi Kuribayashi +.br +Omron Corp. diff --git a/deskutils/xcalendar/files/xcalendar.hol b/deskutils/xcalendar/files/xcalendar.hol new file mode 100644 index 000000000000..4d2a97649c71 --- /dev/null +++ b/deskutils/xcalendar/files/xcalendar.hol @@ -0,0 +1,21 @@ +01/01/2001 元日 +01/08/2001 成人の日 +02/11/2001 建国記念の日 +02/12/2001 振替休日 +03/20/2001 春分の日 +04/29/2001 みどりの日 +04/30/2001 振替休日 +05/03/2001 憲法記念日 +05/04/2001 国民の休日 +05/05/2001 こどもの日 +07/20/2001 海の日 +09/15/2001 敬老の日 +09/23/2001 秋分の日 +09/24/2001 振替休日 +10/08/2001 体育の日 +11/03/2001 文化の日 +11/23/2001 勤労感謝の日 +12/23/2001 天皇誕生日 +12/24/2001 振替休日 +01/01/2002 元日 +01/14/2002 成人の日 diff --git a/deskutils/xcalendar/pkg-comment b/deskutils/xcalendar/pkg-comment new file mode 100644 index 000000000000..eb5407048b7d --- /dev/null +++ b/deskutils/xcalendar/pkg-comment @@ -0,0 +1 @@ +A calendar with a notebook for X11 (internationarized version) diff --git a/deskutils/xcalendar/pkg-descr b/deskutils/xcalendar/pkg-descr new file mode 100644 index 000000000000..3797506c4c7e --- /dev/null +++ b/deskutils/xcalendar/pkg-descr @@ -0,0 +1,12 @@ +The xcalendar is a simple interactive calendar program with a notebook +capability. It is built on the X Toolkit and the Athena Widgets. + +Just type `xcalendar [month [year]]' on command line. +If month and year are not provided on the command line they are +assumed to be current. + +Note: This program is internationarized but only +app-defaults files for English (C) and Japanese (ja_JP.EUC) are included. +Let's add another locales! + + MITA Yoshio diff --git a/deskutils/xcalendar/pkg-plist b/deskutils/xcalendar/pkg-plist new file mode 100644 index 000000000000..0a42a38d6824 --- /dev/null +++ b/deskutils/xcalendar/pkg-plist @@ -0,0 +1,13 @@ +bin/xcalendar +lib/X11/app-defaults/XCalendar +lib/X11/ja_JP.EUC/app-defaults/XCalendar +lib/X11/ja_JP.EUC/xcalendar/xcalendar.hol +lib/X11/ja_JP.EUC/xcalendar/xcalendar.hlp +lib/X11/xcalendar/larrow.xbm +lib/X11/xcalendar/qmark.xbm +lib/X11/xcalendar/quit.xbm +lib/X11/xcalendar/rarrow.xbm +lib/X11/xcalendar/xcalendar.hlp +@dirrm lib/X11/xcalendar +@dirrm lib/X11/ja_JP.EUC/xcalendar +@unexec rmdir %D/lib/X11/ja_JP.EUC/app-defaults 2>/dev/null || true