File: enable_skip_plugins.patch

package info (click to toggle)
qt6-base 6.8.2%2Bdfsg-9%2Bdeb13u1
  • links: PTS, VCS
  • area: main
  • in suites: trixie-proposed-updates
  • size: 297,960 kB
  • sloc: cpp: 1,896,460; ansic: 374,195; xml: 142,138; python: 20,680; java: 8,229; asm: 4,009; javascript: 2,290; sh: 1,690; perl: 1,028; makefile: 130
file content (39 lines) | stat: -rw-r--r-- 1,494 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Description: Enable skipping plugins search at build time.
 This patch sets
 QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
 by default, thus avoiding unnecesary build dependencies on plugins.
 .
 The variables can still be set to OFF by the user at build time, allowing
 them to find the packages if necessary. But if you need so for a Debian
 package please reach the Qt maintainers first. We want to know why you
 need to do so. Thanks in advance!
Author: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Forwarded: not-needed

---
 cmake/QtPlugins.cmake.in         |    2 +-
 cmake/QtPostProcessHelpers.cmake |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/cmake/QtPlugins.cmake.in
+++ b/cmake/QtPlugins.cmake.in
@@ -6,7 +6,7 @@ include_guard(DIRECTORY)

 # Distributions should probably change this default.
 if(NOT DEFINED QT_SKIP_AUTO_PLUGIN_INCLUSION)
-    set(QT_SKIP_AUTO_PLUGIN_INCLUSION OFF)
+    set(QT_SKIP_AUTO_PLUGIN_INCLUSION ON)
 endif()

 if(NOT QT_NO_CREATE_TARGETS AND NOT QT_SKIP_AUTO_PLUGIN_INCLUSION)
--- a/cmake/QtPostProcessHelpers.cmake
+++ b/cmake/QtPostProcessHelpers.cmake
@@ -448,7 +448,7 @@ function(qt_internal_create_plugins_auto_inclusion_files)

 # Distributions should probably change this default.
 if(NOT DEFINED QT_SKIP_AUTO_QML_PLUGIN_INCLUSION)
-    set(QT_SKIP_AUTO_QML_PLUGIN_INCLUSION OFF)
+    set(QT_SKIP_AUTO_QML_PLUGIN_INCLUSION ON)
 endif()

 set(__qt_qml_plugins_config_file_list \"\")