Hi Timo<br><br>Thansk for your answer. <br>* it is my 1st package, and my first email was about asking some help. So thank for your reply<br>* to build the ipk file I used <a href="http://www.oesf.org/index.php?title=IPKG_Howto">http://www.oesf.org/index.php?title=IPKG_Howto</a> <br>
So for me this was a &quot;blind&quot; building. I don&#39;t know what the builder put in the ipkg. Since I run debian, I was unable to test it under om or SHR. <br>* For the untar thing under debian : I would like people to test the thing. I did not knwow this way was the wrong way. I will try to build a debian package when I have time. But please do it if you are efficient in that.<br>
* I will try to follow your how to if you have no time to do it.<br><br>Anyway, I apologize for the hurry, and I will be cautionous next time. <br>By the way, have you tried it ?<br><br>Kimaidou<br><br><div class="gmail_quote">
2009/2/19 Timo Juhani Lindfors <span dir="ltr">&lt;<a href="mailto:timo.lindfors@iki.fi">timo.lindfors@iki.fi</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">kimaidou &lt;<a href="mailto:kimaidou@gmail.com">kimaidou@gmail.com</a>&gt; writes:<br>
&gt; cd /<br>
&gt; tar -xvf voicenote_debian.tar<br>
<br>
</div>Please don&#39;t do this. Only package manager may put files to /usr. Use<br>
/usr/local or $HOME or create a proper package:<br>
<br>
1) create an initial package template:<br>
<br>
lindi1:~/tmp$ mkdir voicenote-0.01<br>
lindi1:~/tmp$ cd voicenote-0.01/<br>
lindi1:~/tmp/voicenote-0.01$ tar xf ../voicenote_debian.tar<br>
lindi1:~/tmp/voicenote-0.01$ dh_make -s --createorig<br>
Maintainer name : Timo Lindfors<br>
Email-Address &nbsp; : <a href="mailto:lindi@kurp.hut.fi">lindi@kurp.hut.fi</a><br>
Date &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: Thu, 19 Feb 2009 19:48:15 +0200<br>
Package Name &nbsp; &nbsp;: voicenote<br>
Version &nbsp; &nbsp; &nbsp; &nbsp; : 0.01<br>
License &nbsp; &nbsp; &nbsp; &nbsp; : blank<br>
Using dpatch &nbsp; &nbsp;: no<br>
Type of Package : Single<br>
Hit &lt;enter&gt; to confirm:<br>
Currently there is no top level Makefile. This may require additional tuning.<br>
Done. Please edit the files in the debian/ subdirectory now. You should also<br>
check that the voicenote Makefiles install into $DESTDIR and not in / .<br>
<br>
2) edit debian/rules: you need to comment out all lines that say<br>
 &nbsp; $(MAKE) since you are not providing a makefile. After that add<br>
<br>
cp -a ./usr $(CURDIR)/debian/voicenote<br>
<br>
 &nbsp; to the end of the install: target in debian/rules.<br>
<br>
3) edit debian/control: add zenity and alsa-utils to the &quot;Depends:&quot; line.<br>
<br>
4) remove example templates that we did not need: rm debian/*.ex debian/*.EX<br>
<br>
5) build a package:<br>
<br>
lindi1:~/tmp/voicenote-0.01$ dpkg-buildpackage -rfakeroot<br>
dpkg-buildpackage: set CFLAGS to default value: -g -O2<br>
dpkg-buildpackage: set CPPFLAGS to default value:<br>
dpkg-buildpackage: set LDFLAGS to default value:<br>
dpkg-buildpackage: set FFLAGS to default value: -g -O2<br>
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2<br>
dpkg-buildpackage: source package voicenote<br>
dpkg-buildpackage: source version 0.01-1<br>
dpkg-buildpackage: source changed by Timo Lindfors &lt;<a href="mailto:lindi@kurp.hut.fi">lindi@kurp.hut.fi</a>&gt;<br>
dpkg-buildpackage: host architecture amd64<br>
...<br>
dpkg-deb: building package `voicenote&#39; in `../voicenote_0.01-1_amd64.deb&#39;.<br>
&nbsp;signfile voicenote_0.01-1.dsc<br>
<br>
6) install the package to see that everything works:<br>
<br>
lindi1:~/tmp/voicenote-0.01$ sudo dpkg -i ../voicenote*.deb<br>
(Reading database ... 115315 files and directories currently installed.)<br>
Preparing to replace voicenote 0.01-1 (using ../voicenote_0.01-1_amd64.deb) ...<br>
Unpacking replacement voicenote ...<br>
Setting up voicenote (0.01-1) ...<br>
<br>
lindi1:~/tmp/voicenote-0.01$ dpkg -L voicenote<br>
/.<br>
/usr<br>
/usr/bin<br>
/usr/bin/voicenote.sh<br>
/usr/share<br>
/usr/share/pixmaps<br>
/usr/share/pixmaps/voicenote.png<br>
/usr/share/applications<br>
/usr/share/applications/voicenote.desktop<br>
/usr/share/doc<br>
/usr/share/doc/voicenote<br>
/usr/share/doc/voicenote/copyright<br>
/usr/share/doc/voicenote/changelog.Debian.gz<br>
/usr/share/doc/voicenote/README.Debian<br>
/usr/sbin<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br>