From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 11 02:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B7316E8E for ; Mon, 11 Feb 2013 02:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9A52DFA4 for ; Mon, 11 Feb 2013 02:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1B2K0MT082728 for ; Mon, 11 Feb 2013 02:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1B2K09U082727; Mon, 11 Feb 2013 02:20:00 GMT (envelope-from gnats) Resent-Date: Mon, 11 Feb 2013 02:20:00 GMT Resent-Message-Id: <201302110220.r1B2K09U082727@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Henry Hu Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 74601C97 for ; Mon, 11 Feb 2013 02:11:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 4EA0CF5D for ; Mon, 11 Feb 2013 02:11:37 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1B2BbkK031921 for ; Mon, 11 Feb 2013 02:11:37 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r1B2BbTC031920; Mon, 11 Feb 2013 02:11:37 GMT (envelope-from nobody) Message-Id: <201302110211.r1B2BbTC031920@red.freebsd.org> Date: Mon, 11 Feb 2013 02:11:37 GMT From: Henry Hu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/176021: [patch] chinese/libchewing: update to 0.3.4 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 02:20:00 -0000 >Number: 176021 >Category: ports >Synopsis: [patch] chinese/libchewing: update to 0.3.4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Feb 11 02:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Henry Hu >Release: FreeBSD 9.1 >Organization: Columbia University >Environment: FreeBSD home.henryhu.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1 r244163M: Wed Dec 12 20:37:07 EST 2012 root@home.henryhu.net:/usr/obj/usr/src/sys/MYKERNEL amd64 >Description: Update chinese/libchewing to 0.3.4 * Master site changed to Google Code * Patches to install data into PREFIX/share/chewing Patch created and tested by me and Zhihao Yuan(lichray@gmail.com) >How-To-Repeat: >Fix: Patch attached with submission follows: Index: chinese/libchewing/Makefile =================================================================== --- chinese/libchewing/Makefile (revision 310983) +++ chinese/libchewing/Makefile (working copy) @@ -1,24 +1,25 @@ -# New ports collection makefile for: libchewing -# Date created: 5 Sep 2004 -# Whom: Kuang-che Wu -# +# Created by: Kuang-che Wu # $FreeBSD$ -# PORTNAME= libchewing -PORTVERSION= 0.3.3 +PORTVERSION= 0.3.4 CATEGORIES= chinese textproc -MASTER_SITES= http://chewing.csie.net/download/libchewing/ +MASTER_SITES= GOOGLE_CODE MAINTAINER= clsung@FreeBSD.org COMMENT= The Chewing intelligent phonetic input method library -USE_GNOME= gnomehack pkgconfig +INFO= libchewing + +USE_GMAKE= yes +USE_GNOME= gnomehack +USE_PKGCONFIG= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_BZIP2= yes DATADIR= ${PREFIX}/share/chewing +PROJECTHOST= chewing .include Index: chinese/libchewing/distinfo =================================================================== --- chinese/libchewing/distinfo (revision 310983) +++ chinese/libchewing/distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (libchewing-0.3.3.tar.bz2) = 72a0de12b86c4d5f6468a68d88c736227ff16fa7a915f8595ffe5a31cae95eae -SIZE (libchewing-0.3.3.tar.bz2) = 1798134 +SHA256 (libchewing-0.3.4.tar.bz2) = f940734d514d52f0375cb1afa5d4d7536a93fd8ff0c3ce4a002ab1698dd07ff6 +SIZE (libchewing-0.3.4.tar.bz2) = 1926898 Index: chinese/libchewing/files/patch-data_Makefile.in =================================================================== --- chinese/libchewing/files/patch-data_Makefile.in (revision 0) +++ chinese/libchewing/files/patch-data_Makefile.in (working copy) @@ -0,0 +1,11 @@ +--- data/Makefile.in.orig 2013-02-10 19:20:34.000000000 -0500 ++++ data/Makefile.in 2013-02-10 19:20:40.000000000 -0500 +@@ -261,7 +261,7 @@ + tsi.src \ + $(NULL) + +-chewing_datadir = $(pkglibdir) ++chewing_datadir = $(datadir)/chewing + chewing_data_DATA = \ + $(static_tables) \ + $(datas) \ Index: chinese/libchewing/files/patch-plat_path.c =================================================================== --- chinese/libchewing/files/patch-plat_path.c (revision 0) +++ chinese/libchewing/files/patch-plat_path.c (working copy) @@ -0,0 +1,15 @@ +--- src/porting_layer/src/plat_path.c.orig 2013-02-10 19:57:20.000000000 -0500 ++++ src/porting_layer/src/plat_path.c 2013-02-10 19:57:35.000000000 -0500 +@@ -37,10 +37,10 @@ + home = getenv( "HOME" ); + if ( home ) { + snprintf( path, path_len, "%s/.chewing" SEARCH_PATH_SEP +- LIBDIR "/libchewing", home ); ++ DATADIR "/chewing", home ); + } else { + // No HOME ? +- strncpy( path, SEARCH_PATH_SEP LIBDIR "/libchewing", path_len ); ++ strncpy( path, SEARCH_PATH_SEP DATADIR "/chewing", path_len ); + } + } + Index: chinese/libchewing/files/patch-src_porting_layer_Makefile.in =================================================================== --- chinese/libchewing/files/patch-src_porting_layer_Makefile.in (revision 0) +++ chinese/libchewing/files/patch-src_porting_layer_Makefile.in (working copy) @@ -0,0 +1,10 @@ +--- src/porting_layer/src/Makefile.in.orig 2013-02-10 19:59:20.000000000 -0500 ++++ src/porting_layer/src/Makefile.in 2013-02-10 19:59:33.000000000 -0500 +@@ -113,6 +113,7 @@ + AM_CFLAGS = @AM_CFLAGS@ + AM_CPPFLAGS = \ + -DLIBDIR=\"@libdir@\" \ ++ -DDATADIR=\"@datadir@\" \ + $(NULL) + + AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ >Release-Note: >Audit-Trail: >Unformatted: