ptitSeb
Serial Porter
Here is wxPython, a PND that can be used as a Runtime for using Python with QT, GTK, wxWidget, pyGame, and more, and can also be used to develop software using thoses technologies.
History log
========
Build 12
----------
----------
Build 10
----------
Build 09
----------
Build 08
----------
Build 07
----------
Build 06
----------
----------
----------
----------
----------
----------
Don't forget to setup the many needed export like HOME, XDG_CONFIG_HOME, etc... (LD_LIBRARY_PATH is taken care by the wxpython.sh script, but you can add other folders).
Lanch your software with some python /path/to/my/soft.py or something like that
And at the end, unmount the PND with
You can also see how already existing package do: Anki, BitMessage or Printrun.
*2014.07.26*: Refined a bit the mount/unmount script.

History log
========
Build 12
----------
- Downgrade QtWebKit to make Anki works again
- Updated some libs (ssl related)
----------
- Update Python to 2.7.10
- Update Qt to 4.8.7
Build 10
----------
- Some improvment for Ren'py games (enabling more sound & music)
Build 09
----------
- Added PyOpenGL
- Added experimental Ren'py 6.17 (with GLES2 support).
Build 08
----------
- Fixed build, with QT rebuilded (but still downgraded QtWebKit).
- The qtdemo now works with text and pictures
- Refined launch script (colored ls...)
Build 07
----------
- Downgraded QtWebKit (fixing Anki)
Build 06
----------
- Update Python to 2.7.8
- Update wxWidgets to 3.0.1, with webview
- Update Qt4 to 4.8.6
----------
- Update GTK libs (based on 2.24 now)
- added a couple more libs
- fixed some typo in intro text
----------
- fixed distutils, so bitmessage works
----------
- added tcl/tk 8.5 libs, so Tkinter is usable
----------
- Added PyQT and QT4.7 libs
----------
- Initial release
- Include Python 2.7.3 and wxPython lib, along with wxWidget 3.0 libs
- Include a large set of python libs
- wxGlade is usable
# search and mount wxpython config...
pnd_cb="wxpython-ptitseb"
pnd_folder="wxpython"
if [ -e /mnt/utmp/$pnd_folder/build ];then
allready=1
else
#check if it exist
if [ ! -e /usr/share/applications/$pnd_cb*.desktop ];then
zenity --error --title "Bitmessage" --text="Error, cannot find wxPython PND. You need to install it first!"
exit
fi
#grab where is the pnd
pnd_path=$(sed -n 's/.*X-Pandora-Object-Path *= *\([^ ]*.*\)/\1/p' < /usr/share/applications/$pnd_cb*.desktop)
pnd_name=$(sed -n 's/.*X-Pandora-Object-Filename *= *\([^ ]*.*\)/\1/p' < /usr/share/applications/$pnd_cb*.desktop)
path_to_pnd=$pnd_path/$pnd_name
#automount it
/usr/pandora/scripts/pnd_run.sh -p $path_to_pnd -b $pnd_folder -m
fi
#check version of PND
if [ -e /mnt/utmp/$pnd_folder/build ];then
wxpython_build=`cat /mnt/utmp/wxpython/build`
else
wxpython_build=0
fi
echo wxpython pnd build $wxpython_build
if [ $wxpython_build -lt 4 ];then
zenity --error --title "Bitmessage" --text="Error, your wxPython PND is too old. Please update it!"
if [ ! "$allready" = "1" ];then
unset LD_LIBRARY_PATH /usr/pandora/scripts/pnd_run.sh -p $path_to_pnd -b $pnd_folder -u &
fi
exit
fi
#ok, now run wxpython init script
cd /mnt/utmp/$pnd_folder
. wxpython.sh
cd $pwd
pnd_cb="wxpython-ptitseb"
pnd_folder="wxpython"
if [ -e /mnt/utmp/$pnd_folder/build ];then
allready=1
else
#check if it exist
if [ ! -e /usr/share/applications/$pnd_cb*.desktop ];then
zenity --error --title "Bitmessage" --text="Error, cannot find wxPython PND. You need to install it first!"
exit
fi
#grab where is the pnd
pnd_path=$(sed -n 's/.*X-Pandora-Object-Path *= *\([^ ]*.*\)/\1/p' < /usr/share/applications/$pnd_cb*.desktop)
pnd_name=$(sed -n 's/.*X-Pandora-Object-Filename *= *\([^ ]*.*\)/\1/p' < /usr/share/applications/$pnd_cb*.desktop)
path_to_pnd=$pnd_path/$pnd_name
#automount it
/usr/pandora/scripts/pnd_run.sh -p $path_to_pnd -b $pnd_folder -m
fi
#check version of PND
if [ -e /mnt/utmp/$pnd_folder/build ];then
wxpython_build=`cat /mnt/utmp/wxpython/build`
else
wxpython_build=0
fi
echo wxpython pnd build $wxpython_build
if [ $wxpython_build -lt 4 ];then
zenity --error --title "Bitmessage" --text="Error, your wxPython PND is too old. Please update it!"
if [ ! "$allready" = "1" ];then
unset LD_LIBRARY_PATH /usr/pandora/scripts/pnd_run.sh -p $path_to_pnd -b $pnd_folder -u &
fi
exit
fi
#ok, now run wxpython init script
cd /mnt/utmp/$pnd_folder
. wxpython.sh
cd $pwd
Don't forget to setup the many needed export like HOME, XDG_CONFIG_HOME, etc... (LD_LIBRARY_PATH is taken care by the wxpython.sh script, but you can add other folders).
Lanch your software with some python /path/to/my/soft.py or something like that
And at the end, unmount the PND with
#unmount wxPython
unset LD_LIBRARY_PATH
if [ ! "$allready" = "1" ];then
/usr/pandora/scripts/pnd_run.sh -p $path_to_pnd -b $pnd_folder -u &
fi
unset LD_LIBRARY_PATH
if [ ! "$allready" = "1" ];then
/usr/pandora/scripts/pnd_run.sh -p $path_to_pnd -b $pnd_folder -u &
fi
You can also see how already existing package do: Anki, BitMessage or Printrun.
*2014.07.26*: Refined a bit the mount/unmount script.
Last edited: