diff options
author | 2022-07-20 01:05:55 +0000 | |
---|---|---|
committer | 2022-07-20 01:07:25 +0000 | |
commit | a3bcd78e0c3a2ebe08993b1a5687d4d7a70ece86 (patch) | |
tree | 7045f04a11b0bc23e85d74e120344398801c0b48 | |
parent | dev-lang/ironscheme: treeclean (broken) (diff) | |
download | dotnet-a3bcd78e0c3a2ebe08993b1a5687d4d7a70ece86.tar.gz dotnet-a3bcd78e0c3a2ebe08993b1a5687d4d7a70ece86.tar.bz2 dotnet-a3bcd78e0c3a2ebe08993b1a5687d4d7a70ece86.zip |
dev-util/monodevelop: treeclean (broken)
Bug: https://bugs.gentoo.org/858938
Signed-off-by: Sam James <sam@gentoo.org>
16 files changed, 0 insertions, 1359 deletions
diff --git a/dev-util/monodevelop/Manifest b/dev-util/monodevelop/Manifest deleted file mode 100644 index b3ade96..0000000 --- a/dev-util/monodevelop/Manifest +++ /dev/null @@ -1,10 +0,0 @@ -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-6.0.0.4761.tar.bz2 42292964 SHA256 14fe814f9ca659d2e1c5e8b0f98465c7d838bd78ab835d042f69d4929565fa33 SHA512 25f302ab99f4929026acb278087677cc7dfcb0a14a9977b289160b835e9e3614bb14079c6cfda8a0d8234745c547e057fc24baaa8d8bc154c5aad027f94c4ffa WHIRLPOOL a1ebd40aafd2c308d2f381f39c30dd8a00b479d37cbc9b0c5b9aee513b04dd7dd50815dada1c68b67241b5a5b65cbec2e42a6bd63bd3f8ddf0e76841f7ebff3c -DIST roslyn-16e117c2400d0ab930e7d89512f9894a169a0e6e.zip 17533062 SHA256 03e84d6f57ff2ef6f2fdc28bff07bee1919926145f4bd8945c40b218f5838bc4 SHA512 ca673f6f9734c770439183ec536f59c48063e9c145d855e73934ed8b426087322a88fbc41f387aa54863d1fd23a23e8186054f55bab5970d88a18ffb2ae8dadf WHIRLPOOL dbc0db9da44ee1ca37ce8cb40c15baf3a42d87ce0592249f5549003f7d9dd6a9db49e614c6d96923fafdf91df6205212f2fedf2a57eae953fc6a40f545367c0b diff --git a/dev-util/monodevelop/files/5.7-downgrade_to_mvc3.patch b/dev-util/monodevelop/files/5.7-downgrade_to_mvc3.patch deleted file mode 100644 index ba76794..0000000 --- a/dev-util/monodevelop/files/5.7-downgrade_to_mvc3.patch +++ /dev/null @@ -1,47 +0,0 @@ -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 deleted file mode 100644 index b9b07d1..0000000 --- a/dev-util/monodevelop/files/5.9.5-kill-gnome.patch +++ /dev/null @@ -1,153 +0,0 @@ -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 deleted file mode 100644 index 4f00947..0000000 --- a/dev-util/monodevelop/files/5.9.5-skip_merged_tar.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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/6.0-aspnet-template-references-fix.patch b/dev-util/monodevelop/files/6.0-aspnet-template-references-fix.patch deleted file mode 100644 index 9cc1f26..0000000 --- a/dev-util/monodevelop/files/6.0-aspnet-template-references-fix.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -u -r work.unpacked/monodevelop-6.0/src/addins/AspNet/Templates/Projects/EmptyMvcProject.xpt.xml work/monodevelop-6.0/src/addins/AspNet/Templates/Projects/EmptyMvcProject.xpt.xml ---- work.unpacked/monodevelop-6.0/src/addins/AspNet/Templates/Projects/EmptyMvcProject.xpt.xml -+++ work/monodevelop-6.0/src/addins/AspNet/Templates/Projects/EmptyProject.xpt.xml -@@ -27,5 +27,6 @@ - <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" /> -diff -u -r work.unpacked/monodevelop-6.0/src/addins/AspNet/Templates/Projects/MvcProject.xpt.xml work/monodevelop-6.0/src/addins/AspNet/Templates/Projects/MvcProject.xpt.xml ---- work.unpacked/monodevelop-6.0/src/addins/AspNet/Templates/Projects/MvcProject.xpt.xml -+++ work/monodevelop-6.0/src/addins/AspNet/Templates/Projects/MvcProject.xpt.xml -@@ -29,5 +29,6 @@ - <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" /> diff --git a/dev-util/monodevelop/files/6.0-kill-gnome.patch b/dev-util/monodevelop/files/6.0-kill-gnome.patch deleted file mode 100644 index c70ba24..0000000 --- a/dev-util/monodevelop/files/6.0-kill-gnome.patch +++ /dev/null @@ -1,184 +0,0 @@ -diff -rupN configure.in configure.in ---- configure.in 2016-05-08 19:44:27.107588191 -0400 -+++ configure.in 2016-05-08 19:47:32.570263105 -0400 -@@ -137,13 +137,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) - -@@ -202,13 +195,4 @@ AC_ARG_ENABLE(gnomeplatform, - if test x$enable_gnomeplatform = xyes; then -- if test x$gnome_sharp = xno; then -- AC_MSG_ERROR([Cannot enable GNOME platform without gnome-sharp-2.0]) -- fi -- if test x$gnome_vfs_sharp = xno; then -- AC_MSG_ERROR([Cannot enable GNOME platform without gnome-vfs-sharp-2.0]) -- fi -- if test x$gconf_sharp = xno; then -- AC_MSG_ERROR([Cannot enable GNOME platform without gconf-sharp-2.0]) -- fi - platform_bindings="${platform_bindings}GNOME " - fi - -diff -rupN configure configure ---- configure 2016-05-08 19:53:21.359551637 -0400 -+++ configure 2016-05-08 19:53:29.043391220 -0400 -@@ -4116,13 +4116,4 @@ - if test x$enable_gnomeplatform = xyes; then -- if test x$gnome_sharp = xno; then -- as_fn_error $? "Cannot enable GNOME platform without gnome-sharp-2.0" "$LINENO" 5 -- fi -- if test x$gnome_vfs_sharp = xno; then -- as_fn_error $? "Cannot enable GNOME platform without gnome-vfs-sharp-2.0" "$LINENO" 5 -- fi -- if test x$gconf_sharp = xno; then -- as_fn_error $? "Cannot enable GNOME platform without gconf-sharp-2.0" "$LINENO" 5 -- fi - platform_bindings="${platform_bindings}GNOME " - fi - -diff -rupN src/addins/GnomePlatform/GnomePlatform.cs src/addins/GnomePlatform/GnomePlatform.cs ---- src/addins/GnomePlatform/GnomePlatform.cs 2015-07-18 18:40:15.946222126 +0200 -+++ 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/aspnet-template-references-fix.patch b/dev-util/monodevelop/files/aspnet-template-references-fix.patch deleted file mode 100644 index 99f7b4b..0000000 --- a/dev-util/monodevelop/files/aspnet-template-references-fix.patch +++ /dev/null @@ -1,73 +0,0 @@ -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 deleted file mode 100644 index 63ae0ea..0000000 --- a/dev-util/monodevelop/files/gentoo-dotnet-issue-30.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- 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 deleted file mode 100644 index c7afbeb..0000000 --- a/dev-util/monodevelop/files/kill-gnome.patch +++ /dev/null @@ -1,369 +0,0 @@ -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 deleted file mode 100644 index 36eb66e..0000000 --- a/dev-util/monodevelop/files/kill-qtcurve-warning.patch +++ /dev/null @@ -1,12 +0,0 @@ -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/local-nuget-icons.patch b/dev-util/monodevelop/files/local-nuget-icons.patch deleted file mode 100644 index 561e50f..0000000 --- a/dev-util/monodevelop/files/local-nuget-icons.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/ImageLoader.cs -+++ b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/ImageLoader.cs -@@ -91,8 +91,7 @@ namespace MonoDevelop.PackageManagement - ImageLoadedEventArgs LoadImage (Uri uri, object state)
- {
- try {
-- var httpClient = new HttpClient (uri);
-- Stream stream = httpClient.GetResponse ().GetResponseStream ();
-+ Stream stream = GetResponseStream (uri);
- Image image = Image.FromStream (stream);
-
- return new ImageLoadedEventArgs (image, uri, state);
-@@ -101,6 +100,17 @@ namespace MonoDevelop.PackageManagement - }
- }
-
-+ static Stream GetResponseStream (Uri uri)
-+ {
-+ if (uri.IsFile) {
-+ var request = WebRequest.Create (uri);
-+ return request.GetResponse ().GetResponseStream ();
-+ }
-+
-+ var httpClient = new HttpClient (uri);
-+ return httpClient.GetResponse ().GetResponseStream ();
-+ }
-+
- void OnLoaded (ITask<ImageLoadedEventArgs> task, Uri uri, object state)
- {
- if (task.IsFaulted) {
- diff --git a/dev-util/monodevelop/files/mrward-xdt-issue-4.patch b/dev-util/monodevelop/files/mrward-xdt-issue-4.patch deleted file mode 100644 index 5271e1f..0000000 --- a/dev-util/monodevelop/files/mrward-xdt-issue-4.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- 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 deleted file mode 100644 index 1de16d7..0000000 --- a/dev-util/monodevelop/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>dotnet@gentoo.org</email> - <description>Gentoo Dotnet Project</description> - </maintainer> - <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.10.3.51.ebuild b/dev-util/monodevelop/monodevelop-5.10.3.51.ebuild deleted file mode 100644 index adec1cf..0000000 --- a/dev-util/monodevelop/monodevelop-5.10.3.51.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit xdg-utils gnome2-utils dotnet versionator eutils git-r3 - -DESCRIPTION="Integrated Development Environment for .NET" -HOMEPAGE="https://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.7 - gnome? ( >=dev-dotnet/gnome-sharp-2.24.2-r1 ) - >=dev-dotnet/gtk-sharp-2.12.21:2 - doc? ( dev-util/mono-docbrowser ) - >=www-servers/xsp-2 - dev-util/ctags - net-libs/libssh2 - 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 - - cd "${T}/${P}/main" - # 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}" || die - - default -} - -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 -} - -src_compile() { - # provided dll doesn't work, compile from source - xbuild "${S}/external/libgit2sharp/Lib/CustomBuildTasks/CustomBuildTasks.csproj" - cp "${S}/external/libgit2sharp/Lib/CustomBuildTasks/bin/Debug/CustomBuildTasks.dll" "${S}/external/libgit2sharp/Lib/CustomBuildTasks/" - - default -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_mimeinfo_database_update - xdg_desktop_database_update -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_mimeinfo_database_update - xdg_desktop_database_update -} diff --git a/dev-util/monodevelop/monodevelop-6.0.0.4761.ebuild b/dev-util/monodevelop/monodevelop-6.0.0.4761.ebuild deleted file mode 100644 index 58b6a12..0000000 --- a/dev-util/monodevelop/monodevelop-6.0.0.4761.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit xdg-utils gnome2-utils dotnet versionator eutils - -ROSLYN_COMMIT="16e117c2400d0ab930e7d89512f9894a169a0e6e" - -DESCRIPTION="Integrated Development Environment for .NET" -HOMEPAGE="https://www.monodevelop.com/" -SRC_URI="https://download.mono-project.com/sources/monodevelop/${P}.tar.bz2 - https://github.com/mono/roslyn/archive/${ROSLYN_COMMIT}.zip -> roslyn-${ROSLYN_COMMIT}.zip - https://launchpadlibrarian.net/68057829/NUnit-2.5.10.11092.zip" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+subversion +git doc +gnome qtcurve" - -COMMON_DEPEND=" - >=dev-dotnet/gtk-sharp-2.12.21:2 - >=dev-dotnet/nuget-2.8.7 - dev-dotnet/referenceassemblies-pcl - net-libs/libssh2 - gnome? ( >=dev-dotnet/gnome-sharp-2.24.2-r1 )" -RDEPEND="${COMMON_DEPEND} - dev-util/ctags - sys-apps/dbus[X] - >=www-servers/xsp-2 - doc? ( dev-util/mono-docbrowser ) - git? ( dev-vcs/git ) - 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="${COMMON_DEPEND} - 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}/${PN}-6.0" - -src_unpack() { - cd "${T}" - unpack NUnit-2.5.10.11092.zip - - cd "${WORKDIR}" - unpack "${P}.tar.bz2" - - # roslyn dlls are missing from monodevelop tarball - cd "${S}/external" - unpack "roslyn-${ROSLYN_COMMIT}.zip" - rm -rf "roslyn" - mv "roslyn-${ROSLYN_COMMIT}" "roslyn" -} - -src_prepare() { - # Remove the git rev-parse (changelog?) - sed -i '/<Exec.*rev-parse/ d' "${S}/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj" || die - # Set specific_version to prevent binding problem - # when gtk#-3 is installed alongside gtk#-2 - find "${S}" -name '*.csproj' -exec sed -i 's#<SpecificVersion>.*</SpecificVersion>#<SpecificVersion>True</SpecificVersion>#' {} + || die - - # bundled nuget is missing => use system nuget. - sed -i 's|mono .nuget/NuGet.exe|nuget|g' Makefile* || die - - # fix for https://github.com/gentoo/dotnet/issues/42 - epatch "${FILESDIR}/6.0-aspnet-template-references-fix.patch" - use gnome || epatch "${FILESDIR}/6.0-kill-gnome.patch" - use qtcurve && epatch "${FILESDIR}/kill-qtcurve-warning.patch" - - # 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 - - default -} - -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 -} - -src_compile() { - xbuild "${S}/external/libgit2sharp/Lib/CustomBuildTasks/CustomBuildTasks.csproj" - cp "${S}/external/libgit2sharp/Lib/CustomBuildTasks/bin/Debug/CustomBuildTasks.dll" "${S}/external/libgit2sharp/Lib/CustomBuildTasks/" - - default -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_mimeinfo_database_update - xdg_desktop_database_update -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_mimeinfo_database_update - xdg_desktop_database_update -} diff --git a/dev-util/monodevelop/monodevelop-9999.ebuild b/dev-util/monodevelop/monodevelop-9999.ebuild deleted file mode 100644 index 2f9ed05..0000000 --- a/dev-util/monodevelop/monodevelop-9999.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit xdg-utils gnome2-utils dotnet versionator eutils git-r3 - -DESCRIPTION="Integrated Development Environment for .NET" -HOMEPAGE="https://www.monodevelop.com/" -LICENSE="LGPL-2 MIT" -LICENSE+=" Apache-2.0" # fsharpbinding, monomac -LICENSE+=" GPL-2" # ikvm, mono-tools -LICENSE+=" GPL-2-with-classpath-exception" # ikvm -LICENSE+=" GPL-2-with-linking-exception" # libgit2 - -KEYWORDS="~amd64 ~x86" -SLOT="0" - -EGIT_COMMIT="${P}" -EGIT_REPO_URI="git://github.com/mono/monodevelop.git" -EGIT_SUBMODULES=( '*' ) # todo: replace certain submodules with system packages - -if [ "${PV}" == "9999" ]; then - EGIT_COMMIT="HEAD" - KEYWORDS="" -fi - -USE_DOTNET="net45" # todo: necessary? -IUSE="${USE_DOTNET} +subversion +git qtcurve test" - -COMMON_DEPEND=" - >=dev-lang/mono-4.4.1 - >=dev-dotnet/gtk-sharp-2.12.21:2 - >=dev-dotnet/nuget-2.8.7 - dev-dotnet/referenceassemblies-pcl - >=dev-lang/fsharp-4.0.1.15 - net-libs/libssh2" -RDEPEND="${COMMON_DEPEND} - dev-util/ctags - sys-apps/dbus[X] - >=www-servers/xsp-2 - git? ( dev-vcs/git ) - subversion? ( dev-vcs/subversion )" -DEPEND="${COMMON_DEPEND} - dev-util/intltool - virtual/pkgconfig - sys-devel/gettext - x11-misc/shared-mime-info - x11-terms/xterm - app-arch/unzip" - -S="${WORKDIR}/${P}/main" - -src_unpack() { - git-r3_fetch - git-r3_checkout - nuget restore "${S}" - default -} - -src_prepare() { - # use system nuget - find "${S}" -name 'Makefile*' -exec sed -i 's|mono .nuget/NuGet.exe|nuget|g' {} + || die - - # prevent binding problem when gtk#-3 is installed alongside gtk#-2 - find "${S}" -name '*.csproj' -exec sed -i 's#<SpecificVersion>.*</SpecificVersion>#<SpecificVersion>True</SpecificVersion>#' {} + || die - - # this fsharpbinding test won't build - sed -i 's|<Compile Include="TemplateTests.fs" />|<None Include="TemplateTests.fs" />|g' "${S}"/external/fsharpbinding/MonoDevelop.FSharp.Tests/MonoDevelop.FSharp.Tests.fsproj || die - - use qtcurve && epatch -p2 "${FILESDIR}/kill-qtcurve-warning.patch" - - # generate configure script but don't execute yet - NOCONFIGURE=1 ./autogen.sh - - default -} - -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 \ - --enable-release \ - $(use_enable test tests) \ - $(use_enable subversion) \ - $(use_enable git) - - # Main.sln file was created on the fly during econf - - # https://github.com/mrward/xdt/issues/4 - epatch -p2 "${FILESDIR}/mrward-xdt-issue-4.patch" - - # 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 - xdg_mimeinfo_database_update - xdg_desktop_database_update -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_mimeinfo_database_update - xdg_desktop_database_update -} |