Deprecate murrine

This commit is contained in:
Muhammad Rivan 2021-06-13 06:59:11 +07:00
parent 0f6c83755c
commit ecd31aebcb
No known key found for this signature in database
GPG Key ID: C56A200FD936FAAA
2 changed files with 8 additions and 14 deletions

View File

@ -8,11 +8,6 @@
# Installation is easy! # Installation is easy!
<details> <summary> Required dependencies info for nerds </summary> <details> <summary> Required dependencies info for nerds </summary>
### GTK2 theme deps
- gtk-murrine-engine `Fedora/RedHat`
- gtk2-engines-murrine `Ubuntu/Mint/Debian`
- gtk-engine-murrine `Arch/Manjaro`
### "Install from source" deps ### "Install from source" deps
- sassc - sassc
- libglib2.0-dev-bin `ubuntu 20.04` - libglib2.0-dev-bin `ubuntu 20.04`

View File

@ -148,32 +148,31 @@ prepare_xbps() {
#-----------------Deps-----------------# #-----------------Deps-----------------#
install_theme_deps() { install_theme_deps() {
if ! has_command glib-compile-resources || ! has_command sassc || ! has_command xmllint || if ! has_command glib-compile-resources || ! has_command sassc || ! has_command xmllint; then
(! is_my_distro "clear-linux" && [[ ! -r "/usr/share/gtk-engines/murrine.xml" ]]); then prompt -w "DEPS: 'glib2.0', 'sassc', and 'xmllint' are required for theme installation."
prompt -w "DEPS: 'glib2.0', 'sassc', 'xmllint', and 'libmurrine' are required for theme installation."
prepare_deps prepare_deps
if has_command zypper; then if has_command zypper; then
sudo zypper in -y sassc glib2-devel gtk2-engine-murrine libxml2-tools sudo zypper in -y sassc glib2-devel libxml2-tools
elif has_command swupd; then elif has_command swupd; then
# Rolling release # Rolling release
prepare_swupd && sudo swupd bundle-add libglib libxml2 && install_swupd_packages sassc libsass prepare_swupd && sudo swupd bundle-add libglib libxml2 && install_swupd_packages sassc libsass
elif has_command apt; then elif has_command apt; then
prepare_install_apt_packages sassc libglib2.0-dev-bin gtk2-engines-murrine libxml2-utils prepare_install_apt_packages sassc libglib2.0-dev-bin libxml2-utils
elif has_command dnf; then elif has_command dnf; then
sudo dnf install -y sassc glib2-devel gtk-murrine-engine libxml2 sudo dnf install -y sassc glib2-devel libxml2
elif has_command yum; then elif has_command yum; then
sudo yum install -y sassc glib2-devel gtk-murrine-engine libxml2 sudo yum install -y sassc glib2-devel libxml2
elif has_command pacman; then elif has_command pacman; then
# Rolling release # Rolling release
# 'Syu' (with a single y) may causes "could not open ... decompression failed" # 'Syu' (with a single y) may causes "could not open ... decompression failed"
# and "target not found <package>". We got to force 'pacman' to update the repos # and "target not found <package>". We got to force 'pacman' to update the repos
sudo pacman -Syyu --noconfirm --needed sassc glib2 gtk-engine-murrine libxml2 sudo pacman -Syyu --noconfirm --needed sassc glib2 libxml2
elif has_command xbps-install; then elif has_command xbps-install; then
# Rolling release # Rolling release
# 'libxml2' is already included here, and it's gonna broke the installation # 'libxml2' is already included here, and it's gonna broke the installation
# if you add it # if you add it
prepare_xbps && sudo xbps-install -Sy sassc glib-devel gtk-engine-murrine prepare_xbps && sudo xbps-install -Sy sassc glib-devel
else else
installation_sorry installation_sorry
fi fi