GNOME Bugzilla – Bug 512512
doesn't build with new gnome-sharp
Last modified: 2008-02-26 20:46:39 UTC
This is on Mandriva Cooker i586 with gnome-sharp 2.19.90 and gtk-sharp 2.11.91. Tomboy 0.9.4 fails to build: make[3]: Entering directory `/home/goetz/svn/tomboy/BUILD/tomboy-0.9.4/Tomboy' gmcs -debug -target:exe -out:Tomboy.exe -debug -define:DEBUG -unsafe -target:exe -define:ENABLE_DBUS -define:FIXED_GTKSPELL -d:GTK_2_10 Tomboy.cs Search.cs A bstractAddin.cs ActionManager.cs AddinManager.cs AddinPreferenceFactory.cs Applet.cs ApplicationAddin.cs Logger.cs Note.cs NoteAddin.cs NoteEditor.cs NoteMan ager.cs NoteWindow.cs NoteBuffer.cs NoteTag.cs Preferences.cs PreferencesDialog.cs PreferenceTabAddin.cs RecentChanges.cs Tag.cs TagButton.cs TagManager.cs T agEntry.cs Tray.cs Trie.cs Undo.cs Utils.cs Watchers.cs WrapBox.cs XKeybinder.cs Notebooks/CreateNotebookDialog.cs Notebooks/NotebookApplicationAddin.cs Note books/Notebook.cs Notebooks/NotebookManager.cs Notebooks/NotebookMenuItem.cs Notebooks/NotebookNewNoteMenuItem.cs Notebooks/NotebookNoteAddin.cs Notebooks/NotebooksTreeView.cs Synchronization/FileSystemSyncServer.cs Synchronization/FuseSyncServiceAddin.cs Synchronization/SyncDialog.cs Synchronization/SyncManager.cs Synchronization/SyncServiceAddin.cs Synchronization/SyncUtils.cs Synchronization/TomboySyncClient.cs panelapplet/BonoboUIVerb.cs panelapplet/ChangeBackgroundHandler.cs panelapplet/ChangeSizeHandler.cs panelapplet/GnomeSharp.PanelAppletFactoryCallbackNative.cs panelapplet/MoveFocusOutOfAppletHandler.cs panelapplet/ObjectManager.cs panelapplet/PanelAppletBackgroundType.cs panelapplet/PanelApplet.cs panelapplet/PanelAppletFactoryCallback.cs panelapplet/PanelAppletFactory.cs panelapplet/PanelAppletFlags.cs Gnome.Keyring/AccessRights.cs Gnome.Keyring/AttributeType.cs Gnome.Keyring/GenericItemData.cs Gnome.Keyring/ItemACL.cs Gnome.Keyring/ItemData.cs Gnome.Keyring/ItemType.cs Gnome.Keyring/KeyringException.cs Gnome.Keyring/KeyringInfo.cs Gnome.Keyring/NetItemData.cs Gnome.Keyring/NoteItemData.cs Gnome.Keyring/Operation.cs Gnome.Keyring/RequestMessage.cs Gnome.Keyring/ResponseMessage.cs Gnome.Keyring/ResultCode.cs Gnome.Keyring/Ring.cs RemoteControl.cs RemoteControlProxy.cs Defines.cs -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp.dll -r:Mono.Posix -r:/usr/lib/mono/ndesk-dbus-1.0/NDesk.DBus.dll -r:/usr/lib/mono/ndesk-dbus-glib-1.0/NDesk.DBus.GLib.dll -r:/usr/lib/mono/mono-addins/Mono.Addins.dll -r:/usr/lib/mono/mono-addins/Mono.Addins.Gui.dll -r:/usr/lib/mono/mono-addins/Mono.Addins.Setup.dll -resource:../data/GNOME_TomboyApplet.xml,GNOME_TomboyApplet.xml -resource:../data/UIManagerLayout.xml -resource:../data/images/tomboy.png,tomboy.png -resource:../data/images/tomboy-note-16.png,tomboy-note.png -resource:../data/images/tomboy-all-notes-22.png,tomboy-all-notes.png -resource:../data/images/tomboy-unfiled-notes-22.png,tomboy-unfiled-notes.png -resource:../data/images/tomboy-notebook-22.png,tomboy-notebook.png -resource:../data/images/tomboy-new-notebook-22.png,tomboy-new-notebook.png -resource:../data/images/tomboy-new-notebook-48.png,tomboy-new-notebook-dialog.png -resource:../data/images/gnome-searchtool.png,gnome-searchtool.png -resource:../data/images/pinup.png,pinup.png -resource:../data/images/pinup-active.png,pinup-active.png -resource:../data/images/pindown.png,pindown.png -resource:./Tomboy.addin.xml Synchronization/FuseSyncServiceAddin.cs(130,41): warning CS0642: Possible mistaken empty statement Synchronization/FuseSyncServiceAddin.cs(133,49): warning CS0642: Possible mistaken empty statement NoteWindow.cs(17,21): warning CS0612: `Gtk.Tooltips' is obsolete NoteTag.cs(455,40): warning CS0108: `Tomboy.DepthNoteTag.Direction' hides inherited member `Gtk.TextTag.Direction'. Use the new keyword if hiding was intended /usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous warning) PreferencesDialog.cs(5,13): error CS0234: The type or namespace name `PropertyEditors' does not exist in the namespace `GConf'. Are you missing an assembly reference? PreferencesDialog.cs(5,1): error CS0246: The type or namespace name `GConf.PropertyEditors' could not be found. Are you missing a using directive or an assembly reference? PreferencesDialog.cs(799,43): error CS0246: The type or namespace name `PropertyEditor' could not be found. Are you missing a using directive or an assembly reference? Tray.cs(126,21): warning CS0612: `Gtk.Tooltips' is obsolete WrapBox.cs(103,29): warning CS0108: `Tomboy.WrapBox.Remove(Gtk.Widget)' hides inherited member `Gtk.Container.Remove(Gtk.Widget)'. Use the new keyword if hiding was intended /usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll (Location of the symbol related to previous warning) PreferencesDialog.cs(5,13): error CS0234: The type or namespace name `PropertyEditors' does not exist in the namespace `GConf'. Are you missing an assembly reference? PreferencesDialog.cs(5,1): error CS0246: The type or namespace name `GConf.PropertyEditors' could not be found. Are you missing a using directive or an assembly reference? Compilation failed: 5 error(s), 6 warnings
It looks like gconf-sharp-peditors.dll has been split out, requiring a separate reference. Thanks for reporting, we'll get this fixed ASAP.
*** Bug 516973 has been marked as a duplicate of this bug. ***
Link to patch used in Mandriva Cooker: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/tomboy/current/SOURCES/tomboy-0.9.5-new-gnome-sharp.patch?revision=159650&view=markup
Created attachment 105436 [details] [review] Patch that might work I really don't know autotools well, but this patch might work. Downloading a newer distro version to see if I can test properly. If anyone who couldn't build wants to try it out, that would be fine, too. :-)
Patch doesn't work, whoops, working on new one.
Created attachment 105451 [details] [review] Improved configure.in patch This one seems to work for me.
Committed patch in r1859. Please test; I tried it on an old Ubuntu install and a newer one upgraded to gnome-sharp-2.19.91. Marking fixed, but feel free to reopen if I missed something obvious.
Created attachment 105553 [details] [review] tomboy-gnome-sharp-2.16.1_configure.patch Gnome# 2.16.1, which just released, also needs this change.
Thanks Wade, you da man. Committed in r1867.