Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 30 Sep 2014, 18:40
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Python with Bindings for Puppy 4 / Wine Doors Project
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
stevenbinion


Joined: 24 Aug 2007
Posts: 180
Location: Pittsburgh, PA - United States

PostPosted: Wed 28 May 2008, 18:54    Post subject:  Python with Bindings for Puppy 4 / Wine Doors Project
Subject description: wine-doors project phase I
 

I found a great Python bundle on the forums here that came with python-cairo, python-gtk and python-gobject. and it's covered my needs for some time now. but I've outgrown this as I need more bindings added to python.

I need to add the following bindings but don't know how, as once I get the packages and add them to Python the don't show up in the modules listing.

python-gnome2-desktop
python-rsvg
python-dbus
python-xml2
python-glade2

I've learned a lot about compiling, creating packages and squash files. now I just need some help with python bindings.

_________________
[Home of Wolf Pup Linux]

Last edited by stevenbinion on Tue 03 Jun 2008, 21:02; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
tombh


Joined: 12 Jan 2007
Posts: 422
Location: Bristol, UK

PostPosted: Mon 02 Jun 2008, 07:02    Post subject:  

Sorry I didn't reply sooner to your thread but I hadn't seen it.

It looks like you may have more Python experience than me. I've never compiled any Python stuff myself -- that Python bundle was just a collection that I simply put together in a single dotpet.

Though one thing I suspect is that there might be a problem if these extra bindings are compiled in Puppy 4 but you're adding to the Python bundle that was compiled in Puppy 3.

Also it might be helpful to know what your project is?

_________________
Colour-Memories Database
Back to top
View user's profile Send private message Visit poster's website 
stevenbinion


Joined: 24 Aug 2007
Posts: 180
Location: Pittsburgh, PA - United States

PostPosted: Mon 02 Jun 2008, 07:27    Post subject:  

tombh wrote:
Sorry I didn't reply sooner to your thread but I hadn't seen it.

It looks like you may have more Python experience than me. I've never compiled any Python stuff myself -- that Python bundle was just a collection that I simply put together in a single dotpet.

Though one thing I suspect is that there might be a problem if these extra bindings are compiled in Puppy 4 but you're adding to the Python bundle that was compiled in Puppy 3.

Also it might be helpful to know what your project is?


Thanks Tombh,

I haven't sit idle in any case. I went ahead and found several of the source package and so far have compiled and packaged the following.

python-2.5.2
python-cairo-1.4.12
python-gobject-2.14.2
python-gtk-2.12.1
python-dbus-0.82.4 // optional but seems to be in demand a lot.
python-orbit-2.14.3

These packages have been compiled, built, installed and show up in the modules list, however I'm not quite sure how to test them. they are available in PET & SFS I know it's a lot of SFS files but I plane to use the sfs combiner on whatever combination I decide on using. HERE

The following packages I couldn't find the source packages for and gave it a shot at building the pets from debian binaries. They install with no dependencie errors however I can not find them in Python's modules list. and again not quite up on Python enough to know how to test them.

python-pyrex-0.9.4.1 // optional but would be beneficial to performance
python-glade2-2.8.6
python-central-0.5.12 // optional, but required by python-pyrex
python-xml2-2.6.27

These are also available HERE if anyone could look at the packages and see if the file structure looks like it should, just don't download them expecting them to work as is.

Incase anyone is wondering why I am working on such a large python bundle. I'm working on making Wine-Doors available for Puppy if anyone has been to http://wine-doors.org you've seen the demanding dependency list they have. and the python-gnome2-desktop is even more demanding in dependencies then the python bundle.

_________________
[Home of Wolf Pup Linux]
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Mon 02 Jun 2008, 08:05    Post subject:  

m m m . . .
I was very interested in Python and found that when I copied code from tutorial examples, they did not work with the Python add on for Puppy.
Not good. Even worse if doing real development work.

The full python package (with the full libraries) is 30MB last time I looked.
A first stage is getting a full Python with all its coils . . .
Is there any mileage in using a Slackware module?

Who can help? Smile

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
stevenbinion


Joined: 24 Aug 2007
Posts: 180
Location: Pittsburgh, PA - United States

PostPosted: Mon 02 Jun 2008, 09:30    Post subject:  

Lobster wrote:
m m m . . .
I was very interested in Python and found that when I copied code from tutorial examples, they did not work with the Python add on for Puppy.
Not good. Even worse if doing real development work.

The full python package (with the full libraries) is 30MB last time I looked.
A first stage is getting a full Python with all its coils . . .
Is there any mileage in using a Slackware module?

Who can help? Smile


As far as full python package? I downloaded the source code from http://www.python.org for python 2.5.2 I compiled it and made a pet, I didn't cut anything from it.

and that I'm aware of I didn't miss any dependency packages.

_________________
[Home of Wolf Pup Linux]
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Mon 02 Jun 2008, 09:46    Post subject:  

OK - Barry is not a big fan of Python
so it might be worth contacting MU or ttuxxx

- Wine is now at RC for version 1
So your efforts with Winedoor - have a lot of potential

+ all the Windows themes in Ezpup
add MS Office (from a verified capitalist organisation) and a lot
of people would be very happy . . . Smile

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
stevenbinion


