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

kdbus

   0.8.6  

KDE System Tool

Score 80%
kdbus
zoom


Link:  http://rohanpm.net/kdbus
Downloads:  1170
Submitted:  Feb 1 2006
Updated:  Feb 19 2006

Description:

kdbus is a D-BUS service browser for KDE. Like kdcop, but for D-BUS instead.

kdbus is being developed in KDE SVN, at /trunk/playground/utils/kdbus .




Changelog:

Fix compilation for dbus-0.50.




LicenseGPL
Source
Send to a friend
Subscribe
Other  Apps  from rohanpm
Report inappropriate content



-
.

 compile error

 
 by neofreko on: Feb 18 2006
 
Score 50%

qdbusconnection.cpp:377: error: 'DBUS_NAME_FLAG_ALLOW_REPLACEMENT' was not declared in this scope

I've already installed dbus-devel. What else do I miss?

Thx


To live means to chase your dreams
Reply to this

-

 Re: compile error

 
 by deathmetal on: Feb 18 2006
 
Score 50%

First of all, thanks to the developers, great work!

But: I got the same problem during compilation...

Here is the workaround:

According to http://dbus.freedesktop.org/doc/dbus-specification.html
DBUS_NAME_FLAG_ALLOW_REPLACEMENT has a value 0x1, and DBUS_NAME_FLAG_REPLACE_EXISTING (also used in qdbusconnection.cpp) 0x2.

So, add the following lines to kdbus-0.8.5/src/dbus-qt3-backport/dbus/qdbusconnection.h:

#ifndef DBUS_NAME_FLAG_ALLOW_REPLACEMENT
#define DBUS_NAME_FLAG_ALLOW_REPLACEMENT 0x1
#endif

#ifndef DBUS_NAME_FLAG_REPLACE_EXISTING
#define DBUS_NAME_FLAG_REPLACE_EXISTING 0x2
#endif

I know, this is, to say the least, a real dirty solution, but it works fine :)


Reply to this

-

 Re: compile error

 
 by deathmetal on: Feb 18 2006
 
Score 50%

First of all, thanks to the developers, great work!

But: I got the same problem during compilation...

Here is the workaround:

According to http://dbus.freedesktop.org/doc/dbus-specification.html
DBUS_NAME_FLAG_ALLOW_REPLACEMENT has a value 0x1, and DBUS_NAME_FLAG_REPLACE_EXISTING (also used in qdbusconnection.cpp) 0x2.

So, add the following lines to kdbus-0.8.5/src/dbus-qt3-backport/dbus/qdbusconnection.h:

#ifndef DBUS_NAME_FLAG_ALLOW_REPLACEMENT
#define DBUS_NAME_FLAG_ALLOW_REPLACEMENT 0x1
#endif

#ifndef DBUS_NAME_FLAG_REPLACE_EXISTING
#define DBUS_NAME_FLAG_REPLACE_EXISTING 0x2
#endif

I know, this is, to say the least, a real dirty solution, but it works fine :)


Reply to this

-

 Re: compile error

 
 by deathmetal on: Feb 18 2006
 
Score 50%

First of all, thanks to the developers, great work!

But: I got the same problem during compilation...

Here is the workaround:

According to http://dbus.freedesktop.org/doc/dbus-specification.html
DBUS_NAME_FLAG_ALLOW_REPLACEMENT has a value 0x1, and DBUS_NAME_FLAG_REPLACE_EXISTING (also used in qdbusconnection.cpp) 0x2.

So, add the following lines to kdbus-0.8.5/src/dbus-qt3-backport/dbus/qdbusconnection.h:

#ifndef DBUS_NAME_FLAG_ALLOW_REPLACEMENT
#define DBUS_NAME_FLAG_ALLOW_REPLACEMENT 0x1
#endif

#ifndef DBUS_NAME_FLAG_REPLACE_EXISTING
#define DBUS_NAME_FLAG_REPLACE_EXISTING 0x2
#endif

I know, this is, to say the least, a real dirty solution, but it works fine :)


Reply to this

-
.

 Re: Re: compile erro

 
 by neofreko on: Feb 18 2006
 
Score 50%

and my patch:

