[Git][debian-gis-team/qgis][master] Add upstream patch to have crssync not create config in HOME. (closes: #992747)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Mon Aug 23 14:28:14 BST 2021



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 <sebastic at debian.org>  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" <jef at norbit.de>
+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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20210823/fe2f1025/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list