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