maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Granule - flashcard program for maemo (https://talk.maemo.org/showthread.php?t=1197)

vlg 2006-01-26 19:44

Granule - flashcard program for maemo
 
A flashcard program, granule, is available for maemo. It is written in C++ using hildon-widgetsmm C++ wrappers.

Project home page
Maemo port details (.deb package/dependencies/screenshots)
On-line documentation

Hedgecore 2006-01-26 19:56

Looks like the 770 also inadvertantly replaced cue cards for speeches. ;)

RogerS 2006-01-26 20:11

I downloaded Granule yesterday, but wasn't able to get it working.

Did you have any success with it? And how did you launch it -- anything special? I started Xterm and typed "granule" but nothing happened.

vlg 2006-01-26 20:38

RogerS,

did you install all dependencies?

They are:
(hildon wrappers)
  • hildon-fmmm_0.1.0-1_arm.deb
  • hildon-widgetsmm_0.1.0-1_arm.deb
  • libglibmm-2.4-1_2.6.1-1_arm.deb
  • libgtkmm-2.4-1c2a_2.6.5-1_arm.deb
  • libsigc++-2.0-0c2a_2.0.16-2_arm.deb

libassa:
  • libassa_3.4.0_arm.deb

Granule:
  • granule_1.2.1_arm.deb

Link for Hildon-related packages
Link for libassa package
Link for Granule

