-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[atk][exiv2][gdk-pixbuf][gettext][glib][libcroco][tesseract] Replace uses of unofficial-gettext with FindIntl #13762
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
Closed
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
30c66ec
[atk][exiv2][gdk-pixbuf][gettext][glib][libcroco][tesseract] Replace …
ras0219-msft 2641ed6
Merge branch 'master' of https://github.com/microsoft/vcpkg into HEAD
ras0219-msft 2f3c5d2
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/…
ras0219-msft fd9f506
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/…
ras0219-msft 1018990
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal 63ddd78
Merge from master
PhoebeHui ae4dbc5
Remove Iconv from dependency
PhoebeHui a864eb4
Correct the CONTROL file
PhoebeHui 9fa882d
Update CONTROL file
PhoebeHui 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
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,5 +1,6 @@ | ||
| Source: gettext | ||
| Version: 0.21 | ||
| Port-Version: 1 | ||
| Homepage: https://www.gnu.org/software/gettext/ | ||
| Description: The GNU gettext utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages. Provides libintl. | ||
| Build-Depends: libiconv |
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,8 @@ | ||
| include(CmakeFindDependencyMacro) | ||
| find_dependency(Iconv) | ||
|
|
||
| set(Intl_FOUND TRUE) | ||
| set(Intl_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/../../include") | ||
| set(Intl_INCLUDE_DIRS ${Intl_INCLUDE_DIR} ${Iconv_INCLUDE_DIRS}) | ||
| set(Intl_LIBRARY @Intl_LIBRARY@) | ||
| set(Intl_LIBRARIES ${Intl_LIBRARY} ${Iconv_LIBRARIES}) |
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,5 @@ | ||
| The package gettext:@TARGET_TRIPLET@ is compatible with built-in CMake targets: | ||
|
|
||
| find_package(Intl REQUIRED) | ||
| target_link_libraries(main PRIVATE ${Intl_LIBRARIES}) | ||
| target_include_directories(main PRIVATE ${Intl_INCLUDE_DIRS}) |
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,10 +1,4 @@ | ||
| _find_package(${ARGS}) | ||
|
|
||
| if(Intl_FOUND AND Intl_LIBRARIES) | ||
| include(SelectLibraryConfigurations) | ||
| find_library(Intl_LIBRARY_DEBUG NAMES intl libintl intl-8 NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug" NO_DEFAULT_PATH) | ||
| find_library(Intl_LIBRARY_RELEASE NAMES intl libintl intl-8 NAMES_PER_DIR PATH_SUFFIXES lib PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}" NO_DEFAULT_PATH) | ||
| unset(Intl_LIBRARIES) | ||
| unset(Intl_LIBRARIES CACHE) | ||
| select_library_configurations(Intl) | ||
| endif() | ||
| list(REMOVE_ITEM ARGS "NO_MODULE") | ||
| list(REMOVE_ITEM ARGS "CONFIG") | ||
| list(REMOVE_ITEM ARGS "MODULE") | ||
| _find_package(${ARGS} CONFIG) |
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,5 +1,5 @@ | ||
| Source: libcroco | ||
| Version: 0.6.13 | ||
| Port-Version: 2 | ||
| Port-Version: 3 | ||
| Description: A standalone css2 parsing and manipulation library | ||
| Build-Depends: glib, libxml2 |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI failed with following errors:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it does not exists anymore since gettext was changed to native build which is make based