| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function render_doIdentityImageKsplash { |
| |
| |
| local RELDIR='' |
| local KSPLASH_TOP='' |
| local KSPLASH_PREVIEW='' |
| local RELDIRS=$(find $ACTIONVAL -regextype posix-egrep -maxdepth 1 \ |
| -type d -regex "^.*/${RELEASE_FORMAT}$" | egrep $FLAG_FILTER) |
| |
| |
| local KSPLASH_PREVIEW_FONT=/home/centos/artwork/trunk/Identity/Fonts/Ttf/DejaVuLGCSans-Bold.ttf |
| |
| |
| |
| |
| |
| local KSPLASH_ACTIVE_BAR="$ACTIONVAL/splash_active_bar.png" |
| local KSPLASH_BOTTOM="$ACTIONVAL/splash_bottom.png" |
| |
| |
| cli_checkFiles $KSPLASH_ACTIVE_BAR |
| cli_checkFiles $KSPLASH_BOTTOM |
| cli_checkFiles $KSPLASH_PREVIEW_FONT |
| |
| |
| for RELDIR in $RELDIRS;do |
| |
| |
| KSPLASH_TOP="${RELDIR}/splash_top.png" |
| KSPLASH_PREVIEW="${RELDIR}/Preview.png" |
| |
| |
| cli_checkFiles $KSPLASH_TOP |
| |
| |
| convert -append \ |
| $KSPLASH_TOP \ |
| $KSPLASH_ACTIVE_BAR \ |
| $KSPLASH_BOTTOM \ |
| $KSPLASH_PREVIEW |
| |
| |
| |
| |
| |
| mogrify -draw 'text 6,295 "KDE is up and running."' \ |
| -fill \ |
| -font $KSPLASH_PREVIEW_FONT \ |
| $KSPLASH_PREVIEW |
| |
| cli_printMessage "$KSPLASH_PREVIEW" "AsSavedAsLine" |
| |
| done |
| |
| |
| cli_printMessage '-' 'AsSeparatorLine' |
| |
| } |