Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 2009 21:57:48 +0800 (CST)
From:      Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/141750: [PATCH] Update chinese/scim-chewing to 0.3.3
Message-ID:  <20091218135748.64D186FC438@mx.hs.ntnu.edu.tw>
Resent-Message-ID: <200912181400.nBIE0CcF049096@freefall.freebsd.org>

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

>Number:         141750
>Category:       ports
>Synopsis:       [PATCH] Update chinese/scim-chewing to 0.3.3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 18 14:00:12 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Denny Lin
>Release:        FreeBSD 7.2-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD cnmc32.hs.ntnu.edu.tw 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Mon Oct 26 19:41:45 CST 2009 root@cnmc32.hs.ntnu.edu.tw:/usr/obj/usr/src/sys/CNMC32 amd64


	
>Description:
Update chinese/scim-chewing to 0.3.3.

I hope that the patches can be committed as soon as possible since the current version of libchewing (0.3.2) seems to be imcompatible with the current version of scim-chewing in the ports tree (not 100% percent sure about this, but there were some API changes in libchewing 0.3.2).
	
>How-To-Repeat:
	
>Fix:

	

--- Makefile.patch begins here ---
--- ports/chinese/scim-chewing/Makefile.orig	2009-12-18 21:24:05.000000000 +0800
+++ ports/chinese/scim-chewing/Makefile	2009-12-18 21:49:27.000000000 +0800
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	scim-chewing
-PORTVERSION=	0.3.1
-PORTREVISION=	5
+PORTVERSION=	0.3.3
 CATEGORIES=	chinese
 MASTER_SITES=	http://chewing.csie.net/download/scim/
 
@@ -16,16 +15,16 @@
 
 RUN_DEPENDS=	scim:${PORTSDIR}/textproc/scim
 LIB_DEPENDS=	chewing.3:${PORTSDIR}/chinese/libchewing
-BUILD_DEPENDS=	${RUN_DEPENDS} \
+BUILD_DEPENDS=	scim:${PORTSDIR}/textproc/scim \
 		p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
 
+USE_BZIP2=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 
 CONFIGURE_ENV+=	CPPFLAGS="-D__STDC_ISO_10646__ -I${LOCALBASE}/include"
 
 post-patch:
-	@${REINPLACE_CMD} -e 's,/1.0.0/,/,g' ${WRKSRC}/src/Makefile.in
 	@${REINPLACE_CMD} -e 's,@DATADIRNAME@,share,g' ${WRKSRC}/po/Makefile.in.in
 
 post-install:
--- Makefile.patch ends here ---

--- distinfo.patch begins here ---
--- ports/chinese/scim-chewing/distinfo.orig	2009-12-18 21:24:08.000000000 +0800
+++ ports/chinese/scim-chewing/distinfo	2009-12-18 21:26:12.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (scim-chewing-0.3.1.tar.gz) = 7231e143e408b96f8374be9026ce6184
-SHA256 (scim-chewing-0.3.1.tar.gz) = ee88aa2e9ed6b970b01938d1fc8aeca200b866eee380f03623973820f45d75cb
-SIZE (scim-chewing-0.3.1.tar.gz) = 434230
+MD5 (scim-chewing-0.3.3.tar.bz2) = 3f17ccae3f20f42a33e464aeb06eb1cb
+SHA256 (scim-chewing-0.3.3.tar.bz2) = 671d470f15362a67a660e734f86d92b4f5f4908a8dcfb9b6fd8c871049407cf1
+SIZE (scim-chewing-0.3.3.tar.bz2) = 319314
--- distinfo.patch ends here ---


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



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