Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gap-digraphs for openSUSE:Factory checked in at 2026-06-18 18:40:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gap-digraphs (Old) and /work/SRC/openSUSE:Factory/.gap-digraphs.new.1981 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gap-digraphs" Thu Jun 18 18:40:23 2026 rev:16 rq:1360087 version:1.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gap-digraphs/gap-digraphs.changes 2026-01-26 11:02:17.969912161 +0100 +++ /work/SRC/openSUSE:Factory/.gap-digraphs.new.1981/gap-digraphs.changes 2026-06-18 18:41:39.731629618 +0200 @@ -1,0 +2,5 @@ +Wed Jun 17 18:42:44 UTC 2026 - Jan Engelhardt <[email protected]> + +- Add eaps5.patch + +------------------------------------------------------------------- New: ---- eaps5.patch ----------(New B)---------- New: - Add eaps5.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gap-digraphs.spec ++++++ --- /var/tmp/diff_new_pack.zJRemh/_old 2026-06-18 18:41:40.559664217 +0200 +++ /var/tmp/diff_new_pack.zJRemh/_new 2026-06-18 18:41:40.567664551 +0200 @@ -25,9 +25,10 @@ URL: https://digraphs.github.io/Digraphs/ #Git-Clone: https://github.com/digraphs/Digraphs Source: https://github.com/digraphs/Digraphs/releases/download/v%version/digraphs-%version.tar.gz +Patch1: eaps5.patch BuildRequires: autoconf BuildRequires: automake -BuildRequires: edge-addition-planarity-suite-devel >= 4 +BuildRequires: edge-addition-planarity-suite-devel >= 5 BuildRequires: fdupes BuildRequires: gap-devel BuildRequires: gap-rpm-devel @@ -51,12 +52,10 @@ %prep %autosetup -n digraphs-%version -p1 +rm -Rf extern/edge* %build -if [ ! -e configure ]; then - ls -al - ./autogen.sh -fi +autoreconf -fi %configure --with-gaproot="%gapdir" --without-intrinsics \ --with-external-planarity %make_build ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.zJRemh/_old 2026-06-18 18:41:40.615666558 +0200 +++ /var/tmp/diff_new_pack.zJRemh/_new 2026-06-18 18:41:40.631667226 +0200 @@ -1,5 +1,5 @@ -mtime: 1769192133 -commit: 992f73c6d2402cabc440ee0d8111adef3d11e73fd6b3ce6bea71613cc53a9f68 +mtime: 1781722159 +commit: 6ea3541f715973e75b66ab4aeaa039102300567a434c5cd180c8cd884b071d11 url: https://src.opensuse.org/jengelh/gap-digraphs revision: master ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-06-17 20:49:19.000000000 +0200 @@ -0,0 +1 @@ +.osc ++++++ eaps5.patch ++++++ >From 73a8763180efbc79a8d5d0f7ebe0a737000523af Mon Sep 17 00:00:00 2001 From: Jan Engelhardt <[email protected]> Date: Wed, 17 Jun 2026 20:23:06 +0200 Subject: [PATCH] build: support EAPS 5 References: https://github.com/digraphs/Digraphs/pull/937 They renamed a few functions as far as gap-digraphs is concerned, but other than that, the EAPS API is the same. --- configure.ac | 2 +- m4/ax_check_planarity.m4 | 2 +- src/planar.c | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index 56b4aea7..6b7e89da 100644 --- a/configure.ac +++ b/configure.ac @@ -94,7 +94,7 @@ AS_IF([test "x$enable_compile_warnings" != "xno"], AX_CHECK_PLANARITY if test "x$with_external_planarity" = xno ; then - PLANARITY_SUITE_DIR=extern/edge-addition-planarity-suite-Version_4.0.0.0 + PLANARITY_SUITE_DIR=extern/edge-addition-planarity-suite-Version_5.0.0.0 AC_SUBST(PLANARITY_SUITE_DIR) fi diff --git a/m4/ax_check_planarity.m4 b/m4/ax_check_planarity.m4 index 4f1c66d5..70af478a 100644 --- a/m4/ax_check_planarity.m4 +++ b/m4/ax_check_planarity.m4 @@ -23,7 +23,7 @@ AC_DEFUN([AX_CHECK_PLANARITY], [ #else #error too old #endif - int main(void) { gp_InitGraph(0, 0); } + int main(void) { gp_EnsureVertexCapacity(0, 0); } ])], [ AC_MSG_RESULT([yes]) ], [ diff --git a/src/planar.c b/src/planar.c index 72e5b304..aa4aff25 100644 --- a/src/planar.c +++ b/src/planar.c @@ -33,12 +33,12 @@ #pragma GCC diagnostic ignored "-Wswitch-default" #endif #ifdef DIGRAPHS_WITH_INCLUDED_PLANARITY -#include "c/graph.h" +#include "c/graphLib.h" #include "c/graphLib/homeomorphSearch/graphK23Search.h" #include "c/graphLib/homeomorphSearch/graphK33Search.h" #include "c/graphLib/homeomorphSearch/graphK4Search.h" #else -#include "planarity/graph.h" +#include "planarity/graphLib.h" #include "planarity/c/graphLib/homeomorphSearch/graphK23Search.h" #include "planarity/c/graphLib/homeomorphSearch/graphK33Search.h" #include "planarity/c/graphLib/homeomorphSearch/graphK4Search.h" @@ -169,13 +169,13 @@ Obj boyers_planarity_check(Obj digraph, int flags, bool krtwsk) { graphP theGraph = gp_New(); - if (gp_InitGraph(theGraph, V) != OK) { + if (gp_EnsureVertexCapacity(theGraph, V) != OK) { gp_Free(&theGraph); ErrorQuit("Digraphs: boyers_planarity_check (C): invalid number of nodes!", 0L, 0L); return 0L; - } else if (gp_EnsureArcCapacity(theGraph, 2 * E) != OK) { + } else if (gp_EnsureEdgeCapacity(theGraph, 2 * E) != OK) { gp_Free(&theGraph); ErrorQuit("Digraphs: boyers_planarity_check (C): invalid number of edges!", 0L, @@ -185,13 +185,13 @@ Obj boyers_planarity_check(Obj digraph, int flags, bool krtwsk) { switch (flags) { case EMBEDFLAGS_SEARCHFORK33: - gp_AttachK33Search(theGraph); + gp_ExtendWith_K33Search(theGraph); break; case EMBEDFLAGS_SEARCHFORK23: - gp_AttachK23Search(theGraph); + gp_ExtendWith_K23Search(theGraph); break; case EMBEDFLAGS_SEARCHFORK4: - gp_AttachK4Search(theGraph); + gp_ExtendWith_K4Search(theGraph); break; default: break; @@ -203,7 +203,7 @@ Obj boyers_planarity_check(Obj digraph, int flags, bool krtwsk) { // Construct the antisymmetric digraph with no loops for (Int v = 1; v <= LEN_LIST(out); ++v) { DIGRAPHS_ASSERT(gp_VertexInRange(theGraph, v)); - gp_SetVertexIndex(theGraph, v, v); + gp_SetIndex(theGraph, v, v); Obj const out_v = ELM_LIST(out, v); for (Int w = 1; w <= LEN_LIST(out_v); ++w) { DIGRAPHS_ASSERT(gp_VertexInRange(theGraph, w)); -- 2.54.0
