Skip to content

Conversation

@koprok
Copy link
Contributor

@koprok koprok commented Nov 15, 2022

Add initial port of zint library

github-actions[bot]
github-actions bot previously approved these changes Nov 15, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/zint/vcpkg.json

Valid values for the license field can be found in the documentation

github-actions[bot]
github-actions bot previously approved these changes Nov 15, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/zint/vcpkg.json

Valid values for the license field can be found in the documentation

@koprok koprok marked this pull request as ready for review November 15, 2022 22:05
@LilyWangLL LilyWangLL added category:new-port The issue is requesting a new library to be added; consider making a PR! requires:all-feature-testing labels Nov 16, 2022
@LilyWangLL
Copy link
Contributor

LilyWangLL commented Nov 18, 2022

When I test usage locally, there are the following error. I installed zint[core,png]:x64-windows.

1> [CMake] CMake Error at E:/Lily/zint/installed/x64-windows/share/unofficial-zint/unofficial-zint-config.cmake:60 (set_target_properties):
1> [CMake]   The link interface of target "unofficial::zint::zint" contains:
1> [CMake] 
1> [CMake]     PNG::PNG
1> [CMake] 
1> [CMake]   but the target was not found.  Possible reasons include:
1> [CMake] 
1> [CMake]     * There is a typo in the target name.
1> [CMake]     * A find_package call is missing for an IMPORTED target.
1> [CMake]     * An ALIAS target is missing.

@koprok
Copy link
Contributor Author

koprok commented Nov 18, 2022

@LilyWangLL, you have to call find_package(PNG) too. I believe there are other ports that require similar approach. If not, then can you give me an example how to handle such dependencies?

@koprok
Copy link
Contributor Author

koprok commented Nov 18, 2022

@LilyWangLL, maybe I found it myself. I have to patch the upstream CMakeLists.txt to install unofficial-zint-config.cmake that calls find_package(PNG) and includes the CMake's automatically generated unofficial-zint-targets.cmake. Is this what is expected to do, please confirm?

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 90b5fb836cda4eba4569a123bca63b957f55232b -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 1796b1c..00f49f2 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -8246,7 +8246,7 @@
     },
     "zint": {
       "baseline": "2.11.1",
-      "port-version": 0
+      "port-version": 1
     },
     "zkpp": {
       "baseline": "0.2.3",
diff --git a/versions/z-/zint.json b/versions/z-/zint.json
index 982b6d0..f702079 100644
--- a/versions/z-/zint.json
+++ b/versions/z-/zint.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "30cc6feb5be64598ab25709e917cacdfc5cb099c",
+      "version": "2.11.1",
+      "port-version": 1
+    },
     {
       "git-tree": "49e212523ce2c8337e7c7517c759a46805614638",
       "version": "2.11.1",

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/zint/vcpkg.json

Valid values for the license field can be found in the documentation

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 7d9775a3c3ffef3cbad688d7271a06803d3a2f51 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 1796b1c..00f49f2 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -8246,7 +8246,7 @@
     },
     "zint": {
       "baseline": "2.11.1",
-      "port-version": 0
+      "port-version": 1
     },
     "zkpp": {
       "baseline": "0.2.3",
diff --git a/versions/z-/zint.json b/versions/z-/zint.json
index 982b6d0..f702079 100644
--- a/versions/z-/zint.json
+++ b/versions/z-/zint.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "30cc6feb5be64598ab25709e917cacdfc5cb099c",
+      "version": "2.11.1",
+      "port-version": 1
+    },
     {
       "git-tree": "49e212523ce2c8337e7c7517c759a46805614638",
       "version": "2.11.1",

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/zint/vcpkg.json

Valid values for the license field can be found in the documentation

github-actions[bot]
github-actions bot previously approved these changes Nov 18, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/zint/vcpkg.json

Valid values for the license field can be found in the documentation

@koprok
Copy link
Contributor Author

koprok commented Nov 18, 2022

@LilyWangLL, it's fixed now, you should not need to manually call find_package(PNG) any more.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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: checked-in files for zint have changed but the version was not updated
version: 2.11.1
old SHA: 49e212523ce2c8337e7c7517c759a46805614638
new SHA: 0612462e38337a28ba94c74ded489552c758b808
Did you remember to update the version or port version?
Use --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 7d9775a3c3ffef3cbad688d7271a06803d3a2f51 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 444d903..8c05845 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -8258,7 +8258,7 @@
     },
     "zint": {
       "baseline": "2.11.1",
-      "port-version": 1
+      "port-version": 0
     },
     "zkpp": {
       "baseline": "0.2.3",

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/zint/vcpkg.json

Valid values for the license field can be found in the documentation

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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: checked-in files for zint have changed but the version was not updated
version: 2.11.1
old SHA: 49e212523ce2c8337e7c7517c759a46805614638
new SHA: 0612462e38337a28ba94c74ded489552c758b808
Did you remember to update the version or port version?
Use --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 7d9775a3c3ffef3cbad688d7271a06803d3a2f51 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 444d903..8c05845 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -8258,7 +8258,7 @@
     },
     "zint": {
       "baseline": "2.11.1",
-      "port-version": 1
+      "port-version": 0
     },
     "zkpp": {
       "baseline": "0.2.3",

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/zint/vcpkg.json

Valid values for the license field can be found in the documentation

github-actions[bot]
github-actions bot previously approved these changes Nov 21, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/zint/vcpkg.json

Valid values for the license field can be found in the documentation

github-actions[bot]
github-actions bot previously approved these changes Nov 21, 2022
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have modified or added at least one vcpkg.json where you should check the license field.

If you feel able to do so, please consider adding a "license" field to the following files:

  • ports/zint/vcpkg.json

Valid values for the license field can be found in the documentation

@koprok koprok requested a review from FrankXie05 November 21, 2022 08:40
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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: checked-in files for zint have changed but the version was not updated
version: 2.11.1
old SHA: 0612462e38337a28ba94c74ded489552c758b808
new SHA: 8e8366d2cfa100efb7f4026664f7168cdef88077
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***

github-actions[bot]
github-actions bot previously approved these changes Nov 21, 2022
github-actions[bot]
github-actions bot previously approved these changes Nov 21, 2022
@koprok koprok requested a review from FrankXie05 November 21, 2022 09:17
@LilyWangLL LilyWangLL added info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. and removed requires:all-feature-testing labels Nov 23, 2022
@JavierMatosD
Copy link
Contributor

Thank you!

@JavierMatosD JavierMatosD merged commit 5fe0ac0 into microsoft:master Nov 23, 2022
@koprok koprok deleted the zint branch November 23, 2022 20:56
lukaszmoroz pushed a commit to lukaszmoroz/vcpkg that referenced this pull request Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:new-port The issue is requesting a new library to be added; consider making a PR! info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants