PDA

View Full Version : [KDE] How should I spend my development time?


penguinbait
04-24-2008, 02:37 PM
I have been playing with KDE4, and this is just not ready to be ported to this environment, least not by me with my current tools. So I am ready to get started on some more development. I am wondering where people would like to see me spend some time? I am sure this will open up a can of worms, but I thought I would ask. No promisses on anything.

Do you want to see the KDE3.5.8 v2 turned into a deb?

Do you want me to ports some QT/KDE apps for use with KDE? (qt 3.x based)

Do you want me to fix some issue with current V2?

Should I port another XFCE or other window manager/ desktop environment?

Do you want me to go back to sleep?

Looking forward to your comments and suggestions,

pb

anderbr
04-24-2008, 02:39 PM
deb would be aufully nice.

thoughtfix
04-24-2008, 03:00 PM
penguinbait:
1: Go back to sleep.
2: Wake up and drink lots of coffee
3: When properly caffeinated, first make the app accessible (seconding the .deb vote) and then add functions ;)

At least, that's my opinion. Why add functions and features to something that's a pain to install?

Laughing Man
04-24-2008, 03:02 PM
I agree with thoughtfix. Get some well deserved sleep. Drink some caffeinated beverage. Make a .deb so more people could use it, then fix issues or port some more apps. :D

josiahg777
04-24-2008, 03:10 PM
Heh :) I agree with the others :) Get some well-deserved sleep and some coffee :) You did an amazing job with that port, I love my K810!

Actually, I didn't have a hard time installing KDE at all... The dual-boot (which i know is a part of the install, but something I would have done anyway, just for application space) was the part that gave me trouble. :) Personally, I'd really like to see some more apps ported into the KDE environment :) (Maybe FF3 please? It already works better in the KDE windowing system vs the Hildon one. Could it possibly be better optomized? (I haven't looked at the code as of late) )

Aisu
04-24-2008, 03:10 PM
Alright, alright... Task list ;)

1. Package Qt as a deb (no telling how long this will take our corporate overlord) with the demos (preferably put in /usr/bin but with the prefix qt added, i.e. the demo browser is "browser", make it "qtbrowser").
2. Get back to KDE 4! :D (Try and do it with sbrsh?)
3. Delve into the black hole that is GNOME? :D

BoxOfSnoo
04-24-2008, 03:43 PM
To answer your question, in a comfortable chair with something refreshing nearby!

I would say the .deb!

I tried the USB Mouse thing with my little logitech notebook wireless mouse... needless to say I was blown away. If the dialogs all fit on the screen I'd possibly convert over completely. Thanks for your hard work.

Benson
04-24-2008, 04:42 PM
Whatever you jolly well please; it's the great thing about volunteer work!

Personally, I'm no big KDE fan; is FVWM2 ported yet? (Since you seem to specialise in window managers...)

penguinbait
04-24-2008, 05:45 PM
Alright, the Debs have it, I will update the deb install process for the V2 KDE 3.5.8.

Feel free to keep the post flowing

I am warning you now though, DO NOT EXPECT a deb that updates the current one. It will have to be a completely new install. I will be however putting in some more checks to fix some of the problems people encountered on installing.

yabbas
04-25-2008, 07:13 AM
Debs please pb :)

Actually - if you could script the entire setting up of another OS on the internal/external card, that would be best ;)

PinCushionQueen
04-25-2008, 09:38 AM
All I can say is - Welcome Back PB!! I've noticed you've been quite scarce of late (and understandably so :( ) But I'm very happy to hear you're OK and are going to start developing stuff again. I'm pleased as punch with KDE 3.5.8v2 - there's only a couple of things I wished were fixed and 1 of them you've already said you can't fix (.jpg issue). The other is the camera.

mrlanrat
04-25-2008, 09:56 AM
I would like to see XFCE working. but it seems that are going with KDE.

And sleep is good. I recomend it to you and anyone else reading his.

Benson
04-25-2008, 11:02 AM
I thought xfce was already working. I guess that's with OS2007; has anyone tried with OS2008?

And sleep is overrated, anyway. Dr. Pepper, NOS, and coffee are powerful alternatives, especially when mixed.

qwerty12
04-25-2008, 11:04 AM
Debs please :)

Nanocore
04-25-2008, 12:15 PM
Enlightenment. Yes, Rasterman had some work on this, but I don't think it made it very far. While it may not be useful, it would really "look" cool on the tablet...

mrlanrat
04-25-2008, 01:51 PM
I thought xfce was already working. I guess that's with OS2007; has anyone tried with OS2008?


The xfce install scripts do not work in 08. I am working on making it work manually but have not made much progress yet.

smog
04-25-2008, 02:27 PM
I'd like something minimal but effective like an equivalent of Puppy Linux or DamnSmallLinux using JWM or enlightenment as a windows manager.

but a lighter faster KDE is still a possibility

penguinbait
04-25-2008, 08:09 PM
I thought xfce was already working. I guess that's with OS2007; has anyone tried with OS2008?

And sleep is overrated, anyway. Dr. Pepper, NOS, and coffee are powerful alternatives, especially when mixed.

NOS?? Nitros Oxide?? It does not make me go faster, it makes me fall down and shake.... ah the good ole days!!

penguinbait
04-26-2008, 12:38 AM
The xfce install scripts do not work in 08. I am working on making it work manually but have not made much progress yet.

Its not just the install script. Nokia changed the names of the files that are used to start and stop hildon/maemo interface. 2008 brought a whole new set of filenames.

perhaps I can look at 4.4.2 in the near future..??

smog
04-28-2008, 10:32 AM
I'd like something minimal but effective as a windows manager.

but a lighter faster KDE is still a possibility

I'd go for your IceWM but with onscreen keyboard and a decent browser http://www.internettablettalk.com/forums/showthread.php?t=15956&highlight=jwm

