Package Details: wxpython-phoenix-git r3413.f04d103b-3

Git Clone URL: https://aur.archlinux.org/wxpython-phoenix-git.git (read-only)
Package Base: wxpython-phoenix-git
Description: Python 3 implementation of the WxPython UI library
Upstream URL: https://github.com/wxWidgets/Phoenix
Keywords: phoenix wxpython
Licenses: custom:wxWindows
Conflicts: python-wxpython, wxpython-phoenix-bin
Provides: wxpython-phoenix
Submitter: ase1590
Maintainer: None
Last Packager: ase1590
Votes: 5
Popularity: 0.000104
First Submitted: 2017-01-08 07:38
Last Updated: 2018-04-07 16:52

Pinned Comments

ase1590 commented on 2017-01-08 07:48

Keep in mind when using this package, I have renamed anything installed into /usr/bin (such as img2py, img2png etc.) to img2py-phoenix, img2png-phoenix etc. in order for it to coexist with wxpython. Also, you'll need at least 5 GB of space to compile this project. building it using a aur helper that uses tmpfs ramdisk is not advised.

Drop a comment here if you have issues. I may optionally e-mail you to resolve any complex problems.

Wxpython-phoenix 4.0.1-1 is now in the arch community repo under the name 'python-wxpython' with full python 3 support. the python2 package 'python2-wxpython3' is also optionally available.

Maintainer requests are welcome.

Notice: this package is very large to compile (>4GB) and will easily overload your memory if you try to build it with the default settings of yaourt. make sure you have at least 6 GB free on your hard drive, then try compiling with "makepkg" instead of using an aur helper.

Latest Comments

« First ‹ Previous 1 2

qft commented on 2017-07-20 00:59

This PKGBUILD addresses the problems I mentioned in the previous comment:

# Maintainer: Allen M. <ase1590@hotmail.com>

pkgname=wxpython-phoenix-git
pkgver=r3189.g3bd62d15
pkgrel=1
pkgdesc="Python 3 implementation of the WxPython UI library"
arch=('x86_64' 'i686')
url="https://github.com/wxWidgets/Phoenix"
license=('custom:wxWindows')
depends=('python')
makedepends=('mesa' 'glu' 'git' 'libpng' 'libjpeg-turbo' 'libtiff' 'sdl' 'gst-plugins-base' 'libnotify' 'freeglut' 'gtk3' 'webkit2gtk')
source=("$pkgname::git+${url}"
"git+https://github.com/wxWidgets/wxWidgets.git")
md5sums=('SKIP' 'SKIP')
provides=('wxpython-phoenix')
conflicts=('wxpython-phoenix-bin')

pkgver() {
cd "$srcdir/$pkgname"
printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare(){
cd "$srcdir/$pkgname"
git submodule init
git config submodule.ext/wxWidgets.url "$srcdir/wxWidgets"
git submodule update
}

build(){
cd "$srcdir/$pkgname"
python build.py dox etg --nodoc sip build --gtk3
}

package(){
cd "$srcdir/$pkgname"
python setup.py install --skip-build --root="$pkgdir/"
cd "$pkgdir/usr/bin/"
for file in *
do
mv "$file" "${file%}-phoenix"
done
cd "$srcdir/$pkgname/ext/wxWidgets/docs"
install -D -m644 licence.txt $pkgdir/usr/share/licenses/wxpython-phoenix/license.txt
}

qft commented on 2017-07-20 00:58

webkitgtk2 is not really required. As you may know webkitgtk2 is officially deprecated 3 years ago (https://trac.webkit.org/wiki/WebKitGTK/WebKit2Roadmap) and dropped from official Arch Linux repo. wxpython-phoenix can be built on top of webkit2gtk and gtk3, and this is going to be the default behavior in the near future (https://github.com/wxWidgets/Phoenix/issues/431).

Also wxgtk does not need to be a dependency, because wxWidgets is built at the same time as wxpython.

ase1590 commented on 2017-02-18 20:15

@berbigou

Since the package clones the WxWidgets git repo, the size of this will be close to 600mb before compile time. WxWidgets generates about a dozen precompiled header files that are 100-200mb in size during build time in addition to the many other compiled wxWidgets items. So yes, the 3 Gb size is to be expected. WxWidgets is a rather large library to compile.

berbigou commented on 2017-02-18 19:09

Is it normal to have to use 3 Gb in src folder for a 62 Mb package ?
I had to bind my tmp/...yaourt... folder to a disk not to fulfill my /tmp in memory...

ase1590 commented on 2017-01-08 07:48

Keep in mind when using this package, I have renamed anything installed into /usr/bin (such as img2py, img2png etc.) to img2py-phoenix, img2png-phoenix etc. in order for it to coexist with wxpython. Also, you'll need at least 5 GB of space to compile this project. building it using a aur helper that uses tmpfs ramdisk is not advised.

Drop a comment here if you have issues. I may optionally e-mail you to resolve any complex problems.

Wxpython-phoenix 4.0.1-1 is now in the arch community repo under the name 'python-wxpython' with full python 3 support. the python2 package 'python2-wxpython3' is also optionally available.

Maintainer requests are welcome.

Notice: this package is very large to compile (>4GB) and will easily overload your memory if you try to build it with the default settings of yaourt. make sure you have at least 6 GB free on your hard drive, then try compiling with "makepkg" instead of using an aur helper.