Image 01
profile-image

duanmaotu

maotu duan
PowerDevil

System Software by drf 79 comments

I agree on you :) but powerdevil is not included in this gentoo overlay (kdesvn-portage, slot 4.2). So I have to compile it manually.

So when will the next release? looking forward it. - Oct 14 2008
KGtk (Use KDE Dialogs in Gtk Apps)

Various KDE 1.-4. Improvements by CraigD 453 comments

I never made KGTK work on my Gentoo, currently with KDE-4.1.68.
I got this error:
Quote:
/usr/local/bin/kdialogd-wrapper: line 23: kdialogd4: command not found
ERROR: Could not talk to KDialogD!!!

I try to make it clear:
cmake output:
Quote: $cmake .. -DKGTK_KDE4=true -DKGTK_QT4=true
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- 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 getpeereid
-- Looking for getpeereid - not found
** INFORMATION: Compiling Qt4/KDE4, Qt3/KDE3 disabled
-- 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.4.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.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/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - 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
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- 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 Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.2 include dir: /usr/kde/4.2/include
-- Found KDE 4.2 library dir: /usr/kde/4.2/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/kde/4.2/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
** INFORMATION: KDialogD for KDE4 will be built.
-- Found xgettext: /usr/bin/xgettext
-- checking for module 'gtk+-2.0>=2.6'
-- found gtk+-2.0, version 2.12.11
** INFORMATION: Gtk2 LD_PRELOAD library will be built.
-- Found Qt-Version 4.4.2
-- Found OpenSSL: /usr/lib/libssl.so
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
** INFORMATION: Qt4 LD_PRELOAD library will be built.
** INFORMATION: Using installation prefix: /usr/local
-- Configuring done
CMake Warning (dev) at qt4/CMakeLists.txt:14 (add_library):
Policy CMP0003 should be set before this line. Add code such as

if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

as early as possible but after the most recent call to
cmake_minimum_required or cmake_policy(VERSION). This warning appears
because target "kqt4" links to some libraries for which the linker must
search:

-lc, -ldl

and other libraries with known full path:

/usr/lib/qt4/libQtGui.so


