[arch-commits] Commit in tdlib/repos/community-any (PKGBUILD PKGBUILD no-stderr.patch)

Antonio Rojas arojas at gemini.archlinux.org
Thu Sep 8 14:15:14 UTC 2022


    Date: Thursday, September 8, 2022 @ 14:15:14
  Author: arojas
Revision: 1296859

archrelease: copy trunk to community-any

Added:
  tdlib/repos/community-any/PKGBUILD
    (from rev 1296858, tdlib/trunk/PKGBUILD)
  tdlib/repos/community-any/no-stderr.patch
    (from rev 1296858, tdlib/trunk/no-stderr.patch)
Deleted:
  tdlib/repos/community-any/PKGBUILD

-----------------+
 PKGBUILD        |   61 ++++++++++++++++++++++++++++--------------------------
 no-stderr.patch |   13 +++++++++++
 2 files changed, 45 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-08 14:15:04 UTC (rev 1296858)
+++ PKGBUILD	2022-09-08 14:15:14 UTC (rev 1296859)
@@ -1,29 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=tdlib
-pkgver=0.9.2
-pkgrel=1
-_commit=e8ec9114377574f22ff4447cf29e66411b491b7e # No tags in upstream repo
-pkgdesc='Algorithms for computing tree decompositions of graphs'
-arch=(any)
-url='https://github.com/freetdi/tdlib/'
-license=(GPL2)
-depends=()
-makedepends=(boost git)
-source=(git+https://github.com/freetdi/tdlib#commit=$_commit)
-sha256sums=('SKIP')
-
-prepare() {
-  cd $pkgname
-  ./bootstrap
-}
-
-build() {
-  cd $pkgname
-  ./configure --prefix=/usr
-}
-
-package() {
-  cd $pkgname
-  make install DESTDIR="$pkgdir"
-}

Copied: tdlib/repos/community-any/PKGBUILD (from rev 1296858, tdlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-08 14:15:14 UTC (rev 1296859)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=tdlib
+pkgver=0.9.2
+pkgrel=2
+_commit=e8ec9114377574f22ff4447cf29e66411b491b7e # No tags in upstream repo
+pkgdesc='Algorithms for computing tree decompositions of graphs'
+arch=(any)
+url='https://github.com/freetdi/tdlib/'
+license=(GPL2)
+depends=()
+makedepends=(boost git)
+source=(git+https://github.com/freetdi/tdlib#commit=$_commit
+        no-stderr.patch)
+sha256sums=('SKIP'
+            '361471a81d187978a8a1a86c2893f3db3706c17ca9fb50eac8e6f22296626737')
+
+prepare() {
+  cd $pkgname
+  patch -p1 -i ../no-stderr.patch # Remove debug output
+  ./bootstrap
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr
+}
+
+package() {
+  cd $pkgname
+  make install DESTDIR="$pkgdir"
+}

Copied: tdlib/repos/community-any/no-stderr.patch (from rev 1296858, tdlib/trunk/no-stderr.patch)
===================================================================
--- no-stderr.patch	                        (rev 0)
+++ no-stderr.patch	2022-09-08 14:15:14 UTC (rev 1296859)
@@ -0,0 +1,13 @@
+diff --git a/src/exact_cutset.hpp b/src/exact_cutset.hpp
+index 782bb96..4929730 100755
+--- a/src/exact_cutset.hpp
++++ b/src/exact_cutset.hpp
+@@ -994,7 +994,7 @@ bool exact_cutset<G_t, config>::try_it(T_t &T, unsigned bagsize)
+     }else{
+      //   incomplete(); //no//
+      // messes up random tests, send to cerr instead
+-        std::cerr << "incomplete ../../src/exact_cutset.hpp:978:try_it\n";
++//         std::cerr << "incomplete ../../src/exact_cutset.hpp:978:try_it\n";
+     }
+ 
+     typename boost::graph_traits<G_t>::vertex_iterator vIt, vEnd;



More information about the arch-commits mailing list