View | Details | Raw Unified | Return to bug 104570
Collapse All | Expand All

(-)/usr/home/chinsan/project/gcin/Makefile (-9 / +4 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	gcin
8
PORTNAME=	gcin
9
PORTVERSION=	1.2.7
9
PORTVERSION=	1.2.8
10
PORTREVISION=	2
11
CATEGORIES=	chinese textproc gnome
10
CATEGORIES=	chinese textproc gnome
12
MASTER_SITES=	http://www.csie.nctu.edu.tw/~cp76/gcin/download/:main
11
MASTER_SITES=	http://www.csie.nctu.edu.tw/~cp76/gcin/download/:main
13
DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main
12
DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:main
Lines 18-24 Link Here
18
17
19
USE_BZIP2=	YES
18
USE_BZIP2=	YES
20
GNU_CONFIGURE=	YES
19
GNU_CONFIGURE=	YES
21
USE_GNOME=	gtk20 gnomecontrolcenter2 gnomehier
20
USE_GNOME=	gtk20
22
USE_GMAKE=	YES
21
USE_GMAKE=	YES
23
USE_GCC=	3.4+
22
USE_GCC=	3.4+
24
INSTALLS_ICONS=	YES
23
INSTALLS_ICONS=	YES
Lines 42-49 Link Here
42
.endif
41
.endif
43
42
44
pre-patch:
43
pre-patch:
45
	@${REINPLACE_CMD} -e 's,gcin.png,${PREFIX}/share/icons/gcin.png,' \
46
		${WRKSRC}/menu/gcin-setup.desktop
47
	@${REINPLACE_CMD} -e 's/&//; s/bash/sh/; \
44
	@${REINPLACE_CMD} -e 's/&//; s/bash/sh/; \
48
		s/QT_IM_DIR=\/usr/QT_IM_DIR=$$prefix/; \
45
		s/QT_IM_DIR=\/usr/QT_IM_DIR=$$prefix/; \
49
		s/mandir=$$datadir/mandir=$$prefix/; \
46
		s/mandir=$$datadir/mandir=$$prefix/; \
Lines 52-63 Link Here
52
		s/gcc/$$CC/; s/gcin-$$GCIN_VERSION/gcin/' ${WRKSRC}/configure
49
		s/gcc/$$CC/; s/gcin-$$GCIN_VERSION/gcin/' ${WRKSRC}/configure
53
	@${REINPLACE_CMD} -e 's/qsort/mergesort/' ${WRKSRC}/gcin2tab.c
50
	@${REINPLACE_CMD} -e 's/qsort/mergesort/' ${WRKSRC}/gcin2tab.c
54
	@${REINPLACE_CMD} -e 's|/usr/local|/usr|g' \
51
	@${REINPLACE_CMD} -e 's|/usr/local|/usr|g' \
55
	    	${WRKSRC}/gtk-im/Makefile \
52
	    	${WRKSRC}/gtk-im/Makefile ${WRKSRC}/menu/Makefile
56
		${WRKSRC}/menu/Makefile
57
	@${REINPLACE_CMD} -e 's/modify-XIM //; 8,10 d' ${WRKSRC}/scripts/Makefile
53
	@${REINPLACE_CMD} -e 's/modify-XIM //; 8,10 d' ${WRKSRC}/scripts/Makefile
58
	@${REINPLACE_CMD} -e 's/bash/sh/; s/&//;' ${WRKSRC}/scripts/gcin-user-setup
59
	@${REINPLACE_CMD} -e 's/bash/sh/; s/&//; s/opt\/gnome/usr\/X11R6/;' \
54
	@${REINPLACE_CMD} -e 's/bash/sh/; s/&//; s/opt\/gnome/usr\/X11R6/;' \
60
		${WRKSRC}/scripts/utf8-edit
55
		${WRKSRC}/scripts/utf8-edit ${WRKSRC}/scripts/gcin-user-setup
61
	@${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \
56
	@${REINPLACE_CMD} -e 's,gcin-im-client.h,im-client/gcin-im-client.h,' \
62
		${WRKSRC}/gtk-im/gtkimcontextgcin.c
57
		${WRKSRC}/gtk-im/gtkimcontextgcin.c
63
58
(-)/usr/home/chinsan/project/gcin/distinfo (-3 / +3 lines)
Lines 1-6 Link Here
1
MD5 (gcin-1.2.7.tar.bz2) = ccd064960c5eba861020ed7efc640f7e
1
MD5 (gcin-1.2.8.tar.bz2) = d4940efa38b3b3206f4d936104e2b37c
2
SHA256 (gcin-1.2.7.tar.bz2) = 45d7852a76d8b3aee64744013d0ae44e940e85033b79f00d8b0890db77150a13
2
SHA256 (gcin-1.2.8.tar.bz2) = 9b6702084d125fbdbc68a8d2bbb17938242dd855c25b3163514fd5e9331149de
3
SIZE (gcin-1.2.7.tar.bz2) = 1541388
3
SIZE (gcin-1.2.8.tar.bz2) = 1542707
4
MD5 (noseeing-6.tar.gz) = c67e5c85b2805f12bb2f092dfa1814b7
4
MD5 (noseeing-6.tar.gz) = c67e5c85b2805f12bb2f092dfa1814b7
5
SHA256 (noseeing-6.tar.gz) = 2f240c8dbb15c2249dff74102842bbccfe307a721cf2c092c75dc6234e470f9b
5
SHA256 (noseeing-6.tar.gz) = 2f240c8dbb15c2249dff74102842bbccfe307a721cf2c092c75dc6234e470f9b
6
SIZE (noseeing-6.tar.gz) = 400429
6
SIZE (noseeing-6.tar.gz) = 400429
(-)/usr/home/chinsan/project/gcin/files/patch-menu (-7 / +3 lines)
Lines 1-6 Link Here
1
--- menu/Makefile.orig	Sun Aug 28 21:40:32 2005
1
--- menu/Makefile.orig	Thu Oct 19 21:48:23 2006
2
+++ menu/Makefile	Fri Oct 13 14:43:28 2006
2
+++ menu/Makefile	Thu Oct 19 21:50:13 2006
3
@@ -10,14 +10,14 @@ install:
3
@@ -10,14 +10,10 @@
4
 	   install gcin-setup.desktop /usr/share/applications; \
4
 	   install gcin-setup.desktop /usr/share/applications; \
5
 	   install -d /usr/lib/menu; \
5
 	   install -d /usr/lib/menu; \
6
 	   install -m 644 $(MENUS) /usr/lib/menu; \
6
 	   install -m 644 $(MENUS) /usr/lib/menu; \
Lines 15-24 Link Here
15
-	   install -m 644 gcin-setup.desktop $(datadir)/applications; \
15
-	   install -m 644 gcin-setup.desktop $(datadir)/applications; \
16
+	   install -d $(prefix)/share/applications; \
16
+	   install -d $(prefix)/share/applications; \
17
+	   install -m 644 $(MENUS) $(prefix)/share/applications; \
17
+	   install -m 644 $(MENUS) $(prefix)/share/applications; \
18
+	   echo "install Gnome's control center panel ..."; \
19
+	   install -d $(datadir)/gnome/control-center-2.0/capplets; \
20
+	   install -m 644 gcin-setup.desktop $(datadir)/gnome/control-center-2.0/capplets; \
21
+	   echo "installing Other common wm(ie:xfce4)'s menu panel ..."; \
22
 	fi
18
 	fi
23
 clean:
19
 clean:
24
 	rm -f $(MENUS) *~
20
 	rm -f $(MENUS) *~
(-)/usr/home/chinsan/project/gcin/pkg-plist (-2 / +4 lines)
Lines 14-21 Link Here
14
bin/tslearn
14
bin/tslearn
15
include/gcin-im-client.h
15
include/gcin-im-client.h
16
lib/gtk-2.0/immodules/im-gcin.so
16
lib/gtk-2.0/immodules/im-gcin.so
17
lib/libgcin-im-client.so
17
lib/gcin/gcin1.so
18
lib/gcin/libgcin-im-client.so
18
%%DATADIR%%/script/gcin-user-setup
19
%%DATADIR%%/script/gcin-user-setup
20
%%DATADIR%%/script/noseeing-inst
19
%%DATADIR%%/script/utf8-edit
21
%%DATADIR%%/script/utf8-edit
20
%%DATADIR%%/table/ar30.gtab
22
%%DATADIR%%/table/ar30.gtab
21
%%DATADIR%%/table/cj-punc.gtab
23
%%DATADIR%%/table/cj-punc.gtab
Lines 52-58 Link Here
52
%%PORTDOCS%%%%DOCSDIR%%/README
54
%%PORTDOCS%%%%DOCSDIR%%/README
53
share/applications/gcin
55
share/applications/gcin
54
share/applications/gcin-setup
56
share/applications/gcin-setup
55
share/gnome/control-center-2.0/capplets/gcin-setup.desktop
56
share/icons/gcin/gcin-tray.png
57
share/icons/gcin/gcin-tray.png
57
share/icons/gcin/greek.png
58
share/icons/gcin/greek.png
58
share/icons/gcin/tsin.png
59
share/icons/gcin/tsin.png
Lines 60-65 Link Here
60
share/icons/gcin/pin-fixed24.png
61
share/icons/gcin/pin-fixed24.png
61
share/icons/gcin/pin-float16.png
62
share/icons/gcin/pin-float16.png
62
%%PORTDOCS%%@dirrm %%DOCSDIR%%
63
%%PORTDOCS%%@dirrm %%DOCSDIR%%
64
@dirrmtry lib/gcin
63
@dirrmtry share/icons/gcin
65
@dirrmtry share/icons/gcin
64
@dirrmtry share/icons
66
@dirrmtry share/icons
65
@dirrmtry share/applications
67
@dirrmtry share/applications

Return to bug 104570