[arch-commits] Commit in thin-provisioning-tools/repos (6 files)

Christian Hesse eworm at archlinux.org
Mon Oct 16 13:31:09 UTC 2017


    Date: Monday, October 16, 2017 @ 13:31:08
  Author: eworm
Revision: 308059

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  thin-provisioning-tools/repos/testing-i686/
  thin-provisioning-tools/repos/testing-i686/0001-fix-build-with-testing-disabled.patch
    (from rev 308058, thin-provisioning-tools/trunk/0001-fix-build-with-testing-disabled.patch)
  thin-provisioning-tools/repos/testing-i686/PKGBUILD
    (from rev 308058, thin-provisioning-tools/trunk/PKGBUILD)
  thin-provisioning-tools/repos/testing-x86_64/
  thin-provisioning-tools/repos/testing-x86_64/0001-fix-build-with-testing-disabled.patch
    (from rev 308058, thin-provisioning-tools/trunk/0001-fix-build-with-testing-disabled.patch)
  thin-provisioning-tools/repos/testing-x86_64/PKGBUILD
    (from rev 308058, thin-provisioning-tools/trunk/PKGBUILD)

-----------------------------------------------------------+
 testing-i686/0001-fix-build-with-testing-disabled.patch   |   35 ++++++++++++
 testing-i686/PKGBUILD                                     |   35 ++++++++++++
 testing-x86_64/0001-fix-build-with-testing-disabled.patch |   35 ++++++++++++
 testing-x86_64/PKGBUILD                                   |   35 ++++++++++++
 4 files changed, 140 insertions(+)

Copied: thin-provisioning-tools/repos/testing-i686/0001-fix-build-with-testing-disabled.patch (from rev 308058, thin-provisioning-tools/trunk/0001-fix-build-with-testing-disabled.patch)
===================================================================
--- testing-i686/0001-fix-build-with-testing-disabled.patch	                        (rev 0)
+++ testing-i686/0001-fix-build-with-testing-disabled.patch	2017-10-16 13:31:08 UTC (rev 308059)
@@ -0,0 +1,35 @@
+From 8d75be81120b9cf172c95d0153c5f845ed804234 Mon Sep 17 00:00:00 2001
+From: Adam Sampson <ats-github at offog.org>
+Date: Mon, 16 Oct 2017 13:07:36 +0100
+Subject: [functional-tests] fix build with testing disabled (#88)
+
+The rule for lib/libft.so is only enabled with --enable-testing,
+so the default target shouldn't depend unconditionally on it.
+With the default configure options, the build failed with:
+make: *** No rule to make target 'lib/libft.so', needed by 'all'.  Stop.
+---
+ Makefile.in | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index e745739..02b75dd 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -21,8 +21,13 @@ V=@
+ PROGRAMS=\
+ 	bin/pdata_tools
+ 
++ifeq ("@TESTING@", "yes")
++TESTLIBS=\
++	lib/libft.so
++endif
++
+ .PHONY: all
+-all: $(PROGRAMS) lib/libft.so
++all: $(PROGRAMS) $(TESTLIBS)
+ 
+ SOURCE=\
+ 	base/output_file_requirements.cc \
+-- 
+cgit v1.1-22-g1649
+

Copied: thin-provisioning-tools/repos/testing-i686/PKGBUILD (from rev 308058, thin-provisioning-tools/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-10-16 13:31:08 UTC (rev 308059)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Contributor: Jason Hall <cakersq at gmail.com>
+
+pkgname=thin-provisioning-tools
+pkgver=0.7.4
+pkgrel=1
+pkgdesc='Suite of tools for manipulating the metadata of the dm-thin device-mapper target'
+arch=('i686' 'x86_64')
+url="https://github.com/jthornber/thin-provisioning-tools"
+license=('GPL3')
+depends=('expat' 'gcc-libs' 'libaio')
+makedepends=('boost')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jthornber/${pkgname}/archive/v${pkgver}.tar.gz"
+        '0001-fix-build-with-testing-disabled.patch')
+sha256sums=('f65f84e653e182480dacad77c611e13cd6de1c354e02fb4b96db4d2f328c3904'
+            '8f59d9076ed23d593f8671792804cbfeb8bdae5c996200e1269f27fa49a6b873')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 < "${srcdir}"/0001-fix-build-with-testing-disabled.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  autoconf
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" BINDIR="${pkgdir}"/usr/bin MANDIR=/usr/share/man install
+}
+

Copied: thin-provisioning-tools/repos/testing-x86_64/0001-fix-build-with-testing-disabled.patch (from rev 308058, thin-provisioning-tools/trunk/0001-fix-build-with-testing-disabled.patch)
===================================================================
--- testing-x86_64/0001-fix-build-with-testing-disabled.patch	                        (rev 0)
+++ testing-x86_64/0001-fix-build-with-testing-disabled.patch	2017-10-16 13:31:08 UTC (rev 308059)
@@ -0,0 +1,35 @@
+From 8d75be81120b9cf172c95d0153c5f845ed804234 Mon Sep 17 00:00:00 2001
+From: Adam Sampson <ats-github at offog.org>
+Date: Mon, 16 Oct 2017 13:07:36 +0100
+Subject: [functional-tests] fix build with testing disabled (#88)
+
+The rule for lib/libft.so is only enabled with --enable-testing,
+so the default target shouldn't depend unconditionally on it.
+With the default configure options, the build failed with:
+make: *** No rule to make target 'lib/libft.so', needed by 'all'.  Stop.
+---
+ Makefile.in | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index e745739..02b75dd 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -21,8 +21,13 @@ V=@
+ PROGRAMS=\
+ 	bin/pdata_tools
+ 
++ifeq ("@TESTING@", "yes")
++TESTLIBS=\
++	lib/libft.so
++endif
++
+ .PHONY: all
+-all: $(PROGRAMS) lib/libft.so
++all: $(PROGRAMS) $(TESTLIBS)
+ 
+ SOURCE=\
+ 	base/output_file_requirements.cc \
+-- 
+cgit v1.1-22-g1649
+

Copied: thin-provisioning-tools/repos/testing-x86_64/PKGBUILD (from rev 308058, thin-provisioning-tools/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-10-16 13:31:08 UTC (rev 308059)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Contributor: Jason Hall <cakersq at gmail.com>
+
+pkgname=thin-provisioning-tools
+pkgver=0.7.4
+pkgrel=1
+pkgdesc='Suite of tools for manipulating the metadata of the dm-thin device-mapper target'
+arch=('i686' 'x86_64')
+url="https://github.com/jthornber/thin-provisioning-tools"
+license=('GPL3')
+depends=('expat' 'gcc-libs' 'libaio')
+makedepends=('boost')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jthornber/${pkgname}/archive/v${pkgver}.tar.gz"
+        '0001-fix-build-with-testing-disabled.patch')
+sha256sums=('f65f84e653e182480dacad77c611e13cd6de1c354e02fb4b96db4d2f328c3904'
+            '8f59d9076ed23d593f8671792804cbfeb8bdae5c996200e1269f27fa49a6b873')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 < "${srcdir}"/0001-fix-build-with-testing-disabled.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  autoconf
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" BINDIR="${pkgdir}"/usr/bin MANDIR=/usr/share/man install
+}
+



More information about the arch-commits mailing list