[frogr] Append information about the icons theme used to the SOURCES.new file



commit b99f957e61fa12cfda77ecf91444894a07d9dc68
Author: Mario Sanchez Prada <msanchez gnome org>
Date:   Thu Dec 20 12:19:08 2012 +0100

    Append information about the icons theme used to the SOURCES.new file

 osx/generate-SOURCES    |   11 ++++++++++-
 osx/icons/Cheser/README |    3 ++-
 2 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/osx/generate-SOURCES b/osx/generate-SOURCES
index 682ce1c..de8f724 100755
--- a/osx/generate-SOURCES
+++ b/osx/generate-SOURCES
@@ -14,6 +14,8 @@ export JHB="frogr"
 
 jhb_cmd="$HOME/.local/bin/jhbuild"
 frogr_moduleset="jhbuild/frogr.modules"
+configure_file="../configure.ac"
+icons_README_file="icons/Cheser/README"
 output_file="SOURCES.new"
 app_name="frogr"
 
@@ -41,7 +43,7 @@ if [ ${#modules_names[*]} != ${#modules_urls[*]} ]; then
 fi
 
 # Build the name of the DMG file
-app_version=$(cat ../configure.ac | grep AC_INIT | cut -d "[" -f 3 | cut -d "]" -f 1)
+app_version=$(cat $configure_file | grep AC_INIT | cut -d "[" -f 3 | cut -d "]" -f 1)
 if [ "x$app_version" = "x" ]; then
     echo "No package version for $app_name was found"
     exit 1;
@@ -89,4 +91,11 @@ do
     echo >> $output_file
 done
 
+# Last, append information about the icons theme used (Cheser)
+
+printf "\n-------------------------------\n" >> $output_file
+printf "     Artwork (icons theme)" >> $output_file
+printf "\n-------------------------------\n\n" >> $output_file
+cat $icons_README_file >> $output_file
+
 printf "Done! Now check $output_file\n"
\ No newline at end of file
diff --git a/osx/icons/Cheser/README b/osx/icons/Cheser/README
index 9babaf0..8dd9abc 100644
--- a/osx/icons/Cheser/README
+++ b/osx/icons/Cheser/README
@@ -1,6 +1,7 @@
 GNOME icons theme 'Cheser' is licensed as Creative Commons Attribution-ShareAlike 3.0 Unported [1]
 
-For the sake of reducing the size of the bundle as much as possible, unused icon sets and sizes have been removed from the original tarball containing the full theme.
+For the sake of reducing the size of the bundle as much as possible, unused icon sets and sizes
+have been removed from the original tarball containing the full theme.
 
 More details about this theme in GNOME-look.org:
 http://gnome-look.org/content/show.php?content=113386



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]