debian/0000755000000000000000000000000012254315547007176 5ustar debian/control.in0000644000000000000000000000601212254315512011175 0ustar Source: libunique Section: libs Priority: optional Maintainer: Debian GNOME Maintainers Uploaders: @GNOME_TEAM@ Build-Depends: cdbs (>= 0.4.41), dh-autoreconf, debhelper (>= 8), gnome-pkg-tools (>= 0.11), pkg-config (>= 0.14), libglib2.0-dev (>= 2.12.0), libgtk2.0-dev (>= 2.11.0), libx11-dev, libdbus-glib-1-dev (>= 0.70), gtk-doc-tools (>= 1.11), intltool Standards-Version: 3.9.2 Vcs-Svn: svn://anonscm.debian.org/svn/pkg-gnome/packages/unstable/libunique Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/unstable/libunique Homepage: http://live.gnome.org/LibUnique Package: libunique-1.0-0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, dbus, dbus-x11 Description: Library for writing single instance applications - shared libraries Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance. . Unique makes it easy to write this kind of applications, by providing a base class, taking care of all the IPC machinery needed to send messages to a running instance, and also handling the startup notification side. . This package contains the shared libraries. Package: libunique-dev Section: libdevel Architecture: any Depends: libunique-1.0-0 (= ${binary:Version}), ${misc:Depends}, libglib2.0-dev (>= 2.12.0), libgtk2.0-dev (>= 2.11.0) Suggests: libunique-doc Replaces: gir-repository-dev (<= 0.6.5-2) Description: Library for writing single instance applications - development files Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance. . Unique makes it easy to write this kind of applications, by providing a base class, taking care of all the IPC machinery needed to send messages to a running instance, and also handling the startup notification side. . This package contains the headers and development libraries needed to build applications using the Unique library Package: libunique-doc Section: doc Architecture: all Depends: ${misc:Depends} Recommends: libunique-1.0-0 Suggests: devhelp Description: Library for writing single instance applications - documentation Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance. . Unique makes it easy to write this kind of applications, by providing a base class, taking care of all the IPC machinery needed to send messages to a running instance, and also handling the startup notification side. . This package contains the HTML documentation for the Unique library debian/docs0000644000000000000000000000002411044336115010033 0ustar AUTHORS NEWS README debian/copyright0000644000000000000000000000265211350253000011113 0ustar This package was debianized by Sebastian Dröge on Thu, 31 Jul 2008 15:07:44 +0200. It was downloaded from ftp://ftp.gnome.org/pub/GNOME/sources/libunique/ Upstream Author: Emmanuele Bassi Copyright: For everything not noted below: Copyright (C) 2007 Emmanuele Bassi For unique/bacon/uniquebackend-bacon.[ch], unique/bacon/uniquefactory-bacon.[ch]: Copyright (C) 2003 Bastien Nocera Copyright (C) 2007 Emmanuele Bassi License: 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.1 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 GNU/Linux systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/libunique-1.0-0.symbols0000644000000000000000000000372311107240454013231 0ustar libunique-1.0.so.0 libunique-1.0-0 #MINVER# * Build-Depends-Package: libunique-edev unique_app_add_command@Base 1.0.0 unique_app_emit_message_received@Base 1.0.0 unique_app_get_type@Base 1.0.0 unique_app_is_running@Base 1.0.0 unique_app_new@Base 1.0.0 unique_app_new_with_commands@Base 1.0.0 unique_app_send_message@Base 1.0.0 unique_app_watch_window@Base 1.0.0 unique_backend_bacon_get_type@Base 1.0.0 unique_backend_create@Base 1.0.0 unique_backend_dbus_get_type@Base 1.0.0 unique_backend_get_name@Base 1.0.0 unique_backend_get_screen@Base 1.0.0 unique_backend_get_startup_id@Base 1.0.0 unique_backend_get_type@Base 1.0.0 unique_backend_get_workspace@Base 1.0.0 unique_backend_request_name@Base 1.0.0 unique_backend_send_message@Base 1.0.0 unique_backend_set_name@Base 1.0.0 unique_backend_set_screen@Base 1.0.0 unique_backend_set_startup_id@Base 1.0.0 unique_command_from_string@Base 1.0.0 unique_command_get_type@Base 1.0.0 unique_command_to_string@Base 1.0.0 unique_factory_bacon_accept@Base 1.0.0 unique_factory_bacon_get_fd@Base 1.0.0 unique_factory_bacon_get_type@Base 1.0.0 unique_factory_dbus_get_type@Base 1.0.0 unique_marshal_ENUM__INT_BOXED_UINT@Base 1.0.0 unique_message_data_copy@Base 1.0.0 unique_message_data_free@Base 1.0.0 unique_message_data_get@Base 1.0.2 unique_message_data_get_filename@Base 1.0.2 unique_message_data_get_screen@Base 1.0.0 unique_message_data_get_startup_id@Base 1.0.0 unique_message_data_get_text@Base 1.0.0 unique_message_data_get_type@Base 1.0.0 unique_message_data_get_uris@Base 1.0.0 unique_message_data_get_workspace@Base 1.0.0 unique_message_data_new@Base 1.0.0 unique_message_data_pack@Base 1.0.0 unique_message_data_set@Base 1.0.0 unique_message_data_set_filename@Base 1.0.2 unique_message_data_set_text@Base 1.0.0 unique_message_data_set_uris@Base 1.0.0 unique_message_data_unpack@Base 1.0.0 unique_response_from_string@Base 1.0.0 unique_response_get_type@Base 1.0.0 unique_response_to_string@Base 1.0.0 debian/libunique-1.0-0.install0000644000000000000000000000003311652320174013201 0ustar usr/lib/libunique-1.0.so.* debian/changelog0000644000000000000000000000725312254315527011055 0ustar libunique (1.1.6-4ubuntu2) trusty; urgency=medium * Build using dh-autoreconf. -- Matthias Klose Wed, 18 Dec 2013 13:16:22 +0100 libunique (1.1.6-4build1) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Fri, 05 Oct 2012 09:40:06 +0100 libunique (1.1.6-4) unstable; urgency=low * Add 00git_g_const_return.patch: Drop usage of G_CONST_RETURN, to fix building with current glib versions. Backported from current 3.x release. -- Martin Pitt Thu, 17 Nov 2011 11:37:35 +0100 libunique (1.1.6-3) unstable; urgency=low * Switch to dpkg source format 3.0 (quilt). * Bump debhelper compatibility level to 8. - Update Build-Depends on debhelper. - Strip debian/tmp/ from .install files. * debian/control.in: - Bump Standards-Version to 3.9.2. No further changes. - Add Vcs-* fields. * debian/rules: - Disable -Werror. Closes: #625376 * debian/patches/01_format-security.patch: - Fix build failures with -Werror=format-security. -- Michael Biebl Thu, 27 Oct 2011 20:39:50 +0200 libunique (1.1.6-2) unstable; urgency=low * Remove gir1.0-unique-1.0 to ease the gir1.2 transition. -- Emilio Pozuelo Monfort Wed, 16 Feb 2011 20:47:20 +0000 libunique (1.1.6-1.1) unstable; urgency=medium * Non-maintainer upload. * Depend on both dbus and dbus-x11 which are required by libunique unconditionally when using the dbus backend (compile-time setting). (Closes: #497401, #595480, #595480) * Correct upstream source location in `debian/copyright'. (Closes: #574352) -- Philipp Kern Sat, 11 Sep 2010 21:00:16 +0200 libunique (1.1.6-1) unstable; urgency=low * New upstream release. -- Emilio Pozuelo Monfort Thu, 12 Nov 2009 14:49:30 +0100 libunique (1.1.2-3) unstable; urgency=low * Move gir1.0-unique-1.0 from the gir-repository source package. Closes: #552812. * Move the .gir to libunique-dev, add corresponding Replaces. -- Josselin Mouette Wed, 11 Nov 2009 17:38:34 +0100 libunique (1.1.2-2) unstable; urgency=low * Upload to unstable. - Remove check-dist.mk include. -- Emilio Pozuelo Monfort Fri, 25 Sep 2009 21:14:10 +0200 libunique (1.1.2-1) experimental; urgency=low * New upstream unstable release. * debian/watch: Update for the new location. * Standards-Version is 3.8.3, no changes needed. * libunique-1.0-0 inherits the section from the source stanza. * debian/rules: include check-dist.mk to prevent uploads to experimental. -- Emilio Pozuelo Monfort Tue, 01 Sep 2009 20:59:45 +0200 libunique (1.0.8-1) unstable; urgency=low * New upstream release. -- Sebastian Dröge Sun, 22 Mar 2009 12:30:39 +0100 libunique (1.0.6-1) unstable; urgency=low * New upstream release. -- Sebastian Dröge Thu, 19 Mar 2009 14:03:04 +0100 libunique (1.0.4-1) unstable; urgency=low * New upstream release. -- Sebastian Dröge Mon, 24 Nov 2008 10:09:19 +0100 libunique (1.0.2-1) unstable; urgency=low * New upstream release: + debian/control: - Update build deps. + debian/rules: - Update shlibs version to 1.0.2 for new API. + debian/libunique-1.0-0.symbols: - Update symbols for new version. + debian/patches/01_X11-linking.patch: - Dropped, fixed upstream. -- Sebastian Dröge Fri, 14 Nov 2008 09:49:39 +0100 libunique (1.0.0-1) unstable; urgency=low * Initial version (Closes: #493113). -- Sebastian Dröge Thu, 31 Jul 2008 15:10:16 +0200 debian/compat0000644000000000000000000000000211652320174010365 0ustar 8 debian/patches/0000755000000000000000000000000011661161764010626 5ustar debian/patches/99_ltmain_as-needed.patch0000644000000000000000000000162411652321054015352 0ustar Index: libunique-1.1.6/ltmain.sh =================================================================== --- libunique-1.1.6.orig/ltmain.sh 2009-11-12 14:57:49.000000000 +0100 +++ libunique-1.1.6/ltmain.sh 2011-10-27 20:25:26.369869652 +0200 @@ -4716,6 +4716,11 @@ arg=$func_stripname_result ;; + -Wl,--as-needed) + deplibs="$deplibs $arg" + continue + ;; + -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result @@ -5067,6 +5072,15 @@ lib= found=no case $deplib in + -Wl,--as-needed) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + fi + continue + ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" debian/patches/01_format-security.patch0000644000000000000000000000145611652322004015274 0ustar Index: libunique-1.1.6/tests/test-unique.c =================================================================== --- libunique-1.1.6.orig/tests/test-unique.c 2009-09-21 14:31:14.000000000 +0200 +++ libunique-1.1.6/tests/test-unique.c 2011-10-27 20:31:38.869186701 +0200 @@ -82,9 +82,11 @@ GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, + "%s", title); if (message) gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), + "%s", message); gtk_window_set_urgency_hint (GTK_WINDOW (dialog), TRUE); debian/patches/00git_g_const_return.patch0000644000000000000000000001313311661161602015675 0ustar From 03526f8d95910c207170391c1b6594905a71e4e9 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 14 Jun 2011 11:33:45 +0000 Subject: Remove G_CONST_RETURN usage, now that its gone in glib. https://bugzilla.gnome.org/show_bug.cgi?id=652545 --- Index: libunique/unique/uniqueapp.c =================================================================== --- libunique.orig/unique/uniqueapp.c 2009-11-01 19:33:13.000000000 +0100 +++ libunique/unique/uniqueapp.c 2011-11-17 11:34:02.799752362 +0100 @@ -781,7 +781,7 @@ } -G_CONST_RETURN gchar * +const gchar * unique_command_to_string (UniqueApp *app, gint command) { @@ -863,7 +863,7 @@ return retval; } -G_CONST_RETURN gchar * +const gchar * unique_response_to_string (UniqueResponse response) { GEnumClass *enum_class; Index: libunique/unique/uniquebackend.c =================================================================== --- libunique.orig/unique/uniquebackend.c 2009-11-09 12:02:06.000000000 +0100 +++ libunique/unique/uniquebackend.c 2011-11-17 11:34:02.799752362 +0100 @@ -111,7 +111,7 @@ * * Return value: FIXME */ -G_CONST_RETURN gchar * +const gchar * unique_backend_get_name (UniqueBackend *backend) { g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL); @@ -154,7 +154,7 @@ * * Return value: FIXME */ -G_CONST_RETURN gchar * +const gchar * unique_backend_get_startup_id (UniqueBackend *backend) { g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL); Index: libunique/unique/uniquebackend.h =================================================================== --- libunique.orig/unique/uniquebackend.h 2009-09-21 14:31:14.000000000 +0200 +++ libunique/unique/uniquebackend.h 2011-11-17 11:34:02.799752362 +0100 @@ -94,10 +94,10 @@ UniqueBackend * unique_backend_create (void); -G_CONST_RETURN gchar *unique_backend_get_name (UniqueBackend *backend); +const gchar * unique_backend_get_name (UniqueBackend *backend); void unique_backend_set_name (UniqueBackend *backend, const gchar *name); -G_CONST_RETURN gchar *unique_backend_get_startup_id (UniqueBackend *backend); +const gchar * unique_backend_get_startup_id (UniqueBackend *backend); void unique_backend_set_startup_id (UniqueBackend *backend, const gchar *startup_id); GdkScreen * unique_backend_get_screen (UniqueBackend *backend); Index: libunique/unique/uniqueinternals.h =================================================================== --- libunique.orig/unique/uniqueinternals.h 2009-09-21 14:31:14.000000000 +0200 +++ libunique/unique/uniqueinternals.h 2011-11-17 11:34:02.799752362 +0100 @@ -44,11 +44,11 @@ * and then back into an id */ UniqueResponse unique_response_from_string (const gchar *response); -G_CONST_RETURN gchar *unique_response_to_string (UniqueResponse response); +const gchar * unique_response_to_string (UniqueResponse response); gint unique_command_from_string (UniqueApp *app, const gchar *command); -G_CONST_RETURN gchar *unique_command_to_string (UniqueApp *app, +const gchar * unique_command_to_string (UniqueApp *app, gint command); G_END_DECLS Index: libunique/unique/uniquemessage.c =================================================================== --- libunique.orig/unique/uniquemessage.c 2009-11-09 12:02:06.000000000 +0100 +++ libunique/unique/uniquemessage.c 2011-11-17 11:34:02.799752362 +0100 @@ -185,7 +185,7 @@ * * Since: 1.0.2 */ -G_CONST_RETURN guchar * +const guchar * unique_message_data_get (UniqueMessageData *message_data, gsize *length) { @@ -525,7 +525,7 @@ * owned by the #UniqueMessageData structure and should not be * modified or freed */ -G_CONST_RETURN gchar * +const gchar * unique_message_data_get_startup_id (UniqueMessageData *message_data) { g_return_val_if_fail (message_data != NULL, NULL); Index: libunique/unique/uniquemessage.h =================================================================== --- libunique.orig/unique/uniquemessage.h 2009-09-21 14:31:14.000000000 +0200 +++ libunique/unique/uniquemessage.h 2011-11-17 11:34:27.659753565 +0100 @@ -48,7 +48,7 @@ void unique_message_data_set (UniqueMessageData *message_data, const guchar *data, gsize length); -G_CONST_RETURN guchar *unique_message_data_get (UniqueMessageData *message_data, +const guchar * unique_message_data_get (UniqueMessageData *message_data, gsize *length); gboolean unique_message_data_set_text (UniqueMessageData *message_data, @@ -63,7 +63,7 @@ gchar * unique_message_data_get_filename (UniqueMessageData *message_data); GdkScreen * unique_message_data_get_screen (UniqueMessageData *message_data); -G_CONST_RETURN gchar * unique_message_data_get_startup_id (UniqueMessageData *message_data); +const gchar * unique_message_data_get_startup_id (UniqueMessageData *message_data); guint unique_message_data_get_workspace (UniqueMessageData *message_data); G_END_DECLS debian/patches/series0000644000000000000000000000011611661161602012030 0ustar 00git_g_const_return.patch 01_format-security.patch 99_ltmain_as-needed.patch debian/control0000644000000000000000000000646612254315566010616 0ustar # This file is autogenerated. DO NOT EDIT! # # Modifications should be made to debian/control.in instead. # This file is regenerated automatically in the clean target. Source: libunique Section: libs Priority: optional Maintainer: Debian GNOME Maintainers Uploaders: Emilio Pozuelo Monfort , Josselin Mouette , Martin Pitt , Michael Biebl Build-Depends: cdbs (>= 0.4.41), dh-autoreconf, debhelper (>= 8), gnome-pkg-tools (>= 0.11), pkg-config (>= 0.14), libglib2.0-dev (>= 2.12.0), libgtk2.0-dev (>= 2.11.0), libx11-dev, libdbus-glib-1-dev (>= 0.70), gtk-doc-tools (>= 1.11), intltool Standards-Version: 3.9.2 Vcs-Svn: svn://anonscm.debian.org/svn/pkg-gnome/packages/unstable/libunique Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/unstable/libunique Homepage: http://live.gnome.org/LibUnique Package: libunique-1.0-0 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, dbus, dbus-x11 Description: Library for writing single instance applications - shared libraries Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance. . Unique makes it easy to write this kind of applications, by providing a base class, taking care of all the IPC machinery needed to send messages to a running instance, and also handling the startup notification side. . This package contains the shared libraries. Package: libunique-dev Section: libdevel Architecture: any Depends: libunique-1.0-0 (= ${binary:Version}), ${misc:Depends}, libglib2.0-dev (>= 2.12.0), libgtk2.0-dev (>= 2.11.0) Suggests: libunique-doc Replaces: gir-repository-dev (<= 0.6.5-2) Description: Library for writing single instance applications - development files Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance. . Unique makes it easy to write this kind of applications, by providing a base class, taking care of all the IPC machinery needed to send messages to a running instance, and also handling the startup notification side. . This package contains the headers and development libraries needed to build applications using the Unique library Package: libunique-doc Section: doc Architecture: all Depends: ${misc:Depends} Recommends: libunique-1.0-0 Suggests: devhelp Description: Library for writing single instance applications - documentation Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance. . Unique makes it easy to write this kind of applications, by providing a base class, taking care of all the IPC machinery needed to send messages to a running instance, and also handling the startup notification side. . This package contains the HTML documentation for the Unique library debian/libunique-dev.install0000644000000000000000000000015711652320174013333 0ustar usr/include/unique-1.0/unique/* usr/lib/libunique-1.0.a usr/lib/libunique-1.0.so usr/lib/pkgconfig/unique-1.0* debian/rules0000755000000000000000000000104012254311147010241 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/gnome.mk include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed DEB_CONFIGURE_EXTRA_FLAGS += --disable-maintainer-flags DEB_DH_MAKESHLIBS_ARGS_libunique-1.0-0 = -V 'libunique-1.0-0 (>= 1.0.2)' -- -c4 debian/source/0000755000000000000000000000000011661161764010477 5ustar debian/source/format0000644000000000000000000000001411652320022011665 0ustar 3.0 (quilt) debian/libunique-doc.install0000644000000000000000000000004011652320174013311 0ustar usr/share/gtk-doc/html/unique/* debian/watch0000644000000000000000000000014011247313414010212 0ustar version=3 http://ftp.gnome.org/pub/GNOME/sources/libunique/([\d\.]+)/libunique-([0-9.]*).tar.gz