debian/0000755000000000000000000000000011765574306007204 5ustar debian/compat0000644000000000000000000000000211736342534010374 0ustar 9 debian/copyright0000644000000000000000000000630311736353453011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: clutter-gesture Upstream-Contact: Forrest Zhao Long Bu Weian Chen Source: http://gitorious.org/mx-toolkit/clutter-gesture Files: * Copyright: 2009 Intel Corp. License: LGPL-2.1+ Files: clutter-gesture/*.c clutter-gesture/*.h tests/test-events.c Copyright: 2009 Intel Corp. 2006 OpenedHand License: LGPL-2.1+ Files: engine/*.c engine/*.h Copyright: 2009 Intel Corp. License: LGPL-2+ Files: engine/stroke.* Copyright: 2009 Thomas Jaeger License: Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: debian/* Copyright: 2010 Ying-Chun Liu (PaulLiu) License: LGPL-2.1+ License: LGPL-2.1+ This program is free software; you can redistribute it and/or modify it under the terms and conditions of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This program is distributed in the hope 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 program; 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.1, can be found in the /usr/share/common-licenses/LGPL-2.1 file. License: LGPL-2+ This library is free software; you can redistribute it and/or modify it under the terms and conditions 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 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 program; 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. debian/control0000644000000000000000000000413511736356313010604 0ustar Source: clutter-gesture Section: libs Priority: optional Maintainer: Ying-Chun Liu (PaulLiu) Homepage: http://www.clutter-project.org/ Build-Depends: cdbs (>= 0.4.93~), debhelper (>= 9), automake, gtk-doc-tools, libclutter-1.0-dev, libtool, gcc (>= 4.6) Standards-Version: 3.9.3 Package: libcluttergesture-0.0.2-0 Section: libs Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: Open GL based interactive canvas library Gesture framework Clutter is an Open GL based interactive canvas library, designed for creating fast, mainly 2D single window applications such as media box UIs, presentations, kiosk style applications and so on. Gesture library allows clutter applications to be aware of gestures and to easily attach some handlers to gesture events. Package: libcluttergesture-dev Section: libdevel Architecture: any Depends: libcluttergesture-0.0.2-0 (= ${binary:Version}), libclutter-1.0-dev, pkg-config, ${shlibs:Depends}, ${misc:Depends} Description: Open GL based interactive canvas library Gesture framework (dev. files) Clutter is an Open GL based interactive canvas library, designed for creating fast, mainly 2D single window applications such as media box UIs, presentations, kiosk style applications and so on. Gesture library allows clutter applications to be aware of gestures and to easily attach some handlers to gesture events. . This package contains the development files. Package: libcluttergesture-0.0.2-0-dbg Architecture: any Section: debug Priority: extra Depends: libcluttergesture-0.0.2-0 (=${binary:Version}), ${misc:Depends} Description: Open GL based interactive canvas library Gesture framework (debug files) Clutter is an Open GL based interactive canvas library, designed for creating fast, mainly 2D single window applications such as media box UIs, presentations, kiosk style applications and so on. Gesture library allows clutter applications to be aware of gestures and to easily attach some handlers to gesture events. . This package contains the debug files. debian/patches/0000755000000000000000000000000011765573622010633 5ustar debian/patches/08_remove_deprecated_g_mutex_new.patch0000644000000000000000000000170511765553551020243 0ustar Description: g_mutex_new() is deprecated We have to use g_mutex_init() instead of g_mutex_new() Fix FTBFS on Ubuntu Author: Ying-Chun Liu (PaulLiu) Bug-Debian: http://bugs.debian.org/674106 Index: clutter-gesture-0.0.2.1/clutter-gesture/clutter-gesture.c =================================================================== --- clutter-gesture-0.0.2.1.orig/clutter-gesture/clutter-gesture.c 2012-06-12 12:32:52.000000000 +0800 +++ clutter-gesture-0.0.2.1/clutter-gesture/clutter-gesture.c 2012-06-12 13:31:12.590471628 +0800 @@ -85,6 +85,7 @@ static GMutex *lock = NULL; +static GMutex lock_s; static GSList *root_actors = NULL; static gboolean @@ -297,7 +298,8 @@ object_class->set_property = clutter_gesture_set_property; object_class->get_property = clutter_gesture_get_property; - lock = g_mutex_new(); + g_mutex_init(&lock_s); + lock = &lock_s; g_type_class_add_private (klass, sizeof (ClutterGesturePrivate)); debian/patches/06_make-forward-compatible-with-new-clutter.patch0000644000000000000000000000253111736342264022070 0ustar Subject: forward porting to clutter 1.10 Author: Sjoerd Simons Bug-Debian: http://bugs.debian.org/666749 Index: clutter-gesture-0.0.2.1/tests/test-events.c =================================================================== --- clutter-gesture-0.0.2.1.orig/tests/test-events.c 2012-04-02 23:20:03.299751855 +0800 +++ clutter-gesture-0.0.2.1/tests/test-events.c 2012-04-02 23:20:07.571671343 +0800 @@ -247,7 +247,7 @@ case CLUTTER_DELETE: // g_print ("[%s] DELETE", source); break; - case CLUTTER_NOTHING: + default: return FALSE; } Index: clutter-gesture-0.0.2.1/tests/test_engine.c =================================================================== --- clutter-gesture-0.0.2.1.orig/tests/test_engine.c 2012-04-02 23:20:03.299751855 +0800 +++ clutter-gesture-0.0.2.1/tests/test_engine.c 2012-04-02 23:20:07.571671343 +0800 @@ -74,7 +74,9 @@ else IsMotion = TRUE; - clutter_set_motion_events_enabled (IsMotion); + clutter_stage_set_motion_events_enabled ( + CLUTTER_STAGE (clutter_actor_get_stage (actor)), + IsMotion); g_print ("*** Per actor motion events %s ***\n", IsMotion ? "enabled" : "disabled"); @@ -208,7 +210,7 @@ case CLUTTER_DELETE: g_print ("[%s] DELETE", source); break; - case CLUTTER_NOTHING: + default: return FALSE; } debian/patches/series0000644000000000000000000000043511765545740012052 0ustar 01_fix_FTBFS_binutils-gold.patch 02_fix_FTBFS_gcc4.6.patch 03_fix_FTBFS_return_value_of_clutter_init.patch 04_glex_fix.patch 05_no-undefined-symbols.patch 06_make-forward-compatible-with-new-clutter.patch 07_remove_deprecated_g_thread_init.patch 08_remove_deprecated_g_mutex_new.patch debian/patches/02_fix_FTBFS_gcc4.6.patch0000644000000000000000000000164211765573621014735 0ustar Description: Fix FTBFS for gcc-4.6 Add -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter -Wno-error=deprecated-declarations for CFLAGS. Author: Ying-Chun Liu (PaulLiu) Bug-Debian: http://bugs.debian.org/625322 Last-Update: 2012-06-12 Index: clutter-gesture-0.0.2.1/configure.ac =================================================================== --- clutter-gesture-0.0.2.1.orig/configure.ac 2010-01-06 12:11:44.000000000 +0800 +++ clutter-gesture-0.0.2.1/configure.ac 2012-06-12 15:47:42.238404969 +0800 @@ -50,7 +50,7 @@ clutter-1.0 >= 1.0.0 gobject-2.0 glib-2.0) -CLUTTERGESTURE_CFLAGS="$CLUTTERGESTURE_CFLAGS -Wall -Werror -fPIC" +CLUTTERGESTURE_CFLAGS="$CLUTTERGESTURE_CFLAGS -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter -Wno-error=deprecated-declarations -fPIC" AC_SUBST(CLUTTERGESTURE_CFLAGS) AC_SUBST(CLUTTERGESTURE_LIBS) debian/patches/01_fix_FTBFS_binutils-gold.patch0000644000000000000000000000160111537663061016512 0ustar Description: Fix FTBFS for binutils-gold Add the missing -lengine to fix FTBFS. Author: Ying-Chun Liu (PaulLiu) Bug-Debian: http://bugs.debian.org/615701 Last-Update: 2011-03-15 Index: clutter-gesture-0.0.2.1/tests/Makefile.am =================================================================== --- clutter-gesture-0.0.2.1.orig/tests/Makefile.am 2011-03-15 20:17:41.772365741 +0800 +++ clutter-gesture-0.0.2.1/tests/Makefile.am 2011-03-15 21:14:21.952365914 +0800 @@ -29,7 +29,7 @@ test_engine_SOURCES = test_engine.c test_engine_CFLAGS = @CLUTTERGESTURE_CFLAGS@ -g3 -O0 -ggdb -DPKGDATADIR="\"$(pkgdatadir)\"" -test_engine_LDFLAGS = $(top_builddir)/clutter-gesture/libcluttergesture-@PACKAGE_VERSION@.la +test_engine_LDFLAGS = $(top_builddir)/clutter-gesture/libcluttergesture-@PACKAGE_VERSION@.la -L../engine/.libs -lengine CLEANFILES = *~ test-events, test_engine debian/patches/05_no-undefined-symbols.patch0000644000000000000000000000360711765572146016227 0ustar Description: Misc correctness link fixes to build successfully with -z defs * check for libm in configure.ac; needed for atan() and others * use $(CLUTTERGESTURE_CFLAGS) rather than @CLUTTERGESTURE_CFLAGS@ in engine/Makefile.am to allow build-time overrides * set LIBS to CLUTTERGESTURE_LIBS and LIBM in engine/Makefile.am to link with proper libs; fixes missing NEEDED entries on at least libengine * configure.ac: don't AC_SUBST() CLUTTERGESTURE_CFLAGS and _LIBS as PKG_CHECK_MODULES already does that Author: Loïc Minier Bug-Debian: http://bugs.debian.org/653397 Index: clutter-gesture-0.0.2.1/engine/Makefile.am =================================================================== --- clutter-gesture-0.0.2.1.orig/engine/Makefile.am 2012-06-12 15:46:35.000000000 +0800 +++ clutter-gesture-0.0.2.1/engine/Makefile.am 2012-06-12 15:48:03.361968080 +0800 @@ -23,9 +23,10 @@ libengine_la_SOURCES = engine.c engine.h plugin.h stroke.c stroke.h gesture_recog.c gesture_recog.h -AM_CFLAGS = @CLUTTERGESTURE_CFLAGS@ -DPKGDATADIR="\"$(pkgdatadir)\"" +AM_CFLAGS = $(CLUTTERGESTURE_CFLAGS) -DPKGDATADIR="\"$(pkgdatadir)\"" -INCLUDES = @CLUTTERGESTURE_CFLAGS@ +INCLUDES = $(CLUTTERGESTURE_CFLAGS) +LIBS = $(CLUTTERGESTURE_LIBS) $(LIBM) DISTCLEANFILES = $(MARSHALFILES) CLEANFILES = *~ engine *~stroke Index: clutter-gesture-0.0.2.1/configure.ac =================================================================== --- clutter-gesture-0.0.2.1.orig/configure.ac 2012-06-12 15:47:42.000000000 +0800 +++ clutter-gesture-0.0.2.1/configure.ac 2012-06-12 15:48:49.877006502 +0800 @@ -51,8 +51,8 @@ gobject-2.0 glib-2.0) CLUTTERGESTURE_CFLAGS="$CLUTTERGESTURE_CFLAGS -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter -Wno-error=deprecated-declarations -fPIC" -AC_SUBST(CLUTTERGESTURE_CFLAGS) -AC_SUBST(CLUTTERGESTURE_LIBS) + +AC_CHECK_LIBM #GTK_DOC_CHECK([1.9]) debian/patches/04_glex_fix.patch0000644000000000000000000000224611662123410013746 0ustar Description: Fix armel FTBFS Do not include explicitly, it conflicts with used on armel. Author: Jani Monoses Bug-Debian: http://bugs.debian.org/649167 Index: clutter-gesture-0.0.2.1/clutter-gesture/clutter-gesture.c =================================================================== --- clutter-gesture-0.0.2.1.orig/clutter-gesture/clutter-gesture.c 2010-01-06 12:11:44.000000000 +0800 +++ clutter-gesture-0.0.2.1/clutter-gesture/clutter-gesture.c 2011-11-20 15:04:21.270750419 +0800 @@ -29,7 +29,6 @@ #include #include #include -#include #include #include "clutter-gesture.h" Index: clutter-gesture-0.0.2.1/engine/engine.c =================================================================== --- clutter-gesture-0.0.2.1.orig/engine/engine.c 2010-01-06 12:11:44.000000000 +0800 +++ clutter-gesture-0.0.2.1/engine/engine.c 2011-11-20 15:04:31.242596102 +0800 @@ -26,7 +26,6 @@ #include #include #include -#include #include "engine.h" #include "../clutter-gesture/clutter-gesture.h" #include "stroke.h" debian/patches/07_remove_deprecated_g_thread_init.patch0000644000000000000000000000136111736342306020507 0ustar Description: g_thread_init() is deprecated Remove it to fix FTBFS Author: Ying-Chun Liu (PaulLiu) Index: clutter-gesture-0.0.2.1/clutter-gesture/clutter-gesture.c =================================================================== --- clutter-gesture-0.0.2.1.orig/clutter-gesture/clutter-gesture.c 2012-04-02 23:24:46.302416656 +0800 +++ clutter-gesture-0.0.2.1/clutter-gesture/clutter-gesture.c 2012-04-02 23:24:52.826293634 +0800 @@ -297,8 +297,6 @@ object_class->set_property = clutter_gesture_set_property; object_class->get_property = clutter_gesture_get_property; - if (!g_thread_supported ()) - g_thread_init(NULL); lock = g_mutex_new(); g_type_class_add_private (klass, sizeof (ClutterGesturePrivate)); debian/patches/03_fix_FTBFS_return_value_of_clutter_init.patch0000644000000000000000000000325611657514711021734 0ustar Description: Fix FTBFS for handling clutter_init() return value Proper handling return value of clutter_init() Author: Ying-Chun Liu (PaulLiu) Bug-Debian: http://bugs.debian.org/646445 Last-Update: 2011-11-12 Index: clutter-gesture-0.0.2.1/tests/test-events.c =================================================================== --- clutter-gesture-0.0.2.1.orig/tests/test-events.c 2010-01-06 12:11:44.000000000 +0800 +++ clutter-gesture-0.0.2.1/tests/test-events.c 2011-11-13 00:01:11.739835870 +0800 @@ -272,12 +272,16 @@ /* ycol = { 0xff, 0xff, 0, 0xff }; */ /*ncol = { 0, 0, 0, 0xff }; */ ClutterGesture *gesture = NULL; + ClutterInitError clutter_err; g_type_init(); clutter_x11_enable_xinput(); - clutter_init (&argc, &argv); + clutter_err = clutter_init (&argc, &argv); + if (clutter_err != CLUTTER_INIT_SUCCESS) { + g_error ("clutter_init() error\n"); + } // clutter_set_motion_events_frequency(120); Index: clutter-gesture-0.0.2.1/tests/test_engine.c =================================================================== --- clutter-gesture-0.0.2.1.orig/tests/test_engine.c 2010-01-06 12:11:44.000000000 +0800 +++ clutter-gesture-0.0.2.1/tests/test_engine.c 2011-11-13 00:07:32.133794928 +0800 @@ -242,10 +242,12 @@ ycol = { 0xff, 0xff, 0, 0xff }, ncol = { 0, 0, 0, 0xff }; ClutterGesture *gesture = NULL; + ClutterInitError clutter_err; - clutter_init (&argc, &argv); - - + clutter_err = clutter_init (&argc, &argv); + if (clutter_err != CLUTTER_INIT_SUCCESS) { + g_error ("clutter_init() error\n"); + } stage = clutter_stage_get_default (); g_signal_connect (stage, "event", G_CALLBACK (input_cb), "stage"); debian/source/0000755000000000000000000000000011537642735010503 5ustar debian/source/format0000644000000000000000000000001411537642735011711 0ustar 3.0 (quilt) debian/clean0000644000000000000000000000030311537642700010174 0ustar Makefile.in aclocal.m4 clutter-gesture/Makefile.in config.h.in configure engine/Makefile.in tests/Makefile.in config.guess compile COPYING ltmain.sh missing install-sh INSTALL config.sub depcomp debian/changelog0000644000000000000000000000447711765573727011100 0ustar clutter-gesture (0.0.2.1-7) unstable; urgency=low * Add 08_remove_deprecated_g_mutex_new.patch (Closes: #674106) * 02_fix_FTBFS_gcc4.6.patch: Add -Wno-error=deprecated-declarations -- Ying-Chun Liu (PaulLiu) Tue, 12 Jun 2012 15:59:47 +0800 clutter-gesture (0.0.2.1-6) unstable; urgency=low * Bump Standards-Version to 3.9.3: Nothing needs to be changed. * Multi-Arch support - Bump debhelper compat to 9 * Add 05_no-undefined-symbols.patch: Misc correctness link fixes to build successfully with -z defs (Closes: #653397) * Add 06_make-forward-compatible-with-new-clutter.patch: forward port to clutter 1.10 (Closes: #666749) * Update Homepage field to clutter project. * Remove debian/watch: old moblin site -- Ying-Chun Liu (PaulLiu) Tue, 03 Apr 2012 02:45:55 +0800 clutter-gesture (0.0.2.1-5) unstable; urgency=low * debian/patches/04_glex_fix.patch: Fix armel FTBFS (Closes: #649167) * Add Build-Depends for gcc >= 4.6 (Closes: #642246) -- Ying-Chun Liu (PaulLiu) Sun, 20 Nov 2011 15:13:39 +0800 clutter-gesture (0.0.2.1-4) unstable; urgency=low * debian/patches/03_fix_FTBFS_return_value_of_clutter_init.patch: - Fix FTBFS due to not properly handle return value of clutter_init() (Closes: #646445) * debian/copyright: Fix copyright format -- Ying-Chun Liu (PaulLiu) Sun, 13 Nov 2011 00:03:56 +0800 clutter-gesture (0.0.2.1-3) unstable; urgency=low * debian/copyright: Fix copyright format * debian/patches/02_fix_FTBFS_gcc4.6.patch: Fix FTBFS for gcc-4.6 (Closes: #625322) * Bump Standards-Version to 3.9.2: Nothing needs to be changed. -- Ying-Chun Liu (PaulLiu) Mon, 18 Jul 2011 08:59:08 +0800 clutter-gesture (0.0.2.1-2) unstable; urgency=low * debian/patches/01_fix_FTBFS_binutils-gold.patch: Fix FTBFS (Closes: #615701) * Update debian/copyright to DEP-5 rev 173 * Use DebSrc 3.0 format * Bump Standards-Version to 3.9.1: Nothing needs to be changed. * Add debian/watch to track upstream version. -- Ying-Chun Liu (PaulLiu) Tue, 15 Mar 2011 20:25:05 +0800 clutter-gesture (0.0.2.1-1) unstable; urgency=low * Initial Release. (Closes: #568391) -- Ying-Chun Liu (PaulLiu) Sat, 06 Feb 2010 12:09:06 +0800 debian/libcluttergesture-0.0.2-0.install0000644000000000000000000000002411736342640015120 0ustar usr/lib/*/lib*.so.* debian/rules0000755000000000000000000000057511736342521010261 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/utils.mk DEB_CONFIGURE_SCRIPT := $(CURDIR)/$(DEB_SRCDIR)/autogen.sh DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) DEB_MAKE_CLEAN_TARGET := distclean common-binary-predeb-arch:: list-missing debian/libcluttergesture-dev.install0000644000000000000000000000013211736342672015111 0ustar usr/include/ usr/lib/*/lib*.so usr/lib/*/pkgconfig/ config.h usr/include/clutter-gesture/