[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#694600: marked as done (unblock (pre-approval): kgamma/4:4.8.4-2)



Your message dated Sat, 01 Dec 2012 23:11:32 +0100
with message-id <50BA8094.9080507@thykier.net>
and subject line Re: Bug#694600: unblock (pre-approval): kgamma/4:4.8.4-2
has caused the Debian Bug report #694600,
regarding unblock (pre-approval): kgamma/4:4.8.4-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
694600: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694600
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Hi,

I would like to upload kgamma 4.8.4-2.
The only change is the backport of an upstream patch to fix the crash
of this configuration module when being run as different user than the
one currently logged in X.

Attached the current diff out of the packaging repo of the changes
above.

Thanks,
-- 
Pino
diff --git a/debian/changelog b/debian/changelog
index c8f3e08..8af9522 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+kgamma (4:4.8.4-2) UNRELEASED; urgency=low
+
+  [ Pino Toscano ]
+  * Backport upstream commit 1918f145261a52a3b2a917c6784c2cebecbb4064 to fix
+    crash when run as different user (e.g. root); patch
+    upstream_Fix-crash-when-XVidExtWrap-is-not-available.patch.
+    (Closes: #688767)
+
+ -- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>  Wed, 28 Nov 2012 10:42:59 +0100
+
 kgamma (4:4.8.4-1) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b4726e5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+upstream_Fix-crash-when-XVidExtWrap-is-not-available.patch
diff --git a/debian/patches/upstream_Fix-crash-when-XVidExtWrap-is-not-available.patch b/debian/patches/upstream_Fix-crash-when-XVidExtWrap-is-not-available.patch
new file mode 100644
index 0000000..abe8479
--- /dev/null
+++ b/debian/patches/upstream_Fix-crash-when-XVidExtWrap-is-not-available.patch
@@ -0,0 +1,50 @@
+From 1918f145261a52a3b2a917c6784c2cebecbb4064 Mon Sep 17 00:00:00 2001
+From: Christoph Feck <christoph@maxiom.de>
+Date: Sun, 11 Nov 2012 02:19:01 +0100
+Subject: [PATCH] Fix crash when XVidExtWrap is not available
+
+This can happen when run as root
+BUG: 292335
+FIXED-IN: 4.10
+---
+ kcmkgamma/kgamma.cpp |   10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/kcmkgamma/kgamma.cpp b/kcmkgamma/kgamma.cpp
+index ffe29ea..890ba99 100644
+--- a/kcmkgamma/kgamma.cpp
++++ b/kcmkgamma/kgamma.cpp
+@@ -70,7 +70,7 @@ KGamma::KGamma(QWidget* parent_P, const QVariantList &)
+     :KCModule(KGammaConfigFactory::componentData(), parent_P), rootProcess(0)
+ {
+   bool ok;
+-  GammaCorrection = true;
++  GammaCorrection = false;
+   xv = new XVidExtWrap(&ok, NULL);
+   if (ok) { /* KDE 4: Uneccessary test, when all KCM wrappers do conditional loading */
+     xv->getGamma(XVidExtWrap::Red, &ok);
+@@ -94,6 +94,7 @@ KGamma::KGamma(QWidget* parent_P, const QVariantList &)
+       xv->setScreen(currentScreen);
+ 
+       rootProcess = new KProcess;
++      GammaCorrection = true;
+       setupUI();
+       saved = false;
+ 
+@@ -107,10 +108,9 @@ KGamma::KGamma(QWidget* parent_P, const QVariantList &)
+       }
+       load();
+     }
+-    else {  //something is wrong, show only error message
+-      GammaCorrection = false;
+-      setupUI();
+-    }
++  }
++  if (!GammaCorrection) { //something is wrong, show only error message
++    setupUI();
+   }
+ }
+ 
+-- 
+1.7.10.4
+

--- End Message ---
--- Begin Message ---
On 2012-11-28 21:02, Pino Toscano wrote:
> [...]
> 
> Thanks, it was uploaded some hours ago and it build almost everywhere.
> 

Unblocked, thanks.

~Niels

--- End Message ---

Reply to: