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

[gtk3] Add new/old port gtk3 #24136

Closed
wants to merge 7 commits into from
Closed

Conversation

talregev
Copy link
Contributor

[gtk3] Add new/old port gtk3.

Please help me to make this port useable again. Thank you.

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 portfile where deprecated functions are used.

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/gtk3/portfile.cmake

@JackBoosY
Copy link
Contributor

Seems we already have a PR to add gtk3: #22201

@JackBoosY JackBoosY self-assigned this Apr 14, 2022
@JackBoosY JackBoosY added the category:new-port The issue is requesting a new library to be added; consider making a PR! label Apr 14, 2022
@talregev
Copy link
Contributor Author

Seems we already have a PR to add gtk3: #22201

Yes, but it have a lot of troubles, and it take a lot of time to merge. This old one already approve to master. I just try to revive it.
Also @dg0yt Tell me if I want to talk with "we", I should do it first.
So, @dg0yt you are welcome to help me as well.

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 portfile where deprecated functions are used.

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/gtk3/portfile.cmake

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: Local changes detected for gtk3 but no changes to version or port version.
-- Version: 3.22.19
-- Old SHA: 1a77ead339d62434a63556e816fe3b4dba3335f9
-- New SHA: ff4669afedbd57300cd96e2b4c8eb3867f005a8b
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***

You have modified or added at least one portfile where deprecated functions are used.

If you feel able to do so, please consider migrating them to the new functions:
vcpkg_install_cmake -> vcpkg_cmake_install (from port vcpkg-cmake)
vcpkg_build_cmake -> vcpkg_cmake_build (from port vcpkg-cmake)
vcpkg_configure_cmake -> vcpkg_cmake_configure (Please remove the option PREFER_NINJA) (from port vcpkg-cmake)
vcpkg_fixup_cmake_targets -> vcpkg_cmake_config_fixup (from port vcpkg-cmake-config)

In the ports that use the new function, you have to add the corresponding dependencies:

{
  "name": "vcpkg-cmake",
  "host": true
},
{
  "name": "vcpkg-cmake-config",
  "host": true
}

The following files are affected:

  • ports/gtk3/portfile.cmake

@talregev
Copy link
Contributor Author

It not find the:
find_library(LIBINTL_LIBRARY
@dg0yt @JackBoosY Can you help?

@talregev
Copy link
Contributor Author

I did as much as I can. I am not sure why the old port don't work out of the box.
Now there many linkage and compilation errors. At least it find all the libraries.

@JackBoosY
Copy link
Contributor

Will handle this PR later.

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: Local changes detected for gtk3 but no changes to version or port version.
-- Version: 3.22.19
-- Old SHA: 6c253e1857e8042f489ca75da087a1e39292121a
-- New SHA: e7ddf51f8617899ae25e11f545a17e23308b7529
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***

@JackBoosY
Copy link
Contributor

Will handle the headers installation later.

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: Local changes detected for gtk3 but no changes to version or port version.
-- Version: 3.22.19
-- Old SHA: 8c1c2927050dc6b27970b312a4d1a4b38abaaaf9
-- New SHA: 13000431f9bd0843578086a2815706ec969deccf
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***

ports/gtk3/CMakeLists.txt Outdated Show resolved Hide resolved
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: Local changes detected for gtk3 but no changes to version or port version.
-- Version: 3.22.19
-- Old SHA: 8c1c2927050dc6b27970b312a4d1a4b38abaaaf9
-- New SHA: fe1bf2d9a05e70fb4e2e1385a2988c3bea2e018a
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***

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: Local changes detected for gtk3 but no changes to version or port version.
-- Version: 3.22.19
-- Old SHA: 8c1c2927050dc6b27970b312a4d1a4b38abaaaf9
-- New SHA: 365598e73f90ae0d4f28358c40c5db707d26a788
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***

@JackBoosY
Copy link
Contributor

The section about adding source files in CMakeLists.txt must be refactored to fully accommodate all systems.

@talregev
Copy link
Contributor Author

The section about adding source files in CMakeLists.txt must be refactored to fully accommodate all systems.

Can you do that?

@talregev talregev closed this May 3, 2022
@talregev talregev deleted the TalR/gtk3 branch May 7, 2022 05:42
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!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants