[Pkg-cli-libs-commits] [cecil-flowanalysis] 01/02: * debian/control: + Update nunit build-dep to use -cil-dev package (Closes: #564380) + Update nant build-dep to be bpo friendly. * debian/rules: Make get-orig-source policy conformant. * debian/patches/02_cecil_location.dpatch, debian/rules: Add new patch to copy cecil using pkg-config to discover location of the dll. Also tell nant about the new location in rules. * debian/README.source: Add, taken from dpatch package. * debian/libmono-cecil-flowanalysis0.1a-cil.installcligac

Jo Shields directhex at moszumanska.debian.org
Tue Nov 10 10:20:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

directhex pushed a commit to annotated tag debian/0.1%7Esvn.128879-2
in repository cecil-flowanalysis.

commit ae3a89ab5bb4b788688aee789b0c91ebebd8369c
Author: Iain Lane <laney at debian.org>
Date:   Tue Jan 19 20:11:07 2010 +0000

    * debian/control:
       + Update nunit build-dep to use -cil-dev package (Closes: #564380)
       + Update nant build-dep to be bpo friendly.
    * debian/rules: Make get-orig-source policy conformant.
    * debian/patches/02_cecil_location.dpatch, debian/rules: Add new patch to
      copy cecil using pkg-config to discover location of the dll. Also tell
      nant about the new location in rules.
    * debian/README.source: Add, taken from dpatch package.
    * debian/libmono-cecil-flowanalysis0.1a-cil.installcligac
---
 debian/README.source                    | 38 +++++++++++++++++++++++++++++++++
 debian/changelog                        | 15 ++++++++++++-
 debian/control                          |  4 ++--
 debian/patches/00list                   |  1 +
 debian/patches/02_cecil_location.dpatch | 19 +++++++++++++++++
 debian/rules                            |  6 ++----
 6 files changed, 76 insertions(+), 7 deletions(-)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..fc98b3d
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,38 @@
+This package uses dpatch to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To get the fully patched source after unpacking the source package, cd
+to the root level of the source package and run:
+
+    debian/rules patch
+
+Removing a patch is as simple as removing its entry from the
+debian/patches/00list file, and please also remove the patch file
+itself.
+
+Creating a new patch is done with "dpatch-edit-patch patch XX_patchname"
+where you should replace XX with a new number and patchname with a
+descriptive shortname of the patch. You can then simply edit all the
+files your patch wants to edit, and then simply "exit 0" from the shell
+to actually create the patch file.
+
+To tweak an already existing patch, call "dpatch-edit-patch XX_patchname"
+and replace XX_patchname with the actual filename from debian/patches
+you want to use.
+
+To clean up afterwards again, "debian/rules unpatch" will do the
+work for you - or you can of course choose to call
+"fakeroot debian/rules clean" all together.
+
+
+--- 
+
+this documentation is part of dpatch package, and may be used by
+packages using dpatch to comply with policy on README.source. This
+documentation is meant to be useful to users who are not proficient in
+dpatch in doing work with dpatch-based packages. Please send any
+improvements to the BTS of dpatch package.
+
+original text by Gerfried Fuchs, edited by Junichi Uekawa <dancer at debian.org>
+10 Aug 2008.
diff --git a/debian/changelog b/debian/changelog
index 2363af9..4f15519 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+cecil-flowanalysis (0.1~svn.128879-2) UNRELEASED; urgency=low
+
+  * debian/control:
+     + Update nunit build-dep to use -cil-dev package (Closes: #564380)
+     + Update nant build-dep to be bpo friendly.
+  * debian/rules: Make get-orig-source policy conformant.
+  * debian/patches/02_cecil_location.dpatch, debian/rules: Add new patch to
+    copy cecil using pkg-config to discover location of the dll. Also tell
+    nant about the new location in rules.
+  * debian/README.source: Add, taken from dpatch package. 
+
+ -- Iain Lane <laney at ubuntu.com>  Tue, 19 Jan 2010 20:06:24 +0000
+
 cecil-flowanalysis (0.1~svn.128879-1) unstable; urgency=low
 
   * Updated SVN snapshot release
@@ -11,7 +24,7 @@ cecil-flowanalysis (0.1~svn.128879-1) unstable; urgency=low
     + Remove Jelmer from Uploaders
   * debian/rules:
     + Write a get-orig-source rule
-  * debian/libmono-cecil-flowanalysis0.1a-cil.installcligac,
+  * debian/libmono-cecil-flowanalysis0.1a-cil.installcligac
     debian/libmono-cecil-flowanalysis0.1a-cil.install,
     debian/cecil-flowanalysis.pc:
     + CLI Policy 0.7 install location
diff --git a/debian/control b/debian/control
index 52d9034..969d15f 100644
--- a/debian/control
+++ b/debian/control
@@ -7,8 +7,8 @@ Build-Depends: debhelper (>= 5), dpatch
 Build-Depends-Indep: cli-common-dev (>= 0.4.4),
  sharutils,
  libmono-cecil-cil-dev,
- nant (>= 0.85.dfsg1-6),
- libnunit2.4-cil
+ nant (>= 0.85.dfsg1-6~),
+ libnunit-cil-dev
 Standards-Version: 3.8.3
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-cli-libs/packages/cecil-flowanalysis/trunk/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-cli-libs/packages/cecil-flowanalysis/trunk/
diff --git a/debian/patches/00list b/debian/patches/00list
index 33c4eca..406a83d 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -1,2 +1,3 @@
 00_use_csc.dpatch
 01_fix_nunit_reference.dpatch
+02_cecil_location.dpatch
diff --git a/debian/patches/02_cecil_location.dpatch b/debian/patches/02_cecil_location.dpatch
new file mode 100755
index 0000000..21fadc8
--- /dev/null
+++ b/debian/patches/02_cecil_location.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_cecil_flowanalysis_location.dpatch by Iain Lane <laney at ubuntu.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Copy mono-cecil, using pcfile to discover where the dll is located.
+
+ at DPATCH@
+diff -urNad cecil-flowanalysis-0.1~svn.128879~/Makefile cecil-flowanalysis-0.1~svn.128879/Makefile
+--- cecil-flowanalysis-0.1~svn.128879~/Makefile	2010-01-19 19:04:21.504734613 +0000
++++ cecil-flowanalysis-0.1~svn.128879/Makefile	2010-01-19 19:05:13.053476182 +0000
+@@ -2,7 +2,7 @@
+ KEY_FILE = ../../mcs/class/mono.snk
+ MCS_FLAGS = -keyfile:$(KEY_FILE)
+ BUILD.DIR = bin
+-MONO.CECIL.DLL = ../../mcs/class/Mono.Cecil/Mono.Cecil.dll
++MONO.CECIL.DLL = $(shell pkg-config --variable=Libraries mono-cecil)
+ 
+ all: init
+ 	$(MCS) $(MCS_FLAGS) @Cecil.FlowAnalysis.sources /target:library /out:$(BUILD.DIR)/Cecil.FlowAnalysis.dll /r:$(BUILD.DIR)/Mono.Cecil.dll
diff --git a/debian/rules b/debian/rules
index 10dce74..7ed902e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,7 +34,7 @@ build-stamp: configure-stamp
 	dh_testdir
 	
 	uudecode -o debian/mono.snk debian/mono.snk.uue
-	nant -v -buildfile:default.build -D:"Mono.Cecil.dll"="/usr/lib/cli/Mono.Cecil-0.5/Mono.Cecil.dll" \
+	nant -v -buildfile:default.build -D:"Mono.Cecil.dll"="$(shell pkg-config --variable=Libraries mono-cecil)" \
 		-D:"keyfile"="debian/mono.snk"
 
 	touch $@
@@ -63,7 +63,6 @@ install: build
 
 	# Files are yet installed. We only need to deleted unwanted ones.
 	rm -f $(CURDIR)/debian/tmp/bin/*Test*
-	rm -f $(CURDIR)/debian/tmp/bin/Mono.Cecil*
 
 	# fix permissions
 	find debian/tmp -type f -name "*.dll" -or -name "*.mdb" -or -name "*.cs" -or -name "*.config" | xargs chmod -x
@@ -100,8 +99,7 @@ $(TARBALL_NAME):
 	tar -czf $(TARBALL_NAME) $(BASE_NAME)-$(TARBALL_VERSION)
 
 get-orig-source: $(TARBALL_NAME)
-	mkdir -p ../tarballs
-	mv $(TARBALL_NAME) ../tarballs/$(BASE_NAME)_$(TARBALL_VERSION).orig.tar.gz
+	mv $(TARBALL_NAME) $(BASE_NAME)_$(TARBALL_VERSION).orig.tar.gz
 	rm -rf $(BASE_NAME)-$(TARBALL_VERSION)
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-libs/packages/cecil-flowanalysis.git



More information about the Pkg-cli-libs-commits mailing list