-
Notifications
You must be signed in to change notification settings - Fork 90
feat: unify DTK5 and DTK6 #526
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
Changes from all commits
Commits
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
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
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 |
|---|---|---|
| @@ -1,16 +1,16 @@ | ||
| include(CMakeFindDependencyMacro) | ||
| find_dependency(Dtk@DTK_VERSION_MAJOR@Core REQUIRED) | ||
| find_dependency(Dtk@DTK_NAME_SUFFIX@Core REQUIRED) | ||
|
|
||
| set (DTK_SETTINGS_TOOLS_EXECUTABLE ${DtkCore_TOOL_DIRS}/dtk-settings) | ||
|
|
||
| if (EXISTS ${DTK_SETTINGS_TOOLS_EXECUTABLE}) | ||
| set(DTK_SETTINGS_TOOLS_FOUND TRUE) | ||
| endif () | ||
|
|
||
| include("${CMAKE_CURRENT_LIST_DIR}/Dtk@DTK_VERSION_MAJOR@SettingsToolsMacros.cmake") | ||
| include("${CMAKE_CURRENT_LIST_DIR}/Dtk@DTK_VERSION_MAJOR@ToolsTargets.cmake") | ||
| include("${CMAKE_CURRENT_LIST_DIR}/Dtk@DTK_NAME_SUFFIX@SettingsToolsMacros.cmake") | ||
| include("${CMAKE_CURRENT_LIST_DIR}/Dtk@DTK_NAME_SUFFIX@ToolsTargets.cmake") | ||
| include("${CMAKE_CURRENT_LIST_DIR}/DtkDBusMacros.cmake") | ||
| include("${CMAKE_CURRENT_LIST_DIR}/DtkDConfigMacros.cmake") | ||
|
|
||
| get_target_property(DTK_XML2CPP Dtk@DTK_VERSION_MAJOR@::Xml2Cpp LOCATION) | ||
| get_target_property(DTK_DCONFIG2CPP Dtk@DTK_VERSION_MAJOR@::DConfig2Cpp LOCATION) | ||
| get_target_property(DTK_XML2CPP Dtk@DTK_NAME_SUFFIX@::Xml2Cpp LOCATION) | ||
| get_target_property(DTK_DCONFIG2CPP Dtk@DTK_NAME_SUFFIX@::DConfig2Cpp LOCATION) |
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 |
|---|---|---|
| @@ -1,43 +1,92 @@ | ||
| Source: dtkcore | ||
| Section: libdevel | ||
| Priority: optional | ||
| Maintainer: Deepin Packages Builder <[email protected]> | ||
| Build-Depends: debhelper-compat ( =12), pkg-config, | ||
| qttools5-dev-tools, qttools5-dev, qtbase5-private-dev, doxygen, | ||
| libgsettings-qt-dev, libgtest-dev, libdtkcommon-dev, cmake, | ||
| libuchardet-dev, libicu-dev, libdtklog-dev, libdbus-1-dev | ||
| Maintainer: Shanshan Ye <[email protected]> | ||
| Build-Depends: debhelper-compat ( =12), | ||
| pkg-config, | ||
| libgtest-dev, | ||
| libdtkcommon-dev, | ||
| libicu-dev, | ||
| libuchardet-dev, | ||
| libdbus-1-dev, | ||
| qttools5-dev-tools, | ||
| qttools5-dev, | ||
| libgsettings-qt-dev, | ||
| libdtklog-dev, | ||
| doxygen, | ||
| qtbase5-private-dev, | ||
| qt6-base-dev-tools, | ||
| qt6-base-dev, | ||
| qt6-base-private-dev, | ||
| libdtk6log-dev, | ||
| qt6-tools-dev, | ||
| cmake | ||
| Standards-Version: 3.9.8 | ||
|
|
||
| Package: libdtk6core | ||
| Architecture: any | ||
| Depends: ${shlibs:Depends}, ${misc:Depends}, lshw | ||
| Multi-Arch: same | ||
| Build-Profiles: <!nodtk6> | ||
| Description: Development ToolKit Core Library (DTK6 with Qt6) | ||
| DTK Core is the base library of deepin Qt/C++ applications. | ||
| . | ||
| This package contains the shared libraries for DTK6 applications. | ||
|
|
||
| Package: libdtk6core-bin | ||
| Architecture: any | ||
| Depends: ${shlibs:Depends}, ${misc:Depends}, | ||
| libdtk6core( =${binary:Version}) | ||
| Build-Profiles: <!nodtk6> | ||
| Description: Development ToolKit Core Utilities (DTK6 with Qt6) | ||
| DTK Core is the base library of deepin Qt/C++ applications. | ||
| . | ||
| This package contains the utilities of DTK6 Core. | ||
|
|
||
| Package: libdtk6core-dev | ||
| Architecture: any | ||
| Depends: libdtk6core( =${binary:Version}), | ||
| libdtkcommon-dev(>=5.6.16), libdtk6log-dev | ||
| Build-Profiles: <!nodtk6> | ||
| Description: Development ToolKit Core Devel Library (DTK6 with Qt6) | ||
| DTK Core is the base library of deepin Qt/C++ applications. | ||
| . | ||
| This package contains the header files and development library symbolic links of DTK6 Core. | ||
|
|
||
| Package: libdtkcore5 | ||
| Architecture: any | ||
| Depends: ${shlibs:Depends}, ${misc:Depends}, lshw | ||
| Multi-Arch: same | ||
| Description: Deepin Tool Kit Core library | ||
| DtkCore is base library of Deepin Qt/C++ applications. | ||
| Build-Profiles: <!nodtk5> | ||
| Description: Development ToolKit Core Library (DTK5 with Qt5) | ||
| DTK Core is the base library of deepin Qt/C++ applications. | ||
| . | ||
| This package contains the shared libraries. | ||
| This package contains the shared libraries for DTK5 applications. | ||
|
|
||
| Package: libdtkcore5-bin | ||
| Architecture: any | ||
| Depends: ${shlibs:Depends}, ${misc:Depends}, | ||
| libdtkcore5( =${binary:Version}) | ||
| Description: Deepin Tool Kit Core Utilities | ||
| DtkCore is base devel library of Deepin Qt/C++ applications. | ||
| Build-Profiles: <!nodtk5> | ||
| Description: Development ToolKit Core Utilities (DTK5 with Qt5) | ||
| DTK Core is the base library of deepin Qt/C++ applications. | ||
| . | ||
| This package contains the utilities of DtkCore | ||
| This package contains the utilities of DTK5 Core. | ||
|
|
||
| Package: libdtkcore-dev | ||
| Architecture: any | ||
| Depends: ${shlibs:Depends}, ${misc:Depends}, libdtkcore5( =${binary:Version}), | ||
| Depends: libdtkcore5( =${binary:Version}), | ||
asterwyx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| libdtkcommon-dev(>=5.6.16), libdtklog-dev | ||
| Description: Deepin Tool Kit Core Devel library | ||
| DtkCore is base devel library of Deepin Qt/C++ applications. | ||
| Build-Profiles: <!nodtk5> | ||
| Description: Development ToolKit Core Devel Library (DTK5 with Qt5) | ||
| DTK Core is the base library of deepin Qt/C++ applications. | ||
| . | ||
| This package contains the header files and static libraries of DtkCore | ||
| This package contains the header files and development library symbolic links of DTK5 Core. | ||
|
|
||
| Package: libdtkcore-doc | ||
| Architecture: any | ||
| Description: Deepin Tool Kit Core (document) | ||
| DtkCore is base devel library of Deepin Qt/C++ applications. | ||
| Build-Profiles: <!nodtk5 !nodoc> | ||
| Description: Development ToolKit Core Documentation | ||
| DTK Core is the base library of deepin Qt/C++ applications. | ||
| . | ||
| This package contains the doc files of DtkCore | ||
| This package contains the doc files of DtkCore. | ||
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 @@ | ||
| usr/libexec/dtk6/DCore/bin/* |
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,5 @@ | ||
| usr/lib/*/libdtk6core.so | ||
| usr/include/dtk6/* | ||
| usr/lib/*/pkgconfig/dtk6core.pc | ||
| usr/lib/*/cmake/Dtk6*/* | ||
| usr/lib/*/qt6/* |
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 @@ | ||
| usr/lib/*/libdtk6core.so.* |
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 |
|---|---|---|
| @@ -1,5 +1,8 @@ | ||
| usr/lib/*/lib*.so | ||
| usr/include | ||
| usr/lib/*/pkgconfig/*.pc | ||
| usr/lib/*/cmake/*/*.cmake | ||
| usr/lib/*/libdtkcore.so | ||
| usr/include/dtk5/* | ||
| usr/lib/*/pkgconfig/dtkcore.pc | ||
| usr/lib/*/cmake/DtkCMake/* | ||
| usr/lib/*/cmake/DtkTools/* | ||
| usr/lib/*/cmake/DtkDConfig/* | ||
| usr/lib/*/cmake/DtkCore/* | ||
| usr/lib/*/qt5/* |
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 |
|---|---|---|
| @@ -1 +1 @@ | ||
| usr/*/*/DCore/bin/* | ||
| usr/libexec/dtk5/DCore/bin/* |
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 |
|---|---|---|
| @@ -1 +1 @@ | ||
| usr/lib/*/lib*.so.* | ||
| usr/lib/*/libdtkcore.so.* |
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
Oops, something went wrong.
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.