Benson
04-28-2008, 12:31 PM
NOS?? Nitros Oxide?? It does not make me go faster, it makes me fall down and shake.... ah the good ole days!!

Horrible flash site, but here it is if you like: http://www.drinknos.com/
Picture attached though, much better!

penguinbait
04-28-2008, 01:54 PM
Debs please pb :)

Actually - if you could script the entire setting up of another OS on the internal/external card, that would be best ;)


ASK - And ye shall recieve!!!

I made a DEB that will clone the currently running OS to a 2GB CARD. It will also clone it to bigger cards but its not really setup for that.

2GB
1: 128MB FAT
2: 1.75GB EXT2 (BOOT)
3: 128MB SWAP

4GB
1: 256MB FAT
2: 3.5GB EXT2 (BOOT)
3: 256MB SWAP

6GB
1: 384MB FAT
2: 5.255GB EXT2 (BOOT)
3: 384MB SWAP

8GB
1: 512MB FAT
2: 6.0GB EXT2 (BOOT)
3: 512MB SWAP


If things go smoothly with this, I will make some more DEB's with different layouts for different sizes.

My initial build is only for N800 or N810 IF YOU WANT TO CLONE TO THE INTERNAL 2GB CARD. This will not work on the n810 with a SD card. More work to follow.

PM me for a link to the DEB if you want to try it out. NOTICE (It may HOSE your device and cause you to REFLASH your OS. Use at own risk. Take backups of any important data before continuing.

pb


The new deb will partition your SD/MMC card, clone the Flash to the card. Install Boot Menu (with telnet support). Then you just reboot to your new menu and partition.

penguinbait
06-06-2008, 09:26 AM
OK, back to the topic at hand...


I am still listening??

BruceL
06-06-2008, 10:05 AM
PB, I am working on a UI that will blow things like Silverlight and the iPhone UI out of the water. It works like this: Create pseudo-mathematical descriptions of

* Apps you want or web-sites/programs you want to display or wrap.
* The hardware/software environment you want to use (NIT, Phone, Windows, ...)
* A UI Theme (e.g., fingers only, voice only, Gnome, Maemo, Swing,...)
* Any sub-themes (Dark, dainty, metallic, ...)
* Things like friends lists, play-lists, etc.

I'm currently creating an SDL theme for the NITs. After that, a "distributed AJAX" theme. (That's when the REALLY cool stuff happens because it will basically make all processors that participate a single computer! It won't matter where you are, what/whose device you have; just authenticate yourself and all your things will be there, adjusted for your device/os.)

I don't want to over-sell it, but I would love to have a semi-useful beta released this month or early July. It's quite a challenge, but success will be amazing! Any interest in working on it with me?

penguinbait
06-06-2008, 10:28 AM
PB, I am working on a UI that will blow things like Silverlight and the iPhone UI out of the water. It works like this: Create pseudo-mathematical descriptions of

* Apps you want or web-sites/programs you want to display or wrap.
* The hardware/software environment you want to use (NIT, Phone, Windows, ...)
* A UI Theme (e.g., fingers only, voice only, Gnome, Maemo, Swing,...)
* Any sub-themes (Dark, dainty, metallic, ...)
* Things like friends lists, play-lists, etc.

I'm currently creating an SDL theme for the NITs. After that, a "distributed AJAX" theme. (That's when the REALLY cool stuff happens because it will basically make all processors that participate a single computer! It won't matter where you are, what/whose device you have; just authenticate yourself and all your things will be there, adjusted for your device/os.)

I don't want to over-sell it, but I would love to have a semi-useful beta released this month or early July. It's quite a challenge, but success will be amazing! Any interest in working on it with me?


Thanks, but I am not sure I could provide you much help

BruceL
06-06-2008, 11:06 AM
Perhaps not. I'm currently switching the engine from OpenGLUT/OpenGL to SDL/OpenGL. After that, there is a combination of specifying parts of applications and how to display them. It may be hard to learn the language; it's an object oriented declarative language so you would have to be able to list the stateful parts of objects or data-structures and map how events change their states. You'd also have to know or learn something about OpenGL so you could map states and state changes to the display. Also, there are improvements to the engine to be made which would require C and C++.

If you happen to change your mind, just send me a pvt mesg.

(Likewise for anyone else here who thinks they might be able to do it!)

penguinbait
06-06-2008, 11:28 AM
Perhaps not. I'm currently switching the engine from OpenGLUT/OpenGL to SDL/OpenGL. After that, there is a combination of specifying parts of applications and how to display them. It may be hard to learn the language; it's an object oriented declarative language so you would have to be able to list the stateful parts of objects or data-structures and map how events change their states. You'd also have to know or learn something about OpenGL so you could map states and state changes to the display. Also, there are improvements to the engine to be made which would require C and C++.

If you happen to change your mind, just send me a pvt mesg.

(Likewise for anyone else here who thinks they might be able to do it!)

Its not that I dont appreciate the offer. But for those that don't know, penguinbait is a hack, not a developer. I do not write code, I compile it. LARGE DIFFERENCE

Thanks to all the people who make the code and let me play :)

alephito
06-06-2008, 01:55 PM
OK, back to the topic at hand...


I am still listening??
I would like to see a release of flite with Spanish voice. Male or female, I don't care.

http://www.internettablettalk.com/forums/showthread.php?p=188476#post188476

Thanks.

penguinbait
06-06-2008, 02:01 PM
I would like to see a release of flite with Spanish voice. Male or female, I don't care.

http://www.internettablettalk.com/forums/showthread.php?p=188476#post188476

Thanks.

Well I did not compile flite, I stole it and included it. That said, I have bene meaning to look at full festival, so we'll see. This may be doable.

gemniii42
06-06-2008, 04:43 PM
OK, back to the topic at hand...


I am still listening??

