Drop KDE4 files

This commit is contained in:
MatMoul 2016-04-26 02:23:09 +02:00
parent 9f4f0682ee
commit 1cc1b4ae45
8 changed files with 0 additions and 424 deletions

View file

@ -1,65 +0,0 @@
#!/bin/bash
. ./lib
options=()
#options+=("kdebase-plasma" "" on)
options+=("numlockx" "(Numlock on for kdm)" on)
options+=("kdesu" "" on)
#options+=("kdesu4" "" on)
options+=("konsolepart4" "" on)
options+=("dolphinpart4" "" on)
options+=("gnome-keyring" "" on)
options+=("partitionmanager" "" on)
options+=("breeze-kde4" "theme" on)
options+=("breeze" "theme" on)
options+=("gtk-kde4" "(AUR) gtk2 theme config" on)
options+=("gnome-breeze-git" "(AUR) gtk Breeze theme" on)
options+=("oxygen-gtk2" "theme gtk 2" off)
options+=("oxygen-gtk3-git" "(AUR) theme gtk 3" off)
options+=("qtcurve-kde4" "theme" off)
options+=("archlinux-themes-kdm" "theme" off)
#options+=("smb4k" "" off)
#options+=("kdeconnect" "" off)
#options+=("sshfs" "(For kdeconnect)" off)
sel=$(whiptail --backtitle "$apptitle" --title "KDE Complements :" --checklist "" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
for itm in $sel; do
case $itm in
'"gtk-qt-engine"' | \
'"gtk-kde4"' | \
'"gnome-breeze-git"' | \
'"oxygen-gtk3-git"') aurpkg="$aurpkg $(echo $itm | sed 's/"//g')";;
'"gtk3-dark-theme-patch"') ;;
*) pkg="$pkg $(echo $itm | sed 's/"//g')";;
esac
done
instpkg "$pkg" "$aurpkg"
for itm in $sel; do
case $itm in
'"gtk3-dark-theme-patch"')
mkdir -p /etc/skel/.config/gtk-3.0
echo "[Settings]" > /etc/skel/.config/gtk-3.0/settings.ini
echo "gtk-application-prefer-dark-theme=true" >> /etc/skel/.config/gtk-3.0/settings.ini
;;
'"numlockx"')
if ( confirm "Add numlockx on to /usr/share/config/kdm/Xsetup ?" ) then
echo "numlockx on" >> /usr/share/config/kdm/Xsetup
fi
;;
'"dolphinpart4"')
if( confirm "Patch doplhin.desktop with Exec=dolphin4 %u ?" ) then
sed -i "/Exec/c\Exec=dolphin4 %u" /usr/share/applications/org.kde.dolphin.desktop
fi
;;
esac
done
exit 0

View file

