Debian patch 0.73-5
Jerome Benoit
3 years ago
0 | # /usr/share/doc/bliss-doc/examples/Makefile | |
0 | # /usr/share/doc/bliss/examples/Makefile | |
1 | 1 | # |
2 | 2 | # 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. | |
4 | 4 | # |
5 | 5 | # Recommended usage: |
6 | 6 | # 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; | |
8 | 8 | # launch this Makefile in the dedicated folder: |
9 | # $ make ; | |
9 | # $ make | |
10 | 10 | # for a basic cleanup, consider the clean target: |
11 | # $ make clean ; | |
11 | # $ make clean | |
12 | 12 | # for an entire cleanup, the maintainer-clean target: |
13 | # $ make maintainer-clean ; | |
13 | # $ make maintainer-clean | |
14 | 14 | # for other targets, just read the Makefile. |
15 | 15 | # |
16 | 16 | # written for Debian by Jerome Benoit <calculus@rezozer.net> |
17 | 17 | # 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> | |
19 | 19 | # distributed under the terms and conditions of GPL version 3 or later |
20 | 20 | # |
21 | 21 | |
22 | PROGRAMS = $(patsubst %.cc,%,$(wildcard *.cc)) | |
22 | SHELL=/bin/bash | |
23 | 23 | |
24 | 24 | default: all |
25 | 25 | |
26 | CXXFLAGS = -D BLISS_USE_GMP | |
26 | PROGRAMS = \ | |
27 | $(patsubst %.cc,%,$(wildcard *.cc)) | |
27 | 28 | |
28 | LDLIBS = -lbliss -lgmp | |
29 | RESULTFILES = \ | |
30 | $(patsubst %.col,%-col.result,$(wildcard *.col)) | |
29 | 31 | |
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 | |
31 | 41 | |
32 | 42 | build: $(PROGRAMS) |
33 | 43 | |
34 | check: build | |
35 | ./bliss myciel3.col | |
44 | checkclean: | |
45 | $(RM) $(DIFFFILES) $(RESULTFILES) | |
36 | 46 | |
37 | clean: | |
47 | check-run: $(RESULTFILES) | |
48 | ||
49 | check-res: $(DIFFFILES) | |
50 | ||
51 | check: checkclean check-run check-res | |
52 | ||
53 | clean: checkclean | |
38 | 54 | $(RM) $(PROGRAMS) |
39 | 55 | |
40 | 56 | 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 |
9 | 9 | Section: Science/Mathematics |
10 | 10 | |
11 | 11 | 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 | |
14 | 14 | |
15 | 15 | Format: PDF |
16 | Files: /usr/share/doc/bliss-doc/bliss_refman.pdf | |
16 | Files: /usr/share/doc/bliss/bliss_refman.pdf |
0 | 0 | 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 | ||
0 | 36 | bliss (0.73-4) unstable; urgency=medium |
1 | 37 | |
2 | 38 | * Upload to unstable. |
0 | 0 | Source: bliss |
1 | 1 | Section: math |
2 | 2 | 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> | |
4 | 4 | Uploaders: Jerome Benoit <calculus@rezozer.net> |
5 | Rules-Requires-Root: no | |
5 | 6 | Build-Depends: |
6 | debhelper (>= 9), | |
7 | autotools-dev, dh-autoreconf, libtool, help2man, | |
7 | debhelper-compat (= 13), | |
8 | libtool, help2man, | |
8 | 9 | libgmp-dev |
9 | 10 | Build-Depends-Indep: |
10 | 11 | doxygen, doxygen-latex, graphviz, |
11 | 12 | rdfind, symlinks |
12 | Standards-Version: 4.4.0 | |
13 | Standards-Version: 4.5.1 | |
13 | 14 | Homepage: http://www.tcs.hut.fi/Software/bliss/ |
14 | 15 | Vcs-Git: https://salsa.debian.org/science-team/bliss.git |
15 | 16 | Vcs-Browser: https://salsa.debian.org/science-team/bliss |
37 | 38 | Section: libdevel |
38 | 39 | Depends: |
39 | 40 | libbliss2 (=${binary:Version}), libbliss-dev-common (= ${source:Version}), |
40 | libgmp-dev, ${misc:Depends} | |
41 | libgmp-dev (>= 2:6.2.0), ${misc:Depends} | |
41 | 42 | Description: development files to compute graph automorphisms and labelings -- libdev |
42 | 43 | Bliss is a backtracking algorithm for computing automorphism groups |
43 | 44 | and canonical forms of graphs, based on individualization and |
6 | 6 | |
7 | 7 | Files: * |
8 | 8 | Copyright: |
9 | 2003-2019 Tommi Junttila | |
9 | 2003-2020 Tommi Junttila | |
10 | 10 | License: LGPL-3+ |
11 | 11 | |
12 | 12 | Files: debian/* |
13 | 13 | Copyright: |
14 | 2016-2019 Jerome Benoit <calculus@rezozer.net> | |
14 | 2016-2020 Jerome Benoit <calculus@rezozer.net> | |
15 | 15 | 2009-2013 David Bremner <bremner@unb.ca> |
16 | 16 | License: GPL-3+ |
17 | 17 | |
18 | 18 | Files: debian/adhoc/examples/myciel3.col |
19 | 19 | Copyright: |
20 | 1994-2019 Michael Trick <trick@cmu.edu> | |
20 | 1994-2020 Michael Trick <trick@cmu.edu> | |
21 | 21 | License: public-domain |
22 | 22 | This file is public domain and comes with NO WARRANTY of any kind. |
23 | 23 | Comment: |
0 | 0 | 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 | ||
3 | 0 | # Unknown mathematical heuristics, consistency checks, validation checks, |
4 | 1 | # are eventually managed with exit(1): this looks as a clumsy DEBUG policy |
5 | 2 | # rather than a design issue, nevertheless it is unlikely to be fixed |
8 | 5 | # Out of memory events are also eventually managed with exit(1): this looks |
9 | 6 | # as a clumsy emergency exit policy rather than a design issue that may be |
10 | 7 | # revisited only to please lintian(1). |
11 | shlib-calls-exit | |
8 | exit-in-shared-library | |
12 | 9 | |
13 | 10 | # The upstream source contains C++ code with a defined API but without ABI. |
14 | 11 | no-symbols-control-file |
1 | 1 | Meant to maintain a minimal debian/rules, to fix warnings, |
2 | 2 | to address Debian specific stuff in general. |
3 | 3 | Origin: debian |
4 | Forwarded: not-needed | |
4 | 5 | Author: Jerome Benoit <calculus@rezozer.net> |
5 | 6 | Last-Update: 2016-03-31 |
6 | 7 | |
17 | 18 | |
18 | 19 | --- a/Makefile.am |
19 | 20 | +++ b/Makefile.am |
20 | @@ -64,6 +64,7 @@ | |
21 | @@ -68,6 +68,7 @@ | |
21 | 22 | bliss.cc |
22 | 23 | |
23 | 24 | bliss_CXXFLAGS = \ |
1 | 1 | Attempt to provide an autotools chain for bliss; |
2 | 2 | meant to be submitted to the upstream team. |
3 | 3 | Origin: debian |
4 | Forwarded: by-email | |
4 | 5 | Author: Jerome Benoit <calculus@rezozer.net> |
5 | Last-Update: 2016-03-31 | |
6 | Last-Update: 2020-12-25 | |
6 | 7 | |
7 | 8 | --- /dev/null |
8 | 9 | +++ b/configure.ac |
9 | @@ -0,0 +1,37 @@ | |
10 | @@ -0,0 +1,38 @@ | |
10 | 11 | +dnl Process this file with autoconf to produce a configure script. |
11 | 12 | +AC_PREREQ([2.69]) |
12 | 13 | +LT_PREREQ([2.4.2]) |
36 | 37 | +AM_PATH_GMP([6.1.0],[],[AC_MSG_ERROR(could not find required version of GMP)]) |
37 | 38 | + |
38 | 39 | +AC_CONFIG_FILES([ |
40 | + libbliss-cxx.pc | |
39 | 41 | + include/Makefile |
40 | 42 | + include/bliss/Makefile |
41 | 43 | + Makefile |
451 | 453 | +# DO NOT DELETE |
452 | 454 | --- /dev/null |
453 | 455 | +++ b/Makefile.am |
454 | @@ -0,0 +1,71 @@ | |
456 | @@ -0,0 +1,75 @@ | |
455 | 457 | +ACLOCAL_AMFLAGS = -I m4 |
456 | 458 | + |
457 | 459 | +AUTOMAKE_OPTIONS = \ |
489 | 491 | + |
490 | 492 | +bin_PROGRAMS = bliss |
491 | 493 | + |
494 | +pkgconfigdir = $(libdir)/pkgconfig | |
495 | +pkgconfig_DATA = libbliss-cxx.pc | |
496 | + | |
497 | + | |
492 | 498 | +libbliss_la_SOURCES = \ |
493 | 499 | + defs.cc \ |
494 | 500 | + graph.cc \ |
543 | 549 | +++ b/include/Makefile.am |
544 | 550 | @@ -0,0 +1 @@ |
545 | 551 | +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 |
2 | 2 | wrt UN*X customs in view to employ help2man to generate a manpage; |
3 | 3 | meant to be submitted to the upstream maintainer team. |
4 | 4 | Origin: debian |
5 | Forwarded: by-email | |
5 | 6 | Author: Jerome Benoit <calculus@rezozer.net> |
6 | 7 | Last-Update: 2016-04-24 |
7 | 8 |
2 | 2 | than local to avoid name collisions; meant to be submitted to the |
3 | 3 | upstream maintainer. |
4 | 4 | Origin: debian |
5 | Forwarded: by-email | |
5 | 6 | Author: Jerome Benoit <calculus@rezozer.net> |
6 | 7 | Last-Update: 2016-04-23 |
7 | 8 |
9 | 9 | @uscan --no-conf --dehs --report || true |
10 | 10 | |
11 | 11 | %: |
12 | dh $@ --with autoreconf --builddirectory=_build --parallel | |
12 | dh $@ --builddirectory=_build | |
13 | 13 | |
14 | 14 | override_dh_auto_build-indep: |
15 | 15 | $(MAKE) -f debian/adhoc/Makefile doc |
23 | 23 | override_dh_auto_install-indep: |
24 | 24 | $(MAKE) -C _build install-data-am DESTDIR=$(CURDIR)/debian/tmp |
25 | 25 | |
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 | ||
31 | 26 | override_dh_compress-indep: |
32 | 27 | dh_compress -X.pdf -Xexamples |
28 | ||
29 | override_dh_missing: | |
30 | dh_missing -X.la |
0 | 0 | #!/bin/sh |
1 | 1 | # autopkgtest check: build [and launch] program examples |
2 | 2 | set -ue |
3 | cd $ADTTMP | |
3 | cd $AUTOPKGTEST_TMP | |
4 | 4 | |
5 | cp -prd /usr/share/doc/bliss-doc/examples . | |
5 | cp -prd /usr/share/doc/bliss/examples . | |
6 | 6 | cd examples |
7 | 7 | |
8 | make check | |
8 | make -k check | |
9 | 9 | |
10 | 10 | 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 | |
1 | 1 | Depends: bliss, bliss-doc |
2 | 2 | |
3 | 3 | Tests: build-examples |
4 | Depends: bliss-doc, libbliss-dev, build-essential | |
4 | Depends: bliss-doc, libbliss-dev, build-essential, pkg-config |