This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository qlandkartegt.
commit fc407c30f426a021df02697c16df2805bf52dca9 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Fri Feb 13 13:31:13 2015 +0100 Add patch to use HTTPS for openstreetmap.org tiles. --- debian/changelog | 1 + debian/patches/05-https-osm-tiles.patch | 24 ++++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 26 insertions(+) diff --git a/debian/changelog b/debian/changelog index 3f825b4..df0ff9f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,7 @@ qlandkartegt (1.8.0+ds-1) UNRELEASED; urgency=medium * Drop 04-fix_kfreebsd_build.patch, obsolete. * Add patch to add %F field code to Exec key in desktop file. * Add man pages for helper utilities. + * Add patch to use HTTPS for openstreetmap.org tiles. -- Bas Couwenberg <sebas...@debian.org> Thu, 12 Feb 2015 22:24:18 +0100 diff --git a/debian/patches/05-https-osm-tiles.patch b/debian/patches/05-https-osm-tiles.patch new file mode 100644 index 0000000..df013d4 --- /dev/null +++ b/debian/patches/05-https-osm-tiles.patch @@ -0,0 +1,24 @@ +Description: Use HTTPS for openstreetmap.org tile server +Author: Bas Couwenberg <sebas...@xs4all.nl> +Forwarded: not-needed + +--- a/src/CMapDB.cpp ++++ b/src/CMapDB.cpp +@@ -130,7 +130,7 @@ CMapDB::CMapDB(QTabWidget * tb, QObject + + m.description = "OpenStreetMap"; + //http://a.tile.openstreetmap.de/tiles/osmde/%1/%2/%3.png +- m.filename = "http://a.tile.openstreetmap.org/%1/%2/%3.png"; ++ m.filename = "https://a.tile.openstreetmap.org/%1/%2/%3.png"; + m.type = IMap::eTMS; + m.key = QString::number(qHash(m.filename)); + m.copyright = "Open Street Map, Creative Commons Attribution-ShareAlike 2.0 license"; +@@ -173,7 +173,7 @@ CMapDB::CMapDB(QTabWidget * tb, QObject + } + } + +- maps = cfg.value("maps/visibleMaps","http://a.tile.openstreetmap.org/%1/%2/%3.png").toString().split("|",QString::SkipEmptyParts); ++ maps = cfg.value("maps/visibleMaps","https://a.tile.openstreetmap.org/%1/%2/%3.png").toString().split("|",QString::SkipEmptyParts); + cfg.setValue("maps/visibleMaps",""); + cfg.sync(); + diff --git a/debian/patches/series b/debian/patches/series index d475d45..d05ae88 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ 02-restore_mapnik_and_user_agent.patch 03-set_user_agent.patch 04-qlandkartegt-desktop-exec.patch +05-https-osm-tiles.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/qlandkartegt.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel