[med-svn] [seqan2] 03/03: disable git based revision

Michael Crusoe misterc-guest at moszumanska.debian.org
Sat Jan 14 11:34:55 UTC 2017


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

misterc-guest pushed a commit to branch debian-experimental
in repository seqan2.

commit aa1ade6e85a4d6de9db7dc82b2bfcfca0196b1df
Author: Michael R. Crusoe <michael.crusoe at gmail.com>
Date:   Sat Jan 14 02:36:28 2017 -0800

    disable git based revision
---
 debian/patches/series              |  1 +
 debian/patches/skip-seqan-revision | 26 ++++++++++++++++++++++++++
 debian/rules                       |  2 +-
 3 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/debian/patches/series b/debian/patches/series
index fe8c345..a1ed085 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 short-description
 
+skip-seqan-revision
diff --git a/debian/patches/skip-seqan-revision b/debian/patches/skip-seqan-revision
new file mode 100644
index 0000000..8ad6490
--- /dev/null
+++ b/debian/patches/skip-seqan-revision
@@ -0,0 +1,26 @@
+--- seqan2.orig/util/cmake/SeqAnBuildSystem.cmake
++++ seqan2/util/cmake/SeqAnBuildSystem.cmake
+@@ -651,14 +651,15 @@
+   set (_SEQAN_GIT_DIR "${CMAKE_SOURCE_DIR}/.git")
+   message (STATUS "  Selected repository dir: ${CMAKE_SOURCE_DIR}")
+   # Get Git information.
+-  if (EXISTS ${_SEQAN_GIT_DIR})
+-    find_package (GitInfo QUIET)
+-    if (GIT_FOUND)
+-      GIT_WC_INFO (${CMAKE_SOURCE_DIR} _SEQAN)
+-    endif ()
+-  else ()
+-    message(STATUS "No revision system found.")
+-  endif ()
++  # But not when packaging for Debian.
++  # if (EXISTS ${_SEQAN_GIT_DIR})
++  #   find_package (GitInfo QUIET)
++  #   if (GIT_FOUND)
++  #     GIT_WC_INFO (${CMAKE_SOURCE_DIR} _SEQAN)
++  #   endif ()
++  # else ()
++  #   message(STATUS "No revision system found.")
++  # endif ()
+ 
+   # Set SeqAn date of last commit.
+   if (_SEQAN_WC_LAST_CHANGED_DATE)
diff --git a/debian/rules b/debian/rules
index 7ef82de..6bfec96 100755
--- a/debian/rules
+++ b/debian/rules
@@ -100,7 +100,7 @@ override_dh_fixperms-indep:
 	for bin in `ls $(CURDIR)/debian/$(pkgapps)/usr/lib/seqan/bin/*.sh` ; do \
 	    chmod +x $(CURDIR)/debian/$(pkgapps)/usr/lib/seqan/bin/`basename $${bin}` ; \
 	done
-	find $(CURDIR)/debian/$(pkgdev)/usr/share/seqan/cmake -type f -exec chmod -x {} \;
+	find $(CURDIR)/debian/$(pkgdev)/usr/share/cmake -type f -exec chmod -x {} \;
 
 override_dh_auto_test:
 # Run test suite only on powerfull architectures (amd64) at build time

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



More information about the debian-med-commit mailing list