[med-svn] [SCM] situs branch, master, updated. ab7ed038ec3fad6186f2bf4cc353e30a1f1440ca

Mickaël Canévet root at debbuild.embl.fr
Mon Jul 16 09:16:19 UTC 2012


The following commit has been merged in the master branch:
commit ab7ed038ec3fad6186f2bf4cc353e30a1f1440ca
Author: Mickaël Canévet <root at debbuild.embl.fr>
Date:   Mon Jul 16 11:15:51 2012 +0200

    Split and add header to patches

diff --git a/debian/patches/Makefile.patch b/debian/patches/Makefile.patch
deleted file mode 100644
index 54a6a87..0000000
--- a/debian/patches/Makefile.patch
+++ /dev/null
@@ -1,80 +0,0 @@
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -3,7 +3,7 @@
- #####
- 
- SRC_DIR	= .
--BIN_DIR = ../bin
-+BIN_DIR = $(DESTDIR)/usr/bin
- SHELL = /bin/sh
- 
- #####
-@@ -17,7 +17,7 @@
- # any extra compiler and linker options (see the compiler man page)
- #####
- 
--CFLAGS     = -O3 -w -I../fftw
-+CFLAGS     = -O3 -w
- XFLAGS     = -O3 -w 
- LFLAGS     = -lm 
- 
-@@ -53,15 +53,7 @@
- 
- SITUS_EXEC = $(SITUS_C:.c=) $(SITUS_CPP:.cpp=)
- 
--#####
--# FFTW files
--#####
--
--FFTWCFILES = $(wildcard ../fftw/*.c)
--FFTWOFILES = $(patsubst %.c,%.o,$(notdir $(FFTWCFILES)))
--
- vpath %.c $(SRC_DIR)
--vpath %.c ../fftw
- 
- AR = ar
- ARFLAGS = cru
-@@ -74,7 +66,7 @@
- CD = cd
- RM = rm -f
- MV = mv
--OBJ_FILES = $(wildcard *.o) libfftw.a
-+OBJ_FILES = $(wildcard *.o)
- 
- #####
- # main makefile rules
-@@ -129,8 +121,8 @@
- collage:	collage.o lib_std.o lib_pio.o lib_vwk.o lib_vec.o lib_rnd.o lib_pwk.o lib_pow.o lib_err.o lib_eul.o lib_tim.o lib_smp.o lib_vio.o 
- 	$(CC) collage.o lib_std.o lib_pio.o lib_vio.o lib_vwk.o lib_vec.o lib_rnd.o lib_pwk.o lib_pow.o lib_err.o lib_eul.o lib_tim.o lib_smp.o $(LFLAGS) $(SMPLIB) -o collage
- 
--colores:	colores.o lib_std.o lib_pio.o lib_vwk.o lib_vec.o lib_rnd.o lib_pwk.o lib_pow.o lib_err.o lib_eul.o lib_tim.o lib_smp.o lib_vio.o libfftw.a
--	$(CC) colores.o lib_std.o lib_pio.o lib_vio.o lib_vwk.o lib_vec.o lib_rnd.o lib_pwk.o lib_pow.o lib_err.o lib_eul.o lib_tim.o lib_smp.o libfftw.a $(LFLAGS) $(SMPLIB) $(OMPLIB) -o colores
-+colores:	colores.o lib_std.o lib_pio.o lib_vwk.o lib_vec.o lib_rnd.o lib_pwk.o lib_pow.o lib_err.o lib_eul.o lib_tim.o lib_smp.o lib_vio.o
-+	$(CC) colores.o lib_std.o lib_pio.o lib_vio.o lib_vwk.o lib_vec.o lib_rnd.o lib_pwk.o lib_pow.o lib_err.o lib_eul.o lib_tim.o lib_smp.o $(LFLAGS) $(SMPLIB) $(OMPLIB) -lfftw -lrfftw -o colores
- 
- matchpt:	matchpt.o lib_mpt.o 
- 	$(CXX) $(CFLAGS) -c lib_err.c
-@@ -161,20 +153,16 @@
- 	$(CXX) volfltr.o lib_sba.o lib_svt.o lib_vio.o lib_vwk.o lib_vec.o lib_std.o lib_err.o $(LFLAGS) $(OMPLIB) $(SMPLIB) -o volfltr
- 	$(RM) lib_vio.o lib_vwk.o lib_vec.o lib_std.o lib_err.o 
- 
--libfftw.a:	$(FFTWOFILES) 
--	$(AR) $(ARFLAGS) libfftw.a $(FFTWOFILES)
--	$(RANLIB) libfftw.a
--
- install:
--	$(MV) $(SITUS_EXEC) $(BIN_DIR)
-+	mkdir -p $(BIN_DIR)
-+	install $(SITUS_EXEC) $(BIN_DIR)
- 
- clean:
- 	$(RM) $(OBJ_FILES)
--	$(MV) $(SITUS_EXEC) $(BIN_DIR)
-+	$(RM) $(SITUS_EXEC)
- 
- veryclean:
- 	$(RM) $(OBJ_FILES)	
--	$(CD) $(BIN_DIR) && $(RM) $(SITUS_EXEC)
- 
- .c.o:
- 	$(CC) $(CFLAGS) $(SMP) $(OMP) -c $(SRC_DIR)/$<
diff --git a/debian/patches/series b/debian/patches/series
index 5b1c0a4..eb3af79 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,3 @@
-Makefile.patch
+fix_install_path.patch
+fix_clean_targets.patch
+fix_libfftw_link.patch

-- 
Packaging of situs in Debian



More information about the debian-med-commit mailing list