(I'll try to repackage them to reduce the number for the next release).

The order of installation is not important, but in my tests I always install granule_arm.deb last.

Once installed, you should be able to launch Granule from usual 'Extras->' menu. You should not need xterm to start it.

If it still doesn't come up, open xterm, and try:

% granule --log-leve=3 --log-stdout=yes

and let me know what's been reported.

RogerS 2006-01-27 04:45

It must have been very late when I was trying this last night.

I did look in the Extras menu, but missed it there. Tonight, after seeing your post, I looked again and just launched Granule from the Extras menu a moment ago. I'll try it out in the morning on the train to work.

So I guess it's redundant to say that yes, I was careful to install all the dependencies and happened to install granule last.

Thanks for this app. And, of course, having all of them in one package (or fewer anyway) would make things simpler.

I wasn't able to watch the Flash files on my 770 though -- memory problems. No surprise, huh? :-)

Roger

RogerS 2006-01-27 13:01

Got started this morning -- had two crashes, which I'll post to your bug report.

Am having a bit of trouble just figuring out how to add cards one at a time manually. I should be able to figure it out, but, still, I haven't yet. :-)

Which page in the help file is that on?

I want to use this not for language or vocabulary, but to help my six-year-old learn to spell. I'm thinking: Get the program to pronounce the word, after clicking it would spell it, letter by letter and show it on the front.

First, I'd better get a TTS engine (FLite) working on the 770.

vlg 2006-01-28 03:37

RogerS,

thanks for heads up - I inadvertently broke code that is responsible for adding new cards. In my tests, I only used the deck files that I had put together on my desktop. As soon as I find out the time, I'll provide the fix.

You can play these Flash tutorials to get the general idea, or read the Deck chapter of the manual.

For now, until I fix the bug you came across, you might want to install it on your desktop, create a deck and then use the deck on nokia.

Although granule can pronounce the words, it relies on an outside program such as sox to actually play the sound. Nokia 770 uses gstreamer which I am not familiar with (on my list of todo things).

BTW, thanks for using SF bug tracking - it helps me to keep track of things.

DCForever 2006-01-28 03:54

A Good place to find Flashcards
 
A good place I found to get flash cards is www.studystack.com. You can export flashcards to a .csv file format. Although, what is weird is that the Nokia 770 says it downloads them, but it doesn't show them anywhere in the file manager. Weird.

vlg 2006-01-28 17:02

Quote:

Although, what is weird is that the Nokia 770 says it downloads them, but it doesn't show them anywhere in the file manager. Weird.
Nokia file manager shows only officially recognizable MIME types (files that can be opened by officially installed applications). All third-party apps are not allowed (at the moment) to expand the list of MIME types. I hope this will change in the future.

vlg 2006-03-20 23:17

New version of Granule (flashcards) 1.2.1 released.
 
Granule v1.2.1 has reached a stable status and is ready for the end-user audience.

The latest update can be found on its web site: granule.sourceforge.net

Let me know if you have any problems.
-Vlad

P.S. For those who have it already installed, you might want (optionally) to upgrade one of its depenencies, libassa as well.

vlg 2006-03-21 04:53

URL correction
 
And the correct URL is http://granule.sourceforge.net/

vlg 2006-08-10 22:25

Granule (flashcards) app available for IT2006
 
I have made a alpha release 1.2.2 of Granule. At this moment you need to download all dependencies and install them by hand. In the future, I hope I would be able to use garage repository instead.

Download and install files in this order:

1. libsigc++-2.0-0_2.0.10-1_armel.deb
2. libglibmm-2.4-1_2.6.1-1_armel.deb
3. libgtkmm-2.4-1_2.4.10-1_armel.deb
4. hildon-fmmm_0.1.2-1_armel.deb
5. hildon-widgetsmm_0.1.2-1_armel.deb
6. libassa_3.4.2_armel.deb
7. granule_1.2.2_armel.deb

You might need to reboot after installation (although, I hope that wouldn't be necessary).

enjoy,
-Vlad

trbloomer 2007-03-16 05:18

Re: Granule - flashcard program for maemo
 
Granule is very cool and looks like it might be just what I´m looking for. I have a question though, can it play wav files on the 770? I use another program on windows that has wave files associated with its language flash cards that are a huge help learning correct pronunciation.

I´ve read the instructions in the manual and realize it can be done on other linux systems but I´m pretty new to linux in general and totaly new to the 770 and am unsure if the sox is part of its install or if it can be installed on the 770.

clq 2007-03-16 17:27

Re: Granule - flashcard program for maemo
 
Does this program work, or is there a simelar program for the N800?

vlg 2007-03-30 13:35

Re: Granule - flashcard program for maemo
 
Quote:

Originally Posted by trbloomer (Post 39405)
Granule is very cool and looks like it might be just what I´m looking for. I have a question though, can it play wav files on the 770? I use another program on windows that has wave files associated with its language flash cards that are a huge help learning correct pronunciation.

I´ve read the instructions in the manual and realize it can be done on other linux systems but I´m pretty new to linux in general and totaly new to the 770 and am unsure if the sox is part of its install or if it can be installed on the 770.

Yes, you can play audio files on n770 as well. For that, you need to install gst-launch utility which is a part of gstreamer-tools. Enable "red pill" mode in the Application Manager, install gstreamer-tools and that should give you .mp3 playback support.

Then, convert your WAV files to MP3s and put them on n770.

Start Granule, go to the Preferences->sounds and set the sound settings to:

Sound Player: gst-launch
Sound Cmd Args: filesrc location=%.mp3 ! dspmp3sink

Make sure the 'Default Sound Path' is a valid path.

The sound player might be either gst-launch or gst-launch-0.10.

It is not as clean as it could have been with direct gstreamer support by the program, but it works for me. The only thing is you need to pace yourself playing sounds - if they are lengthy clips, make sure you don't start the next one while the previous is still playing. That will hose the gstreamer pipe and leave zombies behind (which the only way to get rid of is with reboot). So, pause before you play the next sound.

hope this helps.

vlg 2007-03-30 13:42

Re: Granule - flashcard program for maemo
 
Quote:

Originally Posted by clq (Post 39475)
Does this program work, or is there a simelar program for the N800?

Granule v. 1.2.4 port to N800 is available. Either use .install link for quick installation or add 'extras' repository to you Application Manager list and you should be able to install it. For detailed instruction, please, consult the 'Nokia' section of the Download page:

http://granule.sourceforge.net/grapp_download.html

sashabe 2008-02-05 22:04

Re: Granule - flashcard program for maemo
 
i use the version for os2008 and impressed by the program's possibilities, though have a few suggestions:
1. option to ignore the case of entered words. By default, Maemo always starts the word from the capital letter and it's so annoying to see that 'incorrect' result was due to a single capital letter;
2. option to set 'correct' status by the part of the word, not full version. it's very useful in a lot of cases.
is there any hope to see these features implemented?)
thanks)

