Opened 15 years ago
Closed 11 years ago
#21530 closed enhancement (fixed)
wxWidgets-devel and py26-wxpython universal portfiles
Reported by: | Veence (Vincent) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | wxWidgets wxpython universal | Cc: | sgaede@…, macfreek (Freek Dijkstra), jochen@…, lstoll@…, ndg.shopping@…, tzonghao@…, ajb78@…, jameskyle@…, domiman@…, jjstickel@…, michaelld (Michael Dickens), mkr@…, mojca (Mojca Miklavec) |
Port: | wxwidgets-devel, py26-wxpython |
Description
The following Portfiles allow one to build universal (and cocoa-based) versions of Wxwidgets 2.9.0 and the respective py26-wxwidgets (which is based on the svn head version).
I am sorry I do not propose patched Portfiles, but since I've made extensive changes, I am not sure patches would be meaningful. Ideally, existing Portfiles and the ones I append should be somehow merged, since I am unsure my Portfiles will allow to build anything else but universal variants. Also, I feel that the py26-wxwidgets, relying on svn, should be placed in a special port rather than being merged into py26-wxwidgets, which is already lagging one or two releases. Finally, I've not yet tested the result, but since wxcocoa is claimed to be at an alpha stage, I am unsure those Portfiles will be useful to anybody else than me.
Apologies for letting other do the dirty job of (maybe) merging and committing. I just hope those files will be somehow helpful keeping MacPorts up to date with wxWidgets and its python counterpart.
Attachments (9)
Change History (40)
Changed 15 years ago by Veence (Vincent)
Changed 15 years ago by Veence (Vincent)
Attachment: | patch-propgrid_wrap.diff added |
---|
Patch #1 for "py26-wxpython-devel"
Changed 15 years ago by Veence (Vincent)
Attachment: | patch-setup_py.diff added |
---|
Patch #2 for "py26-wxpython-devel"
Changed 15 years ago by Veence (Vincent)
Attachment: | Portfile.2 added |
---|
Changed 15 years ago by Veence (Vincent)
Attachment: | patch_bk_make_pch.diff added |
---|
Patch #1 for wxwidgets-devel
Changed 15 years ago by Veence (Vincent)
Attachment: | patch_setup_h added |
---|
patch #2 for wxwidgets-devel
Changed 15 years ago by Veence (Vincent)
Attachment: | patch_textctrl_mm.diff added |
---|
patch #3 for wxwidgets-devel
comment:1 follow-up: 5 Changed 15 years ago by Veence (Vincent)
Portfile.2 is the Portfile for wxwidgets-devel universal
comment:2 Changed 15 years ago by Veence (Vincent)
The line:
append bopts "--install-headers=${prefix}/include "
in the Portfile for py26-wxpython is wrong. It incorrectly install headers in ${prefix}/include instead of ${prefix}/include/wx-devel, the path used by wxwidgets-devel. So it should read:
append bopts "--install-headers=${prefix}/include/wx-devel "
instead.
comment:3 Changed 15 years ago by Veence (Vincent)
The portfile for py26-wxwidgets-devel was particularly ugly. I join a new, more aesthetic and much more understandable one. It also solves an issue that was present in the former version: the *.h files install directory is wrong, even with the --install-headers patch, because config.py overrides the default behavior. The portfiles solves this thanks to an additional patch. I will report this bug upstream.
Finally, sorry for being (too much) verbose.
Changed 15 years ago by Veence (Vincent)
Attachment: | Portfile.3 added |
---|
New Portfile for "py26-wxpython-devel"
Changed 15 years ago by Veence (Vincent)
Attachment: | patch-config_py.diff added |
---|
Additional patch for py26-wxpython-devel
comment:5 Changed 15 years ago by sgaede@…
Replying to vince@…:
Portfile.2 is the Portfile for wxwidgets-devel universal
I'm trying to build wxWidgets-devel using the new Portfile, but I'm new at this, and need help, I did a port extract wxWidgets-devel / then manually replaced the Portfile with Portfile.2 and renamed it / created a files subdirectory (graphics/wxWidgets-delev/files) and put the three patch files there.
Can someone point me to a howto?
Thanks
comment:11 Changed 15 years ago by ndg.shopping@…
Are there any news on this? I am really waiting for the wxWidgets and the problem is too dificult for me to handle it alone ;/
comment:15 Changed 15 years ago by jmroot (Joshua Root)
Cc: | jameskyle@… added |
---|
comment:21 follow-up: 23 Changed 15 years ago by jjstickel@…
I am trying to install these 64 bit, cocoa portfiles on 10.6. wxWidgets-devel installs fine, but I am getting errors with the provided py26-wxwidgets-devel portfile. First, the h-propgrid_wrap.diff patch did not apply cleanly. I suspect this is due to further changes to the svn sources, and so I hacked the portfile to not apply it. Then I get this error:
In file included from src/helpers.cpp:16: include/wx/wxPython/wxPython_int.h:49:24: error: wx/infobar.h: No such file or directory src/helpers.cpp: In member function 'void wxPyApp::_BootstrapApp()': <snip>
Any suggestions about how to fix this? Another patch or updated portfile?
Thanks, Jonathan
comment:23 Changed 15 years ago by jjstickel@…
Replying to jjstickel@…:
I am trying to install these 64 bit, cocoa portfiles on 10.6. wxWidgets-devel installs fine, but I am getting errors with the provided py26-wxwidgets-devel portfile.
...
OK, after some poking around it seems that wxpython-devel (svn) will not compile against wxwidgets-2.9.0 anymore. The latest development sources of wxwidgets (svn) are now needed (not too surprising). Anyone keeping up on the status of these projects? Do you know of any planned releases of development snapshots so that we do not have to rely on the ever-changing svn sources? Would it be possible to create snapshots and put them on a macports server?
Thanks, Jonathan
comment:24 follow-up: 25 Changed 15 years ago by jjstickel@…
For a workaround not requiring the use of development sources, see ticket #24350.
comment:25 follow-up: 26 Changed 14 years ago by ruud@…
Replying to jjstickel@…:
For a workaround not requiring the use of development sources, see ticket #24350.
Since that ticket is closed, can this ticket be closed as well?
comment:26 Changed 14 years ago by jjstickel@…
Replying to ruud@…:
Replying to jjstickel@…:
For a workaround not requiring the use of development sources, see ticket #24350.
Since that ticket is closed, can this ticket be closed as well?
This ticket is about cocoa-supported wxwidgets and wxpython. I would say it is appropriate to keep it open until wxpython upstream makes a release that supports cocoa.
comment:28 Changed 11 years ago by mojca (Mojca Miklavec)
I'm going through old wxpython tickets and believe this one can be closed now? Or is there anything here that hasn't yet been included in MacPorts trunk?
comment:31 Changed 11 years ago by mojca (Mojca Miklavec)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 1.8.0 |
The wxPython 2.9 ports now support Cocoa, so I'm closing the ticket even if I didn't take a closer look at all the patches that were written 4 years ago. If there is anything missing in the wxPython ports that are currently in MacPorts, please don't hesitate to ask.
Portfile for "py26-wxpython-devel"