Since you probably have a little personal interest how about joining the project for lo-jack? (http://www.internettablettalk.com/forums/showthread.php?t=20593)

With the C-4 option :)

alephito
06-06-2008, 05:05 PM
Since you probably have a little personal interest how about joining the project for lo-jack? (http://www.internettablettalk.com/forums/showthread.php?t=20593)

With the C-4 option :)
Penguinbait said he is not a developer. Let he recompile flite in Spanish. ;)

qole
06-06-2008, 05:25 PM
Debs please pb :)

Actually - if you could script the entire setting up of another OS on the internal/external card, that would be best ;)

I would love it if you could make a minimal, compact Debian chroot as a .deb. You could even use the same trick that you did for your KDE debs. I'm thinking stripped down Debian install (it doesn't have to boot, just run apps), with a lightweight WM (your choice) that includes some of your GUI hacks (like right-click). We've found that you can use Xephyr to run a second WM over Hildon, but you need wmctrl to keep finding your lost window because Xephyr doesn't show up in the app list.

Bonuses: Abiword and a browser that can do Java (via one of the open source Java implementations) and Flash (via Gnash). Java and Flash plugins should work theoretically (they're in the repos and they install fine), I just haven't managed to get them working yet with any of the browsers (eg epiphany-webkit and konqueror). The most hopeful browser so far has been kazehakase because it is a xulrunner browser that actually runs on the tablet. So far it just crashes on Java sites and it still doesn't show any Flash. I'm sure it's an easy fix, I just don't know what it is.

I really believe that the Debian chroot thing is the closest most of us can get to having an alternate OS on our tablet. The thousands of installable apps are calling to many of us, "come try me!"

The beauty of this system is that it is all hack and no compile.

penguinbait
06-06-2008, 05:36 PM
I would love it if you could make a minimal, compact Debian chroot as a .deb. You could even use the same trick that you did for your KDE debs. I'm thinking stripped down Debian install (it doesn't have to boot, just run apps), with a lightweight WM (your choice) that includes some of your GUI hacks (like right-click).

Bonuses: Abiword and a browser that can do Java (via one of the open source Java implementations) and Flash (via Gnash). Java and Flash plugins should work theoretically (they're in the repos and they install fine), I just haven't managed to get them working yet with any of the browsers. The most hopeful browser so far has been kazehakase because it is a xulrunner browser that actually runs on the tablet.

I really believe that the Debian chroot thing is the closest most of us can get to having an alternate OS on our tablet. The thousands of installable apps are calling to many of us, "come try me!"



I have tested once and not tried the latest, I agree with you.

I was planning on talking with Johnx and seeing if he would like to create an install package for debian.

Its not off my radar, but I am not sure if I want to get to invoved in the debian project.

We'll see, I am not saying no.. I will try to get the latest version loaded up this weekend and see how it goes.

Last I tried there was no sound and networking was all on the command line. No big deal for me, but many people cannot get anywhere without networking.

If these are working good, I will talk to John and see what he thinks. I do not want to step on any toes :)

qole
06-06-2008, 06:34 PM
Last I tried there was no sound and networking was all on the command line. No big deal for me, but many people cannot get anywhere without networking.

If these are working good, I will talk to John and see what he thinks. I do not want to step on any toes :)

Everything is working, more or less, in the bootable Debian. Johnx's current "beta3" is a real improvement.

That being said, that's not what I want ;) :D

What I'd like is a nice little Debian chroot .deb so people could run OpenOffice and stuff on their tablets without the nightmare of copying and pasting my second-rate scripts onto their tablet or the hassle of booting into Debian.

EDIT: Here's what I've got so far (http://www.internettablettalk.com/forums/showthread.php?p=189464#post189464) with getting Flash and Java to run.

http://farm4.static.flickr.com/3258/2556401031_d8a115bc54_m.jpg http://farm4.static.flickr.com/3127/2557264662_f50f396bd0_m.jpg

penguinbait
06-06-2008, 09:11 PM
I would like to see a release of flite with Spanish voice. Male or female, I don't care.

http://www.internettablettalk.com/forums/showthread.php?p=188476#post188476

Thanks.

Well I compiled festival and I loaded it and pointed KDE at it and its working.

The downside is its kind of large, and needs to be located in /home/user


http://penguinbait.com/fest.tgz

untar in /home/user
-----------------------------
cd /home/user

tar zxvf /path/to/fest.tgz

-----------------------------

Open KDE, go to "Control Center"

Click "Regional Settings"

Select "Text-to-Speech"

Click "Talkers" (Tab)

Click "ADD"

Make sure the "Synthesizer" is "Festival Interactive" and

Click OK

Where it says "Festival Executable" put in /home/user/festival/bin/festival

Click "Rescan"

Select the voice you want, Its got more than just spanish

American Female
3 American Males
Canadian English Male
Scottish Male
British Male
Castilian Spanish Male

Click OK (Or you can "test") It sounds like spanish but what do I know ;)


I told you I was listening :)


FYI, I tried command line and I could not get it to work, but I didn't read anything, and I have not used festival in years. I did test the voices in KDE though, and they are definetly working :)

FYI, I am unaware of a spanish flite version?

Benson
06-06-2008, 09:38 PM
Now to see if I can make a shell script implementing the more useful bits of flite's interface as /usr/local/bin/flite, and get voices... if it works, I can have MM's turn-by-turn directions as one voice, cyborg voice-in-head as another, and mpd song titles in yet a third...

Hmm... "American Female"? That's real precise, cause, ya know, there's only one accent in the whole US. I guess my curiosity on that point will be one more reason to make stuff work. (I can guess it to be MBROLA us1, but I haven't heard that, so I still don't know...)

It's downloading now, but only 33 kB/s... I'd guess you've got a good swampage of users downloading this.

