Reply
Thread Tools
Posts: 42 | Thanked: 132 times | Joined on Feb 2010
#1
Hi, i'm sorry, there is probably a a lot of informations about how to make a debian .deb package to release, but i can't find it. I did port wesnoth 1.6.5 to the n900, and i'd like to package it, so if someone can point me to the right direction !

Thanks in advance,
David.
 
Posts: 61 | Thanked: 43 times | Joined on Aug 2008
#2
Packaging, Deploying and Distributing

And when time comes to push app to repository.
Maemo Extras Assistant
 

The Following User Says Thank You to harriva For This Useful Post:
Posts: 42 | Thanked: 132 times | Joined on Feb 2010
#3
Thanks harriva.
 
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#4
 

The Following User Says Thank You to jebba For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#5
Some more info:

Manual Method

Super Easy Method
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#6
@Cpasjuste, it may be helpful to get a source of already existing project (e.g. from garage.maemo.org) to see the structure of the catalogs and scripts used.
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me
 
Posts: 42 | Thanked: 132 times | Joined on Feb 2010
#7
Thanks for the help

I'm currently trying this page : http://wiki.maemo.org/Py2deb

I didnt built the package yet with py2deb, but i'm trying to get the proper layout and files on the device. But i have a question : is the dbus "*.service " file really needed even if my application as nothing to do with services ? I'm asking because without it i can see my application under the applications menu, but when i try to launch it, it return to the desktop .. hum hum !
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#8
Originally Posted by Cpasjuste View Post
Thanks for the help

I'm currently trying this page : http://wiki.maemo.org/Py2deb

I didnt built the package yet with py2deb, but i'm trying to get the proper layout and files on the device. But i have a question : is the dbus "*.service " file really needed even if my application as nothing to do with services ? I'm asking because without it i can see my application under the applications menu, but when i try to launch it, it return to the desktop .. hum hum !
No.. if your app is not registering as a dbus service you don't need it. Your problem sounds related to your .desktop file.. i'd pay close attention to that. Also running from the command line is always a good idea when testing.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 42 | Thanked: 132 times | Joined on Feb 2010
#9
Thanks fatalsaint.
I think i will need some help, i did try every think i tought. Here is a summary :

So the sdl application (script to launch the binary) is not launching from application menu. I added (i think) correct .desktop, the exec path is right, and the application launch correctly from terminal under the "user" account. i did replace my wesnoth launching script with a script that echo to a file, and nothing is echo"ed" so i guess the script isn't executed at all when launching my application from the application menu.

Here is a copy of my desktop file :

Code:
Nokia-N900-51-1:/home/opt# cat  /usr/share/applications/hildon/wesnoth.desktop
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Battle For Wesnoth
Comment=A fantasy turn-based strategy game
Exec=/opt/wesnoth/bin/wesnoth_n900
Icon=wesnoth
X-Icon-path=/usr/share/icons
X-Window-Icon=wesnoth
Type=Application
X-Osso-Service=com.nokia.wesnoth
X-Osso-Type=application/x-executable
Categories=Games
MimeType=application/game
Terminal=false
Code:
Nokia-N900-51-1:/home/opt# ls -laih /opt/wesnoth/bin/
  98317 drwxrwxrwx    2 root     root         4.0k Feb  7 19:11 .
  98316 drwxr-xr-x    4 root     root         4.0k Feb  7 12:00 ..
  98318 -rwxrwxrwx    1 root     root        16.8M Feb  7 12:00 wesnoth
  98327 -rwxrwxrwx    1 root     root          213 Feb  7 12:07 wesnoth_n900
  98325 -rwxrwxrwx    1 root     root         2.2M Feb  7 12:00 wesnothd
  98330 -rwxrwxrwx    1 root     root          214 Feb  7 12:20 wesnothd_n900
Code:
Nokia-N900-51-1:/home/opt# cat /opt/wesnoth/bin/wesnoth_n900 
LD_PRELOAD="/opt/wesnoth/lib/libSDL_mixer-1.2.so.0.10.1" LD_LIBRARY_PATH="/opt/wesnoth/lib/" /opt/wesnoth/bin/wesnoth --smallgui -f --bpp 16 -r 800x480 /home/user/MyDocs/games/wesnoth_data/ &>/opt/wesnoth/bin/log
I really don't understand :'(
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#10
Originally Posted by Cpasjuste View Post
Here is a copy of my desktop file :
If you don't have a service file, then having a X-Osso-Service entry in your desktop file really doesn't make any sense.

Last edited by qwerty12; 2010-02-07 at 18:18.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:44.