After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 580887 - Metabug: Burn down all libgnome(ui) dependencies of evolution
Metabug: Burn down all libgnome(ui) dependencies of evolution
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.26.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[cleanup]
Depends on: 567260 567267 567270 567276 567280 567281 567282 567283 567284 567285 570730 571488 571496 580892 580893 580894 580895 580896 580897 580898 580899 580900
Blocks:
 
 
Reported: 2009-04-30 14:50 UTC by André Klapper
Modified: 2009-09-18 16:50 UTC
See Also:
GNOME target: 2.30.x
GNOME version: ---



Description André Klapper 2009-04-30 14:50:56 UTC
Die! Die! Die!
Comment 1 André Klapper 2009-04-30 15:14:36 UTC
Generic headers not covered by subbugs:

./addressbook/tools/evolution-addressbook-export-list-folders.c: #include <libgnome/libgnome.h>
./addressbook/tools/evolution-addressbook-export-list-cards.c: #include <libgnome/libgnome.h>
./plugins/mail-notification/mail-notification.c: #include <libgnome/libgnome.h>
./widgets/table/e-table-group-container.c: #include <libgnome/libgnome.h>


./plugins/backup-restore/backup-restore.c: #include <libgnomeui/libgnomeui.h>
./plugins/startup-wizard/startup-wizard.c: #include <libgnomeui/libgnomeui.h>
./plugins/groupwise-features/share-folder-common.c: #include <libgnomeui/libgnomeui.h>
./plugins/groupwise-features/install-shared.c: #include <libgnomeui/libgnomeui.h>
./calendar/gui/dialogs/calendar-setup.c: #include <libgnomeui/libgnomeui.h>
Comment 2 André Klapper 2009-04-30 15:45:01 UTC
Haxx0rz also see bug 580904 for fun with evo-exchange. Some fixes might be quite similar...
Comment 3 Matthew Barnes 2009-04-30 16:36:40 UTC
The generic headers should be killed ASAP because they pull in deprecated GTK+ stuff and make it impossible to build with GTK_DISABLE_DEPRECATED.

We should either remove them outright or, if that breaks compilation, temporarily replace them with specific libgnome[ui] headers to satisfy whatever the file needs.
Comment 4 André Klapper 2009-05-01 01:39:40 UTC
Milan: Please don't remove deps. Thanks. :)
Comment 5 Matthew Barnes 2009-05-01 03:38:14 UTC
(In reply to comment #3)
> We should either remove them outright or, if that breaks compilation,
> temporarily replace them with specific libgnome[ui] headers to satisfy whatever
> the file needs.

Handled this in
http://git.gnome.org/cgit/evolution/commit/?id=71c5738707028d12a3129a94a1b3823a7fab573c

No more <gnome.h>, <libgnome/libgnome.h> or <libgnomeui/libgnomeui.h> includes.
We picked up a few more GnomeDruid hits, and a gnome-sound hit.  The rest were unnecessary.
Comment 6 André Klapper 2009-08-21 17:22:15 UTC
So updating the overall TODO status for current 2.29 (KB branch etc) according to the dependency bugs (I didn't grep):

==libgnome==
calendar/gui/alarm-notify/notify-main.c:#include <libgnome/gnome-init.h>
calendar/gui/main.c:#include <libgnome/gnome-init.h>
e-util/e-win32-reloc.c:#include <libgnome/gnome-init.h>
e-util/e-util.c:#include <libgnome/gnome-init.h>

tools/killev.c:#include <libgnome/gnome-util.h>

shell/main.c:#include <libgnome/gnome-sound.h>
calendar/gui/alarm-notify/notify-main.c:#include <libgnome/gnome-sound.h>
calendar/gui/alarm-notify/alarm-queue.c:#include <libgnome/gnome-sound.h>
mail/mail-folder-cache.c:#include <libgnome/gnome-sound.h>
mail/mail-session.c:#include <libgnome/gnome-sound.h>

==libgnomeui==
calendar/gui/alarm-notify/notify-main.c:#include <libgnomeui/gnome-ui-init.h>
shell/main.c:#include <libgnomeui/gnome-ui-init.h>
widgets/misc/test-dropdown-button.c:#include <libgnomeui/gnome-ui-init.h>

calendar/gui/alarm-notify/notify-main.c:#include <libgnomeui/gnome-client.h>
Comment 7 André Klapper 2009-08-23 17:48:10 UTC
Great. Another TO-DO update for potential contributors (yes, call me naive):


==libgnome==
calendar/gui/alarm-notify/notify-main.c:#include <libgnome/gnome-init.h>
calendar/gui/main.c:#include <libgnome/gnome-init.h>
e-util/e-win32-reloc.c:#include <libgnome/gnome-init.h>
e-util/e-util.c:#include <libgnome/gnome-init.h>

tools/killev.c:#include <libgnome/gnome-util.h>

==libgnomeui==
calendar/gui/alarm-notify/notify-main.c:#include <libgnomeui/gnome-ui-init.h>
shell/main.c:#include <libgnomeui/gnome-ui-init.h>
widgets/misc/test-dropdown-button.c:#include <libgnomeui/gnome-ui-init.h>

calendar/gui/alarm-notify/notify-main.c:#include <libgnomeui/gnome-client.h>
Comment 8 Matthew Barnes 2009-08-23 18:38:05 UTC
Of these, only the following remain on kill-bonobo:

==libgnome==
calendar/gui/alarm-notify/notify-main.c:#include <libgnome/gnome-init.h>
e-util/e-util.c:#include <libgnome/gnome-init.h>

==libgnomeui==
calendar/gui/alarm-notify/notify-main.c:#include <libgnomeui/gnome-ui-init.h>
calendar/gui/alarm-notify/notify-main.c:#include <libgnomeui/gnome-client.h>

The e-util case is trivial to fix.  The only thing really keeping this bug alive now is evolution-alarm-notify.
Comment 9 André Klapper 2009-08-30 15:24:45 UTC
Now that kill-bonobo has been merged into master, grepping comes up with:

./e-util/e-util.c:#include <libgnome/gnome-init.h>
./tools/killev.c:#include <libgnome/gnome-util.h>
./calendar/gui/alarm-notify/notify-main.c:#include <libgnome/gnome-init.h>

./e-util/e-icon-factory.c:#include <libgnomeui/gnome-desktop-thumbnail.h>
./calendar/gui/alarm-notify/notify-main.c:#include <libgnomeui/gnome-client.h>
./calendar/gui/alarm-notify/notify-main.c:#include <libgnomeui/gnome-ui-init.h>
Comment 10 Matthew Barnes 2009-08-30 15:31:35 UTC
The e-icon-factory case is actually coming from gnome-desktop, which unfortunately also installs its headers into a "libgnomeui" subdirectory, presumably for backward-compatibility reasons.