Daniel Winters <dan...@tydirium.org> writes: > Hi ports@,
Hi Daniel, > attached is a tarball for a new port for wxGlade, a wxwidgets interface > designer: > > wxGlade is a GUI designer written in Python with the popular GUI > toolkit wxPython, that helps you create wxWidgets/wxPython user > interfaces. At the moment it can generate Python, C++, Perl, Lisp and > XRC (wxWidgets' XML resources) code. > > As you can guess by the name, its model is Glade, the famous GTK+/GNOME > GUI builder, with which wxGlade shares the philosophy and the look & > feel (but not a line of code). > > It is not (and will never be) a full featured IDE, but simply a > "designer": the generated code does nothing apart from displaying the > created widgets. If you are looking for a complete IDE, maybe Boa > Constructor, PythonCard or Spe (which includes wxGlade itself, BTW...) > is the right tool. Looks fine to me, tested a bit with python code. Some nits: - I'd probably import it in x11 instead of devel. ("devel/ is too crowded".) - the wxglade script should probably use ${SUBST_CMD} + ${MODPY_BIN} (absolute path) instead of hardcoding python2.7. Actually this shell script contains lots of stuff that don't make sense in a system-wide install, looking for code to execute in nearby directories. Upstream, it should probably be handled by setuptools entry_points/gui_scripts. We could strip it down to: #!/bin/sh exec ${MODPY_BIN} -m wxglade.wxglade "$@" - in DESCR: It is not (and will never be) a full featured IDE, but simply a "designer": the generated code does nothing apart from displaying the created widgets. If you are looking for a complete IDE, maybe Boa Constructor, PythonCard or Spe (which includes wxGlade itself, BTW...) is the right tool. I understand that this comes from upstream, but those projects look pretty dead and aren't included in the ports tree. What about killing the last sentence? The tarball attached installs the manpage in the right place, adjusts python shebangs and partially enables tests (some need X11). Thoughts?
wxglade.tgz
Description: Binary data
-- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE