diff options
author | vanilla <vanilla@FreeBSD.org> | 2005-04-19 14:10:10 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2005-04-19 14:10:10 +0800 |
commit | 76916c5613d0ce1551ac65a3bc610558d7d84f7b (patch) | |
tree | 074ad3b4995551765b14cf323bf955ca1ca18544 /chinese | |
parent | bd74daf3c3c403309f26302ee21892b2abdefb41 (diff) | |
download | freebsd-ports-gnome-76916c5613d0ce1551ac65a3bc610558d7d84f7b.tar.gz freebsd-ports-gnome-76916c5613d0ce1551ac65a3bc610558d7d84f7b.tar.zst freebsd-ports-gnome-76916c5613d0ce1551ac65a3bc610558d7d84f7b.zip |
1: upgrade to 0..1.
2: fix distinfo.
Submitted by: chinsan <chinsan@mail2000.com.tw>
Approved by: maintainer
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/gcin-devel/Makefile | 2 | ||||
-rw-r--r-- | chinese/gcin-devel/distinfo | 4 | ||||
-rw-r--r-- | chinese/gcin-devel/files/patch-menu | 74 | ||||
-rw-r--r-- | chinese/gcin-devel/pkg-plist | 5 | ||||
-rw-r--r-- | chinese/gcin/Makefile | 2 | ||||
-rw-r--r-- | chinese/gcin/distinfo | 4 | ||||
-rw-r--r-- | chinese/gcin/files/patch-menu | 74 | ||||
-rw-r--r-- | chinese/gcin/pkg-plist | 5 |
8 files changed, 158 insertions, 12 deletions
diff --git a/chinese/gcin-devel/Makefile b/chinese/gcin-devel/Makefile index 7590690f7408..4a49bb368315 100644 --- a/chinese/gcin-devel/Makefile +++ b/chinese/gcin-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gcin -PORTVERSION= 0.9.0 +PORTVERSION= 0.9.1 CATEGORIES= chinese MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/ diff --git a/chinese/gcin-devel/distinfo b/chinese/gcin-devel/distinfo index 662b522e6876..29ffbc093809 100644 --- a/chinese/gcin-devel/distinfo +++ b/chinese/gcin-devel/distinfo @@ -1,2 +1,2 @@ -MD5 (gcin-0.9.0.tar.bz2) = 285d724f7d9a07a01e21fc282c389c93 -SIZE (gcin-0.8.9.tar.bz2) = 1096190 +MD5 (gcin-0.9.1.tar.bz2) = b9b30dcd0e81b47666d3d608930c4082 +SIZE (gcin-0.9.1.tar.bz2) = 1105801 diff --git a/chinese/gcin-devel/files/patch-menu b/chinese/gcin-devel/files/patch-menu new file mode 100644 index 000000000000..6a6a1f4b692d --- /dev/null +++ b/chinese/gcin-devel/files/patch-menu @@ -0,0 +1,74 @@ +diff -ruN menu.orig/Makefile menu/Makefile +--- menu.orig/Makefile Wed Feb 9 15:55:03 2005 ++++ menu/Makefile Mon Apr 18 07:56:45 2005 +@@ -1,4 +1,4 @@ +-MENUS = gcin gcin-setup ++MENUS = gcin.desktop gcin-setup.desktop + + include ../config.mak + +@@ -10,8 +10,8 @@ + install -m 644 $(MENUS) /usr/lib/menu; \ + which update-menus >& /dev/null && update-menus || exit 0; \ + else \ +- install -d $(libdir)/menu; \ +- install -m 644 $(MENUS) $(libdir)/menu; \ ++ install -d $(prefix)/share/applications; \ ++ install -m 644 $(MENUS) $(prefix)/share/applications; \ + fi + clean: + rm -f $(MENUS) *~ +diff -ruN menu.orig/gcin menu/gcin +--- menu.orig/gcin Fri Apr 15 09:12:37 2005 ++++ menu/gcin Thu Jan 1 08:00:00 1970 +@@ -1 +0,0 @@ +-?package(gcin): icon="gcin.png" title="gcin" longtitle="gcin chinese input method" needs="x11" section="Chinese" command="/usr/local/bin/gcin" +diff -ruN menu.orig/gcin-setup menu/gcin-setup +--- menu.orig/gcin-setup Fri Apr 15 09:12:37 2005 ++++ menu/gcin-setup Thu Jan 1 08:00:00 1970 +@@ -1 +0,0 @@ +-?package(gcin): icon="gcin.png" title="gcin-setup 設定" longtitle="gcin-setup 設定" needs="x11" section="Chinese" command="/usr/local/bin/gcin-setup" +diff -ruN menu.orig/gcin-setup.desktop.in menu/gcin-setup.desktop.in +--- menu.orig/gcin-setup.desktop.in Thu Jan 1 08:00:00 1970 ++++ menu/gcin-setup.desktop.in Mon Apr 18 07:56:45 2005 +@@ -0,0 +1,13 @@ ++[Desktop Entry] ++Categories=Application;Settings; ++Encoding=UTF-8 ++Type=Application ++Name=gcin-setup ++Exec=gcin-setup -caption "%c" %i %m %u ++GenericName=gcin-setup ++GenericName[zh_CN]=gcin-setup 設定 gcin ++GenericName[zh_TW]=gcin-setup 設定 gcin ++Comment=gcin-setup 設定 gcin ++MimeTypes= ++Terminal=false ++Icon=/usr/X11R6/share/icons/gcin.png +diff -ruN menu.orig/gcin-setup.in menu/gcin-setup.in +--- menu.orig/gcin-setup.in Thu Nov 11 15:54:50 2004 ++++ menu/gcin-setup.in Thu Jan 1 08:00:00 1970 +@@ -1 +0,0 @@ +-?package(gcin): icon="gcin.png" title="gcin-setup 設定" longtitle="gcin-setup 設定" needs="x11" section="Chinese" command="/usr/local/bin/gcin-setup" +diff -ruN menu.orig/gcin.desktop.in menu/gcin.desktop.in +--- menu.orig/gcin.desktop.in Thu Jan 1 08:00:00 1970 ++++ menu/gcin.desktop.in Mon Apr 18 07:56:45 2005 +@@ -0,0 +1,13 @@ ++[Desktop Entry] ++Categories=Application;System;Utility; ++Encoding=UTF-8 ++Type=Application ++Name=gcin ++Exec=gcin -caption "%c" %i %m %u ++GenericName=gcin chinese input method ++GenericName[zh_CN]=gcin 輸入法 ++GenericName[zh_TW]=gcin 輸入法 ++Comment=A triditional chinese input utility in X ++MimeTypes= ++Terminal=false ++Icon=/usr/X11R6/share/icons/gcin.png +diff -ruN menu.orig/gcin.in menu/gcin.in +--- menu.orig/gcin.in Thu Nov 11 15:53:01 2004 ++++ menu/gcin.in Thu Jan 1 08:00:00 1970 +@@ -1 +0,0 @@ +-?package(gcin): icon="gcin.png" title="gcin" longtitle="gcin chinese input method" needs="x11" section="Chinese" command="/usr/local/bin/gcin" diff --git a/chinese/gcin-devel/pkg-plist b/chinese/gcin-devel/pkg-plist index 0f590ebe6328..6bbb8c1618b0 100644 --- a/chinese/gcin-devel/pkg-plist +++ b/chinese/gcin-devel/pkg-plist @@ -9,8 +9,6 @@ bin/tslearn include/gcin-im-client.h lib/gtk-2.0/immodules/im-gcin.so lib/libgcin-im-client.so -lib/menu/gcin -lib/menu/gcin-setup %%DATADIR%%/script/gcin-user-setup %%DATADIR%%/script/gcin-utf8-setup %%DATADIR%%/script/modify-XIM @@ -38,10 +36,11 @@ lib/menu/gcin-setup %%DATADIR%%/table/zo-asdf.kbm %%DOCSDIR%%/README %%DOCSDIR%%/Changelog +share/applications/gcin.desktop +share/applications/gcin-setup.desktop share/icons/gcin.png share/icons/gcin/pin-fixed24.png share/icons/gcin/pin-float16.png -@dirrm lib/menu @dirrm %%DOCSDIR%% @dirrm share/icons/gcin @unexec rmdir %D/share/icons 2>/dev/null || true diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile index 7590690f7408..4a49bb368315 100644 --- a/chinese/gcin/Makefile +++ b/chinese/gcin/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gcin -PORTVERSION= 0.9.0 +PORTVERSION= 0.9.1 CATEGORIES= chinese MASTER_SITES= http://www.csie.nctu.edu.tw/~cp76/gcin/download/ diff --git a/chinese/gcin/distinfo b/chinese/gcin/distinfo index 662b522e6876..29ffbc093809 100644 --- a/chinese/gcin/distinfo +++ b/chinese/gcin/distinfo @@ -1,2 +1,2 @@ -MD5 (gcin-0.9.0.tar.bz2) = 285d724f7d9a07a01e21fc282c389c93 -SIZE (gcin-0.8.9.tar.bz2) = 1096190 +MD5 (gcin-0.9.1.tar.bz2) = b9b30dcd0e81b47666d3d608930c4082 +SIZE (gcin-0.9.1.tar.bz2) = 1105801 diff --git a/chinese/gcin/files/patch-menu b/chinese/gcin/files/patch-menu new file mode 100644 index 000000000000..6a6a1f4b692d --- /dev/null +++ b/chinese/gcin/files/patch-menu @@ -0,0 +1,74 @@ +diff -ruN menu.orig/Makefile menu/Makefile +--- menu.orig/Makefile Wed Feb 9 15:55:03 2005 ++++ menu/Makefile Mon Apr 18 07:56:45 2005 +@@ -1,4 +1,4 @@ +-MENUS = gcin gcin-setup ++MENUS = gcin.desktop gcin-setup.desktop + + include ../config.mak + +@@ -10,8 +10,8 @@ + install -m 644 $(MENUS) /usr/lib/menu; \ + which update-menus >& /dev/null && update-menus || exit 0; \ + else \ +- install -d $(libdir)/menu; \ +- install -m 644 $(MENUS) $(libdir)/menu; \ ++ install -d $(prefix)/share/applications; \ ++ install -m 644 $(MENUS) $(prefix)/share/applications; \ + fi + clean: + rm -f $(MENUS) *~ +diff -ruN menu.orig/gcin menu/gcin +--- menu.orig/gcin Fri Apr 15 09:12:37 2005 ++++ menu/gcin Thu Jan 1 08:00:00 1970 +@@ -1 +0,0 @@ +-?package(gcin): icon="gcin.png" title="gcin" longtitle="gcin chinese input method" needs="x11" section="Chinese" command="/usr/local/bin/gcin" +diff -ruN menu.orig/gcin-setup menu/gcin-setup +--- menu.orig/gcin-setup Fri Apr 15 09:12:37 2005 ++++ menu/gcin-setup Thu Jan 1 08:00:00 1970 +@@ -1 +0,0 @@ +-?package(gcin): icon="gcin.png" title="gcin-setup 設定" longtitle="gcin-setup 設定" needs="x11" section="Chinese" command="/usr/local/bin/gcin-setup" +diff -ruN menu.orig/gcin-setup.desktop.in menu/gcin-setup.desktop.in +--- menu.orig/gcin-setup.desktop.in Thu Jan 1 08:00:00 1970 ++++ menu/gcin-setup.desktop.in Mon Apr 18 07:56:45 2005 +@@ -0,0 +1,13 @@ ++[Desktop Entry] ++Categories=Application;Settings; ++Encoding=UTF-8 ++Type=Application ++Name=gcin-setup ++Exec=gcin-setup -caption "%c" %i %m %u ++GenericName=gcin-setup ++GenericName[zh_CN]=gcin-setup 設定 gcin ++GenericName[zh_TW]=gcin-setup 設定 gcin ++Comment=gcin-setup 設定 gcin ++MimeTypes= ++Terminal=false ++Icon=/usr/X11R6/share/icons/gcin.png +diff -ruN menu.orig/gcin-setup.in menu/gcin-setup.in +--- menu.orig/gcin-setup.in Thu Nov 11 15:54:50 2004 ++++ menu/gcin-setup.in Thu Jan 1 08:00:00 1970 +@@ -1 +0,0 @@ +-?package(gcin): icon="gcin.png" title="gcin-setup 設定" longtitle="gcin-setup 設定" needs="x11" section="Chinese" command="/usr/local/bin/gcin-setup" +diff -ruN menu.orig/gcin.desktop.in menu/gcin.desktop.in +--- menu.orig/gcin.desktop.in Thu Jan 1 08:00:00 1970 ++++ menu/gcin.desktop.in Mon Apr 18 07:56:45 2005 +@@ -0,0 +1,13 @@ ++[Desktop Entry] ++Categories=Application;System;Utility; ++Encoding=UTF-8 ++Type=Application ++Name=gcin ++Exec=gcin -caption "%c" %i %m %u ++GenericName=gcin chinese input method ++GenericName[zh_CN]=gcin 輸入法 ++GenericName[zh_TW]=gcin 輸入法 ++Comment=A triditional chinese input utility in X ++MimeTypes= ++Terminal=false ++Icon=/usr/X11R6/share/icons/gcin.png +diff -ruN menu.orig/gcin.in menu/gcin.in +--- menu.orig/gcin.in Thu Nov 11 15:53:01 2004 ++++ menu/gcin.in Thu Jan 1 08:00:00 1970 +@@ -1 +0,0 @@ +-?package(gcin): icon="gcin.png" title="gcin" longtitle="gcin chinese input method" needs="x11" section="Chinese" command="/usr/local/bin/gcin" diff --git a/chinese/gcin/pkg-plist b/chinese/gcin/pkg-plist index 0f590ebe6328..6bbb8c1618b0 100644 --- a/chinese/gcin/pkg-plist +++ b/chinese/gcin/pkg-plist @@ -9,8 +9,6 @@ bin/tslearn include/gcin-im-client.h lib/gtk-2.0/immodules/im-gcin.so lib/libgcin-im-client.so -lib/menu/gcin -lib/menu/gcin-setup %%DATADIR%%/script/gcin-user-setup %%DATADIR%%/script/gcin-utf8-setup %%DATADIR%%/script/modify-XIM @@ -38,10 +36,11 @@ lib/menu/gcin-setup %%DATADIR%%/table/zo-asdf.kbm %%DOCSDIR%%/README %%DOCSDIR%%/Changelog +share/applications/gcin.desktop +share/applications/gcin-setup.desktop share/icons/gcin.png share/icons/gcin/pin-fixed24.png share/icons/gcin/pin-float16.png -@dirrm lib/menu @dirrm %%DOCSDIR%% @dirrm share/icons/gcin @unexec rmdir %D/share/icons 2>/dev/null || true |