[Git][debian-gis-team/qgis][master] Add upstream patch to fix crssync creating .local directories. (closes: #948727)

Bas Couwenberg gitlab at salsa.debian.org
Tue Jan 14 07:17:42 GMT 2020



Bas Couwenberg pushed to branch master at Debian GIS Project / qgis


Commits:
b723d7d3 by Bas Couwenberg at 2020-01-14T08:17:34+01:00
Add upstream patch to fix crssync creating .local directories. (closes: #948727)

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0001-crssync-put-profile-to-temporary-directory-fixes-337.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+qgis (3.4.14+dfsg-2) UNRELEASED; urgency=medium
+
+  * Add upstream patch to fix crssync creating .local directories.
+    (closes: #948727)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 14 Jan 2020 08:16:45 +0100
+
 qgis (3.4.14+dfsg-1) unstable; urgency=medium
 
   * Drop Name field from upstream metadata.


=====================================
debian/patches/0001-crssync-put-profile-to-temporary-directory-fixes-337.patch
=====================================
@@ -0,0 +1,26 @@
+Description: crssync: put profile to temporary directory (fixes #33743)
+Author: "Juergen E. Fischer" <jef at norbit.de>
+Origin: https://github.com/qgis/QGIS/commit/be4f45e721abc1fccba93fcbc947fa3f8de1d690
+Bug: https://github.com/qgis/QGIS/issues/33743
+Bug-Debian: https://bugs.debian.org/948727
+
+--- a/src/crssync/main.cpp
++++ b/src/crssync/main.cpp
+@@ -20,6 +20,7 @@
+ #include "qgsconfig.h"
+ 
+ #include <QRegExp>
++#include <QTemporaryDir>
+ 
+ #include <iostream>
+ #include <limits>
+@@ -50,7 +51,8 @@ int main( int argc, char **argv )
+       verbose = true;
+   }
+ 
+-  QgsApplication::init();
++  QTemporaryDir temp;
++  QgsApplication::init( temp.path() );
+ 
+   if ( !QgsApplication::isRunningFromBuildDir() )
+   {


=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ developersmap-use-debian-package.patch
 exclude-elvensword-resources.patch
 grass78.patch
 txt2tags-3.3.patch
+0001-crssync-put-profile-to-temporary-directory-fixes-337.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/qgis/commit/b723d7d33c37a33f7dcb8b0592718c8ec08b5b01

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/qgis/commit/b723d7d33c37a33f7dcb8b0592718c8ec08b5b01
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20200114/7ab08316/attachment-0001.html>


More information about the Pkg-grass-devel mailing list