CMake is adding directories in the second list to the linker search path in
case they are needed to find libraries from the first list (for backwards
compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
more information.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/public/sources/KGtk-0.10.0/build

Then make:
Quote:$make
Generating kdialogd.moc
Scanning dependencies of target kdialogd4_bin
[ 7%] Building CXX object kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd4_bin_automoc.o
[ 15%] Building CXX object kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o
/home/public/sources/KGtk-0.10.0/kdialogd4/kdialogd.cpp:664: warning: unused parameter ‘modal’
Linking CXX executable kdialogd4
[ 15%] Built target kdialogd4_bin
Scanning dependencies of target pofiles
[ 15%] Generating pt_BR.gmo
[ 15%] Generating ru.gmo
[ 15%] Generating fr.gmo
/home/public/sources/KGtk-0.10.0/kdialogd4/po/fr.po: warning: Charset "CHARSET" is not a portable encoding name.
Message conversion to user's charset might not work.
[ 15%] Generating zh_CN.gmo
/home/public/sources/KGtk-0.10.0/kdialogd4/po/zh_CN.po: warning: Charset "CHARSET" is not a portable encoding name.
Message conversion to user's charset might not work.
[ 15%] Generating es.gmo
/home/public/sources/KGtk-0.10.0/kdialogd4/po/es.po: warning: Charset "CHARSET" is not a portable encoding name.
Message conversion to user's charset might not work.
[ 15%] Generating cs.gmo
[ 15%] Generating en_GB.gmo
[ 15%] Generating de.gmo
[ 76%] Built target pofiles
Scanning dependencies of target kgtk2
[ 84%] Building C object gtk2/CMakeFiles/kgtk2.dir/kgtk2.o
In file included from /home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:67:
/home/public/sources/KGtk-0.10.0/common/connect.h:98:5: warning: #warning "Using sloppy security checks"
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘kdialogdMain’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:194: warning: initialization from incompatible pointer type
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘sendMessage’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:254: warning: passing argument 1 of ‘gdk_x11_drawable_get_xid’ from incompatible pointer type
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘gtk_init_check’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:672: warning: assignment makes integer from pointer without a cast
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘gtk_combo_box_get_active’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:1209: warning: passing argument 1 of ‘isOnFileChooser’ from incompatible pointer type
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘gtk_dialog_run’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:1412: warning: return makes integer from pointer without a cast
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘handleGtkFileChooserButtonClicked’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:1771: warning: passing argument 1 of ‘gtk_dialog_run’ from incompatible pointer type
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘handleGtkFileChooserComboChanged’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:1793: warning: passing argument 1 of ‘gtk_dialog_run’ from incompatible pointer type
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: At top level:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:1916: warning: ‘struct PR_LoadLibrary’ declared inside parameter list
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:1916: warning: its scope is only this definition or declaration, which is probably not what you want
Linking C shared library libkgtk2.so
[ 84%] Built target kgtk2
[ 92%] Generating mangled.h
Scanning dependencies of target kqt4
[100%] Building CXX object qt4/CMakeFiles/kqt4.dir/kqt4.o
In file included from /home/public/sources/KGtk-0.10.0/qt4/kqt4.cpp:54:
/home/public/sources/KGtk-0.10.0/common/connect.h:98:5: warning: #warning "Using sloppy security checks"
Linking CXX shared library libkqt4.so
[100%] Built target kqt4


Seem nothing seriously broken. However, no kdialogd4 is installed:
Quote:
s-ele-pc81 build # make install
[ 15%] Built target kdialogd4_bin
[ 76%] Built target pofiles
[ 84%] Built target kgtk2
[100%] Built target kqt4
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local/bin/kdialogd-wrapper
-- Up-to-date: /usr/local/bin/kgtk-wrapper
-- Installing: /usr/local/share/locale/pt_BR/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/ru/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/fr/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/zh_CN/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/es/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/cs/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/en_GB/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/de/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/lib/kgtk/libkgtk2.so
-- Installing: /usr/local/bin/kgtk2-wrapper
-- Installing: /usr/local/lib/kgtk/libkqt4.so
-- Removed runtime path from "/usr/local/lib/kgtk/libkqt4.so"
-- Installing: /usr/local/bin/kqt4-wrapper
- Oct 07 2008
PowerDevil

System Software by drf 79 comments

when compiled from powerdevil-1.3.0 on gentoo KDE-4.1.68, I got this error:
Quote:
CMake Error at ConfigureChecks.cmake:1 (include):
include could not find load file:

UnixAuth
Call Stack (most recent call first):
CMakeLists.txt:12 (include)

- Oct 06 2008
PowerDevil

System Software by drf 79 comments

when compiled from powerdevil-1.3.0 on gentoo KDE-4.1.68, I got this error:
Quote:
CMake Error at ConfigureChecks.cmake:1 (include):
include could not find load file:

UnixAuth
Call Stack (most recent call first):
CMakeLists.txt:12 (include)

- Oct 06 2008
KGtk (Use KDE Dialogs in Gtk Apps)

Various KDE 1.-4. Improvements by CraigD 453 comments

Yes. I have qt4 use. - Sep 28 2008
Kid3

MP3 Taggers by ufleisch 217 comments

A very good app. Has very thing I want.
will you port it to KDE4? - Sep 28 2008
Lithium Power Manager

System Software by dilettante 22 comments

good work!
one problem:
there's no idle action for selection, it only shows "no action". Did I miss some depencies? - Sep 16 2008
KGtk (Use KDE Dialogs in Gtk Apps)

Various KDE 1.-4. Improvements by CraigD 453 comments

Thanks. kgtk2-wrapper does not work, and I have rebuilt it many times :(

Do you have kdialogd4 in your system? I'm using Gentoo's ebuild. - Sep 15 2008
PowerDevil

System Software by drf 79 comments

make still failed. the missing file from krunner is located at:
/usr/kde/4.1/share/dbus-1/interfaces/

instead of /usr/share/ - Sep 14 2008
PowerDevil

System Software by drf 79 comments

sorry for the duplicated one :( - Sep 14 2008
PowerDevil

System Software by drf 79 comments

CMAKE success. but make failed:

make[2]: *** No rule to make target `/usr/share/dbus-1/interfaces/org.freedesktop.ScreenSaver.xml', needed by `daemon/screensaver_interface.cpp'. Stop.
make[1]: *** [daemon/CMakeFiles/kded_powerdevil.dir/all] Error 2
make: *** [all] Error 2
- Sep 14 2008
KGtk (Use KDE Dialogs in Gtk Apps)

Various KDE 1.-4. Improvements by CraigD 453 comments

'kgtk-wrapper firefox' in KDE4.1 does not work. The error message is:

/usr/bin/kdialogd-wrapper: line 23: kdialogd4: command not found
ERROR: Could not talk to KDialogD!!!


BUT, there's no kdialogd4 from the installation. - Sep 11 2008