]> git.pld-linux.org Git - packages/brasero.git/commitdiff
- add brasero-inhibit.patch from git
authorJan Palus <jan.palus@gmail.com>
Mon, 15 Nov 2010 12:28:35 +0000 (12:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 2

Changed files:
    brasero-inhibit.patch -> 1.1
    brasero.spec -> 1.64

brasero-inhibit.patch [new file with mode: 0644]
brasero.spec

diff --git a/brasero-inhibit.patch b/brasero-inhibit.patch
new file mode 100644 (file)
index 0000000..9b608b7
--- /dev/null
@@ -0,0 +1,47 @@
+From 3775cd7fc7d15aa03131a1d5cdccf57f185e2b92 Mon Sep 17 00:00:00 2001
+From: Luis Medinas <lmedinas@gnome.org>
+Date: Fri, 22 Oct 2010 11:30:58 +0000
+Subject: Fix crash for Bug 632576 - Brasero segfaults just before it should start
+
+burning
+---
+diff --git a/libbrasero-burn/burn-dbus.c b/libbrasero-burn/burn-dbus.c
+index 9292da3..fe5dea0 100644
+--- a/libbrasero-burn/burn-dbus.c
++++ b/libbrasero-burn/burn-dbus.c
+@@ -43,7 +43,7 @@
+ static GDBusConnection *conn;
+-void 
++void
+ brasero_uninhibit_suspend (guint cookie)
+ {
+       GError          *error = NULL;
+@@ -80,9 +80,11 @@ brasero_uninhibit_suspend (guint cookie)
+               g_warning ("Failed to restore the system power manager: %s",
+                           error->message);
+               g_error_free (error);
+-      }
++      } else {
++                g_variant_get (res, "(u)", &cookie);
++                g_variant_unref (res);
++        }
+-      g_variant_unref (res);
+ }
+ gint
+@@ -127,9 +129,8 @@ brasero_inhibit_suspend (const char *reason)
+       }
+       else {
+               g_variant_get (res, "(u)", &cookie);
++              g_variant_unref (res);
+       }
+-      g_variant_unref (res);
+-
+       return cookie;
+ }
+--
+cgit v0.8.3.1
index e5b8640a7b2b67f42fbcfc417e9bec6258ba3800..bd09baffa71d00472a20ff2ec0109751546a741a 100644 (file)
@@ -6,11 +6,12 @@ Summary:      Disc burning application for GNOME
 Summary(pl.UTF-8):     Program do wypalania płyt dla GNOME
 Name:          brasero
 Version:       2.32.0
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         X11/Applications
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/brasero/2.32/%{name}-%{version}.tar.bz2
 # Source0-md5: 09aaa188f33caa0bcc71a7dfc4a3f9ad
+Patch0:                %{name}-inhibit.patch
 URL:           http://www.gnome.org/projects/brasero/
 BuildRequires: GConf2-devel >= 2.32.0
 BuildRequires: autoconf
@@ -116,6 +117,7 @@ Dodaje integrację Brasero z Nautilusem.
 
 %prep
 %setup -q
+%patch0 -p1
 sed -i s#^en@shaw## po/LINGUAS
 rm po/en@shaw.po
 
This page took 0.095494 seconds and 4 git commands to generate.