[Pkg-mono-svn-commits] rev 2342 - / cecil cecil/trunk cecil/trunk/debian cecil/trunk/debian/patches

Sebastian Dröge slomo-guest at costa.debian.org
Sun Mar 19 20:12:28 UTC 2006


Author: slomo-guest
Date: 2006-03-19 20:12:27 +0000 (Sun, 19 Mar 2006)
New Revision: 2342

Added:
   cecil/
   cecil/branches/
   cecil/tags/
   cecil/trunk/
   cecil/trunk/debian/
   cecil/trunk/debian/Cecil.snk.uue
   cecil/trunk/debian/changelog
   cecil/trunk/debian/compat
   cecil/trunk/debian/control
   cecil/trunk/debian/copyright
   cecil/trunk/debian/libmono-cecil0.3-cil.install
   cecil/trunk/debian/patches/
   cecil/trunk/debian/patches/00list
   cecil/trunk/debian/patches/01_strong-name.dpatch
   cecil/trunk/debian/rules
Log:
* added cecil package


Added: cecil/trunk/debian/Cecil.snk.uue
===================================================================
--- cecil/trunk/debian/Cecil.snk.uue	2006-03-19 20:07:54 UTC (rev 2341)
+++ cecil/trunk/debian/Cecil.snk.uue	2006-03-19 20:12:27 UTC (rev 2342)
@@ -0,0 +1,17 @@
+begin 600 Cecil.snk
+M!P(````D``!24T$R``0``!$````5^GI^J\L0>$@<GP5_*R[3T,*&[HARP**H
+MH!,3`KG16L-RC&[?F"`R#7M^TPTR/&,[2H-91.U/>5A)<UNQ`$HPDS82V2*\
+M[9734"I[)]WVCEVSLWXQT*[6?,W*$2R"8C`^F!Z!GO:;=LL578V:(SYB. at WR
+MP2]BS)-0*":DSH,_DR\-`&B*+S%JCCK=/"+9B""JB<>;=Q7S**$H"+=?/9E.
+MO]V'5TY%:SX%.BZ"#C&(!D(`@/`%P!V000ZYE1;6_+[[@X$5G#8C@>XDY7[#
+MB0#S8>D'H7.H['ZYC]BJ3?:2N"3V_IE&7*:"*_H^R?JA<F2WOSV&;#Q:6\"U
+MJN+'&5_%=YJ6'I*D.Q]F/FZ9D?3<5'THLP\%NX.$368"8UA=>'%E;J#[![I,
+M`WIZ[\N++$9<!/%P^SW\1`S7J7*5]SXL.%EJ#P5PHV(>.)#;'4P"XNWX16NM
+MDQBAX6>X]NNW_8M)KOT[))CW^5HHAL.8T=K\<7:'#I at H_]AO6L&^GL6Z<"YP
+M&%.6O$%N-_Q=>:3!#DM]OJQX70]/X#FYWEU)+$*GG?DGW"5<Z?-]B1VMF_DW
+MF"LU>7K4,)O/YXZ]I;?ZH^QX64>OXL>`]8*)JI<`0K2'4NU]'E;ZT'RPN"AF
+M"I$Q:LR91JH;`2;?($PK_V"IMQ=R5.K>V*P at _:&A0(5"1'<M)*7A\-])]?#S
+M8A5?5O.(!\$!WW6&[".]H3FI3+2-Q?9%0E]&6U4'%\OC`J>PZ+.Z(S]EUKV0
++!5T?!O2F_WQ=0WD`
+`
+end

Added: cecil/trunk/debian/changelog
===================================================================
--- cecil/trunk/debian/changelog	2006-03-19 20:07:54 UTC (rev 2341)
+++ cecil/trunk/debian/changelog	2006-03-19 20:12:27 UTC (rev 2342)
@@ -0,0 +1,6 @@
+cecil (0.3-1) unstable; urgency=low
+
+  * Initial Revision (Closes: #357829)
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Sun, 19 Mar 2006 20:20:41 +0100
+

Added: cecil/trunk/debian/compat
===================================================================
--- cecil/trunk/debian/compat	2006-03-19 20:07:54 UTC (rev 2341)
+++ cecil/trunk/debian/compat	2006-03-19 20:12:27 UTC (rev 2342)
@@ -0,0 +1 @@
+5

Added: cecil/trunk/debian/control
===================================================================
--- cecil/trunk/debian/control	2006-03-19 20:07:54 UTC (rev 2341)
+++ cecil/trunk/debian/control	2006-03-19 20:12:27 UTC (rev 2342)
@@ -0,0 +1,24 @@
+Source: cecil
+Section: devel
+Priority: optional
+Maintainer: Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>
+Uploaders: Sebastian Dröge <slomo at ubuntu.com>
+Build-Depends-Indep: debhelper (>= 5), cli-common (>= 0.2.0), mono-mcs (>= 1.1.9) | c-sharp-compiler, mono-gac, sharutils, dpatch
+Standards-Version: 3.6.2
+
+Package: libmono-cecil0.3-cil
+Architecture: all
+Depends: ${cli:Depends}
+Description: library to generate and inspect CIL assemblies
+ Cecil is a library under development to generate and inspect programs and
+ libraries in the ECMA CIL format.
+ .
+ In simple English, with Cecil, you can load existing managed assemblies,
+ browse all the contained types, modify them on the fly and save back to the
+ disk the modified assembly.
+ .
+ Today it is used by the Mono Debugger by the bug-finding and compliance
+ checking tool Gendarme as well as DB4O. 
+ .
+ http://www.mono-project.com/Cecil
+

Added: cecil/trunk/debian/copyright
===================================================================
--- cecil/trunk/debian/copyright	2006-03-19 20:07:54 UTC (rev 2341)
+++ cecil/trunk/debian/copyright	2006-03-19 20:12:27 UTC (rev 2342)
@@ -0,0 +1,52 @@
+This package was debianized by Sebastian Dröge <slomo at ubuntu.com> on
+Sun, 19 Mar 2006 20:20:41 +0100.
+
+It was downloaded from http://www.mono-project.com/Cecil
+
+Upstream Authors:  	Jb Evain  <jbevain at gmail.com>
+
+Copyright:
+
+    For everyting not explictly noted below:
+    Copyright (C) 2005 Jb Evain
+    
+    For Mono.Cecil/FieldAttributes.cs:
+    Copyright (c) 2004, 2005 DotNetGuru
+
+    For Mono.Cecil/GenericInstanceType.cs,
+        Mono.Cecil/SecurityDeclarationReader.cs,
+	Mono.Cecil.Signatures/GenericInst.cs,
+	Mono.Cecil.Signatures/GenericInstSignature.cs,
+	Mono.Cecil.Signatures/MVar.cs,
+	Mono.Cecil.Signatures/Var.cs,
+	Mono.Xml/SmallXmlParser.cs
+    Copyright (C) 2005 Novell, Inc (http://www.novell.com)
+
+    For Mono.Xml/MiniParser.cs:
+    Copyright (c) 2001, 2002 Wild West Software
+    Copyright (c) 2002 Sergey Chaban
+    Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+
+    For Mono.Xml/SecurityParser.cs:
+    Copyright (C) 2003 Motus Technologies Inc. (http://www.motus.com)
+    Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+
+    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.
+

Added: cecil/trunk/debian/libmono-cecil0.3-cil.install
===================================================================
--- cecil/trunk/debian/libmono-cecil0.3-cil.install	2006-03-19 20:07:54 UTC (rev 2341)
+++ cecil/trunk/debian/libmono-cecil0.3-cil.install	2006-03-19 20:12:27 UTC (rev 2342)
@@ -0,0 +1 @@
+debian/tmp/usr

Added: cecil/trunk/debian/patches/00list
===================================================================
--- cecil/trunk/debian/patches/00list	2006-03-19 20:07:54 UTC (rev 2341)
+++ cecil/trunk/debian/patches/00list	2006-03-19 20:12:27 UTC (rev 2342)
@@ -0,0 +1 @@
+01_strong-name.dpatch

Added: cecil/trunk/debian/patches/01_strong-name.dpatch
===================================================================
--- cecil/trunk/debian/patches/01_strong-name.dpatch	2006-03-19 20:07:54 UTC (rev 2341)
+++ cecil/trunk/debian/patches/01_strong-name.dpatch	2006-03-19 20:12:27 UTC (rev 2342)
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
+ at DPATCH@
+
+--- cecil-0.3/Makefile.old	2006-03-19 20:40:03.475726384 +0100
++++ cecil-0.3/Makefile	2006-03-19 20:40:22.098895232 +0100
+@@ -1,7 +1,7 @@
+ include config.make
+ 
+ MCS = mcs
+-MCS_FLAGS =
++MCS_FLAGS = -keyfile:debian/Cecil.snk
+ 
+ all: 
+ 	$(MCS) $(MCS_FLAGS) @Mono.Cecil.dll.sources /target:library /out:Mono.Cecil.dll
+@@ -17,4 +17,5 @@
+ install: all mono-cecil.pc
+ 	mkdir -p $(prefix)/lib/Mono.Cecil
+ 	cp Mono.Cecil.dll $(prefix)/lib/Mono.Cecil
++	mkdir -p $(prefix)/lib/pkgconfig
+ 	cp mono-cecil.pc $(prefix)/lib/pkgconfig/mono-cecil.pc


Property changes on: cecil/trunk/debian/patches/01_strong-name.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: cecil/trunk/debian/rules
===================================================================
--- cecil/trunk/debian/rules	2006-03-19 20:07:54 UTC (rev 2341)
+++ cecil/trunk/debian/rules	2006-03-19 20:12:27 UTC (rev 2342)
@@ -0,0 +1,71 @@
+#!/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
+
+UPVERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2 | sed 's,-.*,,')
+
+configure: configure-stamp
+configure-stamp:
+	./configure --prefix=debian/tmp/usr
+	touch configure-stamp
+
+build: patch-stamp configure-stamp build-stamp
+build-stamp:
+	uudecode -o debian/Cecil.snk debian/Cecil.snk.uue
+	$(MAKE)
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	-$(MAKE) clean
+	rm -rf $(MONO_SHARED_DIR)/.wapi
+	rm -f build-stamp configure-stamp debian/Cecil.snk
+	rm -f config.make
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	$(MAKE) install
+	# fix the path in the pkgconfig file
+	sed -i 's;debian/tmp/usr;/usr;g' debian/tmp/usr/lib/pkgconfig/mono-cecil.pc
+	# fix the version in the pkgconfig file
+	sed -i 's;^Version:.*;Version:\ $(UPVERSION);g' debian/tmp/usr/lib/pkgconfig/mono-cecil.pc
+	# install the file into the GAC
+	gacutil -i Mono.Cecil.dll -root $(CURDIR)/debian/tmp/usr/lib
+	# fix permissions
+	find debian/tmp -type f -name "*.dll" -or -name "*.mdb" -or -name "*.cs" -or -name "*.config" | xargs chmod -x
+
+binary-indep: configure build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installdirs
+	dh_install
+	dh_installman
+	dh_compress
+	dh_fixperms
+	dh_makeclilibs -m $(UPVERSION)
+	dh_clideps
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch: build install
+
+binary: binary-indep binary-arch
+
+.PHONY: build configure clean binary-indep binary-arch binary install 


Property changes on: cecil/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-mono-svn-commits mailing list