-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (12) . 

KGtk (Use KDE Dialogs in Gtk Apps)

   0.11.0  

KDE Improvement

Score 85%
KGtk (Use KDE Dialogs in Gtk Apps)
zoom


KGtk (Use KDE Dialogs in Gtk Apps)
zoom


KGtk (Use KDE Dialogs in Gtk Apps)
zoom


Link:  http://
Downloads:  17012
Submitted:  Mar 6 2006
Updated:  Nov 3 2011

Description:

This is a quick-and-dirty LD_PRELOAD hack that allows *some* Gtk applications to use KDE's file dialogs when run under KDE.

The Gtk file chooser functions have been overridden to communicate with this KDE module/application.

After compiling and installing this, you can run Gtk applications in 2 ways:

A. call /usr/local/bin/kgtk-wrapper gimp

B. i. Create a symbolic link from the wrapper script to your application, e.g.
ln -s /usr/local/bin/kgtk-wrapper /usr/local/bin/gimp
ii. Make sure /usr/local/bin is before /usr/bin (or wherever gimp is installed) in your $PATH
iii. Now simply run 'gimp' - this should find the wrapper script first.

If this works OK, then edit the .desktop file (e.g. /usr/share/applications/gimp.desktop) to have "Exec=/usr/local/bin/[appname]" instead of "Exec=[appname]", e.g. for gimp.desktop this would be:

Exec=/usr/local/bin/gimp-remote-2.2 %U

or:

Exec=/usr/local/bin/kgtk-wrapper gimp-remote-2.2 %U


So far I have tested this with the following applications:

1. Kino. Works perfectly - in fact Kino was my main reason for doing this.
2. Firefox. Works with Firefox 1.5, but *not* Firefox 1.0.x
3. GIMP. Again, seems to work just fine. However, there is no progress bar on file loading - as GIMP uses a progress bar embedded in the file chooser.
4. Inkscape. Works OK - at least 0.43
5. Streamtuner - the folder browser button works.
6. AbiWord - does *not* work. Don't even try...
7. Glade2. Seems to work OK, however I have had it crash when loading Kino's .glade file, but not always. So I'm not sure if this is Glade's fault, or mine.
8. Eclipse. Will work only if dlsym can be overriden

As the only Gtk apps I use are Kino, GIMP, and a little of Firefox, this library works great for me. Your millage may vary, and please note that this is only a quick hack to get things working now for me. I'm not sure how stable it will be under heavy usage, so don't be surprised if it breaks. However, if it does break - the only thing that should happen is that the Gtk apps will fall back to using the standard Gtk dialogs.


p.s. Before anyone asks, as they always do:
Widget style: QtCurve, works for KDE and Gtk (also does KDE->Gtk icon mapping). This is set on the "Clear" variation.
Window decoration: Crystal with Knifty buttons
Font: Verdana. However, I have recompiled FreeType with the TrueType byte encoder enabled - this give great looking non anti-aliased fonts (otherwise they look *horrible*)




Changelog:

0.11.0
------
1. Gtk3 support.
2. Better, and safer, lookup of file filters.
3. Correctly determine size of string needed for pidfile!
4. Add thunderbird, and LibreOffice apps, to list of gtk2 apps.
5. Cleanup usless stuff; remove kdialogd3, qt3, qt4, kgtk2-wrapper, kqt3-wrapper, kqt4-wrapper.
6. Merge kgtkXX-wrapper scripts into kgtk-wrapper
7. Install kdialogd4 into KDE4 libexec dir.
8. Fix crash where client is terminated whilst file dialog is open.
9. Configurable debug. Pass cmake -DKGTK_DEBUG=true
When starting app, set KGTK_DEBUG env var, e.g.

KGTK_DEBUG=0x10 kgtk-wrapper lowriter

0x01 Connection debug
0x02 General debug
0x04 Filter get and set debug
0x08 Filter creation debug
0x10 Custom widget debug
0x20 dlsym debug
Values may be combined

10. If LibreOffice is detected (app is libreoffice, lowriter, etc.) then also set the OOO_FORCE_DESKTOP env var to gnome, so that we get nicer
themeing.
11. When passing filters to KFileDialog, replace / with \/
12. Make filter combo non-editable.
13. When returning selected filter to Gtk app, also return the filter name and not just the file pattern. This way if two filters have the same file pattern the corrent one can be selected.
14. Support for checkbox custom widgets.
15. Save location history per app.




LicenseGPL
Source(0.11.0)
(0.10 (Previous release))
Send to a friend
Subscribe
Other  Apps  from CraigD
Report inappropriate content



goto page: prev  ... 18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33 ...

-
.

 Apps lose focus

 
 by TotoKid on: Aug 20 2008
 
Score 50%

Before I begin, congratulations for the nice work and good explanations in the README file. I succeeded in building Kgtk and found the best way to start apps is to execute "kgtk2-wrapper appname". There is just one thing that left me a bit disappointed: when I start any app with Kgtk and a KDE dialog opens, that app always loses focus. Is there a way to fix this annoying bug?


Reply to this

-

 doesn't work in KDE4

 
 by duanmaotu on: Sep 11 2008
 
Score 50%

'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.


Reply to this

-

 Re: doesn't work in KDE4

 
 by TotoKid on: Sep 15 2008
 
Score 50%

I had this problem too. Try with "kgtk2-wrapper firefox", otherwise build it again.


Reply to this

-

 Re: Re: doesn't work in KDE4

 
 by duanmaotu on: Sep 15 2008
 
Score 50%

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.


Reply to this

-
.

 Re: Re: Re: doesn't work in KDE4

 
 by TotoKid on: Sep 16 2008
 
Score 50%

Yes, kdialogd was succesfully built on Kubuntu Hardy. I'm sorry, but I don't know how to fix it on Gentoo :'(.


Reply to this

-

 Re: Re: Re: doesn't work in KDE4

 
 by mkyral on: Sep 16 2008
 
Score 50%

Do you have the "qt4" use flag enabled?


[I] kde-misc/kgtk
Available versions: (~)0.9.1[1] (~)0.9.1-r1 (~)0.9.4 (~)0.9.5 (~)0.9.5[2] (~)0.10.0 {arts debug elibc_FreeBSD qt4 xinerama}
Installed versions: 0.10.0(21:46:49 15.9.2008)(qt4 -debug -elibc_FreeBSD -xinerama)
Homepage: http://www.kde-apps.org/content/show.php?content=36077
Description: Allows *some* Gtk, Qt3, and Qt4 applications to use KDE's file dialogs when run under KDE

[1] "arcon" /usr/local/portage/layman/arcon
[2] "local-repo" /usr/local/portage


Reply to this

-

 Re: Re: Re: Re: doesn't work in KDE4

 
 by duanmaotu on: Sep 28 2008
 
Score 50%

Yes. I have qt4 use.


Reply to this

-

 Re: Re: Re: Re: Re: doesn't work in KDE4

 
 by bory2201 on: Oct 6 2008
 
Score 50%

I had to compile kgtk manually to enable kde4. Ebuild doesn't seem to work atm.


Reply to this

-

 Re: Re: Re: Re: Re: Re: doesn't work in KDE4

 
 by ssokolow on: Feb 5 2009
 
Score 50%

To fix the ebuild, apply the two patches from Gentoo bug 257495. (The former is the build fixes, the latter is one I put together to actually enable and install kdialogd4.)

http://bugs.gentoo.org/show_bug.cgi?id=257495



-

 Re: doesn't work in KDE4

 
 by Haiyadragon on: Jan 27 2009
 
Score 50%

In my case kdialogd4 is built, but it is not installed by 'make install' or 'checkintall'.

I copied it manually, in build directory: 'cp kdialogd4/kdialogd4 /usr/bin' and 'chown root.root /usr/bin/kdialogd4'.


Reply to this

-

 Compile error

 
 by bory2201 on: Oct 6 2008
 
Score 50%

I get followings while trying to compile kgtk for kde4:

[ 7%] Building CXX object kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o
/home/erik/KGtk-0.10.0/kdialogd4/kdialogd.cpp: In member function 'void KDialogDClient::finished()':
/home/erik/KGtk-0.10.0/kdialogd4/kdialogd.cpp:394: error: cast from 'KDialog*' to 'int' loses precision
/home/erik/KGtk-0.10.0/kdialogd4/kdialogd.cpp: At global scope:
/home/erik/KGtk-0.10.0/kdialogd4/kdialogd.cpp:664: warning: unused parameter 'modal'
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

Any idea what it is?


