Updated cdrskin release generator scripts
This commit is contained in:
parent
f61d6d96f4
commit
c45a95d1c5
@ -24,22 +24,22 @@ set -x
|
|||||||
# The top level directory in the SVN snapshot is named
|
# The top level directory in the SVN snapshot is named
|
||||||
intermediate="./libburn_pykix"
|
intermediate="./libburn_pykix"
|
||||||
|
|
||||||
# libburn source used: http://libburnia-project.org
|
# libburn source used: http://libburnia.pykix.org
|
||||||
# Downloaded by:
|
# Downloaded by:
|
||||||
# $ svn co http://libburnia-project.org/libburn/tags/... $intermediate
|
# $ svn co http://libburnia-svn.pykix.org/libburn/tags/... $intermediate
|
||||||
# packed up in a tarball just to save it from inadverted changes by
|
# packed up in a tarball just to save it from inadverted changes by
|
||||||
# $ tar czf libburn_svn.tgz $intermediate
|
# $ tar czf libburn_svn.tgz $intermediate
|
||||||
original="./libburn_svn.tgz"
|
original="./libburn_svn_release.tgz"
|
||||||
# Historic moments:
|
# Historic moments:
|
||||||
# original="./libburn_svn_A60815.tgz"
|
# original="./libburn_svn_A60815.tgz"
|
||||||
# original="./libburn_cdrskin_A60819.tgz"
|
# original="./libburn_cdrskin_A60819.tgz"
|
||||||
|
|
||||||
|
|
||||||
# My changes are in $changes , mainly in $changes/cdrskin
|
# My changes are in $changes , mainly in $changes/cdrskin
|
||||||
changes="./libburn-develop"
|
changes="./libburn-release"
|
||||||
|
|
||||||
skin_release="0.3.9"
|
skin_release="0.4.0"
|
||||||
patch_level=""
|
patch_level=".pl00"
|
||||||
skin_rev="$skin_release""$patch_level"
|
skin_rev="$skin_release""$patch_level"
|
||||||
|
|
||||||
# The result directory and the name of the result tarballs
|
# The result directory and the name of the result tarballs
|
||||||
@ -143,9 +143,6 @@ rm "$cdrskin_target"/doener_*.gif "$cdrskin_target"/doener_*.png
|
|||||||
# Remove automatically generated HTML man page
|
# Remove automatically generated HTML man page
|
||||||
rm "$cdrskin_target"/man_1_cdrskin.html
|
rm "$cdrskin_target"/man_1_cdrskin.html
|
||||||
|
|
||||||
# Remove libcevap
|
|
||||||
rm -rf "$target"/libcevap
|
|
||||||
|
|
||||||
# Remove all add_ts_changes_to_libburn besides this one
|
# Remove all add_ts_changes_to_libburn besides this one
|
||||||
for i in "$cdrskin_target"/add_ts_changes_to_libburn*
|
for i in "$cdrskin_target"/add_ts_changes_to_libburn*
|
||||||
do
|
do
|
||||||
@ -157,6 +154,10 @@ do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Remove libcevap
|
||||||
|
rm -rf "$target"/libcevap
|
||||||
|
|
||||||
|
|
||||||
# Remove unwanted SVN stuff (TODO: avoid downloading it)
|
# Remove unwanted SVN stuff (TODO: avoid downloading it)
|
||||||
for i in "$target"/.svn "$target"/*/.svn
|
for i in "$target"/.svn "$target"/*/.svn
|
||||||
do
|
do
|
||||||
@ -209,7 +210,6 @@ done
|
|||||||
chmod a+rx,go-w,u+w ./configure
|
chmod a+rx,go-w,u+w ./configure
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# Pack it up to the new libburn+cdrskin-tarball
|
# Pack it up to the new libburn+cdrskin-tarball
|
||||||
tar czf "$cdrskin_tarball" "$target"
|
tar czf "$cdrskin_tarball" "$target"
|
||||||
|
|
||||||
@ -218,15 +218,13 @@ tar czf "$cdrskin_tarball" "$target"
|
|||||||
cd "$compile_dir" || exit 1
|
cd "$compile_dir" || exit 1
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
"$compile_cmd" -libburn_svn -O2 -do_strip
|
"$compile_cmd" -O2 -do_strip
|
||||||
cp "$compile_result" "../$bintarget_dynamic"
|
cp "$compile_result" "../$bintarget_dynamic"
|
||||||
if test -n "$compile_static_opts"
|
if test -n "$compile_static_opts"
|
||||||
then
|
then
|
||||||
"$compile_cmd" $compile_static_opts -libburn_svn -O2 -do_strip
|
"$compile_cmd" $compile_static_opts -O2 -do_strip
|
||||||
cp "$compile_result" "../$bintarget_static"
|
cp "$compile_result" "../$bintarget_static"
|
||||||
fi
|
fi
|
||||||
# "$compile_cmd" -libburn_svn -O2 -do_diet -do_strip
|
|
||||||
# cp "$compile_result" "../$bintarget_dynamic"_diet
|
|
||||||
"$man_to_html_cmd"
|
"$man_to_html_cmd"
|
||||||
mv "$man_page_html" ..
|
mv "$man_page_html" ..
|
||||||
)
|
)
|
||||||
@ -239,7 +237,7 @@ rm -rf "$target"
|
|||||||
./"$bintarget_dynamic" -version
|
./"$bintarget_dynamic" -version
|
||||||
./"$bintarget_static" -version
|
./"$bintarget_static" -version
|
||||||
ls -l "$cdrskin_tarball"
|
ls -l "$cdrskin_tarball"
|
||||||
ls -l "$bintarget_dynamic"*
|
ls -l "$bintarget_dynamic"
|
||||||
ls -l "$bintarget_static"
|
ls -l "$bintarget_static"
|
||||||
ls -l $(basename "$man_page_html")
|
ls -l $(basename "$man_page_html")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user