Skip to content
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

[ois] fix pkgconfig file not installed on windows #23426

Merged
merged 2 commits into from
Mar 11, 2022
Merged

Conversation

maz-1
Copy link
Contributor

@maz-1 maz-1 commented Mar 8, 2022

Describe the pull request

  • What does your PR fix?

    Fixes pkgconfig file not installed on windows

  • Which triplets are supported/not supported? Have you updated the CI baseline?

    not updated, sould be same as before

  • Does your PR follow the maintainer guide?

    Yes

  • If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

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 a "license" field is missing.

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

  • ports/ois/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!

All manifest files must be formatted

./vcpkg format-manifest ports/*/vcpkg.json

Diff
diff --git a/ports/ois/vcpkg.json b/ports/ois/vcpkg.json
index 4d9cf86..c73ac91 100644
--- a/ports/ois/vcpkg.json
+++ b/ports/ois/vcpkg.json
@@ -4,8 +4,8 @@
   "port-version": 1,
   "description": "Cross Platform Object Oriented Input Lib System. Meant to be very robust and compatible with many systems and operating systems.",
   "homepage": "https://wgois.github.io/OIS/",
-  "supports": "!(arm | arm64 | uwp)",
   "license": "Zlib",
+  "supports": "!(arm | arm64 | uwp)",
   "dependencies": [
     {
       "name": "vcpkg-cmake",
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 5962cf5a3bfc2124e8de991a4e45a8edcb3b4c69 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/o-/ois.json b/versions/o-/ois.json
index 6f42d81..900e2b7 100644
--- a/versions/o-/ois.json
+++ b/versions/o-/ois.json
@@ -1,7 +1,7 @@
 {
   "versions": [
     {
-      "git-tree": "81da871c0f26427fd1612bdf027c8872bcab71b5",
+      "git-tree": "acfa0d3bb6e082f65e606f832bbeb23ac6a078b3",
       "version": "1.5.1",
       "port-version": 1
     },

@maz-1
Copy link
Contributor Author

maz-1 commented Mar 8, 2022

Hold on, I did not fix debug suffix in pkgbuild file
will reopen after fixed.

@maz-1 maz-1 closed this Mar 8, 2022
@maz-1 maz-1 reopened this Mar 8, 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.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

All manifest files must be formatted

./vcpkg format-manifest ports/*/vcpkg.json

Diff
diff --git a/ports/ois/vcpkg.json b/ports/ois/vcpkg.json
index 4d9cf86..c73ac91 100644
--- a/ports/ois/vcpkg.json
+++ b/ports/ois/vcpkg.json
@@ -4,8 +4,8 @@
   "port-version": 1,
   "description": "Cross Platform Object Oriented Input Lib System. Meant to be very robust and compatible with many systems and operating systems.",
   "homepage": "https://wgois.github.io/OIS/",
-  "supports": "!(arm | arm64 | uwp)",
   "license": "Zlib",
