[lodepng,lodepng-c, libjxl] Update, merge lodepng-c into lodepng#21846
[lodepng,lodepng-c, libjxl] Update, merge lodepng-c into lodepng#21846BillyONeal merged 22 commits intomicrosoft:masterfrom
Conversation
|
Building lodepng in CI uncovers build errors in other ports which where hidden by cascade before. |
|
The uwp issue is #9390, and a more complete solution is #16111. Hard to believe that it was reported two years ago. The gdal issue is #21648. I don't want to add a new dependency/feature now. I want feature parity between windows and non-windows build, and I'm stuck with slow reviews of related PRs. So just ensuring lz4 is not activated by accident. |
There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.
Error: Local changes detected for libjxl but no changes to version or port version.
-- Version: 0.6.1
-- Old SHA: 4b89e4e9a92111a9733660afcecdfd59a6ee8d49
-- New SHA: ef9ced934f3664d62a5c546d7ba4a7ca439ce969
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 63e935d967a3410e26bf4a708efa39d8384d2bbb -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/l-/libjxl.json b/versions/l-/libjxl.json
index 9bb05e0..3324458 100644
--- a/versions/l-/libjxl.json
+++ b/versions/l-/libjxl.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "ef9ced934f3664d62a5c546d7ba4a7ca439ce969",
+ "git-tree": "4b89e4e9a92111a9733660afcecdfd59a6ee8d49",
"version-semver": "0.6.1",
"port-version": 0
}There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.
Error: Local changes detected for libjxl but no changes to version or port version.
-- Version: 0.6.1
-- Old SHA: 4b89e4e9a92111a9733660afcecdfd59a6ee8d49
-- New SHA: 9d0693cbc5965a99511bf7d03ddbd4c341ba9613
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 63e935d967a3410e26bf4a708efa39d8384d2bbb -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/l-/libjxl.json b/versions/l-/libjxl.json
index b41d94a..3324458 100644
--- a/versions/l-/libjxl.json
+++ b/versions/l-/libjxl.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "9d0693cbc5965a99511bf7d03ddbd4c341ba9613",
+ "git-tree": "4b89e4e9a92111a9733660afcecdfd59a6ee8d49",
"version-semver": "0.6.1",
"port-version": 0
}There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.
Error: Local changes detected for libjxl but no changes to version or port version.
-- Version: 0.6.1
-- Old SHA: 4b89e4e9a92111a9733660afcecdfd59a6ee8d49
-- New SHA: fd26e80abc484ec01d974c3dfd587161c4786dd0
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 63e935d967a3410e26bf4a708efa39d8384d2bbb -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/l-/libjxl.json b/versions/l-/libjxl.json
index ca522d0..3324458 100644
--- a/versions/l-/libjxl.json
+++ b/versions/l-/libjxl.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "fd26e80abc484ec01d974c3dfd587161c4786dd0",
+ "git-tree": "4b89e4e9a92111a9733660afcecdfd59a6ee8d49",
"version-semver": "0.6.1",
"port-version": 0
}There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.
Error: Local changes detected for libjxl but no changes to version or port version.
-- Version: 0.6.1
-- Old SHA: 4b89e4e9a92111a9733660afcecdfd59a6ee8d49
-- New SHA: 1060ea6763a14a1b9c7b1fec1b14415a746ed805
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 63e935d967a3410e26bf4a708efa39d8384d2bbb -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/l-/libjxl.json b/versions/l-/libjxl.json
index fd776d9..3324458 100644
--- a/versions/l-/libjxl.json
+++ b/versions/l-/libjxl.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "1060ea6763a14a1b9c7b1fec1b14415a746ed805",
+ "git-tree": "4b89e4e9a92111a9733660afcecdfd59a6ee8d49",
"version-semver": "0.6.1",
"port-version": 0
}There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.
Error: Local changes detected for libjxl but no changes to version or port version.
-- Version: 0.6.1
-- Old SHA: 4b89e4e9a92111a9733660afcecdfd59a6ee8d49
-- New SHA: 462a6d613121a35cd0c2925baaa4519bca910616
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 63e935d967a3410e26bf4a708efa39d8384d2bbb -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/l-/libjxl.json b/versions/l-/libjxl.json
index abdbb0f..3324458 100644
--- a/versions/l-/libjxl.json
+++ b/versions/l-/libjxl.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "462a6d613121a35cd0c2925baaa4519bca910616",
+ "git-tree": "4b89e4e9a92111a9733660afcecdfd59a6ee8d49",
"version-semver": "0.6.1",
"port-version": 0
}e651975 to
99723ac
Compare
There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
PRs must add only one version and must not modify any published versions
When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.
Error: Local changes detected for libjxl but no changes to version or port version.
-- Version: 0.6.1
-- Old SHA: 4b89e4e9a92111a9733660afcecdfd59a6ee8d49
-- New SHA: a784ab72a98843f1a2a42945eff68ce23736a765
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 63e935d967a3410e26bf4a708efa39d8384d2bbb -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/l-/libjxl.json b/versions/l-/libjxl.json
index 31b8513..3324458 100644
--- a/versions/l-/libjxl.json
+++ b/versions/l-/libjxl.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "a784ab72a98843f1a2a42945eff68ce23736a765",
+ "git-tree": "4b89e4e9a92111a9733660afcecdfd59a6ee8d49",
"version-semver": "0.6.1",
"port-version": 0
}There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 63e935d967a3410e26bf4a708efa39d8384d2bbb -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/baseline.json b/versions/baseline.json
index fb56559..6ecd0a6 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -2366,7 +2366,7 @@
},
"gdal": {
"baseline": "3.4.0",
- "port-version": 2
+ "port-version": 3
},
"gdcm": {
"baseline": "3.0.7",
diff --git a/versions/g-/gdal.json b/versions/g-/gdal.json
index bbabc8f..b8b4c84 100644
--- a/versions/g-/gdal.json
+++ b/versions/g-/gdal.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "164700a47428c2ded10ee9dc8e28fb189fca0f94",
+ "version-semver": "3.4.0",
+ "port-version": 3
+ },
{
"git-tree": "f0f7e3cd7a86246d31f892678b2e06d01c455c5b",
"version-semver": "3.4.0",|
In all build attempts, arm-uwp-rel consistently took 2 hours, without clear reason. If this happens again now, I will add
dbg-rel.diff.txt. Xxxxx replace Debug/Release. |
| @@ -0,0 +1,9 @@ | |||
| The package lodepng provides CMake targets: | |||
There was a problem hiding this comment.
The usage is not installed?
There was a problem hiding this comment.
Thanks for the reminder. I see the benefit. However:
- For
vpkg install lodepng, it makes no difference. The usage file is also displayed when installing a cached binary artifact which does not contain the installed file. This is worrying, due to a possible version mismatch. - Given that
vcpkg installdoesn't indicate the errror, it is no surprise that there are more ports which don't seem install the usage file:
$ for I in ports/*/usage; do grep -q '/usage' ${I%/usage}/portfile.cmake || echo $I; done
ports/boost/usage
ports/bullet3/usage
ports/colmap/usage
ports/dcmtk/usage
ports/farmhash/usage
ports/ffmpeg/usage
ports/googleapis/usage
ports/gtest/usage
ports/imgui-sfml/usage
ports/libgeotiff/usage
ports/nmap/usage
ports/opengl/usage
ports/pthreads/usage
ports/unixodbc/usage
ports/vulkan/usage
ports/xerces-c/usage
There was a problem hiding this comment.
For vpkg install lodepng, it makes no difference. The usage file is also displayed when installing a cached binary artifact which does not contain the installed file. This is worrying, due to a possible version mismatch.
vcpkg should print the cmake usage automaticly. If not, we should add usage such like this and install it. Otherwise it will not be printed.
Given that vcpkg install doesn't indicate the errror, it is no surprise that there are more ports which don't seem install the usage file:
I think they are left over from history.
There was a problem hiding this comment.
For vpkg install lodepng, it makes no difference. The usage file is also displayed when installing a cached binary artifact which does not contain the installed file. This is worrying, due to a possible version mismatch.
vcpkg should print the cmake usage automaticly. If not, we should add usage such like this and install it. Otherwise it will not be printed.
My point is: vcpkg should print the installed file, not the source file. Then there can't be a version mismatch, and the maintainer would notice the issue befroe committing.
There was a problem hiding this comment.
Path usage_file(const PackageSpec& p) const { return share_dir(p) / "usage"; }vcpkg should print the installed file, not the source file
That's correct, see https://github.com/microsoft/vcpkg-tool/blob/56228f80dcf757494a8dc45b206fe224a23c2129/src/vcpkg/install.cpp#L613.
vcpkg will extract the target in add_library according to the generated target.cmake content, and combine to generate the prompt information of find_package/target_link_libraries.
# Conflicts: # scripts/ci.baseline.txt
…e version database.
BillyONeal
left a comment
There was a problem hiding this comment.
I'm far from an expert for most of these ports but the changes herein seem reasonable to me. I also pushed a merge of #21840 into this and fixed the version database to properly use version-date.
I did some investigation as to why the usage file is printed or not and came up empty 🤷
|
Thanks for the merger! |
What does your PR fix?
Updates port lodepng.
Merges lodepng-c into lodepng, resolving the header installation conflict, enabling CI for port lodepng.
Removes private API and examples.
Modernizes the portfile and adds (explicit) usage.
Revises port libjxl (but cannot resolve a strange build time issue for arm-uwp-rel).
Fixes accidental implicit lz4 dependency of gdal, [gdal] Feature lz4 must be explicitly declared #21648.
Which triplets are supported/not supported? Have you updated the CI baseline?
all, yes
Does your PR follow the maintainer guide?
yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --alland committed the result?yes