@ -1,95 +0,0 @@
#!/bin/bash
. ./lib
options=()
#kde-agent
#kdepim-kleopatra
#kdeutils-kgpg
items=$(pacman -Sqg kde-applications)
for item in $items; do
case $item in
"dolphin" | \
"kdepasswd" | \
"kdialog" | \
"kfind" | \
"workspace" | \
"ksystemlog" | \
"kuser" | \
"ark" | \
"kwalletmanager" | \
"kgamma" | \
"ksnapshot" | \
"okular" | \
"audiocd-kio" | \
"ffmpegthumbs" | \
"kmix" | \
"mplayerthumbs" | \
"filesharing" | \
"zeroconf-ioslave" | \
"kate" | \
"thumbnailers" | \
"kdebase-dolphin" | \
"kdebase-kdepasswd" | \
"kdebase-kdialog" | \
"kdebase-kfind" | \
"kdebase-workspace" | \
"konsole" | \
"kwrite" | \
"kcron" | \
"kdeadmin-ksystemlog" | \
"kdeadmin-kuser" | \
"kdeutils-ark" | \
"kdeutils-kwalletmanager" | \
"kcalc" | \
"kcharselect" | \
"print-manager" | \
"kdegraphics-kgamma" | \
"kdegraphics-ksnapshot" | \
"kdegraphics-okular" | \
"kdemultimedia-audiocd-kio" | \
"kdemultimedia-ffmpegthumbs" | \
"kdemultimedia-kmix" | \
"kdemultimedia-mplayerthumbs" | \
"kdenetwork-filesharing" | \
"kdenetwork-zeroconf-ioslave" | \
"kate" | \
"kdesdk-thumbnailers" | \
"kleopatra" | \
"kdepim-kleopatra" | \
"kdeartwork-"*) options+=("$item" "" on);;
"akregator" | \
"kaddressbook" | \
"kalarm" | \
"kmail" | \
"knotes" | \
"kontact" | \
"korganizer" | \
"kdepim-akregator" | \
"kdepim-kaddressbook" | \
"kdepim-kalarm" | \
"kdepim-kmail" | \
"kdepim-knotes" | \
"kdepim-kontact" | \
"kdepim-korganizer" | \
"kdeartwork-"*) options+=("$item" "(recommended)" off);;
*) options+=("$item" "" off);;
esac
done
sel=$(whiptail --backtitle "$apptitle" --title "$package Install :" --checklist "" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
for itm in $sel; do
pkg="$pkg $(echo $itm | sed 's/"//g')"
done
instpkg "$pkg" "$aurpkg"
exit 0

View file

@ -1,28 +0,0 @@
#!/bin/bash
. ./lib
options=()
items=$(pacman -Ssq kdeplasma4-)
for item in $items; do
case $item in
"kdeplasma-applets-plasma-nm") options+=("$item" "" on);;
*) options+=("$item" "" off);;
esac
done
sel=$(whiptail --backtitle "$apptitle" --title "KDE Plasma :" --checklist "" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
for itm in $sel; do
pkg="$pkg $(echo $itm | sed 's/"//g')"
done
instpkg "$pkg" "$aurpkg"
exit 0

View file

@ -1,24 +0,0 @@
#!/bin/bash
. ./lib
options=()
items=$(pacman -Ssq kde-l10n-)
for item in $items; do
options+=("$item" "" off)
done
sel=$(whiptail --backtitle "$apptitle" --title "KDE localisations :" --checklist "" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
for itm in $sel; do
pkg="$pkg $(echo $itm | sed 's/"//g')"
done
instpkg "$pkg" "$aurpkg"
exit 0

View file

@ -1,43 +0,0 @@
#!/bin/bash
. ./lib
options=()
options+=("KDE Base" "(AUR) kdebase-workspace")
options+=("KDE Localisations" "kde-l10n-")
#options+=("KDE Plasma" "kdeplasma4-")
options+=("KDE Apps Meta Full" "kde-applications-meta")
options+=("KDE Apps Full" "kde-applications")
options+=("KDE Apps" "")
options+=("KDE Complements" "")
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "KDE4 Install Menu :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
sed -i "/^defaultitem=/c\defaultitem=\"$sel\"" $0
case $sel in
'KDE Base')
instpkg "" "kdebase-workspace"
svcenable kdm
;;
'KDE Localisations') script install/desktop/kde4/localisations;;
'KDE Plasma') script install/desktop/kde4/kdeplasma;;
'KDE Apps Meta Full')
if ( confirm "This option install all KDE applications with meta packages.\n\nInstall KDE Meta Full (pacman -S kde-applications-meta) ?" ) then
instpkg "kde-applications-meta" ""
fi
;;
'KDE Apps Full')
if ( confirm "This option install all KDE applications.\n\nInstall KDE Full (pacman -S kde-applications) ?" ) then
instpkg "kde-applications" ""
fi
;;
'KDE Apps') script install/desktop/kde4/kdeapps;;
'KDE Complements') script install/desktop/kde4/complements;;
esac
exit 0

View file

