From 2ee92d7cbdf41863da99805a280fdbc88efdbf2c Mon Sep 17 00:00:00 2001 From: germedeb Date: Sat, 1 Oct 2022 17:03:17 -0300 Subject: [PATCH] updated build.sh, updated tab-new-symbolic, and symbolic template --- icons/actions-symbolic/tab-new-symbolic.symbolic.svg | 4 ++-- new/templates/symbolic.svg | 2 +- tasks/build.sh | 8 +++++++- tasks/opticall.sh | 4 ++-- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/icons/actions-symbolic/tab-new-symbolic.symbolic.svg b/icons/actions-symbolic/tab-new-symbolic.symbolic.svg index 3e4f207..01c2598 100644 --- a/icons/actions-symbolic/tab-new-symbolic.symbolic.svg +++ b/icons/actions-symbolic/tab-new-symbolic.symbolic.svg @@ -1825,10 +1825,10 @@ pagecolor="#f4f4f4" bordercolor="#000000" borderopacity="0.3372549" - inkscape:pageopacity="0.86666667" + inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:zoom="32" - inkscape:cx="4.265625" + inkscape:cx="4.28125" inkscape:cy="6.65625" inkscape:document-units="pt" inkscape:current-layer="layer2" diff --git a/new/templates/symbolic.svg b/new/templates/symbolic.svg index dc6cf80..60b7be3 100644 --- a/new/templates/symbolic.svg +++ b/new/templates/symbolic.svg @@ -1825,7 +1825,7 @@ pagecolor="#f4f4f4" bordercolor="#000000" borderopacity="0.3372549" - inkscape:pageopacity="0.86666667" + inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:zoom="32" inkscape:cx="2.75" diff --git a/tasks/build.sh b/tasks/build.sh index fa13ce5..9029b71 100755 --- a/tasks/build.sh +++ b/tasks/build.sh @@ -121,15 +121,21 @@ esac # checks if you have optipng, if you have it, launch opticall. if not, exit if [ "$OPTIPNG" = use ]; then + if [ "$IGNOREDEPS" != ok ]; then + command -v optipng >/dev/null 2>&1 || { echo >&2 "Missing dependency: optipng"; DEPSCOMPLETE=n; } if [ "$DEPSCOMPLETE" = n ]; then + echo To optimize the build, please install optipng exit 2 + fi + fi printf "${info_color}Using optipng to reduce the size of the build...${reset_colors}\\n" - ./tasks/opticall.sh + ./tasks/opticall.sh; + fi # copy the index.theme file to the build. necesary to interpretate the icon pack in the settings diff --git a/tasks/opticall.sh b/tasks/opticall.sh index 35f77bf..9454dd8 100755 --- a/tasks/opticall.sh +++ b/tasks/opticall.sh @@ -6,6 +6,6 @@ for FILE in _build/aleta/*/*/*.png do - optipng -o7 "$FILE" >/dev/null 2>&1 - echo optimized: "$FILE" + optipng -o7 "$FILE" >/dev/null 2>&1 + echo optimized: "$FILE" done