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


Commits:
38721850 by Bas Couwenberg at 2021-08-23T15:27:56+02:00
Add upstream patch to have crssync not create config in HOME. (closes: #992747)

- - - - -


3 changed files:

- debian/changelog
- + 
debian/patches/0001-crssync-write-settings-to-temporary-directory-fixes-.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+qgis (3.16.10+dfsg-2) UNRELEASED; urgency=medium
+
+  * Add upstream patch to have crssync not create config in HOME.
+    (closes: #992747)
+
+ -- Bas Couwenberg <[email protected]>  Mon, 23 Aug 2021 15:26:45 +0200
+
 qgis (3.16.10+dfsg-1) unstable; urgency=medium
 
   * Move from experimental to unstable.


=====================================
debian/patches/0001-crssync-write-settings-to-temporary-directory-fixes-.patch
=====================================
@@ -0,0 +1,19 @@
+Description: crssync: write settings to temporary directory (fixes #44793)
+Author: "Juergen E. Fischer" <[email protected]>
+Origin: 
https://github.com/qgis/QGIS/commit/322ae339244294eaf54fbe065de1a0ae7c9dcaa4
+Bug: https://github.com/qgis/QGIS/issues/44793
+Bug-Debian: https://bugs.debian.org/992747
+
+--- a/src/crssync/main.cpp
++++ b/src/crssync/main.cpp
+@@ -51,6 +51,10 @@ int main( int argc, char **argv )
+       verbose = true;
+   }
+ 
++  QTemporaryDir stemp;
++  QSettings::setDefaultFormat( QSettings::IniFormat );
++  QSettings::setPath( QSettings::IniFormat, QSettings::UserScope, 
stemp.path() );
++
+   QTemporaryDir temp;
+   QgsApplication::init( temp.path() );
+ 


=====================================
debian/patches/series
=====================================
@@ -5,3 +5,4 @@ grass78.patch
 spelling-errors.patch
 proj8.patch
 bug990636_include-geopackage-and-kml-in-.desktop.patch
+0001-crssync-write-settings-to-temporary-directory-fixes-.patch



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

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


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to