Katapult-Fast Track

Various KDE 1.-4. Improvements

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
Score 81%
Description:

This is a Katapult fork based on the KDE SVN repository. It fixes several outstanding issues of upstream Katapult. Unfortunately, Katapult development stagnated and no progress has been made upstream for half a year. I recently got a response from the project manager of katapult. If you don't think I should hand the changes over upstream, send me a suggestion for a name or else we'll see what we can do to incorporate my changes back into the original katapult.

Improvements over last stable Katapult release:
* Support for multiple results (Press up or down keys to see more results)
* Support for multiple actions (Press left or right keys to see more actions)
* Adaptive search
* Threaded architecture
* Non-blocking DCOP calls

Kudos to the team for providing the framework for multiple results, multiple actions, and multithreaded catalogs.

Caveats:
* Currently, only the program and bookmark catalogs actually return more than one result at a time.
* Only the program catalog supports adaptive search.
* Only the amarok catalog has multiple actions.

What this means for YOU:
* The amarok catalog should not slow down Katapult if you have a big collection of songs.
* The amarok catalog can now queue songs and add songs to the current playlist
* The program catalog will adapt to your launching preferences (i.e. no more "Konquest" results when all you want is "Konqueror")
* You no longer have to type more letters (press the down key to choose something else)

What is still lacking:
* Testing. Especially for the amarok catalog. I only have a couple of GB worth of songs so I can't speak for everyone but this should be an improvement over the last release.
* Spell catalog. I've tried everything to get KSpell to play nice with separate threads (i.e. call KSpell in the main thread, block the worker thread till KSpell is done, then pass the result to the worker thread) but it just won't work.
* Localization. I need translations. You could of course just ./configure the katapult-0.3.2 sources and make install inside only the po directory.

INSTALLATION:
Read the INSTALL file included. For the impatient, it is now CMake based. So either create a build directory or run
cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR -DREALTRANSPARENCY=1 .

within the source directory.

To avoid crashes due to missing display plug-ins or catalogs, make sure the prefix you use is the same as kde-config --prefix or kde3-config --prefix (not sure about that though) for Kubuntu users.


The command should look something like cmake -DCMAKE_INSTALL_PREFIX=/usr -DREALTRANSPARENCY=1 .

using backticks (i.e. `kde-config --prefix`) instead of $KDEDIR might do the trick.

Then make and install as root.

Simply remove the -DREALTRANSPARENCY=1 switch to disable composite support.

USAGE
Real transparency:
Run a compositing window manager such as compiz before launching katapult-fast track. If you switch from KWin to compiz/beryl while Katapult-Fast Track is running, you have to restart Katapult-Fast Track for real transparency to work. Likewise, shifting to KWin from compiz/beryl requires restarting the program.

Amarok catalog:
Amarok must be running first.

Google and exec catalogs:
Type the keyword (either "google" or "exec" without the quotation marks using the defaults) before entering your query.

For any problems, either leave something here or post something at the Katapult forums. I'll get back to you as soon as I can. Please include how to reproduce your problems.

Last changelog:

11 years ago

---------------
0.1.2
- Add real transparency support
- Enable google and exec catalogs
- Theoretically fix a possible crash for duplicate programs
- Switch to CMake

0.1.1
- Fix crashes due to o2 display plug-in
- Add myself to the authors list

lviggiani

10 years ago

Hi,
I run (on kubuntu 8.04)

cmake -DCMAKE_INSTALL_PREFIX=$(kde-config --prefix) -DREALTRANSPARENCY=1

and everything goes fine.
Bu when than I run

make

I get the following error (at about 60%):

Linking CXX shared module katapult_kimproxycatalog.so
/usr/bin/ld: cannot find -lkaddressbook
collect2: ld returned 1 exit status
make[2]: *** [katapult/plugins/catalogs/kimproxycatalog/katapult_kimproxycatalog.so] Error 1
make[1]: *** [katapult/plugins/catalogs/kimproxycatalog/CMakeFiles/katapult_kimproxycatalog.dir/all] Error 2
make: *** [all] Error 2

Any help?
Thanks.

Report

Juanmamb

10 years ago