Jasperfields 2008-07-14 04:37

Re: Granule - flashcard program for maemo
 
I have been using this a lot and wonder if anyone has it working in diablo. I have it installed but when I start it, I get a loading message and then nothing. It does not open. Any help would be greatly appreciated.

Thanks!

vlg 2008-07-23 14:19

Re: Granule - flashcard program for maemo
 
I haven't had a chance to load diablo or install its corresponding SDK. But you should have no problems with starting Granule from command line like this:

1. Utilities-> X Terminal
2. ~ $ granule --log-level=3 --log-file=granule.log

Then open a bug report [1] with the Bug Tracker and attach granule.log to your report so that I can examine the log messages to see what the problem might be.

[1] http://granule.sourceforge.net/grapp_bugs.html

FrankWalzer 2008-07-23 20:01

Re: Granule - flashcard program for maemo
 
I got this on Diablo:

/home/user # granule
granule: error while loading shared libraries: libhildonmm-1.0.so.1: cannot open shared object file: No such file or directory

but my system has 2.0.1-2 installed.

olis80 2008-08-03 11:07

Re: Granule - flashcard program for maemo
 
I have the same problem in diablo, granule loads but not starts.
If started from xterminal I get this error:

error while loading shared libraries: libhildonmm-1.0.so.1: cannot open shared object file: No such file or directory.

Any help greatly appreciated.
Thanks.

syntoad 2008-08-03 14:39

Re: Granule - flashcard program for maemo
 
From the fring thread:

Code:

#ln -s /usr/lib/libhildonmm-1.0.so.2 /usr/lib/libhildonmm-1.0.so.1
I'm back on chinook for now until more software is updated, but see if that fixes your problems.

vlg 2008-09-03 20:43

Granule (flashcard program for maemo) v. 1.4.0 available
 
I pushed granule-1.4.0-7 both to chinook and diablo 'extras' last night. You should be able to install it with one-click install from the Download

This release introduces new UI design for the Deck Player dialog to take full advantage of scarce screen real estate of Nokia IT N8x0 and adds support for full-screen mode with touch-screen navigation keys.

http://granule.sourceforge.net/grapp...layer-back.png

happy learning,
--Vlad

Laughing Man 2008-09-03 21:08

Re: Granule - flashcard program for maemo
 
I tried installing it but it says it needs gstreamer-tools. Should I redpill it or grab it from another repo?

vlg 2008-09-04 03:11

Re: Granule - flashcard program for maemo
 
gstreamer-tools is listed as dependency and should have been installed automatically. You can, of course, install it in redpill mode - but it makes me wonder what I do wrong on my part.

Here is my debian/control file. Perhaps, someone can point out to me my mistake:

Code:

Source: granule
Section: user/other
Priority: optional
Maintainer: Vladislav Grinchenko <vlg@users.sourceforge.net>
Build-Depends: debhelper (>= 4.0.0), libxml2-dev, libhildon1-dev, libosso-dev, l
ibosso-gnomevfs2-dev, libhildonfm2-dev, osso-af-settings, libgconf2-dev, libhildonmm-dev, libhildon-fmmm-dev, intltool, libassa-dev
Standards-Version: 3.6.1

Package: granule
Architecture: any
Depends: ${shlibs:Depends}, gstreamer-tools
Description: flashcard program for learning new words


Simon80 2008-09-08 01:21

Re: Granule - flashcard program for maemo
 
gstreamer-tools doesn't seem to exist in the extras repository, or any of the other default repositories. I'm not sure where you've gotten it from, but it is actually missing, so it's not the fault of your control file. I noticed libassa in extras-devel, so I guess that package just needs to be promoted.