I'll post a cleaned-up man page (http://linux.die.net/man/1/festival), if there's not accessible docs in the tarball. (I expect there are, though...) Well, I didn't see any...

:D :D :D :D

As far as flite; it uses a compiled-in festival voice, kinda. Which is to say, festival voices may be ported; so that Spanish voice could, by porting the scheme code to C, and some other work I don't recall right off, and recompiling, could be used to make a Spanish version...

penguinbait
06-06-2008, 09:55 PM
Now to see if I can make a shell script implementing the more useful bits of flite's interface as /usr/local/bin/flite, and get voices... if it works, I can have MM's turn-by-turn directions as one voice, cyborg voice-in-head as another, and mpd song titles in yet a third...

Hmm... "American Female"? That's real precise, cause, ya know, there's only one accent in the whole US. I guess my curiosity on that point will be one more reason to make stuff work. (I can guess it to be MBROLA us1, but I haven't heard that, so I still don't know...)

It's downloading now, but only 33 kB/s... I'd guess you've got a good swampage of users downloading this.

I'll post a cleaned-up man page (http://linux.die.net/man/1/festival), if there's not accessible docs in the tarball. (I expect there are, though...) Well, I didn't see any...

:D :D :D :D

As far as flite; it uses a compiled-in festival voice, kinda. Which is to say, festival voices may be ported; so that Spanish voice could, by porting the scheme code to C, and some other work I don't recall right off, and recompiling, could be used to make a Spanish version...

Go figure, the one time I try to trim things down someone asks for the docs.

I slapped the full festival directory, with docs and makefiles and all,

festival
http://penguinbait.com/fest.tgz

festival with docs and all
http://penguinbait.com/festifull.tgz

You can also get them at tablethacker, I will update this post with the urls when I get it uploaded.

festival
http://tablethacker.com/software/fest.tgz

festival with docs and all
http://tablethacker.com/software/festifull.tgz

Benson
06-06-2008, 10:16 PM
OK; the man page was all I really cared about, but seeing what sounded like a whole built source-tree made me think that trimming a man page would be a waste of time.

I already got it done, though, so now I have no use for the full package :p.

Next step: make it work. I got a "can't open /dev/dsp"; I seem to remember something about flite being altered to use esd instead of oss, now that I think, so it seems like esound-clients is in order, as discussed here (http://www.internettablettalk.com/forums/showpost.php?p=136405&postcount=6). Do you have such things
(esddsp, specifically) in your system, by any chance? I'm wondering how KDE makes it work...


BTW, I'll drop this in for thread-miners that come after, though if anyone bold adventurers do try it themselves, they really should start a new thread. Make your own voices... (http://www.festvox.org/bsv/c3610.html) It's a quick howto for making a new voice for an existing language, though there's info nearby about making voices from scratch...

penguinbait
06-06-2008, 10:29 PM
OK; the man page was all I really cared about, but seeing what sounded like a whole built source-tree made me think that trimming a man page would be a waste of time.

I already got it done, though, so now I have no use for the full package :p.

Next step: make it work. I got a can't open /dev/dsp; I seem to remember something about flite being altered to use esd instead of oss, now that I think, so it seems like esound-clients is in order, as discussed here (http://www.internettablettalk.com/forums/showpost.php?p=136405&postcount=6). Do you have such things
(esddsp, specifically) in your system, by any chance? I'm wondering how KDE makes it work...


BTW, I'll drop this in for thread-miners that come after, though if anyone bold adventurers do try it themselves, they really should start a new thread. Make your own voices... (http://www.festvox.org/bsv/c3610.html) It's a quick howto for making a new voice for an existing language, though there's info nearby about making voices from scratch...

KDE is somehow pumping it through Arts, Arts pumps it through ESD.

If you can get it working please let us know :) I will play, when I get some more time

Benson
06-06-2008, 10:36 PM
Ah, thanks... first efforts with esddsp didn't go right. Still rolling.

doctorbri
06-06-2008, 10:52 PM
What I'd like is a nice little Debian chroot .deb so people could run OpenOffice and stuff on their tablets without the nightmare of copying and pasting my second-rate scripts onto their tablet or the hassle of booting into Debian.

For what it's worth, as a noob this would be wonderful. I began to follow qole's method, but gave up because it's out of my league.

penguinbait
06-06-2008, 10:53 PM
I compiled esound

http://penguinbait.com/esd.tgz

This will give you esdplay but it does not good as I can see


Install esdplay, which is part of the esound-clients package:

*

sudo apt-get install esound-clients

You need to configure festival so that it sends its output through ESD. Otherwise, you will get a can't open /dev/dsp error when you try to run Festival.

1.
edit
/home/user/festival/lib/festival.scm in a Terminal.
2.

Add the following lines at the end of the file:

*

