nauty 2.9.1
This commit is contained in:
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 11 18:46:48 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 2.9.1
|
||||
* pickg/countg --HH counts hexagons (6-cycles) in undirected
|
||||
graphs.
|
||||
* Fixed pickg/countg documentation for colouring parameters.
|
||||
* pickg/countg -Y works faster if an low upper limit is given.
|
||||
* Added "c" option to genposetg to select only connected
|
||||
posets.
|
||||
* countneg -n (but not -e) can now handle incremental sparse
|
||||
format.
|
||||
* The space efficiency of uniqg has improved to 48 bytes per
|
||||
isomorphism class.
|
||||
* listg -T writes a one-line format like 0--1,2--3,... as
|
||||
required by the program 'tutte'.
|
||||
* dreadnaut: The options related to invariants have been
|
||||
separated into options for digraphs and options for
|
||||
undirected graphs. See online changelog for details.
|
||||
- Delete nauty-uninitialized.diff (merged)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 22 21:03:59 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
+8
-9
@@ -17,9 +17,9 @@
|
||||
|
||||
|
||||
Name: nauty
|
||||
%define lname libnauty-2_8_9
|
||||
%define fuv 2_8_9
|
||||
Version: 2.8.9
|
||||
%define lname libnauty-2_9_1
|
||||
%define fuv 2_9_1
|
||||
Version: 2.9.1
|
||||
Release: 0
|
||||
Summary: Tools for computing automorphism groups of graphs
|
||||
License: Apache-2.0
|
||||
@@ -27,7 +27,6 @@ Group: Productivity/Scientific/Math
|
||||
URL: https://pallini.di.uniroma1.it/
|
||||
Source: https://pallini.di.uniroma1.it/nauty%fuv.tar.gz
|
||||
Patch1: nauty-am.diff
|
||||
Patch2: nauty-uninitialized.diff
|
||||
Patch3: autoconf-2.72.patch
|
||||
Patch4: gcc15.patch
|
||||
BuildRequires: automake
|
||||
@@ -74,24 +73,24 @@ applications that want to make use of libnauty.
|
||||
%build
|
||||
rm -f aclocal.m4 makefile
|
||||
autoreconf -fi
|
||||
export CFLAGS="%optflags -Wno-unused"
|
||||
%configure --enable-generic
|
||||
#export CFLAGS="%optflags -Wno-unused"
|
||||
%configure --enable-generic --disable-popcnt --disable-clz
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
%fdupes %{buildroot}/${_bindir}
|
||||
%fdupes %buildroot/%_bindir
|
||||
|
||||
%ldconfig_scriptlets -n %lname
|
||||
|
||||
%files
|
||||
%_bindir/*
|
||||
%doc changes24-28.txt
|
||||
%doc changes24-29.txt
|
||||
%license COPYRIGHT
|
||||
|
||||
%files -n %lname
|
||||
%_libdir/libnauty*-2.8.9.so
|
||||
%_libdir/libnauty*-%version.so
|
||||
|
||||
%files devel
|
||||
%_includedir/nauty/
|
||||
|
||||
+8
-8
@@ -8,15 +8,15 @@ See also https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7643b42096da1f4403
|
||||
configure.ac | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
Index: nauty2_8_9/configure.ac
|
||||
Index: nauty2_9_1/configure.ac
|
||||
===================================================================
|
||||
--- nauty2_8_9.orig/configure.ac
|
||||
+++ nauty2_8_9/configure.ac
|
||||
@@ -178,6 +178,7 @@ dnl we need AC_SYS_LARGEFILE and AC_FU
|
||||
AC_SYS_LARGEFILE
|
||||
AS_IF([test "x$ac_cv_sys_file_offset_bits" = "xno"],[ac_cv_sys_file_offset_bits=0])
|
||||
--- nauty2_9_1.orig/configure.ac
|
||||
+++ nauty2_9_1/configure.ac
|
||||
@@ -199,6 +199,7 @@ nauty_largefile=0
|
||||
AS_IF([test "x$ac_cv_sys_largefile_opts" = "x-D_FILE_OFFSET_BITS=64"],[nauty_largefile=1])
|
||||
AS_IF([test "x$ac_cv_sys_largefile_opts" = "x-D_LARGE_FILES=1"],[nauty_largefile=2])
|
||||
AS_IF([test "x$ac_cv_sys_file_offset_bits" = "x"],[ac_cv_sys_file_offset_bits=0])
|
||||
+ac_cv_sys_file_offset_bits=64
|
||||
AC_SUBST(ac_cv_sys_file_offset_bits)
|
||||
AS_IF([test "x$ac_cv_sys_largefile_source" = "xno"],[ac_cv_sys_largefile_source=0])
|
||||
AS_IF([test "x$ac_cv_sys_largefile_source" = "x"],[ac_cv_sys_largefile_source=0])
|
||||
|
||||
AS_IF([test "x$user_cflags" = x || test "x$user_cflags" = x-m32],
|
||||
|
||||
+16
-13
@@ -1,19 +1,21 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: 2019-08-24 18:40 +0200
|
||||
|
||||
build: produce shared libraries
|
||||
|
||||
Partly based on Debian's upstream-autotoolization.patch.
|
||||
|
||||
`./configure --disable-static` is broken: make won't run to completion.
|
||||
`./configure --enable-generic` is broken: still uses -march=native.
|
||||
Rewrite in automake.
|
||||
---
|
||||
Makefile.am | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
configure.ac | 11 ++++-
|
||||
2 files changed, 132 insertions(+), 2 deletions(-)
|
||||
|
||||
Index: nauty2_8_9/Makefile.am
|
||||
Index: nauty2_9_1/Makefile.am
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ nauty2_8_9/Makefile.am
|
||||
@@ -0,0 +1,123 @@
|
||||
+++ nauty2_9_1/Makefile.am
|
||||
@@ -0,0 +1,124 @@
|
||||
+ACLOCAL_AMFLAGS = -I m4
|
||||
+bin_PROGRAMS = addedgeg amtog assembleg biplabg catg checks6 complg converseg copyg \
|
||||
+ countg countneg cubhamg deledgeg delptg directg dreadnaut dretodot \
|
||||
@@ -88,6 +90,7 @@ Index: nauty2_8_9/Makefile.am
|
||||
+subdivideg_LDADD = libnauty.la
|
||||
+twohamg_LDADD = libnauty.la
|
||||
+underlyingg_LDADD = libnauty.la
|
||||
+uniqg_SOURCES = uniqg.c nausha.c
|
||||
+uniqg_LDADD = libnauty.la
|
||||
+vcolg_LDADD = libnauty.la
|
||||
+watercluster2_LDADD = libnauty.la
|
||||
@@ -137,13 +140,13 @@ Index: nauty2_8_9/Makefile.am
|
||||
+libnautyW1_la_SOURCES = ${libnauty_la_SOURCES}
|
||||
+libnautyW1_la_LIBADD = -lpthread
|
||||
+libnautyW1_la_LDFLAGS = ${libnauty_la_LDFLAGS}
|
||||
Index: nauty2_8_9/configure.ac
|
||||
Index: nauty2_9_1/configure.ac
|
||||
===================================================================
|
||||
--- nauty2_8_9.orig/configure.ac
|
||||
+++ nauty2_8_9/configure.ac
|
||||
--- nauty2_9_1.orig/configure.ac
|
||||
+++ nauty2_9_1/configure.ac
|
||||
@@ -1,6 +1,12 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
AC_INIT([nauty],[2.8.9],[brendan.mckay@anu.edu.au])
|
||||
AC_INIT([nauty],[2.9.1],[brendan.mckay@anu.edu.au])
|
||||
AC_CONFIG_SRCDIR([nauty-h.in])
|
||||
+AC_CONFIG_AUX_DIR([build-aux])
|
||||
+AC_CONFIG_MACRO_DIR([m4])
|
||||
@@ -161,9 +164,9 @@ Index: nauty2_8_9/configure.ac
|
||||
-AC_SUBST($2)])
|
||||
+AC_SUBST([$2])])
|
||||
|
||||
dnl Check for noreturn attribute. Note that this is the attribute for C and
|
||||
dnl might not work for C++. nauty.h does not use it.
|
||||
@@ -311,6 +317,7 @@ AC_SUBST(Qlibs_or_null)
|
||||
# Test for declaration with _POSIX_C_SOURCE=200809L and _XOPEN_SOURCE=500
|
||||
|
||||
@@ -307,6 +313,7 @@ AC_SUBST(Qlibs_or_null)
|
||||
AC_SUBST(TLSQlibs_or_null)
|
||||
AC_SUBST(testprogs)
|
||||
AC_SUBST(nautests)
|
||||
@@ -171,7 +174,7 @@ Index: nauty2_8_9/configure.ac
|
||||
|
||||
dnl Checks for library functions.
|
||||
AC_CHECK_FUNC(isatty,have_isatty=1,have_isatty=0)
|
||||
@@ -567,7 +574,7 @@ AC_SUBST(have_gunzip)
|
||||
@@ -571,7 +578,7 @@ AC_SUBST(have_gunzip)
|
||||
|
||||
LT_INIT
|
||||
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: 2017-09-14 22:15:05.095341778 +0200
|
||||
|
||||
patch some real bad code
|
||||
|
||||
[ 19s] traces.c: In function 'refine_tr_refine':
|
||||
[ 19s] traces.c:5316:12: warning: 'TraceInd' is used uninitialized in this function [-Wuninitialized]
|
||||
[ 19s] return TraceInd;
|
||||
[ 40s] checks6.c: In function 'seemsbad':
|
||||
[ 40s] checks6.c:124:1: warning: control reaches end of non-void function [-Wreturn-type]
|
||||
[ 40s] }
|
||||
---
|
||||
checks6.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
Index: nauty2_8_8/checks6.c
|
||||
===================================================================
|
||||
--- nauty2_8_8.orig/checks6.c
|
||||
+++ nauty2_8_8/checks6.c
|
||||
@@ -121,6 +121,7 @@ seemsbad(char *s)
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
+ return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************/
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user