Re: Package Building HOWTO
Hi, ext Joseph Charpak wrote: > On Tue, 2009-12-22 at 18:24 -0300, Jeff Moe wrote: >> I have written up a Package Building HOWTO. >> >> You can find it here: >> http://wiki.maemo.org/User:Jebba#Package_Building_HOWTO >> > > Looks good although I'd swap the order of compile for armel with compile > for x86. First you compile for x86 and run the resulting app to see if > it works in scratchbox. I'd add here also testing for: - install, remove & re-install package (maybe also upgrade) - run lintian on the packages (outside of sbox) and fix relevant reported packaging issues: lintian *.deb - test the software when run under Valgrind to see whether that reports any memory handling issues: fakeroot apt-get install valgrind maemo-debug scripts run-with-memcheck (relevant for C & C++ code, not for interpreted stuff) - Eero ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Package Building HOWTO
Hi, Jeff Moe wrote: > Yes, I do think it would be good to put it in the main namespace, but right > now I'm sort of ramping myself up to where everything is and how it is all > set > up. I didn't want to munge up the main pages yet. ;) Writing this up is a > learning experience for me as I go through the process. Like in Bugzilla, there are people who will rename or move pages, add correct categories and so on for your page if you put it in the "wrong" place - please don't be afraid to munge the main pages. For the packaging howto, there is already http://wiki.maemo.org/Maemo_packaging - this would be an ideal sub-page (or addition/edition) to that. Cheers, Dave. -- maemo.org docsmaster Email: dne...@maemo.org Jabber: bo...@jabber.org ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Package Building HOWTO
On Tuesday 22 December 2009 19:24:09 Michael Cronenworth wrote: > Jeff Moe wrote: > > I have written up a Package Building HOWTO. > > > > You can find it here: > > http://wiki.maemo.org/User:Jebba#Package_Building_HOWTO > > Jeff, > > Would it be beneficial to add or update the necessary pages in the > standard wiki namespace instead of adding on to your already long user > page? I'm not criticizing your efforts, but it should better organized > before your user page is megabytes worth of text. Yes, I do think it would be good to put it in the main namespace, but right now I'm sort of ramping myself up to where everything is and how it is all set up. I didn't want to munge up the main pages yet. ;) Writing this up is a learning experience for me as I go through the process. That said, it's a wiki so feel free to cut & paste my page into a new page or augment an existing page. That was done as the base for this page, for example: http://wiki.maemo.org/Phone_control Thanks, -Jeff ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Package Building HOWTO
Jeff Moe wrote: > I have written up a Package Building HOWTO. > > You can find it here: > http://wiki.maemo.org/User:Jebba#Package_Building_HOWTO > Jeff, Would it be beneficial to add or update the necessary pages in the standard wiki namespace instead of adding on to your already long user page? I'm not criticizing your efforts, but it should better organized before your user page is megabytes worth of text. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Package Building HOWTO
On Tuesday 22 December 2009 18:52:13 Joseph Charpak wrote: > On Tue, 2009-12-22 at 18:24 -0300, Jeff Moe wrote: > > I have written up a Package Building HOWTO. > > > > You can find it here: > > http://wiki.maemo.org/User:Jebba#Package_Building_HOWTO > > Looks good although I'd swap the order of compile for armel with compile > for x86. First you compile for x86 and run the resulting app to see if > it works in scratchbox. When you're satisfied it does, you compile for > armel to make sure it'll compile for the actual device. Testing the > armel build in scratchbox for run time errors, is in general not > supported (YMMV). Ah good point. Added sub-section and re-arranged things. Thanks, -Jeff ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Package Building HOWTO
On Tue, 2009-12-22 at 18:24 -0300, Jeff Moe wrote: > I have written up a Package Building HOWTO. > > You can find it here: > http://wiki.maemo.org/User:Jebba#Package_Building_HOWTO > Looks good although I'd swap the order of compile for armel with compile for x86. First you compile for x86 and run the resulting app to see if it works in scratchbox. When you're satisfied it does, you compile for armel to make sure it'll compile for the actual device. Testing the armel build in scratchbox for run time errors, is in general not supported (YMMV). Joseph Charpak jchar...@worldnet.att.net ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers