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

Add compatibility support for wxIconBundle to wxBitmapBundle #22347

Closed
wants to merge 7 commits into from

Conversation

Runtemund
Copy link
Contributor

No description provided.

@vadz
Copy link
Contributor

vadz commented Apr 21, 2022

This seems useful, thanks. Could you please

  • Fix the build errors due to missing includes.
  • Rebase on master to get rid of all the extra merges.
  • Add @since 3.1.7 to the new function documentation.

? TIA!

@vadz vadz added the work needed Too useful to close, but can't be applied in current state label Apr 21, 2022
@Runtemund
Copy link
Contributor Author

Can you please explain what exactly to do here: Rebase on master to get rid of all the extra merges. ? I have not yet completely understood the logic of git.

@vadz
Copy link
Contributor

vadz commented Apr 21, 2022

Can you please explain what exactly to do here: Rebase on master to get rid of all the extra merges. ? I have not yet completely understood the logic of git.

Just run git rebase master while being on your branch: this will replay all the commits on your branch from the tip of the (latest) master. If this results in any difficult to resolve conflicts, you can always abandon with git rebase --abort and use an alternative approach by creating a new branch from master (i.e. git checkout -b bmpbndl-iconbndl-new) and then cherry picking just the commits you need from your old branch and finally, after checking that the branch contents is identical (git diff add_icobdl_to_bmpbdl bmpbndl-iconbndl-new should show nothing), remove the old branch (git branch -D add_icobdl_to_bmpbdl) and rename the new branch to the old name (git branch -m bmpbndl-iconbndl-new add_icobdl_to_bmpbdl).

Note that you will need to "force push", i.e. use git push --force-with-lease, after doing either rebasing or cherry-picking.

@Runtemund
Copy link
Contributor Author

Runtemund commented Apr 21, 2022

Thank you very much, that helped a lot. But I am not sure if I can omit all commits. The first PR were erroneously done from master.., maybe this has an impact...

@Runtemund
Copy link
Contributor Author

Runtemund commented Apr 22, 2022

Hm, one job (Unix builds / Ubuntu 20.04 wxGTK with ASAN (pull_request) ) is failing. I have no idea what

ERROR: jinja2 3.1.1 has requirement MarkupSafe>=2.0, but you'll have markupsafe 1.1.0 which is incompatible.

in the log means. And above all, how could I fix it...?

@vadz vadz removed the work needed Too useful to close, but can't be applied in current state label Apr 23, 2022
@vadz
Copy link
Contributor

vadz commented Apr 23, 2022

The remaining error is due to a bug in ASAN that we can't do anything about, unfortunately. I believe it's the first time it crashed twice in a row, let's hope it's just bad luck... I'll rerun it once again to check.

As for commits, you don't have to omit all of them, of course, you can combine them in as many or as few commits as needed with git rebase -i. But I'll just do a (squash) merge myself for this one.

@vadz vadz closed this in 28f62b2 Apr 23, 2022
@Runtemund Runtemund deleted the add_icobdl_to_bmpbdl branch April 23, 2022 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants