Hello,
Our software use wxPython. We’ve packaged it for our customers, but it might interest others on this mailing-list.
So, to be short, if you want to use the latest wxPython 2.9 on Ubuntu 12.04 without (patching and) compiling it, you can do:
sudo add-apt-repository ppa:delmic-soft/odemis
sudo apt-get updatesudo apt-get install python-wxgtk2.9That’s it
More precisely, this package is based on the wx-3.0 branch of the debian package (http://anonscm.debian.org/gitweb/?p=freewx/wx.git;a=shortlog;h=refs/heads/debian-wx3.0). ** I’ve disabled the debug build, which appears to have been removed in wx-2.9, and fixed a few more things. It’s build only for Ubuntu 12.04 (aka precise), but the source package will likely build for newer releases as well.**
Best,
Éric
Hello,
Our software use wxPython. We've packaged it for our customers, but it might
interest others on this mailing-list.
So, to be short, if you want to use the latest wxPython 2.9 on Ubuntu 12.04
without (patching and) compiling it, you can do:
sudo add-apt-repository ppa:delmic-soft/odemis
sudo apt-get update
sudo apt-get install python-wxgtk2.9That's it
That sounds great !
More precisely, this package is based on the wx-3.0 branch of the debian
package
(http://anonscm.debian.org/gitweb/?p=freewx/wx.git;a=shortlog;h=refs/heads/debian-wx3.0).
I'm looking to that but I get lost...
I've disabled the debug build, which appears to have been removed in wx-2.9,
and fixed a few more things. It's build only for Ubuntu 12.04 (aka precise),
but the source package will likely build for newer releases as well.
Could you make a step by step minimal guide about how did you build the package?
For example, I've made this for an alternate method:
http://wiki.wxpython.org/CheckInstall
Just some commands to start the process would be useful to me, I'm
also interested in build binary packages for 12.04 and 13.04 (both 32
and 64 bits), but with some modifications (for example, 2.9 should not
be the default version to import if 2.8 is installed)
I can help you to document this also if you want
Best regards,
Mariano Reingart
http://www.sistemasagiles.com.ar
···
On Thu, Jun 27, 2013 at 5:39 AM, <piel@delmic.com> wrote:
Hi,
The simplest way to rebuild the package for a different distro (release) should be along these lines:
(Install the PPA as indicated in my first email)
apt-get source python-wxgtk2.9
sudo apt-get build-dep python-wxgtk2.9
cd wxwidgets2.9-2.9.4.1
dch -i
enter a new changelog entry with your name (corresponding to your GPG signature), and the name of distro release (eg, “raring”).
export DEB_BUILD_OPTIONS=“parallel=4” # only to speed up a bit the build
debuild
You now have a package on your machine!
Alternatively, if you have a PPA, instead of the last line, you have to do:
debuild -S -sa
cd …
dput ppa:my/ppa-name wxwidgets2.9_2.9.4.1-1ubuntu1_source.changes
It will automatically build for i386 and amd64. There might be a way with the PPA to automatically build for multiple Ubuntu releases, but I don’t know it
See you,
Éric
···
On Friday, June 28, 2013 3:01:38 AM UTC+2, Mariano Reingart wrote:
Could you make a step by step minimal guide about how did you build the package?
Thanks!
Beside compiling the package, I wonder how to make it from the wxpython sources.
For example, downloading the wxpython 2.9 source and then making the deb.
(I would like to make some changes to the package to avoid import conflicts)
BTW, did you linked it statically? (only python-wxgtk2.9, or you also
build a libwxgtk2.9 package?)
Best regards
Mariano Reingart
http://www.sistemasagiles.com.ar
···
On Sun, Jun 30, 2013 at 5:36 AM, <piel@delmic.com> wrote:
On Friday, June 28, 2013 3:01:38 AM UTC+2, Mariano Reingart wrote:
Could you make a step by step minimal guide about how did you build the
package?Hi,
The simplest way to rebuild the package for a different distro (release)
should be along these lines:(Install the PPA as indicated in my first email)
Hi Mariano,
Bootstrapping the package is difficult (because you need to regenerate
the "original" tarball with some modifications). But once you have run
the commands I gave you, you've everything, including all the sources.
As soon as you update the changelog with your email address, it's your
package.
You can change the build settings in debian/rules (like the default wx
version).
It's not linked statically. There is a separate package for the wx
library. See debian/control.in (and the list of files there:
Packages in “Odemis” : Odemis : “Delmic Software” team)
See you,
�ric
···
On 01/07/13 01:37, Mariano Reingart wrote:
On Sun, Jun 30, 2013 at 5:36 AM, <piel@delmic.com> wrote:
On Friday, June 28, 2013 3:01:38 AM UTC+2, Mariano Reingart wrote:
Could you make a step by step minimal guide about how did you build the
package?Hi,
The simplest way to rebuild the package for a different distro (release)
should be along these lines:(Install the PPA as indicated in my first email)
Thanks!
Beside compiling the package, I wonder how to make it from the wxpython sources.
For example, downloading the wxpython 2.9 source and then making the deb.
(I would like to make some changes to the package to avoid import conflicts)BTW, did you linked it statically? (only python-wxgtk2.9, or you also
build a libwxgtk2.9 package?)