Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 736444 Details for
Bug 802828
x11-misc/qt5ct-1.2-r1 "USE=-dbus" build fails if dev-qt/qtdbus not installed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add DISABLE_DBUS to the cmake-based build system
qt5ct-1.2-cmake-dbus.patch (text/plain), 1.75 KB, created by
Nuno Silva
on 2021-08-28 13:54:47 UTC
(
hide
)
Description:
Add DISABLE_DBUS to the cmake-based build system
Filename:
MIME Type:
Creator:
Nuno Silva
Created:
2021-08-28 13:54:47 UTC
Size:
1.75 KB
patch
obsolete
>diff -ur a/CMakeLists.txt b/CMakeLists.txt >--- a/CMakeLists.txt 2021-04-20 20:29:54.000000000 +0100 >+++ b/CMakeLists.txt 2021-08-28 11:20:28.130637732 +0100 >@@ -21,10 +21,17 @@ > set(CMAKE_AUTOUIC ON) > set(QT_MINIMUM_VERSION "5.12.0") > >+option(DISABLE_DBUS "disable D-Bus support (global menu and D-Bus tray icon implementation)" OFF) > > ADD_DEFINITIONS(-DQT_DISABLE_DEPRECATED_BEFORE=0x050C00 -DUSE_WIDGETS) > >-find_package(Qt5 ${QT_MINIMUM_VERSION} COMPONENTS Widgets Concurrent LinguistTools DBus ThemeSupport REQUIRED) >+if(NOT ${DISABLE_DBUS}) >+ find_package(Qt5 ${QT_MINIMUM_VERSION} COMPONENTS Widgets Concurrent LinguistTools DBus ThemeSupport REQUIRED) >+ message("D-Bus support: Enabled") >+else() >+ find_package(Qt5 ${QT_MINIMUM_VERSION} COMPONENTS Widgets Concurrent LinguistTools REQUIRED) >+ message("D-Bus support: Disabled") >+endif() > find_package(Qt5Gui ${QT_MINIMUM_VERSION} CONFIG REQUIRED Private) > > get_target_property(QT_LRELEASE_EXECUTABLE Qt5::lrelease IMPORTED_LOCATION) >diff -ur a/src/qt5ct-qtplugin/CMakeLists.txt b/src/qt5ct-qtplugin/CMakeLists.txt >--- a/src/qt5ct-qtplugin/CMakeLists.txt 2021-04-20 20:29:54.000000000 +0100 >+++ b/src/qt5ct-qtplugin/CMakeLists.txt 2021-08-28 11:10:48.257462406 +0100 >@@ -10,5 +10,9 @@ > > add_library(qt5ct-qtplugin MODULE ${app_SRCS}) > set_target_properties(qt5ct-qtplugin PROPERTIES OUTPUT_NAME qt5ct) >-target_link_libraries(qt5ct-qtplugin PRIVATE Qt5::Widgets Qt5::GuiPrivate Qt5::DBus Qt5::ThemeSupportPrivate) >+if(NOT ${DISABLE_DBUS}) >+ target_link_libraries(qt5ct-qtplugin PRIVATE Qt5::Widgets Qt5::GuiPrivate Qt5::DBus Qt5::ThemeSupportPrivate) >+else() >+ target_link_libraries(qt5ct-qtplugin PRIVATE Qt5::Widgets Qt5::GuiPrivate) >+endif() > install(TARGETS qt5ct-qtplugin DESTINATION ${PLUGINDIR}/platformthemes)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 802828
:
724927
|
724930
|
736441
| 736444