debian/0000755000000000000000000000000012144213344007164 5ustar debian/source/0000755000000000000000000000000012144206762010472 5ustar debian/source/format0000644000000000000000000000001412144206772011701 0ustar 3.0 (quilt) debian/libxplc-dev.install0000644000000000000000000000020310130665774012773 0ustar debian/tmp/usr/include/* debian/tmp/usr/lib/xplc-*/*.a debian/tmp/usr/lib/xplc-*/libxplc.so debian/tmp/usr/lib/pkgconfig/xplc-*.pc debian/copyright0000644000000000000000000000452212144206611011121 0ustar This package was debianized by James Morrison on Mon, 23 Oct 2003 19:49:14 -0400. It was downloaded from http://xplc.sourceforge.net/ Upstream Author: Pierre Phaneuf Copyright: XPLC is released under the terms of the GNU Lesser General Public License (LGPL) which can be found on Debian systems in the following file: /usr/share/common-licenses/LGPL-2.1 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 Lesser General Public License for more details. XPLC is Copyright 2000-2004, Pierre Phaneuf, Copyright (C) 2000-2004 Stéphane Lajoie and Copyright (C) 2002-2005 Net Integration Technologies, Inc. This package also contains libuuid, which is extracted from e2fsprogs-1.38: Copyright (C) 1996, 1997 Theodore Ts'o. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, and the entire permission notice in its entirety, including the disclaimer of warranties. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/source.lintian-overrides0000644000000000000000000000003610130620201014026 0ustar xplc: source-contains-CVS-dir debian/uuidcdef.manpages0000644000000000000000000000005110326213014012457 0ustar debian/tmp/usr/share/man/man1/uuidcdef.1 debian/control.in0000644000000000000000000000300710331515666011204 0ustar Source: xplc Section: libs Priority: optional Maintainer: Simon Law Uploaders: James Morrison Build-Depends: uuid-dev, cdbs, debhelper (>= 4.1.0) Standards-Version: 3.6.2.0 Package: libxplc@VERSION@ Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Light weight component system XPLC ("Cross-Platform Lightweight Components") is a component system that will provide extensibility and reusability both inside and between applications, while being portable across platforms (and languages) and having the lowest possible overhead (both in machine resources and programming effort). Package: libxplc@VERSION@-dev Section: libdevel Architecture: any Depends: libxplc@VERSION@ (= ${Source-Version}), uuidcdef, ${shlibs:Depends} Description: Light weight component system (Development libraries and headers) XPLC ("Cross-Platform Lightweight Components") is a component system that will provide extensibility and reusability both inside and between applications, while being portable across platforms (and languages) and having the lowest possible overhead (both in machine resources and programming effort). Package: uuidcdef Section: devel Architecture: any Depends: ${shlibs:Depends} Description: Universally Unique Identifier (UUID) generator This utility generates univerally unique identifiers (UUIDs). It also manages to print them out in OSF form, or as a C structure when handling them in programs, as is the case for an XPLC-enabled library. debian/libxplc-dev.examples0000644000000000000000000000001310131316074013125 0ustar examples/* debian/changelog0000644000000000000000000001021712144213343011036 0ustar xplc (0.3.13-4) unstable; urgency=low * QA upload. * Change to source 3.0 (quilt) format. * Fix FTBFS on GNU/Hurd. (Closes: #671384, #686267). - Thanks to Svante Signell and Cyril Roelandt for the patches. * Support --as-needed. (Closes: #606835). - Thanks to Stefan Potyra for the patch. -- Barry deFreese Mon, 13 May 2013 12:00:03 -0400 xplc (0.3.13-3) unstable; urgency=low * QA upload * Build with -fno-strict-aliasing all the time to work around an aliasing bug. Patch taken from ubuntu, see launchpad bug#437726. Thanks a lot to Michael Hope for the hint (closes: #513512). -- Ralf Treinen Thu, 12 Aug 2010 21:04:43 +0200 xplc (0.3.13-2) unstable; urgency=low * QA upload. + Set maintainer to Debian QA Group . + Remove current maintainer. (Closes: #487141). * Add Homepage field. * Add ${misc:Depends}. * Update ${Source-Version} to ${binary:Version}. * Add watch file. * Convert debian/copyright to UTF-8. * Bump debhelper build-dep to 5. * Bump Standards Version to 3.8.0. -- Barry deFreese Thu, 29 Jan 2009 12:11:51 -0500 xplc (0.3.13-1) unstable; urgency=low * New upstream release. - Includes /usr/bin/uuidcdef. (Closes: Bug#310755) * Built for G++ 4.0. -- Simon Law Fri, 21 Oct 2005 09:48:37 -0400 xplc (0.3.11-1) unstable; urgency=low * New Upstream release. (Closes: #286505) * Acknowledge NMU. (Closes: #290424) -- James Morrison Tue, 22 Mar 2005 22:57:10 -0500 xplc (0.3.10-3.1) unstable; urgency=low * Non-maintainer upload. * Fix for int size issues that break building on 64-bit platforms; not release-critical for this package, but is holding up RC bugfixes for packages that reverse-depend on xplc. Thanks to Kurt Roeckx for the patch. (Closes: #286505) * Invoke ldconfig as /sbin/ldconfig, fixing build failures when /sbin is not part of the path (as is the case on many third-party build systems). Closes: #290424 -- Steve Langasek Tue, 18 Jan 2005 03:57:10 -0800 xplc (0.3.10-3) unstable; urgency=low * Add a Build-Depends for debhelper, which I though cdbs pulled in automatically. (Closes: Bug#283884) -- Simon Law Thu, 2 Dec 2004 07:52:49 -0500 xplc (0.3.10-2) unstable; urgency=low * Install examples into libxplc-dev. -- Simon Law Thu, 07 Oct 2004 15:02:12 -0400 xplc (0.3.10-1) unstable; urgency=low * New upstream release. (Closes: Bug#281786) * New maintainer. * Renamed libxplc and libxplc-dev to reflect that they have unstable API and ABIs. -- Simon Law Mon, 04 Oct 2004 18:45:49 -0400 xplc (0.3.9-1) unstable; urgency=low * New upstream release. -- Pierre Phaneuf Mon, 27 Sep 2004 19:25:31 +0000 xplc (0.3.8-1) unstable; urgency=low * New upstream release. -- Pierre Phaneuf Tue, 20 Jul 2004 21:32:32 +0000 xplc (0.3.7-1) unstable; urgency=low * New upstream release. -- Pierre Phaneuf Thu, 1 Jul 2004 20:37:52 +0000 xplc (0.3.6-1) unstable; urgency=low * New upstream release. -- Pierre Phaneuf Fri, 25 Jun 2004 18:50:16 +0000 xplc (0.3.5-1) unstable; urgency=low * New upstream release. -- Pierre Phaneuf Fri, 21 May 2004 20:27:00 +0000 xplc (0.3.4-1) unstable; urgency=low * New upstream release. -- Pierre Phaneuf Wed, 7 Apr 2004 15:03:24 -0400 xplc (0.3.3-1) unstable; urgency=low * New upstream release. -- Pierre Phaneuf Sat, 20 Mar 2004 15:00:58 -0500 xplc (0.3.2-1) unstable; urgency=low * New upstream release. -- Pierre Phaneuf Fri, 9 Jan 2004 10:01:00 -0500 xplc (0.3.1-1) unstable; urgency=low * New upstream release. * Made the libxplc-dev package depend on the libxplc package. -- Pierre Phaneuf Fri, 12 Dec 2003 16:18:23 -0500 xplc (0.3.0-1) unstable; urgency=low * Package xplc. -- James Morrison Fri, 24 Oct 2003 17:48:36 -0400 debian/watch0000644000000000000000000000006512144206611010215 0ustar version=3 http://sf.net/xplc/xplc-([\d.]+)\.tar\.gz debian/rules0000755000000000000000000000261512144206611010247 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk CFLAGS = -g -O2 -fno-strict-aliasing CXXFLAGS = -g -O2 -fno-strict-aliasing # Specify the 'make check' target DEB_MAKE_CHECK_TARGET := tests # Determine the version of XPLC automatically PKG_VERSION := $(shell awk -F, '/AC_INIT/{print $$2}' configure.ac \ | sed 's/[ ]//g') # Don't install the CVS/ and .cvsignore from the examples DEB_INSTALL_EXAMPLES_libxplc$(PKG_VERSION)-dev := -XCVS -X.cvsignore # Make sure the install files are in the right place build/libxplc$(PKG_VERSION):: cp -f debian/libxplc.install debian/libxplc$(PKG_VERSION).install cleanbuilddir/libxplc$(PKG_VERSION):: rm -f debian/libxplc$(PKG_VERSION).install build/libxplc$(PKG_VERSION)-dev:: cp -f debian/libxplc-dev.install debian/libxplc$(PKG_VERSION)-dev.install cp -f debian/libxplc-dev.examples debian/libxplc$(PKG_VERSION)-dev.examples cleanbuilddir/libxplc$(PKG_VERSION)-dev:: rm -f debian/libxplc$(PKG_VERSION)-dev.install rm -f debian/libxplc$(PKG_VERSION)-dev.examples # Fix ldconfig-symlink-missing-for-shlib binary-predeb/libxplc$(PKG_VERSION):: /sbin/ldconfig -v -n debian/libxplc$(PKG_VERSION)/usr/lib # Turn symlinks into the real binary install/uuidcdef:: ln -f debian/tmp/usr/bin/uuidgen debian/tmp/usr/bin/uuidcdef ln -f debian/tmp/usr/share/man/man1/uuidgen.1 debian/tmp/usr/share/man/man1/uuidcdef debian/control0000644000000000000000000000304112144206611010564 0ustar Source: xplc Section: libs Priority: optional Maintainer: Debian QA Group Build-Depends: uuid-dev, cdbs, debhelper (>= 5.0.0) Standards-Version: 3.8.0 Homepage: http://xplc.sourceforge.net/ Package: libxplc0.3.13 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Light weight component system XPLC ("Cross-Platform Lightweight Components") is a component system that will provide extensibility and reusability both inside and between applications, while being portable across platforms (and languages) and having the lowest possible overhead (both in machine resources and programming effort). Package: libxplc0.3.13-dev Section: libdevel Architecture: any Depends: libxplc0.3.13 (= ${binary:Version}), uuidcdef, ${shlibs:Depends}, ${misc:Depends} Description: Light weight component system (Development libraries and headers) XPLC ("Cross-Platform Lightweight Components") is a component system that will provide extensibility and reusability both inside and between applications, while being portable across platforms (and languages) and having the lowest possible overhead (both in machine resources and programming effort). Package: uuidcdef Section: devel Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Universally Unique Identifier (UUID) generator This utility generates univerally unique identifiers (UUIDs). It also manages to print them out in OSF form, or as a C structure when handling them in programs, as is the case for an XPLC-enabled library. debian/patches/0000755000000000000000000000000012144206716010620 5ustar debian/patches/001-hurd-ftbfs.patch0000644000000000000000000000225412144206716014206 0ustar Index: xplc-0.3.13/xplc/modulemgr.cpp =================================================================== --- xplc-0.3.13.orig/xplc/modulemgr.cpp 2004-09-30 17:09:54.000000000 -0400 +++ xplc-0.3.13/xplc/modulemgr.cpp 2013-05-13 09:14:17.000000000 -0400 @@ -29,6 +29,12 @@ #ifdef HAVE_STDINT_H # include #endif +#ifdef HAVE_STDLIB_H +# include +#endif +#ifdef HAVE_STRING_H +# include +#endif #ifdef HAVE_LIMITS_H # include #endif @@ -83,7 +89,8 @@ #if !defined(WIN32) DIR* dir; struct dirent* ent; - char fname[PATH_MAX]; + char *fname = NULL; + int len = 0; IServiceManager* servmgr = XPLC_getServiceManager(); IModuleLoader* loader; ModuleNode* modules = 0; @@ -106,7 +113,10 @@ while((ent = readdir(dir))) { IModule* module; - snprintf(fname, PATH_MAX, "%s/%s", directory, ent->d_name); + len = strlen(directory) + 1 + strlen(ent->d_name) + 1; + free(fname); + fname = (char*)malloc(len); + snprintf(fname, len, "%s/%s", directory, ent->d_name); module = loader->loadModule(fname); if(module) { @@ -117,6 +127,7 @@ } } + free(fname); loader->release(); closedir(dir); debian/patches/series0000644000000000000000000000005512144206716012035 0ustar 001-hurd-ftbfs.patch 002-fix-as-needed.patch debian/patches/002-fix-as-needed.patch0000644000000000000000000000145012144206716014551 0ustar Index: xplc-0.3.13/config/rules.mk =================================================================== --- xplc-0.3.13.orig/config/rules.mk 2005-10-31 17:33:26.000000000 -0500 +++ xplc-0.3.13/config/rules.mk 2013-05-13 11:55:42.000000000 -0400 @@ -44,7 +44,7 @@ $(RANLIB) $@ %.so: - $(LINK.cc) $(SHARED) $^ -o $@ + $(LINK.cc) $(SHARED) $^ -o $@ $($*_LDADD) %.dll: $(LINK.cc) $(SHARED) $^ -o $@ Index: xplc-0.3.13/xplc/vars.mk =================================================================== --- xplc-0.3.13.orig/xplc/vars.mk 2013-05-13 11:55:20.000000000 -0400 +++ xplc-0.3.13/xplc/vars.mk 2013-05-13 11:55:42.000000000 -0400 @@ -32,7 +32,7 @@ ifneq ("$(enable_loader)", "no") ifneq ("$(with_dlopen)", "no") -libxplc.so: LDFLAGS+=$(with_dlopen) +libxplc_LDADD=$(with_dlopen) endif endif debian/libxplc-dev.examples.debdiff0000644000000000000000000000001312144206611014510 0ustar examples/* debian/libxplc.install0000644000000000000000000000004107755244227012224 0ustar debian/tmp/usr/lib/libxplc.so.0* debian/uuidcdef.install0000644000000000000000000000003410326213014012333 0ustar debian/tmp/usr/bin/uuidcdef