From: Daira Hopwood Date: Thu, 30 Apr 2015 14:33:22 +0000 (+0100) Subject: make-osx-icon.sh should be executable. Remove redundant copies of logo.svg and make... X-Git-Url: https://git.rkrishnan.org/something?a=commitdiff_plain;h=faf8eecb6975ec317a24b3e4741e7bb915d39ca0;p=tahoe-lafs%2Ftahoe-lafs.git make-osx-icon.sh should be executable. Remove redundant copies of logo.svg and make-icon.sh. Signed-off-by: Daira Hopwood --- diff --git a/misc/build_helpers/icons/make-osx-icon.sh b/misc/build_helpers/icons/make-osx-icon.sh old mode 100755 new mode 100644 diff --git a/misc/build_helpers/windows/installer/installer/logo.svg b/misc/build_helpers/windows/installer/installer/logo.svg deleted file mode 100644 index 6de798e3..00000000 --- a/misc/build_helpers/windows/installer/installer/logo.svg +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - image/svg+xml - - Tahoe-LAFS logo - - - - - - Tahoe-LAFS logo - - A proposed logo for the Tahoe-LAFS Project. - - - - -Tahoe-LAFS Logo - by Kevin Reid - is licensed under a Creative Commons Attribution 3.0 Unported License -. - - - - - - - - - - - - - - - - diff --git a/misc/build_helpers/windows/installer/installer/make-icon.sh b/misc/build_helpers/windows/installer/installer/make-icon.sh deleted file mode 100755 index 987e0ecb..00000000 --- a/misc/build_helpers/windows/installer/installer/make-icon.sh +++ /dev/null @@ -1,23 +0,0 @@ -#! /bin/bash -# Based on -# converts the passed-in svgs to ico - -if [[ $# -eq 0 ]]; then - echo "Usage: $0 svg1 [svg2 [...]]" - exit 0 -fi - -temp=$(mktemp -d) -declare -a res=(16 24 32 48 64 256) -for f in $*; do - mkdir -p $temp/$(dirname $f) - for r in "${res[@]}"; do - inkscape -z -e $temp/${f}${r}.png -w $r -h $r $f - done - resm=( "${res[@]/#/$temp/$f}" ) - resm=( "${resm[@]/%/.png}" ) - for filetype in ico; do - convert "${resm[@]}" ${f%%.*}.$filetype - done -done -rm -rf $temp