Codebase list bliss / aabf6fb
Debian patch 0.73-5 Jerome Benoit 3 years ago
21 changed file(s) with 152 addition(s) and 50 deletion(s). Raw diff Collapse all Expand all
0 # /usr/share/doc/bliss-doc/examples/Makefile
0 # /usr/share/doc/bliss/examples/Makefile
11 #
22 # Ad hoc Makefile for building and playing with the sample sources
3 # distributed within the debian package bliss-doc.
3 # distributed within the debian package bliss.
44 #
55 # Recommended usage:
66 # create a dedicated folder somewhere in your HOME directory;
7 # link all the files in /usr/share/doc/bliss-doc/examples in the dedicated folder;
7 # link all the files in /usr/share/doc/bliss/examples in the dedicated folder;
88 # launch this Makefile in the dedicated folder:
9 # $ make ;
9 # $ make
1010 # for a basic cleanup, consider the clean target:
11 # $ make clean ;
11 # $ make clean
1212 # for an entire cleanup, the maintainer-clean target:
13 # $ make maintainer-clean ;
13 # $ make maintainer-clean
1414 # for other targets, just read the Makefile.
1515 #
1616 # written for Debian by Jerome Benoit <calculus@rezozer.net>
1717 # on behalf of the Debian Science Team
18 # copyright: 2016-2019 Jerome Benoit <calculus@rezozer.net>
18 # copyright: 2016-2020 Jerome Benoit <calculus@rezozer.net>
1919 # distributed under the terms and conditions of GPL version 3 or later
2020 #
2121
22 PROGRAMS = $(patsubst %.cc,%,$(wildcard *.cc))
22 SHELL=/bin/bash
2323
2424 default: all
2525
26 CXXFLAGS = -D BLISS_USE_GMP
26 PROGRAMS = \
27 $(patsubst %.cc,%,$(wildcard *.cc))
2728
28 LDLIBS = -lbliss -lgmp
29 RESULTFILES = \
30 $(patsubst %.col,%-col.result,$(wildcard *.col))
2931
30 all: build
32 DIFFFILES = \
33 $(patsubst %.output,%.diff,$(wildcard *-col.output))
34
35 CXXFLAGS = $(shell pkg-config libbliss-cxx --cflags)
36 LDXXLIBS = $(shell pkg-config libbliss-cxx --libs)
37
38 CXXFLAGS += -Wall -g
39
40 all: build check
3141
3242 build: $(PROGRAMS)
3343
34 check: build
35 ./bliss myciel3.col
44 checkclean:
45 $(RM) $(DIFFFILES) $(RESULTFILES)
3646
37 clean:
47 check-run: $(RESULTFILES)
48
49 check-res: $(DIFFFILES)
50
51 check: checkclean check-run check-res
52
53 clean: checkclean
3854 $(RM) $(PROGRAMS)
3955
4056 maintainer-clean: clean
57
58 % : %.cc
59 $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $< $(LDXXLIBS)
60
61 %-col.result : %.col bliss
62 @echo "===8><--- $< ---"
63 ( set -o pipefail ; ./bliss $< | tee $@ )
64 @echo "----------><8==="
65 @echo
66
67 %.diff : %.result %.output
68 @echo "===8><--- $* ---"
69 ( set -o pipefail ; diff -N $^ | tee $@ )
70 @echo "----------><8==="
71 @echo
72
73 .PRECIOUS: %.result
74
75 .DELETE_ON_ERROR:
76
77 .NOTPARALLEL:
0 Generator: (2,4)(3,5)(7,9)(8,10)
1 Generator: (1,2)(3,4)(6,7)(8,9)
2 Nodes: 6
3 Leaf nodes: 4
4 Bad nodes: 0
5 Canrep updates: 1
6 Generators: 2
7 Max level: 2
8 |Aut|: 10
9 Total time: 0.00 seconds
99 Section: Science/Mathematics
1010
1111 Format: HTML
12 Index: /usr/share/doc/bliss-doc/html/index.html
13 Files: /usr/share/doc/bliss-doc/html/*.html
12 Index: /usr/share/doc/bliss/html/index.html
13 Files: /usr/share/doc/bliss/html/*.html
1414
1515 Format: PDF
16 Files: /usr/share/doc/bliss-doc/bliss_refman.pdf
16 Files: /usr/share/doc/bliss/bliss_refman.pdf
+0
-2
debian/bliss-doc.lintian-overrides less more
0 # the upstream source ball contains no changelog file
1 no-upstream-changelog
00 dir_to_symlink /usr/share/doc/bliss /usr/share/doc/libbliss2 0.73-1~
1 symlink_to_dir /usr/share/doc/bliss /usr/share/doc/libbliss2 0.73-5~
0 bliss (0.73-5) unstable; urgency=medium
1
2 * Debianization:
3 - debian/copyright:
4 - copyright year tuples, update;
5 - debian/control:
6 - Maintainer address, update;
7 - Rules-Requires-Root, introduce and set to no;
8 - Standards Version, bump to 4.5.1 (no change);
9 - Build-Depends, migrate to debhelper-compat (=13) (major changes);
10 - libbliss-dev depends on libgmp-dev version 2:6.2.0 or higher
11 (pkg-config support);
12 - debian/rules:
13 - override_dh_installdocs target, discard (dh migration);
14 - override_dh_missing target, idem;
15 - debian/*.lintian-overrides:
16 - d/{bliss-doc,libbliss-dev-common}.l-o, discard (update routine);
17 - d/libbliss2.l-o, refreah (idem);
18 - debian/{bliss,libbliss-dev}.maintscript, update (dh migration);
19 - debian/compat, discard (debhelper migration).
20 - debia/tests/*:
21 - d/t/build-examples:
22 - replace ADTTMP with AUTOPKGTEST_TMP;
23 - make invocation, add -k option;
24 - paths, refresh (debhelper migration);
25 - build-examples Tests Depends field, add pkg-config;
26 - debian/patches/*:
27 - d/p/upstream-autotoolization.patch, add pkg-config support;
28 - debian/libbliss-dev.install, install now pkg-config metadat file;
29 - debian/adhoc/examples/*:
30 - d/a/e/myciel3-col.output, introduce;
31 - d/a/e/Makefile, harden;
32 - debian/upstream/metadata, introduce.
33
34 -- Jerome Benoit <calculus@rezozer.net> Fri, 25 Dec 2020 15:02:34 +0000
35
036 bliss (0.73-4) unstable; urgency=medium
137
238 * Upload to unstable.
+0
-1
debian/compat less more
0 9
00 Source: bliss
11 Section: math
22 Priority: optional
3 Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
3 Maintainer: Debian Science Maintainers <debian-science-maintainers@alioth-lists.debian.net>
44 Uploaders: Jerome Benoit <calculus@rezozer.net>
5 Rules-Requires-Root: no
56 Build-Depends:
6 debhelper (>= 9),
7 autotools-dev, dh-autoreconf, libtool, help2man,
7 debhelper-compat (= 13),
8 libtool, help2man,
89 libgmp-dev
910 Build-Depends-Indep:
1011 doxygen, doxygen-latex, graphviz,
1112 rdfind, symlinks
12 Standards-Version: 4.4.0
13 Standards-Version: 4.5.1
1314 Homepage: http://www.tcs.hut.fi/Software/bliss/
1415 Vcs-Git: https://salsa.debian.org/science-team/bliss.git
1516 Vcs-Browser: https://salsa.debian.org/science-team/bliss
3738 Section: libdevel
3839 Depends:
3940 libbliss2 (=${binary:Version}), libbliss-dev-common (= ${source:Version}),
40 libgmp-dev, ${misc:Depends}
41 libgmp-dev (>= 2:6.2.0), ${misc:Depends}
4142 Description: development files to compute graph automorphisms and labelings -- libdev
4243 Bliss is a backtracking algorithm for computing automorphism groups
4344 and canonical forms of graphs, based on individualization and
66
77 Files: *
88 Copyright:
9 2003-2019 Tommi Junttila
9 2003-2020 Tommi Junttila
1010 License: LGPL-3+
1111
1212 Files: debian/*
1313 Copyright:
14 2016-2019 Jerome Benoit <calculus@rezozer.net>
14 2016-2020 Jerome Benoit <calculus@rezozer.net>
1515 2009-2013 David Bremner <bremner@unb.ca>
1616 License: GPL-3+
1717
1818 Files: debian/adhoc/examples/myciel3.col
1919 Copyright:
20 1994-2019 Michael Trick <trick@cmu.edu>
20 1994-2020 Michael Trick <trick@cmu.edu>
2121 License: public-domain
2222 This file is public domain and comes with NO WARRANTY of any kind.
2323 Comment:
+0
-2
debian/libbliss-dev-common.lintian-overrides less more
0 # the upstream source ball contains no changelog file
1 no-upstream-changelog
00 usr/lib/*/libbliss.so
11 usr/lib/*/libbliss.a
2 #usr/lib/*/pkgconfig/*
2 usr/lib/*/pkgconfig/*
00 dir_to_symlink /usr/share/doc/libbliss-dev /usr/share/doc/libbliss-dev-common 0.73-1~
1 symlink_to_dir /usr/share/doc/libbliss-dev /usr/share/doc/libbliss-dev-common 0.73-5~
0 # The upstream source ball contains no changelog file
1 no-upstream-changelog
2
30 # Unknown mathematical heuristics, consistency checks, validation checks,
41 # are eventually managed with exit(1): this looks as a clumsy DEBUG policy
52 # rather than a design issue, nevertheless it is unlikely to be fixed
85 # Out of memory events are also eventually managed with exit(1): this looks
96 # as a clumsy emergency exit policy rather than a design issue that may be
107 # revisited only to please lintian(1).
11 shlib-calls-exit
8 exit-in-shared-library
129
1310 # The upstream source contains C++ code with a defined API but without ABI.
1411 no-symbols-control-file
11 Meant to maintain a minimal debian/rules, to fix warnings,
22 to address Debian specific stuff in general.
33 Origin: debian
4 Forwarded: not-needed
45 Author: Jerome Benoit <calculus@rezozer.net>
56 Last-Update: 2016-03-31
67
1718
1819 --- a/Makefile.am
1920 +++ b/Makefile.am
20 @@ -64,6 +64,7 @@
21 @@ -68,6 +68,7 @@
2122 bliss.cc
2223
2324 bliss_CXXFLAGS = \
11 Attempt to provide an autotools chain for bliss;
22 meant to be submitted to the upstream team.
33 Origin: debian
4 Forwarded: by-email
45 Author: Jerome Benoit <calculus@rezozer.net>
5 Last-Update: 2016-03-31
6 Last-Update: 2020-12-25
67
78 --- /dev/null
89 +++ b/configure.ac
9 @@ -0,0 +1,37 @@
10 @@ -0,0 +1,38 @@
1011 +dnl Process this file with autoconf to produce a configure script.
1112 +AC_PREREQ([2.69])
1213 +LT_PREREQ([2.4.2])
3637 +AM_PATH_GMP([6.1.0],[],[AC_MSG_ERROR(could not find required version of GMP)])
3738 +
3839 +AC_CONFIG_FILES([
40 + libbliss-cxx.pc
3941 + include/Makefile
4042 + include/bliss/Makefile
4143 + Makefile
451453 +# DO NOT DELETE
452454 --- /dev/null
453455 +++ b/Makefile.am
454 @@ -0,0 +1,71 @@
456 @@ -0,0 +1,75 @@
455457 +ACLOCAL_AMFLAGS = -I m4
456458 +
457459 +AUTOMAKE_OPTIONS = \
489491 +
490492 +bin_PROGRAMS = bliss
491493 +
494 +pkgconfigdir = $(libdir)/pkgconfig
495 +pkgconfig_DATA = libbliss-cxx.pc
496 +
497 +
492498 +libbliss_la_SOURCES = \
493499 + defs.cc \
494500 + graph.cc \
543549 +++ b/include/Makefile.am
544550 @@ -0,0 +1 @@
545551 +SUBDIRS = bliss
552 --- /dev/null
553 +++ b/libbliss-cxx.pc.in
554 @@ -0,0 +1,12 @@
555 +prefix=@prefix@
556 +exec_prefix=@exec_prefix@
557 +libdir=@libdir@
558 +includedir=@includedir@
559 +
560 +Name: bliss C++ library
561 +Description: library to compute graph automorphisms and labelings
562 +Requires: gmp
563 +Version: @PACKAGE_VERSION@
564 +URL: @PACKAGE_URL@
565 +Cflags: -D BLISS_USE_GMP -I${includedir}
566 +Libs: -L${libdir} -lbliss
22 wrt UN*X customs in view to employ help2man to generate a manpage;
33 meant to be submitted to the upstream maintainer team.
44 Origin: debian
5 Forwarded: by-email
56 Author: Jerome Benoit <calculus@rezozer.net>
67 Last-Update: 2016-04-24
78
22 than local to avoid name collisions; meant to be submitted to the
33 upstream maintainer.
44 Origin: debian
5 Forwarded: by-email
56 Author: Jerome Benoit <calculus@rezozer.net>
67 Last-Update: 2016-04-23
78
99 @uscan --no-conf --dehs --report || true
1010
1111 %:
12 dh $@ --with autoreconf --builddirectory=_build --parallel
12 dh $@ --builddirectory=_build
1313
1414 override_dh_auto_build-indep:
1515 $(MAKE) -f debian/adhoc/Makefile doc
2323 override_dh_auto_install-indep:
2424 $(MAKE) -C _build install-data-am DESTDIR=$(CURDIR)/debian/tmp
2525
26 override_dh_installdocs:
27 dh_installdocs -pbliss --link-doc=libbliss2
28 dh_installdocs -plibbliss-dev --link-doc=libbliss-dev-common
29 dh_installdocs --remaining-packages
30
3126 override_dh_compress-indep:
3227 dh_compress -X.pdf -Xexamples
28
29 override_dh_missing:
30 dh_missing -X.la
00 #!/bin/sh
11 # autopkgtest check: build [and launch] program examples
22 set -ue
3 cd $ADTTMP
3 cd $AUTOPKGTEST_TMP
44
5 cp -prd /usr/share/doc/bliss-doc/examples .
5 cp -prd /usr/share/doc/bliss/examples .
66 cd examples
77
8 make check
8 make -k check
99
1010 exit 0
0 Test-command: bliss /usr/share/doc/bliss-doc/examples/myciel3.col
0 Test-command: bliss /usr/share/doc/bliss/examples/myciel3.col
11 Depends: bliss, bliss-doc
22
33 Tests: build-examples
4 Depends: bliss-doc, libbliss-dev, build-essential
4 Depends: bliss-doc, libbliss-dev, build-essential, pkg-config
0 ---
1 Documentation: http://www.tcs.hut.fi/Software/bliss/