[arch-commits] Commit in bliss/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:48:45 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:48:45
  Author: felixonmars
Revision: 659868

archrelease: copy trunk to community-staging-x86_64

Added:
  bliss/repos/community-staging-x86_64/
  bliss/repos/community-staging-x86_64/PKGBUILD
    (from rev 659867, bliss/trunk/PKGBUILD)
  bliss/repos/community-staging-x86_64/digraph_heuristic.patch
    (from rev 659867, bliss/trunk/digraph_heuristic.patch)

-------------------------+
 PKGBUILD                |   38 ++++++++++++++++++++++++++++++++++++++
 digraph_heuristic.patch |   12 ++++++++++++
 2 files changed, 50 insertions(+)

Copied: bliss/repos/community-staging-x86_64/PKGBUILD (from rev 659867, bliss/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:48:45 UTC (rev 659868)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=bliss
+pkgver=0.73
+pkgrel=2
+pkgdesc="A library for computing automorphism groups and canonical forms of graphs"
+arch=(x86_64)
+url="http://www.tcs.tkk.fi/Software/bliss/index.html"
+license=(GPL3)
+depends=(gcc-libs)
+conflicts=(bliss-graphs)
+provides=(bliss-graphs)
+replaces=(bliss-graphs)
+source=("http://www.tcs.hut.fi/Software/bliss/bliss-$pkgver.zip" 'digraph_heuristic.patch')
+sha256sums=('f57bf32804140cad58b1240b804e0dbd68f7e6bf67eba8e0c0fa3a62fd7f0f84'
+            '2f7a238347aa977b1ce1c0e9e1e955b8c213cc3a89522b586a1b8c596c88c7a5')
+
+prepare() {
+  cd bliss-$pkgver
+# Fix splitting heuristics for digraphs
+  patch -p1 -i ../digraph_heuristic.patch
+}
+
+build() {
+  cd bliss-$pkgver
+
+  make
+}
+
+package() {
+  cd bliss-$pkgver
+
+  mkdir -p "$pkgdir"/usr/{include/bliss,lib,bin}
+  cp *.hh "$pkgdir"/usr/include/bliss/
+  cp libbliss.a "$pkgdir"/usr/lib/
+  cp bliss "$pkgdir"/usr/bin/
+}
+

Copied: bliss/repos/community-staging-x86_64/digraph_heuristic.patch (from rev 659867, bliss/trunk/digraph_heuristic.patch)
===================================================================
--- community-staging-x86_64/digraph_heuristic.patch	                        (rev 0)
+++ community-staging-x86_64/digraph_heuristic.patch	2020-07-07 17:48:45 UTC (rev 659868)
@@ -0,0 +1,12 @@
+--- bliss-0.72/graph.hh	2011-05-12 15:29:46.000000000 +0200
++++ /home/azi/bliss-0.72/graph.hh	2014-12-30 11:14:20.917059666 +0100
+@@ -843,7 +843,7 @@
+   bool is_equitable() const;
+ 
+   /* Splitting heuristics, documented in more detail in the cc-file. */
+-  SplittingHeuristic sh;
++  SplittingHeuristic sh = shs_f;
+   Partition::Cell* find_next_cell_to_be_splitted(Partition::Cell *cell);
+   Partition::Cell* sh_first();
+   Partition::Cell* sh_first_smallest();
+



More information about the arch-commits mailing list