x11-themes/mojave-gtk-themes: update to 2024-11-15

Changelog: https://github.com/vinceliuice/Mojave-gtk-theme/compare/2022-06-07...2024-11-15

PR:		277553
Reported by:	Son Phan Trung <phantrungson17@gmail.com> (initial version),
		Alexander Vereeken <Alexander88207@protonmail.com> (final version, maintainer)
Reviewed by:	fuz, linimon
This commit is contained in:
Alexander Vereeken 2025-08-21 18:35:44 +02:00 committed by Hiroki Tagato
parent 3052469f56
commit 15f64a70ab
4 changed files with 49 additions and 436 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= mojave-gtk-themes
DISTVERSION= 2022-06-07
DISTVERSION= 2024-11-15
CATEGORIES= x11-themes
MAINTAINER= Alexander88207@protonmail.com

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1655071603
SHA256 (vinceliuice-Mojave-gtk-theme-2022-06-07_GH0.tar.gz) = e13d0f4f13ea27a948f8ae444b38ae7147e96a41d499e81a8cf57187bfd05a9a
SIZE (vinceliuice-Mojave-gtk-theme-2022-06-07_GH0.tar.gz) = 6056114
TIMESTAMP = 1755793483
SHA256 (vinceliuice-Mojave-gtk-theme-2024-11-15_GH0.tar.gz) = 5be7ec95a3a1502b6dd5d6e45007d9cfd9b4db07e9604c24b55e0876384e53b4
SIZE (vinceliuice-Mojave-gtk-theme-2024-11-15_GH0.tar.gz) = 2591904

View File

@ -0,0 +1,45 @@
--- install.sh.orig 2025-08-21 16:29:23 UTC
+++ install.sh
@@ -1,11 +1,11 @@
#!/usr/local/bin/bash
-. config.sh
-export SCALE_FACTORS=$( seq -s' ' 2 $MAX_SCALE_FACTOR )
-
REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
SRC_DIR="${REPO_DIR}/src"
+. ${REPO_DIR}/config.sh
+export SCALE_FACTORS=$( seq -s' ' 2 $MAX_SCALE_FACTOR )
+
ROOT_UID=0
DEST_DIR=
@@ -193,9 +193,6 @@ install() {
mkdir -p "${THEME_DIR}/xfwm4"
cp -r "${SRC_DIR}/assets/xfwm4/assets${color}${small}/"*'.png' "${THEME_DIR}/xfwm4"
cp -r "${SRC_DIR}/main/xfwm4/themerc${color}" "${THEME_DIR}/xfwm4/themerc"
-
- mkdir -p "${THEME_DIR}/unity"
- cp -r "${SRC_DIR}/assets/unity/assets/"*'.png' "${THEME_DIR}/unity"
mkdir -p "${THEME_DIR}/cinnamon"
sassc $SASSC_OPT "${SRC_DIR}/main/cinnamon/cinnamon${color}${opacity}.scss" "${THEME_DIR}/cinnamon/cinnamon.css"
@@ -288,7 +285,7 @@ install_gdm() {
cp -an "$UBUNTU_YARU_THEME_FILE" "$UBUNTU_YARU_THEME_FILE.bak"
rm -rf "$UBUNTU_YARU_THEME_FILE"
- sed -i "s|assets|resource:///org/gnome/shell/theme/assets|" "$GDM_THEME_DIR"/gnome-shell/gnome-shell.css
+ sed -i "" "s|assets|resource:///org/gnome/shell/theme/assets|" "$GDM_THEME_DIR"/gnome-shell/gnome-shell.css
glib-compile-resources \
--sourcedir="$GDM_THEME_DIR"/gnome-shell \
@@ -647,7 +644,7 @@ theme_color() {
theme_color='grey'
;;
esac
- sed -i "/\$theme:/s/default/${theme_color}/" "${SRC_DIR}/sass/_theme-variant-temp.scss"
+ sed -i "" "/\$theme:/s/default/${theme_color}/" "${SRC_DIR}/sass/_theme-variant-temp.scss"
fi
}

File diff suppressed because it is too large Load Diff