--- nbtk-1.1.4.orig/debian/libnbtk-doc.install +++ nbtk-1.1.4/debian/libnbtk-doc.install @@ -0,0 +1 @@ +usr/share/gtk-doc/html/nbtk/* usr/share/doc/libnbtk-doc/html --- nbtk-1.1.4.orig/debian/copyright +++ nbtk-1.1.4/debian/copyright @@ -0,0 +1,76 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59 +Name: nbtk +Maintainer: Thomas Wood + Anas Nashif + Damien Lespiau + Rusty Lynch + Joshua Lock +Source: http://moblin.org/projects/netbook-toolkit-nbtk + +Files: * +Copyright: 2009, Intel Corporation. +License: LGPL-2.1 + +Files: build/autotools/introspection.m4 +Copyright: 2009, Johan Dahlin +License: + This file is free software; the author(s) gives unlimited + permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + +Files: git.mk +Copyright: 2009, Red Hat, Inc. +License: + Copying and distribution of this file, with or without modification, + are permitted in any medium without royalty provided the copyright + notice and this notice are preserved. + +Files: nbtk/nbtk-adjustment.[ch], nbtk/nbtk-viewport.[ch] +Copyright: 2008, OpenedHandoration. + 2009, Intel Corporation. +License: LGPL-2.1 + +Files: nbtk/nbtk-button.[ch], nbtk/nbtk-widget.[ch] +Copyright: 2007, OpenedHandl Corporation. + 2008-2009, Intel Corporation. +License: LGPL-2.1 + +Files: nbtk/nbtk-gtk.h, nbtk/nbtk-private.h, nbtk/nbtk-subtexture.c, nbtk/nbtk-texture-cache.[ch], nbtk/nbtk-texture-frame.c +Copyright: 2007, OpenedHand + 2009, Intel Corporation. +License: LGPL-2.1 + +Files: nbtk/nbtk-scroll-bar.[ch], nbtk/nbtk-scroll-view.[ch], nbtk/nbtk-scrollable.[ch] +Copyright: 2008, OpenedHand + 2009, Intel Corporation. +License: LGPL-2.1 + +Files: nbtk/nbtk-stylable.[ch] +Copyright: 2008-2009, Intel Corporation +License: LGPL-2.1 + +Files: nbtk/nbtk-subtexture.h, nbtk/nbtk-texture-frame.h +Copyright: 2007-2008, OpenedHand Ltd + 2009, Intel Corporation. +License: LGPL-2.1 + +Files: debian/* +Copyright: 2009, Canonical, Ltd. +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, + version 2.1, as published by the Free Software Foundation. + + 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. --- nbtk-1.1.4.orig/debian/libnbtk-doc.links +++ nbtk-1.1.4/debian/libnbtk-doc.links @@ -0,0 +1 @@ +usr/share/doc/libnbtk-doc/html usr/share/gtk-doc/html/nbtk --- nbtk-1.1.4.orig/debian/control +++ nbtk-1.1.4/debian/control @@ -0,0 +1,61 @@ +Source: nbtk +Section: libs +Priority: optional +Maintainer: Ying-Chun Liu (PaulLiu) +Build-Depends: debhelper (>= 7), autotools-dev, cdbs, gtk-doc-tools, + libclutter-1.0-dev, libclutter-imcontext-0.1-dev, + libccss-dev (>= 0.5.0), autoconf, automake, libtool, intltool, + docbook-to-man +Standards-Version: 3.8.3 +Homepage: http://moblin.org/projects/netbook-toolkit-nbtk + +Package: libnbtk-1.2-0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: libnbtk-1.0-0 +Replaces: libnbtk-1.0-0 +Description: toolkit for the Moblin-netbook implementation + The Netbook Toolkit is a GUI toolkit library, using Clutter and is optimized + for the Moblin netbook experience. It consists of various classes useful for + building UIs such as Buttons, Tooltips, Scrollbars and others. It also + supports styling through CSS stylesheets. + +Package: libnbtk-dev +Section: libdevel +Architecture: any +Depends: libnbtk-1.2-0 (= ${binary:Version}), autotools-dev, libclutter-1.0-dev, libclutter-imcontext-0.1-dev, libccss-dev, ${misc:Depends} +Suggests: libnbtk-doc +Description: toolkit for the Moblin-netbook implementation (development files) + The Netbook Toolkit is a GUI toolkit library, using Clutter and is optimized + for the Moblin netbook experience. It consists of various classes useful for + building UIs such as Buttons, Tooltips, Scrollbars and others. It also + supports styling through CSS stylesheets. + . + This package contains the development files. + +Package: libnbtk-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: devhelp +Description: toolkit for the Moblin-netbook implementation (documentation) + The Netbook Toolkit is a GUI toolkit library, using Clutter and is optimized + for the Moblin netbook experience. It consists of various classes useful for + building UIs such as Buttons, Tooltips, Scrollbars and others. It also + supports styling through CSS stylesheets. + . + This package contains the documentation. + +Package: libnbtk-1.2-0-dbg +Architecture: any +Section: debug +Priority: extra +Depends: libnbtk-1.2-0 (=${binary:Version}), ${misc:Depends} +Description: toolkit for the Moblin-netbook implementation (debug symbols) + The Netbook Toolkit is a GUI toolkit library, using Clutter and is optimized + for the Moblin netbook experience. It consists of various classes useful for + building UIs such as Buttons, Tooltips, Scrollbars and others. It also + supports styling through CSS stylesheets. + . + This package contains the debug symbols --- nbtk-1.1.4.orig/debian/libnbtk-1.2-0.manpages +++ nbtk-1.1.4/debian/libnbtk-1.2-0.manpages @@ -0,0 +1 @@ +nbtk-create-image-cache.1 --- nbtk-1.1.4.orig/debian/changelog +++ nbtk-1.1.4/debian/changelog @@ -0,0 +1,45 @@ +nbtk (1.1.4-1) unstable; urgency=low + + * New upstream release + * Soname bumps: + - debian/control: libnbtk-1.0-0 -> libnbtk-1.2-0 + - debian/control: Add Conflicts and Replaces to old binary package + - debian/rules: Change libnbtk-1.0-0 to libnbtk-1.2-0 in some rules + - rename libnbtk-1.0-0.install to libnbtk-1.2-0.install + - rename libnbtk-1.0-0.manpages to libnbtk-1.2-0.manpages + * libnbtk-doc: install files into /usr/share/doc/libnbtk-doc and link it + back to gtk-doc + + -- Ying-Chun Liu (PaulLiu) Tue, 22 Sep 2009 22:46:18 +0800 + +nbtk (1.1.2-3) unstable; urgency=low + + * debian/patches/01_use_ccss0.5.0.patch: keep old API compatibility + * Add debian/watch + + -- Ying-Chun Liu (PaulLiu) Tue, 22 Sep 2009 14:14:20 +0800 + +nbtk (1.1.2-2) unstable; urgency=low + + * debian/patches/01_use_ccss0.5.0.patch: patch nbtk.pc.in to use ccss-0.5.0 + + -- Ying-Chun Liu (PaulLiu) Tue, 15 Sep 2009 23:49:17 +0800 + +nbtk (1.1.2-1) unstable; urgency=low + + * Chris Cheney + - New upstream: nbtk-1.0.0-2.1.moblin2.src.rpm + - New upstream release (Moblin Beta): 0.14.2 + - New upstream release (Moblin Beta): 0.13.0 + * Michael Terry + - New upstream release (Moblin Beta): 0.7.4 + * Paul Larson + - debian/control: Added depends to libnbtk-dev + - Initial import from moblin2: 0.2.3 + * Ying-Chun Liu (PaulLiu) + - New upstream release (Closes: #546571) + - debian/copyright: Use machine-readable format + - debian/rules: Use autogen.sh and add proper clean rules + - debian/patches/01_use_ccss0.5.0.patch: Build against libccss-0.5.0 + + -- Ying-Chun Liu (PaulLiu) Tue, 15 Sep 2009 09:36:43 +0800 --- nbtk-1.1.4.orig/debian/libnbtk-1.2-0.install +++ nbtk-1.1.4/debian/libnbtk-1.2-0.install @@ -0,0 +1,4 @@ +usr/bin/nbtk-create-image-cache +usr/lib/*.so.* +usr/share/locale/ +usr/share/nbtk/style/ --- nbtk-1.1.4.orig/debian/libnbtk-dev.install +++ nbtk-1.1.4/debian/libnbtk-dev.install @@ -0,0 +1,4 @@ +usr/include/ +usr/lib/*.la +usr/lib/*.so +usr/lib/pkgconfig/ --- nbtk-1.1.4.orig/debian/compat +++ nbtk-1.1.4/debian/compat @@ -0,0 +1 @@ +7 --- nbtk-1.1.4.orig/debian/nbtk-create-image-cache.sgml +++ nbtk-1.1.4/debian/nbtk-create-image-cache.sgml @@ -0,0 +1,118 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + Ying-Chun"> + Liu"> + + September 5, 2009"> + + 1"> + paulliu@debian.org"> + + NBTK"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2009 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + program to make a cache of a directory + + + + + &dhpackage; + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhpackage; is a prgram to make a cache for + a directory which contains images. It will create a cached image inside + /var/cache/nbtk for all the images inside that directory and + its sub-directories. + + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (and may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; Lesser General Public License, + version 2.1 or any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in /usr/share/common-licenses/LGPL-2.1. + + + +
+ + --- nbtk-1.1.4.orig/debian/watch +++ nbtk-1.1.4/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://git.moblin.org/cgit.cgi/nbtk/ \ + snapshot/nbtk-([\d\.]*).tar.gz --- nbtk-1.1.4.orig/debian/rules +++ nbtk-1.1.4/debian/rules @@ -0,0 +1,41 @@ +#!/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 +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_CONFIGURE_SCRIPT = $(CURDIR)/$(DEB_SRCDIR)/autogen.sh +DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc + +nbtk-create-image-cache.1: debian/nbtk-create-image-cache.sgml + docbook-to-man $< > $@ + +build/libnbtk-1.2-0:: nbtk-create-image-cache.1 + +cleanbuilddir/libnbtk-1.2-0:: + rm -f nbtk-create-image-cache.1 + +clean:: + rm -f ltmain.sh aclocal.m4 configure config.h.in install-sh missing + rm -f depcomp config.guess config.sub config.log + rm -f build/autotools/libtool.m4 build/autotools/ltoptions.m4 + rm -f build/autotools/ltsugar.m4 build/autotools/ltversion.m4 + rm -f build/autotools/lt~obsolete.m4 + rm -f build/autotools/gtk-doc.m4 + rm -f mkinstalldirs + rm -f Makefile.in nbtk/Makefile.in + rm -f build/autotools/Makefile.in build/Makefile.in + rm -f tests/Makefile.in data/Makefile.in data/style/Makefile.in + rm -f docs/reference/libnbtk/Makefile.in + rm -f docs/reference/Makefile.in docs/Makefile.in + rm -f examples/Makefile.in + rm -f po/Makefile.in.in + rm -f gtk-doc.make compile INSTALL doltcompile doltlibtool + rm -rf docs/reference/libnbtk/html + rm -rf docs/reference/libnbtk/tmpl + rm -f docs/reference/libnbtk/nbtk-overrides.txt + find . -type f -name ".gitignore" -exec rm -f {} \; + rm -f po/*.gmo + +common-binary-predeb-arch:: list-missing --- nbtk-1.1.4.orig/debian/patches/01_use_ccss0.5.0.patch +++ nbtk-1.1.4/debian/patches/01_use_ccss0.5.0.patch @@ -0,0 +1,214 @@ +diff -Nur -x '*.orig' -x '*~' nbtk-1.1.4/configure.ac nbtk-1.1.4.new/configure.ac +--- nbtk-1.1.4/configure.ac 2009-09-17 21:01:46.000000000 +0800 ++++ nbtk-1.1.4.new/configure.ac 2009-09-22 19:47:05.372503317 +0800 +@@ -121,7 +121,7 @@ + + AM_PROG_LIBTOOL + +-NBTK_REQUIRES="clutter-1.0 clutter-imcontext-0.1 libccss-1 = 0.3.1" ++NBTK_REQUIRES="clutter-1.0 clutter-imcontext-0.1 ccss-1 >= 0.5.0" + PKG_CHECK_MODULES(NBTK, [$NBTK_REQUIRES]) + PKG_CHECK_MODULES(GTK, [gtk+-2.0]) + +diff -Nur -x '*.orig' -x '*~' nbtk-1.1.4/nbtk/nbtk-stylable.c nbtk-1.1.4.new/nbtk/nbtk-stylable.c +--- nbtk-1.1.4/nbtk/nbtk-stylable.c 2009-09-17 21:01:46.000000000 +0800 ++++ nbtk-1.1.4.new/nbtk/nbtk-stylable.c 2009-09-22 19:47:05.372503317 +0800 +@@ -742,8 +742,8 @@ + * + * Return value: the pseudo class name of @stylable + */ +-const gchar* +-nbtk_stylable_get_pseudo_class (NbtkStylable *stylable) ++const gchar** ++nbtk_stylable_get_pseudo_classes (NbtkStylable *stylable) + { + NbtkStylableIface *iface; + +@@ -751,11 +751,21 @@ + + iface = NBTK_STYLABLE_GET_IFACE (stylable); + +- if (iface->get_pseudo_class) +- return iface->get_pseudo_class (stylable); ++ if (iface->get_pseudo_classes) ++ return iface->get_pseudo_classes (stylable); + else + return NULL; + } ++const gchar* ++nbtk_stylable_get_pseudo_class (NbtkStylable *stylable) ++{ ++ const gchar **result=NULL; ++ result = nbtk_stylable_get_pseudo_classes(stylable); ++ if (result && result[0]) { ++ return result[0]; ++ } ++ return NULL; ++} + + /** + * nbtk_stylable_get_attribute: +diff -Nur -x '*.orig' -x '*~' nbtk-1.1.4/nbtk/nbtk-stylable.h nbtk-1.1.4.new/nbtk/nbtk-stylable.h +--- nbtk-1.1.4/nbtk/nbtk-stylable.h 2009-09-17 21:01:46.000000000 +0800 ++++ nbtk-1.1.4.new/nbtk/nbtk-stylable.h 2009-09-22 19:47:05.376501252 +0800 +@@ -58,7 +58,7 @@ + const gchar *(*get_style_id) (NbtkStylable *stylable); + const gchar *(*get_style_type) (NbtkStylable *stylable); + const gchar *(*get_style_class) (NbtkStylable *stylable); +- const gchar *(*get_pseudo_class) (NbtkStylable *stylable); ++ const gchar **(*get_pseudo_classes) (NbtkStylable *stylable); + gchar *(*get_attribute) (NbtkStylable *stylable, + const gchar *name); + gboolean (*get_viewport) (NbtkStylable *stylable, +@@ -109,6 +109,7 @@ + const gchar* nbtk_stylable_get_style_type (NbtkStylable *stylable); + const gchar* nbtk_stylable_get_style_class (NbtkStylable *stylable); + const gchar* nbtk_stylable_get_pseudo_class (NbtkStylable *stylable); ++const gchar** nbtk_stylable_get_pseudo_classes (NbtkStylable *stylable); + gchar* nbtk_stylable_get_attribute (NbtkStylable *stylable, + const gchar *name); + gboolean nbtk_stylable_get_viewport (NbtkStylable *stylable, +diff -Nur -x '*.orig' -x '*~' nbtk-1.1.4/nbtk/nbtk-style.c nbtk-1.1.4.new/nbtk/nbtk-style.c +--- nbtk-1.1.4/nbtk/nbtk-style.c 2009-09-17 21:01:46.000000000 +0800 ++++ nbtk-1.1.4.new/nbtk/nbtk-style.c 2009-09-22 19:47:05.376501252 +0800 +@@ -415,10 +415,10 @@ + return nbtk_stylable_get_style_class (node->stylable); + } + +-static const gchar* +-get_pseudo_class (nbtk_style_node_t *node) ++static const gchar** ++get_pseudo_classes (nbtk_style_node_t *node) + { +- return nbtk_stylable_get_pseudo_class (node->stylable); ++ return nbtk_stylable_get_pseudo_classes (node->stylable); + } + + static const gchar* +@@ -444,7 +444,7 @@ + .get_id = (ccss_node_get_id_f) get_style_id, + .get_type = (ccss_node_get_type_f) get_style_type, + .get_class = (ccss_node_get_class_f) get_style_class, +- .get_pseudo_class = (ccss_node_get_pseudo_class_f) get_pseudo_class, ++ .get_pseudo_classes = (ccss_node_get_pseudo_classes_f) get_pseudo_classes, + .get_viewport = NULL,// (ccss_node_get_viewport_f) get_viewport, + .get_attribute = (ccss_node_get_attribute_f) get_attribute, + .release = (ccss_node_release_f) release +@@ -489,7 +489,7 @@ + + if (ccss_style_get_property (ccss_style, + "border-image", +- (ccss_property_base_t const **) &border_image)) ++ (ccss_property_t const **) &border_image)) + { + if (border_image && + border_image->base.state == CCSS_PROPERTY_STATE_SET) +diff -Nur -x '*.orig' -x '*~' nbtk-1.1.4/nbtk/nbtk-widget.c nbtk-1.1.4.new/nbtk/nbtk-widget.c +--- nbtk-1.1.4/nbtk/nbtk-widget.c 2009-09-17 21:01:46.000000000 +0800 ++++ nbtk-1.1.4.new/nbtk/nbtk-widget.c 2009-09-22 19:47:05.380501589 +0800 +@@ -53,7 +53,7 @@ + NbtkPadding padding; + + NbtkStyle *style; +- gchar *pseudo_class; ++ gchar *pseudo_classes[2]; + gchar *style_class; + + ClutterActor *border_image; +@@ -162,7 +162,7 @@ + break; + + case PROP_PSEUDO_CLASS: +- g_value_set_string (value, priv->pseudo_class); ++ g_value_set_string (value, priv->pseudo_classes[0]); + break; + + case PROP_STYLE_CLASS: +@@ -235,7 +235,9 @@ + NbtkWidgetPrivate *priv = NBTK_WIDGET (gobject)->priv; + + g_free (priv->style_class); +- g_free (priv->pseudo_class); ++ g_free (priv->pseudo_classes[0]); ++ priv->pseudo_classes[0]=NULL; ++ priv->pseudo_classes[1]=NULL; + + G_OBJECT_CLASS (nbtk_widget_parent_class)->finalize (gobject); + } +@@ -839,12 +841,12 @@ + return NBTK_WIDGET (stylable)->priv->style_class; + } + +-static const gchar* +-nbtk_widget_get_pseudo_class (NbtkStylable *stylable) ++static const gchar** ++nbtk_widget_get_pseudo_classes (NbtkStylable *stylable) + { + g_return_val_if_fail (NBTK_IS_WIDGET (stylable), NULL); + +- return NBTK_WIDGET (stylable)->priv->pseudo_class; ++ return NBTK_WIDGET (stylable)->priv->pseudo_classes; + } + + static gboolean +@@ -920,12 +922,22 @@ + * Returns: the pseudo class string. The string is owned by the #NbtkWidget and + * should not be modified or freed. + */ +-const gchar* +-nbtk_widget_get_style_pseudo_class (NbtkWidget *actor) ++const gchar** ++nbtk_widget_get_style_pseudo_classes (NbtkWidget *actor) + { + g_return_val_if_fail (NBTK_WIDGET (actor), NULL); + +- return actor->priv->pseudo_class; ++ return actor->priv->pseudo_classes; ++} ++const gchar* ++nbtk_widget_get_style_pseudo_class (NbtkWidget *actor) ++{ ++ const gchar** result=NULL; ++ result = nbtk_widget_get_style_pseudo_classes(actor); ++ if (result && result[0]) { ++ return result[0]; ++ } ++ return NULL; + } + + /** +@@ -945,10 +957,11 @@ + + priv = actor->priv; + +- if (g_strcmp0 (pseudo_class, priv->pseudo_class)) ++ priv->pseudo_classes[1] = NULL; ++ if (g_strcmp0 (pseudo_class, priv->pseudo_classes[0])) + { +- g_free (priv->pseudo_class); +- priv->pseudo_class = g_strdup (pseudo_class); ++ g_free (priv->pseudo_classes[0]); ++ priv->pseudo_classes[0] = g_strdup (pseudo_class); + + nbtk_stylable_changed ((NbtkStylable*) actor); + +@@ -1030,7 +1043,7 @@ + iface->get_style_id = nbtk_widget_get_style_id; + iface->get_style_type = nbtk_widget_get_style_type; + iface->get_style_class = nbtk_widget_get_style_class; +- iface->get_pseudo_class = nbtk_widget_get_pseudo_class; ++ iface->get_pseudo_classes = nbtk_widget_get_pseudo_classes; + /* iface->get_attribute = nbtk_widget_get_attribute; */ + iface->get_viewport = nbtk_widget_get_viewport; + } +diff -Nur -x '*.orig' -x '*~' nbtk-1.1.4/nbtk/nbtk-widget.h nbtk-1.1.4.new/nbtk/nbtk-widget.h +--- nbtk-1.1.4/nbtk/nbtk-widget.h 2009-09-17 21:01:46.000000000 +0800 ++++ nbtk-1.1.4.new/nbtk/nbtk-widget.h 2009-09-22 19:47:05.380501589 +0800 +@@ -79,6 +79,7 @@ + void nbtk_widget_set_style_pseudo_class (NbtkWidget *actor, + const gchar *pseudo_class); + G_CONST_RETURN gchar *nbtk_widget_get_style_pseudo_class (NbtkWidget *actor); ++G_CONST_RETURN gchar **nbtk_widget_get_style_pseudo_classes (NbtkWidget *actor); + void nbtk_widget_set_style_class_name (NbtkWidget *actor, + const gchar *style_class); + G_CONST_RETURN gchar *nbtk_widget_get_style_class_name (NbtkWidget *actor);