Date: Fri, 2 Nov 2012 22:46:30 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306889 - in head/korean/scim-hangul: . files Message-ID: <201211022246.qA2MkUub018350@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Fri Nov 2 22:46:30 2012 New Revision: 306889 URL: http://svn.freebsd.org/changeset/ports/306889 Log: - Update to 0.4.0. - Fix dependencies and tweak pkg-message. - Trim makefile header, add license, and convert to optionsNG. Feature safe: yes Added: head/korean/scim-hangul/files/ head/korean/scim-hangul/files/patch-src__scim_hangul_imengine_setup.cpp (contents, props changed) Modified: head/korean/scim-hangul/Makefile head/korean/scim-hangul/distinfo head/korean/scim-hangul/pkg-message head/korean/scim-hangul/pkg-plist Modified: head/korean/scim-hangul/Makefile ============================================================================== --- head/korean/scim-hangul/Makefile Fri Nov 2 22:28:42 2012 (r306888) +++ head/korean/scim-hangul/Makefile Fri Nov 2 22:46:30 2012 (r306889) @@ -1,40 +1,35 @@ -# New ports collection makefile for: ko-scim-hangul -# Date created: 13 Oct 2005 -# Whom: CHOI Junho <cjh@FreeBSD.org> -# +# Created by: CHOI Junho <cjh@FreeBSD.org> # $FreeBSD$ -# PORTNAME= scim-hangul -PORTVERSION= 0.3.2 -PORTREVISION= 1 +PORTVERSION= 0.4.0 CATEGORIES= korean MASTER_SITES= SF/scim/${PORTNAME}/${PORTVERSION} MAINTAINER= jkim@FreeBSD.org COMMENT= SCIM IMEngine module for Korean(Hangul) input -BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim -LIB_DEPENDS= hangul.1:${PORTSDIR}/korean/libhangul -RUN_DEPENDS= scim:${PORTSDIR}/textproc/scim +LICENSE= GPLv2 + +LIB_DEPENDS= hangul:${PORTSDIR}/korean/libhangul \ + scim-1.0:${PORTSDIR}/textproc/scim -USE_ICONV= yes -USE_GMAKE= yes GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_PKGCONFIG= build -.if !defined(WITHOUT_NLS) +OPTIONS_DEFINE= NLS + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes -LDFLAGS+= -L${LOCALBASE}/lib -CPPFLAGS+= -I${LOCALBASE}/include PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif -post-patch: - @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure ${WRKSRC}/skim/configure - post-install: @${CAT} ${PKGMESSAGE} @${ECHO} Modified: head/korean/scim-hangul/distinfo ============================================================================== --- head/korean/scim-hangul/distinfo Fri Nov 2 22:28:42 2012 (r306888) +++ head/korean/scim-hangul/distinfo Fri Nov 2 22:46:30 2012 (r306889) @@ -1,2 +1,2 @@ -SHA256 (scim-hangul-0.3.2.tar.gz) = b7c67778f5dd8ec29b96c1477ef008e10fae436928975fc46fbeb7a546d4462b -SIZE (scim-hangul-0.3.2.tar.gz) = 1176577 +SHA256 (scim-hangul-0.4.0.tar.gz) = 7f116c87e78da51363fb4968d627364718de6ec02aa6c6119451fdf403e668c0 +SIZE (scim-hangul-0.4.0.tar.gz) = 456953 Added: head/korean/scim-hangul/files/patch-src__scim_hangul_imengine_setup.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/korean/scim-hangul/files/patch-src__scim_hangul_imengine_setup.cpp Fri Nov 2 22:46:30 2012 (r306889) @@ -0,0 +1,11 @@ +--- src/scim_hangul_imengine_setup.cpp.orig 2012-07-08 07:52:07.000000000 -0400 ++++ src/scim_hangul_imengine_setup.cpp 2012-11-02 14:13:14.000000000 -0400 +@@ -346,7 +346,7 @@ + for (i = 0; i < n; i++) { + const char* name = hangul_ic_get_keyboard_name(i); + #if GTK_CHECK_VERSION(2, 24, 0) +- gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(combo_box), NULL, name); ++ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(combo_box), name); + #else + gtk_combo_box_append_text(GTK_COMBO_BOX(combo_box), name); + #endif Modified: head/korean/scim-hangul/pkg-message ============================================================================== --- head/korean/scim-hangul/pkg-message Fri Nov 2 22:28:42 2012 (r306888) +++ head/korean/scim-hangul/pkg-message Fri Nov 2 22:46:30 2012 (r306889) @@ -1,8 +1,8 @@ -------------------------------------------------------------------- Remember to set environment variables XMODIFIERS and LANG: - csh/tcsh: setenv XMODIFIERS @im=SCIM ; setenv LANG ko_KR.eucKR - sh/bash: export XMODIFIERS='@im=SCIM'; export LANG=ko_KR.eucKR + csh/tcsh: setenv XMODIFIERS @im=SCIM ; setenv LANG ko_KR.UTF-8 + sh/bash: export XMODIFIERS='@im=SCIM'; export LANG=ko_KR.UTF-8 To start the SCIM input method daemon, use command: Modified: head/korean/scim-hangul/pkg-plist ============================================================================== --- head/korean/scim-hangul/pkg-plist Fri Nov 2 22:28:42 2012 (r306888) +++ head/korean/scim-hangul/pkg-plist Fri Nov 2 22:46:30 2012 (r306889) @@ -11,5 +11,7 @@ lib/scim-1.0/1.4.0/SetupUI/hangul-imengi %%NLS%%share/locale/zh_CN/LC_MESSAGES/scim-hangul.mo share/scim/hangul/symbol.txt share/scim/icons/scim-hangul.png +share/scim/icons/scim-hangul-off.png +share/scim/icons/scim-hangul-on.png @dirrm share/scim/hangul @dirrmtry share/scim/icons
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211022246.qA2MkUub018350>