[Pkg-cli-libs-commits] [nrefactory] 01/01: Initial Debianization

Jo Shields directhex at moszumanska.debian.org
Wed Nov 20 22:19:46 UTC 2013


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

directhex pushed a commit to branch master
in repository nrefactory.

commit 9698d5e77adffdf300db7d70f9ca9117bcc5caae
Author: Jo Shields <directhex at apebox.org>
Date:   Tue Nov 12 16:41:14 2013 +0000

    Initial Debianization
---
 debian/changelog                                   |    5 +
 debian/compat                                      |    1 +
 debian/control                                     |  120 +++++++++++++++
 debian/copyright                                   |  141 +++++++++++++++++
 debian/ikvm-fork.snk                               |  Bin 0 -> 596 bytes
 .../libicsharpcode-nrefactory-cecil5.0-cil.install |    1 +
 ...sharpcode-nrefactory-cecil5.0-cil.installcligac |    1 +
 debian/libicsharpcode-nrefactory-cil-dev.install   |    1 +
 ...libicsharpcode-nrefactory-csharp5.0-cil.install |    1 +
 ...harpcode-nrefactory-csharp5.0-cil.installcligac |    1 +
 .../libicsharpcode-nrefactory-ikvm5.0-cil.install  |    2 +
 ...csharpcode-nrefactory-ikvm5.0-cil.installcligac |    1 +
 .../libicsharpcode-nrefactory-xml5.0-cil.install   |    1 +
 ...icsharpcode-nrefactory-xml5.0-cil.installcligac |    1 +
 debian/libicsharpcode-nrefactory5.0-cil.install    |    1 +
 .../libicsharpcode-nrefactory5.0-cil.installcligac |    1 +
 debian/nrefactory-demo-gtk                         |    2 +
 debian/nrefactory-demo-gtk.desktop                 |   10 ++
 debian/nrefactory-demo-swf                         |    2 +
 debian/nrefactory-demo-swf.desktop                 |   10 ++
 debian/nrefactory-demo.xpm                         |  159 ++++++++++++++++++++
 debian/nrefactory-samples.install                  |    8 +
 debian/nrefactory.pc                               |    8 +
 debian/patches/load_assemblies_from_GAC.patch      |   16 ++
 debian/patches/series                              |    3 +
 debian/patches/use_bundled_ikvm_reflector.patch    |   46 ++++++
 debian/patches/use_system_cecil.patch              |   98 ++++++++++++
 debian/rules                                       |   33 ++++
 debian/source/format                               |    1 +
 debian/source/include-binaries                     |    1 +
 30 files changed, 676 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..631c83b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+nrefactory (5.3.0+20130718.73b6d0f-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Jo Shields <directhex at apebox.org>  Tue, 12 Nov 2013 12:26:25 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0a64ac0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,120 @@
+Source: nrefactory
+Section: cli-mono
+Priority: optional
+Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team at lists.alioth.debian.org>
+Uploaders: Jo Shields <directhex at apebox.org>
+Build-Depends: debhelper (>= 7.0.50),
+ cli-common-dev (>= 0.8~),
+ mono-devel (>= 2.10~),
+ libgtk2.0-cil-dev,
+ libmono-cecil-cil-dev (>= 0.9.5~)
+Standards-Version: 3.9.4
+Homepage: https://github.com/icsharpcode/NRefactory
+Vcs-Browser: http://git.debian.org/?p=pkg-cli-libs/packages/nrefactory.git
+Vcs-Git: git://git.debian.org/git/pkg-cli-libs/packages/nrefactory.git
+
+Package: libicsharpcode-nrefactory-cil-dev
+Depends: libicsharpcode-nrefactory5.0-cil (= ${binary:Version}),
+         libicsharpcode-nrefactory-cecil5.0-cil (= ${binary:Version}),
+         libicsharpcode-nrefactory-csharp5.0-cil (= ${binary:Version}),
+         libicsharpcode-nrefactory-ikvm5.0-cil (= ${binary:Version}),
+         libicsharpcode-nrefactory-xml5.0-cil (= ${binary:Version}),
+         ${misc:Depends}
+Architecture: all
+Description: C# Parsing and Refactoring Library - Development files
+ NRefactory is the C# analysis library used in the SharpDevelop and 
+ MonoDevelop IDEs. It allows applications to easily analyze both syntax 
+ and semantics of C# programs. It is quite similar to Microsoft's 
+ Roslyn project; except that it is not a full compiler – NRefactory 
+ only analyzes C# code, it does not generate IL code.
+ .
+ This package contains development files for compiling against to use
+ the NRefactory library.
+
+Package: libicsharpcode-nrefactory5.0-cil
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${cli:Depends},
+         libicsharpcode-nrefactory-cecil5.0-cil
+Suggests:
+         libicsharpcode-nrefactory-ikvm5.0-cil
+Architecture: all
+Description: C# Parsing and Refactoring Library - Core
+ NRefactory is the C# analysis library used in the SharpDevelop and 
+ MonoDevelop IDEs. It allows applications to easily analyze both syntax 
+ and semantics of C# programs. It is quite similar to Microsoft's 
+ Roslyn project; except that it is not a full compiler – NRefactory 
+ only analyzes C# code, it does not generate IL code.
+ .
+ This package contains the core NRefactory library.
+
+Package: libicsharpcode-nrefactory-cecil5.0-cil
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${cli:Depends}
+Architecture: all
+Description: C# Parsing and Refactoring Library - Cecil back-end
+ NRefactory is the C# analysis library used in the SharpDevelop and 
+ MonoDevelop IDEs. It allows applications to easily analyze both syntax 
+ and semantics of C# programs. It is quite similar to Microsoft's 
+ Roslyn project; except that it is not a full compiler – NRefactory 
+ only analyzes C# code, it does not generate IL code.
+ .
+ This package contains the Mono.Cecil back-end for the NRefactory 
+ library.
+
+Package: libicsharpcode-nrefactory-csharp5.0-cil
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${cli:Depends}
+Architecture: all
+Description: C# Parsing and Refactoring Library - C# Component
+ NRefactory is the C# analysis library used in the SharpDevelop and 
+ MonoDevelop IDEs. It allows applications to easily analyze both syntax 
+ and semantics of C# programs. It is quite similar to Microsoft's 
+ Roslyn project; except that it is not a full compiler – NRefactory 
+ only analyzes C# code, it does not generate IL code.
+ .
+ This package contains the C# component for the NRefactory library.
+
+Package: libicsharpcode-nrefactory-ikvm5.0-cil
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${cli:Depends}
+Architecture: all
+Description: C# Parsing and Refactoring Library - IKVM back-end
+ NRefactory is the C# analysis library used in the SharpDevelop and 
+ MonoDevelop IDEs. It allows applications to easily analyze both syntax 
+ and semantics of C# programs. It is quite similar to Microsoft's 
+ Roslyn project; except that it is not a full compiler – NRefactory 
+ only analyzes C# code, it does not generate IL code.
+ .
+ This package contains the IKVM back-end for the NRefactory library.
+
+Package: libicsharpcode-nrefactory-xml5.0-cil
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${cli:Depends}
+Architecture: all
+Description: C# Parsing and Refactoring Library - XML
+ NRefactory is the C# analysis library used in the SharpDevelop and 
+ MonoDevelop IDEs. It allows applications to easily analyze both syntax 
+ and semantics of C# programs. It is quite similar to Microsoft's 
+ Roslyn project; except that it is not a full compiler – NRefactory 
+ only analyzes C# code, it does not generate IL code.
+ .
+ This package contains the XML component for the NRefactory library.
+
+Package: nrefactory-samples
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${cli:Depends}
+Architecture: all
+Description: C# Parsing and Refactoring Library - Sample programs
+ NRefactory is the C# analysis library used in the SharpDevelop and 
+ MonoDevelop IDEs. It allows applications to easily analyze both syntax 
+ and semantics of C# programs. It is quite similar to Microsoft's 
+ Roslyn project; except that it is not a full compiler – NRefactory 
+ only analyzes C# code, it does not generate IL code.
+ .
+ This package contains sample programs for the NRefactory library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2caa179
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,141 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: NRefactory
+Source: https://github.com/icsharpcode/NRefactory
+
+Files: *
+Copyright: © 2001-2003 Ximian, Inc. (http://www.ximian.com)
+           © 2002-2013 AlphaSierraPapa
+           © 2003 Motus Technologies Inc. (http://www.motus.com)
+           © 2004-2010 Novell, Inc (http://www.novell.com)
+           © 2004 Ben Maurer
+           © 2011-2013 Daniel Grunwald
+           © 2011-2013 Xamarin Inc. (http://xamarin.com)
+           © 2011 Mike Krüger <mike at icsharpcode.net>
+           © 2012 Lopatkin Ilja
+           © 2012 Mansheng Yang <lightyang0 at gmail.com>
+           © 2012 Nieve
+           © 2012 Simon Lindgren
+           © 2013 Ciprian Khlud <ciprian.mustiata at yahoo.com>
+           © 2013 Ji Kun
+           © 2013 Jo Shields
+           © 2013 Luís Reis <luiscubal at gmail.com>
+License: MIT
+
+Files: ICSharpCode.NRefactory.CSharp/Parser/mcs/property.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/argument.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/cs-parser.jay
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/cs-tokenizer.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/async.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/parameter.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/visit.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/symbolwriter.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/lambda.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/iterators.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/method.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/settings.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/settings.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/generic.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/pending.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/decl.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/module.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/attribute.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/typemanager.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/linq.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/typespec.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/anonymous.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/eval.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/driver.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/modifiers.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/enum.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/reflection.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/field.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/class.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/assign.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/doc.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/nullable.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/dynamic.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/membercache.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/cs-parser.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/delegate.cs
+       ICSharpCode.NRefactory.CSharp/Parser/mcs/import.cs
+Copyright: © 2001-2003 Ximian, Inc (http://www.ximian.com)
+           © 2003-2011 Novell, Inc
+           © 2011-2013 Xamarin Inc
+License: MIT | GPL
+
+Files: ICSharpCode.NRefactory.VB.Tests/*
+Copyright: © 2010-2012 AlphaSierraPapa
+License: LGPL
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Library General Public License for more details.
+ .
+ You should have received a copy of the GNU Library General Public
+ License along with this library; if not, write to the
+ Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301, USA.
+ .
+ On Debian systems, the full text of the GNU Library General Public
+ License can be found in the file `/usr/share/common-licenses/LGPL'.
+
+Files: reflect/*
+Copyright: © 2008-2013 Jeroen Frijters
+           © 2011 Marek Safar
+License: other
+ This software is provided 'as-is', without any express or implied
+ warranty.  In no event will the authors be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented; you must not
+    claim that you wrote the original software. If you use this software
+    in a product, an acknowledgment in the product documentation would be
+    appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+    misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+License: MIT
+ 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.
+
+License: GPL
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, any version 1.0 or later.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License can be found in the file `/usr/share/common-licenses/GPL'.
diff --git a/debian/ikvm-fork.snk b/debian/ikvm-fork.snk
new file mode 100644
index 0000000..a504982
Binary files /dev/null and b/debian/ikvm-fork.snk differ
diff --git a/debian/libicsharpcode-nrefactory-cecil5.0-cil.install b/debian/libicsharpcode-nrefactory-cecil5.0-cil.install
new file mode 100644
index 0000000..bedc9a6
--- /dev/null
+++ b/debian/libicsharpcode-nrefactory-cecil5.0-cil.install
@@ -0,0 +1 @@
+bin/Debug/ICSharpCode.NRefactory.Cecil.dll*	/usr/lib/cli/ICSharpCode.NRefactory.Cecil-5.0/
diff --git a/debian/libicsharpcode-nrefactory-cecil5.0-cil.installcligac b/debian/libicsharpcode-nrefactory-cecil5.0-cil.installcligac
new file mode 100644
index 0000000..bf247e7
--- /dev/null
+++ b/debian/libicsharpcode-nrefactory-cecil5.0-cil.installcligac
@@ -0,0 +1 @@
+/usr/lib/cli/ICSharpCode.NRefactory.Cecil-5.0/ICSharpCode.NRefactory.Cecil.dll
diff --git a/debian/libicsharpcode-nrefactory-cil-dev.install b/debian/libicsharpcode-nrefactory-cil-dev.install
new file mode 100644
index 0000000..12a74b5
--- /dev/null
+++ b/debian/libicsharpcode-nrefactory-cil-dev.install
@@ -0,0 +1 @@
+/usr/lib/pkgconfig/nrefactory.pc
diff --git a/debian/libicsharpcode-nrefactory-csharp5.0-cil.install b/debian/libicsharpcode-nrefactory-csharp5.0-cil.install
new file mode 100644
index 0000000..2c55eaf
--- /dev/null
+++ b/debian/libicsharpcode-nrefactory-csharp5.0-cil.install
@@ -0,0 +1 @@
+bin/Debug/ICSharpCode.NRefactory.CSharp.dll*	/usr/lib/cli/ICSharpCode.NRefactory.CSharp-5.0/
diff --git a/debian/libicsharpcode-nrefactory-csharp5.0-cil.installcligac b/debian/libicsharpcode-nrefactory-csharp5.0-cil.installcligac
new file mode 100644
index 0000000..e302442
--- /dev/null
+++ b/debian/libicsharpcode-nrefactory-csharp5.0-cil.installcligac
@@ -0,0 +1 @@
+/usr/lib/cli/ICSharpCode.NRefactory.CSharp-5.0/ICSharpCode.NRefactory.CSharp.dll
diff --git a/debian/libicsharpcode-nrefactory-ikvm5.0-cil.install b/debian/libicsharpcode-nrefactory-ikvm5.0-cil.install
new file mode 100644
index 0000000..49f9922
--- /dev/null
+++ b/debian/libicsharpcode-nrefactory-ikvm5.0-cil.install
@@ -0,0 +1,2 @@
+ICSharpCode.NRefactory.IKVM/bin/Debug/ICSharpCode.NRefactory.IKVM.dll*	/usr/lib/cli/ICSharpCode.NRefactory.IKVM-5.0/
+ICSharpCode.NRefactory.IKVM/bin/Debug/IKVM.Reflection.dll*		/usr/lib/cli/ICSharpCode.NRefactory.IKVM-5.0/
diff --git a/debian/libicsharpcode-nrefactory-ikvm5.0-cil.installcligac b/debian/libicsharpcode-nrefactory-ikvm5.0-cil.installcligac
new file mode 100644
index 0000000..00d52f8
--- /dev/null
+++ b/debian/libicsharpcode-nrefactory-ikvm5.0-cil.installcligac
@@ -0,0 +1 @@
+/usr/lib/cli/ICSharpCode.NRefactory.IKVM-5.0/ICSharpCode.NRefactory.IKVM.dll
diff --git a/debian/libicsharpcode-nrefactory-xml5.0-cil.install b/debian/libicsharpcode-nrefactory-xml5.0-cil.install
new file mode 100644
index 0000000..e654e7d
--- /dev/null
+++ b/debian/libicsharpcode-nrefactory-xml5.0-cil.install
@@ -0,0 +1 @@
+bin/Debug/ICSharpCode.NRefactory.Xml.dll*	/usr/lib/cli/ICSharpCode.NRefactory.Xml-5.0/
diff --git a/debian/libicsharpcode-nrefactory-xml5.0-cil.installcligac b/debian/libicsharpcode-nrefactory-xml5.0-cil.installcligac
new file mode 100644
index 0000000..4957f84
--- /dev/null
+++ b/debian/libicsharpcode-nrefactory-xml5.0-cil.installcligac
@@ -0,0 +1 @@
+/usr/lib/cli/ICSharpCode.NRefactory.Xml-5.0/ICSharpCode.NRefactory.Xml.dll
diff --git a/debian/libicsharpcode-nrefactory5.0-cil.install b/debian/libicsharpcode-nrefactory5.0-cil.install
new file mode 100644
index 0000000..1f00369
--- /dev/null
+++ b/debian/libicsharpcode-nrefactory5.0-cil.install
@@ -0,0 +1 @@
+bin/Debug/ICSharpCode.NRefactory.dll*	/usr/lib/cli/ICSharpCode.NRefactory-5.0/
diff --git a/debian/libicsharpcode-nrefactory5.0-cil.installcligac b/debian/libicsharpcode-nrefactory5.0-cil.installcligac
new file mode 100644
index 0000000..503831a
--- /dev/null
+++ b/debian/libicsharpcode-nrefactory5.0-cil.installcligac
@@ -0,0 +1 @@
+/usr/lib/cli/ICSharpCode.NRefactory-5.0/ICSharpCode.NRefactory.dll
diff --git a/debian/nrefactory-demo-gtk b/debian/nrefactory-demo-gtk
new file mode 100644
index 0000000..df60b6b
--- /dev/null
+++ b/debian/nrefactory-demo-gtk
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/cli /usr/lib/nrefactory-samples/ICSharpCode.NRefactory.GtkDemo.exe "$@"
diff --git a/debian/nrefactory-demo-gtk.desktop b/debian/nrefactory-demo-gtk.desktop
new file mode 100644
index 0000000..35802d2
--- /dev/null
+++ b/debian/nrefactory-demo-gtk.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=NRefactory Demo (GTK#)
+Comment=NRefactory C# analysis library Demo (GTK#)
+GenericName=NRefactory Demo
+Exec=nrefactory-demo-gtk
+Icon=nrefactory-demo
+StartupNotify=false
+Terminal=false
+Type=Application
+Categories=Development
diff --git a/debian/nrefactory-demo-swf b/debian/nrefactory-demo-swf
new file mode 100644
index 0000000..98b2b7e
--- /dev/null
+++ b/debian/nrefactory-demo-swf
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/cli /usr/lib/nrefactory-samples/ICSharpCode.NRefactory.Demo.exe "$@"
diff --git a/debian/nrefactory-demo-swf.desktop b/debian/nrefactory-demo-swf.desktop
new file mode 100644
index 0000000..4e6f60d
--- /dev/null
+++ b/debian/nrefactory-demo-swf.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=NRefactory Demo (System.Windows.Forms)
+Comment=NRefactory C# analysis library Demo (System.Windows.Forms)
+GenericName=NRefactory Demo
+Exec=nrefactory-demo-swf
+Icon=nrefactory-demo
+StartupNotify=false
+Terminal=false
+Type=Application
+Categories=Development
diff --git a/debian/nrefactory-demo.xpm b/debian/nrefactory-demo.xpm
new file mode 100644
index 0000000..03b1fbc
--- /dev/null
+++ b/debian/nrefactory-demo.xpm
@@ -0,0 +1,159 @@
+/* XPM */
+static char *monodoc_new[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 121 2",
+"   c #01BF01C101CE",
+".  c #07BF07C60778",
+"X  c #0C510C590C58",
+"o  c #1325134613AF",
+"O  c #1BDC1C0C1CE3",
+"+  c #1F611FE32127",
+"@  c #228B22CA23A5",
+"#  c #277A27AD2791",
+"$  c #255325972815",
+"%  c #2B542BB82CA8",
+"&  c #2F8D302432BB",
+"*  c #331A33633451",
+"=  c #354735C03952",
+"-  c #3CE03D123BB2",
+";  c #3D213DB041AE",
+":  c #4331439B44F9",
+">  c #48094837453D",
+",  c #44B0452D482F",
+"<  c #4CA84D0E4CE2",
+"1  c #4C2B4CB051E3",
+"2  c #526952D95375",
+"3  c #540054C75A50",
+"4  c #5C275C735A1A",
+"5  c #5AFE5BEE622D",
+"6  c #5F175FEE5FF9",
+"7  c #62B963616408",
+"8  c #6C3E6C8E668E",
+"9  c #655066266B52",
+"0  c #679168156B81",
+"q  c #6C256CA96B1E",
+"w  c #6FC970236CC8",
+"e  c #712871C96E43",
+"r  c #6D106DD672C7",
+"t  c #6FED70DF7580",
+"y  c #739D744374C8",
+"u  c #777377FA77F4",
+"i  c #7A427AD7768F",
+"p  c #7555764D7D3E",
+"a  c #76D678267CE8",
+"s  c #7BA97C427A04",
+"d  c #7FC9805E7C20",
+"f  c #825082617BB1",
+"g  c #7CF87DDB8647",
+"h  c #831583F2846B",
+"j  c #896C89A78204",
+"k  c #834384328B27",
+"l  c #86E2880D8EEF",
+"z  c #8B9A8C798BD6",
+"x  c #8F7E90D98F78",
+"c  c #92A493558CD2",
+"v  c #8C308D28951F",
+"b  c #8EA38FA59B45",
+"n  c #8F8A903D93F1",
+"m  c #8F68907E9BD6",
+"M  c #92E9940494D2",
+"N  c #9A559AC293F8",
+"B  c #9128925C9C7D",
+"V  c #97F29990983A",
+"C  c #9D8B9ECC9C8D",
+"Z  c #A2FCA3D59D8A",
+"A  c #AA2CAA2B9FB4",
+"S  c #9C639D68A3F8",
+"D  c #9E1D9F54A941",
+"F  c #9F60A058A6E8",
+"G  c #9FF3A0F8A9F5",
+"H  c #A3DBA51BA420",
+"J  c #A73DA913A6D7",
+"K  c #AB3AABF3A4EB",
+"L  c #A27AA37AAA40",
+"P  c #A76BA95AA832",
+"I  c #AC34AD68AA83",
+"U  c #B013B0EDABB2",
+"Y  c #B1E5B201A754",
+"T  c #B2D1B348AACF",
+"R  c #A4D4A628B595",
+"E  c #AB1EAC13B31B",
+"W  c #A969AAA9B8A0",
+"Q  c #AF6BB051B3D1",
+"!  c #B379B452B49C",
+"~  c #BA1EBAFEB775",
+"^  c #B1EFB31DBBA2",
+"/  c #BA05BB2ABFDD",
+"(  c #BFC7C044B8FF",
+")  c #C06BC18DBB8B",
+"_  c #B3D6B50CC371",
+"`  c #BC2BBD61CBE0",
+"'  c #BEDEC058D11B",
+"]  c #C952CA30C392",
+"[  c #C3BCC4FFCC66",
+"{  c #CD7DCE5ECDDD",
+"}  c #D351D41FCEFD",
+"|  c #C4CAC68CD77D",
+" . c #CB2BCC7ED609",
+".. c #CDA1CEE8DEE9",
+"X. c #D27ED36ED595",
+"o. c #DCEDDDD4D7C6",
+"O. c #D827D946DCCD",
+"+. c #DB6ADC52DB01",
+"@. c #DFFEE0C3DA91",
+"#. c #E131E23ADDA5",
+"$. c #D03DD1BFE177",
+"%. c #D362D4BFE3CA",
+"&. c #D7A9D993E458",
+"*. c #DD65DEAFE4A9",
+"=. c #D583D707E9FB",
+"-. c #DCA3DE0DEED4",
+";. c #DC00DDA7F13E",
+":. c #E01BE158E708",
+">. c #DF29E0EDED1F",
+",. c #E05BE20CF0D3",
+"<. c #E43AE541E5C3",
+"1. c #E773E877E4B9",
+"2. c #EB07EC03E527",
+"3. c #E43EE5F4EDE2",
+"4. c #E7E8E8F0EDD0",
+"5. c #EB0BEC0DEE2E",
+"6. c #EFCEF0D0ED65",
+"7. c #F263F364ED7E",
+"8. c #EC0BED4EF212",
+"9. c #F48BF590F120",
+"0. c None",
+/* pixels */
+"0.0.0.0.0.0.0.0.0.0.0.  0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.0.0.0.0.0.X X   0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.0.0.0.0.X 8 f %   0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.0.0.0.  > A Y N > X 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.0.0.  # N Y Y Y A 8 O   0.0.0.0.0.0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.0.0.o d Y Y Y Y Y Y f *   0.0.0.0.0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.0.. 4 Y Z f i i N K T Z 2 o   0.0.0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.  = Z C e Z ) Y f e N Y A e @   0.0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.  O z C w T 7.9.9.2.) w N K K c - .   0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.X e Z q T 7.7.7.7.7.) < w N K I Z 4 o   0.0.0.0.0.0.0.",
+"0.0.0.0.  1 H y J 7.7.7.7.7.} e H K u y M K K d # . 0.0.0.0.0.0.",
+"0.0.0.  % V j u <.6.6.7.6.6.#.o.6.6.1.! u d J K M > X   0.0.0.0.",
+"0.0.  o h I 7 4 <.5.5.6.5.7.6.6.6.6.6.7.o.z y H K H 0 O   0.0.0.",
+"0.0.. 5 H M 7 ! 5.5.5.5.5.5.5.5.5.4.X.{ ~ h = i J J J h $   0.0.",
+"0.  : C H 0 ! 5.5.5.5.5.5.5.5.5.5.X.t 2 2 2 y 0 z J I z O 0.0.0.",
+"  X h L L 7 { 8.6.4.*.4.5.5.4.4.5.5.<.O.O.4.8.[ q C C :   0.0.0.",
+"0.  * k H h a E E h n 3.4.4.4.4.4.4.4.4.4.5.8.&.t h 6 . 0.0.0.0.",
+"0.0.  O 0 S k y 3 w  .3.4.3.4.3.4.4.4.4.5.*.I t a y o   0.0.0.0.",
+"0.0.0.  X , n D y ^ 3.3.3.4.3.3.4.4.3.:.Q a t B n % @ o 0.0.0.0.",
+"0.0.0.  O O # r r O.,.3.3.3.3.3.3.:._ a q l H S , * Z 7 0.0.0.0.",
+"0.0.0.0.o 9 ; X 2 =.>.>.3.3.>.3.*.v 6 l D G G 0 O z #.o.2   0.0.",
+"0.0.0.0.  ; R 9 O 5 | >.>.-.-.3.=.r b D G G g + 8 { #.~ 4 . 0.0.",
+"0.0.0.0.0.. g | k % * G =.-.-.-.>.l g D D m = , T J 7 O .   0.0.",
+"0.0.0.0.0.0.+ ^ $.F : + g ..3.-.-.` 9 S S 1 $ y 2 O   0.0.0.0.0.",
+"0.0.0.0.0.0.0.3 =.%.W 0 O 1 _ ;.;.$.t b r o O o   0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.0.o m ;.=.` k & % b =.=.S 5 @     0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.0.0.* ` ;.=.` R 1 O 9 | W @   0.0.0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.0.0.. r =.;.;.` b &   ; 3 X 0.0.0.0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.0.0.0.O R =.W 9 O .     . 0.0.0.0.0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.0.0.0.  = 3 O   0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.0.0.0.0.    0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.",
+"0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0."
+};
diff --git a/debian/nrefactory-samples.install b/debian/nrefactory-samples.install
new file mode 100644
index 0000000..89d016b
--- /dev/null
+++ b/debian/nrefactory-samples.install
@@ -0,0 +1,8 @@
+bin/Debug/ICSharpCode.NRefactory.Demo.exe*					/usr/lib/nrefactory-samples/
+ICSharpCode.NRefactory.GtkDemo/bin/Debug/ICSharpCode.NRefactory.GtkDemo.exe*	/usr/lib/nrefactory-samples/
+ICSharpCode.NRefactory.GtkDemo/CSharpDemo.cs					/usr/lib/nrefactory-samples/
+debian/nrefactory-demo-swf							/usr/bin/
+debian/nrefactory-demo-gtk							/usr/bin/
+debian/nrefactory-demo-swf.desktop						/usr/share/applications/
+debian/nrefactory-demo-gtk.desktop						/usr/share/applications/
+debian/nrefactory-demo.xpm							/usr/share/pixmaps/
diff --git a/debian/nrefactory.pc b/debian/nrefactory.pc
new file mode 100644
index 0000000..6c63609
--- /dev/null
+++ b/debian/nrefactory.pc
@@ -0,0 +1,8 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+
+Name: ICSharpCode.NRefactory
+Description: ICSharpCode.NRefactory - C# parsing and refactoring library
+Version: #VERSION#
+Libs: -r:${libdir}/cli/ICSharpCode.NRefactory-#DEB_CLI_ABI_VERSION#/ICSharpCode.NRefactory.dll -r:${libdir}/cli/ICSharpCode.NRefactory.Cecil-#DEB_CLI_ABI_VERSION#/ICSharpCode.NRefactory.Cecil.dll -r:${libdir}/cli/ICSharpCode.NRefactory.CSharp-#DEB_CLI_ABI_VERSION#/ICSharpCode.NRefactory.CSharp.dll -r:${libdir}/cli/ICSharpCode.NRefactory.IKVM-#DEB_CLI_ABI_VERSION#/ICSharpCode.NRefactory.IKVM.dll -r:${libdir}/cli/ICSharpCode.NRefactory.IKVM-#DEB_CLI_ABI_VERSION#/IKVM.Reflection.dll -r:${li [...]
diff --git a/debian/patches/load_assemblies_from_GAC.patch b/debian/patches/load_assemblies_from_GAC.patch
new file mode 100644
index 0000000..7714c38
--- /dev/null
+++ b/debian/patches/load_assemblies_from_GAC.patch
@@ -0,0 +1,16 @@
+Index: NRefactory/ICSharpCode.NRefactory/TypeSystem/AssemblyLoader.cs
+===================================================================
+--- NRefactory.orig/ICSharpCode.NRefactory/TypeSystem/AssemblyLoader.cs	2013-11-12 11:59:20.169312353 +0000
++++ NRefactory/ICSharpCode.NRefactory/TypeSystem/AssemblyLoader.cs	2013-11-12 13:00:25.077189744 +0000
+@@ -50,9 +50,9 @@
+ 			switch (backend) {
+ 				case AssemblyLoaderBackend.Auto:
+ 				case AssemblyLoaderBackend.Cecil:
+-					return (AssemblyLoader)Assembly.Load ("ICSharpCode.NRefactory.Cecil").CreateInstance ("ICSharpCode.NRefactory.TypeSystem.CecilLoader");
++					return (AssemblyLoader)Assembly.Load ("ICSharpCode.NRefactory.Cecil, Version=5.0.0.0, Culture=neutral, PublicKeyToken=d4bfe873e7598c49").CreateInstance ("ICSharpCode.NRefactory.TypeSystem.CecilLoader");
+ 				case AssemblyLoaderBackend.IKVM:
+-					return (AssemblyLoader)Assembly.Load ("ICSharpCode.NRefactory.IKVM").CreateInstance ("ICSharpCode.NRefactory.TypeSystem.IkvmLoader");
++					return (AssemblyLoader)Assembly.Load ("ICSharpCode.NRefactory.IKVM, Version=5.0.0.0, Culture=neutral, PublicKeyToken=d4bfe873e7598c49").CreateInstance ("ICSharpCode.NRefactory.TypeSystem.IkvmLoader");
+ 				default:
+ 					throw new ArgumentOutOfRangeException ();
+ 			}
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e3ece64
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+use_system_cecil.patch
+use_bundled_ikvm_reflector.patch
+load_assemblies_from_GAC.patch
diff --git a/debian/patches/use_bundled_ikvm_reflector.patch b/debian/patches/use_bundled_ikvm_reflector.patch
new file mode 100644
index 0000000..f1cc136
--- /dev/null
+++ b/debian/patches/use_bundled_ikvm_reflector.patch
@@ -0,0 +1,46 @@
+Index: NRefactory/ICSharpCode.NRefactory.IKVM/ICSharpCode.NRefactory.IKVM.csproj
+===================================================================
+--- NRefactory.orig/ICSharpCode.NRefactory.IKVM/ICSharpCode.NRefactory.IKVM.csproj	2013-11-12 12:07:27.953296034 +0000
++++ NRefactory/ICSharpCode.NRefactory.IKVM/ICSharpCode.NRefactory.IKVM.csproj	2013-11-12 12:07:27.949296034 +0000
+@@ -42,7 +42,7 @@
+   </ItemGroup>
+   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+   <ItemGroup>
+-    <ProjectReference Include="..\..\ikvm\reflect\IKVM.Reflection.csproj">
++    <ProjectReference Include="..\reflect\IKVM.Reflection.csproj">
+       <Project>{4CB170EF-DFE6-4A56-9E1B-A85449E827A7}</Project>
+       <Name>IKVM.Reflection</Name>
+     </ProjectReference>
+Index: NRefactory/NRefactory.sln
+===================================================================
+--- NRefactory.orig/NRefactory.sln	2013-11-12 12:07:27.953296034 +0000
++++ NRefactory/NRefactory.sln	2013-11-12 12:07:27.949296034 +0000
+@@ -26,7 +26,7 @@
+ EndProject
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.NRefactory.Demo", "ICSharpCode.NRefactory.Demo\ICSharpCode.NRefactory.Demo.csproj", "{9C19E629-C93E-4ACB-9A4B-13072B5AEF9D}"
+ EndProject
+-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IKVM.Reflection", "..\ikvm\reflect\IKVM.Reflection.csproj", "{4CB170EF-DFE6-4A56-9E1B-A85449E827A7}"
++Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IKVM.Reflection", "reflect\IKVM.Reflection.csproj", "{4CB170EF-DFE6-4A56-9E1B-A85449E827A7}"
+ EndProject
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.NRefactory.IKVM", "ICSharpCode.NRefactory.IKVM\ICSharpCode.NRefactory.IKVM.csproj", "{A727169F-D94F-443F-B305-B057D7F3B420}"
+ EndProject
+Index: NRefactory/reflect/IKVM.Reflection.csproj
+===================================================================
+--- NRefactory.orig/reflect/IKVM.Reflection.csproj	2013-10-10 11:06:19.000000000 +0100
++++ NRefactory/reflect/IKVM.Reflection.csproj	2013-11-12 12:09:25.225292111 +0000
+@@ -23,7 +23,7 @@
+     <SccProvider>
+     </SccProvider>
+     <SignAssembly>true</SignAssembly>
+-    <AssemblyOriginatorKeyFile>..\ikvm-fork.snk</AssemblyOriginatorKeyFile>
++    <AssemblyOriginatorKeyFile>..\debian\ikvm-fork.snk</AssemblyOriginatorKeyFile>
+   </PropertyGroup>
+   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+     <DebugSymbols>True</DebugSymbols>
+@@ -145,4 +145,4 @@
+   <Target Name="AfterBuild">
+   </Target>
+   -->
+-</Project>
+\ No newline at end of file
++</Project>
diff --git a/debian/patches/use_system_cecil.patch b/debian/patches/use_system_cecil.patch
new file mode 100644
index 0000000..1ff5ff9
--- /dev/null
+++ b/debian/patches/use_system_cecil.patch
@@ -0,0 +1,98 @@
+Index: NRefactory/ICSharpCode.NRefactory.Cecil/ICSharpCode.NRefactory.Cecil.csproj
+===================================================================
+--- NRefactory.orig/ICSharpCode.NRefactory.Cecil/ICSharpCode.NRefactory.Cecil.csproj	2013-11-12 11:59:38.073311754 +0000
++++ NRefactory/ICSharpCode.NRefactory.Cecil/ICSharpCode.NRefactory.Cecil.csproj	2013-11-12 12:04:13.549302538 +0000
+@@ -33,6 +33,7 @@
+   <ItemGroup>
+     <Reference Include="System" />
+     <Reference Include="System.Core" />
++    <Reference Include="Mono.Cecil" />
+   </ItemGroup>
+   <ItemGroup>
+     <Compile Include="..\ICSharpCode.NRefactory\Properties\GlobalAssemblyInfo.cs">
+@@ -47,9 +48,5 @@
+       <Project>{3B2A5653-EC97-4001-BB9B-D90F1AF2C371}</Project>
+       <Name>ICSharpCode.NRefactory</Name>
+     </ProjectReference>
+-    <ProjectReference Include="..\..\cecil\Mono.Cecil.csproj">
+-      <Project>{D68133BD-1E63-496E-9EDE-4FBDBF77B486}</Project>
+-      <Name>Mono.Cecil</Name>
+-    </ProjectReference>
+   </ItemGroup>
+-</Project>
+\ No newline at end of file
++</Project>
+Index: NRefactory/ICSharpCode.NRefactory.GtkDemo/ICSharpCode.NRefactory.GtkDemo.csproj
+===================================================================
+--- NRefactory.orig/ICSharpCode.NRefactory.GtkDemo/ICSharpCode.NRefactory.GtkDemo.csproj	2013-11-12 11:59:38.077311754 +0000
++++ NRefactory/ICSharpCode.NRefactory.GtkDemo/ICSharpCode.NRefactory.GtkDemo.csproj	2013-11-12 12:04:41.097301616 +0000
+@@ -58,6 +58,7 @@
+     <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+     <Reference Include="Mono.Posix" />
+     <Reference Include="System.Core" />
++    <Reference Include="Mono.Cecil" />
+   </ItemGroup>
+   <ItemGroup>
+     <EmbeddedResource Include="gtk-gui\gui.stetic">
+@@ -103,10 +104,6 @@
+       <Project>{2B8F4F83-C2B3-4E84-A27B-8DEE1BE0E006}</Project>
+       <Name>ICSharpCode.NRefactory.Cecil</Name>
+     </ProjectReference>
+-    <ProjectReference Include="..\..\cecil\Mono.Cecil.csproj">
+-      <Project>{D68133BD-1E63-496E-9EDE-4FBDBF77B486}</Project>
+-      <Name>Mono.Cecil</Name>
+-    </ProjectReference>
+   </ItemGroup>
+   <ItemGroup>
+     <None Include="CSharpDemo.cs">
+@@ -116,4 +113,4 @@
+   <ItemGroup>
+     <Folder Include="pixbuf\" />
+   </ItemGroup>
+-</Project>
+\ No newline at end of file
++</Project>
+Index: NRefactory/ICSharpCode.NRefactory.Tests/ICSharpCode.NRefactory.Tests.csproj
+===================================================================
+--- NRefactory.orig/ICSharpCode.NRefactory.Tests/ICSharpCode.NRefactory.Tests.csproj	2013-11-12 11:59:38.085311754 +0000
++++ NRefactory/ICSharpCode.NRefactory.Tests/ICSharpCode.NRefactory.Tests.csproj	2013-11-12 12:05:06.501300766 +0000
+@@ -85,6 +85,7 @@
+     <Reference Include="System.Core" />
+     <Reference Include="System.Xml" />
+     <Reference Include="System.Xml.Linq" />
++    <Reference Include="Mono.Cecil" />
+     <Reference Include="nunit.framework">
+       <HintPath>..\..\cecil\Test\libs\nunit-2.5.10\nunit.framework.dll</HintPath>
+     </Reference>
+@@ -437,11 +438,6 @@
+     <Compile Include="CSharp\CodeCompletion\FormatItemTests.cs" />
+   </ItemGroup>
+   <ItemGroup>
+-    <ProjectReference Include="..\..\cecil\Mono.Cecil.csproj">
+-      <Project>{D68133BD-1E63-496E-9EDE-4FBDBF77B486}</Project>
+-      <Name>Mono.Cecil</Name>
+-      <Private>False</Private>
+-    </ProjectReference>
+     <ProjectReference Include="..\ICSharpCode.NRefactory.CSharp\ICSharpCode.NRefactory.CSharp.csproj">
+       <Project>{53DCA265-3C3C-42F9-B647-F72BA678122B}</Project>
+       <Name>ICSharpCode.NRefactory.CSharp</Name>
+@@ -473,4 +469,4 @@
+       </Properties>
+     </MonoDevelop>
+   </ProjectExtensions>
+-</Project>
+\ No newline at end of file
++</Project>
+Index: NRefactory/NRefactory.sln
+===================================================================
+--- NRefactory.orig/NRefactory.sln	2013-11-12 11:59:38.101311753 +0000
++++ NRefactory/NRefactory.sln	2013-11-12 12:03:38.357303715 +0000
+@@ -14,8 +14,6 @@
+ EndProject
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.NRefactory.Tests", "ICSharpCode.NRefactory.Tests\ICSharpCode.NRefactory.Tests.csproj", "{63D3B27A-D966-4902-90B3-30290E1692F1}"
+ EndProject
+-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mono.Cecil", "..\cecil\Mono.Cecil.csproj", "{D68133BD-1E63-496E-9EDE-4FBDBF77B486}"
+-EndProject
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.NRefactory.CSharp", "ICSharpCode.NRefactory.CSharp\ICSharpCode.NRefactory.CSharp.csproj", "{53DCA265-3C3C-42F9-B647-F72BA678122B}"
+ EndProject
+ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.NRefactory.GtkDemo", "ICSharpCode.NRefactory.GtkDemo\ICSharpCode.NRefactory.GtkDemo.csproj", "{A7EEF7F8-238F-459D-95A9-96467539641D}"
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..07eafcc
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,33 @@
+#!/usr/bin/make -f
+
+MAKEFILE = $(firstword $(MAKEFILE_LIST))
+DEBIAN_DIR = $(dir $(MAKEFILE))
+DEB_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Vers | cut -d\  -f2)
+VERSION = $(shell echo $(DEB_VERSION) | sed 's,-.*,,' | sed 's,+dfsg.*,,')
+DEB_CLI_ABI_VERSION = 5.0
+
+override_dh_install:
+	# pkg-config
+	install -D $(CURDIR)/debian/nrefactory.pc \
+	           $(CURDIR)/debian/tmp/usr/lib/pkgconfig/nrefactory.pc
+	perl -pe 's/#VERSION#/$(VERSION)/' -i \
+	  $(CURDIR)/debian/tmp/usr/lib/pkgconfig/nrefactory.pc
+	perl -pe 's/#DEB_CLI_ABI_VERSION#/$(DEB_CLI_ABI_VERSION)/g' -i \
+	  $(CURDIR)/debian/tmp/usr/lib/pkgconfig/nrefactory.pc
+	dh_install
+
+override_dh_auto_build:
+	xbuild $(CURDIR)/NRefactory.sln /p:Configuration=Debug
+
+override_dh_auto_clean:
+	xbuild $(CURDIR)/NRefactory.sln /p:Configuration=Debug /t:Clean
+	-rm -r $(CURDIR)/bin
+
+override_dh_makeclilibs:
+	dh_makeclilibs -V
+
+override_dh_clideps:
+	dh_clideps --exclude-moduleref=fusion
+
+%:
+	dh $@ --with=cli
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 0000000..5e1cc9f
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1 @@
+debian/ikvm-fork.snk

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



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