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 312126 - libedataserverui uses libgnome for no good reason
libedataserverui uses libgnome for no good reason
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: general
1.2.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Harish Krishnaswamy
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-07-31 10:38 UTC by Ross Burton
Modified: 2005-10-14 13:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to remove libgnome from libedataserver (10.75 KB, patch)
2005-07-31 10:42 UTC, Ross Burton
none Details | Review
Revised patch (13.60 KB, patch)
2005-08-16 10:13 UTC, Ross Burton
none Details | Review
Revised patch (14.19 KB, patch)
2005-09-06 11:04 UTC, Ross Burton
none Details | Review
Revised patch (14.76 KB, patch)
2005-10-14 10:58 UTC, Ross Burton
accepted-commit_now Details | Review

Description Ross Burton 2005-07-31 10:38:44 UTC
libedataserver[ui] uses libgnome when it could use GLib.  Attaching a patch to
replace the libgnome functions in the libedataserver[ui] tests with GLib
functions, and to update the build system so that the server binary depends on
libgnome.
Comment 1 Ross Burton 2005-07-31 10:42:26 UTC
Created attachment 50011 [details] [review]
Patch to remove libgnome from libedataserver

Note that this patch isn't just cleaning up deprecated APIs, but it means that
a pure-GTK application can be written which uses libedataserver, without
depending on libgnome.
Comment 2 Not Zed 2005-08-09 09:23:02 UTC
well harish?
Comment 3 Ross Burton 2005-08-16 10:13:59 UTC
Created attachment 50776 [details] [review]
Revised patch

New patch:

 configure.in				 |   20 ++++-----
 libedataserver/libedataserver.pc.in	 |    7 ---
 libedataserver/test-source-list.c	 |   71
++++++++++----------------------
 libedataserverui/ChangeLog		 |    6 ++
 libedataserverui/libedataserverui.pc.in |    7 ---
 libedataserverui/test-contact-store.c	 |   12 -----
 libedataserverui/test-name-selector.c	 |   16 +------
 src/Makefile.am			 |    4 -
 8 files changed, 52 insertions(+), 91 deletions(-)

This also cleans up configure.in a little and uses @API_VERSION@ instead of
hard-coding 1.2 in the pkgconfig files.
Comment 4 Ross Burton 2005-09-06 11:04:42 UTC
Created attachment 51860 [details] [review]
Revised patch

New patch against e-d-s 1.4.0:
 ChangeLog				 |    7 +++
 configure.in				 |   20 ++++-----
 libedataserver/libedataserver.pc.in	 |    7 ---
 libedataserver/test-source-list.c	 |   71
++++++++++----------------------
 libedataserverui/ChangeLog		 |    6 ++
 libedataserverui/libedataserverui.pc.in |    7 ---
 libedataserverui/test-contact-store.c	 |   12 -----
 libedataserverui/test-name-selector.c	 |   16 +------
 src/Makefile.am			 |    4 -
 9 files changed, 59 insertions(+), 91 deletions(-)
Comment 5 Ross Burton 2005-10-14 10:58:01 UTC
Created attachment 53456 [details] [review]
Revised patch
Comment 6 Harish Krishnaswamy 2005-10-14 11:09:14 UTC
Looks good. Please commit this to HEAD.
Comment 7 Ross Burton 2005-10-14 11:31:54 UTC
Committed to head, thanks.
Comment 8 Tor Lillqvist 2005-10-14 13:07:12 UTC
BTW, what tool produces those cool diff summaries?
Comment 9 Ross Burton 2005-10-14 13:27:21 UTC
It's from diffstat.