From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 27 21:50:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B4101065676 for ; Tue, 27 Oct 2009 21:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2A83C8FC2C for ; Tue, 27 Oct 2009 21:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9RLo18Q089137 for ; Tue, 27 Oct 2009 21:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9RLo1Nq089136; Tue, 27 Oct 2009 21:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 27 Oct 2009 21:50:01 GMT Resent-Message-Id: <200910272150.n9RLo1Nq089136@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, Nikola Lecic Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E789D1065696 for ; Tue, 27 Oct 2009 21:48:01 +0000 (UTC) (envelope-from nikola.lecic@anthesphoria.net) Received: from anthesphoria.net (anthesphoria.net [200.46.204.219]) by mx1.freebsd.org (Postfix) with ESMTP id 6DB0C8FC25 for ; Tue, 27 Oct 2009 21:48:01 +0000 (UTC) Received: from anthesphoria.net (anthesphoria.net [200.46.204.219]) by anthesphoria.net (8.14.3/8.14.3) with ESMTP id n9RLm1HF068246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 27 Oct 2009 22:48:01 +0100 (CET) (envelope-from nl@anthesphoria.net) Received: (from nl@localhost) by anthesphoria.net (8.14.3/8.14.3/Submit) id n9RLm1p0068244; Tue, 27 Oct 2009 22:48:01 +0100 (CET) (envelope-from nl) Message-Id: <200910272148.n9RLm1p0068244@anthesphoria.net> Date: Tue, 27 Oct 2009 22:48:01 +0100 (CET) From: Nikola Lecic To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/140033: [Patch] textproc/scim-input-pad: Update to 0.1.2, unbreak startup, cleanup, take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nikola Lecic List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2009 21:50:02 -0000 >Number: 140033 >Category: ports >Synopsis: [Patch] textproc/scim-input-pad: Update to 0.1.2, unbreak startup, cleanup, take maintainership >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 27 21:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Nikola Lecic >Release: FreeBSD 8.0-RC1 i386 >Organization: >Environment: System: FreeBSD xxx 8.0-RC1 FreeBSD 8.0-RC1 #0: Fri Oct 16 09:08:57 CEST 2009 root@xxx:/usr/obj/usr/src/sys/GENERIC i386 >Description: This patch: * updates the port to 0.1.2; * unbreaks startup from the command-line/menu due to wrong SCIM_LIBEXECDIR; * simplifies Makefile (removes many unnecessary directives and patch); * adds documentation (README explains the syntax how to create custom tables); * adds DESKTOP_ENTRIES; * improves pkg-descr; * passes maintainership to the submitter. The patch leaves files/patch-src-Makefile.in (and eo ipso files/) empty. >How-To-Repeat: >Fix: --- scim-input-pad-0.1.2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/scim-input-pad/Makefile,v retrieving revision 1.22 diff -u -r1.22 Makefile --- Makefile 28 Aug 2009 17:37:14 -0000 1.22 +++ Makefile 27 Oct 2009 20:44:03 -0000 @@ -6,40 +6,51 @@ # PORTNAME= scim-input-pad -PORTVERSION= 0.1.1 -PORTREVISION= 7 +PORTVERSION= 0.1.2 CATEGORIES= textproc -MASTER_SITES= SF/scim/${PORTNAME}/${PORTVERSION} +MASTER_SITES= SF/scim/${PORTNAME}/${PORTVERSION} \ + http://anthesphoria.net/FreeBSD/ports/distfiles/ -MAINTAINER= ports@FreeBSD.org -COMMENT= SCIM add-on to input various symbols with on-screen pad +MAINTAINER= nikola.lecic@anthesphoria.net +COMMENT= SCIM add-on to input various symbols with customisable on-screen pad BUILD_DEPENDS= scim:${PORTSDIR}/textproc/scim RUN_DEPENDS= ${BUILD_DEPENDS} USE_LDCONFIG= yes -USE_AUTOTOOLS= libtool:22 USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \ LDFLAGS="-L${LOCALBASE}/lib" +DESKTOP_ENTRIES="SCIM Input Pad" \ + "${COMMENT}" \ + "${PREFIX}/share/scim/icons/input-pad.png" \ + "scim-input-pad" \ + "Utility;" \ + false + +DOCS= ChangeLog README + .if !defined(WITHOUT_NLS) USE_GETTEXT= yes -PLIST_SUB+= NLS="" USE_GNOME= intlhack -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif -.include +post-patch: + @${REINPLACE_CMD} -E 's|(SCIM_LIBEXECDIR=).*|\1${PREFIX}/lib/scim-1.0|' \ + ${WRKSRC}/configure post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif @${CAT} ${PKGMESSAGE} @${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\' -.include +.include Index: distinfo =================================================================== RCS file: /home/ncvs/ports/textproc/scim-input-pad/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 9 Feb 2006 04:06:35 -0000 1.3 +++ distinfo 27 Oct 2009 20:44:03 -0000 @@ -1,3 +1,3 @@ -MD5 (scim-input-pad-0.1.1.tar.gz) = 45fc98fadcfdb8351478a2bc8e37b24f -SHA256 (scim-input-pad-0.1.1.tar.gz) = f59cea4b42e7e95956415fdb53ae1874244b9b892b7939237654748e48a1669c -SIZE (scim-input-pad-0.1.1.tar.gz) = 562010 +MD5 (scim-input-pad-0.1.2.tar.gz) = 16d0b0373ec0d9c17d03e5605ad1a973 +SHA256 (scim-input-pad-0.1.2.tar.gz) = 852407f4a4b378e16ce193f5bebd72d96300b4e719c6a776378b1037c5823c25 +SIZE (scim-input-pad-0.1.2.tar.gz) = 584077 Index: pkg-descr =================================================================== RCS file: /home/ncvs/ports/textproc/scim-input-pad/pkg-descr,v retrieving revision 1.2 diff -u -r1.2 pkg-descr --- pkg-descr 17 Jul 2006 12:46:42 -0000 1.2 +++ pkg-descr 27 Oct 2009 20:44:03 -0000 @@ -1,5 +1,8 @@ -scim-input-pad is an on-screen input pad that can be used to input symbols -and key events very easily. It works with the SCIM input method platform. +SCIM Input-Pad is an on-screen input pad that can be used to input symbols +and key events very easily. It works with the SCIM input method platform and +comes with predefined files for common symbols, some special keyboard events +(such as dead keys and composing keys), Japanese Katakana and Hiragana +symbols, Chinese numbers and radicals, etc. Smart Common Input Method platform, in short SCIM, is a development platform to make Input Method developers live easier. It has very clear architecture and Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/textproc/scim-input-pad/pkg-plist,v retrieving revision 1.7 diff -u -r1.7 pkg-plist --- pkg-plist 31 Mar 2007 11:01:39 -0000 1.7 +++ pkg-plist 27 Oct 2009 20:58:51 -0000 @@ -6,6 +6,8 @@ lib/libscim-input-pad.la lib/libscim-input-pad.so lib/libscim-input-pad.so.0 +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README %%NLS%%share/locale/de/LC_MESSAGES/scim-input-pad.mo %%NLS%%share/locale/fr/LC_MESSAGES/scim-input-pad.mo %%NLS%%share/locale/it/LC_MESSAGES/scim-input-pad.mo @@ -18,4 +20,5 @@ share/scim/input-pad/chinese.pad share/scim/input-pad/japanese.pad share/scim/input-pad/keyboard.pad +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrmtry share/scim/input-pad Index: files/patch-src-Makefile.in =================================================================== RCS file: files/patch-src-Makefile.in diff -N files/patch-src-Makefile.in --- files/patch-src-Makefile.in 8 May 2005 22:59:07 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,10 +0,0 @@ ---- src/Makefile.in.orig Fri May 6 22:24:19 2005 -+++ src/Makefile.in Fri May 6 22:24:19 2005 -@@ -280,6 +280,7 @@ - -I$(top_srcdir) \ - -I$(top_srcdir)/intl \ - -I$(top_srcdir)/src \ -+ -I/usr/local/include \ - -DSCIM_ICONDIR=\"@SCIM_ICONDIR@\" \ - -DSCIM_INPUT_PAD_LOCALEDIR=\"$(datadir)/locale\" \ - -DSCIM_INPUT_PAD_DATADIR=\"@SCIM_INPUT_PAD_DATADIR@\" \ --- scim-input-pad-0.1.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: