![]() |
How to make a .deb package ..
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. |
Re: How to make a .deb package ..
Packaging, Deploying and Distributing
And when time comes to push app to repository. Maemo Extras Assistant |
Re: How to make a .deb package ..
Thanks harriva.
|
Re: How to make a .deb package ..
|
Re: How to make a .deb package ..
|
Re: How to make a .deb package ..
@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.
|
Re: How to make a .deb package ..
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 ! |
Re: How to make a .deb package ..
Quote:
|
Re: How to make a .deb package ..
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 Code:
Nokia-N900-51-1:/home/opt# ls -laih /opt/wesnoth/bin/ Code:
Nokia-N900-51-1:/home/opt# cat /opt/wesnoth/bin/wesnoth_n900 |
Re: How to make a .deb package ..
Quote:
|
Re: How to make a .deb package ..
Woot it worked, i had to remove "X-Osso-Service" line from the .desktop file !
Thanks :) Edit : Thanks qwerty12, didn't see your comment before posting but you where right :) |
Re: How to make a .deb package ..
I'm sorry to be so stupid, but i did follow this "howto" : http://wiki.maemo.org/Documentation/...d_Distributing .
The problem is i do not want to package the sources ( all is really messy, with makefile edited by hand etc .. ) i just want to package the actual release. But this howto assume we are making a packages with sources : Code:
[sbox-FREMANTLE_ARMEL: ~/wesnoth-1.6.5/wesnoth-1.6.5-1] > dh_make -e cpasjuste@gmail.com Code:
[sbox-FREMANTLE_ARMEL: ~/wesnoth-1.6.5/wesnoth-1.6.5-1] > dh_make -e cpasjuste@gmail.com --createorig |
Re: How to make a .deb package ..
I wrote here some time ago a quick guide to make .deb http://talk.maemo.org/showpost.php?p=460952&postcount=2
But if you want to upload your project to extras you have to do the source packaging thing. |
Re: How to make a .deb package ..
This means that we can't release closed sources applications on the n900 ?!
I sucessfully created a deb TNiga, but i have a little problem when trying to uninstall it, i don't understand why it try to remove the "/home/user" directory ( i did put data files in the MyDoc folder since it's around 300mb ) : Code:
[sbox-FREMANTLE_ARMEL: ~/wesnoth-1.6.5] > apt-get remove wesnoth |
Re: How to make a .deb package ..
I suppose you could put the files in /opt first and then in postinst script move them to MyDocs and in prerm script move them back to /opt, then it shouldn't try to remove /home/user.
|
Re: How to make a .deb package ..
Ok, tricky but it's what i was thinking :)
Else if i understand correctly to release something on the application manager ( extra devel ) : We need a full sources layout, build the package with db_make, and upload it to autobuilder. This one will compile it again for arm then make a deb out of it ? There is really no other way to go on extra-devel ? I do use a few libary that are statically linked, but are not available on the normal distro (neither in repo) so the build will fail ? This is a totally crap process to me .. |
Re: How to make a .deb package ..
If you use libraries which are not in repos then you have to first upload them to extras-devel (or ask nicely if the library maintainer could do it for you) for your app to build succesfully with autobuilder.
|
Re: How to make a .deb package ..
Hi, i am really new to this linux, i only have some basic programing language.
my question is how do i build .deb package that just to install a .ttf font ? Do i need to do it from my N900 or PC ( windows or Linux ) ? .. sorry i am totally clueless on this |
Re: How to make a .deb package ..
for the original poster: please take the packaging from debian or from earlier wesnoth for maemo port.
|
Re: How to make a .deb package ..
Hi everyone.
I've some problems in creating a .deb using TNIGa's nice guide. First of all, X-Term gave me some errors regarding bad permissions, but I've solved it manually changing permissions to some files. Now it's giving me another error. It says: tar: unrecognized option "--format=gnu" and then, after explaining the correct usage of tar, it says dpkg-deb: subprocess tar -cf returned error exit status 1 What can I do? |
Re: How to make a .deb package ..
I've got exactly the same error when trying to build my package with dpkg-build.
Anyone ? :) |
Re: How to make a .deb package ..
Quote:
|
Re: How to make a .deb package ..
Quote:
|
Re: How to make a .deb package ..
Quote:
|
Re: How to make a .deb package ..
Quote:
Does pypackager adds the dpkg -b command to the N900 X-Term? |
Re: How to make a .deb package ..
Quote:
Code:
apt-get update http://talk.maemo.org/showpost.php?p...97&postcount=1 |
All times are GMT. The time now is 19:03. |
vBulletin® Version 3.8.8