commit vte for openSUSE:Factory
Hello community, here is the log from the commit of package vte for openSUSE:Factory checked in at Wed Apr 28 23:12:17 CEST 2010. -------- --- GNOME/vte/vte.changes 2010-03-29 22:14:13.000000000 +0200 +++ vte/vte.changes 2010-04-26 17:32:13.000000000 +0200 @@ -1,0 +2,7 @@ +Tue Apr 13 12:25:05 UTC 2010 - andrea@opensuse.org + +- Add vte-0.24.0-no-transparent-background-bnc594590.patch to fix + segfaults on programs using vte (lxterminal, gnome-terminal) + with a transparent background. Fix bnc#594590. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- vte-0.24.0-no-transparent-background-bnc594590.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vte.spec ++++++ --- /var/tmp/diff_new_pack.avaQS6/_old 2010-04-28 23:11:17.000000000 +0200 +++ /var/tmp/diff_new_pack.avaQS6/_new 2010-04-28 23:11:17.000000000 +0200 @@ -32,9 +32,12 @@ Group: Development/Libraries/GNOME AutoReqProv: on Version: 0.24.0 -Release: 1 +Release: 2 Summary: Terminal Emulator Source: ftp://ftp.gnome.org/pub/gnome/sources/vte/0.16/%{name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM vte-0.24.0-no-transparent-background-bnc594590.patch bnc594590 bgo#615232 +# tetralet@gmail.com -- Fix segfaults if transparent background is not set +Patch0: %name-0.24.0-no-transparent-background-bnc594590.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: permissions Requires: %{name}-lang = %{version} @@ -61,6 +64,7 @@ %lang_package %prep %setup -q +%patch0 -p1 translation-update-upstream %build ++++++ vte-0.24.0-no-transparent-background-bnc594590.patch ++++++ GNOME #614910; set_background_image does not accept None in Python bindings Debian #576624; Segfault when loading the background pixbuf failed Novell #594590; lxterminal segfault Patch author: Tetralet <tetralet AT gmail DOT com> --- vte-0.24.0.orig/src/vtebg.c +++ vte-0.24.0/src/vtebg.c @@ -469,6 +469,8 @@ item->source_file = g_strdup(source_file); pixbuf = gdk_pixbuf_new_from_file(source_file, NULL); } + if (!pixbuf) + return NULL; break; default: g_assert_not_reached(); @@ -479,8 +481,11 @@ width = gdk_pixbuf_get_width(pixbuf); height = gdk_pixbuf_get_height(pixbuf); } else { - width = cairo_xlib_surface_get_width(bg->root_surface); - height = cairo_xlib_surface_get_height(bg->root_surface); + if (bg->root_surface) { + width = cairo_xlib_surface_get_width(bg->root_surface); + height = cairo_xlib_surface_get_height(bg->root_surface); + } else + return NULL; } item->surface = ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de