1) what is the output of "kde-config --prefix"?

2) does it successfully link any other Katapult catalog, against any other KDE library, or does it actually fail on the 1st attempt to perform any such link?

Report

lviggiani

10 years ago

Hi here are the answers:

1) kde-config: /opt/mono-1.9/lib/libpng12.so.0: no version information available (required by /usr/lib/libqt-mt.so.3)
/usr

2) I don't really understand what you mean... :( . The cmake command works fine, when then I run make, this is the full output:

Linking CXX shared library libkatapult.so
[ 12%] Built target libkatapult
Linking CXX shared module katapult_programcatalog.so
[ 19%] Built target katapult_programcatalog
Linking CXX shared module katapult_bookmarkcatalog.so
[ 28%] Built target katapult_bookmarkcatalog
Linking CXX shared module katapult_documentcatalog.so
[ 36%] Built target katapult_documentcatalog
Linking CXX shared module katapult_calculatorcatalog.so
[ 44%] Built target katapult_calculatorcatalog
Linking CXX shared module katapult_amarokcatalog.so
[ 53%] Built target katapult_amarokcatalog
Linking CXX shared module katapult_kimproxycatalog.so
/usr/bin/ld: cannot find -lkaddressbook
collect2: ld returned 1 exit status
make[2]: *** [katapult/plugins/catalogs/kimproxycatalog/katapult_kimproxycatalog.so] Error 1
make[1]: *** [katapult/plugins/catalogs/kimproxycatalog/CMakeFiles/katapult_kimproxycatalog.dir/all] Error 2
make: *** [all] Error 2

Thanks.

Report

Ekardnam

11 years ago

I'm really looking forward for an update that fixes
- the random crashes.
- IM catalog.

Then Katapult would be (almost) perfect.

Report

dotancohen

11 years ago

For some reason, Katapult-fasttrack is not finding my KDE libraries. This is on Ubuntu 7.04. Any chance of a .deb package? Thanks!
[code]
$ cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR -DREALTRANSPARENCY=1
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Enabling real transparency support. Fade transitions are not supported.
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Didn't find KDE3 headers
-- Didn't find KDE3 core library
-- Didn't find the KDE3 dcopidl preprocessor
-- Didn't find the KDE3 dcopidl2cpp preprocessor
-- Found KDE3 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
CMake Error: Could NOT find everything required for compiling KDE 3 programs
-- Configuring done
[/code]

Report

Juanmamb

10 years ago

Have you tried `kde-config --prefix` (with backticks) instead of
$KDEDIR, which is undefined in my Kubuntu 7.10?
It would result in this command:
cmake -DCMAKE_INSTALL_PREFIX=`kde-config --prefix` -DREALTRANSPARENCY=1
or, alternatively:
cmake -DCMAKE_INSTALL_PREFIX=$(kde-config --prefix) -DREALTRANSPARENCY=1

Report

naglifar

11 years ago

Hello,

I have some problems with katapult. When it is running and I press alt+space nothing happens also when I try to access configuration panel from the tray icon it crush my kde-config --prefix is /usr
the found errors are:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1233163664 (LWP 19695)]
[KCrash handler]
#5 0x08057a0c in KatapultConfigDlg::addDisplaySettings ()
#6 0x0805951e in KatapultConfigDlg::KatapultConfigDlg ()
#7 0x08056d6e in KatapultSettings::configure ()
#8 0x08056e78 in KatapultSettings::qt_invoke ()
#9 0xb6ee1d23 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#10 0xb6ee27c8 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#11 0xb7d61709 in KAction::activated () from /usr/lib/libkdeui.so.4
#12 0xb7d96ab2 in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#13 0xb7e62d2d in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4
#14 0xb7e62ff1 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#15 0xb6ee1d23 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0xb726e360 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#17 0xb6f01d4e in QSignal::activate () from /usr/lib/libqt-mt.so.3
#18 0xb7008611 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#19 0xb7d6a90e in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#20 0xb6f18cb2 in QWidget::event () from /usr/lib/libqt-mt.so.3
#21 0xb6e794e0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#22 0xb6e7b6a1 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#23 0xb7596122 in KApplication::notify () from /usr/lib/libkdecore.so.4
#24 0xb6e0c609 in QApplication::sendSpontaneousEvent ()
from /usr/lib/libqt-mt.so.3
#25 0xb6e0afeb in QETWidget::translateMouseEvent ()
from /usr/lib/libqt-mt.so.3
#26 0xb6e096da in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#27 0xb6e1ffb8 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#28 0xb6e93be6 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#29 0xb6e939f6 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#30 0xb6e7b089 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#31 0x08051f01 in main ()