(Parameter.set 'Audio_Command "/usr/local/bin/esdplay $FILE")
(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Required_Format 'snd)

3.

Save the file.



It works :)

penguinbait
06-06-2008, 11:03 PM
Yeah Baby!!!!!!!!


(SayText "test")

I will repackage everything tomorrow, esd, with festival and the edited file to make it work.


I made a file named flite

and put this in it

/home/user/festival/bin/festival --language spanish -b "(SayText \"$1\")"

Then call flite "hola"

Does not seem to work with MM, but I am still playing, maybe $2, stupid GPS lost my lock, probably test more tomorrow

Benson
06-06-2008, 11:39 PM
Got it!

You also need /usr/lib/esound/libesddsp.so.0 from Debian libesd0 package; our libesd0 is missing that. I manually extracted the files and dumped them in the right place.

Then, you can do esddsp festival/bin/festival --ttsType in some text, and hit ^D. It plays back nicely. :D

Oh, wait, you beat me. I didn't click "post" on this (about an hour earlier when I first had it working), did I? :mad:

Benson
06-06-2008, 11:43 PM
Oh, and start a thread, so I can slap Thanks. :p
Edit: I could have sworn this was in off-topic.... :confused:
/me slaps thanks.

But we already have esd; just the stuff from debian esound-clients is missing; I guess you are probably aware of this, but your post makes it sound like you're packaging the whole thing, so I had to speak up...


Also, perhaps init.scm or siteinit.scm would be more appropriate than festival.scm?

penguinbait
06-06-2008, 11:57 PM
Oh, and start a thread, so I can slap Thanks. :p

But we already have esd; just the stuff from debian esound-clients is missing; I guess you are probably aware of this, but your post makes it sound like you're packaging the whole thing, so I had to speak up...


esd.tgz

usr/local/lib/libesd.la
usr/local/lib/libesddsp.so.0.2.38
usr/local/lib/libesddsp.so.0
usr/local/lib/libesddsp.so
usr/local/lib/libesd.so
usr/local/lib/libesddsp.la
usr/local/lib/libesd.a
usr/local/lib/libesd.so.0
usr/local/lib/libesddsp.a
usr/local/lib/libesd.so.0.2.38
usr/local/share/aclocal/esd.m4
usr/local/share/man/man1/esd-config.1
usr/local/share/man/man1/esdctl.1
usr/local/share/man/man1/esdplay.1
usr/local/share/man/man1/esdfilt.1
usr/local/share/man/man1/esdloop.1
usr/local/share/man/man1/esdmon.1
usr/local/share/man/man1/esdrec.1
usr/local/share/man/man1/esdcat.1
usr/local/share/man/man1/esdsample.1
usr/local/share/man/man1/esd.1
usr/local/share/man/man1/esddsp.1
usr/local/bin/esdrec
usr/local/bin/esd-config
usr/local/bin/esdmon
usr/local/bin/esd
usr/local/bin/esdfilt
usr/local/bin/esdctl
usr/local/bin/esdcat
usr/local/bin/esdsample
usr/local/bin/esdplay
usr/local/bin/esdloop
usr/local/bin/esddsp
usr/local/etc/esd.conf
usr/local/include/esd.h


I even included the man files, hehe

Benson
06-07-2008, 12:39 AM
Hmmm.. Here's more voices; my presumption about the "American Female" was wrong; that's one of the Arctic voices. And they're much slower synthesizing than the default voice, at least.

MBROLA doesn't seem to be compiled for this platform; there's some voices over here (http://cslu.cse.ogi.edu/tts/download/) with yet a different engine, but I've no idea if they're faster or slower...

There's lots of room to work on this now, so I guess I'll have to get g++ and start digging in.

alephito
06-09-2008, 12:03 PM
Thank you, Penguinbait and Benson, for working on my request. But excuse my question: Is there a replacement for the current flite for Maemo?

I am sorry but my head is about to explode trying to understand your posts. Tylenol, please...

penguinbait
06-09-2008, 12:12 PM
Thank you, Penguinbait and Benson, for working on my request. But excuse my question: Is there a replacement for the current flite for Maemo?

I am sorry but my head is about to explode trying to understand your posts. Tylenol, please...

In short NO

Festival works and gives you a spanish speaking voice, but flite is english only. So I could not port spanish flite.

I / we are trying to make a script to used with festival in place of flite so it will work with Maemo Mapper.

I sent a question off to Gnuite, but no response yet. I spent the weekend on the lake, so I did not get anything but a sunburn this weekend.

We are much closer now though, so maybe soon :)

alephito
06-09-2008, 12:19 PM
Thank you, Penguitbait. That answer was easy to understand. ;)

Benson
06-09-2008, 12:47 PM
I think we need to emulate the flite -t text option...

I'm too busy playing with festival to work on flite emulation :p, but I'll see about it...

penguinbait
06-09-2008, 12:49 PM
I think we need to emulate the flite -t text option...

I'm too busy playing with festival to work on flite emulation :p, but I'll see about it...

tried but it did not work, I need to do some more testing, once my GPS will aquire a signal again :)

qole
06-09-2008, 02:55 PM
Bummer, there's no Debian packages (http://packages.debian.org/search?keywords=festvox&suite=unstable&section=all) for American Female. No American Woman (http://en.wikipedia.org/wiki/American_Woman_(song)) either.

I think you should only include the 8k voices in your packages... No point with the big 16k voices.

Benson
06-09-2008, 03:27 PM
I'm not sure if (the latter half of) your post is joking; 16kHz voices are much better on the ears, as they can handle frequencies up to about 8 kHz, while 8kHz can only get a maximum of 4 kHz; while that's enough for recognizable speech, and even speaker recognition, it sounds really bad. IMHO.

I'm much better with 16 kHz, but I suppose they can be packaged separately. Just as long as they don't get left out entirely...

qole
06-09-2008, 04:40 PM
You can make festival say some text (the equivalent of flite -t text command) with the following command:


echo "Hello world" | festival --tts


And I have no idea why they call that voice an "American Male" ... American Cyborg?

EDIT: I wasn't joking about leaving out the 16kHz voices, I was thinking that the design aesthetic of the Tablets is to keep everything small and minimalist, so the 8kHz voices would be fine ($10 says that flite uses 8kHz voices). But 16kHz voices should be available as an option. Options are good. I wish some of the female voices were available for Debian. My tablet shouldn't talk with a male voice; my wife insists that she is the mistress, or "the 6itch"

EDIT2: Penguinbait, I just found a more direct way to get audio to work in Festival, when I was poking around init.scm trying to figure out how to change to a different voice. Turns out there's an (undocumented) Audio_Method called esdaudio, so you only need to add one line to festival.scm:


(Parameter.set 'Audio_Method 'esdaudio)


EDIT3: Here's a fun page for testing out what the different voices sound like:

http://festvox.org/voicedemos.html

EDIT4: Can anyone find / build a .deb of the slt_arctic_hts (female American) voice? Please?

