[med-svn] r7003 - in trunk/packages/rostlab/profnet/trunk/debian: . patches source

Steffen Möller moeller at alioth.debian.org
Sun Jun 12 17:32:27 UTC 2011


Author: moeller
Date: 2011-06-12 17:32:27 +0000 (Sun, 12 Jun 2011)
New Revision: 7003

Added:
   trunk/packages/rostlab/profnet/trunk/debian/patches/
   trunk/packages/rostlab/profnet/trunk/debian/patches/patches.patch
   trunk/packages/rostlab/profnet/trunk/debian/patches/series
   trunk/packages/rostlab/profnet/trunk/debian/source/
   trunk/packages/rostlab/profnet/trunk/debian/source/format
Modified:
   trunk/packages/rostlab/profnet/trunk/debian/rules
Log:
At least for amd64 the code does not compile without
the removal of a couple of compiler checks.


Added: trunk/packages/rostlab/profnet/trunk/debian/patches/patches.patch
===================================================================
--- trunk/packages/rostlab/profnet/trunk/debian/patches/patches.patch	                        (rev 0)
+++ trunk/packages/rostlab/profnet/trunk/debian/patches/patches.patch	2011-06-12 17:32:27 UTC (rev 7003)
@@ -0,0 +1,224 @@
+Index: profnet-1.0.19/src-phd/Makefile
+===================================================================
+--- profnet-1.0.19.orig/src-phd/Makefile	2010-01-05 11:53:20.000000000 +0100
++++ profnet-1.0.19/src-phd/Makefile	2011-06-12 19:23:16.193205641 +0200
+@@ -95,8 +95,8 @@
+ #
+ # -finit-local-zero - initializing variables - solves all of the above but not all compilers support it. Solution: initialize all variables properly.
+ 
+-FFLAGS := -O3 -fbounds-check
+-FFLAGS := $(FFLAGS) -Wall -Wno-unused -Werror
++FFLAGS := -O3
++FFLAGS := $(FFLAGS) -Wall
+ 
+ profphd_net : phd.f lib-phd.f phdParameter.f
+ 	$(F77) $(FFLAGS) -o $@ phd.f lib-phd.f
+Index: profnet-1.0.19/bval.patch
+===================================================================
+--- profnet-1.0.19.orig/bval.patch	2010-02-23 10:42:49.000000000 +0100
++++ profnet-1.0.19/bval.patch	2011-06-12 19:05:29.463916012 +0200
+@@ -9,8 +9,9 @@
+  #=====================================================================
+  ARCH			=	LINUX
+ -FFLAGS          	:= 	-O3 -fbounds-check -Wuninitialized
++-FFLAGS          	:= 	$(FFLAGS) -Wall -Wno-unused -Werror
+ +FFLAGS          	:= 	-O3 -Wuninitialized
+- FFLAGS          	:= 	$(FFLAGS) -Wall -Wno-unused -Werror
+++FFLAGS          	:= 	$(FFLAGS) -Wall
+  #=====================================================================
+  NN_OBJS			:= prof.f lib-prof.f lib-sys-$(ARCH).f
+ diff -ruN -x '.*.swp' -x 'profnet*' -x .svn src/prof.f bval_dir/prof.f
+Index: profnet-1.0.19/chop.patch
+===================================================================
+--- profnet-1.0.19.orig/chop.patch	2010-05-12 20:05:27.000000000 +0200
++++ profnet-1.0.19/chop.patch	2011-06-12 19:05:29.467916030 +0200
+@@ -1,11 +1,16 @@
+-diff -ruN -x '.*.swp' -x 'profnet*' -x .svn src/Makefile chop_dir/Makefile
+---- src/Makefile	2010-02-10 17:55:33.923514458 +0100
+-+++ chop_dir/Makefile	2010-05-12 20:05:09.819459484 +0200
+-@@ -1,6 +1,6 @@
++--- src/Makefile	2010-02-10 17:55:33.000000000 +0100
+++++ chop_dir/Makefile	2011-06-12 18:32:32.874114630 +0200
++@@ -1,10 +1,10 @@
+  #=====================================================================
+  F77			=	gfortran
+ -BIN			=	profnet_prof
+ +BIN			=	profnet_chop
+  #=====================================================================
+  ARCH			=	LINUX
+- FFLAGS          	:= 	-O3 -fbounds-check -Wuninitialized
++-FFLAGS          	:= 	-O3 -fbounds-check -Wuninitialized
++-FFLAGS          	:= 	$(FFLAGS) -Wall -Wno-unused -Werror
+++FFLAGS          	:= 	-O3 -fbounds-check
+++FFLAGS          	:= 	$(FFLAGS) -Wall
++ #=====================================================================
++ NN_OBJS			:= prof.f lib-prof.f lib-sys-$(ARCH).f
++ SOURCES			:= $(NN_OBJS) profPar.f
+Index: profnet-1.0.19/con.patch
+===================================================================
+--- profnet-1.0.19.orig/con.patch	2010-02-23 10:48:52.000000000 +0100
++++ profnet-1.0.19/con.patch	2011-06-12 19:05:29.467916030 +0200
+@@ -1,14 +1,20 @@
+ diff -ruN -x '.*.swp' -x 'profnet*' -x .svn src/Makefile con_dir/Makefile
+---- src/Makefile	2010-02-10 17:55:33.923514458 +0100
+-+++ con_dir/Makefile	2010-02-23 10:48:22.263658539 +0100
+-@@ -1,6 +1,6 @@
++--- src/Makefile	2010-02-10 17:55:33.000000000 +0100
+++++ con_dir/Makefile	2011-06-12 18:34:50.926799202 +0200
++@@ -1,10 +1,10 @@
+  #=====================================================================
+  F77			=	gfortran
+ -BIN			=	profnet_prof
+ +BIN			=	profnet_con
+  #=====================================================================
+  ARCH			=	LINUX
+- FFLAGS          	:= 	-O3 -fbounds-check -Wuninitialized
++-FFLAGS          	:= 	-O3 -fbounds-check -Wuninitialized
++-FFLAGS          	:= 	$(FFLAGS) -Wall -Wno-unused -Werror
+++FFLAGS          	:= 	-O3 -fbounds-check
+++FFLAGS          	:= 	$(FFLAGS) -Wall
++ #=====================================================================
++ NN_OBJS			:= prof.f lib-prof.f lib-sys-$(ARCH).f
++ SOURCES			:= $(NN_OBJS) profPar.f
+ diff -ruN -x '.*.swp' -x 'profnet*' -x .svn src/profPar.f con_dir/profPar.f
+ --- src/profPar.f	2010-02-23 10:17:25.315661972 +0100
+ +++ con_dir/profPar.f	2010-02-23 10:47:35.907691244 +0100
+Index: profnet-1.0.19/isis.patch
+===================================================================
+--- profnet-1.0.19.orig/isis.patch	2010-04-23 15:28:30.000000000 +0200
++++ profnet-1.0.19/isis.patch	2011-06-12 19:05:29.467916030 +0200
+@@ -1,14 +1,20 @@
+ diff -ruN -x '.*.swp' -x 'profnet*' -x .svn src/Makefile isis_dir/Makefile
+---- src/Makefile	2010-02-10 17:55:33.923514458 +0100
+-+++ isis_dir/Makefile	2010-02-26 11:22:10.199787414 +0100
+-@@ -1,6 +1,6 @@
++--- src/Makefile	2010-02-10 17:55:33.000000000 +0100
+++++ isis_dir/Makefile	2011-06-12 18:37:59.599734777 +0200
++@@ -1,10 +1,10 @@
+  #=====================================================================
+  F77			=	gfortran
+ -BIN			=	profnet_prof
+ +BIN			=	profnet_isis
+  #=====================================================================
+  ARCH			=	LINUX
+- FFLAGS          	:= 	-O3 -fbounds-check -Wuninitialized
++-FFLAGS          	:= 	-O3 -fbounds-check -Wuninitialized
++-FFLAGS          	:= 	$(FFLAGS) -Wall -Wno-unused -Werror
+++FFLAGS          	:= 	-O3 -fbounds-check
+++FFLAGS          	:= 	$(FFLAGS) -Wall
++ #=====================================================================
++ NN_OBJS			:= prof.f lib-prof.f lib-sys-$(ARCH).f
++ SOURCES			:= $(NN_OBJS) profPar.f
+ diff -ruN -x '.*.swp' -x 'profnet*' -x .svn src/profPar.f isis_dir/profPar.f
+ --- src/profPar.f	2010-02-23 10:17:25.315661972 +0100
+ +++ isis_dir/profPar.f	2010-02-26 11:20:32.863648133 +0100
+Index: profnet-1.0.19/md.patch
+===================================================================
+--- profnet-1.0.19.orig/md.patch	2010-03-17 16:18:21.000000000 +0100
++++ profnet-1.0.19/md.patch	2011-06-12 19:05:29.467916030 +0200
+@@ -9,8 +9,9 @@
+  #=====================================================================
+  ARCH			=	LINUX
+ -FFLAGS          	:= 	-O3 -fbounds-check -Wuninitialized
++-FFLAGS          	:= 	$(FFLAGS) -Wall -Wno-unused -Werror
+ +FFLAGS          	:= 	-O3 -Wuninitialized
+- FFLAGS          	:= 	$(FFLAGS) -Wall -Wno-unused -Werror
+++FFLAGS          	:= 	$(FFLAGS) -Wall
+  #=====================================================================
+  NN_OBJS			:= prof.f lib-prof.f lib-sys-$(ARCH).f
+ diff -ruN -x '.*.swp' -x 'profnet*' -x .svn src/prof.f md_dir/prof.f
+Index: profnet-1.0.19/norsnet.patch
+===================================================================
+--- profnet-1.0.19.orig/norsnet.patch	2010-03-16 18:31:11.000000000 +0100
++++ profnet-1.0.19/norsnet.patch	2011-06-12 19:05:29.467916030 +0200
+@@ -9,8 +9,9 @@
+  #=====================================================================
+  ARCH			=	LINUX
+ -FFLAGS          	:= 	-O3 -fbounds-check -Wuninitialized
++-FFLAGS          	:= 	$(FFLAGS) -Wall -Wno-unused -Werror
+ +FFLAGS          	:= 	-O3 -Wuninitialized
+- FFLAGS          	:= 	$(FFLAGS) -Wall -Wno-unused -Werror
+++FFLAGS          	:= 	$(FFLAGS) -Wall
+  #=====================================================================
+  NN_OBJS			:= prof.f lib-prof.f lib-sys-$(ARCH).f
+ diff -ruN -x '.*.swp' -x 'profnet*' -x .svn src/prof.f norsnet_dir/prof.f
+Index: profnet-1.0.19/prof.patch
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ profnet-1.0.19/prof.patch	2011-06-12 19:05:29.467916030 +0200
+@@ -0,0 +1,13 @@
++--- src/Makefile	2010-02-10 17:55:33.000000000 +0100
+++++ prof_dir/Makefile	2011-06-12 18:43:25.449350577 +0200
++@@ -3,8 +3,8 @@
++ BIN			=	profnet_prof
++ #=====================================================================
++ ARCH			=	LINUX
++-FFLAGS          	:= 	-O3 -fbounds-check -Wuninitialized
++-FFLAGS          	:= 	$(FFLAGS) -Wall -Wno-unused -Werror
+++FFLAGS          	:= 	-O3 -fbounds-check
+++FFLAGS          	:= 	$(FFLAGS) -Wall
++ #=====================================================================
++ NN_OBJS			:= prof.f lib-prof.f lib-sys-$(ARCH).f
++ SOURCES			:= $(NN_OBJS) profPar.f
+Index: profnet-1.0.19/snapfun.patch
+===================================================================
+--- profnet-1.0.19.orig/snapfun.patch	2010-02-23 10:42:49.000000000 +0100
++++ profnet-1.0.19/snapfun.patch	2011-06-12 19:05:29.467916030 +0200
+@@ -1,47 +1,20 @@
+ diff -ruN -x '.*.swp' -x 'profnet*' -x .svn src/Makefile snapfun_dir/Makefile
+---- src/Makefile	2010-02-10 17:55:33.923514458 +0100
+-+++ snapfun_dir/Makefile	2010-02-23 10:38:31.391656287 +0100
+-@@ -1,6 +1,6 @@
++--- src/Makefile	2010-02-10 17:55:33.000000000 +0100
+++++ snapfun_dir/Makefile	2011-06-12 18:45:30.297969668 +0200
++@@ -1,10 +1,10 @@
+  #=====================================================================
+  F77			=	gfortran
+ -BIN			=	profnet_prof
+ +BIN			=	profnet_snapfun
+  #=====================================================================
+  ARCH			=	LINUX
+- FFLAGS          	:= 	-O3 -fbounds-check -Wuninitialized
+-diff -ruN -x '.*.swp' -x 'profnet*' -x .svn src/Makefile.orig snapfun_dir/Makefile.orig
+---- src/Makefile.orig	1970-01-01 01:00:00.000000000 +0100
+-+++ snapfun_dir/Makefile.orig	2010-02-23 10:38:31.395653152 +0100
+-@@ -0,0 +1,29 @@
+-+#=====================================================================
+-+F77			=	gfortran
+-+BIN			=	profnet_prof
+-+#=====================================================================
+-+ARCH			=	LINUX
+-+FFLAGS          	:= 	-O3 -fbounds-check -Wuninitialized
+-+FFLAGS          	:= 	$(FFLAGS) -Wall -Wno-unused -Werror
+-+#=====================================================================
+-+all:	$(BIN)
+-+
+-+#=====================================================================
+-+# Make Neural Network
+-+#=====================================================================
+-+
+-+NN_OBJS=prof.f lib-prof.f lib-sys-$(ARCH).f
+-+
+-+$(BIN): $(NN_OBJS)
+-+	@echo --- making $(BIN)
+-+	$(F77) -o $@ $(FFLAGS) $(NN_OBJS)
+-+
+-+clean:
+-+	rm -f *.o $(BIN)
+-+
+-+install:
+-+	mkdir -p $(DESTDIR)$(prefix)/usr/bin && \
+-+		cp $(BIN) $(DESTDIR)$(prefix)/usr/bin/
+-+
+-+.PHONY:	all clean install
+-+
++-FFLAGS          	:= 	-O3 -fbounds-check -Wuninitialized
++-FFLAGS          	:= 	$(FFLAGS) -Wall -Wno-unused -Werror
+++FFLAGS          	:= 	-O3 -fbounds-check
+++FFLAGS          	:= 	$(FFLAGS) -Wall
++ #=====================================================================
++ NN_OBJS			:= prof.f lib-prof.f lib-sys-$(ARCH).f
++ SOURCES			:= $(NN_OBJS) profPar.f
+ diff -ruN -x '.*.swp' -x 'profnet*' -x .svn src/profPar.f snapfun_dir/profPar.f
+ --- src/profPar.f	2010-02-23 10:17:25.315661972 +0100
+ +++ snapfun_dir/profPar.f	2010-02-23 10:38:31.399648899 +0100

