Page MenuHomeFreeBSD

x11-toolkits/py-wxPython41: Add new port and use it as default wx python
ClosedPublic

Authored by lbartoletti on Jan 28 2022, 1:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 1 2024, 3:06 AM
Unknown Object (File)
Nov 28 2023, 3:08 PM
Unknown Object (File)
Nov 28 2023, 3:02 PM
Unknown Object (File)
Nov 26 2023, 3:39 PM
Unknown Object (File)
Nov 26 2023, 12:15 PM
Unknown Object (File)
Nov 23 2023, 3:28 PM
Unknown Object (File)
Nov 23 2023, 3:28 PM
Unknown Object (File)
Nov 23 2023, 3:13 PM

Details

Summary
  • Import py-wxPython41
  • Fix wxgtk31 for string (as for wxgtk30: wxPython requires

unicode/std-string and not utf8)

  • Use wxPython41 and bump to wxgtk31

Some words for kicad*:

  • Since wxgtk31 uses gl, I have to enable KICAD_USE_EGL.
  • But for devel/kicad, I disable KICAD_USE_BUNDLED_GLEW to use

system GLEW and I need to link to graphics/glew-wayland for
include/GL/eglew.h

Questions:

  • Shall I remove py-wxPython40?
  • Or, is py-wxPython40 should be renamed py-wxPython and bump to 4.1?
Test Plan
  • poudriere 13amd64
  • local exp-run
  • test ports

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tcberner added inline comments.
Mk/bsd.wx.mk
140–141

^3.1, not 4.1?

cad/kicad-devel/Makefile
71

would possibly be nicer using CMAKE_ON

x11-toolkits/py-wxPython41/Makefile
22 ↗(On Diff #102049)

TODO: USE_WX -- remove bsd.wx.mk and create Mk/Uses/wx.mk

Mk/bsd.wx.mk
140–141

Yes, it's (tricky and it's) for wxgtk3.1

cad/kicad-devel/Makefile
71

You're right of course ;)
I didn't want to rewrite the Makefile (for now)

x11-toolkits/py-wxPython41/Makefile
22 ↗(On Diff #102049)

Ah! Yes!
I wondered why it wasn't Mk/Uses/wx.mk

lgtm, but you should include portrevision bumps for the ports that have their USE_WX bumped.

This revision is now accepted and ready to land.Jan 28 2022, 5:59 PM

Thanks. And for my questions? What's your preference?

Thanks. And for my questions? What's your preference?

@tcberner and others gentle ping :)

Shall I remove py-wxPython40?
Or, is py-wxPython40 should be renamed py-wxPython and bump to 4.1?

py-wxPython40 will no longer be used after this PR.

Moin moin

Thanks for the reminder.

If there is no reason to have multiple wxPthon4* ports I would suggest to only keep one -- and rename it to something stable under minor upgrades, like x11-toolkits/py-wxPython4 -- if that naming makes sense in the context :) or even x11-toolkits/py-wxPython.

mfg Tobias

Moin moin

Thanks for the reminder.

If there is no reason to have multiple wxPthon4* ports I would suggest to only keep one -- and rename it to something stable under minor upgrades, like x11-toolkits/py-wxPython4 -- if that naming makes sense in the context :) or even x11-toolkits/py-wxPython.

mfg Tobias

Thanks, it will be x11-toolkits/py-wxPython4

  • remove py-wxPython40 and rename 41 to 4
  • Add MOVED
This revision now requires review to proceed.Feb 24 2022, 3:17 PM
lbartoletti retitled this revision from [WIP] x11-toolkits/py-wxPython41: Add new port and use it as default wx python to x11-toolkits/py-wxPython41: Add new port and use it as default wx python.Feb 24 2022, 3:20 PM

You could also create an UPDATING entry with the proper pkg-command to ease the upgrade path.

This revision was not accepted when it landed; it landed in state Needs Review.Mar 24 2022, 4:44 PM
This revision was automatically updated to reflect the committed changes.