I am debian user and katapult is installed from debian package.

Does someone know how to fix this.

Thank you.

Report

aaronm67

11 years ago

The original Katapult had a system tray that was mainly used for configuration. Is there a way to access a similar configuration menu?

Report

Ekardnam

11 years ago

Alt+Space
Ctrl+C

There you go. :D
(You can enable the system tray icon in the settings).

Report

aaronm67

11 years ago

Awesome, thanks a lot. I didn't know the Ctrl+C for configure :P I feel dumb.

Report

pedroprez

11 years ago

i have this problem when i want to compile

peter@peter-laptop:~/downloads/katapult-fasttrack-0.1.2$ cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR -DREALTRANSPARENCY=1

CMake Error: Error in cmake code at
/home/peter/downloads/katapult-fasttrack-0.1.2/common/CMakeLists.txt:17:
Unknown CMake command "KDE3_AUTOMOC".
-- Configuring done

which is the problem?

thanks!

Report

lordnils

10 years ago

same here:
$ cmake -DCMAKE_INSTALL_PREFIX=$(kde-config --prefix) -DREALTRANSPARENCY=1
CMake Error at common/CMakeLists.txt:17 (KDE3_AUTOMOC):
Unknown CMake command "KDE3_AUTOMOC".


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.6)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done


What is it? Would love to test Katapult :)

Report

soulrebel

11 years ago

could you add the feature to open urls, like the quistarter applet for kicker can?
for example typing htttp://dot.kde.org would open the page, while man:/sysctl would open the man-page, wp KDE would open wikimedia a.s.o.

that would really be great and make me dump the kicker applet :)

Report

eviz

11 years ago

The compiling process stops here:

Linking CXX shared module katapult_kimproxycatalog.so
/usr/bin/ld: cannot find -lkaddressbook
collect2: ld returned 1 exit status
make[2]: *** [katapult/plugins/catalogs/kimproxycatalog/katapult_kimproxycatalog.so] Error 1
make[1]: *** [katapult/plugins/catalogs/kimproxycatalog/CMakeFiles/katapult_kimproxycatalog.dir/all] Error 2
make: *** [all] Error 2

I have these files on my system;
/usr/lib/libkaddressbook.so.0
/usr/lib/libkaddressbook.so.0.0.0

Any idea what's the problem?

Thanks in advance,
Eviz

Report

jstamp

11 years ago

It looks like you need to install the kdepim-dev package (or whatever your distribution calls it).

Report

eviz

11 years ago

It's debian machine (unstable), and libkdepim1-dev is already installed.

Report

jstamp

11 years ago

You also need to 'apt-get install kdepim-dev'. It's a separate dev package.

That should take care of it.

Report

jstamp

11 years ago

I get random crashes when typing text.

I am able to reproduce this pretty consistently, especially if I type in a bunch of garbage, then hold down the backspace key.  Maybe it has problems keeping up with rapid key presses?

Report

C

dilettante

11 years ago

>>I get random crashes when typing text.

>>I am able to reproduce this pretty consistently,
Unfortunately, I haven't. I rarely get crashes but I'm unable to consistently reproduce them.
>>especially if I type in a bunch of garbage, then hold down the backspace key.
Why are you typing garbage? ;) I tried that too with the previous releases but you're the first to report the problem so I thought it was pretty isolated.
>>Maybe it has problems keeping up with rapid key presses?
Yes, apparently sometimes it does... Except without a definite set of keystrokes or normal program usage that causes it to crash it's difficult to identify what's wrong.

Report

jstamp

11 years ago

Well, it happens even with normal program usage. Typing garbage quickly just gets you there faster. :) Actually even just typing one character can sometimes do it.

