diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Brands/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Brands/render.conf.sh index 60176d4..d9bb979 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Brands/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Brands/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines brands pre-rendition +# identity_loadConfig.sh -- This function defines brands pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Fonts/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Fonts/render.conf.sh index 3feda77..8f03a3a 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Fonts/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Fonts/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines fonts pre-rendition +# identity_loadConfig.sh -- This function defines fonts pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Models/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Models/render.conf.sh index d408a94..5c40a17 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Models/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Models/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines models pre-rendition +# identity_loadConfig.sh -- This function defines models pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Backgrounds/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Backgrounds/render.conf.sh index dfc4cef..0f659be 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Backgrounds/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Backgrounds/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines themes backgrounds +# identity_loadConfig.sh -- This function defines themes backgrounds # pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Concept/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Concept/render.conf.sh index 189a01c..632c8f9 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Concept/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Concept/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines theme info +# identity_loadConfig.sh -- This function defines theme info # pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Anaconda/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Anaconda/render.conf.sh index 499adf8..417c8b1 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Anaconda/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Anaconda/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines Anaconda pre-rendition +# identity_loadConfig.sh -- This function defines Anaconda pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Firstboot/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Firstboot/render.conf.sh index ffb29eb..b5fe32a 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Firstboot/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Firstboot/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines firstboot +# identity_loadConfig.sh -- This function defines firstboot # pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Gdm/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Gdm/render.conf.sh index 2dc0507..6d7d094 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Gdm/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Gdm/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines GNOME display manager +# identity_loadConfig.sh -- This function defines GNOME display manager # (GDM) pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Grub/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Grub/render.conf.sh index 3f6bc6b..59e1a10 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Grub/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Grub/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines GRUB pre-rendition +# identity_loadConfig.sh -- This function defines GRUB pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Gsplash/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Gsplash/render.conf.sh index 541f661..ed9d313 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Gsplash/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Gsplash/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines GSplash pre-rendition +# identity_loadConfig.sh -- This function defines GSplash pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Kdm/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Kdm/render.conf.sh index dfc8578..d241e51 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Kdm/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Kdm/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines KDE display manager +# identity_loadConfig.sh -- This function defines KDE display manager # (KDM) pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Ksplash/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Ksplash/render.conf.sh index da78f2f..a0aa21a 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Ksplash/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Ksplash/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines KSplash pre-rendition +# identity_loadConfig.sh -- This function defines KSplash pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Rhgb/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Rhgb/render.conf.sh index 21f4e16..60a4a49 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Rhgb/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Rhgb/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines graphical boot (RHGB) +# identity_loadConfig.sh -- This function defines graphical boot (RHGB) # pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Syslinux/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Syslinux/render.conf.sh index 6b64a70..f91cc69 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Syslinux/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Distro/Syslinux/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines Syslinux pre-rendition +# identity_loadConfig.sh -- This function defines Syslinux pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Promo/Releases/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Promo/Releases/render.conf.sh index f0c0797..f4b6862 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Promo/Releases/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Promo/Releases/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines release promotion +# identity_loadConfig.sh -- This function defines release promotion # pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Promo/Stationery/Media/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Promo/Stationery/Media/render.conf.sh index 74f1050..ef6ec48 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Promo/Stationery/Media/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Promo/Stationery/Media/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines installation media +# identity_loadConfig.sh -- This function defines installation media # promotion pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Promo/Stationery/Posters/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Promo/Stationery/Posters/render.conf.sh index 2e6e773..c63754b 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Promo/Stationery/Posters/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Themes/Promo/Stationery/Posters/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines posters promotion +# identity_loadConfig.sh -- This function defines posters promotion # pre-rendition configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { # Deifne theme model. #THEMEMODEL='Default' diff --git a/Scripts/Bash/Functions/Identity/Config/Identity/Widgets/render.conf.sh b/Scripts/Bash/Functions/Identity/Config/Identity/Widgets/render.conf.sh index 89a828b..4f52452 100755 --- a/Scripts/Bash/Functions/Identity/Config/Identity/Widgets/render.conf.sh +++ b/Scripts/Bash/Functions/Identity/Config/Identity/Widgets/render.conf.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_loadConfig.sh -- This function defines widgets pre-rendition +# identity_loadConfig.sh -- This function defines widgets pre-rendition # configuration script. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_loadConfig { +function identity_loadConfig { return diff --git a/Scripts/Bash/Functions/Identity/identity.sh b/Scripts/Bash/Functions/Identity/identity.sh index b8440e0..10054c1 100644 --- a/Scripts/Bash/Functions/Identity/identity.sh +++ b/Scripts/Bash/Functions/Identity/identity.sh @@ -2,7 +2,7 @@ # # render.sh -- This function provides rendition features to # centos-art.sh script. Here we initialize rendition variables and -# call render_getActions functions. +# call identity_getActions functions. # # Copyright (C) 2009-2011 Alain Reguera Delgado # @@ -42,6 +42,6 @@ function render { local FLAG_ARCHITECTURE='' # Define rendition actions. - render_getActions + identity_getActions } diff --git a/Scripts/Bash/Functions/Identity/identity_checkAbsolutePaths.sh b/Scripts/Bash/Functions/Identity/identity_checkAbsolutePaths.sh index d1024d5..1e942e5 100755 --- a/Scripts/Bash/Functions/Identity/identity_checkAbsolutePaths.sh +++ b/Scripts/Bash/Functions/Identity/identity_checkAbsolutePaths.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_checkAbsolutePaths.sh -- This function retrives absolute +# identity_checkAbsolutePaths.sh -- This function retrives absolute # files and checks their existence. In order for design templates to # point different artistic motifs, design templates make use of # external files that point to specific artistic motif background @@ -29,7 +29,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_checkAbsolutePaths { +function identity_checkAbsolutePaths { local FILE='' local ABSPATHS='' diff --git a/Scripts/Bash/Functions/Identity/identity_doCopy.sh b/Scripts/Bash/Functions/Identity/identity_doCopy.sh index 957e92e..9517282 100755 --- a/Scripts/Bash/Functions/Identity/identity_doCopy.sh +++ b/Scripts/Bash/Functions/Identity/identity_doCopy.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_doCopy.sh -- This function duplicates rendition stuff. +# identity_doCopy.sh -- This function duplicates rendition stuff. # Rendition stuff is formed by design models, design images and # pre-rendition configuration scripts (which includes translations # files). This way, when we say to duplicate rendition stuff we are @@ -29,7 +29,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_doCopy { +function identity_doCopy { # Verify target directory. cli_checkRepoDirTarget diff --git a/Scripts/Bash/Functions/Identity/identity_doIdentity.sh b/Scripts/Bash/Functions/Identity/identity_doIdentity.sh index f87cefc..504ef89 100755 --- a/Scripts/Bash/Functions/Identity/identity_doIdentity.sh +++ b/Scripts/Bash/Functions/Identity/identity_doIdentity.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_doIdentity.sh -- This function initiates rendition +# identity_doIdentity.sh -- This function initiates rendition # configuration functions and executes them to perform the rendition # action specified in the `ACTIONS' array variable. Function # initialization and execution is based on the absolute path @@ -24,10 +24,10 @@ # USA. # # ---------------------------------------------------------------------- -# $Id: render_doIdentity.sh 824 2011-01-06 20:54:52Z al $ +# $Id: identity_doIdentity.sh 824 2011-01-06 20:54:52Z al $ # ---------------------------------------------------------------------- -function render_doIdentity { +function identity_doIdentity { local FILE='' @@ -51,7 +51,7 @@ function render_doIdentity { # Define artwork-specific action arrays. We need to do this # here because ACTIONS variable is unset after - # render_doIdentityImages execution. Otherwise, undesired + # identity_doIdentityImages execution. Otherwise, undesired # concatenations may occur. local -a ACTIONS local -a POSTACTIONS @@ -63,11 +63,11 @@ function render_doIdentity { # Execute artwork-specific pre-rendition configuration # (function) scripts to re-define artwork-specific ACTIONS. - render_loadConfig + identity_loadConfig # Check variables passed from artwork-specific pre-rendition # configuration scripts and make required transformations. - render_getIdentityConfig + identity_getIdentityConfig # Redefine action value (ACTIONVAL) based on pre-rendition # configuration script path value. Otherwise, massive @@ -91,7 +91,7 @@ function render_doIdentity { # Start rendition as defined in artwork-specific pre-rendition # configuration file. - render_getIdentityBase + identity_getIdentityBase # Unset artwork-specific actions so they can be redefined by # artwork-specific pre-rendition configuration scripts. This diff --git a/Scripts/Bash/Functions/Identity/identity_doIdentityGroupByType.sh b/Scripts/Bash/Functions/Identity/identity_doIdentityGroupByType.sh index 2af7c88..9c84cbc 100755 --- a/Scripts/Bash/Functions/Identity/identity_doIdentityGroupByType.sh +++ b/Scripts/Bash/Functions/Identity/identity_doIdentityGroupByType.sh @@ -1,13 +1,13 @@ #!/bin/bash # -# render_doIdentityGroupByTypes.sh -- This function provides +# identity_doIdentityGroupByTypes.sh -- This function provides # post-rendition and last-rendition action to group file inside # directories named as their file type. # # Usage: # ------ -# Post-rendition --> render_doIdentityGroupByTypes "$FILE" "$ACTION" -# Last-rendition --> render_doIdentityGroupByTypes "$ACTION" +# Post-rendition --> identity_doIdentityGroupByTypes "$FILE" "$ACTION" +# Last-rendition --> identity_doIdentityGroupByTypes "$ACTION" # # Note that post-rendition uses 2 arguments ($FILE and $ACTION) and # last-rendition just one ($ACTION). This function uses the amount @@ -64,7 +64,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_doIdentityGroupByType { +function identity_doIdentityGroupByType { local FILE='' local -a FILES @@ -87,7 +87,7 @@ function render_doIdentityGroupByType { # Sanitate file types passed from render.conf.sh pre-rendition # configuration script. - FORMATS=$(render_getIdentityConfigOption "$FORMATS" '2-') + FORMATS=$(identity_getIdentityConfigOption "$FORMATS" '2-') # Check file types passed from render.conf.sh pre-rendition # configuration script. diff --git a/Scripts/Bash/Functions/Identity/identity_doIdentityImageBrands.sh b/Scripts/Bash/Functions/Identity/identity_doIdentityImageBrands.sh index 767e48f..f0567b5 100644 --- a/Scripts/Bash/Functions/Identity/identity_doIdentityImageBrands.sh +++ b/Scripts/Bash/Functions/Identity/identity_doIdentityImageBrands.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_doIdentityImageBrands.sh -- This function provides +# identity_doIdentityImageBrands.sh -- This function provides # last-rendition actions to produce CentOS brands. This function takes # both The CentOS Symbol and The CentOS Type images and produces # variation of them in different dimensions and formats using @@ -27,7 +27,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_doIdentityImageBrands { +function identity_doIdentityImageBrands { local SOURCEFILE='' local TARGETDIR='' diff --git a/Scripts/Bash/Functions/Identity/identity_doIdentityImageDm.sh b/Scripts/Bash/Functions/Identity/identity_doIdentityImageDm.sh index ef0cd7e..308344e 100755 --- a/Scripts/Bash/Functions/Identity/identity_doIdentityImageDm.sh +++ b/Scripts/Bash/Functions/Identity/identity_doIdentityImageDm.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_doIdentityImageDm.sh -- This function collects Display +# identity_doIdentityImageDm.sh -- This function collects Display # Manager (DM) required files and creates a tar.gz package that groups # them all together. Use this function as last-rendition action for # Gdm and Kdm base-rendition actions. @@ -47,7 +47,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_doIdentityImageDm { +function identity_doIdentityImageDm { local -a SRC local -a DST @@ -59,7 +59,7 @@ function render_doIdentityImageDm { # Get display manager passed from render.conf.sh pre-rendition # configuration script. - DM=$(render_getIdentityConfigOption "$1" '2') + DM=$(identity_getIdentityConfigOption "$1" '2') # Sanitate display manager passed from render.conf.sh # pre-rendition configuration script. Whatever value be retrived @@ -70,7 +70,7 @@ function render_doIdentityImageDm { # Get screen resolutions passed from render.conf.sh pre-rendition # configuration script. - RESOLUTIONS=$(render_getIdentityConfigOption "$1" '3') + RESOLUTIONS=$(identity_getIdentityConfigOption "$1" '3') # Check screen resolutions passed from render.conf.sh # pre-rendition configuration script. diff --git a/Scripts/Bash/Functions/Identity/identity_doIdentityImageFormats.sh b/Scripts/Bash/Functions/Identity/identity_doIdentityImageFormats.sh index 77ccffc..f80f5ae 100644 --- a/Scripts/Bash/Functions/Identity/identity_doIdentityImageFormats.sh +++ b/Scripts/Bash/Functions/Identity/identity_doIdentityImageFormats.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_doIdentityImageFormats.sh -- This function provides +# identity_doIdentityImageFormats.sh -- This function provides # post-rendition action used to convert images from PNG to different # image formats. This function uses ImageMagick command line image # manipulation tool set to convert the base PNG image to as many @@ -27,13 +27,13 @@ # $Id$ # ---------------------------------------------------------------------- -function render_doIdentityImageFormats { +function identity_doIdentityImageFormats { # Get absolute path of PNG image file. local FILE="$1" # Get image formats. - local FORMATS=$(render_getIdentityConfigOption "$2" '2-') + local FORMATS=$(identity_getIdentityConfigOption "$2" '2-') # Check base file existence. if [[ -f ${FILE}.png ]];then diff --git a/Scripts/Bash/Functions/Identity/identity_doIdentityImageGrub.sh b/Scripts/Bash/Functions/Identity/identity_doIdentityImageGrub.sh index c3bc356..1ee8900 100644 --- a/Scripts/Bash/Functions/Identity/identity_doIdentityImageGrub.sh +++ b/Scripts/Bash/Functions/Identity/identity_doIdentityImageGrub.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_doIdentityImageGrub.sh -- This function provides +# identity_doIdentityImageGrub.sh -- This function provides # post-rendition action used to produce GRUB images. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_doIdentityImageGrub { +function identity_doIdentityImageGrub { local FILE="$1" local ACTION="$2" @@ -37,7 +37,7 @@ function render_doIdentityImageGrub { # configuration script. These options are applied to pnmremap when # doing color reduction, so any option available for pnmremap # command can be passed to renderSyslinux functionality. - OPTIONS=$(render_getIdentityConfigOption "$ACTION" '2-') + OPTIONS=$(identity_getIdentityConfigOption "$ACTION" '2-') # Re-define 16 colors images default file name prefix using # options as reference. This is useful to differenciate final diff --git a/Scripts/Bash/Functions/Identity/identity_doIdentityImageKsplash.sh b/Scripts/Bash/Functions/Identity/identity_doIdentityImageKsplash.sh index ba2c6d4..0ea8d92 100755 --- a/Scripts/Bash/Functions/Identity/identity_doIdentityImageKsplash.sh +++ b/Scripts/Bash/Functions/Identity/identity_doIdentityImageKsplash.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_doIdentityImageKsplash.sh -- This function collects KDE +# identity_doIdentityImageKsplash.sh -- This function collects KDE # splash (KSplash) required files and creates a tar.gz package that # groups them all together. Use this function as last-rendition # action for KSplash base-rendition action. @@ -26,7 +26,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_doIdentityImageKsplash { +function identity_doIdentityImageKsplash { local -a SRC local -a DST diff --git a/Scripts/Bash/Functions/Identity/identity_doIdentityImageSyslinux.sh b/Scripts/Bash/Functions/Identity/identity_doIdentityImageSyslinux.sh index fdd0830..9d453a4 100755 --- a/Scripts/Bash/Functions/Identity/identity_doIdentityImageSyslinux.sh +++ b/Scripts/Bash/Functions/Identity/identity_doIdentityImageSyslinux.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_doIdentityImageSyslinux.sh -- This function provides +# identity_doIdentityImageSyslinux.sh -- This function provides # post-rendition action used to produce syslinux images. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_doIdentityImageSyslinux { +function identity_doIdentityImageSyslinux { local FILE="$1" local ACTION="$2" @@ -37,7 +37,7 @@ function render_doIdentityImageSyslinux { # configuration script. These options are applied to pnmremap when # doing color reduction, so any option available for pnmremap # command can be passed to renderSyslinux functionality. - OPTIONS=$(render_getIdentityConfigOption "$ACTION" '2-') + OPTIONS=$(identity_getIdentityConfigOption "$ACTION" '2-') # Check options passed to action. This is required in order to # aviod using options used already in this script. For example diff --git a/Scripts/Bash/Functions/Identity/identity_doIdentityImages.sh b/Scripts/Bash/Functions/Identity/identity_doIdentityImages.sh index 8926cd0..0993b8c 100644 --- a/Scripts/Bash/Functions/Identity/identity_doIdentityImages.sh +++ b/Scripts/Bash/Functions/Identity/identity_doIdentityImages.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_doIdentityImages.sh -- This function renders image-based +# identity_doIdentityImages.sh -- This function renders image-based # identity contents. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_doIdentityImages { +function identity_doIdentityImages { local FILE='' local OUTPUT='' @@ -65,7 +65,7 @@ function render_doIdentityImages { fi # Define final location of output directory. - render_getIdentityDirOutput + identity_getIdentityDirOutput # Get relative path to file. The path string (stored in FILE) # has two parts: 1. the variable path and 2. the common path. @@ -140,7 +140,7 @@ function render_doIdentityImages { # artistic motif background images. If such external files # doesn't exist, print a message and stop script execution. # We cannot continue without background information. - render_checkAbsolutePaths "$INSTANCE" + identity_checkAbsolutePaths "$INSTANCE" # Render template instance and modify the inkscape output to # reduce the amount of characters used in description column @@ -163,19 +163,19 @@ function render_doIdentityImages { case "$ACTION" in renderSyslinux* ) - render_doIdentityImageSyslinux "${FILE}" "$ACTION" + identity_doIdentityImageSyslinux "${FILE}" "$ACTION" ;; renderGrub* ) - render_doIdentityImageGrub "${FILE}" "$ACTION" + identity_doIdentityImageGrub "${FILE}" "$ACTION" ;; renderFormats:* ) - render_doIdentityImageFormats "${FILE}" "$ACTION" + identity_doIdentityImageFormats "${FILE}" "$ACTION" ;; groupByType:* ) - render_doIdentityGroupByType "${FILE}" "$ACTION" + identity_doIdentityGroupByType "${FILE}" "$ACTION" ;; esac @@ -213,19 +213,19 @@ function render_doIdentityImages { case "$ACTION" in renderKSplash ) - render_doIdentityImageKsplash + identity_doIdentityImageKsplash ;; renderDm:* ) - render_doIdentityImageDm "$ACTION" + identity_doIdentityImageDm "$ACTION" ;; groupByType:* ) - render_doIdentityGroupByType "$ACTION" + identity_doIdentityGroupByType "$ACTION" ;; renderBrands ) - render_doIdentityImageBrands "${FILE}" "$ACTION" + identity_doIdentityImageBrands "${FILE}" "$ACTION" ;; esac diff --git a/Scripts/Bash/Functions/Identity/identity_getActions.sh b/Scripts/Bash/Functions/Identity/identity_getActions.sh index 05d0436..67916e9 100644 --- a/Scripts/Bash/Functions/Identity/identity_getActions.sh +++ b/Scripts/Bash/Functions/Identity/identity_getActions.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_getActions.sh -- This function interprets arguments passed to +# identity_getActions.sh -- This function interprets arguments passed to # render functionality and calls actions accordingly. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_getActions { +function identity_getActions { # Define short options we want to support. local ARGSS="" diff --git a/Scripts/Bash/Functions/Identity/identity_getIdentityBase.sh b/Scripts/Bash/Functions/Identity/identity_getIdentityBase.sh index 02e8e3d..cc9a48a 100755 --- a/Scripts/Bash/Functions/Identity/identity_getIdentityBase.sh +++ b/Scripts/Bash/Functions/Identity/identity_getIdentityBase.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_getIdentityBase.sh -- This function initiates rendition features +# identity_getIdentityBase.sh -- This function initiates rendition features # taking BASEACTIONS as reference. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_getIdentityBase { +function identity_getIdentityBase { local FILES='' local PARENTDIR='' @@ -37,7 +37,7 @@ function render_getIdentityBase { PARENTDIR=$(basename "$ACTIONVAL") # Define base location of template files. - render_getIdentityDirTemplate + identity_getIdentityDirTemplate # Define list of files to process. FILES=$(cli_getFilesList "${TEMPLATE}" "${FLAG_FILTER}.*\.(svgz|svg)") @@ -55,6 +55,6 @@ function render_getIdentityBase { done # Execute base-rendition action. - render_doIdentityImages + identity_doIdentityImages } diff --git a/Scripts/Bash/Functions/Identity/identity_getIdentityConfig.sh b/Scripts/Bash/Functions/Identity/identity_getIdentityConfig.sh index 2363995..9d8c0ef 100755 --- a/Scripts/Bash/Functions/Identity/identity_getIdentityConfig.sh +++ b/Scripts/Bash/Functions/Identity/identity_getIdentityConfig.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_getIdentityConfig.sh -- This function checks/validates variables +# identity_getIdentityConfig.sh -- This function checks/validates variables # passed from artwork-specific pre-rendition configuration files. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_getIdentityConfig { +function identity_getIdentityConfig { local POSTCOUNT=0 local LASTCOUNT=0 @@ -37,13 +37,13 @@ function render_getIdentityConfig { # Define post-rendition actions. if [[ $ACTION =~ '^POST:' ]];then - ACTION=$(render_getIdentityConfigOption "$ACTION" '2-') + ACTION=$(identity_getIdentityConfigOption "$ACTION" '2-') POSTACTIONS[$POSTCOUNT]="$ACTION" POSTCOUNT=$(($POSTCOUNT + 1)) # Define last-rendition actions. elif [[ $ACTION =~ '^LAST:' ]];then - ACTION=$(render_getIdentityConfigOption "$ACTION" '2-') + ACTION=$(identity_getIdentityConfigOption "$ACTION" '2-') LASTACTIONS[$LASTCOUNT]="$ACTION" LASTCOUNT=$(($LASTCOUNT + 1)) fi @@ -53,7 +53,7 @@ function render_getIdentityConfig { # Check post-rendition actions. Validation of post-rendition # actions is action-specific. So, validation of post-rendition # actions is not here, but inside action-specific functions. See - # render_doIdentityImages and render_doIdentityTexts to see + # identity_doIdentityImages and identity_doIdentityTexts to see # validation of renderImage and renderText post-rendition actions, # respectively. diff --git a/Scripts/Bash/Functions/Identity/identity_getIdentityConfigOption.sh b/Scripts/Bash/Functions/Identity/identity_getIdentityConfigOption.sh index 3e46d83..7aaafc4 100755 --- a/Scripts/Bash/Functions/Identity/identity_getIdentityConfigOption.sh +++ b/Scripts/Bash/Functions/Identity/identity_getIdentityConfigOption.sh @@ -1,14 +1,14 @@ #!/bin/bash # -# render_getIdentityConfigOption.sh -- This function standardizes the way action +# identity_getIdentityConfigOption.sh -- This function standardizes the way action # values are retrived from pre-rendition configuration files. Use # this function whenever you need to retrive action values from # pre-rendition configuration script. # -# Usage: VAR=$(render_getIdentityConfigOption "ACTION" "FIELD") +# Usage: VAR=$(identity_getIdentityConfigOption "ACTION" "FIELD") # # VAR is the name of the variable where we store the option named -# returned by render_getIdentityConfigOption. +# returned by identity_getIdentityConfigOption. # # ACTION is the string definition set in the pre-rendition # configuration script that holds the action name and its options @@ -44,7 +44,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_getIdentityConfigOption { +function identity_getIdentityConfigOption { local ACTION="$1" local FIELD="$2" diff --git a/Scripts/Bash/Functions/Identity/identity_getIdentityDirOutput.sh b/Scripts/Bash/Functions/Identity/identity_getIdentityDirOutput.sh index ecf8d12..73bcf1e 100644 --- a/Scripts/Bash/Functions/Identity/identity_getIdentityDirOutput.sh +++ b/Scripts/Bash/Functions/Identity/identity_getIdentityDirOutput.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_getIdentityDirOutput.sh -- This function defines the final +# identity_getIdentityDirOutput.sh -- This function defines the final # absolute path the centos-art.sh script uses to store identity # contents produced at rendition time. # @@ -25,7 +25,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_getIdentityDirOutput { +function identity_getIdentityDirOutput { # Define base output directory using design model path as reference. OUTPUT=$(dirname $FILE | sed -r \ diff --git a/Scripts/Bash/Functions/Identity/identity_getIdentityDirTemplate.sh b/Scripts/Bash/Functions/Identity/identity_getIdentityDirTemplate.sh index 04e0e6e..c07ea2e 100644 --- a/Scripts/Bash/Functions/Identity/identity_getIdentityDirTemplate.sh +++ b/Scripts/Bash/Functions/Identity/identity_getIdentityDirTemplate.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# render_getIdentityDirTemplate.sh -- This function re-defines absolute +# identity_getIdentityDirTemplate.sh -- This function re-defines absolute # path to artwork's related design templates directory. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function render_getIdentityDirTemplate { +function identity_getIdentityDirTemplate { # Initialize design models location using action value as # reference.