[packagekit] GTK-2 dep. of gnome-packagekit

S.Çağlar Onur caglar at pardus.org.tr
Thu Nov 29 02:33:07 PST 2007


Hi;

Following commits add tooltips to gnome-packagekit applications;

commit 7a466d3cfa1415b9dc8e9290b9d8dc9f4d92cf73
Author: Robin Norwood <rnorwood at redhat.com>
Date:   Wed Nov 28 14:48:28 2007 -0500

    Add tooltips to pk-update-viewer

commit fcc32ea5592baa8427d87beff7f7dacef65c39d9
Author: Robin Norwood <rnorwood at redhat.com>
Date:   Wed Nov 28 14:24:12 2007 -0500

    Add tooltip text to buttons in pk-application

But older GTK-2 versions not provides new toolkit api and ends up with 
following compilation error;

...
pk-application.c: In function `pk_application_init':
pk-application.c:1176: warning: implicit declaration of function 
`gtk_widget_set_tooltip_text'
make[2]: *** [pk-application.o] Hata 1
make[2]: `/home/caglar/svn/gnome-packagekit/src' dizininden çıkılıyor
make[1]: *** [all-recursive] Hata 1
make[1]: `/home/caglar/svn/gnome-packagekit' dizininden çıkılıyor
make: *** [all] Hata 2
...

So if we will continue to use new api instead of old one, i think following is 
also needed?

diff --git a/configure.in b/configure.in
index 040a8a6..7b8c7c2 100644
--- a/configure.in
+++ b/configure.in
@@ -43,7 +43,7 @@ dnl - Library dependencies
 
dnl ---------------------------------------------------------------------------
 PACKAGEKIT_REQUIRED=0.1.2
 GLIB_REQUIRED=2.14.0
-GTK_REQUIRED=2.10.0
+GTK_REQUIRED=2.12.0
 DBUS_REQUIRED=1.1.2
 GCONF_REQUIRED=0.22
 DBUS_GLIB_REQUIRED=0.73

Cheers



More information about the PackageKit mailing list