Hello community, here is the log from the commit of package devilspie checked in at Fri Nov 10 01:08:32 CET 2006. -------- --- GNOME/devilspie/devilspie.changes 2006-11-07 21:27:22.000000000 +0100 +++ /mounts/work_src_done/STABLE/devilspie/devilspie.changes 2006-11-10 00:51:10.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Nov 10 00:50:45 CET 2006 - james@suse.de + +- Fix things to build and work with glib < 2.9.1 + +------------------------------------------------------------------- New: ---- devilspie-0.18-old-glib2.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ devilspie.spec ++++++ --- /var/tmp/diff_new_pack.dFxdbd/_old 2006-11-10 01:08:15.000000000 +0100 +++ /var/tmp/diff_new_pack.dFxdbd/_new 2006-11-10 01:08:15.000000000 +0100 @@ -11,16 +11,17 @@ # norootforbuild Name: devilspie -BuildRequires: gnutls-devel gob2 libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel libxslt mDNSResponder-devel perl-XML-Parser update-desktop-files +BuildRequires: gnome-common gnutls-devel gob2 intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel libxslt mDNSResponder-devel perl-XML-Parser update-desktop-files Summary: Window-Matching Utility Version: 0.18 -Release: 5 +Release: 8 License: GNU General Public License (GPL) - all versions Group: System/X11/Utilities Source0: %{name}-%{version}.tar.bz2 URL: http://www.burtonini.com/blog/computers/devilspie BuildRoot: %{_tmppath}/%{name}-%{version}-build Autoreq: On +Patch: devilspie-0.18-old-glib2.patch %description Devil's Pie can be configured to detect windows as they are created and @@ -35,9 +36,10 @@ %prep %setup -q +%patch %build -CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=%_prefix --mandir=%_mandir --sysconfdir=/etc/devilspie +CFLAGS=$RPM_OPT_FLAGS ./autogen.sh --prefix=%_prefix --mandir=%_mandir --sysconfdir=/etc/devilspie make %install @@ -57,6 +59,8 @@ %_mandir/man1/* %changelog -n devilspie +* Fri Nov 10 2006 - james@suse.de +- Fix things to build and work with glib < 2.9.1 * Thu Oct 26 2006 - hvogel@suse.de - Update to 0.18 * Port the opacity action ++++++ devilspie-0.18-old-glib2.patch ++++++ --- configure.in +++ configure.in @@ -27,7 +27,7 @@ # Check that we actually have the libraries required to build PKG_CHECK_MODULES(WNCK, - glib-2.0 >= 2.9.1 + glib-2.0 >= 2.8.5 gdk-2.0 libwnck-1.0 >= 0.17) AC_SUBST(WNCK_CFLAGS) --- src/actions.c +++ src/actions.c @@ -385,8 +385,7 @@ x = ((num - 1) * wnck_screen_get_width (screen)) - viewport_start + x; - wnck_window_set_geometry(c->window, WNCK_WINDOW_GRAVITY_CURRENT, - WNCK_WINDOW_CHANGE_X, x, 0, 0, 0); + wnck_window_move(c->window, x, y); if (debug) g_printerr(_("Changing viewport to %d\n"), num); return e_sexp_result_new_bool (f, TRUE); --- src/e-sexp.c +++ src/e-sexp.c @@ -173,7 +173,7 @@ ESExpResult * e_sexp_result_new (ESExp *f, ESExpResultType type) { - ESExpResult *r = g_slice_new0 (ESExpResult); + ESExpResult *r = g_new0 (ESExpResult, 1); r->type = type; return r; } @@ -208,7 +208,7 @@ default: g_assert_not_reached(); } - g_slice_free (ESExpResult, t); + g_free (t); } /* used in normal functions if they have to abort, and free their arguments */ @@ -815,7 +815,7 @@ static ESExpTerm * parse_term_new(ESExp *f, int type) { - ESExpTerm *s = g_slice_new0 (ESExpTerm); + ESExpTerm *s = g_new0 (ESExpTerm, 1); s->type = type; return s; } @@ -851,7 +851,7 @@ default: g_warning("parse_term_free: unknown type: %d", t->type); } - g_slice_free(ESExpTerm, t); + g_free(t); } static ESExpTerm ** ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org