vlg 2008-09-08 03:30

Re: Granule - flashcard program for maemo
 
gstreamer-tools is a system-level package.

I tested the chinook installation and it worked for me as expected.

I wonder if diablo is different in this respect and if I should install it and
investigate this issue further.

You might try to install gstreamer-tools from XTerm with something like

Quote:

$ sudo gainroot
# apt-get install gstreamer-tools

cashel 2008-09-10 11:37

Re: Granule - flashcard program for maemo
 
I'm having the same issue with gstreamer-tools on diablo.

Thanks for the work with granule, I'm sure it will be great once I install it.

cashel 2008-09-11 02:43

Re: Granule - flashcard program for maemo
 
I've resolved my problems with gstreamer-tools on diablo.

I grabbed the chinook gstreamer-tools debs:

http://repository.maemo.org/pool/chi...nook_armel.deb

http://repository.maemo.org/pool/chi...nook_armel.deb

Granule installs after this

oldmancoyote1 2008-09-11 19:21

Re: Granule - flashcard program for maemo
 
When I tried to install gstreamer using cashel's links, I got the incompatible error message. I am running the latest version of diablo on an 810. How do I install a chinook app on a diablo machine?

Many thanks.

Laughing Man 2008-09-11 19:31

Re: Granule - flashcard program for maemo
 
I get the same error, incompatible.

oldmancoyote1 2008-09-15 01:51

Re: Granule - flashcard program for maemo
 
I've tried lots of things since my last posting. The most promising was:

download the gstreamer tool deb as linked above.
xterm
sudo gainroot
dpkg -i FileNameWhereDebIsSaved.deb

All the messages looked great.
Used Application manager to install granule.
Same ****ed error messsage!

Anybody have any ideas?

Simon80 2008-09-15 22:53

Re: Granule - flashcard program for maemo
 
Quote:

Originally Posted by vlg (Post 221822)
You might try to install gstreamer-tools from XTerm with something like

I did try this, only I typed
Code:

apt-cache policy gstreamer-tools
in order to see that it was completely unavailable for me. Also of use for hunting for maemo packages is this site, which shows that gstreamer-tools is in the deb http://repository.maemo.org/ diablo/sdk repository

mikkov 2008-09-16 00:57

Re: Granule - flashcard program for maemo
 
I added gstreamer-tools to extras, granule is now installable.

Please don't use sdk repository on tablets

vlg 2008-09-16 02:03

Re: Granule - flashcard program for maemo
 
mikkov,

thank you so much for resolving this dependency. I've been busy lately and
couldn't look into the issue myself.

thanks again,
--Vlad

Laughing Man 2008-09-16 02:58

Re: Granule - flashcard program for maemo
 
Ok, I installed it but it doesn't run.

When trying it from the command line..

"error while loading shared libaries: libhildonmm-1.0.so.2: cannot open shared object file: No such file or directory"

MattZTexasu 2008-09-16 03:47

Re: Granule - flashcard program for maemo
 
I installed it and it ran fine. Now I have to build some decks.

oldmancoyote1 2008-09-20 21:07

Re: Granule - flashcard program for maemo
 
Success! After using dpkg as above, App Manager would'nt load granule.

Next I used: dpkg -C
and: dpkg -l

Now App Managdr installed granule without further complaint. Go figure.

Good luck.

Morhas 2008-09-30 19:16

Re: Granule - flashcard program for maemo
 
I have been able to get granule installed, but when I go to launch granule, I get the "Loading granule" window, but nothing happens.

shubhamharnal 2009-01-12 08:46

Can't add words to new deck in n810
 
When I launch granule and subsequently a new deck, I do not get any interface to add new words. Unlike the online granule manual which shows a right-hand side vertical toolbar with buttons to do so, I do not get any such options menu.
Any ideas anyone?
Thanks.


All times are GMT. The time now is 05:19.

vBulletin® Version 3.8.8