debian/0000755000000000000000000000000012176014173007170 5ustar debian/libbognor-regis-dev.install0000644000000000000000000000010012176000250014376 0ustar usr/include/* usr/lib/*/*.a usr/lib/*/*.so usr/lib/*/pkgconfig/ debian/bognor-regis.install0000644000000000000000000000004112176000276013147 0ustar usr/lib/bognor-regis/ usr/share/ debian/compat0000644000000000000000000000000212176000175010363 0ustar 9 debian/copyright0000644000000000000000000000267711731124514011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: bognor-regis Upstream-Contact: Iain Holmes Source: http://meego.gitorious.org/meego-netbook-ux/bognor-regis Files: * Copyright: 2009 Intel Corporation. License: LGPL-2.1 Files: po/ca.po Copyright: 2009 Free Software Foundation, Inc. License: LGPL-2.1 Files: INSTALL Copyright: 1994-2006 Free Software Foundation, Inc. License: This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. 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. debian/control0000644000000000000000000000432612176013745010604 0ustar Source: bognor-regis Section: libs Priority: optional Maintainer: Ying-Chun Liu (PaulLiu) Homepage: http://meego.com/ Build-Depends: cdbs (>= 0.4.93~), debhelper (>= 9), autotools-dev, libdbus-glib-1-dev, libglib2.0-dev, libgstreamer0.10-dev, libgtk2.0-dev, libtool, libgconf2-dev, libnotify-dev (>= 0.7.3), intltool, autoconf, automake, libgupnp-1.0-dev, libgupnp-av-1.0-dev, libtracker-sparql-0.16-dev Standards-Version: 3.9.4 Package: bognor-regis Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: foreign Description: Media daemon and play queue manager bognor-regis controls playqueues in meego allowing the same information to be shared between the media player and panel. Package: libbognor-regis-0.6-0 Section: libs Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: Media daemon and play queue manager library bognor-regis controls playqueues in meego allowing the same information to be shared between the media player and panel. This library provides the API to access the bognor-regis daemon. Package: libbognor-regis-dev Section: libdevel Architecture: any Depends: libbognor-regis-0.6-0 (= ${binary:Version}), libglib2.0-dev, libdbus-glib-1-dev, libgstreamer0.10-dev, ${misc:Depends} Description: Media daemon and play queue manager library (development files) bognor-regis controls playqueues in meego allowing the same information to be shared between the media player and panel. This library provides the API to access the bognor-regis daemon. . This package contains the development files. Package: libbognor-regis-0.6-0-dbg Architecture: any Section: debug Priority: extra Depends: libbognor-regis-0.6-0 (=${binary:Version}), ${misc:Depends} Conflicts: libbognor-regis-0.4-0-dbg, libbognor-regis-0.5-0-dbg Description: Media daemon and play queue manager library (debug symbols) bognor-regis controls playqueues in meego allowing the same information to be shared between the media player and panel. This library provides the API to access the bognor-regis daemon. . This package contains the debug symbols. debian/watch0000644000000000000000000000015111400625202010204 0ustar version=3 http://git.moblin.org/cgit.cgi/bognor-regis/ \ snapshot/bognor-regis-([\d\.]*).tar.gz debian/libbognor-regis-0.6-0.install0000644000000000000000000000002112176000260014263 0ustar usr/lib/*/*.so.* debian/patches/0000755000000000000000000000000012176000123010605 5ustar debian/patches/series0000644000000000000000000000014412176000024012021 0ustar port_to_tracker-sparql-0.16.patch fix_libnotify0.7_compatibility.patch prototype-bgr-item-new.patch debian/patches/port_to_tracker-sparql-0.16.patch0000644000000000000000000000720712176000123016717 0ustar Subject: Port to libtracker-sparql-0.16 Author: Ying-Chun Liu (PaulLiu) Author: Michael Biebl Bug-Debian: http://bugs.debian.org/628771 Bug-Debian: http://bugs.debian.org/643938 Bug-Debian: http://bugs.debian.org/664024 Bug-Debian: http://bugs.debian.org/711244 Index: bognor-regis-0.6.12+git20101007.02c25268/configure.ac =================================================================== --- bognor-regis-0.6.12+git20101007.02c25268.orig/configure.ac 2013-07-31 02:03:56.069086479 +0800 +++ bognor-regis-0.6.12+git20101007.02c25268/configure.ac 2013-07-31 02:04:27.800382842 +0800 @@ -86,7 +86,7 @@ fi AM_CONDITIONAL(HAVE_QUEUE_CONFIG, test "x$enable_queue_config" = "xyes") -PKG_CHECK_MODULES(BOGNOR, gtk+-2.0 glib-2.0 dbus-glib-1 gio-2.0 libnotify tracker-client-0.9 gupnp-1.0 >= 0.13.0 gupnp-av-1.0 >= 0.5) +PKG_CHECK_MODULES(BOGNOR, gtk+-2.0 glib-2.0 dbus-glib-1 gio-2.0 libnotify tracker-sparql-0.16 gupnp-1.0 >= 0.13.0 gupnp-av-1.0 >= 0.5) PKG_CHECK_MODULES(BOGNOR_REGIS, glib-2.0 dbus-glib-1 $gconf_pkg) PKG_CHECK_MODULES(CLIENT, gio-2.0) Index: bognor-regis-0.6.12+git20101007.02c25268/src/bgr-tracker-client.c =================================================================== --- bognor-regis-0.6.12+git20101007.02c25268.orig/src/bgr-tracker-client.c 2013-07-31 02:03:56.069086479 +0800 +++ bognor-regis-0.6.12+git20101007.02c25268/src/bgr-tracker-client.c 2013-07-31 02:03:56.069086479 +0800 @@ -1,4 +1,4 @@ -#include +#include #include "bgr-item.h" #include "bgr-tracker-client.h" @@ -11,7 +11,7 @@ }; struct _BgrTrackerClientPrivate { - TrackerClient *client; + TrackerSparqlConnection *client; }; #define GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), BGR_TYPE_TRACKER_CLIENT, BgrTrackerClientPrivate)) @@ -101,7 +101,7 @@ BgrTrackerClientPrivate *priv = GET_PRIVATE (self); self->priv = priv; - priv->client = tracker_client_new (FALSE, G_MAXINT); + priv->client = tracker_sparql_connection_get (NULL, NULL); } BgrItem * @@ -114,9 +114,11 @@ GPtrArray *results; char *query; char **result; + TrackerSparqlCursor *t_cursor = NULL; + int i,N=0; query = g_strdup_printf (ITEM_QUERY, uri); - results = tracker_resources_sparql_query (priv->client, query, &error); + t_cursor = tracker_sparql_connection_query (priv->client, query, NULL, &error); if (error != NULL) { g_warning ("Error querying for %s: %s", uri, error->message); g_error_free (error); @@ -124,6 +126,28 @@ return NULL; } + if (t_cursor == NULL) { + return NULL; + } + + N = tracker_sparql_cursor_get_n_columns (t_cursor); + if (N <= 0) { + g_object_unref(t_cursor); + return NULL; + } + + results = g_ptr_array_new(); + result = (char **) malloc (sizeof(char *)*(N+1)); + memset(result,0,sizeof(char*)*(N+1)); + for (i=0; iclient, query, &error); + tracker_sparql_connection_update (priv->client, query, 0, NULL, &error); if (error != NULL) { g_warning ("Error updating %s: %s", bgr_item_get_uri (item), debian/patches/prototype-bgr-item-new.patch0000644000000000000000000000133411731125214016174 0ustar Description: Prototype bgr_item_new Author: Colin Watson Bug-Ubuntu: https://bugs.launchpad.net/bugs/831263 Forwarded: no Last-Update: 2011-08-22 Index: bognor-regis-0.6.12+git20101007.02c25268/src/bgr-item.h =================================================================== --- bognor-regis-0.6.12+git20101007.02c25268.orig/src/bgr-item.h 2012-03-17 23:10:49.639334361 +0800 +++ bognor-regis-0.6.12+git20101007.02c25268/src/bgr-item.h 2012-03-17 23:15:22.577862499 +0800 @@ -50,6 +50,8 @@ GType bgr_item_get_type (void) G_GNUC_CONST; +BgrItem *bgr_item_new (const char *uri, const char *mimetype); + const char *bgr_item_get_uri (BgrItem *item); const char *bgr_item_get_mimetype (BgrItem *item); debian/patches/fix_libnotify0.7_compatibility.patch0000644000000000000000000000217311731125211017656 0ustar Description: Add compatibility with libnotify 0.7 API Author: Jérémy Bobbio Bug-Debian: http://bugs.debian.org/630265 Index: bognor-regis-0.6.12+git20101007.02c25268/src/bognor-queue.c =================================================================== --- bognor-regis-0.6.12+git20101007.02c25268.orig/src/bognor-queue.c 2012-03-17 23:10:51.131304365 +0800 +++ bognor-regis-0.6.12+git20101007.02c25268/src/bognor-queue.c 2012-03-17 23:15:18.929935434 +0800 @@ -4,6 +4,9 @@ #include #include +#ifndef NOTIFY_CHECK_VERSION +#define NOTIFY_CHECK_VERSION(x,y,z) 0 +#endif #include "bgr-item.h" #include "bgr-tracker-client.h" @@ -288,8 +291,13 @@ #endif g_free (unesc); +#if NOTIFY_CHECK_VERSION(0,7,0) + notification = notify_notification_new (_("We can't play this"), + message, NULL); +#else notification = notify_notification_new (_("We can't play this"), message, NULL, NULL); +#endif notify_notification_show (notification, NULL); g_object_unref (notification); debian/source/0000755000000000000000000000000011400625250010461 5ustar debian/source/format0000644000000000000000000000001411400625250011667 0ustar 3.0 (quilt) debian/clean0000644000000000000000000000074611533737324010212 0ustar ltmain.sh aclocal.m4 configure config.h.in install-sh missing depcomp config.guess config.sub config.log mkinstalldirs compile COPYING Makefile.in bognor-regis/Makefile.in src/Makefile.in data/Makefile.in examples/Makefile.in interfaces/Makefile.in po/Makefile.in po/Makefile po/POTFILES po/Makefile.in.in intltool-*.in po/stamp-it po/*.gmo scpd/Makefile.in m4/intltool.m4 m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4 examples/*.o examples/bognor-regis debian/changelog0000644000000000000000000001124012175777045011055 0ustar bognor-regis (0.6.12+git20101007.02c25268-8) unstable; urgency=low [ Michael Biebl ] * Build against tracker 0.16. (Closes: #711244) [ Ying-Chun Liu (PaulLiu) ] * Support Multi-Arch * Bump debhelper version to 9. * Bump Standards-Version to 3.9.4: Nothing needs to be changed. -- Ying-Chun Liu (PaulLiu) Wed, 31 Jul 2013 01:53:53 +0800 bognor-regis (0.6.12+git20101007.02c25268-7) unstable; urgency=low [ Michael Biebl ] * Build against tracker 0.14. (Closes: #664024) [ Ying-Chun Liu (PaulLiu) ] * Merge Michael's patch into port_to_tracker-sparql-0.12.patch and rename it to port_to_tracker-sparql-0.14.patch * Update debian/copyright format to 1.0 * Bump Standards-Version to 3.9.3: Nothing needs to be changed. -- Ying-Chun Liu (PaulLiu) Sat, 17 Mar 2012 23:29:57 +0800 bognor-regis (0.6.12+git20101007.02c25268-6) unstable; urgency=low * Add libgupnp-1.0-dev to Build-Depends (Closes: #652358) * debian/patches/prototype-bgr-item-new.patch: Prototype bgr_item_new - Thanks to Colin Watson -- Ying-Chun Liu (PaulLiu) Mon, 19 Dec 2011 16:38:07 +0800 bognor-regis (0.6.12+git20101007.02c25268-5) unstable; urgency=low * experimental -> unstable (Closes: #643938) -- Ying-Chun Liu (PaulLiu) Wed, 23 Nov 2011 01:22:39 +0800 bognor-regis (0.6.12+git20101007.02c25268-4) experimental; urgency=low * Use libtracker-sparql-0.12 instead of libtracker-client-0.10 (Closes: #643938) * Fix debian/copyright to latest format -- Ying-Chun Liu (PaulLiu) Sat, 12 Nov 2011 21:37:52 +0800 bognor-regis (0.6.12+git20101007.02c25268-3) unstable; urgency=low * experimental -> unstable - Uses libnotify 0.7 (Closes: #630265) - Update to tracker-0.10 (Closes: #628771) -- Ying-Chun Liu (PaulLiu) Mon, 01 Aug 2011 23:05:02 +0800 bognor-regis (0.6.12+git20101007.02c25268-2) experimental; urgency=low [ Jérémy Bobbio ] * Add compatibility with libnotify 0.7 API. (Closes: #630265) [ Ying-Chun Liu (PaulLiu) ] * Use libtracker-client-0.10 * Bump Standards-Version to 3.9.2: Nothing needs to be changed. -- Ying-Chun Liu (PaulLiu) Thu, 21 Jul 2011 10:20:09 +0200 bognor-regis (0.6.12+git20101007.02c25268-1) unstable; urgency=low * New upstream release * Change upstream from moblin to meego - debian/control: Modify Homepage field to meego.com - debian/copyright: point to meego website * drop quilt Build-Depends -- Ying-Chun Liu (PaulLiu) Thu, 03 Mar 2011 23:58:49 +0800 bognor-regis (0.6.6-1) unstable; urgency=low * New upstream release * Use DebSrc3.0 format * Bump Standards-Version to 3.8.4: Nothing needs to be changed * Upstream soname bumped: 0.5-0 -> 0.6-0. Renaming packages. * Don't install .la files -- Ying-Chun Liu (PaulLiu) Mon, 31 May 2010 11:18:26 +0800 bognor-regis (0.5.2-2) unstable; urgency=low * debian/control: Add conflicts to old bognor-regis (Closes: #558220) * debian/clean: Clean non-source files -- Ying-Chun Liu (PaulLiu) Tue, 01 Dec 2009 00:26:08 +0800 bognor-regis (0.5.2-1) unstable; urgency=low * New upstream release * Add debian/watch to track upstream version * Renaming libbognor-regis-0.4-* to libbognor-regis-0.5-* according to the soname * Install locale files into bognor-regis package. -- Ying-Chun Liu (PaulLiu) Tue, 24 Nov 2009 02:11:53 +0800 bognor-regis (0.4.10-1) unstable; urgency=low * Ying-Chun Liu (PaulLiu) - New upstream release (0.4.10) (Closes: #546584) - debian/rules: use autogen.sh and add proper clean rules - drop 0001-Fix-4636-by-always-telling-hornsey-to-show-audio-as-.patch and 0002-Fix-4841-with-patch-from-Vivian-Zhang.patch: already upstream - debian/copyright: Use machine-readable format - debian/control: Add libgconf2-dev to Build-Depends - debian/control: Build -dbg package * Chris Cheney - Fix libbognor-regis-0.4-dev dependency on libbognor-regis-0.4-0. - New upstream: bognor-regis-0.4.9~20090724-3.1.moblin2.src.rpm - Added libgtk2.0-dev to Build-Depends. - New upstream release (moblin beta) (0.4.6~20090703) * Michael Terry - New upstream release (moblin beta) (0.3.1~20090513) - debian/copyright: Update to GPLv2 - Initial Release -- Ying-Chun Liu (PaulLiu) Wed, 16 Sep 2009 23:58:52 +0800 debian/rules0000755000000000000000000000240412176012464010251 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 include /usr/share/cdbs/1/rules/buildvars.mk 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/-[^-]*$$//') GIT_URL = git://gitorious.org/meego-netbook-ux/bognor-regis.git DEB_CONFIGURE_SCRIPT = $(CURDIR)/$(DEB_SRCDIR)/autogen.sh DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) 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 common-binary-predeb-arch:: list-missing