Reply to this

-

 Re: Compile error

 
 by bory2201 on: Oct 6 2008
 
Score 50%

went to line 394 in kdialogd.cpp and changed (int)itsDlg to itsDlg. It works now. I have 64-bit system, maybe that's the reason. I have had -DLIB_SUFFIX=64 applied.


Reply to this

-

 Re: Re: Compile error

 
 by val-gaav on: Oct 31 2008
 
Score 50%

I had the same error changed the line mentioned here and now I get :

/home/valgaav/KGtk-0.10.0/kdialogd4/kdialogd.cpp:664: warning: unused parameter ‘modal’
In file included from /home/valgaav/KGtk-0.10.0/kdialogd4/kdialogd.cpp:754:
In function ‘int open(const char*, int, ...)’,
inlined from ‘int grabLock(int)’ at /home/valgaav/KGtk-0.10.0/common/common.h:208,
inlined from ‘void KDialogD::timeout()’ at /home/valgaav/KGtk-0.10.0/kdialogd4/kdialogd.cpp:269:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o] Error 1
make[1]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/all] Błąd 2
make: *** [all] Error 2


any tips on how to solve it ? This is a 64 bit Intrepid kubuntu, and I'm building this for kde4 dialog.


Reply to this

-

 Re: Re: Compile error

 
 by val-gaav on: Oct 31 2008
 
Score 50%

I had the same error changed the line mentioned here and now I get :

/home/valgaav/KGtk-0.10.0/kdialogd4/kdialogd.cpp:664: warning: unused parameter ‘modal’
In file included from /home/valgaav/KGtk-0.10.0/kdialogd4/kdialogd.cpp:754:
In function ‘int open(const char*, int, ...)’,
inlined from ‘int grabLock(int)’ at /home/valgaav/KGtk-0.10.0/common/common.h:208,
inlined from ‘void KDialogD::timeout()’ at /home/valgaav/KGtk-0.10.0/kdialogd4/kdialogd.cpp:269:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o] Error 1
make[1]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/all] Błąd 2
make: *** [all] Error 2


any tips on how to solve it ? This is a 64 bit Intrepid kubuntu, and I'm building this for kde4 dialog.


Reply to this

-

 Re: Re: Re: Compile error

 
 by palirohar on: Nov 2 2008
 
Score 50%

I have same problem. Any tips?


Reply to this

-

 Re: Re: Re: Re: Compile error

 
 by palirohar on: Nov 2 2008
 
Score 50%

I found error.
I fix it with:
change line 208 in file common/common.h
from:

lockFd=open(getLockName(), O_WRONLY | O_CREAT | O_EXCL);

to:

lockFd=open(getLockName(), O_WRONLY | O_CREAT | O_EXCL, 0777);

and then it works for me on kubuntu 8.10 64 bit


Reply to this

-

 Re: Re: Re: Re: Re: Compile error

 
 by Murz on: Dec 6 2008
 
Score 50%
MurzMurz
Qseo.ru
Home
-
Alexey Korepov 1

Qseo.ru
Russian Federation, Nizhniy Novgorod
Last visit Apr 11 2014
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Many thanks! Compiled after thouse two paches succesfully on Kubuntu Intrepid AMD64 width KDE64.


Reply to this

-

 Re: Compile error

 
 by val-gaav on: Feb 23 2009
 
Score 50%

Could you perhaps post a checkinstall deb of it please ?

I have a fresh install of jaunty 64bit and somewhat don't want to install all those dev packages just to compile kgtk again ...

yeah well I should keep my old package but it's gone as I forgot about it.



-
.

 No kdialogd4

 
 by duanmaotu on: Oct 7 2008
 
Score 50%

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


Reply to this

-

 Re: No kdialogd4

 
 by lopan on: Oct 27 2008
 
Score 50%

Hi!

Look for your kdialog on version 4. On Gentoo you try: equery f kde-base/kdialog

So, when you found it, change your /usr/local/bin/kdialogd-wrapper at line 23 to correct kdialog path.


Reply to this

-

 Re: No kdialogd4

 
 by toshiharu on: Nov 5 2008
 
Score 50%

I succeeded to install KGtk-0.10.0 with KDE-4.1.71.
I passed the following options to cmake.
kdialogd4 was installed.

Quote:

