Skip to content

Commit 1742215

Browse files
authored
Merge branch 'lxqt:master' into gam3/HideQuit
2 parents 6a7d0dd + 494bbf1 commit 1742215

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+661
-2113
lines changed

CMakeLists.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ find_package(LayerShellQt ${SHELLQT_MINIMUM_VERSION} REQUIRED)
2828
find_package(KF6WindowSystem ${KF6_MINIMUM_VERSION} REQUIRED)
2929
find_package(lxqt2-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED)
3030

31+
if (Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.10.0")
32+
find_package(Qt6GuiPrivate REQUIRED)
33+
find_package(Qt6WaylandClientPrivate REQUIRED)
34+
endif()
35+
3136
# right now we declare it as required
3237
find_package(X11 REQUIRED)
3338
set(HAVE_X11 1)
@@ -87,11 +92,6 @@ message(STATUS "Editing screenshots in external editor support: " ${SG_EXT_EDIT}
8792
message(STATUS "Enable D-Bus notifications: " ${SG_DBUS_NOTIFY})
8893
message(STATUS "Update source translation translations/*.ts files: " ${UPDATE_TRANSLATIONS})
8994

90-
# docs
91-
# CMAKE_INSTALL_FULL_DOCDIR = CMAKE_INSTALL_PREFIX/CMAKE_INSTALL_DATADIR/doc/PROJECT_NAME
92-
message(STATUS "Documentation directory: " ${CMAKE_INSTALL_FULL_DOCDIR})
93-
add_definitions(-DSG_DOCDIR="${CMAKE_INSTALL_FULL_DOCDIR}")
94-
9595
# app icon path
9696
add_definitions(-DSG_ICONPATH="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps/screengrab.svg")
9797

@@ -217,8 +217,6 @@ qt6_generate_wayland_protocol_client_sources(screengrab FILES
217217

218218
# installing
219219
install(TARGETS screengrab RUNTIME DESTINATION bin)
220-
# install html docs
221-
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/docs/html" DESTINATION "${CMAKE_INSTALL_FULL_DOCDIR}")
222220
# install config files
223221
install(FILES ${SCREENGRAB_CONFIG_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME})
224222
# install desktop files

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ You can use some or all of these parameters to customise your build.
5050
(usually - ~/.config/${app_name) ). Default setting: ON. In previous versions the
5151
config files were stored in ~/.screengrab (Set this parameter to "OFF" to store the config files here).
5252
* **-DSG_DBUS_NOTIFY** - Enable D-Bus notifications.
53-
* **-DSG_DOCDIR** - Name for the directory of user's documentation. Default setting: "screengrab".
54-
Dfault setting: OFF.
5553
* **-DDEV_VERSION** - Set a dev-version here, maybe git describe $foo. Default not set.
5654

5755
#### Build notes
@@ -71,7 +69,7 @@ package manager to search for string 'screengrab'.
7169

7270
## LICENSE
7371

74-
Screengrab is licensed under the GPL v2. See file LICENSE in docs directory for more information
72+
Screengrab is licensed under the GPL v2. See file COPYING in the source directory for more information.
7573

7674

7775
## Copyright

docs/html/default.css

Lines changed: 0 additions & 142 deletions
This file was deleted.

0 commit comments

Comments
 (0)