[med-svn] [clonalorigin] 01/03: Do not build GUI since it is not working

Andreas Tille tille at debian.org
Wed Dec 6 13:13:11 UTC 2017


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

tille pushed a commit to branch master
in repository clonalorigin.

commit e39a16269d68582f5aa47da935d3e825d7cc5a2c
Author: Andreas Tille <tille at debian.org>
Date:   Wed Dec 6 14:07:18 2017 +0100

    Do not build GUI since it is not working
---
 debian/clonalorigin.install |  2 +-
 debian/control              | 42 ++++++++++++++++++++++--------------------
 debian/rules                |  9 ++++++++-
 3 files changed, 31 insertions(+), 22 deletions(-)

diff --git a/debian/clonalorigin.install b/debian/clonalorigin.install
index 73752c9..8fe7bed 100644
--- a/debian/clonalorigin.install
+++ b/debian/clonalorigin.install
@@ -1 +1 @@
-usr
+warg/src/warg	usr/bin
diff --git a/debian/control b/debian/control
index 246f967..a4cc5dc 100644
--- a/debian/control
+++ b/debian/control
@@ -5,9 +5,9 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 10),
                libgsl-dev,
-               qt5-qmake-bin,
-               qttools5-dev,
-               libqt5svg5-dev,
+#               qt5-qmake-bin,
+#               qttools5-dev,
+#               libqt5svg5-dev,
                rename
 Standards-Version: 4.1.1
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/clonalorigin.git
@@ -30,20 +30,22 @@ Description: inference of homologous recombination in bacteria using whole genom
  reconstruct the recombination events that have taken place in their
  ancestry.
 
-Package: clonalorigin-gui
-Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
-Description: inference of homologous recombination in bacteria (GUI)
- Bacteria, unlike us, can reproduce on their own. They do however have
- mechanisms that transfer DNA between organisms, a process more formally
- known as recombination. The mechanisms by which recombination takes
- place have been studied extensively in the laboratory but much remains
- to be understood concerning how, when and where recombination takes
- place within natural populations of bacteria and how it helps them to
- adapt to new environments. ClonalOrigin performs a comparative analysis
- of the sequences of a sample of bacterial genomes in order to
- reconstruct the recombination events that have taken place in their
- ancestry.
- .
- This package contains the GUI for clonalorigin.
+# Does not work
+# see https://lists.debian.org/debian-mentors/2017/12/msg00025.html
+#Package: clonalorigin-gui
+#Architecture: any
+#Depends: ${shlibs:Depends},
+#         ${misc:Depends}
+#Description: inference of homologous recombination in bacteria (GUI)
+# Bacteria, unlike us, can reproduce on their own. They do however have
+# mechanisms that transfer DNA between organisms, a process more formally
+# known as recombination. The mechanisms by which recombination takes
+# place have been studied extensively in the laboratory but much remains
+# to be understood concerning how, when and where recombination takes
+# place within natural populations of bacteria and how it helps them to
+# adapt to new environments. ClonalOrigin performs a comparative analysis
+# of the sequences of a sample of bacterial genomes in order to
+# reconstruct the recombination events that have taken place in their
+# ancestry.
+# .
+# This package contains the GUI for clonalorigin.
diff --git a/debian/rules b/debian/rules
index 78868d1..4cccbe4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,13 +4,17 @@
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
-export QT_SELECT=qt5
+# export QT_SELECT=qt5
 
 include /usr/share/dpkg/default.mk
 
 %:
 	dh $@ --sourcedirectory=warg
 
+
+# GUI does not work - so there is no need to build it
+# see https://lists.debian.org/debian-mentors/2017/12/msg00025.html
+ifeq ($(QT_SELECT),qt5)
 override_dh_auto_configure:
 	dh_auto_configure
 	cd gui && qmake
@@ -18,9 +22,12 @@ override_dh_auto_configure:
 override_dh_auto_build:
 	dh_auto_build
 	cd gui && make
+endif
 
 override_dh_install:
 	dh_install
+ifeq ($(QT_SELECT),qt5)
 	mkdir -p $(CURDIR)/debian/$(DEB_SOURCE)-gui/usr/bin
 	cp -a gui/gui $(CURDIR)/debian/$(DEB_SOURCE)-gui/usr/bin/$(DEB_SOURCE)-gui
+endif
 	rename 's/\.pl//' debian/$(DEB_SOURCE)/usr/bin/*.pl

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



More information about the debian-med-commit mailing list