+  "supports": "!(arm | arm64 | uwp)",
   "dependencies": [
     {
       "name": "vcpkg-cmake",
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 5962cf5a3bfc2124e8de991a4e45a8edcb3b4c69 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/o-/ois.json b/versions/o-/ois.json
index f01d791..39d8df3 100644
--- a/versions/o-/ois.json
+++ b/versions/o-/ois.json
@@ -1,7 +1,7 @@
 {
   "versions": [
     {
-      "git-tree": "2041652d38eabf31ad8008aa5f7972765257011a",
+      "git-tree": "79d79b0c5901492572044ad873cdf4df864accea",
       "version": "1.5.1",
       "port-version": 1
     },

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!

All manifest files must be formatted

./vcpkg format-manifest ports/*/vcpkg.json

Diff
diff --git a/ports/ois/vcpkg.json b/ports/ois/vcpkg.json
index 4d9cf86..c73ac91 100644
--- a/ports/ois/vcpkg.json
+++ b/ports/ois/vcpkg.json
@@ -4,8 +4,8 @@
   "port-version": 1,
   "description": "Cross Platform Object Oriented Input Lib System. Meant to be very robust and compatible with many systems and operating systems.",
   "homepage": "https://wgois.github.io/OIS/",
-  "supports": "!(arm | arm64 | uwp)",
   "license": "Zlib",
+  "supports": "!(arm | arm64 | uwp)",
   "dependencies": [
     {
       "name": "vcpkg-cmake",
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 5962cf5a3bfc2124e8de991a4e45a8edcb3b4c69 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/o-/ois.json b/versions/o-/ois.json
index 6f42d81..900e2b7 100644
--- a/versions/o-/ois.json
+++ b/versions/o-/ois.json
@@ -1,7 +1,7 @@
 {
   "versions": [
     {
-      "git-tree": "81da871c0f26427fd1612bdf027c8872bcab71b5",
+      "git-tree": "acfa0d3bb6e082f65e606f832bbeb23ac6a078b3",
       "version": "1.5.1",
       "port-version": 1
     },

@JonLiu1993 JonLiu1993 added the category:port-bug The issue is with a library, which is something the port should already support label Mar 8, 2022
@JackBoosY
Copy link
Contributor

We need to check the pkgconfig files.

@JonLiu1993
Copy link
Member

@maz-1, Thanks for posting this issue,I cloned your branch to the local and then use the commands ''./vcpkg install osi --debug" and "./vcpkg install osi" after installation, it is not in the F:\test-pr\vcpkg\packages\osi_x86-windows path Found the pkgconfig file, have you tested it locally?

@maz-1
Copy link
Contributor Author

maz-1 commented Mar 8, 2022

@maz-1, Thanks for posting this issue,I cloned your branch to the local and then use the commands ''./vcpkg install osi --debug" and "./vcpkg install osi" after installation, it is not in the F:\test-pr\vcpkg\packages\osi_x86-windows path Found the pkgconfig file, have you tested it locally?

I think you mistaken the package name, it's ois not osi

@JonLiu1993
Copy link
Member

JonLiu1993 commented Mar 8, 2022

@maz-1, Thanks for posting this issue,I cloned your branch to the local and then use the commands ''./vcpkg install osi --debug" and "./vcpkg install osi" after installation, it is not in the F:\test-pr\vcpkg\packages\osi_x86-windows path Found the pkgconfig file, have you tested it locally?

I think you mistaken the package name, it's ois not osi

Sorry, I made a mistake, I re-tested with the correct package name and checked the .pc file in F:\test-pr\vcpkg\packages\ois_x86-windows\debug\lib\pkgconfig, Looks correct

@JonLiu1993 JonLiu1993 added info:reviewed Pull Request changes follow basic guidelines and removed requires:author-response labels Mar 8, 2022
@vicroms vicroms merged commit 9a6b6da into microsoft:master Mar 11, 2022
@maz-1 maz-1 deleted the ois branch March 12, 2022 09:16
ekilmer added a commit to ekilmer/vcpkg that referenced this pull request Mar 14, 2022
* master: (64 commits)
  [baseline] [python3] fix bz2(d) search on linux (microsoft#23525)
  [HPX] Don't remove HPXCacheVariables.cmake during install (microsoft#23042)
  [earcut.hpp] New port (microsoft#23507)
  [libssh2] Fix deleted configfiles (microsoft#23509)
  [python3] Update to Python 3.10.2. (microsoft#23156)
  [qt5-webengine] Fix apply patch failed (microsoft#23484)
  [llvm] Fix LLVM install for 'utils' feature (microsoft#23399)
  [sciter-js] Updated sciter-js to 4.4.8.31 (microsoft#23357)
  [GTL] Add new port (microsoft#23400)
  [raylib] Fix cannot find -lglfw on Linux (microsoft#23348)
  [yato] fix arm build by updating (microsoft#23406)
  [ois] fix pkgconfig file not installed on windows (microsoft#23426)
  Fix the dependency of installing arrow with the parquet feature (microsoft#23423)
  [libjpeg-turbo] Fix usage when building static (microsoft#23427)
  [sentencepiece] Clarify supported triplets (microsoft#23438)
  [zpp-bits] Add new port (microsoft#23458)
  [lionkor-commandline] Add new port (microsoft#23471)
  [libde265] fix static linkage (microsoft#23479)
  [libheif] fix license (microsoft#23480)
  [proj4] Retain former features (fixes `vcpkg upgrade`) (microsoft#23487)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants