OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: ZDevil on August 30, 2006, 07:11:24 am

Title: Compiling Wxgtk & Pygtk Question
Post by: ZDevil 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!
Title: Compiling Wxgtk & Pygtk Question
Post by: desertrat 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?
Title: Compiling Wxgtk & Pygtk Question
Post by: ZDevil 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!  
Title: Compiling Wxgtk & Pygtk Question
Post by: Chero 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.
Title: Compiling Wxgtk & Pygtk Question
Post by: ZDevil 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] (http://index.php?act=findpost&pid=140180\")

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!
Title: Compiling Wxgtk & Pygtk Question
Post by: ZDevil 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.