diff options
author | Heather Cynede <cynede@gentoo.org> | 2015-08-13 12:55:28 +0400 |
---|---|---|
committer | Heather Cynede <cynede@gentoo.org> | 2015-08-13 12:56:03 +0400 |
commit | fe0cdd766a9af11541a348eec1f385afa4b42046 (patch) | |
tree | 496294b301b5f23e92bcdb1fbadf091b52eb6814 /dev-util/monodevelop | |
parent | app-admin/eselect: Version bump, removes binutils module, bug 507870. (diff) | |
download | gentoo-fe0cdd766a9af11541a348eec1f385afa4b42046.tar.gz gentoo-fe0cdd766a9af11541a348eec1f385afa4b42046.tar.bz2 gentoo-fe0cdd766a9af11541a348eec1f385afa4b42046.zip |
dev-util/monodevelop 5.9.5.5
Diffstat (limited to 'dev-util/monodevelop')
-rw-r--r-- | dev-util/monodevelop/Manifest | 8 | ||||
-rw-r--r-- | dev-util/monodevelop/files/5.7-downgrade_to_mvc3.patch | 47 | ||||
-rw-r--r-- | dev-util/monodevelop/files/5.9.5-kill-gnome.patch | 153 | ||||
-rw-r--r-- | dev-util/monodevelop/files/5.9.5-skip_merged_tar.patch | 11 | ||||
-rw-r--r-- | dev-util/monodevelop/files/aspnet-template-references-fix.patch | 73 | ||||
-rw-r--r-- | dev-util/monodevelop/files/gentoo-dotnet-issue-30.patch | 18 | ||||
-rw-r--r-- | dev-util/monodevelop/files/kill-gnome.patch | 369 | ||||
-rw-r--r-- | dev-util/monodevelop/files/kill-qtcurve-warning.patch | 12 | ||||
-rw-r--r-- | dev-util/monodevelop/files/mrward-xdt-issue-4.patch | 35 | ||||
-rw-r--r-- | dev-util/monodevelop/metadata.xml | 5 | ||||
-rw-r--r-- | dev-util/monodevelop/monodevelop-5.9.5.5.ebuild | 140 |
11 files changed, 871 insertions, 0 deletions
diff --git a/dev-util/monodevelop/Manifest b/dev-util/monodevelop/Manifest index 159601d531b4..79bf10670a33 100644 --- a/dev-util/monodevelop/Manifest +++ b/dev-util/monodevelop/Manifest @@ -1 +1,9 @@ +DIST Microsoft.AspNet.Mvc.5.2.2.zip 298098 SHA256 4bd8c48bd03b9258781daa85f391369d13e6c880e23e285e585ef029c8af8ecb SHA512 567b1f9f9e5d355e3a128f028fae3d630c2cfd85a009433a4a08aa9893091c97f60f220665d4246529f1ec94f25c4a81a5708c0a1efd320d40a40f2cb16fead0 WHIRLPOOL daa7789ddef73c57357c7ea7acaef75f7d6d955c5e540849f11aa28a311f9b6cc288152ac9e4bfcd2b4634bf102a1f2c5fb027ba445e87109321d7ed8cba1062 +DIST Microsoft.AspNet.Razor.3.2.2.zip 149304 SHA256 adab42fed10e5a0c0c5ff8abd74b023f37d0bd35dbbb824d5fe1ff4dec5563b5 SHA512 7a75bbfd87bb17ee594061338f4010172c1e497863a4683b4139f24c316624bdfd48fe93aa5fffe12af9b4566400d2f13158e7913486bb8ba724723c5fe78032 WHIRLPOOL 28162c893f13ed7fac079c3d69d27286c6de5f2f8c89a86a92af7c0565a2989e2c2c87dbe16f679f36223fa9fe92d0918d30e3b3387bc30adc4f309fb5684d2d +DIST Microsoft.AspNet.WebPages.3.2.2.zip 229034 SHA256 b4449201b141a17b7e4580fceb9125f9816a658eff900810c5ba98207d59dc9d SHA512 d48ac57c40b444196c26f3e044090a63b4cf736d2963e29de698da0980f46b09f3c862ec311140e1376bf635561fda7b0af7e868e543def727f7b71790619407 WHIRLPOOL 85f4f9e64fe4e38a7b3f7268dad818f53195c41d6fc82cef8e90718f9f806f2622d34ed263351c0905398711130d466d77e203cbd809209007312845a83dbedd +DIST Microsoft.Web.Infrastructure.1.0.0.0.zip 24921 SHA256 d6a9d4e32222036aa0633f07aeccfa9d38ec22bef311442568499c12734bb4d7 SHA512 14d9af2e7e66d8b4d4fd1b36296568d1220887d124f94d288dec7bc5e0da487c3fce010fefb03cbd8e5c556814b41192f0c25f0c6367f2ba5725610841a3f04e WHIRLPOOL 4d8ebcb2888bc9fe06c1d4afd844465a4698cc8a94c838cf211212906745dda719aff0fe806f30278b1b08997e70edcb94c808ed001f1ca8846980244c5cd4c3 +DIST NUnit-2.5.10.11092.zip 2465370 SHA256 cc728a0b1747af90512233a6acd17d5fb3d9f65d775e083868638b1bfe2ab04c SHA512 dae192c1b83c5fdc7a13156c9289718996ff3a8dcfb6daacf9258c837b1c54c046ba7df8523e3afe0c9ceca7ba7a33ec45ce1050b65b5e58d57ae85c66969876 WHIRLPOOL 1b5f98b48a7721cfac17e2148fc3bd1000be207ae250c46327bee8b76e99bee07fb43a07f828e3b1f89bf388161fbe9e30453d7550978eb596181d7f010debf3 +DIST NUnit.2.6.3.zip 98508 SHA256 f05ac5c83d5ce27a171f0b74bfe0c79891001c2f8840dd2717e3f3f74834612d SHA512 cc6616fcde14f07d58e97afa68641981a0ed7e94494a56f1ec0f4583758d515dc428451ed4bc239c7c3d347f35195598cca94e04b666169feaf74609c13dafcd WHIRLPOOL 2b91bf793a1752b74ed19d5b857123393f6abbbfc3521cead57edcb9cdd1c97ea7f4a39c062e74d873d0f7b27872872888f0230a3de082dd29dbe28e1c1ce633 +DIST NUnit.Runners.2.6.3.zip 572556 SHA256 6ba804daa96487ab2456b9cf676128e657a5dfff4c2f2165bce9ce4e530c9d63 SHA512 d124c804bd2112cb289283570df3738e276d112004b888a3a09f2d3ee62899fbcedb926f051b455911262a028abc9b91739159395b5d8e316851c73c4cce1afc WHIRLPOOL 1750e3b6a78dbac77c2b2c90ca8a4ac6e74e38d1d2d44303678a8b18f4e7773d4f34f23f58fac4a2977bb14ad53e0a179d83448a86c7a748d830658b99b996a9 +DIST System.Web.Mvc.Extensions.Mvc.4.1.0.9.zip 30309 SHA256 d274189ec21dd01e510eae823f4eadde5460ca44dbc55fe3ad315f54853191a7 SHA512 8d06cacf5e6c4872c387a38b1d1b59a33073f9b74fe769bab3bfff06a5d3acafd9aff03034a77512263a9055a876a26b77472b306e6beee5ececf8cab43935e2 WHIRLPOOL 0240b7b2726ae86f3ab261dddec2336b1dbde6cbb59816fd291ab20fab64863da9b11eec91288e6b6340abc406e7fdfbae6b06c93739bb64b5f817fa0f37ffb5 DIST monodevelop-3.0.2.tar.bz2 17499208 SHA256 e214f5170c3d57a5ce1a9d9000b043f257d0b5f0bba985875010fc8217e27ff5 SHA512 e2bb19b1968dec96e0dcca0370bcda6666bad6e45ae8749ec2b65b96d7e7312e63c551c3fc7a508ea08c44e5bb3ee06d5c91123c3b74936eb50504263581f12f WHIRLPOOL 64d94a9506a5c6bacfa569a0bd896f85b134d585a6f54fa896da163fe384712432d02ad60c2b56518a44139fef53f47dc61728e84b181bb3d44d558ff69682f3 diff --git a/dev-util/monodevelop/files/5.7-downgrade_to_mvc3.patch b/dev-util/monodevelop/files/5.7-downgrade_to_mvc3.patch new file mode 100644 index 000000000000..ba76794dfd2e --- /dev/null +++ b/dev-util/monodevelop/files/5.7-downgrade_to_mvc3.patch @@ -0,0 +1,47 @@ +Index: xamarin-pkg-monodevelop/src/addins/AspNet/Properties/MonoDevelop.AspNet.addin.xml +=================================================================== +--- xamarin-pkg-monodevelop.orig/src/addins/AspNet/Properties/MonoDevelop.AspNet.addin.xml 2015-01-15 19:43:29.994850405 +0000 ++++ xamarin-pkg-monodevelop/src/addins/AspNet/Properties/MonoDevelop.AspNet.addin.xml 2015-01-15 19:51:12.746841738 +0000 +@@ -1,13 +1,13 @@ + <ExtensionModel>
+
+ <Runtime>
+- <Import assembly = "System.Web.Helpers.dll" /> +- <Import assembly = "System.Web.Mvc.dll" /> +- <Import assembly = "System.Web.Razor.dll" /> +- <Import assembly = "System.Web.WebPages.Deployment.dll" /> +- <Import assembly = "System.Web.WebPages.dll" /> +- <Import assembly = "System.Web.WebPages.Razor.dll" /> +- ++<!-- <Import assembly = "System.Web.Helpers.dll" />
++ <Import assembly = "System.Web.Mvc.dll" />
++ <Import assembly = "System.Web.Razor.dll" />
++ <Import assembly = "System.Web.WebPages.Deployment.dll" />
++ <Import assembly = "System.Web.WebPages.dll" />
++ <Import assembly = "System.Web.WebPages.Razor.dll" /> -->
++
+ <Import file = "Html/Schemas/xhtml1-strict.xsd" />
+ <Import file = "Html/Schemas/xhtml1-transitional.xsd" />
+ <Import file = "Html/Schemas/xhtml1-frameset.xsd" />
+@@ -202,10 +202,10 @@ + guid="{E53F8FEA-EAE0-44A6-8774-FFD645390401}"
+ type="MonoDevelop.AspNet.Projects.AspMvc3Project"
+ useXBuild="true" />
+- <DotNetProjectSubtype
++<!-- <DotNetProjectSubtype
+ guid="{E3E379DF-F4C6-4180-9B81-6769533ABE47}"
+ type="MonoDevelop.AspNet.Projects.AspMvc4Project"
+- useXBuild="true" />
++ useXBuild="true" /> -->
+ <DotNetProjectSubtype
+ id="MonoDevelop.AspNet.Projects.AspNetAppProject"
+ guid="{349C5851-65DF-11DA-9384-00065B846F21}"
+@@ -216,7 +216,7 @@ + <Extension path = "/MonoDevelop/TypeSystem/Parser">
+ <Parser class = "MonoDevelop.AspNet.WebForms.WebFormsParser" mimeType="application/x-aspx, application/x-ascx, application/x-master-page" />
+ <Parser class = "MonoDevelop.AspNet.Html.HtmlParser" mimeType="text/html, application/x-spark" />
+- <Parser class = "MonoDevelop.AspNet.Razor.RazorCSharpParser" mimeType="text/x-cshtml" /> ++ <Parser class = "MonoDevelop.AspNet.Razor.RazorCSharpParser" mimeType="text/x-cshtml" />
+ </Extension>
+
+ <Extension path = "/MonoDevelop/ProjectModel/SerializableClasses">
diff --git a/dev-util/monodevelop/files/5.9.5-kill-gnome.patch b/dev-util/monodevelop/files/5.9.5-kill-gnome.patch new file mode 100644 index 000000000000..b9b07d139f4f --- /dev/null +++ b/dev-util/monodevelop/files/5.9.5-kill-gnome.patch @@ -0,0 +1,153 @@ +diff -rupN main.original/configure.in main/configure.in +--- main.original/configure.in 2015-07-18 14:09:27.934561734 +0200 ++++ main/configure.in 2015-07-18 14:11:02.182316682 +0200 +@@ -133,13 +133,6 @@ PKG_CHECK_MODULES(MONODOC, monodoc >= $M + AC_SUBST(MONODOC_LIBS) + + dnl soft dependencies +-PKG_CHECK_MODULES(GNOME_SHARP, gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION, [gnome_sharp=yes], [gnome_sharp=no]) +-AC_SUBST(GNOME_SHARP_LIBS) +-PKG_CHECK_MODULES(GNOME_VFS_SHARP, gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION, [gnome_vfs_sharp=yes], [gnome_vfs_sharp=no]) +-AC_SUBST(GNOME_VFS_SHARP_LIBS) +-PKG_CHECK_MODULES(GCONF_SHARP, gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION, [gconf_sharp=yes], [gconf_sharp=no]) +-AC_SUBST(GCONF_SHARP_LIBS) +- + gtksharp_prefix="`$PKG_CONFIG --variable=prefix gtk-sharp-2.0`" + AC_SUBST(gtksharp_prefix) + +diff -rupN main.original/src/addins/GnomePlatform/GnomePlatform.cs main/src/addins/GnomePlatform/GnomePlatform.cs +--- main.original/src/addins/GnomePlatform/GnomePlatform.cs 2015-07-18 18:40:15.946222126 +0200 ++++ main/src/addins/GnomePlatform/GnomePlatform.cs 2015-07-18 19:56:35.272686234 +0200 +@@ -26,7 +26,6 @@ + // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + // + +-using Gnome; + using MonoDevelop.Ide.Desktop; + using System; + using System.Collections.Generic; +@@ -40,44 +39,13 @@ namespace MonoDevelop.Platform + { + public class GnomePlatform : PlatformService + { +- static bool useGio; +- +- Gnome.ThumbnailFactory thumbnailFactory = new Gnome.ThumbnailFactory (Gnome.ThumbnailSize.Normal); +- + static GnomePlatform () + { + try { + Gio.GetDefaultForType ("text/plain"); +- useGio = true; + } catch (Exception ex) { + Console.WriteLine (ex); + } +- //apparently Gnome.Icon needs GnomeVFS initialized even when we're using GIO. +- Gnome.Vfs.Vfs.Initialize (); +- } +- +- DesktopApplication GetGnomeVfsDefaultApplication (string mimeType) +- { +- var app = Gnome.Vfs.Mime.GetDefaultApplication (mimeType); +- if (app != null) +- return (DesktopApplication) Marshal.PtrToStructure (app.Handle, typeof(DesktopApplication)); +- else +- return null; +- } +- +- IEnumerable<DesktopApplication> GetGnomeVfsApplications (string mimeType) +- { +- var def = GetGnomeVfsDefaultApplication (mimeType); +- var list = new List<DesktopApplication> (); +- var apps = Gnome.Vfs.Mime.GetAllApplications (mimeType); +- foreach (var app in apps) { +- var dap = (GnomeVfsApp) Marshal.PtrToStructure (app.Handle, typeof(GnomeVfsApp)); +- if (!string.IsNullOrEmpty (dap.Command) && !string.IsNullOrEmpty (dap.DisplayName) && !dap.Command.Contains ("monodevelop ")) { +- var isDefault = def != null && def.Id == dap.Command; +- list.Add (new GnomeDesktopApplication (dap.Command, dap.DisplayName, isDefault)); +- } +- } +- return list; + } + + public override IEnumerable<DesktopApplication> GetApplications (string filename) +@@ -88,10 +56,7 @@ namespace MonoDevelop.Platform + + IEnumerable<DesktopApplication> GetApplicationsForMimeType (string mimeType) + { +- if (useGio) +- return Gio.GetAllForType (mimeType); +- else +- return GetGnomeVfsApplications (mimeType); ++ return Gio.GetAllForType (mimeType); + } + + struct GnomeVfsApp { +@@ -100,23 +65,15 @@ namespace MonoDevelop.Platform + + protected override string OnGetMimeTypeDescription (string mt) + { +- if (useGio) +- return Gio.GetMimeTypeDescription (mt); +- else +- return Gnome.Vfs.Mime.GetDescription (mt); ++ return Gio.GetMimeTypeDescription (mt); + } + + protected override string OnGetMimeTypeForUri (string uri) + { + if (uri == null) + return null; +- +- if (useGio) { +- string mt = Gio.GetMimeTypeForUri (uri); +- if (mt != null) +- return mt; +- } +- return Gnome.Vfs.MimeType.GetMimeTypeForUri (ConvertFileNameToVFS (uri)); ++ ++ return Gio.GetMimeTypeForUri (uri); + } + + protected override bool OnGetMimeTypeIsText (string mimeType) +@@ -128,19 +85,9 @@ namespace MonoDevelop.Platform + return base.OnGetMimeTypeIsText (mimeType); + } + +- +- public override void ShowUrl (string url) +- { +- Gnome.Url.Show (url); +- } +- + public override string DefaultMonospaceFont { + get { +- try { +- return (string) (new GConf.Client ().Get ("/desktop/gnome/interface/monospace_font_name")); +- } catch (Exception) { +- return "Monospace 11"; +- } ++ return "Monospace 11"; + } + } + +@@ -159,18 +106,8 @@ namespace MonoDevelop.Platform + filename = EscapeFileName (filename); + if (filename == null) + return "gnome-fs-regular"; +- +- string icon = null; +- Gnome.IconLookupResultFlags result; +- try { +- icon = Gnome.Icon.LookupSync (IconTheme.Default, thumbnailFactory, filename, null, +- Gnome.IconLookupFlags.None, out result); +- } catch {} +- if (icon != null && icon.Length > 0) +- return icon; +- } ++ } + return "gnome-fs-regular"; +- + } + + protected override Xwt.Drawing.Image OnGetIconForFile (string filename) diff --git a/dev-util/monodevelop/files/5.9.5-skip_merged_tar.patch b/dev-util/monodevelop/files/5.9.5-skip_merged_tar.patch new file mode 100644 index 000000000000..4f0094769128 --- /dev/null +++ b/dev-util/monodevelop/files/5.9.5-skip_merged_tar.patch @@ -0,0 +1,11 @@ +--- monodevelop-5.9.5.5.orig/Makefile 2015-07-18 18:40:15.414229154 +0200 ++++ monodevelop-5.9.5.5/Makefile 2015-07-18 19:39:03.782576863 +0200 +@@ -87,8 +87,6 @@ dist: update_submodules remove-stale-tar + -name \*.dll -o \ + -name \*.mdb \) \ + -delete +- @cd tarballs && tar -cjf monodevelop-$(PACKAGE_VERSION).tar.bz2 monodevelop-$(PACKAGE_VERSION) +- @cd tarballs && rm -rf monodevelop-$(PACKAGE_VERSION) + + aot: + @for i in main/build/bin/*.dll; do ($(MONO_AOT) $$i &> /dev/null && echo AOT successful: $$i) || (echo AOT failed: $$i); done diff --git a/dev-util/monodevelop/files/aspnet-template-references-fix.patch b/dev-util/monodevelop/files/aspnet-template-references-fix.patch new file mode 100644 index 000000000000..99f7b4b02afb --- /dev/null +++ b/dev-util/monodevelop/files/aspnet-template-references-fix.patch @@ -0,0 +1,73 @@ +diff -u -r work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/EmptyMvcProject.xpt.xml work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/EmptyMvcProject.xpt.xml +--- work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/EmptyMvcProject.xpt.xml 2015-03-07 11:16:24.869736145 +0300 ++++ work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/EmptyMvcProject.xpt.xml 2015-03-07 11:17:12.990734446 +0300 +@@ -27,6 +27,7 @@ + <References> + <Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> ++ <Reference type="Package" refto="System.Web.Mvc" /> + <Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <Reference type="Package" refto="System.Core" /> + <Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> +diff -u -r work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProject.xpt.xml work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProject.xpt.xml +--- work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProject.xpt.xml 2015-03-07 11:16:24.869736145 +0300 ++++ work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProject.xpt.xml 2015-03-07 11:18:08.101732500 +0300 +@@ -29,6 +29,7 @@ + <References>
+ <Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
++ <Reference type="Package" refto="System.Web.Mvc" />
+ <Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <Reference type="Package" refto="System.Core" />
+ <Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+diff -u -r work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProjectWithUnitTest.xpt.xml work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProjectWithUnitTest.xpt.xml +--- work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProjectWithUnitTest.xpt.xml 2015-03-07 11:16:24.869736145 +0300 ++++ work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcProjectWithUnitTest.xpt.xml 2015-03-07 11:18:31.693731667 +0300 +@@ -29,6 +29,7 @@ + <References>
+ <Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
++ <Reference type="Package" refto="System.Web.Mvc" />
+ <Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <Reference type="Package" refto="System.Core" />
+ <Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+@@ -93,6 +93,8 @@ + <References>
+ <Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
++ <Reference type="Package" refto="System.Web.Mvc" />
++ <Reference type="Package" refto="NUnit.Framework" />
+ <Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <Reference type="Package" refto="System.Core" />
+ <Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+diff -u -r work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProject.xpt.xml work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProject.xpt.xml +--- work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProject.xpt.xml 2015-03-07 11:16:24.869736145 +0300 ++++ work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProject.xpt.xml 2015-03-07 11:18:48.517731073 +0300 +@@ -29,6 +29,7 @@ + <References> + <Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> ++ <Reference type="Package" refto="System.Web.Mvc" /> + <Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <Reference type="Package" refto="System.Core" /> + <Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> +diff -u -r work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProjectWithUnitTest.xpt.xml work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProjectWithUnitTest.xpt.xml +--- work.unpacked/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProjectWithUnitTest.xpt.xml 2015-03-07 11:16:24.869736145 +0300 ++++ work/monodevelop-5.7/src/addins/AspNet/Templates/Projects/MvcRazorProjectWithUnitTest.xpt.xml 2015-03-07 11:19:12.373730231 +0300 +@@ -29,6 +29,7 @@ + <References> + <Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> ++ <Reference type="Package" refto="System.Web.Mvc" /> + <Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <Reference type="Package" refto="System.Core" /> + <Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> +@@ -71,6 +71,8 @@ + <References> + <Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <Reference type="Package" refto="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> ++ <Reference type="Package" refto="System.Web.Mvc" /> ++ <Reference type="Package" refto="NUnit.Framework" /> + <Reference type="Package" refto="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <Reference type="Package" refto="System.Core" /> + <Reference type="Package" refto="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> diff --git a/dev-util/monodevelop/files/gentoo-dotnet-issue-30.patch b/dev-util/monodevelop/files/gentoo-dotnet-issue-30.patch new file mode 100644 index 000000000000..63ae0ead52ce --- /dev/null +++ b/dev-util/monodevelop/files/gentoo-dotnet-issue-30.patch @@ -0,0 +1,18 @@ +--- work.orig/monodevelop-5.7/external/ikvm/reflect/IKVM.Reflection.csproj 2015-03-05 15:53:11.019394980 +0300 ++++ work/monodevelop-5.7/external/ikvm/reflect/IKVM.Reflection.csproj 2015-03-05 16:09:18.814671809 +0300 +@@ -1,5 +1,5 @@ + <?xml version="1.0" encoding="utf-8"?> +-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> ++<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> +@@ -10,7 +10,7 @@ + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>IKVM.Reflection</RootNamespace> + <AssemblyName>IKVM.Reflection</AssemblyName> +- <TargetFrameworkVersion>v2.0</TargetFrameworkVersion> ++ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <TargetFrameworkSubset> + </TargetFrameworkSubset> diff --git a/dev-util/monodevelop/files/kill-gnome.patch b/dev-util/monodevelop/files/kill-gnome.patch new file mode 100644 index 000000000000..c7afbeb47de2 --- /dev/null +++ b/dev-util/monodevelop/files/kill-gnome.patch @@ -0,0 +1,369 @@ +diff -rupN monodevelop/configure monodevelop.nognome/configure +--- monodevelop/configure 2015-04-28 11:55:36.000000000 +0300 ++++ monodevelop.nognome/configure 2015-05-27 12:40:15.073411758 +0300 +@@ -3711,224 +3711,6 @@ $as_echo "yes" >&6; } + + fi + +- +- +-pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_SHARP" >&5 +-$as_echo_n "checking for GNOME_SHARP... " >&6; } +- +-if test -n "$GNOME_SHARP_CFLAGS"; then +- pkg_cv_GNOME_SHARP_CFLAGS="$GNOME_SHARP_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then +- pkg_cv_GNOME_SHARP_CFLAGS=`$PKG_CONFIG --cflags "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null` +- test "x$?" != "x0" && pkg_failed=yes +-else +- pkg_failed=yes +-fi +- else +- pkg_failed=untried +-fi +-if test -n "$GNOME_SHARP_LIBS"; then +- pkg_cv_GNOME_SHARP_LIBS="$GNOME_SHARP_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then +- pkg_cv_GNOME_SHARP_LIBS=`$PKG_CONFIG --libs "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null` +- test "x$?" != "x0" && pkg_failed=yes +-else +- pkg_failed=yes +-fi +- else +- pkg_failed=untried +-fi +- +- +- +-if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- +-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then +- _pkg_short_errors_supported=yes +-else +- _pkg_short_errors_supported=no +-fi +- if test $_pkg_short_errors_supported = yes; then +- GNOME_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1` +- else +- GNOME_SHARP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1` +- fi +- # Put the nasty error message in config.log where it belongs +- echo "$GNOME_SHARP_PKG_ERRORS" >&5 +- +- gnome_sharp=no +-elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- gnome_sharp=no +-else +- GNOME_SHARP_CFLAGS=$pkg_cv_GNOME_SHARP_CFLAGS +- GNOME_SHARP_LIBS=$pkg_cv_GNOME_SHARP_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +- gnome_sharp=yes +-fi +- +- +-pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_VFS_SHARP" >&5 +-$as_echo_n "checking for GNOME_VFS_SHARP... " >&6; } +- +-if test -n "$GNOME_VFS_SHARP_CFLAGS"; then +- pkg_cv_GNOME_VFS_SHARP_CFLAGS="$GNOME_VFS_SHARP_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then +- pkg_cv_GNOME_VFS_SHARP_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null` +- test "x$?" != "x0" && pkg_failed=yes +-else +- pkg_failed=yes +-fi +- else +- pkg_failed=untried +-fi +-if test -n "$GNOME_VFS_SHARP_LIBS"; then +- pkg_cv_GNOME_VFS_SHARP_LIBS="$GNOME_VFS_SHARP_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then +- pkg_cv_GNOME_VFS_SHARP_LIBS=`$PKG_CONFIG --libs "gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null` +- test "x$?" != "x0" && pkg_failed=yes +-else +- pkg_failed=yes +-fi +- else +- pkg_failed=untried +-fi +- +- +- +-if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- +-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then +- _pkg_short_errors_supported=yes +-else +- _pkg_short_errors_supported=no +-fi +- if test $_pkg_short_errors_supported = yes; then +- GNOME_VFS_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1` +- else +- GNOME_VFS_SHARP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnome-vfs-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1` +- fi +- # Put the nasty error message in config.log where it belongs +- echo "$GNOME_VFS_SHARP_PKG_ERRORS" >&5 +- +- gnome_vfs_sharp=no +-elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- gnome_vfs_sharp=no +-else +- GNOME_VFS_SHARP_CFLAGS=$pkg_cv_GNOME_VFS_SHARP_CFLAGS +- GNOME_VFS_SHARP_LIBS=$pkg_cv_GNOME_VFS_SHARP_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +- gnome_vfs_sharp=yes +-fi +- +- +-pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF_SHARP" >&5 +-$as_echo_n "checking for GCONF_SHARP... " >&6; } +- +-if test -n "$GCONF_SHARP_CFLAGS"; then +- pkg_cv_GCONF_SHARP_CFLAGS="$GCONF_SHARP_CFLAGS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then +- pkg_cv_GCONF_SHARP_CFLAGS=`$PKG_CONFIG --cflags "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null` +- test "x$?" != "x0" && pkg_failed=yes +-else +- pkg_failed=yes +-fi +- else +- pkg_failed=untried +-fi +-if test -n "$GCONF_SHARP_LIBS"; then +- pkg_cv_GCONF_SHARP_LIBS="$GCONF_SHARP_LIBS" +- elif test -n "$PKG_CONFIG"; then +- if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then +- pkg_cv_GCONF_SHARP_LIBS=`$PKG_CONFIG --libs "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null` +- test "x$?" != "x0" && pkg_failed=yes +-else +- pkg_failed=yes +-fi +- else +- pkg_failed=untried +-fi +- +- +- +-if test $pkg_failed = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- +-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then +- _pkg_short_errors_supported=yes +-else +- _pkg_short_errors_supported=no +-fi +- if test $_pkg_short_errors_supported = yes; then +- GCONF_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1` +- else +- GCONF_SHARP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>&1` +- fi +- # Put the nasty error message in config.log where it belongs +- echo "$GCONF_SHARP_PKG_ERRORS" >&5 +- +- gconf_sharp=no +-elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- gconf_sharp=no +-else +- GCONF_SHARP_CFLAGS=$pkg_cv_GCONF_SHARP_CFLAGS +- GCONF_SHARP_LIBS=$pkg_cv_GCONF_SHARP_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +- gconf_sharp=yes +-fi +- +- + gtksharp_prefix="`$PKG_CONFIG --variable=prefix gtk-sharp-2.0`" + + +diff -rupN monodevelop/src/addins/GnomePlatform/GnomePlatform.cs monodevelop.nognome/src/addins/GnomePlatform/GnomePlatform.cs +--- monodevelop/src/addins/GnomePlatform/GnomePlatform.cs 2014-09-22 16:28:49.000000000 +0300 ++++ monodevelop.nognome/src/addins/GnomePlatform/GnomePlatform.cs 2015-05-27 12:40:15.073411758 +0300 +@@ -26,7 +26,6 @@ + // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + // + +-using Gnome; + using MonoDevelop.Ide.Desktop; + using System; + using System.Collections.Generic; +@@ -40,46 +39,15 @@ namespace MonoDevelop.Platform + { + public class GnomePlatform : PlatformService + { +- static bool useGio; +- +- Gnome.ThumbnailFactory thumbnailFactory = new Gnome.ThumbnailFactory (Gnome.ThumbnailSize.Normal); +- + static GnomePlatform () + { + try { + Gio.GetDefaultForType ("text/plain"); +- useGio = true; + } catch (Exception ex) { + Console.WriteLine (ex); + } +- //apparently Gnome.Icon needs GnomeVFS initialized even when we're using GIO. +- Gnome.Vfs.Vfs.Initialize (); +- } +- +- DesktopApplication GetGnomeVfsDefaultApplication (string mimeType) +- { +- var app = Gnome.Vfs.Mime.GetDefaultApplication (mimeType); +- if (app != null) +- return (DesktopApplication) Marshal.PtrToStructure (app.Handle, typeof(DesktopApplication)); +- else +- return null; +- } +- +- IEnumerable<DesktopApplication> GetGnomeVfsApplications (string mimeType) +- { +- var def = GetGnomeVfsDefaultApplication (mimeType); +- var list = new List<DesktopApplication> (); +- var apps = Gnome.Vfs.Mime.GetAllApplications (mimeType); +- foreach (var app in apps) { +- var dap = (GnomeVfsApp) Marshal.PtrToStructure (app.Handle, typeof(GnomeVfsApp)); +- if (!string.IsNullOrEmpty (dap.Command) && !string.IsNullOrEmpty (dap.DisplayName) && !dap.Command.Contains ("monodevelop ")) { +- var isDefault = def != null && def.Id == dap.Command; +- list.Add (new GnomeDesktopApplication (dap.Command, dap.DisplayName, isDefault)); +- } +- } +- return list; + } +- ++ + public override IEnumerable<DesktopApplication> GetApplications (string filename) + { + var mimeType = GetMimeTypeForUri (filename); +@@ -88,10 +56,7 @@ namespace MonoDevelop.Platform + + IEnumerable<DesktopApplication> GetApplicationsForMimeType (string mimeType) + { +- if (useGio) +- return Gio.GetAllForType (mimeType); +- else +- return GetGnomeVfsApplications (mimeType); ++ return Gio.GetAllForType (mimeType); + } + + struct GnomeVfsApp { +@@ -100,10 +65,7 @@ namespace MonoDevelop.Platform + + protected override string OnGetMimeTypeDescription (string mt) + { +- if (useGio) +- return Gio.GetMimeTypeDescription (mt); +- else +- return Gnome.Vfs.Mime.GetDescription (mt); ++ return Gio.GetMimeTypeDescription (mt); + } + + protected override string OnGetMimeTypeForUri (string uri) +@@ -111,12 +73,7 @@ namespace MonoDevelop.Platform + if (uri == null) + return null; + +- if (useGio) { +- string mt = Gio.GetMimeTypeForUri (uri); +- if (mt != null) +- return mt; +- } +- return Gnome.Vfs.MimeType.GetMimeTypeForUri (ConvertFileNameToVFS (uri)); ++ return Gio.GetMimeTypeForUri (uri); + } + + protected override bool OnGetMimeTypeIsText (string mimeType) +@@ -127,20 +84,10 @@ namespace MonoDevelop.Platform + return true; + return base.OnGetMimeTypeIsText (mimeType); + } +- +- +- public override void ShowUrl (string url) +- { +- Gnome.Url.Show (url); +- } + + public override string DefaultMonospaceFont { + get { +- try { +- return (string) (new GConf.Client ().Get ("/desktop/gnome/interface/monospace_font_name")); +- } catch (Exception) { +- return "Monospace 11"; +- } ++ return "Monospace 11"; + } + } + +@@ -158,19 +105,9 @@ namespace MonoDevelop.Platform + } else if (System.IO.File.Exists (filename)) { + filename = EscapeFileName (filename); + if (filename == null) +- return "gnome-fs-regular"; +- +- string icon = null; +- Gnome.IconLookupResultFlags result; +- try { +- icon = Gnome.Icon.LookupSync (IconTheme.Default, thumbnailFactory, filename, null, +- Gnome.IconLookupFlags.None, out result); +- } catch {} +- if (icon != null && icon.Length > 0) +- return icon; ++ return "gnome-fs-regular"; + } +- return "gnome-fs-regular"; +- ++ return "gnome-fs-regular"; + } + + protected override Xwt.Drawing.Image OnGetIconForFile (string filename) diff --git a/dev-util/monodevelop/files/kill-qtcurve-warning.patch b/dev-util/monodevelop/files/kill-qtcurve-warning.patch new file mode 100644 index 000000000000..36eb66e0ce1c --- /dev/null +++ b/dev-util/monodevelop/files/kill-qtcurve-warning.patch @@ -0,0 +1,12 @@ +diff -Naur monodevelop-5.0.1.org/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/IDEStyleOptionsPanel.cs monodevelop-5.0.1/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/IDEStyleOptionsPanel.cs +--- monodevelop-5.0.1.org/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/IDEStyleOptionsPanel.cs 2014-06-04 19:10:44.000000000 +0300 ++++ monodevelop-5.0.1/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/IDEStyleOptionsPanel.cs 2014-12-29 15:28:43.590834768 +0200 +@@ -127,8 +127,6 @@ + + internal static bool IsBadGtkTheme (string theme) + { +- if (string.Equals ("QtCurve", theme, StringComparison.OrdinalIgnoreCase)) +- return true; + if (string.Equals ("oxygen-gtk", theme, StringComparison.OrdinalIgnoreCase)) + return Environment.GetEnvironmentVariable ("OXYGEN_DISABLE_INNER_SHADOWS_HACK") != "1"; + return false; diff --git a/dev-util/monodevelop/files/mrward-xdt-issue-4.patch b/dev-util/monodevelop/files/mrward-xdt-issue-4.patch new file mode 100644 index 000000000000..5271e1f8ad23 --- /dev/null +++ b/dev-util/monodevelop/files/mrward-xdt-issue-4.patch @@ -0,0 +1,35 @@ +--- work/monodevelop-5.7/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.addin.xml 2015-01-12 22:19:13.000000000 +0300 ++++ work.new/monodevelop-5.7/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.addin.xml 2015-03-06 07:45:39.278552461 +0300 +@@ -2,8 +2,6 @@ +
+ <Runtime>
+ <Import assembly="MonoDevelop.PackageManagement.dll" />
+- <Import assembly="Microsoft.Web.XmlTransform.dll" />
+- <Import assembly="NuGet.Core.dll" />
+ </Runtime>
+
+ <Extension path = "/MonoDevelop/Ide/Commands">
+--- work/monodevelop-5.7/Main.sln 2015-01-12 22:19:13.000000000 +0300 ++++ work.new/monodevelop-5.7/Main.sln 2015-03-06 08:00:52.860939203 +0300 +@@ -555,21 +555,13 @@ + {252117CA-0ABB-4F36-BFC8-DE23A8089BB9}.ReleaseWin32|Any CPU.ActiveCfg = Release|Any CPU
+ {252117CA-0ABB-4F36-BFC8-DE23A8089BB9}.ReleaseWin32|Any CPU.Build.0 = Release|Any CPU
+ {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.DebugGnome|Any CPU.ActiveCfg = Debug|Any CPU
+- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.DebugGnome|Any CPU.Build.0 = Debug|Any CPU
+ {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.DebugMac|Any CPU.ActiveCfg = Debug|Any CPU
+- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.DebugMac|Any CPU.Build.0 = Debug|Any CPU
+ {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.DebugWin32|Any CPU.ActiveCfg = Debug|Any CPU
+- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.DebugWin32|Any CPU.Build.0 = Debug|Any CPU
+ {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.ReleaseGnome|Any CPU.ActiveCfg = Release|Any CPU
+- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.ReleaseGnome|Any CPU.Build.0 = Release|Any CPU
+ {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.ReleaseMac|Any CPU.ActiveCfg = Release|Any CPU
+- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.ReleaseMac|Any CPU.Build.0 = Release|Any CPU
+ {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.ReleaseWin32|Any CPU.ActiveCfg = Release|Any CPU
+- {2645C9F3-9ED5-4806-AB09-DAD9BE90C67B}.ReleaseWin32|Any CPU.Build.0 = Release|Any CPU
+ {27096E7F-C91C-4AC6-B289-6897A701DF21}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {27096E7F-C91C-4AC6-B289-6897A701DF21}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {27096E7F-C91C-4AC6-B289-6897A701DF21}.DebugGnome|Any CPU.ActiveCfg = Debug|Any CPU
diff --git a/dev-util/monodevelop/metadata.xml b/dev-util/monodevelop/metadata.xml index d35e9300c540..9314408ffe7e 100644 --- a/dev-util/monodevelop/metadata.xml +++ b/dev-util/monodevelop/metadata.xml @@ -2,4 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>dotnet</herd> + <use> + <flag name='git'>Enable Git version control support</flag> + <flag name='gnome'>Enable support gnome support (unsetting this flag is unsupported)</flag> + <flag name='qtcurve'>Remove qtcurve check (unsupported)</flag> + </use> </pkgmetadata> diff --git a/dev-util/monodevelop/monodevelop-5.9.5.5.ebuild b/dev-util/monodevelop/monodevelop-5.9.5.5.ebuild new file mode 100644 index 000000000000..a22347892d4a --- /dev/null +++ b/dev-util/monodevelop/monodevelop-5.9.5.5.ebuild @@ -0,0 +1,140 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit fdo-mime gnome2-utils dotnet versionator eutils git-r3 + +DESCRIPTION="Integrated Development Environment for .NET" +HOMEPAGE="http://www.monodevelop.com/" +SRC_URI="https://launchpadlibrarian.net/68057829/NUnit-2.5.10.11092.zip + https://www.nuget.org/api/v2/package/NUnit/2.6.3 -> NUnit.2.6.3.zip + https://www.nuget.org/api/v2/package/NUnit.Runners/2.6.3 -> NUnit.Runners.2.6.3.zip + https://www.nuget.org/api/v2/package/System.Web.Mvc.Extensions.Mvc.4/1.0.9 -> System.Web.Mvc.Extensions.Mvc.4.1.0.9.zip + https://www.nuget.org/api/v2/package/Microsoft.AspNet.Mvc/5.2.2 -> Microsoft.AspNet.Mvc.5.2.2.zip + https://www.nuget.org/api/v2/package/Microsoft.AspNet.Razor/3.2.2 -> Microsoft.AspNet.Razor.3.2.2.zip + https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebPages/3.2.2 -> Microsoft.AspNet.WebPages.3.2.2.zip + https://www.nuget.org/api/v2/package/Microsoft.Web.Infrastructure/1.0.0.0 -> Microsoft.Web.Infrastructure.1.0.0.0.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+subversion +git doc +gnome qtcurve" + +RDEPEND=">=dev-lang/mono-3.2.8 + >=dev-dotnet/nuget-2.8.3 + gnome? ( >=dev-dotnet/gnome-sharp-2.24.2-r1 ) + >=dev-dotnet/gtk-sharp-2.12.21:2 + doc? ( dev-util/mono-docbrowser ) + >=dev-dotnet/xsp-2 + dev-util/ctags + sys-apps/dbus[X] + subversion? ( dev-vcs/subversion ) + !<dev-util/monodevelop-boo-$(get_version_component_range 1-2) + !<dev-util/monodevelop-java-$(get_version_component_range 1-2) + !<dev-util/monodevelop-database-$(get_version_component_range 1-2) + !<dev-util/monodevelop-debugger-gdb-$(get_version_component_range 1-2) + !<dev-util/monodevelop-debugger-mdb-$(get_version_component_range 1-2) + !<dev-util/monodevelop-vala-$(get_version_component_range 1-2)" +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig + sys-devel/gettext + x11-misc/shared-mime-info + x11-terms/xterm + app-arch/unzip" +MAKEOPTS="${MAKEOPTS} -j1" #nowarn +S="${WORKDIR}"/${P} +EGIT_REPO_URI="https://github.com/mono/monodevelop.git" +EGIT_COMMIT="${P}" + +src_unpack() { + cd "${T}" + unpack NUnit-2.5.10.11092.zip + + #clone from git + git-r3_fetch + git-r3_checkout "${EGIT_REPO_URI}" "${T}/${P}" + + #extract packages + mkdir -p "${T}"/packages || die + cd "${T}"/packages || die + + for pkg in NUnit.2.6.3 \ + NUnit.Runners.2.6.3 \ + System.Web.Mvc.Extensions.Mvc.4.1.0.9 \ + Microsoft.AspNet.Mvc.5.2.2 \ + Microsoft.AspNet.Razor.3.2.2 \ + Microsoft.AspNet.WebPages.3.2.2 \ + Microsoft.Web.Infrastructure.1.0.0.0 + do + mkdir $pkg || die + cd $pkg || die + unpack $pkg.zip + cd .. || die + done + mkdir -p "${S}" +} + +src_prepare() { + # Remove the git rev-parse (changelog?) + sed -i '/<Exec.*rev-parse/ d' "${T}/${P}/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj" || die + # Set specific_version to prevent binding problem + # when gtk#-3 is installed alongside gtk#-2 + find "${T}/${P}" -name '*.csproj' -exec sed -i 's#<SpecificVersion>.*</SpecificVersion>#<SpecificVersion>True</SpecificVersion>#' {} + || die + + #fix ASP.Net + cd "${T}/${P}/main" + epatch "${FILESDIR}/5.7-downgrade_to_mvc3.patch" + + # fix for https://github.com/gentoo/dotnet/issues/42 + epatch "${FILESDIR}/aspnet-template-references-fix.patch" + use gnome || epatch "${FILESDIR}/5.9.5-kill-gnome.patch" + use qtcurve && epatch "${FILESDIR}/kill-qtcurve-warning.patch" + + #prepare dist package + cd "${T}/${P}" + epatch "${FILESDIR}/5.9.5-skip_merged_tar.patch" + ./configure --profile=default || die + make dist || die + + #move it + mv -f "${T}/${P}/tarballs/"monodevelop-*/* "${S}" || die + + #copy missing binaries + mkdir -p "${S}"/external/cecil/Test/libs/nunit-2.5.10/ || die + cp -fR "${T}"/NUnit-2.5.10.11092/bin/net-2.0/framework/* "${S}"/external/cecil/Test/libs/nunit-2.5.10/ || die + mv -f "${T}/packages" "${S}" +} + +src_configure() { + # env vars are added as the fix for https://github.com/gentoo/dotnet/issues/29 + MCS=/usr/bin/dmcs CSC=/usr/bin/dmcs GMCS=/usr/bin/dmcs econf \ + --disable-update-mimedb \ + --disable-update-desktopdb \ + --enable-monoextensions \ + --enable-gnomeplatform \ + $(use_enable subversion) \ + $(use_enable git) + # https://github.com/mrward/xdt/issues/4 + # Main.sln file is created on the fly during econf + epatch -p2 "${FILESDIR}/mrward-xdt-issue-4.patch" + # fix of https://github.com/gentoo/dotnet/issues/38 + sed -i -E -e 's#(EXE_PATH=")(.*)(/lib/monodevelop/bin/MonoDevelop.exe")#\1'${EPREFIX}'/usr\3#g' "${S}/monodevelop" || die +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + fdo-mime_mime_database_update + fdo-mime_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + fdo-mime_mime_database_update + fdo-mime_desktop_database_update +} |