ibus-client-clutter (0.0+git20090728.a936bacf-1) debian-dir only changes

Summary

 debian/changelog                        |    5 +++
 debian/compat                           |    1 
 debian/control                          |   20 +++++++++++++++
 debian/copyright                        |   32 ++++++++++++++++++++++++
 debian/dirs                             |    1 
 debian/docs                             |    2 +
 debian/patches/01_use_clutter_1.0.patch |   12 +++++++++
 debian/postinst                         |   21 ++++++++++++++++
 debian/postrm                           |   34 +++++++++++++++++++++++++
 debian/rules                            |   42 ++++++++++++++++++++++++++++++++
 10 files changed, 170 insertions(+)

    
download this patch

Patch contents

--- ibus-client-clutter-0.0+git20090728.a936bacf.orig/debian/docs
+++ ibus-client-clutter-0.0+git20090728.a936bacf/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
--- ibus-client-clutter-0.0+git20090728.a936bacf.orig/debian/postinst
+++ ibus-client-clutter-0.0+git20090728.a936bacf/debian/postinst
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+    configure)
+      clutter-scan-immodules > /etc/clutter-imcontext/clutter.immodules
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- ibus-client-clutter-0.0+git20090728.a936bacf.orig/debian/postrm
+++ ibus-client-clutter-0.0+git20090728.a936bacf/debian/postrm
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+set -e
+
+CONFFILE="/etc/clutter-imcontext/clutter.immodules"
+
+case "$1" in
+    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+      if [ -x /usr/bin/clutter-scan-immodules ]; then
+        clutter-scan-immodules > $CONFFILE
+      fi
+    ;;
+    
+    purge)
+      if [ -x /usr/bin/clutter-scan-immodules ]; then
+        clutter-scan-immodules > $CONFFILE
+      fi
+      if [ -e $CONFFILE ]; then
+      	CONFCOUNT=`grep -c -e '^[^#]' $CONFFILE || true`
+      	if [ "$CONFCOUNT" -le "0" ]; then
+      	  rm -f $CONFFILE
+      	fi
+      fi
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- ibus-client-clutter-0.0+git20090728.a936bacf.orig/debian/copyright
+++ ibus-client-clutter-0.0+git20090728.a936bacf/debian/copyright
@@ -0,0 +1,32 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59
+Name: ibus-client-clutter
+Source: http://git.moblin.org/cgit.cgi/ibus-client-clutter
+Maintainer: Huang Peng <shawn.p.huang@gmail.com>
+            Raymond Liu <raymond.liu@intel.com>
+
+Files: *
+Copyright: 2008-2009, Huang Peng <shawn.p.huang@gmail.com>
+           2009, Intel Corporation
+License: LGPL-2+
+
+Files: debian/*
+Copyright: 2009, Canonical, Ltd.
+License: LGPL-2+
+
+License: LGPL-2+
+ This library 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 library 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 library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+ On Debian systems the full text of the GNU Lesser General Public Licnse,
+ version 2, can be found in the /usr/share/common-licenses/LGPL-2 file.
--- ibus-client-clutter-0.0+git20090728.a936bacf.orig/debian/control
+++ ibus-client-clutter-0.0+git20090728.a936bacf/debian/control
@@ -0,0 +1,20 @@
+Source: ibus-client-clutter
+Section: utils
+Priority: optional
+Maintainer: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
+Build-Depends: cdbs, debhelper (>= 7),
+               autoconf, automake, libtool,
+               libibus-dev, libclutter-imcontext-0.1-dev
+Standards-Version: 3.8.3
+Homepage: http://moblin.org/projects/input-method-framework
+
+Package: ibus-clutter
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: ibus input method framework for clutter
+ IBus is an Intelligent Input Bus. It is a new input framework for Linux OS. It
+ provides full featured and user friendly input method user interface. It also
+ may help developers to develop input method easily.
+ .
+ ibus-clutter is the clutter client of ibus, it provides a clutter-immodule
+ for ibus.
--- ibus-client-clutter-0.0+git20090728.a936bacf.orig/debian/changelog
+++ ibus-client-clutter-0.0+git20090728.a936bacf/debian/changelog
@@ -0,0 +1,5 @@
+ibus-client-clutter (0.0+git20090728.a936bacf-1) unstable; urgency=low
+
+  * Initial release (Closes: #552587)
+
+ -- Ying-Chun Liu (PaulLiu) <paulliu@debian.org>  Tue, 27 Oct 2009 23:21:37 +0800
--- ibus-client-clutter-0.0+git20090728.a936bacf.orig/debian/compat
+++ ibus-client-clutter-0.0+git20090728.a936bacf/debian/compat
@@ -0,0 +1 @@
+7
--- ibus-client-clutter-0.0+git20090728.a936bacf.orig/debian/rules
+++ ibus-client-clutter-0.0+git20090728.a936bacf/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+
+DEB_SOURCE := $(shell dpkg-parsechangelog | grep Source: | sed -e 's/Source: //')
+DEB_VERSION := $(shell dpkg-parsechangelog | grep Version: | sed -e 's/Version: //')
+DEB_UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed -e 's/-[^-]*$$//')
+
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+# Optimise the linking and only depend on directly required libraries
+DEB_CONFIGURE_SCRIPT = $(CURDIR)/$(DEB_SRCDIR)/autogen.sh
+DEB_DH_MAKESHLIBS_ARGS_ibus-clutter := -Xim-ibus
+
+GIT_URL = git://git.moblin.org/ibus-client-clutter
+
+clean::
+	rm -f aclocal.m4
+	rm -rf autom4te.cache
+	rm -f config.h config.h.in 
+	rm -f config.log config.status config.sub config.guess
+	rm -f configure compile depcomp install-sh ltmain.sh missing stamp-h1
+	rm -f mkinstalldirs
+	rm -f libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 lt~obsolete.m4
+	rm -f gtk-doc.m4 intltool-*.in gtk-doc.make
+	rm -f Makefile.in src/Makefile.in
+
+get-orig-source::
+	set -e; if echo $(DEB_VERSION) | grep -c "git"; \
+	then \
+		git_version=`echo $(DEB_VERSION) | sed -e 's/^.*git\([0-9]*\)*\.\(.*\)-.*$$/\2/g'`; \
+	else \
+		git_version=$(DEB_UPSTREAM_VERSION); \
+	fi; \
+	tmpdir=`mktemp -d -t`; \
+	cd $$tmpdir; \
+	echo "checkout upstream repository ..."; \
+	git clone $(GIT_URL); echo "getting specific upstream revision/tag: $$git_version"; \
+	cd `ls | head -n 1`; git checkout -b orig $$git_version; cd ..; \
+	tar --exclude=.git -czvf $(CURDIR)/$(DEB_SOURCE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz `ls | head -n 1`; \
+	cd $(CURDIR); \
+	rm -rf $$tmpdir
--- ibus-client-clutter-0.0+git20090728.a936bacf.orig/debian/dirs
+++ ibus-client-clutter-0.0+git20090728.a936bacf/debian/dirs
@@ -0,0 +1 @@
+etc/clutter-imcontext
--- ibus-client-clutter-0.0+git20090728.a936bacf.orig/debian/patches/01_use_clutter_1.0.patch
+++ ibus-client-clutter-0.0+git20090728.a936bacf/debian/patches/01_use_clutter_1.0.patch
@@ -0,0 +1,12 @@
+diff -Nur -x '*.orig' -x '*~' ibus-client-clutter-0.0+git20090728.a936bacf/configure.ac ibus-client-clutter-0.0+git20090728.a936bacf.new/configure.ac
+--- ibus-client-clutter-0.0+git20090728.a936bacf/configure.ac	2009-10-27 23:42:43.000000000 +0800
++++ ibus-client-clutter-0.0+git20090728.a936bacf.new/configure.ac	2009-10-27 23:57:30.344567757 +0800
+@@ -29,7 +29,7 @@
+ AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
+ 
+ PKG_CHECK_MODULES(CLUTTER, glib-2.0
+-			clutter-0.9 >= 0.9.7
++			clutter-1.0 >= 0.9.7
+ 			clutter-imcontext-0.1)
+ 
+ CLUTTER_IMCONTEXT_LIBDIR=`$PKG_CONFIG --variable=libdir clutter-imcontext-0.1`