Commit e6de25f2 authored by totte's avatar totte
Browse files

kde-common: Rename to 'chakra-common'

parent bc8cf3d2
[Desktop Entry]
Comment=Chakra Bug Tracking System
Comment[ca]=Sistema de seguiment d'errors de Chakra
Comment[it]=Sistema di tracciatura errori di Chakra
Comment[nl]=Chakra Bug Tracking System
Comment[ja]=Chakraバグ管理システム
Exec=xdg-open http://www.chakra-project.org/bugs/
Icon=kbugbuster
Name=Bugs
Name[ca]=Errors
Name[it]=Errori
Name[nl]=Bugs
Name[ja]=バグ
StartupNotify=true
Terminal=false
Type=Application
Categories=Chakra;
[Desktop Entry]
Comment=Chakra Package ChangeLogs
Comment[ca]=Registre de canvis a paquets de Chakra
Comment[it]=Registro cambiamenti nei pacchetti di Chakra
Comment[nl]=Chakra pakket wijziging logs
Comment[ja]=Chakraパッケージの変更履歴
Exec=xdg-open http://gitorious.org/chakra-packages
Icon=utilities-log-viewer
Name=Package ChangeLogs
Name[ca]=Registre de canvis a paquets
Name[it]=Registro cambiamenti nei pacchetti
Name[nl]=Pakket wijziging logs
Name[ja]=パッケージの変更履歴
StartupNotify=true
Terminal=false
Type=Application
Categories=Chakra;
[Desktop Entry]
Comment=Chakra Code Repository
Comment[ca]=Repostiori de codi de Chakra
Comment[it]=Repository del Codice di Chakra
Comment[nl]=Chakra code Repository
Comment[ja]=Chakraコードリポジトリ
Exec=xdg-open http://www.chakra-project.org/code.html
Icon=preferences-system
Name=Code
Name[ca]=Codi
Name[it]=Codice
Name[nl]=Code
Name[ja]=コード
StartupNotify=true
Terminal=false
Type=Application
Categories=Chakra;
[Desktop Entry]
Comment=Chakra Documentation
Comment[ca]=Documentació de Chakra
Comment[it]=Documentazione di Chakra
Comment[nl]=Chakra documentatie
Comment[ja]=Chakraについて
Exec=xdg-open http://www.chakra-project.org/wiki/
Icon=system-help
Name=Documentation
Name[ca]=Documentació
Name[es]=Documentación
Name[it]=Documentazione
Name[nl]=Documentatie
Name[ja]=ドキュメント
StartupNotify=true
Terminal=false
Type=Application
Categories=Chakra;
[Desktop Entry]
Comment=Donations for Chakra
Comment[ca]=Donacions a Chakra
Comment[it]=Donazioni per Chakra
Comment[nl]=Donatie voor Chakra
Comment[ja]=Chakraに寄付
Exec=xdg-open http://www.chakra-project.org/donate.html
GenericName[ca]=
GenericName=
Icon=face-wink
MimeType=
Name=Donations
Name[ca]=Donacions
Name[it]=Donazioni
Name[nl]=Donatie
Name[ja]=寄付
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Categories=Chakra;
\ No newline at end of file
[Desktop Entry]
Comment=Chakra Forums
Comment[ca]=Forums de Chakra
Comment[it]=Forum di Chakra
Comment[nl]=Chakra forums
Comment[ja]=Chakraフォーラム
Exec=xdg-open http://www.chakra-project.org/bbs/
Icon=system-users
Name=Forums
Name[it]=Forum
Name[nl]=Forums
Name[ja]=フォーラム
StartupNotify=true
Terminal=false
Type=Application
Categories=Chakra;
[Desktop Entry]
Categories=Chakra;
Comment=Chakra Webpage
Comment[ca]=Lloc web de Chakra
Comment[it]=Homepage di Chakra
Comment[nl]=Homepage van Chakra
Comment[ja]=Chakraのホームページ
Exec=xdg-open http://www.chakra-project.org
GenericName[ca]=
GenericName=
Icon=chakra-shield
MimeType=
Name=Homepage
Name[ca]=Lloc web
Name[nl]=Homepage
Name[ja]=ホームページ
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
[Desktop Entry]
Encoding=UTF-8
Exec=/usr/bin/chakra-backup
Name=miniBackup
GenericName=Backup your most important KDE files
GenericName[ca]=Còpia de seguretad dels fitxers més importants
GenericName[it]=Copia di sicurezza dei file più importanti di KDE
GenericName[nl]=Backup van de meeste belangrijke KDE bestanden
X-KDE-StartupNotify=false
Icon=application-x-tarz
Terminal=false
Type=Application
Categories=Qt;System;
[Desktop Entry]
Encoding=UTF-8
Icon=chakra-shield
Name=Chakra
Type=Directory
# Maintainer: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributors: H W Tovetjärn (totte) <totte@tott.es>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
_origname=common
pkgname=kde-common
arch=('x86_64')
pkgver=${_kdever}
pkgrel=2
pkgdesc="KDE common configuration files, scripts and artwork"
url="http://www.kde.org"
license=('GPL')
options=('!debug' '!header' 'strip')
groups=("kde" "kde-minimal" "kde-uninstall")
depends=("${_qtpkg}>=${_qtver}" 'pinentry' 'openssh' 'bash>=4.2' 'glibc>=2.15')
provides=('tcp_wrappers')
install=kde-common.install
source=(http://www.kde-apps.org/CONTENT/content-files/48411-rootactions_servicemenu_2.4.10.tar.gz
servicemenu-copy-path.desktop
http://www.kde-apps.org/CONTENT/content-files/102825-compressattach.desktop.bz2
servicemenu-rootactions.patch
Chakra-Bugs.desktop
Chakra-ChangeLog.desktop
Chakra-Code.desktop
Chakra-Documentation.desktop
Chakra-Donate.desktop
Chakra-Forum.desktop
Chakra-Homepage.desktop
Chakra.directory
chakra-config-updater.sh
chakra-update-icons.sh
chakra-update-mime.sh
chakra-update-sycoca.sh
chakra-update-user-sycoca.sh
chakra-sysinfo.sh
chakra-backup.sh
Chakra-backup.desktop
updates.conf
chakra-icons.tar.gz
agent-startup.sh
agent-shutdown.sh)
md5sums=('2afd86671ad0db31718157aecd46d528'
'0fe13835c8d796c9973cda670860ce19'
'630ffe7118eef8608a9e5e393a0b1e12'
'e77e132d6da1a8d897db2ba630915b0f'
'7ac00b16a352d785e51ca6c6e5971926'
'd6ec8571c06beb8c58ae360e489ae0a0'
'7e20dbe3aece786768f35b151176bb66'
'1e8e17937d35c82ce9b2ad9821ce50b7'
'd2a96ab0146bc95c826b666fd14f4a36'
'bc5b22b54679603acd85746303bd9ad7'
'b88ceca59e3ef046ac21fb612977dd43'
'0a25b19c8493dae1b5a18cc57125ce6b'
'535501ac9f3ad05ddd18f8cfee4a2e06'
'78a20a4ccaf943f5a2089f4d436fdf32'
'd3fcef1c7affa098683a09f26415d8ef'
'aaa1958b14518e9b0193afe497da830e'
'4e974016ca509f187b4549d95877bacc'
'4845aff75b2162d53672b89fa6eef6f4'
'9fa87f4ad4c00de34286165b7c4d2887'
'b69be64a51c1f7dd69a6114d99498872'
'466d7fc7cab5738d674df45fdeee4eb0'
'08e25ad7487a913ea5fe03ebe5f495cd'
'7daec96c125e1e238a35f31ea4a476f0'
'18e8d01124b19f7df2937c06e177bf7f')
package() {
# Install scripts for gpg/ssh-agent
install -D -m 755 -o root -g root $srcdir/agent-startup.sh $pkgdir/etc/kde/env/agent-startup.sh
install -D -m 755 -o root -g root $srcdir/agent-shutdown.sh $pkgdir/etc/kde/shutdown/agent-shutdown.sh
# Install KDM RC script
#install -D -m755 -o root -g root ${srcdir}/kdm.daemon ${pkgdir}/etc/rc.d/kdm
# Install configuration updater scripts
install -D -m755 -o root -g root ${srcdir}/chakra-config-updater.sh ${pkgdir}/usr/bin/chakra-config-updater
install -D -m755 -o root -g root ${srcdir}/chakra-update-icons.sh ${pkgdir}/usr/bin/chakra-update-icons
install -D -m755 -o root -g root ${srcdir}/chakra-update-mime.sh ${pkgdir}/usr/bin/chakra-update-mime
install -D -m755 -o root -g root ${srcdir}/chakra-update-sycoca.sh ${pkgdir}/usr/bin/chakra-update-sycoca
install -D -m755 -o root -g root ${srcdir}/chakra-update-user-sycoca.sh ${pkgdir}/usr/bin/chakra-update-user-sycoca
# Install sysinfo script
install -D -m755 -o root -g root ${srcdir}/chakra-sysinfo.sh ${pkgdir}/usr/bin/chakra-sysinfo
# Install backup script
install -D -m755 -o root -g root ${srcdir}/chakra-backup.sh ${pkgdir}/usr/bin/chakra-backup
install -D -m644 -o root -g root ${srcdir}/Chakra-backup.desktop ${pkgdir}/usr/share/applications/kde4/Chakra-backup.desktop
# Install config file for updates
install -D -m755 -o root -g root ${srcdir}/updates.conf ${pkgdir}/etc/chakra/updates.conf
# Install root actions service menu
cd ${srcdir}/rootactions_servicemenu_2.4.10/Root_Actions_2.4.10/dolphin-KDE4/
mkdir -p ${pkgdir}/usr/share/kde4/services/ServiceMenus/
install -m755 *.desktop ${pkgdir}/usr/share/kde4/services/ServiceMenus/
cd ${srcdir}/rootactions_servicemenu_2.4.10/Root_Actions_2.4.10
patch -p2 < ${srcdir}/servicemenu-rootactions.patch
install -Dm755 rootactions-servicemenu.pl ${pkgdir}/usr/bin/rootactions-servicemenu.pl
sed "s~Icon=terminal~Icon=utilities-terminal~g" -i ${pkgdir}/usr/share/kde4/services/ServiceMenus/10-rootactionsfolders.desktop
sed "s~Icon=terminal~Icon=utilities-terminal~g" -i ${pkgdir}/usr/share/kde4/services/ServiceMenus/11-rootactionsfiles.desktop
# Install all other service menus
install -m755 ${srcdir}/servicemenu-copy-path.desktop ${pkgdir}/usr/share/kde4/services/ServiceMenus/copy-path.desktop
install -m755 ${srcdir}/102825-compressattach.desktop ${pkgdir}/usr/share/kde4/services/ServiceMenus/compress-attach.desktop
sed "s~Icon=attach~Icon=mail-attachment~g" -i ${pkgdir}/usr/share/kde4/services/ServiceMenus/compress-attach.desktop
# Install Chakra icons
cd ${srcdir}/chakra-icons/
mkdir -p ${pkgdir}/usr/share/icons/hicolor/scalable/apps/
for n in flat shiny smooth shield; do
for i in 128 64 48 32 22 16; do
mkdir -p ${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/
install -D -m755 chakra-${n}-${i}.png ${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/chakra-${n}.png
done
install -D -m755 chakra-${n}.svgz ${pkgdir}/usr/share/icons/hicolor/scalable/apps/chakra-${n}.svgz
done
# Install menu entries
cd ${srcdir}
install -m755 -d ${pkgdir}/usr/share/desktop-directories
install -m755 -d ${pkgdir}/usr/share/applications/kde4
install -m755 -d ${pkgdir}/usr/share/pixmaps
install -m644 Chakra*.desktop ${pkgdir}/usr/share/applications/kde4
install -m644 Chakra.directory ${pkgdir}/usr/share/desktop-directories/
}
#!/bin/sh
#
# This file is executed at kde shutdown.
# Uncomment the following lines to kill the agents
# that were started at session startup.
if [ "${GPG_AGENT_INFO}" ]; then
kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1
fi
#
if [ "${SSH_AGENT_PID}" ]; then
ssh-agent -k
fi
# Agents startup file
#
# This file is sourced at kde startup, so that
# the environment variables set here are available
# throughout the session.
# Uncomment the following lines to start gpg-agent
# and/or ssh-agent at kde startup.
# If you do so, do not forget to uncomment the respective
# lines in KDEDIR/shutdown/agent-shutdown.sh to
# properly kill the agents when the session ends.
if [ -x /usr/bin/gpg-agent ]; then
eval "$(/usr/bin/gpg-agent --daemon --pinentry-program /usr/bin/pinentry-qt4)"
fi
#
if [ -x /usr/bin/ssh-agent ]; then
eval "$(/usr/bin/ssh-agent -s)"
fi
#! /bin/bash
# GPL - jan.mette@berlin.de
###########################################################################
# SETUP
###########################################################################
TempFLDR=~/.backitup
Date=$(date +%g-%m-%d)
KDEdir=".kde4"
if [ -d "$TempFLDR" ] ; then
echo "removing old temp dir $TempFLDR"
rm -rf $TempFLDR
echo "creating temp dir: $TempFLDR"
mkdir $TempFLDR
else
echo "creating temp dir: $TempFLDR"
mkdir $TempFLDR
fi
###########################################################################
# WELCOME
###########################################################################
echo "welcome"
kdialog --dontagain minibackup:helloworld --msgbox "Welcome! \n\nThis is a simple backup script for all your personal data like mails, contacts, notes, appointments, application settings and so on...\n\nJust select what you want to backup and the target directory in the next steps." --title "miniBackup"
###########################################################################
# SELECT BACKUP SOURCES
###########################################################################
while true ; do
echo "backup selection"
backup_selection=$(kdialog --separate-output --checklist "Select the data you want to backup" personalSettings "Personal Data:" off addressbook " Addressbook" off emails " Emails and all account data" off places " Places (in Dolphin & the file dialog)" off remoteview " Network folders" off ssh " SSH keys and configurations" off subversion " Subversion configurations" off truecrypt " TrueCrypt configurations" off wallet " KWallet passwords" off blank "" off applicationSettings "Application Settings:" off akregator " Akregator" off amarok " Amarok" off kaddressbook " KAddressBook" off kate " Kate" off kdesrc " kdesrc-build" off kgpg " KGpg" off kjots " KJots" off kmail " KMail" off knotes " KNotes" off konsole " Konsole" off kontact " Kontact" off kopete " Kopete" off korganizer " KOrganizer" off kwallet " KWallet" off kwrite " KWrite" off museek " Museek" off opera " Opera" off powerdevil " PowerDevil" off skype " Skype" off systemsettings " System Settings" off --title "miniBackup" --geometry 300x300)
case $? in
1) exit ;;
0)
if [ -n "$backup_selection" ] ; then
for selec in $backup_selection; do
if [[ "$selec" != "personalSettings" ]] && [[ "$selec" != "applicationSettings" ]] && [[ "$selec" != "blank" ]] ; then
found=true
break
fi
done
if [ $found ] ; then
break
fi
fi ;;
esac
done
###########################################################################
# SELECT TARGET DIR FOR BACKUP
###########################################################################
echo "select target dir"
StoreFLDR=$(kdialog --getexistingdirectory ~/ --title "Where should i store the backup?")
case $? in
1) exit ;;
0) mkdir -p $StoreFLDR ; echo "" ;;
esac
###########################################################################
# LETS START
###########################################################################
echo "lets start"
DBUSREF=`kdialog --progressbar "Starting backup ..." --title "miniBackup - working ..." 34`
qdbus $DBUSREF setLabelText "Creating temporary directories ..."
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 1
mkdir -p $TempFLDR/$KDEdir
mkdir -p $TempFLDR/$KDEdir/share
mkdir -p $TempFLDR/$KDEdir/share/config
mkdir -p $TempFLDR/$KDEdir/share/apps
mkdir -p $TempFLDR/$KDEdir/share/config/kresources
mkdir -p $TempFLDR/.gnupg
mkdir -p $TempFLDR/.config
mkdir -p $TempFLDR/.local/share
for selection in $backup_selection; do
if [ "$selection" = "emails" ] ; then
echo $selection;
qdbus $DBUSREF setLabelText "Copying email accounts ..."
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 2
cp $HOME/$KDEdir/share/config/emaildefaults $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/mailtransports $TempFLDR/$KDEdir/share/config/
qdbus $DBUSREF setLabelText "Copying email identities ..."
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 3
cp $HOME/$KDEdir/share/config/emailidentities $TempFLDR/$KDEdir/share/config/
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 4
qdbus $DBUSREF setLabelText "Copying emails and account data ..."
cp -r $HOME/$KDEdir/share/apps/kmail $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "addressbook" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 5
qdbus $DBUSREF setLabelText "Copying addressbook ..."
cp -r $HOME/$KDEdir/share/apps/kabc $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "wallet" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 6
qdbus $DBUSREF setLabelText "Copying KWallet Data ..."
cp -r $HOME/$KDEdir/share/apps/kwallet $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "ssh" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 7
qdbus $DBUSREF setLabelText "Copying SSH Data ..."
cp -r $HOME/.ssh $TempFLDR/
elif [ "$selection" = "places" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 8
qdbus $DBUSREF setLabelText "Copying Places Data ..."
cp -r $HOME/.local/share/user-places* $TempFLDR/.local/share/
elif [ "$selection" = "kgpg" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 9
qdbus $DBUSREF setLabelText "Copying crypto settings and keys ..."
cp $HOME/$KDEdir/share/config/kgpgrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/libkleopatrarc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/ksslcertificatemanager $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kgpg.notifyrc $TempFLDR/$KDEdir/share/config/
cp -r $HOME/.gnupg/* $TempFLDR/.gnupg/
elif [ "$selection" = "akregator" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 10
qdbus $DBUSREF setLabelText "Copying Akregator Data ..."
cp $HOME/$KDEdir/share/config/kjotsrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kjots.notifyrc $TempFLDR/$KDEdir/share/config/
cp -r $HOME/$KDEdir/share/apps/akregator $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "kaddressbook" ] ; then
echo $selection;
qdbus $DBUSREF setLabelText "Copying KAddressbook settings ..."
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 11
cp $HOME/$KDEdir/share/config/kaddressbookrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kaddressbook.notifyrc $TempFLDR/$KDEdir/share/config/
cp -r $HOME/$KDEdir/share/config/kresources/contact $TempFLDR/$KDEdir/share/config/kresources/
elif [ "$selection" = "kate" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 12
qdbus $DBUSREF setLabelText "Copying Kate Data ..."
cp $HOME/$KDEdir/share/config/katerc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kate.notifyrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/katepartpluginsrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/katepartscriptrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kateschemarc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/katesyntaxhighlightingrc $TempFLDR/$KDEdir/share/config/
cp -r $HOME/$KDEdir/share/apps/kate $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "kdesrc" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 13
qdbus $DBUSREF setLabelText "Copying kdesrc-build Data ..."
cp $HOME/.kdesrc-build $TempFLDR/
elif [ "$selection" = "kjots" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 13
qdbus $DBUSREF setLabelText "Copying KJots Data ..."
cp $HOME/$KDEdir/share/config/kjotsrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kjots.notifyrc $TempFLDR/$KDEdir/share/config/
cp -r $HOME/$KDEdir/share/apps/kjots $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "kmail" ] ; then
echo $selection;
qdbus $DBUSREF setLabelText "Copying KMail settings ..."
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 14
cp $HOME/$KDEdir/share/config/kmail.eventsrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kmail.notifyrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kmailrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kmailsnippetrc $TempFLDR/$KDEdir/share/config/
elif [ "$selection" = "knotes" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 15
qdbus $DBUSREF setLabelText "Copying Knotes Data ..."
cp $HOME/$KDEdir/share/config/knotesrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/knotes.notifyrc $TempFLDR/$KDEdir/share/config/
cp -r $HOME/$KDEdir/share/apps/knotes $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "konsole" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 16
qdbus $DBUSREF setLabelText "Copying Konsole Data ..."
cp $HOME/$KDEdir/share/config/konsolerc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/konsole.notifyrc $TempFLDR/$KDEdir/share/config/
cp -r $HOME/$KDEdir/share/apps/konsole $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "kontact" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 17
qdbus $DBUSREF setLabelText "Copying Kontact Data ..."
cp $HOME/$KDEdir/share/config/kontactrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kontact_summaryrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kontact.notifyrc $TempFLDR/$KDEdir/share/config/
cp -r $HOME/$KDEdir/share/apps/kontact $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "kopete" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 18
qdbus $DBUSREF setLabelText "Copying Kopete Data ..."
cp $HOME/$KDEdir/share/config/kopeterc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kopete.notifyrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kopete.eventsrc $TempFLDR/$KDEdir/share/config/
cp -r $HOME/$KDEdir/share/apps/kopete $TempFLDR/$KDEdir/share/apps/
cp -r $HOME/$KDEdir/share/apps/kopete_otr $TempFLDR/$KDEdir/share/apps/
cp -r $HOME/$KDEdir/share/apps/kopeterichtexteditpart $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "korganizer" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 19
qdbus $DBUSREF setLabelText "Copying Korganizer Data ..."
cp $HOME/$KDEdir/share/config/korgacrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/korganizerrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/korganizer.notifyrc $TempFLDR/$KDEdir/share/config/
cp -r $HOME/$KDEdir/share/apps/korganizer $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "kwallet" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 20
qdbus $DBUSREF setLabelText "Copying KWallet Data ..."
cp $HOME/$KDEdir/share/config/kwalletrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kwallet.notifyrc $TempFLDR/$KDEdir/share/config/
elif [ "$selection" = "kwrite" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 21
qdbus $DBUSREF setLabelText "Copying KWrite Data ..."
cp $HOME/$KDEdir/share/config/kwriterc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/kwrite.notifyrc $TempFLDR/$KDEdir/share/config/
cp -r $HOME/$KDEdir/share/apps/kwrite $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "powerdevil" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 22
qdbus $DBUSREF setLabelText "Copying Powerdevil Data ..."
cp $HOME/$KDEdir/share/config/powerdevilrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/powerdevil.notifyrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/powerdevilprofilesrc $TempFLDR/$KDEdir/share/config/
cp -r $HOME/$KDEdir/share/apps/powerdevil $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "systemsettings" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 23
qdbus $DBUSREF setLabelText "Copying Systemsettings Data ..."
cp $HOME/$KDEdir/share/config/systemsettingsrc $TempFLDR/$KDEdir/share/config/
cp $HOME/$KDEdir/share/config/systemsettings.notifyrc $TempFLDR/$KDEdir/share/config/
cp -r $HOME/$KDEdir/share/apps/systemsettings $TempFLDR/$KDEdir/share/apps/
elif [ "$selection" = "akonadi" ] ; then
echo $selection;
qdbus $DBUSREF Set org.kde.kdialog.ProgressDialog value 24