debian/0000755000000000000000000000000012210671420007161 5ustar debian/README.source0000644000000000000000000000123512210671325011345 0ustar Library package naming is libsigx-- where and are obtained from the name of the actual library file, in e.g. /usr/lib/libsigx-2.0.so.2, as per documented here: http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html#id250154 Eventhough this isn't a libtool library, the versioning used is the same as libtool's versioning. Also, considering sigx is an extension to sigc++, its package naming convention has been mirrored closely, considering that upstream is mirroring sigc++'s version. A debian/*.symbols file is not used, because C++ name mangling seems to breaks this on different platforms/architectures. debian/changelog0000644000000000000000000000231712210671325011042 0ustar sigx (2.0.2-3) unstable; urgency=low * [8fd8898] Update homepage * [0eecdf8] Bump Standards-Version to 3.9.4 * [25dee45] Override LIBDIR for multiarch paths * [ea1e5e9] Update install files for multiarch paths * [ff9082e] Reexport patches using gbp-pq * [49b0029] Patch SConstruct to not blindly append to LIBDIR * [b1c5b05] Set CPPFLAGS * [3e2470f] Add Multi-Arch fields -- Chow Loong Jin Sun, 01 Sep 2013 21:59:30 +0800 sigx (2.0.2-2) experimental; urgency=low * [b0e5a0e] Move to 3.0 (quilt) format * [84b3009] Patch to avoid including individual glib headers (Closes: #665611) * [a8e7d0e] Bump Standard-Version to 3.9.3 * [967938e] Update debian/copyright to fit new copyright-format * [aa6892c] Update my email address * [893a08c] Include dpkg/default.mk for build flags * [85c2eb5] Fix up broken SHLINKFLAGS handling in scons -- Chow Loong Jin Thu, 17 May 2012 13:52:31 +0800 sigx (2.0.2-1) unstable; urgency=low * Initial release (Closes: #492215) * Original .tar.bz2 tarball repackaged into .tar.gz, see debian/copyright and debian/rules for more details. -- Chow Loong Jin Mon, 23 Mar 2009 05:19:42 +0800 debian/source/0000755000000000000000000000000012210671325010465 5ustar debian/source/format0000644000000000000000000000001412210671325011673 0ustar 3.0 (quilt) debian/libsigx-2.0-doc.examples0000644000000000000000000000001312210671325013420 0ustar examples/* debian/libsigx-2.0-dev.install0000644000000000000000000000017612210671325013273 0ustar debian/tmp/usr/lib/*/libsigx-2.0.so debian/tmp/usr/lib/*/sigx-2.0/* debian/tmp/usr/lib/*/pkgconfig/* debian/tmp/usr/include/* debian/copyright0000644000000000000000000000446512210671325011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: sigx++ Upstream-Contact: Klaus Triendl Source: http://triendl.info/sigx/ http://www.assembla.com/spaces/sigx X-Upstream-Source-Repackaged: Original .tar.bz2 has been repackaged into .tar.gz Files: * Copyright: 2005-2007, Klaus Triendl License: LGPL-2+ Files: src/glib_dispatcher.cpp Copyright: Copyright 2005, Tim Mayberry License: LGPL-2+ Files: src/dispatcher.cpp Copyright: 2005, Tim Mayberry 2005, Klaus Triendl License: LGPL-2+ Files: debian/* Copyright: Copyright 2009, Chow Loong Jin License: GPL-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 Street, Fifth Floor, Boston, MA 02110-1301 USA. . The full copy of this license can be found in /usr/share/common-licenses/LGPL-2.1 License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . The full copy of this license can be found in /usr/share/common-licenses/GPL-2 debian/compat0000644000000000000000000000000212210671325010363 0ustar 7 debian/libsigx-2.0-doc.docs0000644000000000000000000000002012210671325012530 0ustar docs/html/ TODO debian/control0000644000000000000000000000525012210671325010572 0ustar Source: sigx Section: devel Priority: optional Maintainer: Chow Loong Jin Build-Depends: debhelper (>= 7.2), dpkg-dev (>= 1.16.1~), m4, scons, doxygen, libsigc++-2.0-dev, libgtkmm-2.4-dev, libglibmm-2.4-dev, libglib2.0-dev, libboost-dev Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/git/collab-maint/sigx.git Vcs-Browser: http://git.debian.org/?p=collab-maint/sigx.git Homepage: http://triendl.info/sigx/ Package: libsigx-2.0-2 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: interthread communication library for C++ - runtime This library is an interthread communication library for C++ on top of libsigc++ and glibmm. It provides dispatcher based interthread communication, typesafe functor adaptors to execute functions in the context of another thread, threadsafe wrappers for signals and connections, and deadlock detection for synchronous messages. . This package contains the runtime files for libsigx, needed if you wish to run or compile software which depends on it. Package: libsigx-2.0-dev Section: libdevel Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, libsigx-2.0-2 (= ${binary:Version}), pkg-config, libsigc++-2.0-dev, libglibmm-2.4-dev, libglib2.0-dev Suggests: libsigx-2.0-doc Description: interthread communication for C++ - development files This library is an interthread communication library for C++ on top of libsigc++ and glibmm. It provides dispatcher based interthread communication, typesafe functor adaptors to execute functions in the context of another thread, threadsafe wrappers for signals and connections, and deadlock detection for synchronous messages. . This package contains the development files for libsigx, needed only if you wish to write or compile software which uses it. Package: libsigx-2.0-doc Section: doc Architecture: all Depends: ${misc:Depends} Recommends: libsigx-2.0-dev Description: interthread communication for C++ - reference documentation This library is an interthread communication library for C++ on top of libsigc++ and glibmm. It provides dispatcher based interthread communication, typesafe functor adaptors to execute functions in the context of another thread, threadsafe wrappers for signals and connections, and deadlock detection for synchronous messages. . This package contains the reference documentation for libsigx, needed only if you wish to write software which uses it. debian/patches/0000755000000000000000000000000012210671325010614 5ustar debian/patches/Fix-up-broken-SHLINKFLAGS-handling-in-scons.patch0000644000000000000000000000255512210671325021346 0ustar From: Chow Loong Jin Date: Thu, 17 May 2012 14:48:33 +0800 Subject: Fix up broken SHLINKFLAGS handling in scons --- site_scons/site_tools/versionedlibrary.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/site_scons/site_tools/versionedlibrary.py b/site_scons/site_tools/versionedlibrary.py index 435967d..8a9753e 100644 --- a/site_scons/site_tools/versionedlibrary.py +++ b/site_scons/site_tools/versionedlibrary.py @@ -10,12 +10,15 @@ def VersionedLibrary(env, target, major, minor, micro, source): libname = env.subst('$SHLIBPREFIX') + target + env.subst('$SHLIBSUFFIX') soname = libname + ".%d" % major # copy SHLINKFLAGS - [:] splices the whole list/string - shlinkflags = env['SHLINKFLAGS'][:] + shlinkflags = env['SHLINKFLAGS'] + if shlinkflags is not None and type(shlinkflags) == str: + shlinkflags = shlinkflags.split(' '); shlibsuffix = '${SHLIBSUFFIX}' + ".%d.%d.%d" % (major, minor, micro) # write soname into shared library; # TODO: other platforms? (for examples see Richard Levitte's VersionedSharedLibrary function) if platform == 'posix': shlinkflags.append('-Wl,-soname=%s' % (soname)) + shlinkflags.append('-shared') # make the shared library targets += env.SharedLibrary(target = target, source = source, SHLIBSUFFIX = shlibsuffix, SHLINKFLAGS = shlinkflags) debian/patches/Don-t-include-individual-glib-headers.patch0000644000000000000000000000446512210671325020722 0ustar From: Chow Loong Jin Date: Thu, 17 May 2012 13:30:16 +0800 Subject: Don't include individual glib headers Bug-Debian: http://bugs.debian.org/665611 --- sigx/dispatcher.h | 2 +- sigx/validity_trackable.h | 2 +- src/connection_wrapper.cpp | 2 +- src/dispatcher.cpp | 2 +- src/tunnel_validity_tracker.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sigx/dispatcher.h b/sigx/dispatcher.h index 7de478c..3a87d08 100644 --- a/sigx/dispatcher.h +++ b/sigx/dispatcher.h @@ -26,7 +26,7 @@ #include #include -#include // gint +#include // gint #include #include #include diff --git a/sigx/validity_trackable.h b/sigx/validity_trackable.h index f4578ec..7743aab 100644 --- a/sigx/validity_trackable.h +++ b/sigx/validity_trackable.h @@ -22,7 +22,7 @@ #include #include -#include // gint +#include // gint #include #include #include diff --git a/src/connection_wrapper.cpp b/src/connection_wrapper.cpp index 9479d78..bcf475c 100644 --- a/src/connection_wrapper.cpp +++ b/src/connection_wrapper.cpp @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include "sigx/types.h" #include "sigx/connection_wrapper.h" #include "sigx/connection_handler.h" diff --git a/src/dispatcher.cpp b/src/dispatcher.cpp index edefdf2..dac1288 100644 --- a/src/dispatcher.cpp +++ b/src/dispatcher.cpp @@ -16,7 +16,7 @@ * Boston, MA 02110-1301, USA. */ -#include // atomic operations +#include // atomic operations #include #include "sigx/bad_caller.h" #include "sigx/bad_sync_call.h" diff --git a/src/tunnel_validity_tracker.cpp b/src/tunnel_validity_tracker.cpp index 0f53b87..50c9d66 100644 --- a/src/tunnel_validity_tracker.cpp +++ b/src/tunnel_validity_tracker.cpp @@ -19,7 +19,7 @@ #include #include -#include +#include #include // message macros #include #include "sigx/tunnel_validity_tracker.h" debian/patches/Fix-up-LIBDIR-hacking-in-SConstruct.patch0000644000000000000000000000200512210671325020060 0ustar From: Chow Loong Jin Date: Sun, 1 Sep 2013 23:49:22 +0800 Subject: Fix up LIBDIR hacking in SConstruct Don't call env.Append on LIBDIR if already present. Also, derive LIBINCLUDEDIR from LIBDIR. --- SConstruct | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 087f9e5..db5c293 100644 --- a/SConstruct +++ b/SConstruct @@ -268,8 +268,9 @@ env.Append(BUILDERS = { 'M4' : m4_builder }) ######################## env.Append(INSTALL_PREFIX = env['DESTDIR'] + env['PREFIX']) -env.Append(LIBDIR = "%s/lib" % env['INSTALL_PREFIX']) -env.Append(LIBINCLUDEDIR = "%s/lib/%s/" % (env['INSTALL_PREFIX'], env['VERSIONED_NAME'])) +if 'LIBDIR' not in env: + env.Append(LIBDIR = "%s/lib" % env['INSTALL_PREFIX']) +env.Append(LIBINCLUDEDIR = os.path.join(env['LIBDIR'], env['VERSIONED_NAME'])) env.Append(INCLUDEDIR = "%s/include/%s/sigx" % (env['INSTALL_PREFIX'], env['VERSIONED_NAME'])) installpaths = [ env['LIBDIR'], env['LIBINCLUDEDIR'], env['INCLUDEDIR'] ] debian/patches/series0000644000000000000000000000021012210671325012022 0ustar Don-t-include-individual-glib-headers.patch Fix-up-broken-SHLINKFLAGS-handling-in-scons.patch Fix-up-LIBDIR-hacking-in-SConstruct.patch debian/rules0000755000000000000000000000151512210671325010247 0ustar #!/usr/bin/make -f include /usr/share/dpkg/default.mk DEBIAN_DIR := $(dir $(firstword $(MAKEFILE_LIST))) SCONS = scons --directory $(DEB_BUILDDIR) CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" SHLINKFLAGS="$(LDFLAGS)" SCONS_OPTS = \ DESTDIR="$(CURDIR)/debian/tmp/" \ PREFIX=/usr \ LIBDIR=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) get-orig-source: uscan --destdir $(CURDIR) \ --watchfile $(DEBIAN_DIR)/watch \ --repack \ --rename \ --force-download override_dh_auto_clean: scons --keep-going --clean distclean || true rm -rf docs/html \ options.cache \ .sconsign.dblite \ site_scons/site_tools/*.pyc override_dh_auto_build: $(SCONS) $(SCONS_OPTS) $(SCONS) docs $(SCONS_OPTS) override_dh_auto_install: $(SCONS) install $(SCONS_OPTS) %: dh $@ debian/libsigx-2.0-2.install0000644000000000000000000000003412210671325012647 0ustar debian/tmp/usr/lib/*/*.so.* debian/watch0000644000000000000000000000007212210671325010215 0ustar version=3 http://triendl.info/sigx/ sigx-(.*)\.tar\.bz2 debian/libsigx-2.0-doc.doc-base0000644000000000000000000000046112210671325013266 0ustar Document: sigx-2.0 Title: sigx++ manual 2.0 Author: Klaus Triendl and Tim Mayberry Abstract: This manual includes a tutorial and a reference of the sigx library Section: Programming/C++ Format: HTML Index: /usr/share/doc/libsigx-2.0-doc/html/index.html Files: /usr/share/doc/libsigx-2.0-doc/html/*.html