[Pkg-cli-libs-commits] [monogame] 01/02: Build for MonoDevelop 4.0

Jo Shields directhex at moszumanska.debian.org
Thu Feb 13 20:20:50 UTC 2014


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

directhex pushed a commit to annotated tag debian/2.5.1+dfsg-4
in repository monogame.

commit b3cb0c7acdb7de891b71e291ca458fde089f8611
Author: Jo Shields <directhex at apebox.org>
Date:   Thu Feb 13 20:16:34 2014 +0000

    Build for MonoDevelop 4.0
---
 debian/control               |  6 +++---
 debian/patches/series        |  1 +
 debian/patches/use_md4.patch | 34 ++++++++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index db5958a..e6dce68 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,8 @@ Uploaders: Jo Shields <directhex at apebox.org>
 Build-Depends: cli-common-dev (>= 0.8~), debhelper (>= 8~)
 Build-Depends-Indep: mono-devel (>= 2.8), 
                      libopentk-cil-dev, 
-                     monodevelop (>= 3.0.3.2),
-                     monodevelop (<< 3.0.3.2.),
+                     monodevelop (>= 4.0.12),
+                     monodevelop (<< 4.0.12.),
                      libtaoframework-sdl-cil-dev,
                      monodoc-base
 Standards-Version: 3.9.3
@@ -42,7 +42,7 @@ Description: Free implementation of XNA - Development files
 Package: monodevelop-monogame
 Architecture: all
 Section: devel
-Depends: monodevelop (>= 3.0.3.2), monodevelop (<< 3.0.3.2.), libmonogame-cil-dev (= ${source:Version}), ${cli:Depends}, ${misc:Depends}
+Depends: monodevelop (>= 4.0.12), monodevelop (<< 4.0.12.), libmonogame-cil-dev (= ${source:Version}), ${cli:Depends}, ${misc:Depends}
 Description: Free implementation of XNA - IDE integration
  MonoGame is an Open Source, OpenGL implementation of the Microsoft XNA 4 
  Framework. Our goal is to allow XNA developers on Windows & Windows Phone 
diff --git a/debian/patches/series b/debian/patches/series
index 51593c3..cd05576 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+use_md4.patch
 dont_call_glTexEnv.patch
 force_unicode_build
 build_xml_documentation
diff --git a/debian/patches/use_md4.patch b/debian/patches/use_md4.patch
new file mode 100644
index 0000000..52ab1cc
--- /dev/null
+++ b/debian/patches/use_md4.patch
@@ -0,0 +1,34 @@
+Index: monogame/ProjectTemplates/MonoDevelop.MonoGame.2.5/MonoDevelop.MonoGame/MonoDevelop.MonoGame/MonoDevelop.MonoGame.addin.xml
+===================================================================
+--- monogame.orig/ProjectTemplates/MonoDevelop.MonoGame.2.5/MonoDevelop.MonoGame/MonoDevelop.MonoGame/MonoDevelop.MonoGame.addin.xml	2014-02-13 20:12:07.672954277 +0000
++++ monogame/ProjectTemplates/MonoDevelop.MonoGame.2.5/MonoDevelop.MonoGame/MonoDevelop.MonoGame/MonoDevelop.MonoGame.addin.xml	2014-02-13 20:12:07.656954278 +0000
+@@ -19,11 +19,11 @@
+ 	</Runtime>
+ 
+ 	<Dependencies>
+-		<Addin id="Core" version="3.0"/>
+-		<Addin id="Ide" version="3.0"/>
+-		<Addin id="SourceEditor2" version="3.0"/>
+-		<Addin id="Refactoring" version="3.0"/>
+-		<Addin id="Autotools" version="3.0"/>
++		<Addin id="Core" version="4.0"/>
++		<Addin id="Ide" version="4.0"/>
++		<Addin id="SourceEditor2" version="4.0"/>
++		<Addin id="Refactoring" version="4.0"/>
++		<Addin id="Autotools" version="4.0"/>
+ 	</Dependencies>
+     
+     <Extension path = "/MonoDevelop/Core/StockIcons">
+Index: monogame/ProjectTemplates/MonoDevelop.MonoGame.2.5/MonoDevelop.MonoGame/MonoDevelop.MonoGame/MonoGameProject.cs
+===================================================================
+--- monogame.orig/ProjectTemplates/MonoDevelop.MonoGame.2.5/MonoDevelop.MonoGame/MonoDevelop.MonoGame/MonoGameProject.cs	2014-02-13 20:10:48.000000000 +0000
++++ monogame/ProjectTemplates/MonoDevelop.MonoGame.2.5/MonoDevelop.MonoGame/MonoDevelop.MonoGame/MonoGameProject.cs	2014-02-13 20:12:22.300953717 +0000
+@@ -60,7 +60,7 @@
+ 			//HACK: workaround for MD not local-copying package references
+ 			foreach (var projectReference in References) {
+ 				if (projectReference.Package != null && projectReference.Package.Name == "monogame") {
+-					if (projectReference.ReferenceType == ReferenceType.Gac) {
++					if (projectReference.ReferenceType == ReferenceType.Package) {
+ 						foreach (var assem in projectReference.Package.Assemblies) {
+ 							list.Add (assem.Location);
+ 							var cfg = (MonoGameProjectConfiguration)solutionConfiguration.GetConfiguration (this);

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



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