Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 02:25:57 +0200 (CEST)
From:      Roman Neuhauser <neuhauser@zoom-int.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/64915: [NEW PATCH] vietnamese/x-unikey
Message-ID:  <20040330002557.248192FDA01@isis.wad.cz>
Resent-Message-ID: <200403300130.i2U1UJJk032735@freefall.freebsd.org>

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

>Number:         64915
>Category:       ports
>Synopsis:       [NEW PATCH] vietnamese/x-unikey
>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 Mar 29 17:30:19 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Roman Neuhauser
>Release:        FreeBSD 4.9-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD isis.wad.cz 4.9-RELEASE-p2 FreeBSD 4.9-RELEASE-p2 #3: Sun Mar 7 02:11:16 CET 2004 root@isis.wad.cz:/usr/obj/usr/src/sys/FREEPUPPY2_6 i386
>Description:
	This is a port of X-Unikey, which is something that should allow users
    type Vietnamese in X. This needs review and testing, as I barely know
    what XIM is, and Vietnamese is all Greek to me. :)
    (Port requested on ports@:
    http://marc.theaimsgroup.com/?l=freebsd-ports&m=108048614010725)
>How-To-Repeat:
	see the attached shar
>Fix:

	

--- vietnamese::x-unikey.patch begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	vietnamese/x-unikey
#	vietnamese/x-unikey/Makefile
#	vietnamese/x-unikey/pkg-descr
#	vietnamese/x-unikey/files
#	vietnamese/x-unikey/files/patch-src::unikey-gtk::Makefile.am
#	vietnamese/x-unikey/files/patch-src::unikey-gtk::Makefile.in
#	vietnamese/x-unikey/pkg-plist
#	vietnamese/x-unikey/distinfo
#
echo c - vietnamese/x-unikey
mkdir -p vietnamese/x-unikey > /dev/null 2>&1
echo x - vietnamese/x-unikey/Makefile
sed 's/^X//' >vietnamese/x-unikey/Makefile << 'END-of-vietnamese/x-unikey/Makefile'
X# ex:ts=8
X# Ports collection makefile for:    unikey
X# Date created:         Tue Mar 30, 2004
X# Whom:                 Roman Neuhauser (neuhauser@zoom-int.cz)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	x-unikey
XPORTVERSION=	0.9.1c
XCATEGORIES=	vietnamese
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME:S/^x-//}
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	Lets you type Vietnamese in X Window environment
X
XUSE_BZIP2=	yes
XUSE_X_PREFIX=	yes
XUSE_LIBTOOL=	yes
X
XGNU_CONFIGURE=	yes
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
X.if defined(WITH_UNIKEY_GTK)
XCONFIGURE_ARGS+=	--with-unikey-gtk
XUSE_GNOME=	gtk20
XPLIST_SUB+=	UNIKEYGTK=""
X.else
XPLIST_SUB+=	UNIKEYGTK="@comment "
X.endif
X
X.include <bsd.port.mk>
END-of-vietnamese/x-unikey/Makefile
echo x - vietnamese/x-unikey/pkg-descr
sed 's/^X//' >vietnamese/x-unikey/pkg-descr << 'END-of-vietnamese/x-unikey/pkg-descr'
XX-Unikey is Unikey ported to Linux and FreeBSD. X-Unikey lets you type
XVietnamese in X Window environment. It has been tested with many popular
Xprograms, such as OpenOffice, emacs, vim, QT applications, GTK applications...
XX-Unikey has all the features of the Windows version, except that its GUI is
Xstill too simplified. All options are set through configuration file or
Xkeyboard shortcuts.
X
XWWW: http://unikey.sourceforge.net/
END-of-vietnamese/x-unikey/pkg-descr
echo c - vietnamese/x-unikey/files
mkdir -p vietnamese/x-unikey/files > /dev/null 2>&1
echo x - vietnamese/x-unikey/files/patch-src::unikey-gtk::Makefile.am
sed 's/^X//' >vietnamese/x-unikey/files/patch-src::unikey-gtk::Makefile.am << 'END-of-vietnamese/x-unikey/files/patch-src::unikey-gtk::Makefile.am'
X--- src/unikey-gtk/Makefile.am.orig	Tue Mar 30 01:51:08 2004
X+++ src/unikey-gtk/Makefile.am	Tue Mar 30 01:51:14 2004
X@@ -32,15 +32,15 @@
X im_vn_la_LIBADD = @GTK_LIBS@ ../ukengine/libUnikey.la ../vnconv/libvnconv.la
X 
X install-data-hook:
X-	gtk-query-immodules-2.0 \
X-	> @gtk_sysconfdir@/gtk.immodules
X+#	gtk-query-immodules-2.0 \
X+#	> @gtk_sysconfdir@/gtk.immodules
X ##	$(moduledir)/im-vn.la \
X ##	@GTK_PREFIX@/lib/gtk-2.0/@GTK_VERSION@/immodules/*.la \
X 
X 
X uninstall-hook:
X-	gtk-query-immodules-2.0 > \
X-	@gtk_sysconfdir@/gtk.immodules
X+#	gtk-query-immodules-2.0 > \
X+#	@gtk_sysconfdir@/gtk.immodules
X ##	@GTK_PREFIX@/lib/gtk-2.0/@GTK_VERSION@/immodules/*.la \
X 
X 
END-of-vietnamese/x-unikey/files/patch-src::unikey-gtk::Makefile.am
echo x - vietnamese/x-unikey/files/patch-src::unikey-gtk::Makefile.in
sed 's/^X//' >vietnamese/x-unikey/files/patch-src::unikey-gtk::Makefile.in << 'END-of-vietnamese/x-unikey/files/patch-src::unikey-gtk::Makefile.in'
X--- src/unikey-gtk/Makefile.in.orig	Tue Mar 30 01:51:56 2004
X+++ src/unikey-gtk/Makefile.in	Tue Mar 30 01:52:07 2004
X@@ -679,12 +679,12 @@
X 
X 
X install-data-hook:
X-	gtk-query-immodules-2.0 \
X-	> @gtk_sysconfdir@/gtk.immodules
X+#	gtk-query-immodules-2.0 \
X+#	> @gtk_sysconfdir@/gtk.immodules
X 
X uninstall-hook:
X-	gtk-query-immodules-2.0 > \
X-	@gtk_sysconfdir@/gtk.immodules
X+#	gtk-query-immodules-2.0 > \
X+#	@gtk_sysconfdir@/gtk.immodules
X # Tell versions [3.59,3.63) of GNU make to not export all variables.
X # Otherwise a system limit (for SysV at least) may be exceeded.
X .NOEXPORT:
END-of-vietnamese/x-unikey/files/patch-src::unikey-gtk::Makefile.in
echo x - vietnamese/x-unikey/pkg-plist
sed 's/^X//' >vietnamese/x-unikey/pkg-plist << 'END-of-vietnamese/x-unikey/pkg-plist'
Xbin/ukxim
Xbin/unikey
X%%UNIKEYGTK%%lib/gtk-2.0/2.2.0/immodules/im-vn.a
X%%UNIKEYGTK%%lib/gtk-2.0/2.2.0/immodules/im-vn.la
X%%UNIKEYGTK%%lib/gtk-2.0/2.2.0/immodules/im-vn.so
END-of-vietnamese/x-unikey/pkg-plist
echo x - vietnamese/x-unikey/distinfo
sed 's/^X//' >vietnamese/x-unikey/distinfo << 'END-of-vietnamese/x-unikey/distinfo'
XMD5 (x-unikey-0.9.1c.tar.bz2) = 346ce51ea61dd74573960d255f71dba5
XSIZE (x-unikey-0.9.1c.tar.bz2) = 345092
END-of-vietnamese/x-unikey/distinfo
exit
--- vietnamese::x-unikey.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?20040330002557.248192FDA01>