[med-svn] [SCM] sra-sdk branch, master, updated. upstream/2.0.0_rc1-17-gc183cf8

Charles Plessy plessy at debian.org
Thu Mar 31 04:25:29 UTC 2011


The following commit has been merged in the master branch:
commit d3e5c1fa2039c5fe127edea3efa5e6a2d98ac486
Author: Charles Plessy <plessy at debian.org>
Date:   Tue Jan 18 13:56:08 2011 +0900

     # Patch a makefile to link dynamically to the libxml.

diff --git a/debian/README.source b/debian/README.source
index 75bb0cb..0763800 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -1,9 +1,4 @@
-sra-sdk for Debian
-------------------
-
-<this file describes information about the source package, see Debian policy
-manual section 4.14. You WILL either need to modify or delete this file>
-
-
-
+This package uses the quilt patch system. Please refer to the following file
+for more information:
 
+/usr/share/doc/quilt/README.source
diff --git a/debian/control b/debian/control
index c4b37f4..35ace17 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer:  Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Charles Plessy <plessy at debian.org>, Andreas Tille <tille at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~),
+Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7~),
  libbz2-dev,
  zlib1g-dev,
  libxml2-dev
diff --git a/debian/patches/libxml-dynamic.patch b/debian/patches/libxml-dynamic.patch
new file mode 100644
index 0000000..9777d7f
--- /dev/null
+++ b/debian/patches/libxml-dynamic.patch
@@ -0,0 +1,15 @@
+Description: enables dynamic linking to libxml2
+Author: upstream
+Forwarded: not needed
+
+--- sra-sdk.orig/tools/sra-load/Makefile
++++ sra-sdk/tools/sra-load/Makefile
+@@ -124,7 +124,7 @@
+ 	-lpthread
+ 
+ ifneq (win,$(OS))
+-	LOADER_LIB += -sxml2
++	LOADER_LIB += -lxml2
+ endif
+ 
+ #------------------------------------------------------------------------------
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7d93966
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+libxml-dynamic.patch
diff --git a/debian/rules b/debian/rules
index d65080b..8c7edbb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 %:
-	dh $@
+	dh $@ --with quilt
 
 OUTDIR=$(CURDIR)/debian/tmp
 

-- 
Utilities for the NCBI Sequence Read Archive



More information about the debian-med-commit mailing list