Joined: 24 Aug 2007
Posts: 180
Location: Pittsburgh, PA - United States

PostPosted: Mon 02 Jun 2008, 10:15    Post subject:  

Lobster wrote:
OK - Barry is not a big fan of Python
so it might be worth contacting MU or ttuxxx

- Wine is now at RC for version 1
So your efforts with Winedoor - have a lot of potential

+ all the Windows themes in Ezpup
add MS Office (from a verified capitalist organisation) and a lot
of people would be very happy . . . Smile


Actually WINE is now RC3. I'll contact MU again, and ttuuxxx... Also I found some of MU's packages and how he packed the DEV's as well. from your input about building on python, I'll work on doing the DEV packs too.

Thank you Lobster

_________________
[Home of Wolf Pup Linux]
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
stevenbinion


Joined: 24 Aug 2007
Posts: 180
Location: Pittsburgh, PA - United States

PostPosted: Mon 02 Jun 2008, 11:37    Post subject:  

tombh wrote:
Though one thing I suspect is that there might be a problem if these extra bindings are compiled in Puppy 4 but you're adding to the Python bundle that was compiled in Puppy 3.


well in this case lil or no difference. at least what I'm working on. my versions of puppy 3.01 & puppy 4.00 both are using the same kernel 2.6.21.7 and everything I currently have working has been compiled on 4.00 what doesn't seem to be working are the debian binaries.

_________________
[Home of Wolf Pup Linux]
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 03 Jun 2008, 06:23    Post subject:  

there are some pets here:

http://dotpups.de/puppy3/dotpups/Libraries/Gnome-2.19.2-libs/

Some are from the gdesklets-thread, some I compiled myself.
I don't remember, which I compiled myself.
You will depend on several gnome-libraries, too.
Mark

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
stevenbinion


Joined: 24 Aug 2007
Posts: 180
Location: Pittsburgh, PA - United States

PostPosted: Tue 03 Jun 2008, 06:33    Post subject:  

MU wrote:
there are some pets here:

http://dotpups.de/puppy3/dotpups/Libraries/Gnome-2.19.2-libs/

Some are from the gdesklets-thread, some I compiled myself.
I don't remember, which I compiled myself.
You will depend on several gnome-libraries, too.
Mark


Thanks Mark.

I've gathered most of those all ready and made a dependencies list. but I had no idea so many of the packages I needed were in pets all ready, and i thought I looked everywhere. Some of those I've all ready made newer versions. I'll be posting a link to the files and a tutorial though once I have the base for wine-doors to work.

_________________
[Home of Wolf Pup Linux]
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
stevenbinion


Joined: 24 Aug 2007
Posts: 180
Location: Pittsburgh, PA - United States

PostPosted: Tue 03 Jun 2008, 20:37    Post subject:  

all right, I'm just about there. I've been busy compiling python packages. and have most of my python bundle together that I've named python_plus-2.5.2. python plus includes the following packages so far.

Python-2.5.2-i686
pycairo-1.4.12-i686
pygobject-2.14.2-i686
pygtk-2.12.1-i686
dbus-python-0.82.4-i686
libxml2-2.6.32-i686
pyxdg-0.15-i686
pyorbit-2.14.3-i686

The complete bundle is available as python_plus-2.5.2_400.sfs;
12.5 Mb
md5sum: b5c90064b7bc6b717fa0f7bd78eca2cb python_plus-2.5.2_400.sfs

You can browse here for the .pet packages;
http://www.tekwolf.net/. . . ./pet_packages-4/programing/

You can browse here for the .sfs packages;
http://www.tekwolf.net/. . ./sfs_packages-4/programing/

Please let me know how the package is working at this point, I'm still needed to add python-glade2 to this package to complete it for the wine-doors project. I was informed this should be provided by the gtk package but I see no evidence of glade2 being present, if some one could lend some advice on this it would be appreciated.

At some point I may continue with an additional bundle for optional modules and dev packages. but once I have glade2 in place I'll be redirecting my attention to python gnome desktop which will finish up the dependencies for wine-doors.

_________________
[Home of Wolf Pup Linux]
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
stevenbinion


Joined: 24 Aug 2007
Posts: 180
Location: Pittsburgh, PA - United States

PostPosted: Thu 05 Jun 2008, 14:24    Post subject:  

Please continue with you're comments and suggestions here as they are helpful. I've still not confirmed if python-glade2 is working or not in python plus, so I'm hoping someone can test it out, but other wise this part of my project should be complete,

If you would follow me over to my new thread phase II for wine-doors. I'm building the "Python-Gnome-Desktop" and any suggestions or feed back will be welcomed.

http://murga-linux.com/puppy/viewtopic.php?p=203595#203595

_________________
[Home of Wolf Pup Linux]
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
Cur Dog

Joined: 22 Dec 2007
Posts: 60

PostPosted: Fri 13 Jun 2008, 17:50    Post subject:  

stevenbinion, I downloaded your python plus .sfs file and added to the boot manager but I am having trouble running a python program. I have added the.sfs file to a Dingo frugal install. Should your .sfs file be all that is needed or did I miss something?

Cur Dog
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0893s ][ Queries: 12 (0.0097s) ][ GZIP on ]