[med-svn] [abyss] 01/04: patch to make gtest work (thanks to Anthony Raymond <traymond at bcgsc.ca>) ... unfortunately this does not really help

Andreas Tille tille at debian.org
Fri Sep 19 21:17:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository abyss.

commit 75049d75a9b218afade3b6d6acad2731768ea4c3
Author: Andreas Tille <tille at debian.org>
Date:   Wed Sep 17 00:14:36 2014 +0200

    patch to make gtest work (thanks to Anthony Raymond <traymond at bcgsc.ca>) ... unfortunately this does not really help
---
 debian/changelog           |  1 +
 debian/patches/gtest.patch | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4c23883..ce2d888 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ abyss (1.5.2-1) UNRELEASED; urgency=medium
   * cme fix dpkg-control
   * d/control: Build-Depends: libgtest-dev to enable unit tests at build time
   * d/control: drop copy of citation info from long description
+  * patch to make gtest work (thanks to Anthony Raymond <traymond at bcgsc.ca>)
 
  -- Andreas Tille <tille at debian.org>  Mon, 15 Sep 2014 14:53:24 +0200
 
diff --git a/debian/patches/gtest.patch b/debian/patches/gtest.patch
new file mode 100644
index 0000000..4a09c1e
--- /dev/null
+++ b/debian/patches/gtest.patch
@@ -0,0 +1,16 @@
+Author: Anthony Raymond <traymond at bcgsc.ca>
+Last-Updated: Tue, 16 Sep 2014 14:13:33 -0700
+Description: Make sure gtest works properly
+ I had to follow the instructions on this post to build libgtest.a and libgtest_main.a:
+ http://askubuntu.com/questions/145887/why-no-library-files-installed-for-google-test
+
+--- abyss.orig/configure.ac
++++ abyss/configure.ac
+@@ -195,6 +195,7 @@
+ AC_CHECK_HEADERS([gtest/gtest.h])
+ AC_CHECK_LIB([pthread], [pthread_create])
+ AC_CHECK_LIB([gtest_main],[main])
++AC_CHECK_LIB([gtest],[main])
+ AM_CONDITIONAL([HAVE_GTEST], [test $ac_cv_header_gtest_gtest_h = yes -a $ac_cv_lib_gtest_main_main = yes])
+ AC_SUBST(GTEST_LIBS, "$LIBS")
+ LIBS=$libs

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/abyss.git



More information about the debian-med-commit mailing list