Qalculator Runner

Krunner Plugins

Source:

2
Score 63%
Description:

qalculatorrunner adds support for doing mathematical computations
via qalculate in krunner. The functionality is very similar to
the default calculator runner.

Qalculate offers arbitrary precision calculations and will solve
certain algebraic equations. It also offers symbolic computation
for exact results--a large improvement over the default calculator
runner.

*** INSTALL ***

Before you build qalculatorrunner, you must have the qalc program from
libqalculate (http://qalculate.sourceforge.net/) in $PATH.

To build the qalculate runner, go to the root kdebase-workspace-4.2.4-qalculate
folder and run

> cmake .
> cd plasma/runners/qalculator
> make

To install, copy the krunner_qalculatorrunner.so from the
kdebase-workspace-4.2.4-qalculate/lib to your kde4 lib directory. For example

> cp ../../../lib/krunner_qalculatorrunner.so /usr/lib/kde/

and finally, copy the plasma-runner-qalculator.desktop file to the kde4 services
folder. For example

> cp plasma-runner-qalculator.desktop /usr/share/kde4/services/

Qalculate results should appear next time you run krunner :-).

*** DOC ***

qalculatorrunner invokes the qalc command from libqalculate for all expressions
involving an '=' character. Two results are returned, one that is always
approximated in decimal and one that is always in exact form. qalc is called
with 100 places of percision, though only 26 are shown.

sprince09

8 years ago

All right, this looks like an awesome utility, but I can't get it to install under Kubuntu Jaunty. I installed the cmake package, but when I run "cmake ." from the source directory, I get the following error:

scott@aristotle:~/Downloads/kdebase-workspace-4.2.4-qalculate$ cmake .
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/scott/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:19 (find_package)


Any idea what I'm doing wrong?

Report

sprince09

8 years ago

Ok, solved my own problem. For anyone else who's using Kubuntu, make sure you have the following packages installed:

libqimageblitz-dev
libphonon-dev
libplasma-dev
kdelibs5-dev
cmake
qalculate-kde

After installing those packages, the above instructions worked fine. If you're still having trouble, check out this thread:

http://ubuntuforums.org/showthread.php?t=718183

Great app by the way, I've been looking for something like this for a while.

Report

C

siefkenj

8 years ago

I'm glad you like it :-).

Report

product-maker 6 14

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling me
Details
license
version
1.0
updated Jun 10 2009
added Jun 10 2009
downloads today
0
page views today 0
System Tags addon