Image 01
profile-image

PabliNet

Pablo Alejandro Buenos Aires, Argentina
test
KGtk (Use KDE Dialogs in Gtk Apps)

Various KDE 1.-4. Improvements 453 comments

Score 76.7%
Nov 03 2011
First of all I apologize for my English because I speak only Spanish.

Debian testing 3.2.0-3-686-pae + KDE 4.8.4

Library installed:
libgtk-3-0:i386
libgtk-3-bin
libgtk-3-common
libgtk-3-dev
libgtk2.0-0:i386
libgtk2.0-bin
libgtk2.0-common
libgtk2.0-dev


1) $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr

-- The C compiler identification is GNU 4.7.1
-- The CXX compiler identification is GNU 4.7.1
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.8.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/i386-linux-gnu/libXft.so;/usr/lib/i386-linux-gnu/libXau.so;/usr/lib/i386-linux-gnu/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/i386-linux-gnu/libXft.so;/usr/lib/i386-linux-gnu/libXau.so;/usr/lib/i386-linux-gnu/libXdmcp.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
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found.
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl (found version "5.14.2")
-- Found Phonon: /usr/include
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.8 include dir: /usr/include
-- Found KDE 4.8 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found Qt-Version 4.8.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Looking for getpeereid
-- Looking for getpeereid - not found
-- checking for module 'gtk+-2.0>=2.6'
-- found gtk+-2.0, version 2.24.10
** INFORMATION: Gtk2 LD_PRELOAD library will be built.
-- checking for module 'gtk+-3.0>=3.0'
-- found gtk+-3.0, version 3.4.2
** INFORMATION: Gtk3 LD_PRELOAD library will be built.
-- Found xgettext: /usr/bin/xgettext
** INFORMATION: Using installation prefix: /usr
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pablo/Descargas/KGtk-0.11.0/build


2) $ make
Scanning dependencies of target kgtk2
[ 7%] Building C object gtk2/CMakeFiles/kgtk2.dir/kgtk.o
In file included from /home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c:74:0:
/home/pablo/Descargas/KGtk-0.11.0/common/connect.h: In function ‘createSocketConnectionReal’:
/home/pablo/Descargas/KGtk-0.11.0/common/connect.h:121:5: warning: #warning "Using sloppy security checks" [-Wcpp]
/home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c: In function ‘handleGtkFileChooserButtonClicked’:
/home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c:2600:58: warning: unused parameter ‘button’ [-Wunused-parameter]
/home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c: In function ‘kgtk_g_module_check_init’:
/home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c:2744:49: warning: unused parameter ‘module’ [-Wunused-parameter]
/home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c: At top level:
/home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c:2750:37: warning: ‘struct PR_LoadLibrary’ declared inside parameter list [enabled by default]
/home/pablo/Descargas/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/libkgtk2.so
[ 7%] Built target kgtk2
Scanning dependencies of target kgtk3
[ 15%] Building C object gtk3/CMakeFiles/kgtk3.dir/__/gtk2/kgtk.o
In file included from /home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c:74:0:
/home/pablo/Descargas/KGtk-0.11.0/common/connect.h: In function ‘createSocketConnectionReal’:
/home/pablo/Descargas/KGtk-0.11.0/common/connect.h:121:5: warning: #warning "Using sloppy security checks" [-Wcpp]
/home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c: In function ‘handleGtkFileChooserButtonClicked’:
/home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c:2600:58: warning: unused parameter ‘button’ [-Wunused-parameter]
/home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c: In function ‘kgtk_g_module_check_init’:
/home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c:2744:49: warning: unused parameter ‘module’ [-Wunused-parameter]
/home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c: At top level:
/home/pablo/Descargas/KGtk-0.11.0/gtk2/kgtk.c:2750:37: warning: ‘struct PR_LoadLibrary’ declared inside parameter list [enabled by default]
/home/pablo/Descargas/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
Linking CXX executable kdialogd4
[ 30%] Built target kdialogd4_bin
Scanning dependencies of target pofiles
[ 38%] Generating zh_CN.gmo
/home/pablo/Descargas/KGtk-0.11.0/kdialogd4/po/zh_CN.po: atención: El conjunto de caracteres "CHARSET" no es un nombre de codificación portátil.
La conversión de mensajes al conjunto de caracteres del usuario podría no funcionar.
[ 46%] Generating de.gmo
[ 53%] Generating fr.gmo
/home/pablo/Descargas/KGtk-0.11.0/kdialogd4/po/fr.po: atención: El conjunto de caracteres "CHARSET" no es un nombre de codificación portátil.
La conversión de mensajes al conjunto de caracteres del usuario podría no funcionar.
[ 61%] Generating es.gmo
/home/pablo/Descargas/KGtk-0.11.0/kdialogd4/po/es.po: atención: El conjunto de caracteres "CHARSET" no es un nombre de codificación portátil.
La conversión de mensajes al conjunto de caracteres del usuario podría no funcionar.
[ 69%] Generating ru.gmo
[ 76%] Generating cs.gmo
[ 84%] Generating pt_BR.gmo
[ 92%] Generating it.gmo
[100%] Generating en_GB.gmo
[100%] Built target pofiles


3) # make install
[ 7%] Built target kgtk2
[ 15%] Built target kgtk3
[ 15%] Built target kdialogd4_bin_automoc
[ 30%] Built target kdialogd4_bin
[100%] Built target pofiles
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/bin/kgtk-wrapper
-- Installing: /usr/lib/kgtk/libkgtk2.so
-- Installing: /usr/lib/kgtk/libkgtk3.so
-- Installing: /usr/lib/kde4/libexec/kdialogd4
-- Installing: /usr/share/locale/zh_CN/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/share/locale/de/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/share/locale/fr/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/share/locale/es/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/share/locale/ru/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/share/locale/cs/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/share/locale/pt_BR/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/share/locale/it/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/share/locale/en_GB/LC_MESSAGES/kdialogd4.mo


4) Run with GIMP:
$ kgtk-wrapper gimp
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.

(gimp:11336): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
/usr/bin/kgtk-wrapper: línea 88: 11336 `trap' para punto de parada/seguimiento LD_PRELOAD=/usr/lib/kgtk/libk${toolkit}.so:$LD_PRELOAD "$@"
QSocketNotifier: Invalid socket 11 and type 'Read', disabling... - Aug 20 2012
MyGtk2XULife

GTK2 Themes 5 comments

Score 50.0%
Jan 28 2009
Me tira el siguiente error: "Este tema no se mostrará como usted pretende porque el motor de temas necesario GTK+ «» no está instalado". - Jan 29 2009