This repository was archived by the owner on Jan 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +41
-15
lines changed Expand file tree Collapse file tree 6 files changed +41
-15
lines changed Original file line number Diff line number Diff line change 1- = bliss 0.72 =
1+ = bliss 0.73+debian-1 =
22
33== Description ==
44
@@ -15,13 +15,12 @@ Bliss is currently being maintained by Tommi Junttila and Petteri Kaski.
1515
1616http://www.tcs.tkk.fi/Software/bliss/index.html
1717
18+ We apply patches generated from https://github.com/mkoeppe/bliss
19+ (branch apply_debian_patches) as our upstream. This tracks the
20+ patches from the Debian package, adding an autotools build system
21+ and adjusting the include file locations.
22+
1823== Dependencies ==
1924
2025None
2126
22- == Patches ==
23-
24- There is one patch to be applied that affects the code for computing
25- automorphism groups of Digraphs. See http://trac.sagemath.org/ticket/17464#comment:33
26-
27- The patch will be removed once the author of bliss makes a new release.
Original file line number Diff line number Diff line change 1- tarball =bliss-VERSION.zip
2- sha1 =ca86a10c674a5b3ec9fa163edf6ffde002699628
3- md5 =72f2e310786923b5c398ba0fc40b42ce
4- cksum =1722393284
1+ tarball =bliss-VERSION.tar.gz
2+ sha1 =1da8f098046824fbfff4c64c337e28b2a082f74f
3+ md5 =452aea8737d3c4ad0d8ff39180be8004
4+ cksum =2193930007
Original file line number Diff line number Diff line change 1- 0.73
1+ 0.73+debian-1+sage-2016-08-02
Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ for patch in ../patches/*.patch; do
1717 fi
1818done
1919
20-
21- $MAKE && cp libbliss.a " $SAGE_LOCAL /lib" && cp * .hh " $SAGE_LOCAL /include"
20+ ./configure --prefix=" $SAGE_LOCAL " --disable-gmp && $MAKE && $MAKE install
2221
2322if [ $? -ne 0 ]; then
2423 echo " An error occurred whilst building bliss"
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ #
3+ # creates the tarball in the current dir, to be moved to ../../../upstream
4+ #
5+ # adapted from cliquer/spkg-src
6+
7+ die () {
8+ echo >&2 " $@ "
9+ exit 1
10+ }
11+
12+ rm -rf bliss/
13+ git clone -b sage_package https://github.com/mkoeppe/bliss.git || die " Failed to git clone"
14+ cd bliss/
15+
16+ VERSION=` autoconf --trace=' AC_INIT:$2' `
17+ libtoolize || die " Failed to autoreconf"
18+ autoreconf -fi || die " Failed to autoreconf"
19+ automake --add-missing --copy || die " automake failed"
20+ ./configure || die " configure failed"
21+
22+ rm -f bliss-$VERSION .tar.gz
23+ make dist || die " make dist failed"
24+ mv bliss-$VERSION .tar.gz ../
25+ cd ..
26+ rm -rf bliss/
27+
28+
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ from cpython cimport PyObject
3232from libc.limits cimport LONG_MAX
3333
3434
35- cdef extern from " graph.hh" namespace " bliss" :
35+ cdef extern from " bliss/ graph.hh" namespace " bliss" :
3636
3737 cdef cppclass Stats:
3838 pass
You can’t perform that action at this time.
0 commit comments