OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: rafm on June 14, 2006, 07:40:05 am
-
The latest release of the dictionary reader with (probably) the largest collection of free dictionaries, can be downladed from:
http://bedic.sourceforge.net/ (http://bedic.sourceforge.net/)
The major effort has been devoted to make zbedic run on Linux desktop (QT without QTopia). Therfore binary packages for Debian and other Linux distributions are available starting from this release. This release has also several improvements for the Zaurus version: images can be included in dictionaries, redesigned 'add dictionary' interface and new file dialogs.
-
Thanks! I'll check it out.
-
Yes, thanks for the heads up. This is one of the esssential Zaurus apps.
The English dictionary is identical to the $15 BDicty version. Multilanguage support is not so good and I need BDicty for French and Spanish.
Zbedic reader works great with Wikipedia, Wiktionary, WikiQuote, WikiSimple, etc.
That little lot swallows up half of my 1gb SD card.
-
g++ -o objs.noqpe/zbedic -L../libbedic/objs. objs.noqpe/main.o objs.noqpe/zbedic.o objs.noqpe/moc_zbedic.o objs.noqpe/settings.o objs.noqpe/moc_settings.o objs.noqpe/keyboard_shortcuts.o objs.noqpe/moc_keyboard_shortcuts.o objs.noqpe/editor.o objs.noqpe/moc_editor.o objs.noqpe/dicproperties.o objs.noqpe/moc_dicproperties.o objs.noqpe/abstract_config.o objs.noqpe/registry.o -L/usr/lib/qt/lib -lqt-mt -L../libbedic/objs/ -lbedic -L/opt/native/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/lib -lsqlite3
objs.noqpe/zbedic.o(.text+0x6c58): In function `ZBEDic::showHelp()':
: undefined reference to `HelpDialog::HelpDialog(QWidget*)'
objs.noqpe/zbedic.o(.text+0x6ce8): In function `ZBEDic::showHelp()':
: undefined reference to `vtable for HelpDialog'
collect2: ld returned 1 exit status
make: *** [objs.noqpe/zbedic] Error 1
Any idea what's wrong? Trying to build it for pdaXrom...
-albertr
-
Thanks for the headsup!
-
Making some progress
g++ -c -o objs.noqpe/helpdialog.o -pipe -Wall -Os -ffast-math -fomit-frame-pointer -fsigned-char -fno-strict-aliasing -mcpu=xscale -mtune=xscale -I/opt/native/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/include -I/usr/lib/qt/include -DDESKTOP=1 -DPKG_DATA_PATH=\"/usr/local/share/zbedic\" -I../libbedic/include -DVERSION=\"1.1-0\" -DPREFIX_PATH=\"/usr/local\" src/helpdialog.cpp
g++ -o objs.noqpe/zbedic -L../libbedic/objs. objs.noqpe/main.o objs.noqpe/zbedic.o objs.noqpe/moc_zbedic.o objs.noqpe/settings.o objs.noqpe/moc_settings.o objs.noqpe/keyboard_shortcuts.o objs.noqpe/moc_keyboard_shortcuts.o objs.noqpe/editor.o objs.noqpe/moc_editor.o objs.noqpe/dicproperties.o objs.noqpe/moc_dicproperties.o objs.noqpe/abstract_config.o objs.noqpe/helpdialog.o objs.noqpe/registry.o -L/usr/lib/qt/lib -lqt-mt -L../libbedic/objs/ -lbedic -L/opt/native/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/lib -lsqlite3
objs.noqpe/zbedic.o(.text+0x6ce8): In function `ZBEDic::showHelp()':
: undefined reference to `vtable for HelpDialog'
objs.noqpe/helpdialog.o(.text+0x58): In function `HelpDialog::HelpDialog(QWidget*)':
: undefined reference to `HelpDialog::tr(char const*, char const*)'
objs.noqpe/helpdialog.o(.text+0x3dc): In function `HelpDialog::HelpDialog(QWidget*)':
: undefined reference to `HelpDialog::tr(char const*, char const*)'
objs.noqpe/helpdialog.o(.text+0x6d4): In function `HelpDialog::HelpDialog(QWidget*)':
: undefined reference to `vtable for HelpDialog'
objs.noqpe/helpdialog.o(.text+0x75c): In function `HelpDialog::HelpDialog(QWidget*)':
: undefined reference to `HelpDialog::tr(char const*, char const*)'
objs.noqpe/helpdialog.o(.text+0xae0): In function `HelpDialog::HelpDialog(QWidget*)':
: undefined reference to `HelpDialog::tr(char const*, char const*)'
objs.noqpe/helpdialog.o(.text+0xdd8): In function `HelpDialog::HelpDialog(QWidget*)':
: undefined reference to `vtable for HelpDialog'
collect2: ld returned 1 exit status
make: *** [objs.noqpe/zbedic] Error 1
-albertr
-
Ok, I gave up on trying to fix it, and just commented out HelpDialog call from zbedic.cpp. Now it compiles and runs.
-albertr
-
I'll try to upgrade OZ version in next week.
-
Making some progress
...
g++ -o objs.noqpe/zbedic -L../libbedic/objs. objs.noqpe/main.o objs.noqpe/zbedic.o objs.noqpe/moc_zbedic.o objs.noqpe/settings.o objs.noqpe/moc_settings.o objs.noqpe/keyboard_shortcuts.o objs.noqpe/moc_keyboard_shortcuts.o objs.noqpe/editor.o objs.noqpe/moc_editor.o objs.noqpe/dicproperties.o objs.noqpe/moc_dicproperties.o objs.noqpe/abstract_config.o objs.noqpe/helpdialog.o objs.noqpe/registry.o -L/usr/lib/qt/lib -lqt-mt -L../libbedic/objs/ -lbedic
...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131148\"][{POST_SNAPBACK}][/a][/div]
The command line seems to be missing objs.noqpe/moc_helpdialog.o.
This should be fixed in the latest sources (1.1-1), which you can download from the CVS, but which are missing as tar.gz.
-
I'll try to upgrade OZ version in next week.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131304\"][{POST_SNAPBACK}][/a][/div]
Unfortunately, the OZ version is the Opie (Qtopia) version. I've been trying to compile a GPE version for some time... Keep failing. Have includes problems etc.
Could some kind soul compile for GPE and post it?
This really is the quintessential Z app for me too, it's so hard to get by without it - yet GPE on OZ otherwise is the greatest, I think...
-
I'm working on new recipes for zbedic so versions for both enviroments will be provided.
rafm: I will send you some patches to review soon.
-
This is great news. I think this should be advertised to the general Linux community.
Thanks, rafm. Special thanks for working on including images.
-
2or0 has compiled zbedic for pdaXrom. Should the package be added to the zbedic download list (or at least a link)?
https://www.oesf.org/forums/index.php?showt...ndpost&p=138407 (https://www.oesf.org/forums/index.php?showtopic=18415&view=findpost&p=138407)
-
Some feedback.
I put the zbedic on Suse and it runs well. The only issue was with finding libaudio.so.2 (??) I linked it to some libaudiofile library in Suse. Why does it need an audio library?
When I first noticed that some entries where not displayed (just nothing, the word on the left shows but nothing in the right pane), I thought it was the dictionary's problem. However, it appears that it's zbedic. Can't see why some (quite a few) entries are not displayed. Has anybody else seen this? For me it's both on zbedic and Suse.
Do we need to recompile all the dictionaries for the new zbedic to fix this problem. You were saying somewhere something about new mkbedic.
Is there some info somewhere about the image tags? Just plain html?
-
Some feedback.
I put the zbedic on Suse and it runs well. The only issue was with finding libaudio.so.2 (??) I linked it to some libaudiofile library in Suse. Why does it need an audio library?
Perhaps QT requires audio library. zbedic does not use it.
When I first noticed that some entries where not displayed (just nothing, the word on the left shows but nothing in the right pane), I thought it was the dictionary's problem. However, it appears that it's zbedic. Can't see why some (quite a few) entries are not displayed. Has anybody else seen this? For me it's both on zbedic and Suse.
Do we need to recompile all the dictionaries for the new zbedic to fix this problem. You were saying somewhere something about new mkbedic.
Which dictionaries show this problem? If you could put one of them (the smaller, the better) somewhere to dowload, I would take a look at it.
I noticed some problems with the dictionaries that use char-precedence and do not list all the characters they use.
Is there some info somewhere about the image tags? Just plain html?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=138673\")
See: [a href=\"http://bedic.sourceforge.net/doc/zbedic-editing.html]http://bedic.sourceforge.net/doc/zbedic-editing.html[/url] and look for "{img".
-
Thanks, rafm, for a quick response.
Perhaps QT requires audio library. zbedic does not use it.
And I thought zbedic has received audio capabilities for full multimedia content encyclopedias.
I noticed some problems with the dictionaries that use char-precedence and do not list all the characters they use.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=138690\"][{POST_SNAPBACK}][/a][/div]
This could be it. I do use char-precedence quite often. However, it still seems strange in my Ukrainian Russian, the word for abbot is not displayed while the word for abbey is. No unusual letters are used in either one.
I will try to find a smaller dictionary for you to look at.
{sa <link>} - see-also. <link> is another keyword that should be shown when the text surrounded by this tag is clicked.
This is something new, isn't it? How is it different from {sa}link{/sa}? No need for an answer, I will try it.
-
Which dictionaries show this problem? If you could put one of them (the smaller, the better) somewhere to dowload, I would take a look at it.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=138690\"][{POST_SNAPBACK}][/a][/div]
Here is the smallest dictionary with the problem I could find. Do you need sources for the dictionary as well?
Start with the first word of the dictionary 'a', which is displayed correctly. The second and the third entries are not displayed. The fourth displayed...
Notice that the third and fourth entries are close (the fourth entry is in fact the third entry word + a suffix).
There are other seemingly random entries that are not displayed. Is it something I did wrong with the source of the dictionary, wrong tags, wrong positioning of tags? I didn't notice the problem under earlier versions of zbedic.
www.megaupload.com/?d=JP9MHK6Z
-
Thanks. I will take a look at it in the next couple of days. The source dictionary should not be necessary.
-
(...)
When I first noticed that some entries where not displayed (just nothing, the word on the left shows but nothing in the right pane), I thought it was the dictionary's problem.
(...)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=138673\"][{POST_SNAPBACK}][/a][/div]
The problem is caused by the incompatibility between dictionaries generated with mkbedic/xeros prior to 1.0 and zbedic 1.0 and latter. I accidentally introduced this problem by fixing a bug in libbedic. Since it would be quite difficult to revert to the old code (and cause even more incompatibilities), I would suggest upgrading the dictionaries with mkbedic/xerox to 1.0 or later. I added a note to zbedic_format.txt and below that explains how to do it.
------------------
Important note!
The side effect of some bug fixes is that some dictionaries generated
with xerox / mkbedic prior to version 1.0 can be incompatible with
zbedic 1.0 and later. If some dictionary entries are not displayed,
follow the steps below to upgrade the dictionary to be compatible with zbedic
1.0 and later:
1. Compile and install the latest (1.0 or later) mkbedic and xerox
(you will need to install development files for sqlite3 library)
2. Uncompress the dictionary with 'dictunzip old_dic.dic.dz'
3. Reindex the dictionary by running 'xerox old_dic.dic new_dic.dic'
4. Compress the new dictionary 'dictzip new_dic.dic'
The problem happens if the dictionary was created with mkbedic or
xerox version prior to 1.0, the dictionary contains char-precedence
and not all characters are specified in char-precedence and
search-ignore-chars (both xerox and mkbedic reports warnings if this
happens).
------------------
I will try to add handling of both >1.0 and <1.0 dictionaries in the next release, but currently upgrading dictionaries is the only solution.
-
Thank you, rafm, for looking into this.
I haven't compiled dictionaries since before the 1.0 version. As I remember the compilation was: mkbedic->diczip (no xerox). I am a bit confused now. Is xerox reintroduced to the compilation process for dictionaries in your simplified bedic format? If so, what are the role of mkbedic and xerox?
If handling older versions of dictionaries would require significant code changes, I do not think it is that necessary to add that feature. It appears everyone would easily be able to recompile the dictionaries.
One other question. Will the dictionaries compiled after 1.0 be competible with zbedic prior versions? Not important for me but for some users that have not upgraded yet. Incompetibility might force them to upgrade.
-
I'm working on new recipes for zbedic so versions for both enviroments will be provided.
hrw, have you gotten around to it? Just copying zbedic_1.0.bb to zbedic_1.1.bb did not do the trick It barks out in the patching phase.
-
rolf: nope - got few more important things to do and had to leave zbedic. Coyping is not good idea - zbedic need new recipes to get it built for opie and gpe.