Re: [need tester] Voicenote - record voice notes

2009-02-22 Thread Risto H. Kurppa
Hi!

NOt sure if this has been said but the text says 'click validate' when
the only button is 'OK' (on the first screen there's also 'Cancel').
So could you make sure the text is correct.

Thanks for a nice app, looking forward to the next version in opkg.org :)


r

-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [need tester] Voicenote - record voice notes

2009-02-20 Thread kimaidou
Hi
Thanks for your help. I will follow your guide and post here to tell the
progress. I am still thinking of things to improve the soft.
I will keep in touch with the ml :D

By the way, I just put some basic info here :
http://wiki.openmoko.org/wiki/User:Kimaidou
It is way not complete (I need more time)

Kimaidou

2009/2/20 Joachim Breitner 

> Hi,
>
> Am Donnerstag, den 19.02.2009, 19:48 +0100 schrieb kimaidou:
> > 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.
>
> Generally, it is not expected that every author of any software can
> create proper Debian packages – after all, some work must be left for
> Debian maintainers.
>
> So if you think your package is out of the "I only need testers, but no
> users yet"-stage, feel free to contact
> pkg-fso-ma...@lists.alioth.debian.org and tell us about your program, we
> might package it for you.
>
> If you want to make stuff easy for us, follow these also otherwise valid
> rules:
>
>  * If you use automake, use "make dist" to create release tarballs. Make
> sure these contain everything. If you install additional data, make sure
> they are properly installed by make install.
>  * If you package a python application or module, same thing applies,
> only that you use ./setup.py sdist to create a tarball-
>  * If your package is just files (e.g. shell scripts and data), just tar
> them up and write in INSTALL where these should go.
>  * Files in /usr/bin/ should not have endings like .sh or .py, these are
> ugly when called from the shell and against Debian policy.
>  * Put copyright and licensing statements in all source files, and
> indicate where your icons are coming from and what license they are
> under.
>
> (this list is not exhaustive, but I'm tired, so that's it for now :-)
>
> Greetings,
> Joachim
>
> --
> Joachim "nomeata" Breitner
> Debian Developer
>  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
>  JID: nome...@joachim-breitner.de | 
> http://people.debian.org/~nomeata
>
> ___
> 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


Re: [need tester] Voicenote - record voice notes

2009-02-19 Thread Joachim Breitner
Hi,

Am Donnerstag, den 19.02.2009, 19:48 +0100 schrieb kimaidou:
> 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.

Generally, it is not expected that every author of any software can
create proper Debian packages – after all, some work must be left for
Debian maintainers.

So if you think your package is out of the “I only need testers, but no
users yet”-stage, feel free to contact
pkg-fso-ma...@lists.alioth.debian.org and tell us about your program, we
might package it for you.

If you want to make stuff easy for us, follow these also otherwise valid
rules:

 * If you use automake, use "make dist" to create release tarballs. Make
sure these contain everything. If you install additional data, make sure
they are properly installed by make install. 
 * If you package a python application or module, same thing applies,
only that you use ./setup.py sdist to create a tarball-
 * If your package is just files (e.g. shell scripts and data), just tar
them up and write in INSTALL where these should go.
 * Files in /usr/bin/ should not have endings like .sh or .py, these are
ugly when called from the shell and against Debian policy.
 * Put copyright and licensing statements in all source files, and
indicate where your icons are coming from and what license they are
under.

(this list is not exhaustive, but I’m tired, so that’s it for now :-)

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [need tester] Voicenote - record voice notes

2009-02-19 Thread Tim Dobson
kimaidou wrote:
> Hi all
> 
> I spend the day creating a small zenity + bash application wich records 
> the sound from the built-in freerunner microphone into a wav file.

YAY! I've been hoping for something like this for a while. :D

On 2008.12 + Kustomizer 0.3:

r...@om-gta02:~# opkg install http://buildhost.automated.it/OM2007.2/package
s/armv4t/zenity_2.20.1-r0_armv4t.ipk -force-depends
Downloading 
http://buildhost.automated.it/OM2007.2/packages/armv4t/zenity_2.20.1-r0_armv4t.ipk
Installing zenity (2.20.1-r0) to root...
Installing libgnomecanvas-2-0 (2.20.0-r0) to root...
Downloading 
http://downloads.openmoko.org/repository/Om2008.8/armv4t/libgnomecanvas-2-0_2.20.0-r0_armv4t.opk
Installing libgailutil18 (1.20.0-r0) to root...
Downloading 
http://downloads.openmoko.org/repository/Om2008.8/armv4t/libgailutil18_1.20.0-r0_armv4t.opk
Installing libart-lgpl-2-2 (2.3.19-r2) to root...
Downloading 
http://downloads.openmoko.org/repository/Om2008.8/armv4t/libart-lgpl-2-2_2.3.19-r2_armv4t.opk
Configuring libart-lgpl-2-2
Configuring libgailutil18
Configuring libgnomecanvas-2-0
Configuring zenity
r...@om-gta02:~# opkg install voicenote_0.1_arm.ipk
Installing voicenote (0.1) to root...
Configuring voicenote
r...@om-gta02:~# ls ### Software launched and run from GUI
24948-0.zip   kustomizer
Applications  kustomizer_messages.log
FB_samplebook.txt packages
Settings  playlists
backuprec-2009-02-19-23-37.wav <-  RECORDED file
bkupapplications  voicenote_0.1_arm.ipk
fr_bind
r...@om-gta02:~#

