debian/0000775000000000000000000000000012250434574007176 5ustar debian/rules0000775000000000000000000000440312250434236010252 0ustar #!/usr/bin/make -f # -*- makefile -*- # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif # option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so version=`ls src/.libs/lib*.so.* | \ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` major=`ls src/.libs/lib*.so.* | \ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` config.status: configure dh_testdir CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info build: build-stamp build-stamp: config.status dh_testdir $(MAKE) touch build-stamp configure: ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif clean: dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || $(MAKE) distclean rm -f config.guess config.sub dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/libmodglue1 DEVDESTDIR=$(CURDIR)/debian/libmodglue1-dev rm `find $(CURDIR)/debian -name '*.la'` # Build architecture-independent files here. binary-indep: build install dh_testdir -i dh_testroot -i dh_installchangelogs -i ChangeLog dh_installdocs -i debian/copyright dh_installexamples -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i # Build architecture-dependent files here. binary-arch: build install dh_testdir -a dh_testroot -a dh_installchangelogs -a ChangeLog dh_installdocs -a dh_installman -a dh_strip -a dh_compress -a dh_fixperms -a dh_makeshlibs -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/watch0000664000000000000000000000011112250434313010207 0ustar version=3 http://cadabra.phi-sci.com/download.html modglue-(.+)\.tar\.gz debian/changelog0000664000000000000000000000366512250434516011056 0ustar modglue (1.19-0ubuntu1) trusty; urgency=low * New upstream release. * Update debian/watch. * Refresh patch. -- Logan Rosen Fri, 06 Dec 2013 15:51:38 -0500 modglue (1.17-2.1) unstable; urgency=low * Non-maintainer upload. * Don't ship .la files (Closes: #622533). * Add sigc++ libs for linking (Closes: #555662). * Make sure the package is binNMUable. -- Luk Claes Sun, 26 Jun 2011 10:00:47 +0200 modglue (1.17-2) unstable; urgency=low * Replace ${binary:Version} with libmodglue1 (= ${binary:Version}). libmodglue1-dev became uninstallable in Sid as it depended on the package "1.17-1" which obviously didn't exist. Closes: #583816. -- Iulian Udrea Mon, 31 May 2010 10:12:17 +0100 modglue (1.17-1) unstable; urgency=low * New upstream release. + Fix FTBFS. Closes: #582996. + Remove RPATH from prompt. + Fix 'incorrect-libdir-in-la-file usr/lib/libmodglue.la /usr//lib != /usr/lib' lintian error. * Add chrpath to Build-Depends. * Add ${binary:Version} to fix 'weak-library-dev-dependency' lintian error. -- Iulian Udrea Fri, 28 May 2010 19:32:22 +0100 modglue (1.16-1) unstable; urgency=low * New upstream release. + Fixed problem with gcc-4.4. * New maintainer. * debian/control: - Add DM-Upload-Allowed field. - Bump Standards-Version to 3.8.4 (no changes required). - Add ${misc:Depends} to both libmodglue1 and libmodglue1-dev * Use DEP-5: Machine-readable debian/copyright. * Add myself to copyright. * Drop debian/patches/01-gcc44_ftbfs.dpatch * Remove dpatch from debian/rules and debian/control. * Switch to 3.0 (quilt) source format. * Bump debhelper version to 7.0.50. -- Iulian Udrea Tue, 25 May 2010 13:50:05 +0100 modglue (1.13-1) unstable; urgency=low * Initial release. -- Gürkan Sengün Wed, 19 Aug 2009 16:11:15 +0200 debian/compat0000664000000000000000000000000212250434236010367 0ustar 7 debian/copyright0000664000000000000000000000357112250434236011132 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn? op=file&rev=59 Name: modglue Maintainer: Kasper Peeters Source: http://www.aei.mpg.de/~peekas/modglue/ Files: * Copyright: Copyright (C) 2000-2009 by Kasper Peeters 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; version 2. 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. On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. Files: debian/* Copyright: (C) 2006, Kasper Peeters (C) 2009, Gürkan Sengün (C) 2010, Iulian Udrea License: GPL-3 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 3 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, see . debian/source/0000775000000000000000000000000012250434574010476 5ustar debian/source/format0000664000000000000000000000001412250434236011677 0ustar 3.0 (quilt) debian/libmodglue1-dev.examples0000664000000000000000000000001412250434236013704 0ustar examples/* debian/control0000664000000000000000000000262012250434236010574 0ustar Source: modglue Section: libs Priority: optional Maintainer: Iulian Udrea Uploaders: Kasper Peeters DM-Upload-Allowed: yes Homepage: http://www.aei.mpg.de/~peekas/modglue/ Build-Depends: debhelper (>= 7.0.50), pkg-config, libsigc++-2.0-dev, libtool, chrpath Standards-Version: 3.8.4 Package: libmodglue1-dev Section: libdevel Architecture: all Depends: libmodglue1 (>= ${binary:Version}), ${misc:Depends} Description: development files for a C++ library for handling of multiple co-processes Modglue is a C++ library with classes for forking external processes and asynchronous reading from streams. It takes away the burden of all subtleties involving the Unix fork call. The asynchronous read facility enables one to read on multiple input streams at the same time, without losing any of the standard C++ stream facilities. . This package contains the development header files. Package: libmodglue1 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: C++ library for handling of multiple co-processes Modglue is a C++ library with classes for forking external processes and asynchronous reading from streams. It takes away the burden of all subtleties involving the Unix fork call. The asynchronous read facility enables one to read on multiple input streams at the same time, without losing any of the standard C++ stream facilities. debian/patches/0000775000000000000000000000000012250434574010625 5ustar debian/patches/series0000664000000000000000000000003512250434236012033 0ustar 01_fix_libs_in_linking_tests debian/patches/01_fix_libs_in_linking_tests0000664000000000000000000000146112250434547016274 0ustar Description: Fixes Makefile template to include sigc++ 2.0 libraries in tests. . Forwarded: not-needed Author: Sebastian Carneiro Last-Update: 2013-12-06 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -60,13 +60,13 @@ ${MPHASE} -o test_child_process $< libmodglue.la test_ext_process: test_ext_process.o - ${MPHASE} -o test_ext_process $< libmodglue.la + ${MPHASE} -o test_ext_process `pkg-config sigc++-2.0 --libs` $< libmodglue.la test_pipe: test_pipe.o - ${MPHASE} -o test_pipe $< libmodglue.la + ${MPHASE} -o test_pipe `pkg-config sigc++-2.0 --libs` $< libmodglue.la test_writes: test_writes.o - ${MPHASE} -o test_writes $< libmodglue.la + ${MPHASE} -o test_writes `pkg-config sigc++-2.0 --libs` $< libmodglue.la #------- Tools ----------------------------------------