From owner-svn-ports-head@FreeBSD.ORG Thu Jun 27 01:47:20 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 06B69830; Thu, 27 Jun 2013 01:47:20 +0000 (UTC) (envelope-from clsung@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id ECA081C14; Thu, 27 Jun 2013 01:47:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5R1lJ1L045365; Thu, 27 Jun 2013 01:47:19 GMT (envelope-from clsung@svn.freebsd.org) Received: (from clsung@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5R1lJ9n045359; Thu, 27 Jun 2013 01:47:19 GMT (envelope-from clsung@svn.freebsd.org) Message-Id: <201306270147.r5R1lJ9n045359@svn.freebsd.org> From: Cheng-Lung Sung Date: Thu, 27 Jun 2013 01:47:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321829 - in head/chinese/libchewing: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2013 01:47:20 -0000 Author: clsung Date: Thu Jun 27 01:47:18 2013 New Revision: 321829 URL: http://svnweb.freebsd.org/changeset/ports/321829 Log: 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) PR: ports/176021 Submitted by: Henry Hu Added: head/chinese/libchewing/files/ head/chinese/libchewing/files/patch-data_Makefile.in (contents, props changed) head/chinese/libchewing/files/patch-plat_path.c (contents, props changed) head/chinese/libchewing/files/patch-src_porting_layer_Makefile.in (contents, props changed) Modified: head/chinese/libchewing/Makefile head/chinese/libchewing/distinfo Modified: head/chinese/libchewing/Makefile ============================================================================== --- head/chinese/libchewing/Makefile Thu Jun 27 01:05:57 2013 (r321828) +++ head/chinese/libchewing/Makefile Thu Jun 27 01:47:18 2013 (r321829) @@ -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 Modified: head/chinese/libchewing/distinfo ============================================================================== --- head/chinese/libchewing/distinfo Thu Jun 27 01:05:57 2013 (r321828) +++ head/chinese/libchewing/distinfo Thu Jun 27 01:47:18 2013 (r321829) @@ -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 Added: head/chinese/libchewing/files/patch-data_Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/libchewing/files/patch-data_Makefile.in Thu Jun 27 01:47:18 2013 (r321829) @@ -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) \ Added: head/chinese/libchewing/files/patch-plat_path.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/libchewing/files/patch-plat_path.c Thu Jun 27 01:47:18 2013 (r321829) @@ -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 ); + } + } + Added: head/chinese/libchewing/files/patch-src_porting_layer_Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/chinese/libchewing/files/patch-src_porting_layer_Makefile.in Thu Jun 27 01:47:18 2013 (r321829) @@ -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@