-
Notifications
You must be signed in to change notification settings - Fork 7.7k
[kf5kcmutils] new port #20199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[kf5kcmutils] new port #20199
Changes from 12 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
5811c1a
Add kf5kcmutils port
wrobelda aba8908
Fixed kf5kcmutils for windows
hellozee 2f441f8
[kf5*] update to 5.75.0
wrobelda f03e817
[kf5kcmutils] update to latest spec
wrobelda 2844754
[kf5kcmutils] use semVer
wrobelda 86eb60e
[kf5kcmutils] add PACKAGE_NAME to vcpkg_cmake_config_fixup
wrobelda c7ade1b
[kf5kcmutils] update to 5.84.0
wrobelda 10b3e3a
[kf5kcmutils] fix versioning scheme
wrobelda 429f63b
[kf5kcmutils] fix SHA sum
wrobelda 3325003
[kf5kcmutils] fix cmake config for static builds
wrobelda b9f7e0a
[kf5kcmutils] add gettext tools dependency
wrobelda 25832be
[kf5kcmutils] update versions
wrobelda 873a1e0
[kf5kcmutils] reduce patch size
wrobelda af5095e
[kf5kcmutils] update versions
wrobelda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| From 0ddc970348c24f106909a45c3f011fdb3792898d Mon Sep 17 00:00:00 2001 | ||
| From: =?UTF-8?q?Dawid=20Wro=CC=81bel?= <me@dawidwrobel.com> | ||
| Date: Fri, 17 Sep 2021 19:03:27 +0200 | ||
| Subject: [PATCH] Add support for static builds | ||
|
|
||
| --- | ||
| KF5KCMUtilsConfig.cmake.in | 14 ++++++++++++++ | ||
| 1 file changed, 14 insertions(+) | ||
|
|
||
| diff --git a/KF5KCMUtilsConfig.cmake.in b/KF5KCMUtilsConfig.cmake.in | ||
| index 9871fba..ddcf6ea 100644 | ||
| --- a/KF5KCMUtilsConfig.cmake.in | ||
| +++ b/KF5KCMUtilsConfig.cmake.in | ||
| @@ -4,6 +4,20 @@ include(CMakeFindDependencyMacro) | ||
| find_dependency(KF5ConfigWidgets "@KF_DEP_VERSION@") | ||
| find_dependency(KF5Service "@KF_DEP_VERSION@") | ||
|
|
||
| +if (NOT @BUILD_SHARED_LIBS@) | ||
| + find_dependency(Qt5DBus "@REQUIRED_QT_VERSION@") | ||
| + find_dependency(Qt5Qml "@REQUIRED_QT_VERSION@") | ||
| + find_dependency(Qt5Quick "@REQUIRED_QT_VERSION@") | ||
| + find_dependency(Qt5QuickWidgets "@REQUIRED_QT_VERSION@") | ||
| + | ||
| + find_dependency(KF5CoreAddons "@KF_DEP_VERSION@") | ||
| + find_dependency(KF5GuiAddons "@KF_DEP_VERSION@") | ||
| + find_dependency(KF5I18n "@KF_DEP_VERSION@") | ||
| + find_dependency(KF5ItemViews "@KF_DEP_VERSION@") | ||
| + find_dependency(KF5XmlGui "@KF_DEP_VERSION@") | ||
| + find_dependency(KF5Declarative "@KF_DEP_VERSION@") | ||
| +endif() | ||
| + | ||
| @PACKAGE_SETUP_AUTOMOC_VARIABLES@ | ||
|
|
||
| include("${CMAKE_CURRENT_LIST_DIR}/KF5KCMUtilsTargets.cmake") | ||
| -- | ||
| GitLab | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| vcpkg_from_github( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| REPO KDE/kcmutils | ||
| REF v5.84.0 | ||
| SHA512 e5f6347416143775e660430d582db3a60153b75063e7079bb3743043132f2e2f0d01234229f5eb1b4678e29d6981d03bd826622924ec7e385900df9067676f5b | ||
| HEAD_REF master | ||
| PATCHES | ||
| fix_cmake_config.patch | ||
| ) | ||
|
|
||
| vcpkg_cmake_configure( | ||
| DISABLE_PARALLEL_CONFIGURE | ||
| SOURCE_PATH "${SOURCE_PATH}" | ||
| OPTIONS | ||
| -DBUILD_TESTING=OFF | ||
| ) | ||
|
|
||
| vcpkg_cmake_install() | ||
| vcpkg_cmake_config_fixup(PACKAGE_NAME KF5KCMUtils CONFIG_PATH lib/cmake/KF5KCMUtils) | ||
|
|
||
| vcpkg_copy_pdbs() | ||
|
|
||
| if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") | ||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") | ||
| endif() | ||
|
|
||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") | ||
|
|
||
| file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| { | ||
| "name": "kf5kcmutils", | ||
| "version": "5.84.0", | ||
| "description": "Utilities for KDE System Settings modules", | ||
| "homepage": "https://api.kde.org/frameworks/kcmutils/html/index.html", | ||
| "dependencies": [ | ||
| "ecm", | ||
| { | ||
| "name": "gettext", | ||
| "host": true, | ||
| "features": [ | ||
| "tools" | ||
| ] | ||
| }, | ||
| "kf5configwidgets", | ||
| "kf5coreaddons", | ||
| "kf5declarative", | ||
| "kf5guiaddons", | ||
| "kf5i18n", | ||
| "kf5itemviews", | ||
| "kf5service", | ||
| "kf5xmlgui", | ||
| "qt5-base", | ||
| "qt5-tools", | ||
| { | ||
| "name": "vcpkg-cmake", | ||
| "host": true | ||
| }, | ||
| { | ||
| "name": "vcpkg-cmake-config", | ||
| "host": true | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "versions": [ | ||
| { | ||
| "git-tree": "82b8fd2f8ab85d1034f5140864171d984d0f53c2", | ||
| "version": "5.84.0", | ||
| "port-version": 0 | ||
| } | ||
| ] | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.