$ cmake . -DKGTK_KDE4=true -DKGTK_QT4=true -DCMAKE_BUILD_TYPE:STRING=debugfull


Reply to this

-

 Re: Re: No kdialogd4

 
 by toshiharu on: Nov 17 2008
 
Score 50%

I succeeded without -DCMAKE_BUILD_TYPE:STRING=debugfull in KDE-4.1.73.

Quote:
cmake . -DKGTK_KDE4=true -DKGTK_QT4=true


Reply to this

-

 Packaged for Ubuntu Hardy

 
 by Tolaris on: Oct 12 2008
 
Score 50%

I've packaged KGTK for Ubuntu Hardy, KDE3, kdialog, GTK2. See my post here for details:

http://www.tolaris.com/2008/10/12/kgtk-packaged-for-ubuntu-hardy/


Reply to this

-
.

 Possibly a bug?

 
 by lopan on: Oct 27 2008
 
Score 50%

Hi all!

Look the message on Kgtk 0.10 with Kde4:

Quote:

kgtk2-wrapper firefox
Uso: kdialog [Qt-opções] [KDE-opções] [opções][arg]

O KDialog pode ser usado para mostrar caixas de diálogo em scripts shell

Opções genéricas:
--help Mostra ajuda sobre opções
--help-qt Mostra Qt opções específicas
--help-kde Mostra KDE opções específicas
--help-all Mostrar todas as opções
--author Mostrar informações sobre o autor
-v, --version Mostrar informações sobre a versão
--license Mostrar informações de licenciamento
-- Fim das opções

Opções:
--yesno <text> Caixa de mensagem de pergunta com botões Sim/Não
--yesnocancel <text> Caixa de mensagem de pergunta com botões Sim/Não/Cancelar
--warningyesno <text> Caixa de mensagem de aviso com botões Sim/Não
--warningcontinuecancel <text> Caixa de mensagem de aviso com botões Continuar/Cancelar
--warningyesnocancel <text> Caixa de mensagem de aviso com botões Sim/Não/Cancelar
--sorry <text> Caixa de mensagem "Desculpe"
--error <text> Caixa de mensagem "Erro"
--msgbox <text> Diálogo de Caixa de Mensagem
--inputbox <text> <init> Diálogo de Caixa de Entrada
--password <text> Diálogo de Senha
--textbox <file> [width] [height] Diálogo de Caixa de Texto
--textinputbox <text> <init> [width] [height] Diálogo de Caixa de Entrada de Texto
--combobox <text> [tag item] [tag item] ... Diálogo de Caixa de Combinação
--menu <text> [tag item] [tag item] ... Diálogo de Menu
--checklist <text> [tag item status] ... Diálogo de Lista de Verificação
--radiolist <text> [tag item status] ... Diálogo de Lista de Botões de Rádio
--passivepopup <text> <timeout> Popup Passivo
--getopenfilename [startDir] [filter] Diálogo para abrir um arquivo existente
--getsavefilename [startDir] [filter] Diálogo para salvar um arquivo
--getexistingdirectory [startDir] Diálogo para selecionar uma pasta existente
--getopenurl [startDir] [filter] Diálogo para abrir uma URL existente
--getsaveurl [startDir] [filter] Diálogo para salvar uma URL
--geticon [group] [context] Diálogo de Escolha de Ícone
--progressbar <text> [totalsteps] Diálogo de barra de progresso, retorna uma referência D-Bus para comunicação
--getcolor Diálogo de cores para selecionar uma cor
--title <text> Título do diálogo
--default <text> A entrada padrão a usar na caixa de marcação, menu e cor
--multiple Permite as opções --getopenurl e --getopenfilename para retornar múltiplos arquivos
--separate-output Retorna os itens da lista em linhas separadas (para a opção de lista de verificação e arquivo aberto com o --multiple)
--print-winid Saídas da janela de cada diálogo
--embed <winid> Faz o diálogo transiente para um aplicativo X especificado pelo winid
--dontagain <file:entry> O arquivo de configuração e o nome da opção para salvar o estado "não-mostrar/perguntar-novamente"

Argumentos:
arg Argumentos - dependendo da opção principal
ERROR: Could not talk to KDialogD!!!


Is there a bug on kget or on my linux? :P

kdialogd4 is work very fine!


Reply to this

goto page: prev  ... 18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33 ...

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.