Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 2010 15:28:10 +0200 (CEST)
From:      Nikola Lecic <nikola.lecic@anthesphoria.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/147691: [Maintainer] textproc/scim-kmfl-imengine: Update to 0.9.9, *_DEPENDS, USE_* cleanup
Message-ID:  <201006081328.o58DSAr3010368@anthesphoria.net>
Resent-Message-ID: <201006081330.o58DU8Ya014274@freefall.freebsd.org>

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

>Number:         147691
>Category:       ports
>Synopsis:       [Maintainer] textproc/scim-kmfl-imengine: Update to 0.9.9, *_DEPENDS, USE_* cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 08 13:30:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Nikola Lecic
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
>Environment:

System: FreeBSD mordor.xx.bg.ac.rs 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Feb 26 10:23:40 UTC 2010 nikola@mordor.xx.bg.ac.rs:/usr/obj/usr/src/sys/GENERIC amd64

>Description:

Log:
(1) Update to 0.9.9; new in this version:
    - fix icon folder creation in scim_kmfl_imengine_setup;
    - add displaying keyman message store when displaying keyboard
      properties;
    - fix loading of icon file when keyboards are loaded by the engine.
(2) Be more precise regarding the dependencies:
    - simplify USE_GNOME (gtk20 implies intltool, intlhack implies
      intltool, glib20 implies pkgconfig);
    - more precise LIB_DEPENDS (incl. explicit USE_ICONV and explicit
      png.6, depends on textproc/kmflcomp for shared lib as well);
    - more precise USE_XORG (add xproto);
    - decouple BUILD_ and RUN_DEPENDS: kmflcomp executable is only
      needed when running the software;
    - portlint: leave unconditional USE_GETTEXT as is; there is no need
      to patch the source (--disable-nls does not have desired  effect)
      since this port directly uses textproc/scim which already uses
      gettext unconditionally.

>How-To-Repeat:
	
>Fix:

--- scim-kmfl-imengine-0.9.9.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/scim-kmfl-imengine/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	31 May 2010 02:01:18 -0000	1.13
+++ Makefile	8 Jun 2010 08:36:22 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	scim-kmfl-imengine
-PORTVERSION=	0.9.8
-PORTREVISION=	5
+PORTVERSION=	0.9.9
 CATEGORIES=	textproc
 MASTER_SITES=	SF/kmfl/kmfl/${PORTVERSION} \
 		http://anthesphoria.net/FreeBSD/ports/distfiles/
@@ -16,15 +15,20 @@
 MAINTAINER=	nikola.lecic@anthesphoria.net
 COMMENT=	SCIM KMFL IMEngine platform for Keyman (KMN) language keyboards
 
-BUILD_DEPENDS=	scim:${PORTSDIR}/textproc/scim \
-		kmflcomp:${PORTSDIR}/textproc/kmflcomp
-LIB_DEPENDS=	kmfl:${PORTSDIR}/textproc/libkmfl
-RUN_DEPENDS=	${BUILD_DEPENDS}
+BUILD_DEPENDS=	scim:${PORTSDIR}/textproc/scim
+LIB_DEPENDS=	fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
+		freetype.9:${PORTSDIR}/print/freetype2 \
+		kmfl.0:${PORTSDIR}/textproc/libkmfl \
+		kmflcomp.0:${PORTSDIR}/textproc/kmflcomp \
+		png.6:${PORTSDIR}/graphics/png
+RUN_DEPENDS=	kmflcomp:${PORTSDIR}/textproc/kmflcomp \
+		scim:${PORTSDIR}/textproc/scim
 
-USE_XORG=	x11 xkbfile
+USE_XORG=	x11 xkbfile xproto
 USE_AUTOTOOLS=	libtool:22
-USE_GNOME=	gtk20 intltool intlhack pkgconfig glib20
+USE_GNOME=	glib20 gtk20 intlhack
 USE_GETTEXT=	yes
+USE_ICONV=	yes
 USE_LDCONFIG=	yes
 CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
@@ -47,7 +51,7 @@
 post-patch:
 	@${REINPLACE_CMD} \
 		's|/usr/X11R6/lib|${LOCALBASE}/lib|' \
-	   	${WRKSRC}/src/Makefile.in ${WRKSRC}/src/xkbmap.cpp
+	   	${WRKSRC}/src/Makefile.* ${WRKSRC}/src/xkbmap.cpp
 	@${REINPLACE_CMD} \
 		's|/usr/lib|${LOCALBASE}/lib|' \
 		${WRKSRC}/scim_kmfl_imengine_setup/scim_kmfl_imengine_setup.cpp
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/textproc/scim-kmfl-imengine/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	3 Jul 2009 13:48:53 -0000	1.2
+++ distinfo	4 Jun 2010 10:03:44 -0000
@@ -1,3 +1,3 @@
-MD5 (kmfl/scim-kmfl-imengine-0.9.8.tar.gz) = 14bd9feb9bfffe01c6cfb6faf4a03ea4
-SHA256 (kmfl/scim-kmfl-imengine-0.9.8.tar.gz) = b112410e05a319cffb366f36d567448122c03ba1fc32a136e0aa0e17487f6441
-SIZE (kmfl/scim-kmfl-imengine-0.9.8.tar.gz) = 517659
+MD5 (kmfl/scim-kmfl-imengine-0.9.9.tar.gz) = 81acd6ed58e0d5f3f52cfa575afa47da
+SHA256 (kmfl/scim-kmfl-imengine-0.9.9.tar.gz) = 22e384b9add2f30e5cce13564cff72f45919be4ede529d4ba6483206e0a92a73
+SIZE (kmfl/scim-kmfl-imengine-0.9.9.tar.gz) = 513455
--- scim-kmfl-imengine-0.9.9.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?201006081328.o58DSAr3010368>