<div>Hi,</div>
<div> </div>
<div>The dpkg-build.sh is a script file i found to build the debian package.</div>
<div>Is there some other way to create it? I have gone through tutorial and </div>
<div>whatever procedure written there, is not working for me. I got some advices</div>
<div>as to put my code in already exisiting application package and build it.</div>
<div>I don't want to do that as size is increasing.</div>
<div> </div>
<div>Following is a script file to create debian for given target.........</div>
<div><font size="2">
<p>#!/bin/sh</p>
<p>#</p>
<p># This little script builds an appropriately-versioned .deb file depending</p>
<p># on your exact architecture (as defined in CFLAGS).</p>
<p># On an N800 (-mcpu=arm1136jf-s), the version is suffixed with "-3".</p>
<p># On a 770 (-mcpu=arm926ej-s), the version is suffixed with "-2".</p>
<p># In all other cases, the version is suffixed with "-1".</p>
<p># </p>
<p>CHANGELOG=`dirname $0`/debian/changelog</p>
<p># Test whether we're running Chinook or a "legacy" Maemo.</p>
<p>MAEMO_VERSION=`pkg-config libosso --modversion | cut -d . -f 1`</p>
<p>if [ "x$MAEMO_VERSION" = "x1" ]</p>
<p>then</p>
<p>VERSION_SUFFIX=-os2006-os2007</p>
<p>else</p>
<p>VERSION_SUFFIX=-os2008</p>
<p>fi</p>
<p># Test if this is the armel build (as opposed to the x86 build)</p>
<p>GCC_HOST_IS_ARMEL=`gcc --version | head -n 1 | grep arm`</p>
<p>if [ "x$GCC_HOST_IS_ARMEL" != "x" ]; then</p>
<p>DBP_EXTRA=-B</p>
<p>fi</p>
<p>sed -i "1,1s/(\([0-9.][0-9.]*\)[-a-zA-Z0-9]*)/(\1$VERSION_SUFFIX)/" $CHANGELOG</p>
<p>dpkg-buildpackage -rfakeroot -i $DBP_EXTRA</p>
<p>sed -i "1,1s/(\([0-9.][0-9.]*\)[-a-zA-Z0-9]*)/(\1)/" $CHANGELOG</p></font></div>
<div> </div>
<div> </div>
<div>Thanks and Regards,</div>
<div>Nisha<br><br> </div>
<div><span class="gmail_quote">On 2/25/08, <b class="gmail_sendername">Kees Jongenburger</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:kees.jongenburger@gmail.com" target="_blank">kees.jongenburger@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Sun, Feb 24, 2008 at 10:24 PM, nisha jain <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jain61@gmail.com" target="_blank">jain61@gmail.com</a>> wrote:<br>
><br>> Hi All,<br>><br>> I am trying to make debian package for my application to port it to N800.<br>> I am able to compile it in ARMEL mode but when i give ./dpkg-build.sh<br>> command i am not able to get the debian package...My Makefile is very<br>
><br>> simple having following rules...What i have to add to create debian package?<br>Hi<br><br>I think you need at least a make "install" target .<br>what is the dpkg-build.sh?<br><br>greetings<br><br><br>
><br>> gcc -o N800App N800App.c `pkg-config gtk+-2.0 hildon-1 --cflags --libs`<br>> -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2<br>> -I/usr/include/hildon-fm-2 -lgtkdatabox<br>><br>> I don't want to plug my code into some existing example application code and<br>
> create debian package as<br>> it is making binary huge...the dpkg-build.sh file contains following rules<br>><br>><br>><br>> Regards,<br>> Nisha<br>> _______________________________________________<br>
> maemo-developers mailing list<br>> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:maemo-developers@maemo.org" target="_blank">maemo-developers@maemo.org</a><br>> <a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
><br>><br></blockquote></div><br>