From e245c40e971c645e783e869a903737a59f8e5881 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 25 Oct 2007 09:37:06 +0000 Subject: [PATCH] Updated cdrskin tarball generator --- .../cdrskin/add_ts_changes_to_libburn_0_3_9 | 7 ++++- ..._0_3_8 => add_ts_changes_to_libburn_0_4_1} | 26 ++++++++++++------- 2 files changed, 22 insertions(+), 11 deletions(-) rename libburn/trunk/cdrskin/{add_ts_changes_to_libburn_0_3_8 => add_ts_changes_to_libburn_0_4_1} (91%) diff --git a/libburn/trunk/cdrskin/add_ts_changes_to_libburn_0_3_9 b/libburn/trunk/cdrskin/add_ts_changes_to_libburn_0_3_9 index afeb34af..9df9f051 100755 --- a/libburn/trunk/cdrskin/add_ts_changes_to_libburn_0_3_9 +++ b/libburn/trunk/cdrskin/add_ts_changes_to_libburn_0_3_9 @@ -143,6 +143,9 @@ rm "$cdrskin_target"/doener_*.gif "$cdrskin_target"/doener_*.png # Remove automatically generated HTML man page rm "$cdrskin_target"/man_1_cdrskin.html +# Remove libcevap +rm -rf "$target"/libcevap + # Remove all add_ts_changes_to_libburn besides this one for i in "$cdrskin_target"/add_ts_changes_to_libburn* do @@ -222,6 +225,8 @@ tar czf "$cdrskin_tarball" "$target" "$compile_cmd" $compile_static_opts -libburn_svn -O2 -do_strip cp "$compile_result" "../$bintarget_static" fi +# "$compile_cmd" -libburn_svn -O2 -do_diet -do_strip +# cp "$compile_result" "../$bintarget_dynamic"_diet "$man_to_html_cmd" mv "$man_page_html" .. ) @@ -234,7 +239,7 @@ rm -rf "$target" ./"$bintarget_dynamic" -version ./"$bintarget_static" -version ls -l "$cdrskin_tarball" -ls -l "$bintarget_dynamic" +ls -l "$bintarget_dynamic"* ls -l "$bintarget_static" ls -l $(basename "$man_page_html") diff --git a/libburn/trunk/cdrskin/add_ts_changes_to_libburn_0_3_8 b/libburn/trunk/cdrskin/add_ts_changes_to_libburn_0_4_1 similarity index 91% rename from libburn/trunk/cdrskin/add_ts_changes_to_libburn_0_3_8 rename to libburn/trunk/cdrskin/add_ts_changes_to_libburn_0_4_1 index 499afe99..81a90d63 100755 --- a/libburn/trunk/cdrskin/add_ts_changes_to_libburn_0_3_8 +++ b/libburn/trunk/cdrskin/add_ts_changes_to_libburn_0_4_1 @@ -24,22 +24,22 @@ set -x # The top level directory in the SVN snapshot is named intermediate="./libburn_pykix" -# libburn source used: http://libburnia.pykix.org +# libburn source used: http://libburnia-project.org # Downloaded by: -# $ svn co http://libburnia-svn.pykix.org/libburn/tags/... $intermediate +# $ svn co http://libburnia-project.org/libburn/tags/... $intermediate # packed up in a tarball just to save it from inadverted changes by # $ tar czf libburn_svn.tgz $intermediate -original="./libburn_svn_release.tgz" +original="./libburn_svn.tgz" # Historic moments: # original="./libburn_svn_A60815.tgz" # original="./libburn_cdrskin_A60819.tgz" # My changes are in $changes , mainly in $changes/cdrskin -changes="./libburn-release" +changes="./libburn-develop" -skin_release="0.3.8" -patch_level=".pl00" +skin_release="0.4.1" +patch_level="" skin_rev="$skin_release""$patch_level" # The result directory and the name of the result tarballs @@ -143,6 +143,9 @@ rm "$cdrskin_target"/doener_*.gif "$cdrskin_target"/doener_*.png # Remove automatically generated HTML man page rm "$cdrskin_target"/man_1_cdrskin.html +# Remove libcevap +rm -rf "$target"/libcevap + # Remove all add_ts_changes_to_libburn besides this one for i in "$cdrskin_target"/add_ts_changes_to_libburn* do @@ -194,7 +197,7 @@ do done # Repair non-portable shell code output of ./bootstrap -( +( cd "$compile_dir" || exit 1 sed -e 's/^for ac_header in$/test -z 1 \&\& for ac_header in dummy/' \ < ./configure > ./configure-repaired @@ -206,6 +209,7 @@ done chmod a+rx,go-w,u+w ./configure ) + # Pack it up to the new libburn+cdrskin-tarball tar czf "$cdrskin_tarball" "$target" @@ -214,13 +218,15 @@ tar czf "$cdrskin_tarball" "$target" cd "$compile_dir" || exit 1 ./configure make - "$compile_cmd" -O2 -do_strip + "$compile_cmd" -libburn_svn -O2 -do_strip cp "$compile_result" "../$bintarget_dynamic" if test -n "$compile_static_opts" then - "$compile_cmd" $compile_static_opts -O2 -do_strip + "$compile_cmd" $compile_static_opts -libburn_svn -O2 -do_strip cp "$compile_result" "../$bintarget_static" fi +# "$compile_cmd" -libburn_svn -O2 -do_diet -do_strip +# cp "$compile_result" "../$bintarget_dynamic"_diet "$man_to_html_cmd" mv "$man_page_html" .. ) @@ -233,7 +239,7 @@ rm -rf "$target" ./"$bintarget_dynamic" -version ./"$bintarget_static" -version ls -l "$cdrskin_tarball" -ls -l "$bintarget_dynamic" +ls -l "$bintarget_dynamic"* ls -l "$bintarget_static" ls -l $(basename "$man_page_html")