SUBDIRS = icon po ukengine src setup
EXTRA_DIST = \
- config.rpath \
- README \
- scim-unikey.spec.in
+ config.rpath \
+ README \
+ scim-unikey.spec.in \
+ debian
rpm: dist @PACKAGE_NAME@.spec
rpmbuild -bb \
clean-rpm:
$(RM) -r "`uname -i`"
-clean-local: clean-rpm
+deb: distdir
+ cd $(distdir) && debuild --no-tgz-check
+
+clean-deb:
+ $(RM) -r @PACKAGE_NAME@_@PACKAGE_VERSION@*.{dsc,tar.gz,build,changes,deb}
+
+clean-local: clean-rpm clean-deb
+ $(RM) -r $(distdir)
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
-AC_INIT(scim-unikey, 0.3.0.r62, mr.lequoctuan@gmail.com)
+AC_INIT(scim-unikey, 0.3.0.r63, mr.lequoctuan@gmail.com)
cflags_set=${CFLAGS+set}
cppflags_set=${CPPFLAGS+set}
PKG_CHECK_MODULES(SCIM_GTKUTILS,[scim-gtkutils >= $SCIM_VERSION],
[SCIM_HAS_GTKUTILS=yes],
[SCIM_HAS_GTKUTILS=no])
+AC_SUBST(SCIM_GTKUTILS)
if test "$SCIM_HAS_GTKUTILS" = "yes"; then
SCIM_BUILD_SETUP=1
LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^_]].*"'
AC_SUBST(LIBTOOL_EXPORT_OPTIONS)
-# Extra args.
-AC_ARG_ENABLE(debug,
- [ --enable-debug Turn on debugging],
- [case "${enableval}" in
- yes) debug=yes ;;
- no) debug=no ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
- esac],[debug=no])
-
-if test "x$debug" = "xyes"; then
- test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
- test "$cppflags_set" = set || CPPFLAGS="$CXXFLAGS -g"
- SCIM_DEBUG_FLAGS="-DENABLE_DEBUG=1"
-else
- SCIM_DEBUG_FLAGS=""
-fi
-AC_SUBST(SCIM_DEBUG_FLAGS)
newprefix=`$PKG_CONFIG --variable=prefix scim`
if test "x$newprefix" != "x"; then
if test "x$SCIM_ICONDIR" = "x"; then
SCIM_ICONDIR=${datadir}/scim/icons
fi
+AC_SUBST(SCIM_ICONDIR)
if test "x$SCIM_MODULEDIR" = "x"; then
SCIM_MODULEDIR=${libdir}/scim-1.0
fi
-
-AC_SUBST(SCIM_ICONDIR)
AC_SUBST(SCIM_MODULEDIR)
AC_CONFIG_FILES([Makefile
scim-unikey.spec
+ debian/changelog
src/Makefile
ukengine/Makefile
icon/Makefile
--- /dev/null
+scim-unikey (@PACKAGE_VERSION@-1) unstable; urgency=low
+
+ * Release 0.3
+
+ -- Le Quoc Tuan <mr.lequoctuan@gmail.com> Sat, 20 Jun 2009 22:55:00 +0700
+
--- /dev/null
+Source: scim-unikey
+Section: utils
+Priority: extra
+Maintainer: Le Quoc Tuan <mr.lequoctuan@gmail.com>
+Build-Depends: debhelper (>= 6), autotools-dev, pkg-config, libscim-dev
+Standards-Version: 3.8.0
+Homepage: http://scim-unikey.googlecode.com/
+
+Package: scim-unikey
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, scim | skim
+Suggests: scim-m17n, ibus, ibus-unikey, ibus-m17n
+Description: Vietnamese Input Method Engine for SCIM using Unikey IME
+ SCIM (Smart Common Input Method) is an input method (IM) platform.
+ It use Unikey engine to process keyevent.
+ To enable:
+ .
+ Option 1: type Alt + F2 then run: im-switch -s scim-bridge
+ .
+ Option 2:
+ .
+ +Go to System->Administration->Language Support.
+ .
+ +Check "Enable support to enter complex character"
+ .
+ Logout to take effect.
+ .
+ Support via forum at: http://forum.ubuntu-vn.org/viewforum.php?f=85
+
--- /dev/null
+This package was debianized by Le Quoc Tuan <mr.lequoctuan@gmail.com> on
+Sat, 20 Jun 2009 22:58:00 +0700.
+
+It was downloaded from http://scim-unikey.googlecode.com
+
+Upstream Author(s):
+
+ Le Quoc Tuan <mr.lequoctuan>
+
+Copyright:
+
+ Le Quoc Tuan <mr.lequoctuan>
+
+License:
+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is copyright 2009, Le Quoc Tuan <mr.lequoctuan@gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
--- /dev/null
+NEWS
+README
--- /dev/null
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+ ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ #docbook-to-man debian/scim-unikey.sgml > scim-unikey.1
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ [ ! -f Makefile ] || $(MAKE) distclean
+ rm -f config.sub config.guess
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_installdirs
+
+ # Add here commands to install the package into debian/scim-unikey.
+ $(MAKE) DESTDIR=$(CURDIR)/debian/scim-unikey install
+ find debian/scim-unikey -name *.la -exec rm '{}' +
+
+binary-indep: install
+
+binary-arch: install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: scim-unikey 0.3.0.r61\n"
+"Project-Id-Version: scim-unikey 0.3.0.r63\n"
"Report-Msgid-Bugs-To: mr.lequoctuan@gmail.com\n"
-"POT-Creation-Date: 2009-08-22 13:09+0700\n"
+"POT-Creation-Date: 2009-08-23 22:42+0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgstr ""
"Project-Id-Version: scim-unikey\n"
"Report-Msgid-Bugs-To: mr.lequoctuan@gmail.com\n"
-"POT-Creation-Date: 2009-08-22 13:09+0700\n"
+"POT-Creation-Date: 2009-08-23 22:42+0700\n"
"PO-Revision-Date: \n"
"Last-Translator: Le Quoc Tuan <mr.lequoctuan@gmail.com>\n"
"Language-Team: Le Quoc Tuan <mr.lequoctuan@gmail.com>\n"
scim_setup_unikey_CXXFLAGS = \
@SCIM_GTKUTILS_CFLAGS@ \
- @SCIM_CFLAGS@ \
@GIO_CFLAGS@
scim_setup_unikey_LDFLAGS = \
@SCIM_GTKUTILS_LIBS@ \
- @SCIM_LIBS@ \
@GIO_LIBS@ \
$(top_builddir)/ukengine/libunikey-scim.la
utils.h
unikey_la_LIBADD = $(top_builddir)/ukengine/libunikey-scim.la
-unikey_la_CFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
-unikey_la_CXXFLAGS = @SCIM_CFLAGS@ @SCIM_DEBUG_FLAGS@
+unikey_la_CFLAGS = @SCIM_CFLAGS@
+unikey_la_CXXFLAGS = @SCIM_CFLAGS@
unikey_la_LDFLAGS = -avoid-version -rpath $(imenginedir) -module @LIBTOOL_EXPORT_OPTIONS@ @SCIM_LIBS@