Bug#536441: [kdm] kdm-settings does not start as root: quick-and-dirty fix

2011-03-08 Thread Maximilian Gaukler

Package: kdm
Version: 4:4.4.5-7
Tags: patch

A quick-and-dirty fix would be to simply launch something like "kdesu kcmshell4 
kdm" from the kdm settings dialog if we are not root:

#include 
if (geteuid() != 0) {
// launch kdesu, workaround until KDE 4.5 for debian bugs 
523094 536441 546376 575746 580269 602976
QProcess kdesu_process;

kdesu_process.startDetached("/usr/lib/kde4/libexec/kdesu",QStringList("/usr/share/kde4/apps/kdm/kdmconfig_root.sh"));
}

content of /usr/share/kde4/apps/kdm/kdmconfig_root.sh:
#!/bin/sh
[ $(id -u) -eq 0 ] && kcmshell4 kdm

The id check is necessary because if a user presses the ignore button another 
kdm-settings would be launched which asks him for the root password again.

Code status: This code is not yet tested inside kdm-config, only inside a demo 
qt application, because I have no experience with patching and building kdm. If 
you think it is good I can test it further. The shell script was tested as root 
and non-root with dash and bash.
I tagged this "patch" because it is probably only a few lines away from being a 
real patch. If you think the tagging is wrong, please remove it.

This solution would, in contrast to adding a button or message box, not require 
any locale changes.

Thanks for any feedback

Max Gaukler



--
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d763b1a.7030...@maxgaukler.de



Bug#469343: [kdepim] imap groupware not working

2011-03-12 Thread Maximilian Gaukler

Package: kdepim-runtime
Version: 4:4.4.7-1

Korganizer still cannot show calendars from a kolab server. Creating a new event fails 
with "no resource with write access found. change kmail settings first.".
It is sad that this "important" bug is not fixed for more than three years now 
and if there is something I can do I would like to help fixing it.

Console output:
Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
korganizer(5534) KDBusServiceStarter::findServiceFor: KDBusServiceStarter: No service 
implementing  "DBUS/ResourceBackend/IMAP"
korganizer(5534)/kresources: Couldn't connect to the IMAP resource backend
korganizer(5534)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
korganizer(5534)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QPixmap::setMask: Cannot set mask while pixmap is being painted on
QPixmap::setMask: Cannot set mask while pixmap is being painted on
QPixmap::setMask: Cannot set mask while pixmap is being painted on
korganizer(5534)/kdepimlibs (kabc) KABC::LockNull::lock: LockNull::lock() force 
success. Doesn't actually lock.
korganizer(5534)/kresources Kolab::ResourceKolabBase::findWritableResource: No 
writable resource found!

Should this bug be reassigned to kdepim-runtime?
Is there anything I can do to investigate this bug?

Thanks

Max Gaukler


--- System information. ---
Architecture: amd64
Kernel:   Linux 2.6.32-5-amd64

Debian Release: 6.0
  500 stable  security.debian.org
  500 stable  ftp.uni-erlangen.de
  500 squeeze-updates ftp.uni-erlangen.de

--- Package information. ---
Depends   (Version) | Installed
===-+-=
kdebase-runtime | 4:4.4.5-1
kdepimlibs-kio-plugins  | 4:4.4.5-2
libakonadi-kabc4 (>= 4:4.4) | 4:4.4.5-2
libakonadi-kcal4   (>= 4:4.4.0) | 4:4.4.5-2
libakonadi-kde4(>= 4:4.4.3) | 4:4.4.5-2
libakonadi-kmime4  (>= 4:4.4.0) | 4:4.4.5-2
libakonadiprivate1   (>= 1.3.1) | 1.3.1-3+b1
libc6(>= 2.2.5) | 2.11.2-10
libgcc1(>= 1:4.1.1) | 1:4.4.5-8
libkabc4 (>= 4:4.4) | 4:4.4.5-2
libkcal4 (>= 4:4.4) | 4:4.4.5-2
libkdecore5(>= 4:4.4.0) | 4:4.4.5-2
libkdeui5  (>= 4:4.4.0) | 4:4.4.5-2
libkimap4  (>= 4:4.4.0) | 4:4.4.5-2
libkio5  (>= 4:4.4) | 4:4.4.5-2
libkmime4  (>= 4:4.4.0) | 4:4.4.5-2
libkpimutils4(>= 4:4.4) | 4:4.4.5-2
libkresources4   (>= 4:4.4) | 4:4.4.5-2
libkutils4   (>= 4:4.4) | 4:4.4.5-2
libmailtransport4  (>= 4:4.4.0) | 4:4.4.5-2
libmicroblog4(>= 4:4.4) | 4:4.4.5-2
libnepomuk4  (>= 4:4.4) | 4:4.4.5-2
libqt4-dbus(>= 4:4.5.3) | 4:4.6.3-4
libqt4-network (>= 4:4.5.3) | 4:4.6.3-4
libqt4-qt3support  (>= 4:4.5.3) | 4:4.6.3-4
libqt4-xml (>= 4:4.5.3) | 4:4.6.3-4
libqtcore4 (>= 4:4.6.1) | 4:4.6.3-4
libqtgui4  (>= 4:4.5.3) | 4:4.6.3-4
libsolid4(>= 4:4.4) | 4:4.4.5-2
libsoprano4 (>= 2.2.69) | 2.5.0+dfsg.1-1
libstdc++6   (>= 4.1.1) | 4.4.5-8
libstreamanalyzer0   (>= 0.7.2) | 0.7.2-1+b1
libxml2  (>= 2.7.4) | 2.7.8.dfsg-2
akonadi-server (>= 1.3) | 1.3.1-3+b1


Package's Recommends field is empty.

Package's Suggests field is empty.






--
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d7b74d5.9010...@maxgaukler.de



Bug#469343: [kdepim] imap groupware not working

2011-03-12 Thread Maximilian Gaukler

Hello,

I found a dirty hack to make IMAP groupware in korganizer work:
Change the service type in/usr/share/applications/kde4/KMail.desktop
X-KDE-ServiceTypes=DBUS/ResourceBackend/IMAP,DBUS/Mailer
#X-KDE-ServiceTypes=DBUS/Mailer

Log out and log in back again. (BTW, is there a faster way to reload service 
types?)

Now IMAP groupware works, but KMail starts whenever groupware is used:
- at login because of fhe KOrganizer notifier icon
- When starting KOrganizer
- When adding events in organizer

This behaviour (kmail always starts) is filed as a bug here: 
https://bugs.kde.org/show_bug.cgi?id=93203
Can it be that some fix caused this bug as a regression?

It seems that no .desktop file provides this. Is there a way so that KMail only 
starts quietly in background?

Links to similar bugreports at other places:
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/522063
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/14309

Someone experienced with kde should easily see how to fix this, I appreciate 
any hint.

Thanks

Max Gaukler



--
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d7bffb3.3060...@maxgaukler.de



Bug#550121: Bug#620143 closed by Debian Qt/KDE Maintainers (Bug#550121: fixed in kde4libs 4:4.6.2-1)

2011-04-27 Thread Maximilian Gaukler

Is there any chance of getting this fixed in stable?

Thanks

Max Gaukler



--
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4db88658.5030...@maxgaukler.de