GNOME Bugzilla – Bug 548836
Build failure
Last modified: 2008-08-21 17:39:54 UTC
panelapplet/ChangeBackgroundHandler.cs(11,30): error CS0234: The type or namespace name `PanelAppletBackgroundType' does not exist in the namespace `Gnome'. Are you missing an assembly reference? It looks like changing Gnome to _Gnome fixes this. Also, it seems that gnome-desktop-sharp has bindings for the panel applet library now. Maybe tomboy should switch to it?
What distro/version is this? And what versions of gnome-sharp2 and gnome-desktop-sharp2 do you have installed? I'll look into dumping panelapplet.
Created attachment 117135 [details] [review] Remove bundled panelapplet code Here's the comment made two years ago as justification for having our own panelapplet code. Apparently there was an issue with using transparent backgrounds. // Work around bug in Gtk# panel applet bindings by using a local copy with // fixed OnBackgroundChanged marshalling. Well, I've tested this patch with gnome*-sharp 2.20.1, and I do not see any problems. Vincent, I suspect you are using a newer version and something has changed names or moved, which is why you are experiencing build errors. I suspect if you try my patch you will still be unable to build. Things left to do in this patch: * Find out what minimum version of gnome*-sharp2 is needed * Handle your problem, which is either a name change or a member move, most likely
Sandy: this is in jhbuild, with gnome-desktop-sharp 2.23.90 and gnome-sharp 2.23.90. Note that this is one bug blocking the 2.23.90 release, so having a new tarball out asap would really be great.
From gnome-sharp ChangeLog: * *: Update to Gnome 2.23.5 release API. Remove print and panel APIs from gnome-sharp.dll into their own assemblies now located in gnome-desktop-sharp. From gnome-desktop-sharp ChangeLog: * *: Update to GNOME 2.23.5 API. Add gnome-print-sharp.dll and gnome-panel-sharp.dll assemblies, along with .pcs to detect their availability. And, also very important from gnome-desktop-sharp ChangeLog: * configure.in: update gtk-sharp requirement to 2.12.1 since the gnomepanel glue generation doesn't occur using 2.12.0. This breaks the build since it's expecting a generated.c to be present. [Fixes #418291] So anyway, it looks like a few small fixes to Tomboy's configure.in will make all of this happy-happy-joy-joy again. I'll have this fixed today (with a release). Sorry Vincent, I should have been tracking this bindings split more closely. :-/
Don't worry -- there were other issues anyway. Thanks for being reactive!
Created attachment 117142 [details] [review] Updated patch, should support 2.23.90 This one will hopefully work correctly with 2.23.90, but unfortunately I cannot currently test it. Does it work for you?
Created attachment 117145 [details] [review] path from Mandriva This is my patch that makes tomboy 0.11.2 build with gnome-sharp 2.23.90 and gnome-desktop-sharp 2.23.90 and gtk-sharp 2.12.2.
Good, that patch looks just like mine. :-) Gotz, does Tomboy then run correctly for you as a panel applet? Having trouble with vuntz's environment.
Committed my fix with a few improvements in r2090. Gotz, if you have time to test that would be awesome. I'm going to try to set up an environment real quick to test it properly. I will be releasing Tomboy 0.11.3, which only features this fix, in about an hour.