From 7d3db7be6efd79a20910498a3e202c8ccaef3d88 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 24 2010 15:27:14 +0000 Subject: Remove render.sh files from Themes structure. The render.sh file is obsolete now. The centos-art.sh script is used instead. --- diff --git a/Identity/Themes/Motifs/Mettle/Distro/Anaconda/Header/render.sh b/Identity/Themes/Motifs/Mettle/Distro/Anaconda/Header/render.sh deleted file mode 100755 index ddabd29..0000000 --- a/Identity/Themes/Motifs/Mettle/Distro/Anaconda/Header/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/Anaconda/Header/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/Mettle/Distro/Anaconda/Progress/render.sh b/Identity/Themes/Motifs/Mettle/Distro/Anaconda/Progress/render.sh deleted file mode 100755 index f14e1a9..0000000 --- a/Identity/Themes/Motifs/Mettle/Distro/Anaconda/Progress/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/Anaconda/Progress/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/Mettle/Distro/Anaconda/Prompt/render.sh b/Identity/Themes/Motifs/Mettle/Distro/Anaconda/Prompt/render.sh deleted file mode 100755 index d8296e6..0000000 --- a/Identity/Themes/Motifs/Mettle/Distro/Anaconda/Prompt/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/Anaconda/Prompt/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/Mettle/Distro/Anaconda/Splash/render.sh b/Identity/Themes/Motifs/Mettle/Distro/Anaconda/Splash/render.sh deleted file mode 100755 index 9c44441..0000000 --- a/Identity/Themes/Motifs/Mettle/Distro/Anaconda/Splash/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/Anaconda/Splash/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/Mettle/Distro/Backgrounds/render.sh b/Identity/Themes/Motifs/Mettle/Distro/Backgrounds/render.sh deleted file mode 100755 index 9e5c12c..0000000 --- a/Identity/Themes/Motifs/Mettle/Distro/Backgrounds/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/Backgrounds/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/Mettle/Distro/BootUp/Firstboot/render.sh b/Identity/Themes/Motifs/Mettle/Distro/BootUp/Firstboot/render.sh deleted file mode 100755 index 7a8c420..0000000 --- a/Identity/Themes/Motifs/Mettle/Distro/BootUp/Firstboot/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/BootUp/Firstboot/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/Mettle/Distro/BootUp/GDM/render.sh b/Identity/Themes/Motifs/Mettle/Distro/BootUp/GDM/render.sh deleted file mode 100755 index cbc85bc..0000000 --- a/Identity/Themes/Motifs/Mettle/Distro/BootUp/GDM/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/BootUp/GDM/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/Mettle/Distro/BootUp/GRUB/render.sh b/Identity/Themes/Motifs/Mettle/Distro/BootUp/GRUB/render.sh deleted file mode 100755 index 787c134..0000000 --- a/Identity/Themes/Motifs/Mettle/Distro/BootUp/GRUB/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/BootUp/GRUB/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/Mettle/Distro/BootUp/GSplash/render.sh b/Identity/Themes/Motifs/Mettle/Distro/BootUp/GSplash/render.sh deleted file mode 100755 index aaab333..0000000 --- a/Identity/Themes/Motifs/Mettle/Distro/BootUp/GSplash/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/BootUp/GSplash/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/Mettle/Distro/BootUp/KDM/render.sh b/Identity/Themes/Motifs/Mettle/Distro/BootUp/KDM/render.sh deleted file mode 100755 index 16db9b1..0000000 --- a/Identity/Themes/Motifs/Mettle/Distro/BootUp/KDM/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/BootUp/KDM/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/Mettle/Distro/BootUp/KSplash/render.sh b/Identity/Themes/Motifs/Mettle/Distro/BootUp/KSplash/render.sh deleted file mode 100755 index e5dfeb2..0000000 --- a/Identity/Themes/Motifs/Mettle/Distro/BootUp/KSplash/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/BootUp/KSplash/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/Mettle/Distro/BootUp/RHGB/render.sh b/Identity/Themes/Motifs/Mettle/Distro/BootUp/RHGB/render.sh deleted file mode 100755 index e60ccc1..0000000 --- a/Identity/Themes/Motifs/Mettle/Distro/BootUp/RHGB/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/BootUp/RHGB/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/Mettle/Motif/render.sh b/Identity/Themes/Motifs/Mettle/Motif/render.sh deleted file mode 100755 index 90035cf..0000000 --- a/Identity/Themes/Motifs/Mettle/Motif/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Motif/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/Mettle/Promo/Media/render.sh b/Identity/Themes/Motifs/Mettle/Promo/Media/render.sh deleted file mode 100755 index ea5ba87..0000000 --- a/Identity/Themes/Motifs/Mettle/Promo/Media/render.sh +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/bash -# -# Render script. -# - -# Define export id -ID='CENTOSARTWORK' - -# Make first argument required -if [ ! "$1" ]; then - echo ' Syntax Error!. See the README file for more information.'; - exit; -fi - -SVG=svg -TXT=../../../../../../trunk/Translations/Promo/Media - -# Define absolute path for the background file. Relative path is not -# allowed. Inkscape needs an absolute path as reference to the -# background image. That is the absolute path we build here. -MYPATH=`pwd` -BGFILE=../../../../../../trunk/Themes/Mettle/Wallpapers/img -cd $BGFILE -BGFILE=`pwd`/wallpaper-fog.png -cd $MYPATH - -# Define file name filter -if [ "$3" ];then - TXTDIRS=`ls $TXT/$FILE | egrep "$3"` -else - TXTDIRS=`ls $TXT/$FILE` -fi - -# Look for versions -for VERSION in `echo "$1"`; do - - # Define major version - MAJORV=`echo $VERSION | sed -e 's/\.[0-9]//'` - - # Define Image directory - IMG=img/$VERSION - if [ ! -d $IMG ];then - mkdir $IMG - fi - - # Look for architectures - for ARCH in `echo "$2"`;do - - # Look for translations - for FILE in $TXTDIRS; do - - # Define translation file names - TRANSLATION=$TXT/$FILE - - # Define svg template file name - TEMPLATE=`echo $FILE | sed -r 's!\.sed$!.svg!'` - - # Define png image file name - IMAGE=$IMG/`echo $FILE | sed -r "s/\.sed$/-$ARCH.png/"` - - # Define svg template instance. Specify which svg template - # will be used for a specific translation file and creates - # a copy of it in the current directory for further - # translations. - case $TEMPLATE in - - # CD Labels - label.svg ) - cat $SVG/label.svg > $TEMPLATE - ;; - - # CD Sleeves - sleeve-cd.svg ) - cat $SVG/sleeve-cd.svg > $TEMPLATE - ;; - - # DVD Sleeves - sleeve-dvd.svg ) - cat $SVG/sleeve-dvd.svg > $TEMPLATE - ;; - - esac - - # Translation. Makes replacements over the recently - # created template instance. - sed -i -e "s!=BGFILE=!$BGFILE!" \ - -e "s!=ARCH=!$ARCH!" \ - -f $TRANSLATION \ - -e "s!=MAJORV=!$MAJORV!" \ - -e "s!=VERSION=!$VERSION!" $TEMPLATE - - # Rendering. - inkscape $TEMPLATE --export-id=$ID --export-png=$IMAGE; - - # Remove temporal file - rm $TEMPLATE - - done - done -done diff --git a/Identity/Themes/Motifs/Mettle/Promo/OOo/render.sh b/Identity/Themes/Motifs/Mettle/Promo/OOo/render.sh deleted file mode 100755 index d6ba426..0000000 --- a/Identity/Themes/Motifs/Mettle/Promo/OOo/render.sh +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/bash -# -# Render script - -# Define export id -ID='CENTOSARTWORK' - -# Make first argument required -if [ ! "$1" ]; then - echo ' Syntax Error!. See the README file for more information.'; - exit; -fi - -# Define SVG template directory -SVG=svg - -# Define absolute path for the background file. Relative path is not -# allowed. Inkscape needs an absolute path as reference to the -# background image. That is the absolute path we build here. -MYPATH=`pwd` -BGFILE=../../../../../../trunk/Themes/Mettle/Wallpapers/img -cd $BGFILE -BGFILE=`pwd`/wallpaper-fog.png -cd $MYPATH - -# Define Translation directory -TXT=../../../../../../trunk/Translations/Promo/OOo - -# Look for versions -for VERSION in `echo $1`;do - - # Define translation's language - if [ $2 ];then - TXTDIRS=`ls $TXT/ | egrep $2` - else - TXTDIRS=`ls $TXT/` - fi - - # Look for translations - for LANGUAGE in $TXTDIRS; do - - # Define Image directory - IMG=img/$VERSION/$LANGUAGE - if [ ! -d $IMG ];then - mkdir -p $IMG - fi - - # Define translation file names - if [ $3 ];then - TXTFILES=`ls $TXT/$LANGUAGE | egrep $3` - else - TXTFILES=`ls $TXT/$LANGUAGE` - fi - - # Look for files - for FILE in $TXTFILES; do - - # Define translation file name - TRANSLATION=$TXT/$LANGUAGE/$FILE - - # Define svg template file name - TEMPLATE=`echo $FILE | sed -r 's!\.sed$!.svg!'` - - # Define image file name - IMAGE=$IMG/`echo $FILE | sed -r 's!\.sed$!.png!'` - - # Do translation and lefticon insertion - sed -e "s!=BGFILE=!$BGFILE!" \ - -f $TRANSLATION \ - -e "s!=VERSION=!$VERSION!" \ - $SVG/$TEMPLATE > $TEMPLATE - - # Render image. - inkscape $TEMPLATE --export-id=$ID --export-png=$IMAGE; - - # Remove temporal file - rm $TEMPLATE - - done - done -done diff --git a/Identity/Themes/Motifs/Mettle/Promo/Poster/render.sh b/Identity/Themes/Motifs/Mettle/Promo/Poster/render.sh deleted file mode 100755 index 2043ee0..0000000 --- a/Identity/Themes/Motifs/Mettle/Promo/Poster/render.sh +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/bash -# -# Render script - -# Define export id -ID='CENTOSARTWORK' - -# Make first argument required -if [ ! "$1" ]; then - echo ' Syntax Error!. See the README file for more information.'; - exit; -fi - -# Define SVG template directory -SVG=svg - -# Define absolute path for the background file. Relative path is not -# allowed. Inkscape needs an absolute path as reference to the -# background image. That is the absolute path we build here. -MYPATH=`pwd` -BGFILE=../../../../../../trunk/Themes/Mettle/Wallpapers/img -cd $BGFILE -BGFILE=`pwd`/wallpaper-fog.png -cd $MYPATH - -# Define Translation directory -TXT=../../../../../../trunk/Translations/Promo/Poster - -# Look for versions -for VERSION in `echo $1`;do - - # Define languages - if [ $2 ];then - TXTDIRS=`ls $TXT/ | egrep $2` - else - TXTDIRS=`ls $TXT/` - fi - - # Look for translations - for LANGUAGE in $TXTDIRS; do - - # Define Image directory - IMG=img/$VERSION/$LANGUAGE - if [ ! -d $IMG ];then - mkdir -p $IMG - fi - - # Define translation file names - if [ $3 ];then - TXTFILES=`ls $TXT/$LANGUAGE | egrep $3` - else - TXTFILES=`ls $TXT/$LANGUAGE` - fi - - # Look for files - for FILE in $TXTFILES; do - - # Define translation file name - TRANSLATION=$TXT/$LANGUAGE/$FILE - - # Define svg template file name - TEMPLATE=poster.svg - - # Define image file name - IMAGE=$IMG/`echo $FILE | sed -r 's!\.sed$!.png!'` - - # Translation - sed -e "s!=BGFILE=!$BGFILE!" \ - -f $TRANSLATION \ - -e "s!=VERSION=!$VERSION!" \ - $SVG/$TEMPLATE > $TEMPLATE - - # Rendering - inkscape $TEMPLATE --export-id=$ID --export-png=$IMAGE; - - # Remove temporal file - rm $TEMPLATE - - done - done -done diff --git a/Identity/Themes/Motifs/Mettle/Promo/Release/render.sh b/Identity/Themes/Motifs/Mettle/Promo/Release/render.sh deleted file mode 100755 index 261e291..0000000 --- a/Identity/Themes/Motifs/Mettle/Promo/Release/render.sh +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/bash -# -# Render script. -# - -# Define export id -ID='CENTOSARTWORK' - -# Make first argument required -if [ ! "$1" ]; then - echo ' You need to specifiy the version you want to render as first argument.' - echo ' Syntax: ./render.sh version language filename'; - exit; -fi - -# Define SVG template directory -SVG=svg - -# Define translation's base directory -TXT=../../../../../../trunk/Translations/Promo/Release - -# Define absolute path for the background file. Relative path is not -# allowed. Inkscape needs an absolute path as reference to the -# background image. That is the absolute path we build here. -MYPATH=`pwd` -BGFILE=../../../../../../trunk/Themes/Mettle/Wallpapers/img -cd $BGFILE -BGFILE=`pwd`/wallpaper-fog.png -cd $MYPATH - -# Apply Language Filter -if [ $2 ];then - TXTDIRS=`ls $TXT/ | egrep $2` -else - TXTDIRS=`ls $TXT/` -fi - -# Look for translations -for VERSION in `echo "$1"`; do - - # Define major version value - MAJORV=`echo $VERSION | sed -e 's/\.[0-9]//'` - - # Look for languages - for LANGUAGE in $TXTDIRS; do - - # Apply file name filter - if [ $3 ];then - TXTFILES=`ls $TXT/$LANGUAGE | egrep $3` - else - TXTFILES=`ls $TXT/$LANGUAGE` - fi - - # Define image directory - IMG=img/$LANGUAGE - if [ ! -d $IMG ];then - mkdir $IMG; - fi - - # Look for filenames - for FILE in $TXTFILES; do - - # Define translation file name - TRANSLATION=$TXT/$LANGUAGE/$FILE - - # Define svg template file name - TEMPLATE=release.svg - - # Define image file name - IMGFILE=$IMG/release-$VERSION.png - - # Do translation and lefticon insertion - sed -e "s!=BGFILE=!$BGFILE!" \ - -f $TRANSLATION \ - -e "s!=MAJORV=!$MAJORV!" \ - -e "s!=VERSION=!$VERSION!" \ - $SVG/$TEMPLATE > $TEMPLATE - - # Render image. - inkscape $TEMPLATE --export-id=$ID --export-png=$IMGFILE; - - # Remove temporal file - rm $TEMPLATE - - done - done -done diff --git a/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Firstboot/render.sh b/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Firstboot/render.sh deleted file mode 100755 index 33bd71f..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Firstboot/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/Anaconda/Firstboot/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Header/render.sh b/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Header/render.sh deleted file mode 100755 index ddabd29..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Header/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/Anaconda/Header/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Progress/render.sh b/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Progress/render.sh deleted file mode 100755 index f14e1a9..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Progress/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/Anaconda/Progress/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Prompt/render.sh b/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Prompt/render.sh deleted file mode 100755 index d8296e6..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Prompt/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/Anaconda/Prompt/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Splash/render.sh b/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Splash/render.sh deleted file mode 100755 index 9c44441..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Distro/Anaconda/Splash/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/Anaconda/Splash/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Distro/Backgrounds/render.sh b/Identity/Themes/Motifs/TreeFlower/Distro/Backgrounds/render.sh deleted file mode 100755 index 9e5c12c..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Distro/Backgrounds/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/Backgrounds/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/GDM/render.sh b/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/GDM/render.sh deleted file mode 100755 index cbc85bc..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/GDM/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/BootUp/GDM/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/GRUB/render.sh b/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/GRUB/render.sh deleted file mode 100755 index 787c134..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/GRUB/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/BootUp/GRUB/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/GSplash/render.sh b/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/GSplash/render.sh deleted file mode 100755 index aaab333..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/GSplash/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/BootUp/GSplash/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/KDM/render.sh b/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/KDM/render.sh deleted file mode 100755 index 16db9b1..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/KDM/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/BootUp/KDM/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/KSplash/render.sh b/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/KSplash/render.sh deleted file mode 100755 index e5dfeb2..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/KSplash/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/BootUp/KSplash/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/RHGB/render.sh b/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/RHGB/render.sh deleted file mode 100755 index e60ccc1..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Distro/BootUp/RHGB/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Distro/BootUp/RHGB/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Motif/render.sh b/Identity/Themes/Motifs/TreeFlower/Motif/render.sh deleted file mode 100755 index 90035cf..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Motif/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Motif/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Promo/Actions/render.sh b/Identity/Themes/Motifs/TreeFlower/Promo/Actions/render.sh deleted file mode 100755 index f2d527c..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Promo/Actions/render.sh +++ /dev/null @@ -1,90 +0,0 @@ -# -# Render script. -# - -LANGUAGE=$1 -FILENAME=$2 - -ID='TREEFLOWER' -SVG=svg -IMG=img -TXT=../../../../../../trunk/Translations/Promo/Actions - -# Define absolute path for background file -MYPATH=`pwd` -BGFILE=../../../../../../trunk/Themes/TreeFlower/Wallpapers/img -cd $BGFILE -BGFILE=`pwd`/wallpaper-fog.png -cd $MYPATH - -# Define absolute path for Screenhosts -SCREENSHOTS=../../../../../../trunk/Shared/img -cd $SCREENSHOTS -SCREENSHOTS=`pwd` -cd $MYPATH - -# Apply language filter -if [ $LANGUAGE ];then - TXTDIR=`ls $TXT/ | egrep $LANGUAGE` -else - TXTDIR=`ls $TXT/` -fi - -# Look for translations -for i in $TXTDIR; do - - # Define translation file names - - if [ $FILENAME ];then - TXTFILES=`ls $TXT/$i | egrep $FILENAME` - else - TXTFILES=`ls $TXT/$i` - fi - - # Look for files - - for j in $TXTFILES; do - - # Define translation file name - - TXTFILE=$TXT/$i/$j - - # Define svg template file name - - SVGFILE=$SVG/screenshots.svg - - # Create image directory - - IMGDIR=$IMG/$i - - if [ ! -d $IMGDIR ] ; then - - mkdir -p $IMGDIR; - - fi - - # Define image file name - - IMGFILE=$IMGDIR/`echo $j | sed -r 's!\.sed$!.png!'` - - # Define temporal file with the translation. - # This file is used to render the translated - # png file. - - TMP=tmp_$(basename $SVGFILE) - - # Do translation - - sed -e "s!=BGFILE=!$BGFILE!" -e "s!=SCREENSHOT1=!$SCREENSHOTS/=SCREENSHOT1=!" $SVGFILE > $TMP - sed -i -f $TXTFILE $TMP - - # Render image. - - inkscape $TMP --export-id=$ID --export-png=$IMGFILE; - - # Remove temporal file - - rm *.svg - - done -done diff --git a/Identity/Themes/Motifs/TreeFlower/Promo/Avatar/render.sh b/Identity/Themes/Motifs/TreeFlower/Promo/Avatar/render.sh deleted file mode 100755 index 2a2ddab..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Promo/Avatar/render.sh +++ /dev/null @@ -1,50 +0,0 @@ -# -# Render script. -# - -ID='TREEFLOWER' -SVG=svg -TXT=../../../../../../trunk/Translations/Promo/Avatar -IMG=img - -# Define absolute path for background file -MYPATH=`pwd` -BGFILE=../../../../../../trunk/Themes/TreeFlower/Wallpapers/img -cd $BGFILE -BGFILE=`pwd`/wallpaper-fog.png -cd $MYPATH - -# Look for translations -for j in `ls $TXT`; do - - # Define translation file name - - TXTFILE=$TXT/$j - - # Define svg template file name - - SVGFILE=$SVG/`echo $j | sed -r 's!\.sed$!.svg!'` - - # Define image file name - - IMGFILE=$IMG/`echo $j | sed -r 's!\.sed$!.png!'` - - # Define temporal file with the translation. - # This file is used to render the translated - # png file. - - TMP=tmp_$(basename $SVGFILE) - - # Do translation - - sed -e "s!=BGFILE=!$BGFILE!" -f $TXTFILE $SVGFILE > $TMP - - # Render image. - - inkscape $TMP --export-id=$ID --export-png=$IMGFILE; - - # Remove temporal file - - rm *.svg - - done diff --git a/Identity/Themes/Motifs/TreeFlower/Promo/Media/render.sh b/Identity/Themes/Motifs/TreeFlower/Promo/Media/render.sh deleted file mode 100755 index 4043153..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Promo/Media/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Promo/Media/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Promo/Poster/render.sh b/Identity/Themes/Motifs/TreeFlower/Promo/Poster/render.sh deleted file mode 100755 index c4ce67d..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Promo/Poster/render.sh +++ /dev/null @@ -1,88 +0,0 @@ -# -# Render script. -# - -LANGUAGE=$1 -FILENAME=$2 - -ID='TREEFLOWER' -SVG=svg -TXT=../../../../../../trunk/Translations/Promo/Poster -IMG=img -# -# Define absolute path for background file -# -MYPATH=`pwd` -BGFILE=../../../../../../trunk/Themes/TreeFlower/Wallpapers/img -cd $BGFILE -BGFILE=`pwd`/wallpaper-fog.png -cd $MYPATH - -# -# Apply language Filter -# -if [ $LANGUAGE ];then - TXTDIR=`ls $TXT/ | egrep $LANGUAGE` -else - TXTDIR=`ls $TXT/` -fi - -# -# Look for translations -# -for i in $TXTDIR; do - - # Define translation file names - - if [ $FILENAME ];then - TXTFILES=`ls $TXT/$i | egrep $FILENAME` - else - TXTFILES=`ls $TXT/$i` - fi - - # Look for files - - for j in $TXTFILES; do - - # Define translation file name - - TXTFILE=$TXT/$i/$j - - # Define svg template file name - - SVGFILE=$SVG/poster.svg - - # Create image directory - - IMGDIR=$IMG/$i - - if [ ! -d $IMGDIR ] ; then - - mkdir -p $IMGDIR; - - fi - - # Define image file name - - IMGFILE=$IMGDIR/`echo $j | sed -r 's!\.sed$!.png!'` - - # Define temporal file with the translation. - # This file is used to render the translated - # png file. - - TMP=tmp_$(basename $SVGFILE) - - # Do translation - - sed -e "s!=BGFILE=!$BGFILE!" -f $TXTFILE $SVGFILE > $TMP - - # Render image. - - inkscape $TMP --export-id=$ID --export-png=$IMGFILE; - - # Remove temporal file - - rm *.svg - - done -done diff --git a/Identity/Themes/Motifs/TreeFlower/Promo/Release/render.sh b/Identity/Themes/Motifs/TreeFlower/Promo/Release/render.sh deleted file mode 100755 index e2a6a3c..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Promo/Release/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Promo/Releases/render.conf.sh "$1" -#-------------------------------------- diff --git a/Identity/Themes/Motifs/TreeFlower/Promo/Tshirt/render.sh b/Identity/Themes/Motifs/TreeFlower/Promo/Tshirt/render.sh deleted file mode 100755 index 0f66b43..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Promo/Tshirt/render.sh +++ /dev/null @@ -1,76 +0,0 @@ -# -# Render script. -# - -LANGUAGE=$1 -FILENAME=$2 - -ID='TREEFLOWER' -SVG=svg -TXT=../../../../../../trunk/Translations/Promo/Tshirt -IMG=img - -if [ $LANGUAGE ];then - TXTDIR=`ls $TXT/ | egrep $LANGUAGE` -else - TXTDIR=`ls $TXT/` -fi - -# Look for translations - -for i in $TXTDIR; do - - # Define translation file names - - if [ $FILENAME ];then - TXTFILES=`ls $TXT/$i | egrep $FILENAME` - else - TXTFILES=`ls $TXT/$i` - fi - - # Look for files - - for j in $TXTFILES; do - - # Define translation file name - - TXTFILE=$TXT/$i/$j - - # Define svg template file name - - SVGFILE=$SVG/`echo $j | sed -r 's!\.sed$!.svg!'` - - # Create image directory - - IMGDIR=$IMG/$i - - if [ ! -d $IMGDIR ] ; then - - mkdir -p $IMGDIR; - - fi - - # Define image file name - - IMGFILE=$IMGDIR/`echo $j | sed -r 's!\.sed$!.png!'` - - # Define temporal file with the translation. - # This file is used to render the translated - # png file. - - TMP=tmp_$(basename $SVGFILE) - - # Do translation - - sed -f $TXTFILE $SVGFILE > $TMP - - # Render image. - - inkscape $TMP --export-id=$ID --export-png=$IMGFILE; - - # Remove temporal file - - rm *.svg - - done -done diff --git a/Identity/Themes/Motifs/TreeFlower/Web/render.sh b/Identity/Themes/Motifs/TreeFlower/Web/render.sh deleted file mode 100755 index 8011cbd..0000000 --- a/Identity/Themes/Motifs/TreeFlower/Web/render.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syntax: ./render.conf.sh [REGEX] -#-------------------------------------- -~/artwork/trunk/Scripts/Bash/Config/Identity/Themes/Web/render.conf.sh "$1" -#--------------------------------------