I would be deeply surprised if tberman and others were not already working on this, but there seems to be no bugs filed against ebuilds for the newly released monodevelop 0.1 and its dependancies. So, I am requesting it for myself and the people in the forums that I can now give a bugreport number to. Conratulations to tberman and the others working on this project. Reproducible: Always Steps to Reproduce:
Hi! I've create two eBuilds which seem to work. Tim
Created attachment 26982 [details] gtksourceview-sharp-cvs-20040307.ebuild
Created attachment 26983 [details] monodevelop-0.1.ebuild
Tracking.
tracking.
I installed Monodevelop 0.1 manually a few days ago, and I noticed that it needs mozilla. But since I use Firefox, i tried doing "ln -s /usr/bin/firefox /usr/bin/mozilla" and it worked like a charm. So, is there way to hack to source to look for firefox if mozilla is missing?
I supposed that it's no difference beetwenn mozilla and firefox for monodevelop, but I didn't test it myself. I will try do modify the eBuild. Hints are welcome :) Tim
Ok, now the eBuild should work work with mozilla and firefox. I also corrected the gtksourceview-sharp-ebuild, becaus I've forgotten to install the docs and found out the version-number :)
Created attachment 27019 [details] monodevelop-0.1-r1.ebuild
Created attachment 27020 [details] gtksourceview-sharp-cvs-0.1.0.ebuild
There seems to be a bug in monodevelop: It recognizes and completes syntax correctly. It compiles using mcs correctly. But, it doesn't run correctly the programs (neither uses mono nor mint to run them, so it throws an exception error when running apps from inside monodevelop, but running them manually does work). There is also another bug where, if you double click on the GTK references, monodevelop crashes and 'exits' to desktop.
I've the same problem. But you can run the programm from command line. I can't find a bug-section on monodevelop.com to check out, if it is a monodevelop problem. After all it's just 0.1
As x11-libs/gtk-sharp-0.17 doesn't exist in the current tree, I think it would be useful to know where to get it from: http://bugs.gentoo.org/show_bug.cgi?id=43789
Hi! Sorry, my fault! I add it, but it' simply a copy of the existing 0.16-eBuild.
Created attachment 27057 [details] gtk-sharp-0.17.ebuild
In the monodevelop ebuild icu 2.8 is required. gtk-sharp needs a file from icu-2.6 ( libicui18n.so.26 )
Mono needs it, not gtk-sharp. You've probably updated icu after emerging mono. Re-emerge mono and you should be fine (just had the same problem and that solved it for me)
Another bug: File >> New >> File >> C# >> Typed C# Collection Crashes the program.
I opened a bug report here: http://bugzilla.ximian.com/show_bug.cgi?id=55332
As the author, maintainer, whatnot of MonoDevelop, I'd like to let you guys know that this will be in the tree asap. I am currently on vacation in boston (attended a mono summit, some other stuff), so i am not at a computer I can commit with. I should be back next week, and able to get to pushing this stuff into the tree. As for bugs, please file them upstream on our bugzilla at bugzilla.ximian.com Thanks for all your interest, it is nice :)
Both of your ebuilds should inherit mono so it stops that warning...
Created attachment 27390 [details] gtksourceview-sharp-cvs-0.1.0-r1.ebuild
Created attachment 27391 [details] monodevelop-0.1-r2.ebuild
Your wish is my command ... this time ;) But seriously, thanks for the hint
Hi, Cool :) I've been wanting to try out monodevelop for a while but have been too busy. Just have a comment about the ebuilds that have been posted though - they don't seem to work with syntax highlighting. I've reemerged everything, thinking it may have been a problem in cvs, but for the past few days, there's been no syntax highlighting at all. gnome-file-types-properties shows that *.cs files are recognized as text/x-csharp. Maybe there's something different with the libraries in GNOME 2.6rc1 that the ebuild's configure process doesn't recognize? (sorry, I can't tell myself as I'm pretty new to mono-related stuff).
I've downloaded the gtksourceview-sharp-cvs and monodevelop ebuilds, and tried emerge nameof.ebuild in my home directory I'm getting: Calculating dependencies \!!! aux_get(): ebuild for '/monodevelop-0.1-r2' does not exist at: !!! /usr/portage//monodevelop/monodevelop-0.1-r2.ebuild emerge: create(): aux_get() error on /monodevelop-0.1-r2; aborting... are they supposed to be in the /usr/portage... ? if so, where exactly? As far as the gtk-sharp 0.17, it's in the official portage tree right?
I've put them in /usr/portage/dev-dotnet/ is it ok?
Yes, that's the position I choosed, and there it should work. Tim
Thanks Tim! I managed to compile it but I'm getting this run-time error ---- Unhandled Exception: System.DllNotFoundException: libgdk-win32-2.0-0.dll in <0x00053> (wrapper managed-to-native) Gdk.Threads:gdk_threads_init () in <0x00007> Gdk.Threads:Init () in [0x0001c] (at /var/tmp/portage/monodevelop-0.1-r2/work/monodevelop-0.1/src/Main/StartUp/SharpDevelopMain.cs:55) ICSharpCode.SharpDevelop.SharpDevelopMain:Main (string[]) ---- I'm running mono 0.31.0 and gtk-sharp 0.17 To Todd Berman, we are expecting the latest builds for gentoo and the getting up on-line of the subversion anonymous server :)
I suppose that's a gtk-sharp problem. That's a little curious programm, because it just builds the DLLs for which the original libraries are available and the othters not and just gave a little "No" and no real error or warning. These are the DLLs which my gtk-sharp has made: /usr/lib/art-sharp.dll /usr/lib/gtkhtml-sharp.dll /usr/lib/gtk-sharp.dll /usr/lib/glib-sharp.dll /usr/lib/vte-sharp.dll /usr/lib/gconf-sharp.dll /usr/lib/gconf-sharp-peditors.dll /usr/lib/atk-sharp.dll /usr/lib/pango-sharp.dll /usr/lib/gnome-sharp.dll /usr/lib/glade-sharp.dll /usr/lib/gdk-sharp.dll But I have nowhere a "libgdk-win32-2.0-0.dll", so I guess you are missing the gdk-sharp.dll. But if you have installed gnome, there should be gtk and gdk. Perhaps try do recompile gtk-sharp. Tim
I have all of the libraries you have (plus I make some symlinks to /usr/local/lib using this script: ls -l | grep dll | awk '{ print $9 }' | sed "s/\(.*\)/ln -sf \"\/usr\/lib\/\0\" \/usr\/local\/lib\//" | grep \" > /root/do && chmod +x /root/do && /root/do && rm /root/do since if my mono libs are not there the compilation processes doesn't goes well, I must have messed up using the cvs-s or the build scripts availible on go-mono. Anyhow, I'm inclined to think is something in the sources (it's not something you can invent like "libgdk-win32-2.0-0.dll")
I've recompiled gtk-sharp (having added new gtk libs) and now the libgdk-win32-2.0-0.dll error has changed to ---- Unhandled Exception: System.DllNotFoundException: gtksharpglue in <0x00053> (wrapper managed-to-native) Gnome.Program:gtksharp_gnome_program_init (string,string,Gnome.ModuleInfo&,int,string[],int,Gnome.Program/PropertyArg[]) in <0x002ad> Gnome.Program:.ctor (string,string,Gnome.ModuleInfo,string[],object[]) in [0x00016] (at /var/tmp/portage/monodevelop-0.1-r2/work/monodevelop-0.1/src/Main/StartUp/SharpDevelopMain.cs:55) ICSharpCode.SharpDevelop.SharpDevelopMain:Main (string[]) ----- gtksharpglue?
I have the libraries libgtksharpglue.{la,so,a} and according to qpkg they're part of gtk-sharp. But perhabs monodevelop.com could help you more. I am in the lucky position, that it compiled without errors on my system, so I just can guess why it does not compile on your system.
Thanks Tim, one more question, does your gtk-sharp differ from the one in the official gentoo tree?
No, I use the 0.17-ebuild which is just a copy of 0.16. But I think the problem with gtk-sharp is, that after a successful compile, the range of function is not even the same, because it only wrapps what currently is installed.
closing this, as latexer (latexer@gentoo.org) has put monodevelop 0.2 and all its deps into portage. To thank him, please send him an email telling him how much he rocks.
tracking...
when i try to emerge gtksourceview-sharp-cvs-0.1.0-r1.ebuild, it return the following result: usr/bin/gapi-codegen --include /usr/share/gapi/atk-api.xml /usr/share/gapi/gdk-api.xml /usr/share/gapi/gdk-symbols.xml /usr/share/gapi/gnome-api.xml /usr/share/gapi/gtk-api.xml /usr/share/gapi/gtk-symbols.xml /usr/share/gapi/pango-api.xml --generate gtksourceview-api.xml \ --outdir=generated --customdir=. --assembly-name=gtksourceview-sharp && touch generated-stamp Property has unknown Type unichar in Object GtkSourceView.SourceBuffer rettype: gunichar method in Object GtkSourceView.SourceLanguage Ellipsis parameter in ctor in Object Gtk.Widget Ellipsis parameter in ctor in Object Gtk.Object Generation Summary: Enums: 3 Structs: 1 Boxed: 1 Opaques: 2 Interfaces: 1 Objects: 11 Callbacks: 0 Properties: 26 Signals: 12 Methods: 95 Constructors: 13 Throttled: 4 Total Nodes: 169 /usr/bin/mcs --unsafe --target library /pkg:gtk-sharp /pkg:gnome-sharp \ generated/*.cs ./GtkSourceView.cs ./AssemblyInfo.cs -o gtksourceview-sharp.dll error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/glib-sharp.dll' Log: error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/pango-sharp.dll' Log: error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/atk-sharp.dll' Log: error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/gdk-sharp.dll' Log: error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/gtk-sharp.dll' Log: error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/gnome-sharp.dll' Log: error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/glib-sharp.dll' Log: error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/pango-sharp.dll' Log: error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/atk-sharp.dll' Log: error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/gdk-sharp.dll' Log: error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/gtk-sharp.dll' Log: error CS0006: Cannot find assembly `/usr/lib/mono/gtk-sharp/art-sharp.dll' Log: Compilation failed: 12 error(s), 0 warnings make[1]: *** [gtksourceview-sharp.dll] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtksourceview-sharp-cvs-0.1.0-r1/work/gtksourceview-sharp/gtksourceview' make: *** [all-recursive] Error 1 !!! ERROR: x11-libs/gtksourceview-sharp-cvs-0.1.0-r1 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message)
Did you emerge x11-libs/gtk-sharp?
yes * x11-libs/gtk-sharp Latest version available: 1.0 Latest version installed: 1.0 Size of downloaded files: 1,391 kB Homepage: http://gtk-sharp.sourceforge.net/ Description: Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries License: LGPL-2.1
See Comment #13
I think this may be relevant. http://bugs.gentoo.org/show_bug.cgi?id=39048#c21 > This was a bug in the gtk-sharp ebuild. It's since been fixed. Please rsync and > re-emerge gtk-sharp. that should solve your problem.