Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55556 - monodevelop-0.4-r1 and gecko-sharp-0.5 fail to emerge
Summary: monodevelop-0.4-r1 and gecko-sharp-0.5 fail to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High normal
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-29 06:27 UTC by Benjamin Braatz
Modified: 2004-06-29 12:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for MozillaControl in monodevelop-0.4-r1 (MozillaControl.patch,488 bytes, patch)
2004-06-29 06:31 UTC, Benjamin Braatz
Details | Diff
Patch for the ebuild (monodevelop.patch,790 bytes, patch)
2004-06-29 06:34 UTC, Benjamin Braatz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Braatz 2004-06-29 06:27:53 UTC
Both complain about "`Gecko.WebControl' does not contain a definition for `Location'" and "`Gecko.WebControl' does not contain a definition for `Title'" (or "`HtmlControl.MozillaControl' does not contain ..." respectively.

This was reported by three independent people (including me) in: http://forums.gentoo.org/viewtopic.php?t=191531

I suppose they are broken upstream, but we can at least get them to compile by the patches, I posted in that thread (will attach the ones for monodevelop in a moment).

I'm just a beginner in C Sharp, though. Suppose, it could be done better. Plus I don't know, if they really work afterwards, but `Location' and `Title' don't seem too important.
Comment 1 Benjamin Braatz 2004-06-29 06:31:37 UTC
Created attachment 34415 [details, diff]
Patch for MozillaControl in monodevelop-0.4-r1

This is the patch to be applied to
src/Main/Base/Gui/HtmlControl/MozillaControl.cs to get monodevelop compile
"correctly".
Comment 2 Benjamin Braatz 2004-06-29 06:34:22 UTC
Created attachment 34416 [details, diff]
Patch for the ebuild

This patch makes the ebuild apply the previous attachment automatically.
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2004-06-29 07:26:05 UTC
The problem is that the latest API generator from gtk-sharp-0.99 is generating GetTitle() and GetLocation() functions instead of the typical Title { get { return foo; }} and Location { get }.

I'm making inquiries as to whether this change in the generator was intentional or not, that will change how this gets dealt with. For now, you can emerge gtk-sharp-0.98, emerge gecko-sharp and monodevelop, then upgrade gtk-sharp. A hack, but it's the work around until the proper solution is found.
Comment 4 Peter Johanson (RETIRED) gentoo-dev 2004-06-29 07:48:20 UTC
Okay. nevermind, i lied about 0.98 fixing things. Hold tight, i'm working on it.
Comment 5 Peter Johanson (RETIRED) gentoo-dev 2004-06-29 09:13:48 UTC
Okay everyone, this is definitely a runtime issue. It is fixed in the CVS version of mono. For now i recommend that people continue to use all the beta3 packages if they need to use MD, or wait for 1.0 which should be released soon.

I may package.mask all the RC1 stuff until then, but as 1.0 is expected in a day or two, it may not be worth it.
Comment 6 Peter Johanson (RETIRED) gentoo-dev 2004-06-29 12:20:06 UTC
Okay, i've actually just commited 0.5-r1 which fixes the build issues with RC1. It was the same problem plaguing gtk-sharp-0.99 yesterday. Please test there. It should be working fine now.