Skip to content

[sdl2-image] Features must use sdl2[x11] on Linux#23725

Merged
strega-nil-ms merged 42 commits intomicrosoft:masterfrom
Thomas1664:sdl2-image
Apr 15, 2022
Merged

[sdl2-image] Features must use sdl2[x11] on Linux#23725
strega-nil-ms merged 42 commits intomicrosoft:masterfrom
Thomas1664:sdl2-image

Conversation

@Thomas1664
Copy link
Copy Markdown
Contributor

Describe the pull request

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

Copy link
Copy Markdown

@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.

Details

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

  • ports/sdl2-image/vcpkg.json

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

@Thomas1664
Copy link
Copy Markdown
Contributor Author

Note: Need to test all features

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

@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.

Details

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

  • ports/sdl2-image/vcpkg.json

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

Copy link
Copy Markdown

@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.

Details

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

  • ports/sdl2-image/vcpkg.json

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

@JonLiu1993
Copy link
Copy Markdown
Contributor

All features are tested successfully in the following triplet:

  • x86-windows
  • x64-windows
  • x64-windows-static

@JonLiu1993 JonLiu1993 added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Mar 23, 2022
@JonLiu1993 JonLiu1993 added requires:author-response and removed info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. labels Mar 23, 2022
@dg0yt
Copy link
Copy Markdown
Contributor

dg0yt commented Mar 23, 2022

I realize that this port uses a custom build CMake system. So some problems are native to vcpkg. Maybe it needs a more general review towards best practice for CMake, instead of local modifications.

Upstream has a CMake build system now in the main branch but I don't know if it is feasible to backport that one.

@Thomas1664
Copy link
Copy Markdown
Contributor Author

Thomas1664 commented Mar 23, 2022

I think I tried to fix the wrong thing. The DLL thing was never a problem. The problem is that sdl2-image incorrectly consumes sdl2 because on Linux the feature x11 is needed. I'll fix that in the evening (UTC).

@Thomas1664 Thomas1664 marked this pull request as draft March 23, 2022 10:34
Copy link
Copy Markdown

@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.

Details

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

  • ports/sdl2-image/vcpkg.json
  • ports/sdl2/vcpkg.json
  • ports/sdl2pp/vcpkg.json

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

Copy link
Copy Markdown

@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.

Details

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

  • ports/sdl2-image/vcpkg.json
  • ports/sdl2/vcpkg.json

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

@Thomas1664 Thomas1664 marked this pull request as draft March 27, 2022 20:26
@JonLiu1993 JonLiu1993 removed the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Mar 28, 2022
Copy link
Copy Markdown

@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.

Details

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

  • ports/sdl2-image/vcpkg.json
  • ports/sdl2/vcpkg.json

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

@Thomas1664 Thomas1664 marked this pull request as ready for review March 30, 2022 09:32
Copy link
Copy Markdown

@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.

Details

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

  • ports/sdl2-image/vcpkg.json
  • ports/sdl2/vcpkg.json

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

@kogiokka
Copy link
Copy Markdown

I've tested it. Now I can successfully load both image types.

@Thomas1664
Copy link
Copy Markdown
Contributor Author

@JackBoosY Can you please review this PR?

Copy link
Copy Markdown

@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.

Details

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

  • ports/sdl2-image/vcpkg.json
  • ports/sdl2/vcpkg.json

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

@JackBoosY JackBoosY added info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. and removed requires:author-response labels Apr 15, 2022
@strega-nil-ms
Copy link
Copy Markdown
Contributor

LGTM, thanks!

@strega-nil-ms strega-nil-ms merged commit 05bcc5f into microsoft:master Apr 15, 2022
@Thomas1664 Thomas1664 deleted the sdl2-image branch April 15, 2022 21:17
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: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.

[sdl2-image] JPEG and WEBP features do not work on Linux

6 participants