The UI isn't pretty or intuitive, there is no where to set options but 
for v0.1 it works fine! :D

Well done and thank you!

Tim

-- 
www.tdobson.net

If each of us have one object, and we exchange them, then each of us
still has one object.
If each of us have one idea, and we exchange them, then each of us now
has two ideas.   -  George Bernard Shaw

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [need tester] Voicenote - record voice notes

2009-02-19 Thread kimaidou
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 

> kimaidou  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  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 
> 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


Re: [need tester] Voicenote - record voice notes

2009-02-19 Thread kimaidou
HI yorick

Have you tried to install zenity and/ or voicenote with the -force-depends
parameters ? In the last unstable shr's, I think there is a pbm installing
every app wich uses gtk+
Normally, a
opkg install 
http://buildhost.automated.it/OM2007.2/packages/armv4t/zenity_2.20.1-r0_armv4t.ipk
-force-depends
 should work

2009/2/19 Yorick Moko 

> on shr unstable from 09-02:
> r...@om-gta02 /usr/share/openmoko/scenarios $ opkg install
> http://buildhost.automated.it/OM2007.2/packages/armv4t/zenity_
> 2.20.1-r0_armv4t.ipk
> Downloading
> http://buildhost.automated.it/OM2007.2/packages/armv4t/zenity_2.20.1-r0_armv4t.ipk
> Multiple packages (zenity and zenity) providing same name marked HOLD
> or PREFER.  Using latest.
> Multiple packages (zenity and zenity) providing same name marked HOLD
> or PREFER.  Using latest.
> Installing zenity (2.20.1-r0) to root...
> Collected errors:
>  * ERROR: Cannot satisfy the following dependencies for zenity:
> *  libgnomecanvas-2-0 *  libgnomecanvas-2-0 (>= 2.20.0) *
> gtk+-fastscaling (>= 2.10.14) *
>
>
> and when untarring it withouth installing zenity:
> r...@om-gta02 ~ $ DISPLAY=:0 /usr/bin/voicenote.sh
> /usr/bin/voicenote.sh: line 2: zenity: command not found
> Recording...
> /usr/bin/voicenote.sh: line 13: zenity: command not found
> /usr/bin/voicenote.sh: line 16:  5500 Terminated  arecord
> -D hw -f cd -v -t wav ~/rec-$(date +%Y-%m-%d-%H-%M).wav
> /usr/bin/voicenote.sh: line 17: zenity: command not found
>
>
> On Thu, Feb 19, 2009 at 6:04 PM, kimaidou  wrote:
> > I forgot to tell : for the SHR / OM users, if the ipk file does not work,
> > can you please try the tar file for debian ? (you just need to untar it
> to
> > your / )
> >
> > thanks
> >
> > 2009/2/19 kimaidou 
> >>
> >> Hi all
> >>
> >> I spend the day creating a small zenity + bash application wich records
> >> the sound from the built-in freerunner microphone into a wav file.
> >>
> >> For OM, SHR :
> >> The ipk file is attached to this email
> >> You will need zenity to make it work
> >>
> >>
> http://buildhost.automated.it/OM2007.2/packages/armv4t/zenity_2.20.1-r0_armv4t.ipk
> >>
> >> For DEBIAN + Hackable users :
> >> I attached a tar file which contains only the /usr/ folders and files.
> To
> >> install it, first install zenity then untar the file in your root
> filesystem
> >> apt-get install zenity
> >> cd /
> >> tar -xvf voicenote_debian.tar
> >> (you need to copy the tar file to / or change the previous command line
> >> and specify the folder where you put it)
> >>
> >> PS :
> >> * for now, the "software" has no config file, and the voice notes are
> >> recorded to the ~/ folder (file name "rec" + date and time). I will add
> some
> >> configuration after
> >> * next step is play the recorder files with aplay
> >>
> >> Thanks in advance
> >>
> >>
> >
> >
> > ___
> > 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
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [need tester] Voicenote - record voice notes

2009-02-19 Thread Timo Juhani Lindfors
kimaidou  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  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 
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


Re: [need tester] Voicenote - record voice notes

