Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2014 22:12:42 +0100 (CET)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187011: [patch] textproc/scim-table-imengine: USES=libtool+remove SKIM s
Message-ID:  <201402242112.s1OLCgtO008588@kalimero.tijl.coosemans.org>
Resent-Message-ID: <201402242120.s1OLK1R6029732@freefall.freebsd.org>

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

>Number:         187011
>Category:       ports
>Synopsis:       [patch] textproc/scim-table-imengine: USES=libtool+remove SKIM s
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 24 21:20:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Tijl Coosemans
>Release:        FreeBSD 11.0-CURRENT i386
>Organization:
>Environment:
>Description:
- Convert USE_AUTOTOOLS=libtool to USES=libtool.
- Remove USE_GNOME=intlhack.  Does not do anything.
- Staging.
- Remove SKIM support.  It depends on KDE3.
- Touch config.h.in in post-patch so the makefile doesn't think it's
  outdated and runs autoheader and other autotools.
- Remove references to FreeBSD 4.x from pkg-message.
>How-To-Repeat:
>Fix:

--- scim-tables.patch begins here ---
Index: textproc/scim-table-imengine/Makefile
===================================================================
--- textproc/scim-table-imengine/Makefile	(revision 345788)
+++ textproc/scim-table-imengine/Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	scim-table-imengine
 PORTVERSION=	0.5.10
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc
 MASTER_SITES=	SF/scim/scim-tables/${PORTVERSION}
 DISTNAME=	scim-tables-${PORTVERSION}
@@ -14,51 +14,14 @@ COMMENT=	SCIM table based input method e
 BUILD_DEPENDS=	scim:${PORTSDIR}/textproc/scim
 RUN_DEPENDS=	scim:${PORTSDIR}/textproc/scim
 
-USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
-USE_GNOME=	intlhack
-USES=		gettext gmake pkgconfig
-
-MAN1=		scim-make-table.1
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+USES=		gettext gmake libtool pkgconfig
 
+CONFIGURE_ARGS=	--disable-skim-support
 CPPFLAGS+=	-I${LOCALBASE}/include -D__STDC_ISO_10646__
-
-CONFIGURE_ENV+=	PREFIX="${PREFIX}"
 LDFLAGS+=	-L${LOCALBASE}/lib -lintl
 
-PLIST_SUB=	SKIM="@comment "
-
-pre-fetch:
-	@${ECHO_MSG} Define WITH_SKIM to enable skim support
-
-.if exists(${LOCALBASE}/bin/skim)
-WITH_SKIM=	yes
-pre-patch:
-	@${ECHO_MSG} Skim is detected, support enabled.
-.endif
-
-.if defined(WITH_SKIM)
-BUILD_DEPENDS+=	skim:${PORTSDIR}/textproc/skim
-CONFIGURE_ENV+=	PTHREAD_LIBS="${PTHREAD_LIBS}"
-PLIST_SUB=	SKIM=""
-USE_AUTOTOOLS=	libtool
 post-patch:
-	@${REINPLACE_CMD} -e "/^DIST_SUBDIRS/s/$$/ skim/" \
-		-e "/^@SCIM_TABLES_ENABLE_SKIM_SUPPORT_TRUE@SKIM_SUBDIR =/s/$$/ skim/" \
-		${WRKSRC}/Makefile.in
-post-configure:
-	${REINPLACE_CMD} \
-		-e 's,$$(top_builddir)/libtool --silent,${LIBTOOL},' \
-		${WRKSRC}/skim/Makefile ${WRKSRC}/skim/setupui/Makefile
-.endif
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO}
-	@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
-	@${ECHO}
+	@${TOUCH} ${WRKSRC}/config.h.in
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: textproc/scim-table-imengine/pkg-message
===================================================================
--- textproc/scim-table-imengine/pkg-message	(revision 345788)
+++ textproc/scim-table-imengine/pkg-message	(working copy)
@@ -3,10 +3,6 @@ The installation of SCIM table-based im 
 port is only an engine for table-based input methods and does not contain any
 actual input methods.
 
-If you are using a 4.x system, please note there is no working scim-make-table
-command available in this port. Run `scim-make-table' command to get more
-information.
-
 The following ports can utilize this table-based imengine:
 
  Chinese:
Index: textproc/scim-table-imengine/pkg-plist
===================================================================
--- textproc/scim-table-imengine/pkg-plist	(revision 345788)
+++ textproc/scim-table-imengine/pkg-plist	(working copy)
@@ -5,6 +5,7 @@ lib/scim-1.0/1.4.0/IMEngine/table.so
 lib/scim-1.0/1.4.0/SetupUI/table-imengine-setup.a
 lib/scim-1.0/1.4.0/SetupUI/table-imengine-setup.la
 lib/scim-1.0/1.4.0/SetupUI/table-imengine-setup.so
+man/man1/scim-make-table.1.gz
 share/scim/icons/table.png
 share/locale/zh_CN/LC_MESSAGES/scim-tables.mo
 share/locale/zh_TW/LC_MESSAGES/scim-tables.mo
@@ -15,26 +16,3 @@ share/locale/fr/LC_MESSAGES/scim-tables.
 share/locale/it/LC_MESSAGES/scim-tables.mo
 share/locale/pa/LC_MESSAGES/scim-tables.mo
 share/locale/nl/LC_MESSAGES/scim-tables.mo
-%%SKIM%%@cwd %%LOCALBASE%%
-%%SKIM%%lib/kde3/kcm_skimplugin_scim_tables.a
-%%SKIM%%lib/kde3/kcm_skimplugin_scim_tables.la
-%%SKIM%%lib/kde3/kcm_skimplugin_scim_tables.so
-%%SKIM%%share/services/skimconfiguredialog/skimplugin_scim_table_config.desktop
-%%SKIM%%share/config.kcfg/generictable.kcfg
-%%SKIM%%share/locale/zh_CN/LC_MESSAGES/skim-scim-tables.mo
-%%SKIM%%share/locale/zh_TW/LC_MESSAGES/skim-scim-tables.mo
-%%SKIM%%share/locale/de/LC_MESSAGES/skim-scim-tables.mo
-%%SKIM%%share/locale/fr/LC_MESSAGES/skim-scim-tables.mo
-%%SKIM%%share/locale/ja/LC_MESSAGES/skim-scim-tables.mo
-%%SKIM%%share/locale/it/LC_MESSAGES/skim-scim-tables.mo
-%%SKIM%%share/locale/ko/LC_MESSAGES/skim-scim-tables.mo
-%%SKIM%%share/locale/pa/LC_MESSAGES/skim-scim-tables.mo
-%%SKIM%%share/locale/nl/LC_MESSAGES/skim-scim-tables.mo
-%%SKIM%%share/apps/skim/pics/scim-tables.png
-%%SKIM%%@dirrmtry share/apps/skim/pics
-%%SKIM%%@dirrmtry share/apps/skim
-%%SKIM%%@dirrmtry share/config.kcfg
-%%SKIM%%@dirrmtry share/services/skimconfiguredialog
-@dirrmtry lib/scim-1.0/1.4.0/SetupUI
-@dirrmtry lib/scim-1.0/1.4.0/IMEngine
-@dirrmtry lib/scim-1.0
--- scim-tables.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:
 upport+staging



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402242112.s1OLCgtO008588>