Package Details: kgtk 0.11.0-4

Git Clone URL: https://aur.archlinux.org/kgtk.git (read-only)
Package Base: kgtk
Description: LD_PRELOAD hack with helper scripts to make gtk and qt-only programs use KDE file dialogs.
Upstream URL: http://www.kde-apps.org/content/show.php?content=36077
Licenses: GPL
Submitter: None
Maintainer: sjakub
Last Packager: sjakub
Votes: 108
Popularity: 0.012960
First Submitted: 2006-05-11 17:47
Last Updated: 2016-08-01 22:59

Latest Comments

notargets commented on 2016-08-05 09:57

Now it's working, thank you!

sjakub commented on 2016-08-01 23:01

Updated

notargets commented on 2016-07-30 16:56

I get the following:

==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build kgtk.

pavbaranov commented on 2014-12-30 14:37

Since pacman 4.2 PKGBUILD not builds package.

pantonov commented on 2014-04-27 06:40

-----------------------------------------
/usr/include/kio/global.h:29:44: fatal error: QFile: No such file or directory
#include <QFile> // for QFile::Permissions
-----------------------------------------
It is a bug in kio header files. You should change include directive at string 29 of /usr/include/kio/global.h to #include <QtCore/QFile>

SysGhost commented on 2014-04-23 13:26

Won't compile.

Error messages follow:
----------------------------------------------
tmp/yaourt-tmp-sysghost/aur-kgtk/src/KGtk-0.11.0/gtk2/kgtk.c:2400:26: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
/tmp/yaourt-tmp-sysghost/aur-kgtk/src/KGtk-0.11.0/gtk2/kgtk.c:2400:26: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
/tmp/yaourt-tmp-sysghost/aur-kgtk/src/KGtk-0.11.0/gtk2/kgtk.c: In function ‘handleGtkFileChooserButtonClicked’:
/tmp/yaourt-tmp-sysghost/aur-kgtk/src/KGtk-0.11.0/gtk2/kgtk.c:2600:58: warning: unused parameter ‘button’ [-Wunused-parameter]
static void handleGtkFileChooserButtonClicked(GtkButton *button, gpointer user_data)
^
/tmp/yaourt-tmp-sysghost/aur-kgtk/src/KGtk-0.11.0/gtk2/kgtk.c: In function ‘kgtk_g_module_check_init’:
/tmp/yaourt-tmp-sysghost/aur-kgtk/src/KGtk-0.11.0/gtk2/kgtk.c:2744:49: warning: unused parameter ‘module’ [-Wunused-parameter]
const gchar * kgtk_g_module_check_init(GModule *module)
^
/tmp/yaourt-tmp-sysghost/aur-kgtk/src/KGtk-0.11.0/gtk2/kgtk.c: At top level:
/tmp/yaourt-tmp-sysghost/aur-kgtk/src/KGtk-0.11.0/gtk2/kgtk.c:2750:37: warning: ‘struct PR_LoadLibrary’ declared inside parameter list [enabled by default]
void * PR_FindFunctionSymbol(struct PR_LoadLibrary *lib, const char *raw_name)
^
/tmp/yaourt-tmp-sysghost/aur-kgtk/src/KGtk-0.11.0/gtk2/kgtk.c:2750:37: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
Linking C shared library ../lib/libkgtk3.so
[ 15%] Built target kgtk3
Scanning dependencies of target kdialogd4_bin_automoc
Generating kdialogd.moc
[ 15%] Built target kdialogd4_bin_automoc
Scanning dependencies of target kdialogd4_bin
[ 23%] Building CXX object kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd4_bin_automoc.o
[ 30%] Building CXX object kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o
In file included from /usr/include/kfileitem.h:25:0,
from /usr/include/kdirlister.h:24,
from /usr/include/kdiroperator.h:30,
from /tmp/yaourt-tmp-sysghost/aur-kgtk/src/KGtk-0.11.0/kdialogd4/kdialogd.cpp:28:
/usr/include/kio/global.h:29:44: fatal error: QFile: No such file or directory
#include <QFile> // for QFile::Permissions
^
compilation terminated.
kdialogd4/CMakeFiles/kdialogd4_bin.dir/build.make:80: recipe for target 'kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o' failed
make[2]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o] Error 1
CMakeFiles/Makefile2:212: recipe for target 'kdialogd4/CMakeFiles/kdialogd4_bin.dir/all' failed
make[1]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/all] Error 2
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build kgtk.

sjakub commented on 2013-03-02 22:19

Updated. Thanks ava1ar!

ava1ar commented on 2013-03-02 04:15

Here is fixed cmake call:
cmake "../KGtk-${pkgver}" -DCMAKE_INSTALL_PREFIX=/usr -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4

Funkin-Stoopid commented on 2011-11-08 01:33

forget what I said, reboot and It works

Funkin-Stoopid commented on 2011-11-07 23:39

after ln -s /usr/bin/kgtk-wrapper /usr/local/bin/firefox and then /usr/local/bin/firefox or kgtk-wrapper /usr/bin/firefox, it doesn't launch. And nothing appear in terminal

Funkin-Stoopid commented on 2011-11-07 23:33

doesn't work for me

Funkin-Stoopid commented on 2011-11-07 23:31

doesn't work for me

sjakub commented on 2011-11-07 23:06

I'm really sorry to hear that.

Funkin-Stoopid commented on 2011-11-07 22:53

doesn't work for me

sjakub commented on 2011-11-07 17:20

Updated. Also cleaned up the PKGBUILD.

birdflesh commented on 2011-11-07 08:58

Newer version available, please update.

artemklevtsov commented on 2011-06-11 09:59

Work link to source:
http://postgresql.mirrorservice.org/sites/www.ibiblio.org/gentoo/distfiles/KGtk-0.10.1.tar.bz2

Anonymous comment on 2011-05-17 19:26

The download page is down

sjakub commented on 2010-10-02 21:38

I will add those lines together with the new version of kgtk, as soon as I find it.

evaryont commented on 2010-10-02 19:40

The sed line by benjarobin is required, please add it to the PKGBUILD. Otherwise I get the same error message as unikum.

benjarobin commented on 2010-09-08 23:01

Please add, if not the process fail to find Qt lib:
sed -i 's|message("\*\* INFORMATION: Compiling Qt4/KDE4, Qt3/KDE3 disabled")|FIND_PACKAGE(Qt4 REQUIRED) \n INCLUDE(${QT_USE_FILE})|g' ../KGtk-0.10.1/CMakeLists.txt
After :
mkdir -p $srcdir/build4
cd $srcdir/build4

artemklevtsov commented on 2010-09-02 22:44

Sorry, I made a mistake.
help me solve the problem with compilation.

artemklevtsov commented on 2010-09-02 22:43

Sorry, I made a mistake.
help me solve the problem with compation.

sjakub commented on 2010-09-02 17:38

And what exactly is out of date about this package?
Could you post a link to the newer version of kgtk?
Also, if you have patches to make it compile feel free to post them.

artemklevtsov commented on 2010-09-02 15:35

Not compile for KDE 4.5.1.
[ 15%] Building CXX object kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o
In file included from /usr/include/kfileitem.h:32:0,
from /usr/include/kdirlister.h:24,
from /usr/include/kdiroperator.h:30,
from /tmp/yaourt-tmp-root/aur-kgtk/src/KGtk-0.10.1/kdialogd4/kdialogd.cpp:5:
/usr/include/kdatetime.h:32:21: fatal error: QMetaType: No such file or directiry
Compile fail.
make[2]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o] Error 1
make[1]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/all] Error 2
make: *** [all] Error 2