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 582785 - Get rid of deprecated libgnome
Get rid of deprecated libgnome
Status: RESOLVED FIXED
Product: gnome-utils
Classification: Deprecated
Component: gsearchtool
2.27.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-utils Maintainers
gnome-utils Maintainers
Depends on: 415070
Blocks:
 
 
Reported: 2009-05-15 15:37 UTC by André Klapper
Modified: 2009-05-17 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch, likely needs a configure.in change for gdesktopappinfo.h (3.20 KB, patch)
2009-05-17 15:56 UTC, Dennis Cranston
none Details | Review
Patch (5.18 KB, patch)
2009-05-17 18:31 UTC, Dennis Cranston
none Details | Review

Description André Klapper 2009-05-15 15:37:03 UTC
GNOME 3 will not ship libgnome/ui anymore.
See http://live.gnome.org/LibgnomeMustDie .
For the status of your module see the automatic statistics at http://www.gnome.org/~fpeters/299.html (updated every two hours).



$:andre\> cd gnome-utils/
$:andre\> grep -r libgnome .
./configure.ac:PKG_CHECK_MODULES(LIBGNOME, libgnome-2.0 >= $LIBGNOME_REQUIRED dnl
./gsearchtool/gsearchtool-callbacks.c:#include <libgnome/gnome-desktop-item.h>
./gsearchtool/gsearchtool-support.c:#include <libgnome/gnome-desktop-item.h>
Comment 1 Dennis Cranston 2009-05-16 03:34:05 UTC

*** This bug has been marked as a duplicate of 573670 ***
Comment 2 Dennis Cranston 2009-05-16 03:42:13 UTC
Is there a replacement for GnomeDesktopItem?  Otherwise, I cannot remove <libgnome/gnome-desktop-item.h> from the source.  Thanks.
Comment 3 Dennis Cranston 2009-05-16 03:45:09 UTC
It looks bug cannot be fixed until Bug 415070 is resolved.
Comment 4 Cosimo Cecchi 2009-05-16 11:24:50 UTC
The patches in bug #573670 fix this as well.
Comment 5 Dennis Cranston 2009-05-17 15:56:19 UTC
Created attachment 134819 [details] [review]
Patch, likely needs a configure.in change for gdesktopappinfo.h

2009-05-17  Dennis Cranston  <dennis_cranston@yahoo.com>

	* gsearchtool-callbacks.c: Remove gnome-desktop-item.h
	* gsearchtool-support.c (open_file_with_filemanager):  
	Replace GnomeDesktopItem with GDesktopAppInfo, Bug 582785.
Comment 6 Dennis Cranston 2009-05-17 18:31:08 UTC
Created attachment 134826 [details] [review]
Patch

2009-05-17  Dennis Cranston  <dennis_cranston@yahoo.com>

	* configure.ac, Makefile.am: Use gio-unix.
	* gsearchtool-callbacks.c: Remove gnome-desktop-item.h
	* gsearchtool-support.c (open_file_with_filemanager):  
	Replace GnomeDesktopItem with GDesktopAppInfo, Bug 582785.
Comment 7 Dennis Cranston 2009-05-17 18:40:19 UTC
Patch applied 5/17/2009.  Closing, but for more complex uses of GnomeDesktopItem bug 415070 will need to be addressed.