bunanson
06-12-2008, 05:10 AM
Everything is working, more or less, in the bootable Debian. Johnx's current "beta3" is a real improvement.

That being said, that's not what I want ;) :D

What I'd like is a nice little Debian chroot .deb so people could run OpenOffice and stuff on their tablets without the nightmare of copying and pasting my second-rate scripts onto their tablet or the hassle of booting into Debian.

EDIT: Here's what I've got so far (http://www.internettablettalk.com/forums/showthread.php?p=189464#post189464) with getting Flash and Java to run.

http://farm4.static.flickr.com/3258/2556401031_d8a115bc54_m.jpg http://farm4.static.flickr.com/3127/2557264662_f50f396bd0_m.jpg

What is wrong with the Koffice in KDE358? It r/w on MS word/excel/powerpoint, http://www.internettablettalk.com/forums/showthread.php?p=191257#post191257. Am I missing something?
Dont get me wrong, I am interest in Debian too, but for the sake of r/w MS word, KDE is suffice (?). And with MS Powerpoint, all I need is to fire up VNC and I am giving lectures via my tablet using powerpoint!

bun

cyberbillp
06-12-2008, 09:56 AM
I have been playing with KDE4, and this is just not ready to be ported to this environment, least not by me with my current tools. So I am ready to get started on some more development. I am wondering where people would like to see me spend some time? I am sure this will open up a can of worms, but I thought I would ask. No promisses on anything.

Do you want to see the KDE3.5.8 v2 turned into a deb?

Do you want me to ports some QT/KDE apps for use with KDE? (qt 3.x based)

Do you want me to fix some issue with current V2?

Should I port another XFCE or other window manager/ desktop environment?

Do you want me to go back to sleep?

Looking forward to your comments and suggestions,

pb

Not sure if you are looking for a project in general, or improving your existing work.

If you want a new challenge:
Get A2DP working like it is transparently part of chinook.

Or

Get hardware 3D drivers working.

Or
Make a fully Hildonized multiplayer (with game browser) game client. Something that will connect to a standard linux server. I haven't run Netrek yet, but that's probably a good example.

qole
06-12-2008, 12:31 PM
What is wrong with the Koffice in KDE358? It r/w on MS word/excel/powerpoint, http://www.internettablettalk.com/forums/showthread.php?p=191257#post191257. Am I missing something?
Dont get me wrong, I am interest in Debian too, but for the sake of r/w MS word, KDE is suffice (?). And with MS Powerpoint, all I need is to fire up VNC and I am giving lectures via my tablet using powerpoint!

bun

My tests have shown that koffice is fairly lacking in MS Office compatibility. Abiword does a better job than KWrite.

bunanson
06-12-2008, 02:15 PM
My tests have shown that koffice is fairly lacking in MS Office compatibility. Abiword does a better job than KWrite.

In what aspect?
They open/r/w ms.doc, albeit I did not look deep enough. On top of this, I was excited to see KPresenter open/r/w powerpoint.

bun

Benson
06-12-2008, 03:09 PM
I haven't used koffice except on a desktop, and that a couple years ago; but at that point, it would open files fine, and save files that Word could open fine, but it differed substantially on interpretation of formatting. The documents rendered much more similar to MSO in OOo.

Oddly enough, there were some problems with kword occasionally writing odt files that OOo couldn't read; not sure whose fault...

qole
06-12-2008, 05:17 PM
They open/r/w ms.doc, albeit I did not look deep enough. On top of this, I was excited to see KPresenter open/r/w powerpoint.


I discuss things in more detail (screenshots!) over here (ttp://www.internettablettalk.com/forums/showthread.php?p=182165#post182165). I think if all you need is Word compatibility, then Abiword is your program. If you also need PowerPoint, then you're probably going to have to go to OpenOffice.

By the way, how do you pull off PowerPoint-over-VNC? Wouldn't you have to configure a remote Windows station to have an 800x480 screen? Or maybe, like me, you've installed MS Office on a Linux system using Wine, which you can then run in an 800x480 vncserver session, or even better, you can X-Forward your MS Office app to your tablet (http://www.internettablettalk.com/forums/showthread.php?p=181584#post181584).

Some more reasons to package up a Debian chroot system:

I've also installed Firefox (Iceweasel) 3.0 in my Debian chroot, and it can do Java applets and Flash (although both are slow-running). Evolution is also installable if you need MS Exchange or Novell Groupware support.

penguinbait
06-13-2008, 08:43 PM
EDIT2: Penguinbait, I just found a more direct way to get audio to work in Festival, when I was poking around init.scm trying to figure out how to change to a different voice. Turns out there's an (undocumented) Audio_Method called esdaudio, so you only need to add one line to festival.scm:


(Parameter.set 'Audio_Method 'esdaudio)







When you did this, did you have my esd tarball installed,I am just wondering if it is calling esdplay still or if my esd.tgz is still needed?



Also I talked to Gnuite and we determined the issue with Maemo Mapper using a script to call festival with spanish, or brittish or female voice. He said he would fix it (Not sure on what timeline.) There is another work-around, and I almost have it working.

Either way, this will be working with Maemo Mapper soon. Once its working I will create a deb.

qole
06-14-2008, 12:33 AM
When you did this, did you have my esd tarball installed,I am just wondering if it is calling esdplay still or if my esd.tgz is still needed?

I was using my infamous Debian chroot; I just apt-get installed it from Debian.

alephito
06-14-2008, 12:29 PM
Either way, this will be working with Maemo Mapper soon. Once its working I will create a deb.
Good news, Penguinbait. Thanks.

penguinbait
06-14-2008, 08:20 PM
Good news, Penguinbait. Thanks.

I was not having luck with my fix, but it looks like wonderful Gnuite has the hook-up on the way.



It won't be later than the end of this month, but if I can, I'll try and get it out in a release next week.

Thanks Gnuite! Donations for mapper can be made at

http://gnuite.com:8080/nokia770/maemo-mapper/

penguinbait
10-17-2008, 05:05 PM
I was not having luck with my fix, but it looks like wonderful Gnuite has the hook-up on the way.



Thanks Gnuite! Donations for mapper can be made at

http://gnuite.com:8080/nokia770/maemo-mapper/


Gnuite has made some changes, I tested in a devel version of maemo-mapper and I am able to point it to use spanish, or other voices. I need to package it all up and wait for a release from Gnuite, but I am suspecting it won't be too long.

alephito
10-18-2008, 07:19 PM
I have been trying Penguinbait's Spanish Festival and works pretty well. The only problem is with special characters (á, é, í, ó, ú, ñ, ¡ and ¿). But it would be useful with Maemo Mapper.

Thanks.

penguinbait
10-20-2008, 03:43 PM
I have been trying Penguinbait's Spanish Festival and works pretty well. The only problem is with special characters (á, é, í, ó, ú, ñ, ¡ and ¿). But it would be useful with Maemo Mapper.

Thanks.


This has 8 voices, 1 female, 1 Spanish, 1 brit, and 1 scottish the rest are US.
http://penguinbait.com/festival-multi.deb (20MB Download, 50MB uncompressed, takes up about 35MB on flash)

This is Spanish voice only
http://penguinbait.com/festival-spanish.deb (4MB Download, 12MB uncompressed, takes up about 8MB on flash)

These both install to /home/user/festival

Additionally a shell script called flite is created to allow spanish voices to be used in maemo-mapper. Gnuite is making an update to MM to support this.

For now, the flite script by default uses spanish, it can be changed just edit the file, I included all the voices in it, you just need to adjust the comments.

flite -t no habla espanol

Basically it just a dumb script which ignores the first parameter, no matter what the parm is
flite xxx no habla espanol

We should have an updated maemomapper soon

qole
10-20-2008, 05:40 PM
This has 8 voices, 1 female, 1 Spanish, 1 brit, and 1 scottish the rest are US.
http://penguinbait.com/festival-multi.deb (20MB Download, 50MB uncompressed, takes up about 35MB on flash)

Does it include the slt_arctic_hts (female American) voice?

If it doesn't, can you package that one for me? Please? Please?

penguinbait
10-20-2008, 06:18 PM
Does it include the slt_arctic_hts (female American) voice?

If it doesn't, can you package that one for me? Please? Please?

cmu_us_jmk_arctic_hts
cmu_us_slt_arctic_hts
cmu_us_bdl_arctic_hts
cmu_us_awb_arctic_hts
kal_diphone
ked_diphone
don_diphone
el_diphone

qole
10-20-2008, 08:00 PM
Thanks penguinbait. You see, slt_arctic_hts has this thing for me (http://www.festvox.org/cgi-bin/gen_fest.wav?format=wav&voice=slt_arctic_hts+%28American+Female%29&text=I+love+you%2C+qole), but I keep telling her, "No, baby, I've got someone else. And she's not synthetic." But she didn't seem to understand (http://www.festvox.org/cgi-bin/gen_fest.wav?format=wav&voice=slt_arctic_hts+%28American+Female%29&text=I+will+have+you%2C+qole...+eaven+if+I+have+to +destroy+the+american+economy+to+get+you%21). I haven't heard from her since that fateful day last year.

penguinbait
10-20-2008, 08:19 PM
Thanks penguinbait. You see, slt_arctic_hts has this thing for me (http://www.festvox.org/cgi-bin/gen_fest.wav?format=wav&voice=slt_arctic_hts+%28American+Female%29&text=I+love+you%2C+qole), but I keep telling her, "No, baby, I've got someone else. And she's not synthetic." But she didn't seem to understand (http://www.festvox.org/cgi-bin/gen_fest.wav?format=wav&voice=slt_arctic_hts+%28American+Female%29&text=I+will+have+you%2C+qole...+eaven+if+I+have+to +destroy+the+american+economy+to+get+you%21). I haven't heard from her since that fateful day last year.

Yeah, she don't sound like shes playing!!


Now you can have her talk dirty to you on startup. The flite script, /usr/bin/flite is already setup, just uncomment her out, and comment in the spanish.

penguinbait
10-29-2008, 06:20 PM
This has 8 voices, 1 female, 1 Spanish, 1 brit, and 1 scottish the rest are US.
http://penguinbait.com/festival-multi.deb (20MB Download, 50MB uncompressed, takes up about 35MB on flash)

This is Spanish voice only
http://penguinbait.com/festival-spanish.deb (4MB Download, 12MB uncompressed, takes up about 8MB on flash)

These both install to /home/user/festival

Additionally a shell script called flite is created to allow spanish voices to be used in maemo-mapper. Gnuite is making an update to MM to support this.

For now, the flite script by default uses spanish, it can be changed just edit the file, I included all the voices in it, you just need to adjust the comments.

flite -t no habla espanol

Basically it just a dumb script which ignores the first parameter, no matter what the parm is
flite xxx no habla espanol

We should have an updated maemomapper soon



Just as an FYI, the flite script has been updated to support all the Spanish characters.

in the multi version , I made the default flite script to be cmu_us_slt_arctic_hts, just for qole ;)

The flite script in the multi has a separate script for spanish and others.
/usr/bin/flite-spanish /usr/bin/flite-multi

qole
10-29-2008, 06:40 PM
Penguinbait, do you think you could package up GParted (http://packages.debian.org/lenny/gparted) for us? It really rocks for being able to graphically modify (resize, add, remove, format, etc) partitions on your SD card(s), a lot like Partition Magic. It would need a tweak; you would need to disable maemo's annoying habit of trying to auto-remount the first FAT partition of SD cards for the duration of the session. You would also have to include a bunch of necessary stuff like dosfstools (http://packages.debian.org/lenny/dosfstools) and efs2progs (http://packages.debian.org/lenny/e2fsprogs). You may also need to run it with an explicit list of available drives, such as,


gparted /dev/mmcblk0 /dev/mmcblk1


... this of course means that you wouldn't be able to partition a USB stick without dropping to the command line ... but maybe that's not a problem, I've only run it in a chroot, and that has issues with mounted devices...

http://farm4.static.flickr.com/3026/2978324995_41d8888945_o.png (http://www.flickr.com/photos/qole2/2978324995/)

penguinbait
10-29-2008, 08:02 PM
It looks like you already got it working, package it up, whats the problem?

qole
10-29-2008, 08:09 PM
I have it working in the Debian chroot; all this involves is "apt-get install gparted dosfstools", I was hoping someone with some maemo hacking / packing experience could help me out here.

penguinbait
10-30-2008, 07:13 PM
I have it working in the Debian chroot; all this involves is "apt-get install gparted dosfstools", I was hoping someone with some maemo hacking / packing experience could help me out here.

I installed all these

../dosfstools_2.11-6_armel.deb
../libcairomm-1.0-1_1.6.0-1_armel.deb
../e2fsprogs_1.41.2-1_armel.deb
../libglibmm-2.4-1c2a_2.16.4-1_armel.deb
../festival-spanish.deb
../libgtkmm-2.4-1c2a_2.12.7-1_armel.deb
../gparted_0.3.8-1+b1_armel.deb ../libsigc++-2.0-0c2a_2.0.18-2_armel.deb


This was the last error at which I give up :eek:
~/WORKING # gparted
/usr/sbin/gpartedbin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/sbin/gpartedbin)
/usr/sbin/gpartedbin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/libcairomm-1.0.so.1)
/usr/sbin/gpartedbin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/libglibmm-2.4.so.1)



What do you think about qtparted or partgui. I will see if I can get something working.

qole
10-30-2008, 08:16 PM
I would suspect that you would need to recompile gparted for the old maemo libraries...

penguinbait
10-30-2008, 08:34 PM
I would suspect that you would need to recompile gparted for the old maemo libraries...

Its not a bad idea, use those as prereqs and compile against them.

I'll give it a try when I get some time. I could also probably get the new glib and us a diff libdir in the script to call gparted.

penguinbait
10-30-2008, 09:19 PM
Its working! :D:D:D

Well I should say its firing up, not really tested much yet

It will take about 17MB though

dosfstools_2.11-6_armel.deb
libglib2.0-0_2.16.6-1_armel.deb
libsigc++-2.0-0c2a_2.0.18-2_armel.deb
e2fsprogs_1.41.2-1_armel.deb
libglibmm-2.4-1c2a_2.16.4-1_armel.deb
libstdc++6_4.3.2-1_armel.deb
festival-spanish.deb
libgtk2.0-0_2.12.11-4_armel.deb
libxinerama1_1.0.3-2_armel.deb
gparted_0.3.8-1+b1_armel.deb
libgtkmm-2.4-1c2a_2.12.7-1_armel.deb
libcairomm-1.0-1_1.6.0-1_armel.deb
libpcre3_7.8-2_armel.deb

penguinbait
10-31-2008, 12:38 PM
Status update

Only works in flash, if you fire it up in a boot from SD partition the tablet will reboot while trying to scan /dev/mmcblk0 and /dev/mmcblk1. I assume this is because of the initfs issue with bootmenu.


I have packaged it up and installed on a fresh flash, I am 30 minutes in with 10 minutes remaining on a shink filesystem operation. I shurnk it 40MB.

I need to make 1 more change to the desktop file, but it looks like its working.

Keep in mind this is about 18-19MB, in flash it probably takes up 11MB. I will do more testing and let you know.

It uses the newer glib and gtk out of a nonstandard location and paths are set in the script that calls it.

It really appears to be working, we'll see if my shrink finishes cleanly, 6 minutes remaining!!!

pb

EDIT:

It was successful :D:D:D

penguinbait
10-31-2008, 03:33 PM
Status Update Gparted
http://www.internettablettalk.com/forums/showthread.php?t=24679

qole
10-31-2008, 04:49 PM
One last post here about GParted... Your file list for GParted included "festival-spanish.deb"... Was that a typo? I can't imagine needing a (Spanish) voice talking to me while repartitioning my SD card...


dosfstools_2.11-6_armel.deb
libglib2.0-0_2.16.6-1_armel.deb
libsigc++-2.0-0c2a_2.0.18-2_armel.deb
e2fsprogs_1.41.2-1_armel.deb
libglibmm-2.4-1c2a_2.16.4-1_armel.deb
libstdc++6_4.3.2-1_armel.deb
festival-spanish.deb
libgtk2.0-0_2.12.11-4_armel.deb
libxinerama1_1.0.3-2_armel.deb
gparted_0.3.8-1+b1_armel.deb
libgtkmm-2.4-1c2a_2.12.7-1_armel.deb
libcairomm-1.0-1_1.6.0-1_armel.deb
libpcre3_7.8-2_armel.deb

penguinbait
10-31-2008, 05:03 PM
One last post here about GParted... Your file list for GParted included "festival-spanish.deb"... Was that a typo? I can't imagine needing a (Spanish) voice talking to me while repartitioning my SD card...

:D:D:D

Sorry, it was in the directory, no its not needed ;). I did not install those debs directly. all /etc/ and /usr/share files were installed in the proper locations. All other files are located in /usr/GPARTED/bin and /usr/GPARTED/lib

ALSO: I used some other things not from Debian (parted, libparted, nice)

/usr/bin/gparted is a script to fire it all up.

I will need to change the script. So if you have any ideas let me know. I was doing a umount before and a mount after, but it needs something better