Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: pu
Stellarium crashes when running inside VNC. As it is an important program in 'science' category, it was requested to fix this behavior in wheezy (especially for DebianEdu distribution). See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709303 The idea is to push the fix in the next point release. I prepared a new release - see diff attached, and http://anonscm.debian.org/gitweb/?p =collab-maint/stellarium.git;a=shortlog;h=refs/heads/point-7.2 -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (200, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.10.9 (SMP w/4 CPU cores)
diff -Nru stellarium-0.11.3/debian/changelog stellarium-0.11.3/debian/changelog --- stellarium-0.11.3/debian/changelog 2013-08-27 19:01:55.000000000 +0200 +++ stellarium-0.11.3/debian/changelog 2013-08-27 19:06:14.000000000 +0200 @@ -1,3 +1,9 @@ +stellarium (0.11.3-1+deb7u1) wheezy; urgency=high + + * Applied patch that fixes #709303 + + -- Tomasz Buchert <tomasz.buch...@inria.fr> Tue, 27 Aug 2013 18:31:06 +0200 + stellarium (0.11.3-1) unstable; urgency=low * Imported Upstream version 0.11.3 diff -Nru stellarium-0.11.3/debian/patches/fix-bug-709303.patch stellarium-0.11.3/debian/patches/fix-bug-709303.patch --- stellarium-0.11.3/debian/patches/fix-bug-709303.patch 1970-01-01 01:00:00.000000000 +0100 +++ stellarium-0.11.3/debian/patches/fix-bug-709303.patch 2013-08-27 19:06:14.000000000 +0200 @@ -0,0 +1,48 @@ +This patch fixes Debian Bug #709303 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709303). +Issue was resolved upstream (http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/6093) +and the patch was imported from there. +--- a/src/main.cpp ++++ b/src/main.cpp +@@ -333,23 +333,27 @@ + app.installTranslator(&trans); + + if (!QGLFormat::hasOpenGL()) +- { ++ { ++ qWarning() << "Oops... This system does not support OpenGL."; + QMessageBox::warning(0, "Stellarium", q_("This system does not support OpenGL.")); ++ app.quit(); + } ++ else ++ { ++ StelMainWindow mainWin; ++ mainWin.init(confSettings); ++ app.exec(); ++ mainWin.deinit(); ++ ++ delete confSettings; ++ StelLogger::deinit(); ++ ++ #ifdef Q_OS_WIN ++ if(timerGrain) ++ timeEndPeriod(timerGrain); ++ #endif //Q_OS_WIN + +- StelMainWindow mainWin; +- mainWin.init(confSettings); +- app.exec(); +- mainWin.deinit(); +- +- delete confSettings; +- StelLogger::deinit(); +- +- #ifdef Q_OS_WIN +- if(timerGrain) +- timeEndPeriod(timerGrain); +- #endif //Q_OS_WIN +- +- return 0; ++ return 0; ++ } + } + diff -Nru stellarium-0.11.3/debian/patches/series stellarium-0.11.3/debian/patches/series --- stellarium-0.11.3/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ stellarium-0.11.3/debian/patches/series 2013-08-27 19:06:14.000000000 +0200 @@ -0,0 +1 @@ +fix-bug-709303.patch