3 Commits

Author SHA256 Message Date
94e22d4013 Add eaps4.patch 2025-07-03 11:19:51 +02:00
302e05d37b POSIX sh compatibility 2025-02-28 00:01:31 +01:00
9a6106b82b gap-digraphs 1.10.0 2025-02-14 19:43:03 +01:00
5 changed files with 64 additions and 10 deletions

BIN
digraphs-1.10.0.tar.gz LFS Normal file

Binary file not shown.

Binary file not shown.

35
eaps4.patch Normal file
View File

@@ -0,0 +1,35 @@
From d676b86fa817f21a826e8ec3ba9d949269b2dc67 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Thu, 3 Jul 2025 11:09:38 +0200
Subject: [PATCH] build: support for EAPS 4
References: https://github.com/digraphs/Digraphs/pull/766
---
diff --git a/src/planar.c b/src/planar.c
index 1cdf94a7..72e5b304 100644
--- a/src/planar.c
+++ b/src/planar.c
@@ -34,14 +34,14 @@
#endif
#ifdef DIGRAPHS_WITH_INCLUDED_PLANARITY
#include "c/graph.h"
-#include "c/graphK23Search.h"
-#include "c/graphK33Search.h"
-#include "c/graphK4Search.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/graphK23Search.h"
-#include "planarity/graphK33Search.h"
-#include "planarity/graphK4Search.h"
+#include "planarity/c/graphLib/homeomorphSearch/graphK23Search.h"
+#include "planarity/c/graphLib/homeomorphSearch/graphK33Search.h"
+#include "planarity/c/graphLib/homeomorphSearch/graphK4Search.h"
#endif
#if defined(__clang__)
#pragma clang diagnostic pop
--
2.50.0

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Thu Jul 3 09:19:43 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Add eaps4.patch
-------------------------------------------------------------------
Thu Feb 27 23:00:16 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Make specfile conform to POSIX sh
-------------------------------------------------------------------
Fri Feb 14 18:41:43 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.10.0
* Added copy in `DigraphAllChordlessCycles`
* Implementation of facial walks and dual graphs
* Added `IsOrderFilter` function
* Edge weights #4: shortest path(s)
-------------------------------------------------------------------
Sun Sep 8 07:46:45 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package gap-digraphs
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: gap-digraphs
Version: 1.9.0
Version: 1.10.0
Release: 0
Summary: GAP: Digraphs and multigraphs
License: GPL-3.0-or-later
@@ -25,7 +25,8 @@ Group: Productivity/Scientific/Math
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
BuildRequires: edge-addition-planarity-suite-devel
Patch1: eaps4.patch
BuildRequires: edge-addition-planarity-suite-devel >= 4
BuildRequires: fdupes
BuildRequires: gap-devel
BuildRequires: gap-rpm-devel
@@ -35,7 +36,7 @@ Requires: gap-core >= 4.10
Requires: gap-datastructures >= 0.2.5
Requires: gap-io >= 4.5.1
Requires: gap-orb >= 4.8.2
Suggests: gap-autodic >= 2022.08.11
Suggests: gap-autodoc >= 2020.08.11
Suggests: gap-gapdoc >= 1.6.3
Suggests: gap-grape >= 4.8.1
Suggests: gap-nautytracesinterface >= 0.2
@@ -47,7 +48,7 @@ The Digraphs package is a GAP package containing methods for digraphs
and multidigraphs.
%prep
%autosetup -n digraphs-%version
%autosetup -n digraphs-%version -p1
%build
%configure --with-gaproot="%gapdir" --without-intrinsics \
@@ -57,14 +58,13 @@ find . -type f -name "*~" -print -delete
%install
%gappkg_simple_install
pushd "%buildroot/$fmoddir/"
cd "%buildroot/$fmoddir/"
find . -type f -name .dirstamp -print -delete
# delete tests and assets
rm -Rf tst data/symmetric-closure.ds6.gz data/test-1.d6
# delete sources and build artifacts, user is not expected to rebuild in distribution tree
rm -Rf autom4te.cache src cnf config* m4 autogen.sh aclocal.m4 *.la Makefile*
rm -Rf extern/edge* extern/bliss*/[a-z]* extern/bliss*/.deps extern/bliss*/.libs extern/bliss*/.clang*
popd
%fdupes %buildroot/%_prefix
%files -f %name.files