//if (modeFlags & AllowReplace)
if (modeFlags & !AllowReplace)
//dbusFlags |= DBUS_NAME_FLAG_ALLOW_REPLACEMENT;
dbusFlags |= DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT;


it's kinda confusing me since the change is not only a name change but also a logical change. I'm not sure it will work as intended.

As you've said, the spec says DBUS_NAME_FLAG_ALLOW_REPLACEMENT uquals 0x1 but the implementation says it's DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT; that equals 0x1


To live means to chase your dreams
Reply to this

-

 Re: compile error

 
 by rohanpm on: Feb 19 2006
 
Score 50%

This is the patch I ended up making. Note that this probably makes no difference to anything, because this part of the code deals with whether or not another process can 'steal' kdbus's connection name, but kdbus doesn't use a named connection to dbus anyway.

--- src/dbus-qt3-backport/qdbusconnection.cpp (revision 510765)
+++ src/dbus-qt3-backport/qdbusconnection.cpp (working copy)
@@ -373,8 +373,15 @@
return false;

int dbusFlags = 0;
+#ifdef DBUS_NAME_FLAG_ALLOW_REPLACEMENT
if (modeFlags & AllowReplace)
dbusFlags |= DBUS_NAME_FLAG_ALLOW_REPLACEMENT;
+#elif defined DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT
+ if (!(modeFlags & AllowReplace))
+ dbusFlags |= DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT;
+#else
+#error Neither DBUS_NAME_FLAG_ALLOW_REPLACEMENT nor DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT are defined.
+#endif
if (modeFlags & ReplaceExisting)
dbusFlags |= DBUS_NAME_FLAG_REPLACE_EXISTING;


Reply to this

-
.

 Re: compile error

 
 by neofreko on: Feb 18 2006
 
Score 50%

after a quick check (only God knows why hadn't I do this before), I found the answer:

[geek@toni kdbus-0.8.5]$ grep -R DBUS_NAME_FLAG /usr/include/dbus-1.0/dbus/
/usr/include/dbus-1.0/dbus/dbus-shared.h:#define DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT 0x1
/usr/include/dbus-1.0/dbus/dbus-shared.h:#define DBUS_NAME_FLAG_REPLACE_EXISTING 0x2

instead of ALLOW, it should be "not PROHIBIT" :)


To live means to chase your dreams
Reply to this

-
.

 Re: compile error

 
 by rohanpm on: Feb 19 2006
 
Score 50%

Thanks for the investigation. It turns out that particular macro changed name between dbus-0.50 and dbus-0.60. So, I take it you guys are trying to compile kdbus with dbus 0.50 or earlier :-)

In kdbus 0.8.6 I fixed it to compile with either dbus 0.50 or 0.60. dbus earlier than 0.50 is not supported.


Reply to this

-

 sorry

 
 by deathmetal on: Feb 18 2006
 
Score 50%

Sorry for my triple posting, it seems, the browser submitted the form every time on reload :(


Reply to this

-
.

 Ebuild

 
 by watzke on: Feb 20 2006
 
Score 50%

Nice app. Here is ebuild for Gentoo Portage:
http://david.klenot.cz/ebuilds/kdbus-0.8.6.ebuild


[david@amd64 ~] $ uname -r
2.6.16-rc4

Reply to this

-

 Crashes badly

 
 by cRoMo on: Apr 3 2007
 
Score 50%

507:cromo@kromka:~$ kdbus
kdbus: On system bus
kdbus: Inspecting service org.freedesktop.DBus
kdbus: Inspecting service :1.8
kdbus: Inspecting service :1.9
kdbus: Inspecting service org.freedesktop.NetworkManagerInfo
kdbus: Inspecting service :1.10
kdbus: Inspecting service org.bluez
kdbus: Inspecting service :1.22
kdbus: Inspecting service org.freedesktop.NetworkManager
kdbus: Inspecting service com.redhat.dhcp
kdbus: Inspecting service :1.0
KCrash: Application 'kdbus' crashing...


Reply to this

-

 Re: Crashes badly

 
 by cRoMo on: Apr 3 2007
 
Score 50%

Ok, I found the solution myslef.
More here: https://bugs.launchpad.net/ubuntu/+source/kdbus/+bug/73780


Reply to this

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.