Added: trunk/packages/rostlab/profnet/trunk/debian/patches/series
===================================================================
--- trunk/packages/rostlab/profnet/trunk/debian/patches/series	                        (rev 0)
+++ trunk/packages/rostlab/profnet/trunk/debian/patches/series	2011-06-12 17:32:27 UTC (rev 7003)
@@ -0,0 +1 @@
+patches.patch

Modified: trunk/packages/rostlab/profnet/trunk/debian/rules
===================================================================
--- trunk/packages/rostlab/profnet/trunk/debian/rules	2011-06-12 10:04:44 UTC (rev 7002)
+++ trunk/packages/rostlab/profnet/trunk/debian/rules	2011-06-12 17:32:27 UTC (rev 7003)
@@ -10,24 +10,18 @@
 #export DH_VERBOSE=1
 
 
-
-
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-
-	touch configure-stamp
-
-
 build: build-stamp
 
-build-stamp: configure-stamp  
+build-stamp:
 	dh_testdir
 
+	@echo "******************"
+	@echo "**  M  A  K  E  **"
+	@echo "******************"
+
 	# Add here commands to compile the package.
-	$(MAKE)
+	make patch
+	make
 	#docbook-to-man debian/profnet.sgml > profnet.1
 
 	touch $@
@@ -48,6 +42,10 @@
 	dh_prep
 	dh_installdirs
 
+	@echo "*******************"
+	@echo "** I N S T A L L **"
+	@echo "*******************"
+
 	# Add here commands to install the package into debian/profnet.
 	$(MAKE) DESTDIR=$(CURDIR)/debian/profnet-bval install-bval
 	$(MAKE) DESTDIR=$(CURDIR)/debian/profnet-chop install-chop

Added: trunk/packages/rostlab/profnet/trunk/debian/source/format
===================================================================
--- trunk/packages/rostlab/profnet/trunk/debian/source/format	                        (rev 0)
+++ trunk/packages/rostlab/profnet/trunk/debian/source/format	2011-06-12 17:32:27 UTC (rev 7003)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the debian-med-commit mailing list