With all the plugins enabled, type "exec kontact". Sometimes it crashes while I'm typing, sometimes while I'm holding down backspace.

I suspect that it has something to do with updating the display, not the catalogs themselves. Not sure though. I'll take a closer look when I have some time.

Report

C

dilettante

11 years ago

Could you send me a backtrace?

Report

emms007

11 years ago

here is a backtrace of a crash occuring when typing garbage.

It happened when the program was focusing on a folder as its target.. The First three letters were highlighted.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1232898352 (LWP 17872)]
0xb6d51545 in ImageDisplay::getDisplay () from /usr/lib/libkatapult.so.4
(gdb) bt
#0 0xb6d51545 in ImageDisplay::getDisplay () from /usr/lib/libkatapult.so.4
#1 0xb6d51f7f in ImageDisplay::paintEvent () from /usr/lib/libkatapult.so.4
#2 0xb7a85a55 in QWidget::event () from /usr/lib/libqt-mt.so.3
#3 0xb79e5a60 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#4 0xb79e842a in QApplication::notify () from /usr/lib/libqt-mt.so.3
#5 0xb7558c32 in KApplication::notify () from /usr/lib/libkdecore.so.4
#6 0xb79781e9 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#7 0xb79b2455 in QWidget::repaint () from /usr/lib/libqt-mt.so.3
#8 0xb7a8c931 in QWidget::repaint () from /usr/lib/libqt-mt.so.3
#9 0xb7a8a9f8 in QWidget::repaint () from /usr/lib/libqt-mt.so.3
#10 0xb7967675 in QETWidget::translateConfigEvent () from /usr/lib/libqt-mt.so.3
#11 0xb7975083 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#12 0xb798c180 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#13 0xb7a00136 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#14 0xb79fff46 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#15 0xb79e7609 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#16 0x08057624 in main ()

Hope this helps.

Report

neven

11 years ago

I can't install kattapult :(
I'm using SUSE 10.2

linux:/home/neven/Instalacije/katapult-fasttrack-0.1.2 # katapult
WARNING: No compositing manager loaded
kbuildsycoca running...
katapult: WARNING: Catalog: Program CatalogLibrary files for "katapult_programcatalog.la" not found in paths.
katapult: WARNING: Catalog: Calculator CatalogLibrary files for "katapult_calculatorcatalog.la" not found in paths.
katapult: WARNING: Catalog: Bookmark CatalogLibrary files for "katapult_bookmarkcatalog.la" not found in paths.
katapult: WARNING: Catalog: Document CatalogLibrary files for "katapult_documentcatalog.la" not found in paths.
katapult: WARNING: Catalog: Amarok CatalogLibrary files for "katapult_amarokcatalog.la" not found in paths.
katapult: ERROR: Could not load plugin Pure Display
katapult: Falling back to another plugin
katapult: FATAL: Could not initialize display plug-in!
KCrash: Application 'katapult' crashing...
KWrited - Listening on Device /dev/pts/2
kded: ERROR: mount failed for /org/freedesktop/Hal/devices/volume_label_SU1020_001: org.freedesktop.Hal.Device.PermissionDeniedByPolicy - hal-storage-removable-mount refused uid 0
kded: ERROR: mounting /org/freedesktop/Hal/devices/volume_label_SU1020_001 returned hal-storage-removable-mount refused uid 0
linux:/home/neven/Instalacije/katapult-fasttrack-0.1.2 #

Report

C

dilettante

11 years ago

You appear to have the same problem as above. Where were the files installed?

$KDEDIR should be the directory returned by `kde-config --prefix`

Your system isn't detecting the libraries used by the program.

Report

neke

11 years ago

In fact, this is the same error I got, so have a look to my own answer.

Report

11 years ago

---------------
0.1.2
- Add real transparency support
- Enable google and exec catalogs
- Theoretically fix a possible crash for duplicate programs
- Switch to CMake

0.1.1
- Fix crashes due to o2 display plug-in
- Add myself to the authors list

product-maker 17 91

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.1.2
updated Jul 03 2007
added Jun 23 2007
downloads today
0
page views today 2