--- cecil-flowanalysis-0.1~svn.128879.orig/debian/cecil-flowanalysis.pc +++ cecil-flowanalysis-0.1~svn.128879/debian/cecil-flowanalysis.pc @@ -0,0 +1,8 @@ +prefix=/usr +assemblies_dir=${prefix}/lib/cli/Cecil.FlowAnalysis-0.1 +Libraries=${assemblies_dir}/Cecil.FlowAnalysis.dll + +Name: Cecil.Flowanalysis +Description: Cecil.Flowanalysis Library +Version: 0.1 +Libs: -r:${Libraries} --- cecil-flowanalysis-0.1~svn.128879.orig/debian/README.source +++ cecil-flowanalysis-0.1~svn.128879/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 +10 Aug 2008. --- cecil-flowanalysis-0.1~svn.128879.orig/debian/libmono-cecil-flowanalysis0.1a-cil.installcligac +++ cecil-flowanalysis-0.1~svn.128879/debian/libmono-cecil-flowanalysis0.1a-cil.installcligac @@ -0,0 +1 @@ +/usr/lib/cli/Cecil.FlowAnalysis-0.1/Cecil.FlowAnalysis.dll --- cecil-flowanalysis-0.1~svn.128879.orig/debian/copyright +++ cecil-flowanalysis-0.1~svn.128879/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Jose Carlos Garcia Sogo on +Tue, 10 Apr 2007 00:40:42 +0200. + +It was downloaded from http://svn.myrealbox.com/viewcvs/trunk/cecil/flowanalysis/ + +Upstream Author: Jb Evain + +Copyright: db4objects Inc. http://www.db4o.com + 2005 Jb Evain + +License: + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +The Debian packaging is (C) 2007, Jose Carlos Garcia Sogo and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- cecil-flowanalysis-0.1~svn.128879.orig/debian/control +++ cecil-flowanalysis-0.1~svn.128879/debian/control @@ -0,0 +1,38 @@ +Source: cecil-flowanalysis +Section: libs +Priority: optional +Maintainer: Debian CLI Libraries Team +Uploaders: Jose Carlos Garcia Sogo +Build-Depends: debhelper (>= 5), dpatch +Build-Depends-Indep: cli-common-dev (>= 0.4.4), + sharutils, + libmono-cecil-cil-dev (>= 0.6+svn148654), + 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/ + +Package: libmono-cecil-flowanalysis0.1a-cil +Architecture: all +Depends: ${cli:Depends}, ${misc:Depends} +Conflicts: libmono-cecil-flowanalysis0.1-cil +Replaces: libmono-cecil-flowanalysis0.1-cil +Description: FlowAnalysis extension for Mono.Cecil + Cecil.FlowAnalysis is an extension for the Cecil CIL-mangling library + which enhances the ability to read back and analyse program execution + patterns and flow. + . + This package contains the Cecil.FlowAnalysis library itself + +Package: libmono-cecil-flowanalysis-cil-dev +Architecture: all +Depends: libmono-cecil-flowanalysis0.1a-cil (= ${binary:Version}), ${misc:Depends} +Replaces: libmono-cecil-flowanalysis0.1-cil +Description: FlowAnalysis extension for Mono.Cecil + Cecil.FlowAnalysis is an extension for the Cecil CIL-mangling library + which enhances the ability to read back and analyse program execution + patterns and flow. + . + This package contains development files for the Cecil.FlowAnalysis + library, and should be used for compilation --- cecil-flowanalysis-0.1~svn.128879.orig/debian/changelog +++ cecil-flowanalysis-0.1~svn.128879/debian/changelog @@ -0,0 +1,110 @@ +cecil-flowanalysis (0.1~svn.128879-3) unstable; urgency=low + + * debian/control: + + Stricter versioning of build-depends + + -- Jo Shields Mon, 25 Jan 2010 14:01:52 +0000 + +cecil-flowanalysis (0.1~svn.128879-2) unstable; 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 Tue, 19 Jan 2010 20:06:24 +0000 + +cecil-flowanalysis (0.1~svn.128879-1) unstable; urgency=low + + * Updated SVN snapshot release + * To cope with broken ABI compatibility from the last "0.1.0.0" + version we snapshotted, we're adding an "a" into the package name + * debian/patches/01_fix_nunit_reference.dpatch: + + Refreshed + * debian/control: + + Bump to standards version 3.8.3 + + Write a better package description (Closes: #493513) + + 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.install, + debian/cecil-flowanalysis.pc: + + CLI Policy 0.7 install location + * debian/patches/00_use_csc.dpatch: + + Use mono-csc instead + * debian/libmono-cecil-flowanalysis-cil-dev.install, + debian/libmono-cecil-flowanalysis0.1a-cil.install, + debian/control: + + Create unversioned -dev package containing .pc file + * debian/control, + debian/rules: + + Make use of Cecil's unversioned -dev package, and ensure hard-coded + lib path passed to NAnt is CLI Policy 0.7 compliant (Closes: #556837) + * debian/dirs: + + Remove + + -- Jo Shields Tue, 08 Dec 2009 11:19:46 +0000 + +cecil-flowanalysis (0.1~svn.68457-7) unstable; urgency=low + + [ Jo Shields ] + * debian/control: + + Add Vcs-* fields + + [ Iain Lane ] + * debian/patches/00_use_csc.dpatch: Add. Patch hardcoded mcs call in + Makefile to use csc for the Mono 2 transition. + * debian/control: Update build-deps for Mono 2.0 + + [ Mirco Bauer ] + * debian/control: + + Removed mono-devel build-dep as nant takes care of that. + + Versioned nant build-dep to >= 0.85.dfsg1-6, to ensure we get a + transitioned version. + + -- Mirco Bauer Sat, 07 Mar 2009 18:42:55 +0100 + +cecil-flowanalysis (0.1~svn.68457-6) unstable; urgency=low + + * Bump standards version to 3.8.0. + * Avoid doing anything in binary-arch because package is arch-indep. + + -- Jelmer Vernooij Sat, 14 Jun 2008 15:33:29 +0200 + +cecil-flowanalysis (0.1~svn.68457-5) unstable; urgency=low + + * Fix build against nunit for testsuite. (Closes: #484202) + + -- Jelmer Vernooij Sat, 14 Jun 2008 15:19:27 +0200 + +cecil-flowanalysis (0.1~svn.68457-4) unstable; urgency=low + + * The "you shouldn't be allowed to do certain things at certain hours" + release. + * Actually fix .pc file (and test before uploading). + + -- Jose Carlos Garcia Sogo Thu, 19 Apr 2007 00:08:49 +0200 + +cecil-flowanalysis (0.1~svn.68457-3) unstable; urgency=low + + * Fix route in .pc file + + -- Jose Carlos Garcia Sogo Wed, 18 Apr 2007 23:57:56 +0200 + +cecil-flowanalysis (0.1~svn.68457-2) unstable; urgency=low + + * Add a pkg-config .pc file. + + -- Jose Carlos Garcia Sogo Wed, 18 Apr 2007 23:10:59 +0200 + +cecil-flowanalysis (0.1~svn.68457-1) unstable; urgency=low + + * Initial release. + + -- Jose Carlos Garcia Sogo Tue, 10 Apr 2007 00:40:42 +0200 + --- cecil-flowanalysis-0.1~svn.128879.orig/debian/rules +++ cecil-flowanalysis-0.1~svn.128879/debian/rules @@ -0,0 +1,107 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is for the .wapi directory for Mono. +export MONO_SHARED_DIR=$(CURDIR) + +# provide patch and unpatch targets +include /usr/share/dpatch/dpatch.make + +DEB_VERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\ -f2) +VERSION = $(shell echo $(DEB_VERSION) | sed 's,-.*,,' | sed 's,+dfsg.*,,') +ABIVERSION = 0.1 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: patch-stamp + dh_testdir + + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + uudecode -o debian/mono.snk debian/mono.snk.uue + nant -v -buildfile:default.build -D:"Mono.Cecil.dll"="$(shell pkg-config --variable=Libraries mono-cecil)" \ + -D:"keyfile"="debian/mono.snk" + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + nant -v clean + rm -f debian/mono.snk + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + + dh_installdirs + + mkdir debian/tmp + mkdir -p debian/tmp/usr/lib/pkgconfig + cp -a $(CURDIR)/bin debian/tmp + cp debian/cecil-flowanalysis.pc debian/tmp/usr/lib/pkgconfig + + # Files are yet installed. We only need to deleted unwanted ones. + rm -f $(CURDIR)/debian/tmp/bin/*Test* + + # fix permissions + find debian/tmp -type f -name "*.dll" -or -name "*.mdb" -or -name "*.cs" -or -name "*.config" | xargs chmod -x + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + find debian/tmp -type f -name "*.mdb" -delete +endif + +binary-arch: build install + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_install --sourcedir=debian/tmp/ + dh_installcligac + dh_compress + dh_fixperms + dh_makeclilibs -m $(VERSION) + dh_clideps -d + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +BASE_NAME = cecil-flowanalysis +TARBALL_NAME = $(BASE_NAME).tar.gz +SVN_REV = $(shell echo $(DEB_VERSION) | sed 's,-.*,,' | sed 's,.*\.,,') +TARBALL_VERSION = 0.1~svn.$(SVN_REV) +$(TARBALL_NAME): + svn export http://anonsvn.mono-project.com/source/trunk/cecil/flowanalysis/ $(BASE_NAME)-$(TARBALL_VERSION) -r$(SVN_REV) + tar -czf $(TARBALL_NAME) $(BASE_NAME)-$(TARBALL_VERSION) + +get-orig-source: $(TARBALL_NAME) + mv $(TARBALL_NAME) $(BASE_NAME)_$(TARBALL_VERSION).orig.tar.gz + rm -rf $(BASE_NAME)-$(TARBALL_VERSION) + + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- cecil-flowanalysis-0.1~svn.128879.orig/debian/compat +++ cecil-flowanalysis-0.1~svn.128879/debian/compat @@ -0,0 +1 @@ +5 --- cecil-flowanalysis-0.1~svn.128879.orig/debian/mono.snk.uue +++ cecil-flowanalysis-0.1~svn.128879/debian/mono.snk.uue @@ -0,0 +1,17 @@ +begin 644 mono.snk +M!P(````D``!24T$R``0```$``0!Y%9EWTM`ZCFOJ>BYTZ-&OS)/HA1ETE2NT +M@*$LD31'300&)$?#?@YHP(!3;\\\/[XO^4&Z,Z"W5L/-0W!#I._ +M+N[/ATLD=PQ0@=OJ=$?]VOHG>R+>1];_ZD26=*3Y_,^$T5!I").`*$V]TU]& +MS?\2H;UXY.\`9=`6WTW&V[S-/V")DAN)G[17F@RI:B)C5#D%RJ56:#^3AH,C +M]@&$W>!$Z8GJN;LFRG+&@,&'^&J!2YL4]D*X*;XW'`$9-D,ZEH"`T-L\ +MPU"47K=X!%N$=E*!_.5#/%'9DL*<%>?&(60?[(CZ_.8[1Y0B%U'\GL:UQF`P +M\@6'"3BB@G]:IBH-9]TTGER_$0GG'@?>3)B^*J&Y5W-W,A=.\\4*>\+ +M*L(^3D9>^G_9U9 +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix reference to nunit library. + +@DPATCH@ +diff -urNad flowanalysis~/default.build flowanalysis/default.build +--- flowanalysis~/default.build 2009-05-06 10:45:11.000000000 +0100 ++++ flowanalysis/default.build 2009-05-06 10:46:16.000000000 +0100 +@@ -1,8 +1,6 @@ + + + +- +- + + + +@@ -60,8 +58,10 @@ + + + +- + ++ ++ ++ + + + + --- cecil-flowanalysis-0.1~svn.128879.orig/debian/patches/02_cecil_location.dpatch +++ cecil-flowanalysis-0.1~svn.128879/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 +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Copy mono-cecil, using pcfile to discover where the dll is located. + +@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 --- cecil-flowanalysis-0.1~svn.128879.orig/debian/patches/00_use_csc.dpatch +++ cecil-flowanalysis-0.1~svn.128879/debian/patches/00_use_csc.dpatch @@ -0,0 +1,16 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 00_use_csc.dpatch by Iain Lane +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad cecil-flowanalysis-0.1~svn.68457~/Makefile cecil-flowanalysis-0.1~svn.68457/Makefile +--- cecil-flowanalysis-0.1~svn.68457~/Makefile 2006-09-15 15:26:49.000000000 +0100 ++++ cecil-flowanalysis-0.1~svn.68457/Makefile 2009-02-28 17:04:26.000000000 +0000 +@@ -1,4 +1,4 @@ +-MCS = mcs ++MCS = /usr/bin/mono-csc + KEY_FILE = ../../mcs/class/mono.snk + MCS_FLAGS = -keyfile:$(KEY_FILE) + BUILD.DIR = bin --- cecil-flowanalysis-0.1~svn.128879.orig/debian/patches/00list +++ cecil-flowanalysis-0.1~svn.128879/debian/patches/00list @@ -0,0 +1,3 @@ +00_use_csc.dpatch +01_fix_nunit_reference.dpatch +02_cecil_location.dpatch