[neon/qt/qtlocation/Neon/release] debian: Add a patch to fix OpenGL detection.

Dmitry Shachnev null at kde.org
Thu Jul 14 14:17:35 BST 2022


Git commit c35d87cf9466d9cc81d428f2ed4260556ad616c0 by Dmitry Shachnev.
Committed on 07/03/2022 at 17:49.
Pushed by jriddell into branch 'Neon/release'.

Add a patch to fix OpenGL detection.

M  +2    -0    debian/changelog
A  +16   -0    debian/patches/opengl.diff
M  +1    -0    debian/patches/series
M  +1    -1    debian/rules

https://invent.kde.org/neon/qt/qtlocation/commit/c35d87cf9466d9cc81d428f2ed4260556ad616c0

diff --git a/debian/changelog b/debian/changelog
index a62cd03..97c3580 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 qtlocation-opensource-src (5.15.3+dfsg-3) UNRELEASED; urgency=medium
 
+  [ Dmitry Shachnev ]
+  * Add a patch to fix OpenGL detection.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Mon, 07 Mar 2022 20:38:04 +0300
 
diff --git a/debian/patches/opengl.diff b/debian/patches/opengl.diff
new file mode 100644
index 0000000..58679d2
--- /dev/null
+++ b/debian/patches/opengl.diff
@@ -0,0 +1,16 @@
+Description: detect OpenGL correctly
+Author: Dmitry Shachnev <mitya57 at debian.org>
+Forwarded: no
+Last-Update: 2022-03-07
+
+--- a/src/location/configure.json
++++ b/src/location/configure.json
+@@ -9,7 +9,7 @@
+             "label": "Qt.labs.location experimental QML plugin",
+             "purpose": "Provides experimental QtLocation QML types",
+             "section": "Location",
+-            "condition": "config.opengl",
++            "condition": "features.opengl",
+             "output": [ "privateFeature" ]
+         },
+         "geoservices_osm": {
diff --git a/debian/patches/series b/debian/patches/series
index 0f50526..cd4a7f2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ use_system_dependencies.diff
 hurd_geoclue.diff
 mapboxgl_thread_portability.diff
 geoclue2_fix_position_handling.diff
+opengl.diff
diff --git a/debian/rules b/debian/rules
index dfbf277..f97ea7d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ export QT_SELECT := qt5
 	dh $@ --with pkgkde_symbolshelper
 
 override_dh_auto_configure:
-	dh_auto_configure -- -config opengl QT_BUILD_PARTS+=tests
+	dh_auto_configure -- QT_BUILD_PARTS+=tests
 
 override_dh_auto_build-indep:
 	dh_auto_build -Smakefile -- docs



More information about the Neon-commits mailing list