Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2006 21:33:40 -0700 (MST)
From:      Jie Gao <gaoj@cpsc.ucalgary.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gaoj@cpsc.ucalgary.ca
Subject:   ports/93165: [maintainer] Upgrade chinese/scim-pinyin to latest version
Message-ID:  <200602110433.k1B4Xepk055500@localhost.cpsc.ucalgary.ca>
Resent-Message-ID: <200602110440.k1B4e3pn051042@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93165
>Category:       ports
>Synopsis:       [maintainer] Upgrade chinese/scim-pinyin to latest version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 11 04:40:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jie Gao
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD aibsd 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Sun Feb 5 22:42:06 MST 2006 gaoj@aibsd:/usr/obj/usr/src/sys/AIBSD i386


	
>Description:
	
Update chinese/scim-pinyin to the latest version. An optional skim setup module is
included in this version, and can be toggled by WITH_SKIM (auto detect).
>How-To-Repeat:
	
N/A
>Fix:
Apply the attached patch. A new patch file is added.

	

--- patch-chinese-scim-pinyin.diff begins here ---
Index: chinese/scim-pinyin/Makefile
===================================================================
RCS file: /home/grads/gaoj/repository/ports/chinese/scim-pinyin/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- chinese/scim-pinyin/Makefile	11 Feb 2006 03:44:03 -0000	1.10
+++ chinese/scim-pinyin/Makefile	11 Feb 2006 04:31:13 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	scim-pinyin
-PORTVERSION=	0.5.0
-PORTREVISION=	5
+PORTVERSION=	0.5.91
 CATEGORIES=	chinese
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=scim
@@ -39,6 +38,25 @@
 		LDFLAGS="-L${LOCALBASE}/lib -lintl"
 .endif
 
+PLIST_SUB=	SKIM="@comment "
+
+pre-fetch:
+	@${ECHO_MSG} Define WITH_SKIM to enable skim support
+
+.if exists(${LOCALBASE}/bin/skim)
+WITH_SKIM=	yes
+pre-patch:
+	@${ECHO_MSG} Skim is detected, support enabled.
+.endif
+
+.if !defined(WITH_SKIM)
+CONFIGURE_ARGS+=--disable-skim-support
+.else
+BUILD_DEPENDS+= skim:${PORTSDIR}/textproc/skim
+CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
+PLIST_SUB=	SKIM="" PREFIX="${PREFIX}"
+.endif
+
 post-install:
 	@${CAT} ${PKGMESSAGE}
 	@${ECHO}
Index: chinese/scim-pinyin/distinfo
===================================================================
RCS file: /home/grads/gaoj/repository/ports/chinese/scim-pinyin/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- chinese/scim-pinyin/distinfo	11 Feb 2006 03:44:03 -0000	1.5
+++ chinese/scim-pinyin/distinfo	11 Feb 2006 04:31:13 -0000
@@ -1,3 +1,3 @@
-MD5 (scim-pinyin-0.5.0.tar.gz) = 3cb810f4ae252c7e05fc01b7e5548da9
-SHA256 (scim-pinyin-0.5.0.tar.gz) = 8e9df91c88bf135172391705201a22bf70812914b72c0a40ce54c719b03e9f9e
-SIZE (scim-pinyin-0.5.0.tar.gz) = 4829272
+MD5 (scim-pinyin-0.5.91.tar.gz) = fb96d3545090d7681ea03edaced4eccb
+SHA256 (scim-pinyin-0.5.91.tar.gz) = 9b6b24af841cbf0353b919df7f56be931850fccf3b914172af7a39b6db726653
+SIZE (scim-pinyin-0.5.91.tar.gz) = 5492055
Index: chinese/scim-pinyin/pkg-plist
===================================================================
RCS file: /home/grads/gaoj/repository/ports/chinese/scim-pinyin/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- chinese/scim-pinyin/pkg-plist	11 Feb 2006 03:44:03 -0000	1.4
+++ chinese/scim-pinyin/pkg-plist	11 Feb 2006 04:31:13 -0000
@@ -3,6 +3,7 @@
 share/locale/de/LC_MESSAGES/scim-pinyin.mo
 share/locale/fr/LC_MESSAGES/scim-pinyin.mo
 share/locale/ko/LC_MESSAGES/scim-pinyin.mo
+share/locale/it/LC_MESSAGES/scim-pinyin.mo
 share/locale/ja/LC_MESSAGES/scim-pinyin.mo
 share/locale/zh_CN/LC_MESSAGES/scim-pinyin.mo
 share/locale/zh_TW/LC_MESSAGES/scim-pinyin.mo
@@ -12,6 +13,20 @@
 share/scim/pinyin/pinyin_table
 share/scim/pinyin/special_table
 share/scim/icons/smart-pinyin.png
+%%SKIM%%@cwd %%LOCALBASE%%
+%%SKIM%%lib/kde3/kcm_skimplugin_scim_smartpinyin.la
+%%SKIM%%lib/kde3/kcm_skimplugin_scim_smartpinyin.so
+%%SKIM%%share/services/skimconfiguredialog/skimplugin_scim_smartpinyin_config.desktop
+%%SKIM%%share/config.kcfg/smartpinyin.kcfg
+%%SKIM%%share/locale/zh_CN/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/locale/zh_TW/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/locale/de/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/locale/fr/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/locale/ja/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/locale/it/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/locale/ko/LC_MESSAGES/skim-scim-pinyin.mo
+%%SKIM%%share/apps/skim/pics/smart-pinyin.png
+%%SKIM%%@cwd %%PREFIX%%
 @dirrmtry lib/scim-1.0/IMEngine
 @dirrmtry lib/scim-1.0/SetupUI
 @dirrm share/scim/pinyin
Index: chinese/scim-pinyin/files/patch-skim-setupui-smartpinyinui.ui
===================================================================
RCS file: chinese/scim-pinyin/files/patch-skim-setupui-smartpinyinui.ui
diff -N chinese/scim-pinyin/files/patch-skim-setupui-smartpinyinui.ui
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ chinese/scim-pinyin/files/patch-skim-setupui-smartpinyinui.ui	11 Feb 2006 04:31:13 -0000
@@ -0,0 +1,23 @@
+--- skim/setupui/smartpinyinui.ui~	Wed Mar 23 11:45:03 2005
++++ skim/setupui/smartpinyinui.ui	Fri Feb 10 21:05:09 2006
+@@ -863,20 +863,4 @@
+     <tabstop>kcfg__IMEngine_Pinyin_DisablePhraseKey</tabstop>
+ </tabstops>
+ <layoutdefaults spacing="6" margin="11"/>
+-<includehints>
+-    <includehint>skimeditshortcutbutton.h</includehint>
+-    <includehint>klineedit.h</includehint>
+-    <includehint>skimeditshortcutbutton.h</includehint>
+-    <includehint>klineedit.h</includehint>
+-    <includehint>skimeditshortcutbutton.h</includehint>
+-    <includehint>klineedit.h</includehint>
+-    <includehint>klineedit.h</includehint>
+-    <includehint>skimeditshortcutbutton.h</includehint>
+-    <includehint>skimeditshortcutbutton.h</includehint>
+-    <includehint>klineedit.h</includehint>
+-    <includehint>skimeditshortcutbutton.h</includehint>
+-    <includehint>klineedit.h</includehint>
+-    <includehint>skimeditshortcutbutton.h</includehint>
+-    <includehint>klineedit.h</includehint>
+-</includehints>
+ </UI>
--- patch-chinese-scim-pinyin.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602110433.k1B4Xepk055500>