2009-02-19 Thread Yorick Moko
on shr unstable from 09-02:
r...@om-gta02 /usr/share/openmoko/scenarios $ opkg install
http://buildhost.automated.it/OM2007.2/packages/armv4t/zenity_
2.20.1-r0_armv4t.ipk
Downloading 
http://buildhost.automated.it/OM2007.2/packages/armv4t/zenity_2.20.1-r0_armv4t.ipk
Multiple packages (zenity and zenity) providing same name marked HOLD
or PREFER.  Using latest.
Multiple packages (zenity and zenity) providing same name marked HOLD
or PREFER.  Using latest.
Installing zenity (2.20.1-r0) to root...
Collected errors:
 * ERROR: Cannot satisfy the following dependencies for zenity:
 *  libgnomecanvas-2-0 *  libgnomecanvas-2-0 (>= 2.20.0) *
gtk+-fastscaling (>= 2.10.14) *


and when untarring it withouth installing zenity:
r...@om-gta02 ~ $ DISPLAY=:0 /usr/bin/voicenote.sh
/usr/bin/voicenote.sh: line 2: zenity: command not found
Recording...
/usr/bin/voicenote.sh: line 13: zenity: command not found
/usr/bin/voicenote.sh: line 16:  5500 Terminated  arecord
-D hw -f cd -v -t wav ~/rec-$(date +%Y-%m-%d-%H-%M).wav
/usr/bin/voicenote.sh: line 17: zenity: command not found


On Thu, Feb 19, 2009 at 6:04 PM, kimaidou  wrote:
> I forgot to tell : for the SHR / OM users, if the ipk file does not work,
> can you please try the tar file for debian ? (you just need to untar it to
> your / )
>
> thanks
>
> 2009/2/19 kimaidou 
>>
>> Hi all
>>
>> I spend the day creating a small zenity + bash application wich records
>> the sound from the built-in freerunner microphone into a wav file.
>>
>> For OM, SHR :
>> The ipk file is attached to this email
>> You will need zenity to make it work
>>
>> http://buildhost.automated.it/OM2007.2/packages/armv4t/zenity_2.20.1-r0_armv4t.ipk
>>
>> For DEBIAN + Hackable users :
>> I attached a tar file which contains only the /usr/ folders and files. To
>> install it, first install zenity then untar the file in your root filesystem
>> apt-get install zenity
>> cd /
>> tar -xvf voicenote_debian.tar
>> (you need to copy the tar file to / or change the previous command line
>> and specify the folder where you put it)
>>
>> PS :
>> * for now, the "software" has no config file, and the voice notes are
>> recorded to the ~/ folder (file name "rec" + date and time). I will add some
>> configuration after
>> * next step is play the recorder files with aplay
>>
>> Thanks in advance
>>
>>
>
>
> ___
> 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


Re: [need tester] Voicenote - record voice notes

2009-02-19 Thread kimaidou
I forgot to tell : for the SHR / OM users, if the ipk file does not work,
can you please try the tar file for debian ? (you just need to untar it to
your / )

thanks

2009/2/19 kimaidou 

> Hi all
>
> I spend the day creating a small zenity + bash application wich records the
> sound from the built-in freerunner microphone into a wav file.
>
> For OM, SHR :
> The ipk file is attached to this email
> You will need zenity to make it work
>
> http://buildhost.automated.it/OM2007.2/packages/armv4t/zenity_2.20.1-r0_armv4t.ipk
>
> For DEBIAN + Hackable users :
> I attached a tar file which contains only the /usr/ folders and files. To
> install it, first install zenity then untar the file in your root filesystem
> apt-get install zenity
> cd /
> tar -xvf voicenote_debian.tar
> (you need to copy the tar file to / or change the previous command line and
> specify the folder where you put it)
>
> PS :
> * for now, the "software" has no config file, and the voice notes are
> recorded to the ~/ folder (file name "rec" + date and time). I will add some
> configuration after
> * next step is play the recorder files with aplay
>
> Thanks in advance
>
>
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[need tester] Voicenote - record voice notes

2009-02-19 Thread kimaidou
Hi all

I spend the day creating a small zenity + bash application wich records the
sound from the built-in freerunner microphone into a wav file.

For OM, SHR :
The ipk file is attached to this email
You will need zenity to make it work
http://buildhost.automated.it/OM2007.2/packages/armv4t/zenity_2.20.1-r0_armv4t.ipk

For DEBIAN + Hackable users :
I attached a tar file which contains only the /usr/ folders and files. To
install it, first install zenity then untar the file in your root filesystem
apt-get install zenity
cd /
tar -xvf voicenote_debian.tar
(you need to copy the tar file to / or change the previous command line and
specify the folder where you put it)

PS :
* for now, the "software" has no config file, and the voice notes are
recorded to the ~/ folder (file name "rec" + date and time). I will add some
configuration after
* next step is play the recorder files with aplay

Thanks in advance


voicenote_0.1_arm.ipk
Description: Binary data


voicenote_debian.tar
Description: Unix tar archive
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community