[maemo-developers] Help needed: packaging/distributing very small C app

From: David King davidk at openismus.com
Date: Wed Apr 21 11:40:45 EEST 2010
On 2010-04-20 18:01, Chitti Babu <chitti_maemo at yahoo.com> wrote:
>
>Hi Dave,
>Cool documentation ! It helped me in revising all my basics. I am sure, it will serve a great purpose for a maemo newbie developer.
>
>Few suggestions :-
>1. Adding a GTK based example with dependencies specified in configure.ac (PKG_CHECK_MODULES for gtk flags), debian/control (Depends,Build-depends) would be useful

I will find a place to add this, as the information is currently 
scattered in several places, such as:

http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/Writing_a_new_maemo_application
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/GNU_Build_System#Integration_with_Pkg-Config
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Porting_Software/Porting_MaemoPad

It might make sense to split this off into a seperate autotools article, 
as there is not a direct relation to packaging, and the article is 
already very long.

>2. What changes are required for deb packaging a QT program.

An article on Qt packaging is linked from the Packaging article. The 
direct link is:

http://wiki.maemo.org/Packaging_a_Qt_application

and could probably do with some improvement. Contributions or 
suggestions very welcome!

>P.S : I have suggested this as you also mentioned about desktop files.

Well, this is mentioned as something Maemo-specific, as the desktop 
file installation location is different from the usual 
/usr/share/applications.

>>Dave Neary wrote:
>>> I documented the packaging of a C app (using autotools for building) a
>>> while back in the wiki:
>>> http://wiki.maemo.org/Packaging#A_concrete_example_-_rot13
>>>
>>> This starts with a tiny C program & the minimum autotools stuff to build
>>> it (I don't include these - would that be useful?) and guides you
>>> through making a .deb.
>>
>>So I included an A to Z for this project, with the 3 files you need to
>>create a .tar.gz using standard autotools. Let me know if it's useful.

-- 
David King | http://amigadave.com/ | davidk at openismus.com
More information about the maemo-developers mailing list