KLingvoOnline

Utilities

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
Description:

KLingvoOnline - kicker applet allows to lookup a word in Lingvo.ru without opening a browser. Features: history and auto-completion of entered words, choice of languages, transliteration ( entering Russian characters without switching keyboard to Russian layout ), and adding content to KWordQuiz.

Requires: kdelibs-devel.
Last changelog:

13 years ago

Removed dependency on khtml_ext.h.

0.2
- Add content to KWordQuiz vocabolaries.

s6i6x6

7 years ago

How to fix an absence of kde-config in Mandriva?

Report

nikman

12 years ago

If you have new Linux distributive (for example, SuSE 10.3) and you can't build the plug-in (because you have automake-1.10):

configure.in:43: error: possibly undefined macro: AM_INIT_AUTOMAKE

Then this solution is for YOU:
Run this before ./configure.

export ACVER=`whereis aclocal- 2>&1|sed -e 's#.*bin/aclocal-\([0-9.]*\).*#\1#'`
sed -i -e "s/am__api_version=\"1.9\"/am__api_version=\"$ACVER\"/" configure

Report

anderston

13 years ago

Really useful program, thank you very much for development.

Report

dikov

13 years ago

I can't compile version 0.2 of your program. The following logs may help to identify the source of the crash.

then mv -f ".deps/prefs.Tpo" ".deps/prefs.Plo"; else rm -f ".deps/prefs.Tpo"; exit 1; fi
/bin/sh ../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -o klingvotranslator.la -rpath /usr/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/lib -R /usr/lib/qt3/lib/ -R /usr/X11R6/lib -L/usr/lib -L/usr/lib/qt3/lib/ -L/usr/X11R6/lib klingvotranslator.lo textencoder.lo browser.lo languagechooser.lo browserpopupmenu.lo wordquizfilechooser.lo wordquizwriter.lo tooltip.lo filesprefs.lo settings.lo browser_prefs.lo prefs.lo -lkio -lkdeui -lkhtml
.libs/klingvotranslator.o(.text+0x83): In function `KLingvoTranslator::about()':
klingvotranslator.cpp: undefined reference to `KAboutData::KAboutData(char const*, char const*, char const*, char const*, int, char const*, char const*, char const*, char const*)'
.libs/klingvotranslator.o(.text+0x98):klingvotranslator.cpp: undefined reference to `KAboutData::addAuthor(char const*, char const*, char const*, char const*)'
.libs/klingvotranslator.o(.text+0xa8):klingvotranslator.cpp: undefined reference to `KAboutData::setBugAddress(char const*)'
.libs/klingvotranslator.o(.text+0xc5):klingvotranslator.cpp: undefined reference to `QDialog::exec()'
.libs/klingvotranslator.o(.text+0xf5):klingvotranslator.cpp: undefined reference to `KAboutData::~KAboutData()'
.libs/klingvotranslator.o(.text+0x130): In function `KLingvoTranslator::help()':
klingvotranslator.cpp: undefined reference to `i18n(char const*)'
.libs/klingvotranslator.o(.text+0x136):klingvotranslator.cpp: undefined reference to `QString::null'
.libs/klingvotranslator.o(.text+0x157):klingvotranslator.cpp: undefined reference to `QString::shared_null'
.libs/klingvotranslator.o(.text+0x164):klingvotranslator.cpp: undefined reference to `QStringData::deleteSelf()'
.libs/klingvotranslator.o(.text+0x213): In function `KLingvoTranslator::preferences(int)':
klingvotranslator.cpp: undefined reference to `i18n(char const*)'
.libs/klingvotranslator.o(.text+0x26a):klingvotranslator.cpp: undefined reference to `QString::QString(char const*)'
.libs/klingvotranslator.o(.text+0x279):klingvotranslator.cpp: undefined reference to `i18n(char const*)'
.libs/klingvotranslator.o(.text+0x27f):klingvotranslator.cpp: undefined reference to `QString::null'

Report

zerg

14 years ago

khtml_ext.h missed in SuSE, such as any distribution
http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/i586/kdelibs3-devel-3.5.1-47.i586.rpm
Please fix your program to don't use khtml_ext.h

Report

Trulala

14 years ago

kde 3.5

make all-recursive
make[1]: Entering directory `/home/Trulala/klingvotranslator'
Making all in doc
make[2]: Entering directory `/home/Trulala/klingvotranslator/doc'
Making all in .
make[3]: Entering directory `/home/Trulala/klingvotranslator/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Trulala/klingvotranslator/doc'
Making all in en
make[3]: Entering directory `/home/Trulala/klingvotranslator/doc/en'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Trulala/klingvotranslator/doc/en'
make[2]: Leaving directory `/home/Trulala/klingvotranslator/doc'
Making all in po
make[2]: Entering directory `/home/Trulala/klingvotranslator/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Trulala/klingvotranslator/po'
Making all in src
make[2]: Entering directory `/home/Trulala/klingvotranslator/src'
if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT browser.lo -MD -MP -MF ".deps/browser.Tpo" -c -o browser.lo browser.cpp; \
then mv -f ".deps/browser.Tpo" ".deps/browser.Plo"; else rm -f ".deps/browser.Tpo"; exit 1; fi
browser.cpp:28:23: error: khtml_ext.h: No such file or directory
browser.cpp: In member function 'void BrowserImpl::reconfigure()':
browser.cpp:66: error: invalid use of undefined type 'struct KHTMLPartBrowserExtension'
/opt/kde3/include/khtml_part.h:40: error: forward declaration of 'struct KHTMLPartBrowserExtension'
browser.cpp:67: error: invalid use of undefined type 'struct KHTMLPartBrowserExtension'
/opt/kde3/include/khtml_part.h:40: error: forward declaration of 'struct KHTMLPartBrowserExtension'
make[2]: *** [browser.lo] Error 1
make[2]: Leaving directory `/home/Trulala/klingvotranslator/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Trulala/klingvotranslator'
make: *** [all] Error 2

