maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   PyPackager (https://talk.maemo.org/showthread.php?t=9617)

Khertan 2007-09-09 21:33

PyPackager
 
http://khertan.net/images/pypackager1.png

I've just release an alpha version of PyPackager, a small GUI tool to create package on maemo based on bdist_maemo.

You can find it on my web site : http://khertan.net/

It s an alpha version.

Khertan 2007-09-11 08:01

Re: PyPackager
 
PyPackager 0.2.0 is available. Now PyPackager remove MacOSX hidden file when making a package.

twaelti 2007-09-11 09:33

Re: PyPackager
 
You are my saviour :-) This way, I might finally be able to pack my "mClock" application into something distributable!
One first question: What kind of stuff do I need to put in the source folder? How to structure it (subfolders?) I put the two .py files in there, plus some .jpg-Images. However, I've also prepared a mClock.desktop file and a .png-Icon. Do they get used or do you create a default.desktop and icon yourself within pyPackager?
(is it based on the updated script available here? this would already offer icon support)

Glad for two lines of help :-)
Thanks!
-Tom

pipeline 2007-09-11 18:15

Re: PyPackager
 
I'm also interested in example... i just have 1 .py file in directory and nothing happens

Traecer 2007-09-11 19:01

Re: PyPackager
 
OH thank you! This will come in handy, if I can ever get my app to work!

Khertan 2007-09-11 20:16

Re: PyPackager
 
I ll write a tutorial on how to use it.

But briefly,

It s a tool to create a package from a folder witch contains the files to install in tree structure.

For example, for a simple python script nammed 'plong.py' launched by a sh script you need to create this structure in a folder nammed 'sources' :

sources/usr/bin/plong (a sh file with a simple command : python '/usr/lib/plong/plong.py'
sources/usr/lib/plong/plong.py
sources/usr/share/application/hildon/plong.desktop
sources/usr/share/pixmaps/plong.png

then select the folder 'sources' with the choose folder in PyPackager

Khertan 2007-09-12 07:44

Re: PyPackager
 
A new version of PyPackager is available. I've added an open/save function to open and save package project, i've added an icon, and added an function to calc automatically the "installed-size" information in created package.

Still available on my web site : http://khertan.net/
Don't hesitate to report any bugs to my bugs tracker.

twaelti 2007-09-12 13:59

Re: PyPackager
 
1 Attachment(s)
Quote:

Originally Posted by Khertan (Post 74973)
A new version of PyPackager is available.

...and allowed me to finally create a PACKAGED alpha version of mClock, my simple clock for the N800 that includes a day/night worldmap. Download the attachement (90 kB) to try it out.
Version 0.0.1 however, so be warned :-) Press the bottom left corner of the screen to switch between a small and a large clock view. Press any hardware button to quit. Still quite a ressource hog, don’t let it run too long or it might empty your battery… But ok for a first glimpse. have fun and a very big thank you to Khertan!

konttori 2007-09-12 15:21

Re: PyPackager
 
Great Stuff!! Kudos To You Khertan!

cvmiller 2007-09-30 15:36

Re: PyPackager
 
Quote:

Originally Posted by Khertan (Post 74973)
A new version of PyPackager is available. I've added an open/save function to open and save package project, i've added an icon, and added an function to calc automatically the "installed-size" information in created package.

Still available on my web site : http://khertan.net/
Don't hesitate to report any bugs to my bugs tracker.

Great stuff Khertan! I have a couple of questions, though.
1) I have successfully created a deb from a tree containing a binary applicaiton. When I run the application, no icon appears in the lower left menu bar (showing the applications that are running). What does one need to get the icon for the app to show up in the "task bar"?

2) this application is not GTK based (it is Nedit, a powerful GUI editor), could this be my problem with the icon not showing up in the "task bar"?

Thanks in advance!

Craig...


All times are GMT. The time now is 20:21.

vBulletin® Version 3.8.8