@ -1,35 +0,0 @@
#!/bin/bash
. ./lib
options=()
items=$(for i in $(pacman -Sqg kde-applications-meta); do echo ${i#kde-meta-};done)
for item in $items; do
case $item in
"kdebase") options+=("$item" "" on);;
"kdeadmin") options+=("$item" "" on);;
"kdegraphics") options+=("$item" "" on);;
"kdemultimedia") options+=("$item" "" on);;
"kdeutils") options+=("$item" "" on);;
"kdepim") options+=("$item" "" on);;
"kdeartwork") options+=("$item" "" on);;
"kde-wallpapers") ;;
*) options+=("$item" "" off);;
esac
done
sel=$(whiptail --backtitle "$apptitle" --title "KDE Meta Packages :" --checklist "" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
for itm in $sel; do
pkg="$pkg $(echo $itm | sed 's/"//g')"
done
instpkg "$pkg" "$aurpkg"
exit 0

View file

@ -1,44 +0,0 @@
#!/bin/bash
. ./lib
options=()
options+=("kdebase" "")
options+=("kdeadmin" "")
options+=("kdeutils" "")
options+=("kdegraphics" "")
options+=("kdemultimedia" "")
options+=("kdenetwork" "")
options+=("kdesdk" "")
options+=("kdepim" "")
items=$(for i in $(pacman -Sqg kde-applications-meta); do echo ${i#kde-meta-};done)
for item in $items; do
case $item in
"kdebase") ;;
"kdeadmin") ;;
"kdeutils") ;;
"kdegraphics") ;;
"kdemultimedia") ;;
"kdenetwork") ;;
"kdesdk") ;;
"kdepim") ;;
"kde-wallpapers") ;;
"telepathy-kde-meta") ;;
*) options+=("$item" "");;
esac
done
defaultitem=""
sel=$(whiptail --backtitle "$apptitle" --title "KDE Package Categories :" --menu "" --default-item "$defaultitem" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
sed -i "/^defaultitem=/c\defaultitem=\"$sel\"" $0
require install/desktop/kde4/packages 755
sed -i "/^package=/c\package=\"$sel\"" install/desktop/kde4/packages
script install/desktop/kde4/packages
exit 0

View file

@ -1,90 +0,0 @@
#!/bin/bash
. ./lib
options=()
package=""
items=$(pacman -Sqg $package)
for item in $items; do
case $item in
"dolphin" | \
"kdepasswd" | \
"kdialog" | \
"kfind" | \
"workspace" | \
"ksystemlog" | \
"kuser" | \
"ark" | \
"kgamma" | \
"ksnapshot" | \
"okular" | \
"audiocd-kio" | \
"ffmpegthumbs" | \
"kmix" | \
"mplayerthumbs" | \
"filesharing" | \
"zeroconf-ioslave" | \
"kate" | \
"thumbnailers" | \
"akregator" | \
"kaddressbook" | \
"kalarm" | \
"kleopatra" | \
"kmail" | \
"knotes" | \
"kontact" | \
"korganizer" | \
"kdebase-dolphin" | \
"kdebase-kdepasswd" | \
"kdebase-kdialog" | \
"kdebase-kfind" | \
"kdebase-workspace" | \
"konsole" | \
"kwrite" | \
"kcron" | \
"kdeadmin-ksystemlog" | \
"kdeadmin-kuser" | \
"kdeutils-ark" | \
"filelight" | \
"kcalc" | \
"kcharselect" | \
"print-manager" | \
"kdegraphics-kgamma" | \
"kdegraphics-ksnapshot" | \
"kdegraphics-okular" | \
"kdemultimedia-audiocd-kio" | \
"kdemultimedia-ffmpegthumbs" | \
"kdemultimedia-kmix" | \
"kdemultimedia-mplayerthumbs" | \
"kdenetwork-filesharing" | \
"kdenetwork-zeroconf-ioslave" | \
"kate" | \
"kdesdk-thumbnailers" | \
"kdepim-akregator" | \
"kdepim-kaddressbook" | \
"kdepim-kalarm" | \
"kdepim-kleopatra" | \
"kdepim-kmail" | \
"kdepim-knotes" | \
"kdepim-kontact" | \
"kdepim-korganizer" | \
"kdeartwork-"*) options+=("$item" "" on);;
*) options+=("$item" "" off);;
esac
done
sel=$(whiptail --backtitle "$apptitle" --title "$package Install :" --checklist "" --cancel-button "Back" 0 0 0 \
"${options[@]}" \
3>&1 1>&2 2>&3)
if [ ! "$?" = "0" ]; then
exit 1
fi
for itm in $sel; do
pkg="$pkg $(echo $itm | sed 's/"//g')"
done
instpkg "$pkg" "$aurpkg"
exit 0