Report

C

serega

14 years ago

I don't know why but khtml_ext.h is missing on different distributions, even it is a part of kdelibs. Grab khtml_ext.h from http://websvn.kde.org/branches/KDE/3.5/kdelibs/khtml/

and put it in your $KDE/include directory.
It is /opt/kde3/include in my SUSE.

Report

zerg

14 years ago

In what package (version-release) you have khtml_ext.h ?

Report

Trulala

14 years ago

I have added khtml_ext.h in /opt/kde3/include, but still have trobles
here is output of make:
make all-recursive
make[1]: Entering directory `/home/Trulala/klingvotranslator'
Making all in doc
make[2]: Entering directory `/home/Trulala/klingvotranslator/doc'
Making all in .
make[3]: Entering directory `/home/Trulala/klingvotranslator/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Trulala/klingvotranslator/doc'
Making all in en
make[3]: Entering directory `/home/Trulala/klingvotranslator/doc/en'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Trulala/klingvotranslator/doc/en'
make[2]: Leaving directory `/home/Trulala/klingvotranslator/doc'
Making all in po
make[2]: Entering directory `/home/Trulala/klingvotranslator/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Trulala/klingvotranslator/po'
Making all in src
make[2]: Entering directory `/home/Trulala/klingvotranslator/src'
if /bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT browser.lo -MD -MP -MF ".deps/browser.Tpo" -c -o browser.lo browser.cpp; \
then mv -f ".deps/browser.Tpo" ".deps/browser.Plo"; else rm -f ".deps/browser.Tpo"; exit 1; fi
/bin/sh ../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -o klingvotranslator.la -rpath /opt/kde3/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /opt/kde3/lib -R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib -L/opt/kde3/lib -L/usr/lib/qt3/lib -L/usr/X11R6/lib klingvotranslator.lo textencoder.lo browser.lo languagechooser.lo settings.lo browser_prefs.lo prefs.lo -lkio -lkdeui -lkhtml
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot find -lacl
collect2: ld returned 1 exit status
make[2]: *** [klingvotranslator.la] Error 1
make[2]: Leaving directory `/home/Trulala/klingvotranslator/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Trulala/klingvotranslator'
make: *** [all] Error 2

Report

C

serega

14 years ago

This time you are missing a library. Since you are using SUSE go to Yast/Software Management and do search on acl. Install whatever search returns.

Report

Trulala

14 years ago

hm, I have searchen, but everything what contained acl, include libacl is installed....

Report

Trulala

14 years ago

I needed libacl-devel, I installed it and make finished without errors, but hm... very stupid question, but after make install where is executable?
anyway, it must be very good and really nessesery utility for all Russian speakers so thank you very much!!!

Report

C

serega

14 years ago

There is no executable :) Go to kicker panel. Right click on it. Choose add applet to panel. If everything was succesfully installed you should see KLingvoOnline as one of the apllets. Add it to the panel. :)

Report

C

serega

14 years ago

I don't know why but khtml_ext.h is missing on different distributions, even it is a part of kdelibs. Grab khtml_ext.h from http://websvn.kde.org/branches/KDE/3.5/kdelibs/khtml/

and put it in your $KDE/include directory.
It is /opt/kde3/include in my SUSE.

Report

gfdsa

14 years ago

but same error on gentoo kde3.4
isnt khtml_ext.h a part of older kdelibs?

Report

gfdsa

14 years ago

got the khtml_ext.h from kde repository, compiled, linked and runs.
however, if i close the popup with translation, some focus issue comes up, all the kicker interface becomes unresposable.

Anyway, it's impressive for 0.1!!! good job, you just made my day!

Report

C

serega

14 years ago

Actually I had to do the same thing, download khtml_ext.h from repository. I don't know why it is missing. But do you still have this issue with kicker interface becoming unresponsible?

Report

CrazyFluger

14 years ago

Compile error on Debian Sarge with KDE3.5:

browser.cpp:28:23: khtml_ext.h: No such file or directory
browser.cpp: In member function `void BrowserImpl::reconfigure()':
browser.cpp:66: error: invalid use of undefined type `struct
KHTMLPartBrowserExtension'
/usr/include/kde/khtml_part.h:40: error: forward declaration of `struct
KHTMLPartBrowserExtension'
browser.cpp:67: error: `reparseConfiguration' undeclared (first use this
function)
browser.cpp:67: error: (Each undeclared identifier is reported only once for
each function it appears in.)
make[2]: *** [browser.lo] Ошибка 1
make[2]: Leaving directory `/home/crazyfluger/downloads/kde/Improvements/klingvotranslator/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/crazyfluger/downloads/kde/Improvements/klingvotranslator'
make: *** [all] Ошибка 2

Report

C

serega

14 years ago

You need development libraries and include files. I am using SUSE and packages I needed are kdesdk3-devel and kdelibs3-devel.

Report

CrazyFluger

14 years ago

I`m copy `khtml_ext.h` from `http://websvn.kde.org/branches/KDE/3.5/kdelibs/khtml/` to `/usr/include/kde/` and problem has gone. 8))))
Nice applet, very coming for me. 8)

Report

13 years ago

Removed dependency on khtml_ext.h.

0.2
- Add content to KWordQuiz vocabolaries.

12345678910
Be the first to comment
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.2
updated Dec 26 2006
added Jan 20 2006
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0
System Tags app software