[med-svn] r269 - trunk/packages/melting/trunk/debian/patches

Charles Plessy charles-guest at alioth.debian.org
Thu Apr 12 10:59:18 UTC 2007


Author: charles-guest
Date: 2007-04-12 10:59:18 +0000 (Thu, 12 Apr 2007)
New Revision: 269

Added:
   trunk/packages/melting/trunk/debian/patches/decode.c_to-unicode.patch
   trunk/packages/melting/trunk/debian/patches/makefile.patch
   trunk/packages/melting/trunk/debian/patches/melting.c_silent.patch
   trunk/packages/melting/trunk/debian/patches/melting.c_to-unicode.patch
   trunk/packages/melting/trunk/debian/patches/tkmelting.patch
Modified:
   trunk/packages/melting/trunk/debian/patches/series
Log:
Suppressing some output and converting some other to Unicode.

Added: trunk/packages/melting/trunk/debian/patches/decode.c_to-unicode.patch
===================================================================
--- trunk/packages/melting/trunk/debian/patches/decode.c_to-unicode.patch	2007-04-12 01:04:13 UTC (rev 268)
+++ trunk/packages/melting/trunk/debian/patches/decode.c_to-unicode.patch	2007-04-12 10:59:18 UTC (rev 269)
@@ -0,0 +1,40 @@
+--- ./SRC/decode.c	2007-04-12 17:40:21.000000000 +0900
++++ ./SRC/decode.c.debian	2007-04-12 19:56:46.000000000 +0900
+@@ -3,7 +3,7 @@
+  * This program   computes for a nucleotide probe, the enthalpy, the entropy  *
+  * and the melting temperature of the binding to its complementary template.  *
+  * Three types of hybridisation are possible: DNA/DNA, DNA/RNA, and RNA/RNA.  *
+- *                 Copyright (C) Nicolas Le Novère 1997-2002                  *
++ *                 Copyright (C) Nicolas Le Novère 1997-2002                  *
+  *                                                                            *
+  * File: decode.c                                                             *
+  * Date: 18/FEB/2002                                                          *
+@@ -24,8 +24,8 @@
+       along with this program; if not, write to the Free Software
+       Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ 
+-      Nicolas Le Novère 
+-      Récepteurs et cognition, Institut Pasteur
++      Nicolas Le Novère 
++      Récepteurs et cognition, Institut Pasteur
+       75724 Paris cedex, France. e-mail: lenov at pasteur.fr
+ */
+ 
+@@ -726,7 +726,7 @@
+  **************************/
+ 
+ void legal(void){
+-    fprintf(OUTPUT,"   Melting is copyright (C) 1997, 2000 by Nicolas Le Novère\n\n");
++    fprintf(OUTPUT,"   Melting is copyright (C) 1997, 2000 by Nicolas Le Novère\n\n");
+     fprintf(OUTPUT,"   This  program  is  free  software; you can redistribute it\n");
+     fprintf(OUTPUT,"   and/or modify it under the terms of the GNU General Public\n");
+     fprintf(OUTPUT,"   License  as  published  by  the  Free Software Foundation;\n");
+@@ -741,7 +741,7 @@
+     fprintf(OUTPUT,"   License along with this program; if not, write to the Free\n");
+     fprintf(OUTPUT,"   Software  Foundation,  Inc.,  59  Temple Place, Suite 330,\n");
+     fprintf(OUTPUT,"   Boston, MA  02111-1307 USA\n\n");
+-    fprintf(OUTPUT,"   Nicolas Le Novère, Receptors and Cognition, Institut Pasteur\n");
++    fprintf(OUTPUT,"   Nicolas Le Novère, Receptors and Cognition, Institut Pasteur\n");
+     fprintf(OUTPUT,"   rue du Dr Roux,  75724 Paris cedex,  France\n");
+     fprintf(OUTPUT,"   lenov at pasteur.fr\n");
+ }

