[med-svn] r9819 - in trunk/packages/meme/trunk/debian: . patches

H. Soon Gweon soonio-guest at alioth.debian.org
Wed Feb 29 17:36:12 UTC 2012


Author: soonio-guest
Date: 2012-02-29 17:36:12 +0000 (Wed, 29 Feb 2012)
New Revision: 9819

Added:
   trunk/packages/meme/trunk/debian/meme-examples.install
   trunk/packages/meme/trunk/debian/meme.install
   trunk/packages/meme/trunk/debian/patches/fix_doc_location
   trunk/packages/meme/trunk/debian/patches/fix_installer_paths
   trunk/packages/meme/trunk/debian/patches/fix_plib_path
   trunk/packages/meme/trunk/debian/patches/no_libxml_configure
Log:
More files added


Added: trunk/packages/meme/trunk/debian/meme-examples.install
===================================================================
--- trunk/packages/meme/trunk/debian/meme-examples.install	                        (rev 0)
+++ trunk/packages/meme/trunk/debian/meme-examples.install	2012-02-29 17:36:12 UTC (rev 9819)
@@ -0,0 +1 @@
+/examples /usr/share/doc/meme/examples

Added: trunk/packages/meme/trunk/debian/meme.install
===================================================================
--- trunk/packages/meme/trunk/debian/meme.install	                        (rev 0)
+++ trunk/packages/meme/trunk/debian/meme.install	2012-02-29 17:36:12 UTC (rev 9819)
@@ -0,0 +1,5 @@
+etc/*
+var
+usr/bin/meme*
+usr/bin/metameme
+usr/share/doc/meme

Added: trunk/packages/meme/trunk/debian/patches/fix_doc_location
===================================================================
--- trunk/packages/meme/trunk/debian/patches/fix_doc_location	                        (rev 0)
+++ trunk/packages/meme/trunk/debian/patches/fix_doc_location	2012-02-29 17:36:12 UTC (rev 9819)
@@ -0,0 +1,11 @@
+--- a/scripts/meme.csh.in
++++ b/scripts/meme.csh.in
+@@ -59,7 +59,7 @@
+ 
+ # Describe MEME and its output format:
+ usage:
+-set usage = @MEMEDIR@/etc/meme.doc
++set usage = /usr/share/doc/meme/meme.doc
+ tty -s                        # see if stdin is a terminal
+ if ($status == 0) then
+   more $usage

Added: trunk/packages/meme/trunk/debian/patches/fix_installer_paths
===================================================================
--- trunk/packages/meme/trunk/debian/patches/fix_installer_paths	                        (rev 0)
+++ trunk/packages/meme/trunk/debian/patches/fix_installer_paths	2012-02-29 17:36:12 UTC (rev 9819)
@@ -0,0 +1,28 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -18,11 +18,11 @@
+ install-data-hook: dbdir
+ 
+ dbdir:
+-	mkdir -p $(MEME_DB)
++	mkdir -p $(DESTDIR)$(MEME_DB)
+ 
+ install-data-local:
+-	mkdir -p $(MEME_LOGS)
+-	chmod a+w $(MEME_LOGS)
++	mkdir -p $(DESTDIR)$(MEME_LOGS)
++	chmod a+w $(DESTDIR)$(MEME_LOGS)
+ 
+ distdir = $(PACKAGE)_$(VERSION)
+ 
+--- a/doc/examples/Makefile.am
++++ b/doc/examples/Makefile.am
+@@ -52,7 +52,7 @@
+ other_exdir = $(WEBDIR)/doc/examples
+ else
+ exdir = $(prefix)/doc/examples
+-other_exdir = $(exdir)
++other_exdir = $(DESTDIR)/$(exdir)
+ endif
+ 
+ ex_DATA = $(EXAMPLES)

Added: trunk/packages/meme/trunk/debian/patches/fix_plib_path
===================================================================
--- trunk/packages/meme/trunk/debian/patches/fix_plib_path	                        (rev 0)
+++ trunk/packages/meme/trunk/debian/patches/fix_plib_path	2012-02-29 17:36:12 UTC (rev 9819)
@@ -0,0 +1,26 @@
+--- a/src/init.c
++++ b/src/init.c
+@@ -33,8 +33,9 @@
+ #endif
+ 
+ /* priors */
+-#define PROTEIN_PLIB "prior30.plib"
+-#define DNA_PLIB "dna.plib"
++#define PLIB_DIR ETC_DIR
++#define PROTEIN_PLIB PLIB_DIR"/prior30.plib"
++#define DNA_PLIB PLIB_DIR"/dna.plib"
+ 
+ #define ROUNDERROR (1E-12)
+ 
+@@ -496,9 +497,11 @@
+         plib_name = DNA_PLIB;   /* default mixture prior for DNA */
+       }
+       /* prepend meme_directory to file name */
++      /*
+       Strcat(tmp1, meme_directory, "/etc/");
+       Strcat(tmp2, tmp1, plib_name);
+       plib_name = tmp2;
++      */
+     }
+   }
+   if ((ptype == Mega || ptype == MegaP) && beta == -1) {

Added: trunk/packages/meme/trunk/debian/patches/no_libxml_configure
===================================================================
--- trunk/packages/meme/trunk/debian/patches/no_libxml_configure	                        (rev 0)
+++ trunk/packages/meme/trunk/debian/patches/no_libxml_configure	2012-02-29 17:36:12 UTC (rev 9819)
@@ -0,0 +1,11 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -21,7 +21,7 @@
+ PARALLEL_DIR =
+ endif
+ 
+-SUBDIRS = filters libxml2 libxslt libexslt . $(PARALLEL_DIR)
++SUBDIRS = filters libexslt . $(PARALLEL_DIR)
+ 
+ BUILT_SOURCES = dir.h projrel.h
+ 




More information about the debian-med-commit mailing list