Author Topic: Compiling Wxgtk & Pygtk Question  (Read 2647 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Compiling Wxgtk & Pygtk Question
« on: August 30, 2006, 07:11:24 am »
Hi, there,

As some may have noticed, the current wxgtk package only contains the libraries without the include  headers and the wx-config in the SDK wrongly linked to the dir in sashz's own computer, while there is one very old build of wxwindows in a 5500 feed; and there is simply no pygtk package for pdax compiled so far [EDITED: this is WRONG. See the post #6 below    ].  Some useful apps need them to build, such as gjots2 (depending on pygtk, gnome-python and pyorbit) and poEdit (depending on wxgtk/wxwidgets).
After some trials, I manage to compile (both cross and natively) a new and full-fledged version of wxgtk and pygtk, and am just thinking of putting them up here.    
Before I do that, I just wanna ask one stupid question: both wxgtk and pygtk show version numbers that seem to correspond to the GTK version numbers, e.g. pygtk 2.8 looks for gtk > 2.8. If that is the case, shall I go for wxgtk and pygtk versions matching exactly the current version of GTK in pdaX (= 2.6.2)?    

Many thanks!
« Last Edit: August 30, 2006, 10:45:39 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Compiling Wxgtk & Pygtk Question
« Reply #1 on: August 30, 2006, 07:52:13 am »
Quote
Before I do that, I just wanna ask one stupid question: both wxgtk and pygtk show version numbers that seem to correspond to the GTK version numbers, e.g. pygtk 2.8 looks for gtk > 2.8. If that is the case, shall I go for wxgtk and pygtk versions matching exactly the current version of GTK in pdaX (= 2.6.2)?   
No idea, maybe take a look at how other distros name them?
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Compiling Wxgtk & Pygtk Question
« Reply #2 on: August 30, 2006, 07:57:48 am »
Quote
Quote
Before I do that, I just wanna ask one stupid question: both wxgtk and pygtk show version numbers that seem to correspond to the GTK version numbers, e.g. pygtk 2.8 looks for gtk > 2.8. If that is the case, shall I go for wxgtk and pygtk versions matching exactly the current version of GTK in pdaX (= 2.6.2)?   
No idea, maybe take a look at how other distros name them?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140163\"][{POST_SNAPBACK}][/a][/div]

Thanks. I have already checked out the docs in the sources and the official sites but i have yet to see a clue.  Any hint would be much appreciated!  

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Compiling Wxgtk & Pygtk Question
« Reply #3 on: August 30, 2006, 09:42:30 am »
I've seen debian packages depending on pygtk 2.6 and gtk+ 2.8, so my guess is it doesn't matter.

BTW : an old version of pygtk is in one of the (very) old feeds (but still usable).

Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Compiling Wxgtk & Pygtk Question
« Reply #4 on: August 30, 2006, 09:57:44 am »
Quote
I've seen debian packages depending on pygtk 2.6 and gtk+ 2.8, so my guess is it doesn't matter.

BTW : an old version of pygtk is in one of the (very) old feeds (but still usable).

Chero.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Hey thanks for the hint, Chero!
Yet my question is whether a pygtk/wxgtk with a greater version number than gtk is usable with that version of gtk, e.g. pygtk 2.9 & gtk 2.6. Your example may not be a problem coz pygtk has got a lower version number than that of gtk.
Still my impression (illusion?) is that the version numbers of pygtk (and/or wxGTK/wxWidgets) seem to go up along with the version numbers of gtk. Is that true?    
I ask this because I remember when trying to compiling pygtk 2.8 I got a GTK version checking error at configure time which complained about not high enough version of gtk+ (> 2.8).  
The problem of that old package (wxWindows 2.5.1 - sidenote: wxWindows is the older name for wxWidgets) is that it doesn't seem to be updated enough for the current versions of some programs, such as poEdit. Plus I am not sure whether that package would create confusion with the current wxWidgets (2.6.1) package in here: [a href=\"http://mail.pdaxrom.org/contrib/1.1.0beta3/Zaurus-7x0-860/feed/]http://mail.pdaxrom.org/contrib/1.1.0beta3...s-7x0-860/feed/[/url] .  Also wx-config and the headers are missing in the 2.6.1 package. As I mentioned the wx-config in the SDK only links to some path in sashz's computer. After make I have to remove wx-config and create a correct link before packaging and installing.  
(BTW actually I already got poEdit compiled and packaged based on my test package of wxGTK-2.6.3 and have been testing it for a couple of days. It seems kinda working.     )

Any more hints? Thanks in advance!
« Last Edit: August 30, 2006, 10:11:53 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Compiling Wxgtk & Pygtk Question
« Reply #5 on: August 30, 2006, 10:43:52 am »
Quote
I've seen debian packages depending on pygtk 2.6 and gtk+ 2.8, so my guess is it doesn't matter.

BTW : an old version of pygtk is in one of the (very) old feeds (but still usable).

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140180\"][{POST_SNAPBACK}][/a][/div]

Sorry Chero, you are right. There are pygtk packages in the Beta1 and Beta3 feeds.
Actually what I found missing there are the pkgconfig, pygtk, codegen and defs stuff, which show up in my trial builds. They are essential to build apps depending on pygtk.  

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]