Added: trunk/packages/melting/trunk/debian/patches/makefile.patch
===================================================================
--- trunk/packages/melting/trunk/debian/patches/makefile.patch	2007-04-12 01:04:13 UTC (rev 268)
+++ trunk/packages/melting/trunk/debian/patches/makefile.patch	2007-04-12 10:59:18 UTC (rev 269)
@@ -0,0 +1,11 @@
+--- ./makefile.unices	2007-04-12 17:40:22.000000000 +0900
++++ ./makefile.unices.debian	2007-04-12 18:37:59.000000000 +0900
+@@ -37,7 +37,7 @@
+ 
+ # where to find the files containing the sets of nearest_neighbor parameters. 
+ # This one is to initialise the default value of melting. 
+-NNDIR = $(prefix)/share/MELTING/NNFILES
++NNDIR = /usr/share/melting/NNFILES
+ 
+ #INSTALL = /usr/bin/install -c
+ VPATH = $(srcdir)

Added: trunk/packages/melting/trunk/debian/patches/melting.c_silent.patch
===================================================================
--- trunk/packages/melting/trunk/debian/patches/melting.c_silent.patch	2007-04-12 01:04:13 UTC (rev 268)
+++ trunk/packages/melting/trunk/debian/patches/melting.c_silent.patch	2007-04-12 10:59:18 UTC (rev 269)
@@ -0,0 +1,17 @@
+--- ./SRC/melting.c	2007-04-12 17:40:21.000000000 +0900
++++ ./SRC/melting.c.debian	2007-04-12 19:55:06.000000000 +0900
+@@ -134,9 +134,11 @@
+ 
+     /* read the environment variable specifying the repository directory */
+     if ( (ps_getenv = getenv("NN_PATH")) == NULL){ 
+-	fprintf(ERROR," The environment variable NN_PATH is not defined. I will\n"
+-		" therefore use the default value defined during the compilation\n"
+-		" to look for the file containing the regular parameters.\n");
++/* Be silent please  */
++/*	fprintf(ERROR," The environment variable NN_PATH is not defined. I will\n"
++ *		" therefore use the default value defined during the compilation\n"
++ *		" to look for the file containing the regular parameters.\n");
++ */
+ 	ps_getenv = NN_BASE;
+     }
+ 

