[med-svn] r13045 - in trunk/packages/autodocksuite/trunk/debian: . patches

Thorsten Alteholz alteholz at alioth.debian.org
Mon Feb 18 18:13:27 UTC 2013


Author: alteholz
Date: 2013-02-18 18:13:27 +0000 (Mon, 18 Feb 2013)
New Revision: 13045

Modified:
   trunk/packages/autodocksuite/trunk/debian/changelog
   trunk/packages/autodocksuite/trunk/debian/control
   trunk/packages/autodocksuite/trunk/debian/copyright
   trunk/packages/autodocksuite/trunk/debian/patches/make.patch
   trunk/packages/autodocksuite/trunk/debian/rules
Log:
ready for upload

Modified: trunk/packages/autodocksuite/trunk/debian/changelog
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/changelog	2013-02-18 15:07:24 UTC (rev 13044)
+++ trunk/packages/autodocksuite/trunk/debian/changelog	2013-02-18 18:13:27 UTC (rev 13045)
@@ -1,8 +1,14 @@
-autodocksuite (4.2.5.1-1) UNRELEASED; urgency=low
+autodocksuite (4.2.5.1-1) experimental; urgency=low
 
   * new upstream version
+  * add make.patch
+  * debian/copyright: point to GPL-2 instead of just GPL
+  * debian/control: add more description to autodock-test and autogrid-test
+  * debian/rules: add autodock/RELEASENOTES as upstream ChangeLog
+  * debian/rules: introduce hardening flags
+  * debian/rules: activate "link time optimisation"
 
- -- Thorsten Alteholz <debian at alteholz.de>  Sat, 16 Feb 2013 20:42:51 +0100
+ -- Thorsten Alteholz <debian at alteholz.de>  Mon, 18 Feb 2013 19:00:00 +0100
 
 autodocksuite (4.2.3-3) UNRELEASED; urgency=low
 

Modified: trunk/packages/autodocksuite/trunk/debian/control
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/control	2013-02-18 15:07:24 UTC (rev 13044)
+++ trunk/packages/autodocksuite/trunk/debian/control	2013-02-18 18:13:27 UTC (rev 13045)
@@ -48,6 +48,13 @@
 Suggests: autodock
 Depends: ${misc:Depends}
 Description: test files for AutoDock
+ AutoDock is a prime representative of the programs addressing the
+ simulation of the docking of fairly small chemical ligands to rather big
+ protein receptors. Earlier versions had all flexibility in the ligands
+ while the protein was kept rather ridgid. This latest version 4 also
+ allows for a flexibility of selected sidechains of surface residues,
+ i.e., takes the rotamers into account.
+ .
  This package contain the test files for the AutoDock program.
 
 Package: autogrid-test
@@ -55,6 +62,10 @@
 Suggests: autogrid
 Depends: ${misc:Depends}
 Description: test files for AutoGrid
+ The AutoDockSuite addresses the molecular analysis of the docking of
+ a smaller chemical compounds to their receptors of known three-dimensional
+ structure.
+ .
  This package contain the test files for the AutoGrid program.
 
 Package: autodock-getdata

Modified: trunk/packages/autodocksuite/trunk/debian/copyright
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/copyright	2013-02-18 15:07:24 UTC (rev 13044)
+++ trunk/packages/autodocksuite/trunk/debian/copyright	2013-02-18 18:13:27 UTC (rev 13045)
@@ -56,7 +56,7 @@
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
 On Debian systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL'.
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
 
 The Debian packaging is © 2007, Steffen Moeller <moeller at debian.org> and
 is licensed under the GPL, see above.

Modified: trunk/packages/autodocksuite/trunk/debian/patches/make.patch
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/patches/make.patch	2013-02-18 15:07:24 UTC (rev 13044)
+++ trunk/packages/autodocksuite/trunk/debian/patches/make.patch	2013-02-18 18:13:27 UTC (rev 13045)
@@ -1,3 +1,6 @@
+Description: adapt make process to Debian build environment
+Author: Thorsten Alteholz <debian at alteholz.de>
+Last-Update: 2013-02-16
 Index: src/autogrid/Makefile.am
 ===================================================================
 --- src.orig/autogrid/Makefile.am	2013-02-17 18:47:22.000000000 +0100

Modified: trunk/packages/autodocksuite/trunk/debian/rules
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/rules	2013-02-18 15:07:24 UTC (rev 13044)
+++ trunk/packages/autodocksuite/trunk/debian/rules	2013-02-18 18:13:27 UTC (rev 13045)
@@ -6,19 +6,25 @@
 
 SHELL := /bin/bash
 
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+
+
 CXX=g++
 CC=gcc
 #CXX=/usr/lib/gcc-snapshot/bin/g++
 #CC=/usr/lib/gcc-snapshot/bin/gcc
 
 # see http://www.gentoo.org/proj/en/qa/asneeded.xml
-LDFLAGS="-Wl,--as-needed"
+LDFLAGS+="-Wl,--as-needed"
 
-CFLAGS = -Wall -g
+CFLAGS += -Wall -g
 
 # link time optimisation - as soon as gcc-4.5 hits the archive
-#CFLAGS += -flto
-#LDFLAGS += -flto
+CFLAGS += -flto
+LDFLAGS += -flto
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
@@ -31,14 +37,14 @@
 # the suggested const is not working sufficiently, for gcc-4.6 and higher
 #CFLAGS += -Wsuggest-attribute=const
 
-CXXFLAGS=$(CFLAGS)
+CXXFLAGS+=$(CFLAGS)
 
 configure: configure-stamp
 configure-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 	set -e; \
 	for d in autodock autogrid; do \
-		( cd $$d && autoreconf -i && ./configure CC="$(CC)" CXX="$(CXX)" LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" --prefix=/usr ) \
+		( cd $$d && autoreconf -i && ./configure CC="$(CC)" CXX="$(CXX)" LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" --prefix=/usr ) \
 	done
 
 	touch configure-stamp
@@ -49,11 +55,7 @@
 build-arch-stamp: configure-stamp 
 	set -e; \
 	pwd; \
-	find; \
 	for d in autodock autogrid; do $(MAKE) -C $$d; done
-#	for d in autogrid autodock; do \
-#		( cd $$d && $(MAKE)) \
-#	done
 	touch $@
 
 build-indep: build-indep-stamp
@@ -98,7 +100,7 @@
 binary-common:
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs
+	dh_installchangelogs autodock/RELEASENOTES
 	dh_installdocs
 	dh_installexamples
 	dh_installman




More information about the debian-med-commit mailing list