--- bliss-0.72.orig/defs.hh +++ bliss-0.72/defs.hh @@ -23,6 +23,8 @@ along with Foobar. If not, see . */ +#undef BLISS_USE_GMP +#define BLISS_USE_GMP namespace bliss { --- bliss-0.72.orig/debian/blissman.xml +++ bliss-0.72/debian/blissman.xml @@ -0,0 +1,113 @@ + + + + + + BLISS + 1 + May 2009 + bliss version 0.50 + + + bliss + Compute automorphism groups and canonical labelings of graphs + + + + + bliss + options + <graphfile> + + + + + DESCRIPTION + Tool for computing automorphism groups and canonical labelings of graphs + + + + + the input graph is directed + + + + + + compute canonical form + + + + =f + + compute canonical form and output it in file f + + + + =N + + set verbose level to N; N >= 0 and 1 by default + + + + =x + + select splitting heuristics, where x is + + + f + + first non-singleton cell + + + + fl + + first largest non-singleton cell + + + + fs + + first smallest non-singleton cell + + + + fm + + first maximally non-trivially connected non-singleton cell [default] + + + + flm + + first largest maximally non-trivially connected non-singleton cell + + + + fsm + + first smallest maximally non-trivially connected non-singleton cell + + + + + + + + + print the version number and exit + + + + + + print help and exit + + + + + + + --- bliss-0.72.orig/debian/rules +++ bliss-0.72/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +XP=xsltproc -''-nonet + +%: + dh $@ + +override_dh_auto_build: + $(MAKE) -f debian/Makefile.shlib libbliss.so bliss_shlib + # work around bug 622147 + doxygen && rm -f html/jquery.js + $(XP) -o bliss.1 $(DB2MAN) $(CURDIR)/debian/blissman.xml + +override_dh_auto_clean: + $(MAKE) -f debian/Makefile.shlib clean_shlib + rm -rf html + +override_dh_auto_install: + $(MAKE) -f debian/Makefile.shlib DESTDIR=$(CURDIR)/debian/tmp install_shlib + +.PHONY: override_dh_strip +override_dh_strip: + dh_strip -plibbliss1d --dbg-package=libbliss1d-dbg + dh_strip -pbliss --- bliss-0.72.orig/debian/changelog +++ bliss-0.72/debian/changelog @@ -0,0 +1,55 @@ +bliss (0.72-4) unstable; urgency=low + + * Force BLISS_USE_GMP to be defined so that user compiled code matches + the library. + + -- David Bremner Mon, 05 Nov 2012 20:14:20 -0400 + +bliss (0.72-3) unstable; urgency=low + + * Link libbliss.so.1d.0 against gmp (Closes: #685390). + + -- David Bremner Mon, 20 Aug 2012 17:28:30 +0200 + +bliss (0.72-2) unstable; urgency=low + + * Add debugging libraries. + * Actually build with GMP, as promised in README.Debian. + + -- David Bremner Sun, 20 Nov 2011 11:41:31 -0400 + +bliss (0.72-1) unstable; urgency=low + + * Fix changelog bug number typo + * New upstream version + * Bump standards version to 3.9.2 (no changes) + * Update package description, thanks to Martin Eberhard + Schauer and Justin B Rye (Closes: #634057). + + -- David Bremner Sun, 28 Aug 2011 00:58:23 -0300 + +bliss (0.71-2) unstable; urgency=low + + * Remove symbols file (Closes: #626028) + + -- David Bremner Sun, 08 May 2011 06:38:42 -0300 + +bliss (0.71-1) unstable; urgency=low + + * New upstream release + * Replace ligatures in description (Closes: #613480) + * Change section of libbliss0d to libs (Closes: #614606) + + -- David Bremner Thu, 05 May 2011 19:11:51 -0300 + +bliss (0.50-1.1) unstable; urgency=low + + * NMU. Build with unversioned libgmp-dev. + + -- Steve M. Robbins Tue, 15 Mar 2011 01:46:08 -0500 + +bliss (0.50-1) unstable; urgency=low + + * Initial release (Closes: #528925) + + -- David Bremner Thu, 16 Dec 2010 23:34:03 -0400 --- bliss-0.72.orig/debian/bliss.install +++ bliss-0.72/debian/bliss.install @@ -0,0 +1 @@ +bliss usr/bin --- bliss-0.72.orig/debian/watch +++ bliss-0.72/debian/watch @@ -0,0 +1,10 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://www.tcs.hut.fi/Software/bliss bliss-(.*)\.zip + --- bliss-0.72.orig/debian/dirs +++ bliss-0.72/debian/dirs @@ -0,0 +1,5 @@ +usr/bin +usr/lib +usr/include/bliss + + --- bliss-0.72.orig/debian/bliss.manpages +++ bliss-0.72/debian/bliss.manpages @@ -0,0 +1,2 @@ +bliss.1 + --- bliss-0.72.orig/debian/README.Debian +++ bliss-0.72/debian/README.Debian @@ -0,0 +1,10 @@ +Note that the binary and libraries are built with GMP. + +For documentation of the file format, see the bliss homepage + + http://www.tcs.hut.fi/Software/bliss/fileformat.shtml + +Hopefully a future release will include more documentation +in the package. + + -- David Bremner , Sat, 25 Dec 2010 13:33:23 -0400 --- bliss-0.72.orig/debian/libbliss-dev.install +++ bliss-0.72/debian/libbliss-dev.install @@ -0,0 +1,4 @@ +usr/lib/libbliss.a +usr/lib/libbliss.so +usr/include/bliss + --- bliss-0.72.orig/debian/clean +++ bliss-0.72/debian/clean @@ -0,0 +1 @@ +bliss.1 --- bliss-0.72.orig/debian/Makefile.shlib +++ bliss-0.72/debian/Makefile.shlib @@ -0,0 +1,39 @@ +include Makefile + +SONAME=libbliss.so.1d +SOMINOR=0 +SOFULL=$(SONAME).$(SOMINOR) + +GMPSHOBJS=$(addsuffix s, $(GMPOBJS)) + +LIB += -lgmp +CFLAGS += -DBLISS_USE_GMP + +default: libbliss.so + +%.ogs: %.cc + $(CC) -fPIC -c $(CFLAGS) -o $@ $< + +libbliss.so: $(GMPSHOBJS) + $(CC) -shared -Wl,-soname,$(SONAME) $(LIB) -o $(SOFULL) $^ + ln -sf $(SOFULL) $(SONAME) + ln -sf $(SOFULL) libbliss.so + +bliss_shlib: libbliss.so bliss.og + $(CC) $(CFLAGS) -o bliss bliss.og -L. -lbliss -lgmp + +clean_shlib: clean + rm -f *.ogs *.so* + +install_shlib: lib_gmp bliss_shlib libbliss.so + mkdir -p $(DESTDIR)/usr/lib + cp libbliss.a $(DESTDIR)/usr/lib + cp $(SOFULL) $(DESTDIR)/usr/lib + cd $(DESTDIR)/usr/lib && \ + ln -sf $(SOFULL) $(SONAME) && \ + ln -sf $(SOFULL) libbliss.so + mkdir -p $(DESTDIR)/usr/include/bliss + cp *.h $(DESTDIR)/usr/include/bliss + cp *.hh $(DESTDIR)/usr/include/bliss + mkdir -p $(DESTDIR)/usr/bin + cp bliss $(DESTDIR)/usr/bin --- bliss-0.72.orig/debian/control +++ bliss-0.72/debian/control @@ -0,0 +1,60 @@ +Source: bliss +Section: math +Priority: optional +Maintainer: David Bremner +Build-Depends: debhelper (>= 7.0.50~), libgmp-dev, xsltproc, docbook-xsl, + docbook-xml, doxygen +Standards-Version: 3.9.2 +Homepage: http://www.tcs.hut.fi/Software/bliss/index.shtml + +Package: bliss +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: libbliss-dev +Description: tool to compute graph automorphisms and labelings + Bliss is a backtracking algorithm for computing automorphism groups + and canonical forms of graphs, based on individualization and + refinement. Its data structures, subroutines, and pruning heuristics + are specially designed for fast handling of large and sparse graphs. + . + This package provides the command line tool bliss. + +Package: libbliss1d +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: libbliss-dev +Section: libs +Description: library to compute graph automorphisms and labelings + Bliss is a backtracking algorithm for computing automorphism groups + and canonical forms of graphs, based on individualization and + refinement. Its data structures, subroutines, and pruning heuristics + are specially designed for fast handling of large and sparse graphs. + . + This package provides the shared library. + +Package: libbliss-dev +Architecture: any +Depends: ${misc:Depends}, libbliss1d (=${binary:Version}) +Suggests: bliss +Section: libdevel +Description: development files to compute graph automorphisms and labelings + Bliss is a backtracking algorithm for computing automorphism groups + and canonical forms of graphs, based on individualization and + refinement. Its data structures, subroutines, and pruning heuristics + are specially designed for fast handling of large and sparse graphs. + . + This package provides the C/C++ development API. + +Package: libbliss1d-dbg +Architecture: any +Section: debug +Priority: extra +Depends: libbliss1d (= ${binary:Version}), ${misc:Depends} +Description: debugging symbols for libbliss1d + Bliss is a backtracking algorithm for computing automorphism groups + and canonical forms of graphs, based on individualization and + refinement. Its data structures, subroutines, and pruning heuristics + are specially designed for fast handling of large and sparse graphs. + . + This package contains the debugging symbols for libliss1d + --- bliss-0.72.orig/debian/compat +++ bliss-0.72/debian/compat @@ -0,0 +1 @@ +7 --- bliss-0.72.orig/debian/libbliss1d.install +++ bliss-0.72/debian/libbliss1d.install @@ -0,0 +1,2 @@ +usr/lib/libbliss.so.1d +usr/lib/libbliss.so.1d.0 --- bliss-0.72.orig/debian/copyright +++ bliss-0.72/debian/copyright @@ -0,0 +1,28 @@ +% The format of this file is (loosely) based on +% http://wiki.debian.org/Proposals/CopyrightFormat + +Original source download from: + http://www.tcs.hut.fi/Software/bliss/ + +Authors: Tommi Junttila and Petteri Kaski + +Files: * +Copyright: © 2003-2011 Tommi Junttila +Licence: GPL3 +License: + bliss is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License version 3 + as published by the Free Software Foundation. + + bliss 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. + +Files: debian/* +Copyright: © 2009-2011 David Bremner +License: same as upstream + +On Debian systems, the complete text of the GNU General +Public License version 2 can be found in `/usr/share/common-licenses/GPL-3'. + --- bliss-0.72.orig/debian/libbliss-dev.docs +++ bliss-0.72/debian/libbliss-dev.docs @@ -0,0 +1 @@ +html