Added: trunk/packages/melting/trunk/debian/patches/melting.c_to-unicode.patch
===================================================================
--- trunk/packages/melting/trunk/debian/patches/melting.c_to-unicode.patch	2007-04-12 01:04:13 UTC (rev 268)
+++ trunk/packages/melting/trunk/debian/patches/melting.c_to-unicode.patch	2007-04-12 10:59:18 UTC (rev 269)
@@ -0,0 +1,56 @@
+--- ./SRC/melting.c	2007-04-12 17:40:21.000000000 +0900
++++ ./SRC/melting.c.debian	2007-04-12 19:19:12.000000000 +0900
+@@ -3,7 +3,7 @@
+  * This program   computes for a nucleotide probe, the enthalpy, the entropy  *
+  * and the melting temperature of the binding to its complementary template.  *
+  * Three types of hybridisation are possible: DNA/DNA, DNA/RNA, and RNA/RNA.  *
+- *                 Copyright (C) Nicolas Le Novère 1997-2003                  *
++ *                 Copyright (C) Nicolas Le Novère 1997-2003                  *
+  *                                                                            *
+  * File: melting.c                                                            *
+  * Date: 10/APR/2003                                                          *
+@@ -24,7 +24,7 @@
+       along with this program; if not, write to the Free Software
+       Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+ 
+-      Nicolas Le Novère 
++      Nicolas Le Novère 
+       Department of Zoology, University of Cambridge, Downing street
+       CB2 3EJ Cambridge, UK. e-mail: nl223 at cus.cam.ac.uk
+ */
+@@ -403,7 +403,7 @@
+             fprintf(OUTFILE,"* This program   computes for a nucleotide probe, the enthalpy, the entropy  *\n");
+             fprintf(OUTFILE,"* and the melting temperature of the binding to its complementary template.  *\n");
+             fprintf(OUTFILE,"* Three types of hybridisation are possible: DNA/DNA, DNA/RNA, and RNA/RNA.  *\n");
+-            fprintf(OUTFILE,"*                 Copyright (C) Nicolas Le Novère 1997-2002                  *\n");
++            fprintf(OUTFILE,"*                 Copyright (C) Nicolas Le Novère 1997-2002                  *\n");
+             fprintf(OUTFILE,"******************************************************************************\n");
+ 	    fprintf(OUTFILE,"\n");
+ 	    fprintf(OUTFILE,"sequence  : %s\n",pst_param->ps_sequence);
+@@ -499,7 +499,7 @@
+ 	} else {
+ 	  fprintf(OUTFILE,"  Sequence length above threshold: approximative mode\n");
+ 	}
+-	fprintf(OUTFILE,"  Melting temperature: %5.2f °C\n", pst_results->d_tm);
++	fprintf(OUTFILE,"  Melting temperature: %5.2f °C\n", pst_results->d_tm);
+ 	fclose(OUTFILE);
+     } else {			/* OUTPUT ON STDIN */
+       /*+-------------------------------------------------+
+@@ -512,7 +512,7 @@
+             fprintf(VERBOSE,"* This program   computes for a nucleotide probe, the enthalpy, the entropy  *\n");
+             fprintf(VERBOSE,"* and the melting temperature of the binding to its complementary template.  *\n");
+             fprintf(VERBOSE,"* Three types of hybridisation are possible: DNA/DNA, DNA/RNA, and RNA/RNA.  *\n");
+-            fprintf(VERBOSE,"*                 Copyright (C) Nicolas Le Novère 1997-2002                  *\n");
++            fprintf(VERBOSE,"*                 Copyright (C) Nicolas Le Novère 1997-2002                  *\n");
+             fprintf(VERBOSE,"******************************************************************************\n");
+ 	    fprintf(VERBOSE,"\n");
+ 	    fprintf(VERBOSE,"sequence  : %s\n",pst_param->ps_sequence);
+@@ -607,7 +607,7 @@
+ 	  fprintf(OUTPUT,"  Sequence length above threshold: approximative mode\n");
+ 	}
+ 
+-	fprintf(OUTPUT,"  Melting temperature: %5.2f °C\n", pst_results->d_tm);
++	fprintf(OUTPUT,"  Melting temperature: %5.2f °C\n", pst_results->d_tm);
+     }    	
+ 			   /* This way of output the results is heavy and not satisfying ... */
+ 

Modified: trunk/packages/melting/trunk/debian/patches/series
===================================================================
--- trunk/packages/melting/trunk/debian/patches/series	2007-04-12 01:04:13 UTC (rev 268)
+++ trunk/packages/melting/trunk/debian/patches/series	2007-04-12 10:59:18 UTC (rev 269)
@@ -1 +1,5 @@
+makefile.patch
 tkmelting.patch
+melting.c_to-unicode.patch
+melting.c_silent.patch
+decode.c_to-unicode.patch

Added: trunk/packages/melting/trunk/debian/patches/tkmelting.patch
===================================================================
--- trunk/packages/melting/trunk/debian/patches/tkmelting.patch	2007-04-12 01:04:13 UTC (rev 268)
+++ trunk/packages/melting/trunk/debian/patches/tkmelting.patch	2007-04-12 10:59:18 UTC (rev 269)
@@ -0,0 +1,11 @@
+--- ./BIN/tkmelting.pl	2007-04-12 17:40:22.000000000 +0900
++++ ./BIN/tkmelting.pl.debian	2007-04-12 18:39:12.000000000 +0900
+@@ -398,7 +398,7 @@
+ 					     )->pack(-expand => 1,
+ 						     -fill   => 'both'
+ 						   );
+-	open(FH,"melting.hlp") || die "unable to open melting.hlp";
++	open(FH,"/usr/share/melting/melting.hlp") || die "unable to open melting.hlp";
+ 	while (<FH>){
+ 	    $helpText->insert('end', $_);
+ 	}




More information about the debian-med-commit mailing list