FreeBSD Bugzilla – Attachment 230214 Details for
Bug 260506
x11-themes/canta-gtk-themes: Fix xfwm4 theme
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
canta-gtk-themes-2021.09.08_1.diff(v3)
canta-gtk-themes-2021.09.08_1.diff (text/plain), 13.97 KB, created by
Alexander Vereeken
on 2021-12-17 21:46:45 UTC
(
hide
)
Description:
canta-gtk-themes-2021.09.08_1.diff(v3)
Filename:
MIME Type:
Creator:
Alexander Vereeken
Created:
2021-12-17 21:46:45 UTC
Size:
13.97 KB
patch
obsolete
>diff --git a/x11-themes/canta-gtk-themes/Makefile b/x11-themes/canta-gtk-themes/Makefile >index 106a8bbc4c91..f87817d3b0d9 100644 >--- a/x11-themes/canta-gtk-themes/Makefile >+++ b/x11-themes/canta-gtk-themes/Makefile >@@ -1,6 +1,7 @@ > # Created by: Alexander Vereeken <Alexander88207@protonmail.com> > > PORTNAME= canta-gtk-themes >+PORTREVISION= 1 > DISTVERSION= 2021-09-08 > CATEGORIES= x11-themes > >@@ -11,6 +12,7 @@ LICENSE= GPLv3 > LICENSE_FILE= ${WRKSRC}/COPYING > > BUILD_DEPENDS= bash>0:shells/bash \ >+ coreutils>0:sysutils/coreutils \ > gsed:textproc/gsed \ > sassc>0:textproc/sassc > RUN_DEPENDS= gtk-engines2>0:x11-themes/gtk-engines2 \ >@@ -27,6 +29,6 @@ NO_BUILD= yes > > do-install: > @${MKDIR} ${STAGEDIR}${PREFIX}/share/themes >- ${WRKSRC}/install.sh -d ${STAGEDIR}${PREFIX}/share/themes -t standard blue indigo >+ ${WRKSRC}/install.sh -d ${STAGEDIR}${PREFIX}/share/themes -t standard blue indigo > > .include <bsd.port.mk> >diff --git a/x11-themes/canta-gtk-themes/files/patch-install.sh b/x11-themes/canta-gtk-themes/files/patch-install.sh >index 2d6a0c84427a..3abaff4dca02 100644 >--- a/x11-themes/canta-gtk-themes/files/patch-install.sh >+++ b/x11-themes/canta-gtk-themes/files/patch-install.sh >@@ -1,6 +1,176 @@ >---- install.sh.orig 2021-09-22 16:18:31 UTC >+--- install.sh.orig 2021-12-17 21:36:35 UTC > +++ install.sh >-@@ -403,13 +403,13 @@ theme_colors() { >+@@ -84,8 +84,8 @@ install() { >+ theme_tweaks >+ >+ mkdir -p ${THEME_DIR} >+- cp -rf ${SRC_DIR}/COPYING ${THEME_DIR} >+- cp -rf ${SRC_DIR}/AUTHORS ${THEME_DIR} >++ gcp -rf ${SRC_DIR}/COPYING ${THEME_DIR} >++ gcp -rf ${SRC_DIR}/AUTHORS ${THEME_DIR} >+ >+ echo "[Desktop Entry]" >> ${THEME_DIR}/index.theme >+ echo "Type=X-GNOME-Metatheme" >> ${THEME_DIR}/index.theme >+@@ -101,10 +101,10 @@ install() { >+ echo "ButtonLayout=menu:minimize,maximize,close" >> ${THEME_DIR}/index.theme >+ >+ mkdir -p ${THEME_DIR}/gnome-shell >+- cp -rf ${SRC_DIR}/src/gnome-shell/{*.svg,extensions,noise-texture.png,pad-osd.css} ${THEME_DIR}/gnome-shell >+- cp -rf ${SRC_DIR}/src/gnome-shell/gnome-shell-theme.gresource.xml ${THEME_DIR}/gnome-shell >+- cp -rf ${SRC_DIR}/src/gnome-shell/assets${ELSE_DARK} ${THEME_DIR}/gnome-shell/assets >+- cp -rf ${SRC_DIR}/src/gnome-shell/common-assets/*.svg ${THEME_DIR}/gnome-shell/assets >++ gcp -rf ${SRC_DIR}/src/gnome-shell/{*.svg,extensions,noise-texture.png,pad-osd.css} ${THEME_DIR}/gnome-shell >++ gcp -rf ${SRC_DIR}/src/gnome-shell/gnome-shell-theme.gresource.xml ${THEME_DIR}/gnome-shell >++ gcp -rf ${SRC_DIR}/src/gnome-shell/assets${ELSE_DARK} ${THEME_DIR}/gnome-shell/assets >++ gcp -rf ${SRC_DIR}/src/gnome-shell/common-assets/*.svg ${THEME_DIR}/gnome-shell/assets >+ >+ if [[ "$tweaks" == 'true' ]]; then >+ if [[ "${GS_VERSION:-}" == 'new' ]]; then >+@@ -114,76 +114,76 @@ install() { >+ fi >+ else >+ if [[ "${GS_VERSION:-}" == 'new' ]]; then >+- cp -rf ${SRC_DIR}/src/gnome-shell/shell-40-0/gnome-shell${color}${size}.css ${THEME_DIR}/gnome-shell/gnome-shell.css >++ gcp -rf ${SRC_DIR}/src/gnome-shell/shell-40-0/gnome-shell${color}${size}.css ${THEME_DIR}/gnome-shell/gnome-shell.css >+ else >+- cp -rf ${SRC_DIR}/src/gnome-shell/shell-3-36/gnome-shell${color}${size}.css ${THEME_DIR}/gnome-shell/gnome-shell.css >++ gcp -rf ${SRC_DIR}/src/gnome-shell/shell-3-36/gnome-shell${color}${size}.css ${THEME_DIR}/gnome-shell/gnome-shell.css >+ fi >+ fi >+ >+ mkdir -p ${THEME_DIR}/gtk-2.0 >+- cp -rf ${SRC_DIR}/src/gtk-2.0/{apps.rc,hacks.rc,panel.rc} ${THEME_DIR}/gtk-2.0 >+- cp -rf ${SRC_DIR}/src/gtk-2.0/main.rc${theme} ${THEME_DIR}/gtk-2.0/main.rc >+- cp -rf ${SRC_DIR}/src/gtk-2.0/assets${ELSE_DARK} ${THEME_DIR}/gtk-2.0/assets >++ gcp -rf ${SRC_DIR}/src/gtk-2.0/{apps.rc,hacks.rc,panel.rc} ${THEME_DIR}/gtk-2.0 >++ gcp -rf ${SRC_DIR}/src/gtk-2.0/main.rc${theme} ${THEME_DIR}/gtk-2.0/main.rc >++ gcp -rf ${SRC_DIR}/src/gtk-2.0/assets${ELSE_DARK} ${THEME_DIR}/gtk-2.0/assets >+ [[ ${theme} != '' && ${color} == '-dark' ]] && \ >+- cp -rf ${SRC_DIR}/src/gtk-2.0/assets-theme-dark/*.png ${THEME_DIR}/gtk-2.0/assets >+- cp -rf ${SRC_DIR}/src/gtk-2.0/gtkrc${theme}${color} ${THEME_DIR}/gtk-2.0/gtkrc >++ gcp -rf ${SRC_DIR}/src/gtk-2.0/assets-theme-dark/*.png ${THEME_DIR}/gtk-2.0/assets >++ gcp -rf ${SRC_DIR}/src/gtk-2.0/gtkrc${theme}${color} ${THEME_DIR}/gtk-2.0/gtkrc >+ >+ mkdir -p ${THEME_DIR}/gtk-3.0 >+- cp -rf ${SRC_DIR}/src/gtk/assets ${THEME_DIR}/gtk-3.0 >+- cp -rf ${SRC_DIR}/src/gtk/common-assets ${THEME_DIR}/gtk-3.0 >++ gcp -rf ${SRC_DIR}/src/gtk/assets ${THEME_DIR}/gtk-3.0 >++ gcp -rf ${SRC_DIR}/src/gtk/common-assets ${THEME_DIR}/gtk-3.0 >+ >+ if [[ "$tweaks" == 'true' ]]; then >+ sassc $SASSC_OPT ${SRC_DIR}/src/gtk/3.0/gtk${color}${size}.scss ${THEME_DIR}/gtk-3.0/gtk.css >+ [[ ${color} != '-dark' ]] && \ >+ sassc $SASSC_OPT ${SRC_DIR}/src/gtk/3.0/gtk-dark${size}.scss ${THEME_DIR}/gtk-3.0/gtk-dark.css >+ else >+- cp -rf ${SRC_DIR}/src/gtk/3.0/gtk${color}${size}.css ${THEME_DIR}/gtk-3.0/gtk.css >++ gcp -rf ${SRC_DIR}/src/gtk/3.0/gtk${color}${size}.css ${THEME_DIR}/gtk-3.0/gtk.css >+ [[ ${color} != '-dark' ]] && \ >+- cp -rf ${SRC_DIR}/src/gtk/3.0/gtk-dark${size}.css ${THEME_DIR}/gtk-3.0/gtk-dark.css >++ gcp -rf ${SRC_DIR}/src/gtk/3.0/gtk-dark${size}.css ${THEME_DIR}/gtk-3.0/gtk-dark.css >+ fi >+ >+ mkdir -p ${THEME_DIR}/gtk-4.0 >+- cp -rf ${SRC_DIR}/src/gtk/assets ${THEME_DIR}/gtk-4.0 >+- cp -rf ${SRC_DIR}/src/gtk/common-assets ${THEME_DIR}/gtk-4.0 >++ gcp -rf ${SRC_DIR}/src/gtk/assets ${THEME_DIR}/gtk-4.0 >++ gcp -rf ${SRC_DIR}/src/gtk/common-assets ${THEME_DIR}/gtk-4.0 >+ >+ if [[ "$tweaks" == 'true' ]]; then >+ sassc $SASSC_OPT ${SRC_DIR}/src/gtk/4.0/gtk${color}${size}.scss ${THEME_DIR}/gtk-4.0/gtk.css >+ [[ ${color} != '-dark' ]] && \ >+ sassc $SASSC_OPT ${SRC_DIR}/src/gtk/4.0/gtk-dark${size}.scss ${THEME_DIR}/gtk-4.0/gtk-dark.css >+ else >+- cp -rf ${SRC_DIR}/src/gtk/4.0/gtk${color}${size}.css ${THEME_DIR}/gtk-4.0/gtk.css >++ gcp -rf ${SRC_DIR}/src/gtk/4.0/gtk${color}${size}.css ${THEME_DIR}/gtk-4.0/gtk.css >+ [[ ${color} != '-dark' ]] && \ >+- cp -rf ${SRC_DIR}/src/gtk/4.0/gtk-dark${size}.css ${THEME_DIR}/gtk-4.0/gtk-dark.css >++ gcp -rf ${SRC_DIR}/src/gtk/4.0/gtk-dark${size}.css ${THEME_DIR}/gtk-4.0/gtk-dark.css >+ fi >+ >+ mkdir -p ${THEME_DIR}/metacity-1 >+- cp -rf ${SRC_DIR}/src/metacity-1/assets/*.png ${THEME_DIR}/metacity-1 >+- cp -rf ${SRC_DIR}/src/metacity-1/metacity-theme-1${color}.xml ${THEME_DIR}/metacity-1/metacity-theme-1.xml >++ gcp -rf ${SRC_DIR}/src/metacity-1/assets/*.png ${THEME_DIR}/metacity-1 >++ gcp -rf ${SRC_DIR}/src/metacity-1/metacity-theme-1${color}.xml ${THEME_DIR}/metacity-1/metacity-theme-1.xml >+ cd ${THEME_DIR}/metacity-1 >+ ln -s metacity-theme-1.xml metacity-theme-2.xml >+ ln -s metacity-theme-1.xml metacity-theme-3.xml >+ >+ mkdir -p ${THEME_DIR}/unity >+- cp -rf ${SRC_DIR}/src/unity/{*.svg,*.png,dash-widgets.json} ${THEME_DIR}/unity >+- cp -rf ${SRC_DIR}/src/unity/assets${ELSE_LIGHT} ${THEME_DIR}/unity/assets >++ gcp -rf ${SRC_DIR}/src/unity/{*.svg,*.png,dash-widgets.json} ${THEME_DIR}/unity >++ gcp -rf ${SRC_DIR}/src/unity/assets${ELSE_LIGHT} ${THEME_DIR}/unity/assets >+ >+ mkdir -p ${THEME_DIR}/xfwm4 >+- cp -rf ${SRC_DIR}/src/xfwm4/{*.svg,themerc} ${THEME_DIR}/xfwm4 >+- cp -rf ${SRC_DIR}/src/xfwm4/assets${ELSE_LIGHT} ${THEME_DIR}/xfwm4/assets >++ gcp -rf ${SRC_DIR}/src/xfwm4/{*.svg,themerc} ${THEME_DIR}/xfwm4 >++ gcp -rf ${SRC_DIR}/src/xfwm4/assets${ELSE_LIGHT} ${THEME_DIR}/xfwm4/assets >+ >+ if [[ "${theme}" == '' ]]; then >+ mkdir -p ${THEME_DIR}/cinnamon >+- cp -rf ${SRC_DIR}/src/cinnamon/cinnamon${ELSE_DARK}.css ${THEME_DIR}/cinnamon/cinnamon.css >+- cp -rf ${SRC_DIR}/src/cinnamon/assets/common-assets ${THEME_DIR}/cinnamon/assets >+- cp -rf ${SRC_DIR}/src/cinnamon/assets/assets${ELSE_DARK}/checkbox/*.svg ${THEME_DIR}/cinnamon/assets/checkbox >+- cp -rf ${SRC_DIR}/src/cinnamon/assets/assets${ELSE_DARK}/menu/*.svg ${THEME_DIR}/cinnamon/assets/menu >+- cp -rf ${SRC_DIR}/src/cinnamon/assets/assets${ELSE_DARK}/misc/*.svg ${THEME_DIR}/cinnamon/assets/misc >+- cp -rf ${SRC_DIR}/src/cinnamon/assets/assets${ELSE_DARK}/switch/*.svg ${THEME_DIR}/cinnamon/assets/switch >+- cp -rf ${SRC_DIR}/src/cinnamon/thumbnail${ELSE_DARK}.png ${THEME_DIR}/cinnamon/thumbnail.png >++ gcp -rf ${SRC_DIR}/src/cinnamon/cinnamon${ELSE_DARK}.css ${THEME_DIR}/cinnamon/cinnamon.css >++ gcp -rf ${SRC_DIR}/src/cinnamon/assets/common-assets ${THEME_DIR}/cinnamon/assets >++ gcp -rf ${SRC_DIR}/src/cinnamon/assets/assets${ELSE_DARK}/checkbox/*.svg ${THEME_DIR}/cinnamon/assets/checkbox >++ gcp -rf ${SRC_DIR}/src/cinnamon/assets/assets${ELSE_DARK}/menu/*.svg ${THEME_DIR}/cinnamon/assets/menu >++ gcp -rf ${SRC_DIR}/src/cinnamon/assets/assets${ELSE_DARK}/misc/*.svg ${THEME_DIR}/cinnamon/assets/misc >++ gcp -rf ${SRC_DIR}/src/cinnamon/assets/assets${ELSE_DARK}/switch/*.svg ${THEME_DIR}/cinnamon/assets/switch >++ gcp -rf ${SRC_DIR}/src/cinnamon/thumbnail${ELSE_DARK}.png ${THEME_DIR}/cinnamon/thumbnail.png >+ fi >+ >+ mkdir -p ${THEME_DIR}/plank >+- cp -rf ${SRC_DIR}/src/plank/dock${ELSE_LIGHT}.theme ${THEME_DIR}/plank/dock.theme >++ gcp -rf ${SRC_DIR}/src/plank/dock${ELSE_LIGHT}.theme ${THEME_DIR}/plank/dock.theme >+ } >+ >+ install_gdm() { >+@@ -193,7 +193,7 @@ install_gdm() { >+ >+ if [[ -f "$GS_THEME_FILE" ]] && [[ "$(which glib-compile-resources 2> /dev/null)" ]]; then >+ echo "Installing '$GS_THEME_FILE'..." >+- cp -an "$GS_THEME_FILE" "$GS_THEME_FILE.bak" >++ gcp -an "$GS_THEME_FILE" "$GS_THEME_FILE.bak" >+ glib-compile-resources \ >+ --sourcedir="$THEME_DIR/gnome-shell" \ >+ --target="$GS_THEME_FILE" \ >+@@ -206,8 +206,8 @@ install_gdm() { >+ >+ if [[ -f "$UBUNTU_THEME_FILE" ]]; then >+ echo "Installing '$UBUNTU_THEME_FILE'..." >+- cp -an "$UBUNTU_THEME_FILE" "$UBUNTU_THEME_FILE.bak" >+- cp -af "$THEME_DIR/gnome-shell/gnome-shell.css" "$UBUNTU_THEME_FILE" >++ gcp -an "$UBUNTU_THEME_FILE" "$UBUNTU_THEME_FILE.bak" >++ gcp -af "$THEME_DIR/gnome-shell/gnome-shell.css" "$UBUNTU_THEME_FILE" >+ fi >+ } >+ >+@@ -215,7 +215,7 @@ install_icon() { >+ echo -e "\nInstalling Canta icon theme..." >+ >+ # Copying files >+- cp -rf ${SRC_DIR}/icons/Canta ${ICON_DEST_DIR} >++ gcp -rf ${SRC_DIR}/icons/Canta ${ICON_DEST_DIR} >+ >+ # update icon caches >+ gtk-update-icon-cache ${ICON_DEST_DIR}/Canta >+@@ -390,7 +390,7 @@ install_theme() { >+ } >+ >+ tweaks_temp() { >+- cp -rf ${SRC_DIR}/src/_sass/_tweaks.scss ${SRC_DIR}/src/_sass/_tweaks-temp.scss >++ gcp -rf ${SRC_DIR}/src/_sass/_tweaks.scss ${SRC_DIR}/src/_sass/_tweaks-temp.scss >+ } >+ >+ theme_colors() { >+@@ -403,7 +403,7 @@ theme_colors() { > theme_color='indigo' > ;; > esac >@@ -9,10 +179,3 @@ > fi > } > >- bakground_image() { >- echo "Install with no nautilus bakground image..." >-- sed -i "/\$theme_image:/s/true/false/" ${SRC_DIR}/src/_sass/_tweaks-temp.scss >-+ gsed -i "/\$theme_image:/s/true/false/" ${SRC_DIR}/src/_sass/_tweaks-temp.scss >- } >- >- theme_tweaks() { >diff --git a/x11-themes/canta-gtk-themes/pkg-descr b/x11-themes/canta-gtk-themes/pkg-descr >index 0219b27f05d2..c479be6e8365 100644 >--- a/x11-themes/canta-gtk-themes/pkg-descr >+++ b/x11-themes/canta-gtk-themes/pkg-descr >@@ -1,3 +1,12 @@ > Canta is a flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell. > >+Supported Desktop Environments: >+ >+* Cinnamon >+* Gnome-Shell >+* Metacity >+* Plank >+* Unity >+* Xfce >+ > WWW: https://github.com/vinceliuice/Canta-theme
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
Alexander88207
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 260506
:
230212
|
230213
| 230214