From 21e46269269b82e756fef0051e0953c52d6be3ca Mon Sep 17 00:00:00 2001 From: waker Date: Mon, 8 Nov 2010 20:51:25 +0100 Subject: moved most scripts to separate folder --- insertlicense.sh | 20 ------------ pluginstall.sh | 36 --------------------- portable_build.sh | 17 ---------- portable_package.sh | 74 ------------------------------------------- portable_postbuild.sh | 64 ------------------------------------- portable_upload.sh | 9 ------ scripts/insertlicense.sh | 20 ++++++++++++ scripts/pluginstall.sh | 36 +++++++++++++++++++++ scripts/portable_build.sh | 17 ++++++++++ scripts/portable_package.sh | 74 +++++++++++++++++++++++++++++++++++++++++++ scripts/portable_postbuild.sh | 64 +++++++++++++++++++++++++++++++++++++ scripts/portable_upload.sh | 9 ++++++ scripts/u8_gperf.sh | 2 ++ u8_gperf.sh | 2 -- 14 files changed, 222 insertions(+), 222 deletions(-) delete mode 100755 insertlicense.sh delete mode 100644 pluginstall.sh delete mode 100755 portable_build.sh delete mode 100755 portable_package.sh delete mode 100755 portable_postbuild.sh delete mode 100755 portable_upload.sh create mode 100755 scripts/insertlicense.sh create mode 100644 scripts/pluginstall.sh create mode 100755 scripts/portable_build.sh create mode 100755 scripts/portable_package.sh create mode 100755 scripts/portable_postbuild.sh create mode 100755 scripts/portable_upload.sh create mode 100755 scripts/u8_gperf.sh delete mode 100755 u8_gperf.sh diff --git a/insertlicense.sh b/insertlicense.sh deleted file mode 100755 index b046a61c..00000000 --- a/insertlicense.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -echo "IMPORTANT: Hit C-c if you forgot to backup/commit stuff!!!" -read -ls *.c *.h *.cpp | while read i; do - if [ "$i" == "deadbeef.h" ] || [ "$i" == "config.h" ] || grep --silent "DO NOT EDIT" "$i" ; then - echo "skipping $i (blacklist)" - elif grep --silent "DeaDBeeF - ultimate music player for GNU/Linux systems with X11" "$i" ; then - if grep --silent "version 3 of the License" "$i" ; then - echo "changing $i to gpl2" - sed -i 's/version 3 of the License/version 2 of the License/' "$i" - else - echo "skipping $i (already has license)" - fi - else - echo "adding license text to $i" - cat shortlicense >/tmp/deadbeef.lic.tmp - cat "$i" >>/tmp/deadbeef.lic.tmp - mv /tmp/deadbeef.lic.tmp "$i" - fi -done diff --git a/pluginstall.sh b/pluginstall.sh deleted file mode 100644 index 27b9eaca..00000000 --- a/pluginstall.sh +++ /dev/null @@ -1,36 +0,0 @@ -./portable_postbuild.sh - -#sudo cp ./deadbeef /usr/local/bin/ -#sudo cp ./plugins/nullout/.libs/nullout.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/cdda/.libs/cdda.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/flac/.libs/flac.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/alsa/.libs/alsa.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/mpgmad/.libs/mpgmad.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/hotkeys/.libs/hotkeys.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/vtx/.libs/vtx.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/ffap/.libs/ffap.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/wavpack/.libs/wavpack.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/vorbis/.libs/vorbis.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/oss/.libs/oss.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/vfs_curl/.libs/vfs_curl.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/ffmpeg/.libs/ffmpeg.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/lastfm/.libs/lastfm.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/sid/.libs/sid.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/adplug/.libs/adplug.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/gtkui/.libs/gtkui.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/sndfile/.libs/sndfile.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/pulse/.libs/pulse.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/artwork/.libs/artwork.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/supereq/.libs/supereq.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/gme/.libs/gme.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/dumb/.libs/dumb.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/notify/.libs/notify.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/musepack/.libs/musepack.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/wildmidi/.libs/wildmidi.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/tta/.libs/tta.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/dca/.libs/dca.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/aac/.libs/aac.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/mms/.libs/mms.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/shn/.libs/shn.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/ao/.libs/ao.so /usr/local/lib/deadbeef/ -#sudo cp ./plugins/shellexec/.libs/shellexec.so /usr/local/lib/deadbeef/ diff --git a/portable_build.sh b/portable_build.sh deleted file mode 100755 index e973993b..00000000 --- a/portable_build.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` -ORIGIN=`pwd | perl -ne 'chomp and print'` -export APBUILD_STATIC_LIBGCC=1 - -CC=$ORIGIN/tools/apbuild/apgcc CXX=$ORIGIN/tools/apbuild/apgcc ./configure --enable-portable --disable-pulse --disable-mpris --enable-maintainer-mode --disable-nls -sed -i 's/-lstdc++ -lm -lgcc_s -lc -lgcc_s/-lm -lc/g' libtool -make clean -make -j9 - -echo "building pluginfo tool..." -cd tools/pluginfo -make -cd ../../ - -./portable_postbuild.sh - diff --git a/portable_package.sh b/portable_package.sh deleted file mode 100755 index bf292789..00000000 --- a/portable_package.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -# package for distribution -VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` -BUILD=`cat PORTABLE_BUILD | perl -ne 'chomp and print'` - -# main distro -SRCDIR=deadbeef-$VERSION-portable -PLUGDIR=$SRCDIR/plugins -DOCDIR=$SRCDIR/doc -PIXMAPDIR=$SRCDIR/pixmaps - -mkdir -p portable_out/build 2>/dev/null -rm portable_out/* 2>/dev/null -rm portable_out/build/* 2>/dev/null - -tar jcvf portable_out/build/deadbeef-$VERSION-portable-build$BUILD.tar.bz2\ - $SRCDIR/deadbeef\ - $SRCDIR/deadbeef.png\ - $DOCDIR\ - $PLUGDIR/alsa.so\ - $PLUGDIR/oss.so\ - $PLUGDIR/vfs_curl.so\ - $PLUGDIR/artwork.so\ - $PLUGDIR/gtkui.so\ - $PLUGDIR/gtkui.fallback.so\ - $PLUGDIR/hotkeys.so\ - $PLUGDIR/cdda.so\ - $PLUGDIR/mpgmad.so\ - $PLUGDIR/vorbis.so\ - $PLUGDIR/wavpack.so\ - $PLUGDIR/flac.so\ - $PLUGDIR/ffap.so\ - $PLUGDIR/musepack.so\ - $PLUGDIR/notify.so\ - $PLUGDIR/sndfile.so\ - $PLUGDIR/supereq.so\ - $PLUGDIR/tta.so\ - $PIXMAPDIR - -# plugins -cd $PLUGDIR - -plugtable=../../../deadbeef-web/web/plugins-autogen.mkd -echo "" >$plugtable - -PLUGINFO=../../tools/pluginfo/pluginfo - -for i in *.so ; do - plugname=`basename $i .so` - echo $plugname - - version="" - $PLUGINFO ./$i >./temp.sh - RET=$? - if [ "$RET" = "0" ]; then - source ./temp.sh - rm ./temp.sh - if [[ -n $version ]]; then - echo "$plugname version $version" - else - echo "$plugname version not found" - fi - fname=../../portable_out/deadbeef-$VERSION-portable-$plugname-$version.tar.bz2 - tar jcvf $fname $i - fsize=$(stat -c%s "$fname") - - # add some markdown - echo "" >>$plugtable - fi -done -echo "
NameVersionSizeFor DeadbeefDescriptionAuthor(s)
$name ($plugname)$version$fsize$VERSION$descr$author ($email, $website)
" >>$plugtable -cd ../../ - diff --git a/portable_postbuild.sh b/portable_postbuild.sh deleted file mode 100755 index 5deb7045..00000000 --- a/portable_postbuild.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh -VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` -OUTDIR=deadbeef-$VERSION-portable -PLUGDIR=$OUTDIR/plugins -DOCDIR=$OUTDIR/doc -PIXMAPDIR=$OUTDIR/pixmaps -mkdir -p $PLUGDIR -mkdir -p $DOCDIR -mkdir -p $PIXMAPDIR - -cp ./deadbeef ./deadbeef-$VERSION-portable/ -cp ./plugins/nullout/.libs/nullout.so $PLUGDIR/ -cp ./plugins/cdda/.libs/cdda.so $PLUGDIR/ -cp ./plugins/flac/.libs/flac.so $PLUGDIR/ -cp ./plugins/alsa/.libs/alsa.so $PLUGDIR/ -cp ./plugins/mpgmad/.libs/mpgmad.so $PLUGDIR/ -cp ./plugins/hotkeys/.libs/hotkeys.so $PLUGDIR/ -cp ./plugins/vtx/.libs/vtx.so $PLUGDIR/ -cp ./plugins/ffap/.libs/ffap.so $PLUGDIR/ -cp ./plugins/ffmpeg/.libs/ffmpeg.so $PLUGDIR/ -cp ./plugins/wavpack/.libs/wavpack.so $PLUGDIR/ -cp ./plugins/vorbis/.libs/vorbis.so $PLUGDIR/ -cp ./plugins/oss/.libs/oss.so $PLUGDIR/ -cp ./plugins/vfs_curl/.libs/vfs_curl.so $PLUGDIR/ -cp ./plugins/lastfm/.libs/lastfm.so $PLUGDIR/ -cp ./plugins/sid/.libs/sid.so $PLUGDIR/ -cp ./plugins/adplug/.libs/adplug.so $PLUGDIR/ -cp ./plugins/gtkui/.libs/gtkui.so $PLUGDIR/ -cp ./plugins/gtkui/.libs/gtkui.fallback.so $PLUGDIR/ -cp ./plugins/sndfile/.libs/sndfile.so $PLUGDIR/ -cp ./plugins/artwork/.libs/artwork.so $PLUGDIR/ -cp ./plugins/supereq/.libs/supereq.so $PLUGDIR/ -cp ./plugins/gme/.libs/gme.so $PLUGDIR/ -cp ./plugins/dumb/.libs/dumb.so $PLUGDIR/ -cp ./plugins/notify/.libs/notify.so $PLUGDIR/ -cp ./plugins/musepack/.libs/musepack.so $PLUGDIR/ -cp ./plugins/wildmidi/.libs/wildmidi.so $PLUGDIR/ -cp ./plugins/tta/.libs/tta.so $PLUGDIR/ -cp ./plugins/dca/.libs/dca.so $PLUGDIR/ -cp ./plugins/aac/.libs/aac.so $PLUGDIR/ -cp ./plugins/mms/.libs/mms.so $PLUGDIR/ -cp ./plugins/shn/.libs/shn.so $PLUGDIR/ -cp ./plugins/ao/.libs/ao.so $PLUGDIR/ -cp ./plugins/shellexec/.libs/shellexec.so $PLUGDIR/ - -#pixmaps -cp ./pixmaps/pause_16.png $PIXMAPDIR/ -cp ./pixmaps/play_16.png $PIXMAPDIR/ -cp ./pixmaps/buffering_16.png $PIXMAPDIR/ -cp ./pixmaps/noartwork.jpg $PIXMAPDIR/ - -# docs -cp ./ChangeLog $DOCDIR/ -cp ./help.txt $DOCDIR/ -cp ./COPYING.GPLv2 $DOCDIR/ -cp ./about.txt $DOCDIR/ -cp ./translators.txt $DOCDIR/ - -# icon -cp ./icons/32x32/deadbeef.png $OUTDIR/ - -# strip -strip --strip-unneeded ./deadbeef-$VERSION-portable/deadbeef -for i in $PLUGDIR/*.so ; do strip --strip-unneeded $i ; done diff --git a/portable_upload.sh b/portable_upload.sh deleted file mode 100755 index 482e66ea..00000000 --- a/portable_upload.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` -BUILD=`cat PORTABLE_BUILD | perl -ne 'chomp and print'` - -UPLOAD_URI=waker,deadbeef@frs.sourceforge.net:/home/frs/project/d/de/deadbeef/portable/$VERSION/ - -scp portable_out/* $UPLOAD_URI/ -scp portable_out/build/* $UPLOAD_URI/ diff --git a/scripts/insertlicense.sh b/scripts/insertlicense.sh new file mode 100755 index 00000000..b046a61c --- /dev/null +++ b/scripts/insertlicense.sh @@ -0,0 +1,20 @@ +#!/bin/bash +echo "IMPORTANT: Hit C-c if you forgot to backup/commit stuff!!!" +read +ls *.c *.h *.cpp | while read i; do + if [ "$i" == "deadbeef.h" ] || [ "$i" == "config.h" ] || grep --silent "DO NOT EDIT" "$i" ; then + echo "skipping $i (blacklist)" + elif grep --silent "DeaDBeeF - ultimate music player for GNU/Linux systems with X11" "$i" ; then + if grep --silent "version 3 of the License" "$i" ; then + echo "changing $i to gpl2" + sed -i 's/version 3 of the License/version 2 of the License/' "$i" + else + echo "skipping $i (already has license)" + fi + else + echo "adding license text to $i" + cat shortlicense >/tmp/deadbeef.lic.tmp + cat "$i" >>/tmp/deadbeef.lic.tmp + mv /tmp/deadbeef.lic.tmp "$i" + fi +done diff --git a/scripts/pluginstall.sh b/scripts/pluginstall.sh new file mode 100644 index 00000000..cb296fac --- /dev/null +++ b/scripts/pluginstall.sh @@ -0,0 +1,36 @@ +./scripts/portable_postbuild.sh + +#sudo cp ./deadbeef /usr/local/bin/ +#sudo cp ./plugins/nullout/.libs/nullout.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/cdda/.libs/cdda.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/flac/.libs/flac.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/alsa/.libs/alsa.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/mpgmad/.libs/mpgmad.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/hotkeys/.libs/hotkeys.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/vtx/.libs/vtx.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/ffap/.libs/ffap.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/wavpack/.libs/wavpack.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/vorbis/.libs/vorbis.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/oss/.libs/oss.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/vfs_curl/.libs/vfs_curl.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/ffmpeg/.libs/ffmpeg.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/lastfm/.libs/lastfm.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/sid/.libs/sid.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/adplug/.libs/adplug.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/gtkui/.libs/gtkui.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/sndfile/.libs/sndfile.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/pulse/.libs/pulse.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/artwork/.libs/artwork.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/supereq/.libs/supereq.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/gme/.libs/gme.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/dumb/.libs/dumb.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/notify/.libs/notify.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/musepack/.libs/musepack.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/wildmidi/.libs/wildmidi.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/tta/.libs/tta.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/dca/.libs/dca.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/aac/.libs/aac.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/mms/.libs/mms.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/shn/.libs/shn.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/ao/.libs/ao.so /usr/local/lib/deadbeef/ +#sudo cp ./plugins/shellexec/.libs/shellexec.so /usr/local/lib/deadbeef/ diff --git a/scripts/portable_build.sh b/scripts/portable_build.sh new file mode 100755 index 00000000..e973993b --- /dev/null +++ b/scripts/portable_build.sh @@ -0,0 +1,17 @@ +#!/bin/sh +VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` +ORIGIN=`pwd | perl -ne 'chomp and print'` +export APBUILD_STATIC_LIBGCC=1 + +CC=$ORIGIN/tools/apbuild/apgcc CXX=$ORIGIN/tools/apbuild/apgcc ./configure --enable-portable --disable-pulse --disable-mpris --enable-maintainer-mode --disable-nls +sed -i 's/-lstdc++ -lm -lgcc_s -lc -lgcc_s/-lm -lc/g' libtool +make clean +make -j9 + +echo "building pluginfo tool..." +cd tools/pluginfo +make +cd ../../ + +./portable_postbuild.sh + diff --git a/scripts/portable_package.sh b/scripts/portable_package.sh new file mode 100755 index 00000000..bf292789 --- /dev/null +++ b/scripts/portable_package.sh @@ -0,0 +1,74 @@ +#!/bin/sh + +# package for distribution +VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` +BUILD=`cat PORTABLE_BUILD | perl -ne 'chomp and print'` + +# main distro +SRCDIR=deadbeef-$VERSION-portable +PLUGDIR=$SRCDIR/plugins +DOCDIR=$SRCDIR/doc +PIXMAPDIR=$SRCDIR/pixmaps + +mkdir -p portable_out/build 2>/dev/null +rm portable_out/* 2>/dev/null +rm portable_out/build/* 2>/dev/null + +tar jcvf portable_out/build/deadbeef-$VERSION-portable-build$BUILD.tar.bz2\ + $SRCDIR/deadbeef\ + $SRCDIR/deadbeef.png\ + $DOCDIR\ + $PLUGDIR/alsa.so\ + $PLUGDIR/oss.so\ + $PLUGDIR/vfs_curl.so\ + $PLUGDIR/artwork.so\ + $PLUGDIR/gtkui.so\ + $PLUGDIR/gtkui.fallback.so\ + $PLUGDIR/hotkeys.so\ + $PLUGDIR/cdda.so\ + $PLUGDIR/mpgmad.so\ + $PLUGDIR/vorbis.so\ + $PLUGDIR/wavpack.so\ + $PLUGDIR/flac.so\ + $PLUGDIR/ffap.so\ + $PLUGDIR/musepack.so\ + $PLUGDIR/notify.so\ + $PLUGDIR/sndfile.so\ + $PLUGDIR/supereq.so\ + $PLUGDIR/tta.so\ + $PIXMAPDIR + +# plugins +cd $PLUGDIR + +plugtable=../../../deadbeef-web/web/plugins-autogen.mkd +echo "" >$plugtable + +PLUGINFO=../../tools/pluginfo/pluginfo + +for i in *.so ; do + plugname=`basename $i .so` + echo $plugname + + version="" + $PLUGINFO ./$i >./temp.sh + RET=$? + if [ "$RET" = "0" ]; then + source ./temp.sh + rm ./temp.sh + if [[ -n $version ]]; then + echo "$plugname version $version" + else + echo "$plugname version not found" + fi + fname=../../portable_out/deadbeef-$VERSION-portable-$plugname-$version.tar.bz2 + tar jcvf $fname $i + fsize=$(stat -c%s "$fname") + + # add some markdown + echo "" >>$plugtable + fi +done +echo "
NameVersionSizeFor DeadbeefDescriptionAuthor(s)
$name ($plugname)$version$fsize$VERSION$descr$author ($email, $website)
" >>$plugtable +cd ../../ + diff --git a/scripts/portable_postbuild.sh b/scripts/portable_postbuild.sh new file mode 100755 index 00000000..5deb7045 --- /dev/null +++ b/scripts/portable_postbuild.sh @@ -0,0 +1,64 @@ +#!/bin/sh +VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` +OUTDIR=deadbeef-$VERSION-portable +PLUGDIR=$OUTDIR/plugins +DOCDIR=$OUTDIR/doc +PIXMAPDIR=$OUTDIR/pixmaps +mkdir -p $PLUGDIR +mkdir -p $DOCDIR +mkdir -p $PIXMAPDIR + +cp ./deadbeef ./deadbeef-$VERSION-portable/ +cp ./plugins/nullout/.libs/nullout.so $PLUGDIR/ +cp ./plugins/cdda/.libs/cdda.so $PLUGDIR/ +cp ./plugins/flac/.libs/flac.so $PLUGDIR/ +cp ./plugins/alsa/.libs/alsa.so $PLUGDIR/ +cp ./plugins/mpgmad/.libs/mpgmad.so $PLUGDIR/ +cp ./plugins/hotkeys/.libs/hotkeys.so $PLUGDIR/ +cp ./plugins/vtx/.libs/vtx.so $PLUGDIR/ +cp ./plugins/ffap/.libs/ffap.so $PLUGDIR/ +cp ./plugins/ffmpeg/.libs/ffmpeg.so $PLUGDIR/ +cp ./plugins/wavpack/.libs/wavpack.so $PLUGDIR/ +cp ./plugins/vorbis/.libs/vorbis.so $PLUGDIR/ +cp ./plugins/oss/.libs/oss.so $PLUGDIR/ +cp ./plugins/vfs_curl/.libs/vfs_curl.so $PLUGDIR/ +cp ./plugins/lastfm/.libs/lastfm.so $PLUGDIR/ +cp ./plugins/sid/.libs/sid.so $PLUGDIR/ +cp ./plugins/adplug/.libs/adplug.so $PLUGDIR/ +cp ./plugins/gtkui/.libs/gtkui.so $PLUGDIR/ +cp ./plugins/gtkui/.libs/gtkui.fallback.so $PLUGDIR/ +cp ./plugins/sndfile/.libs/sndfile.so $PLUGDIR/ +cp ./plugins/artwork/.libs/artwork.so $PLUGDIR/ +cp ./plugins/supereq/.libs/supereq.so $PLUGDIR/ +cp ./plugins/gme/.libs/gme.so $PLUGDIR/ +cp ./plugins/dumb/.libs/dumb.so $PLUGDIR/ +cp ./plugins/notify/.libs/notify.so $PLUGDIR/ +cp ./plugins/musepack/.libs/musepack.so $PLUGDIR/ +cp ./plugins/wildmidi/.libs/wildmidi.so $PLUGDIR/ +cp ./plugins/tta/.libs/tta.so $PLUGDIR/ +cp ./plugins/dca/.libs/dca.so $PLUGDIR/ +cp ./plugins/aac/.libs/aac.so $PLUGDIR/ +cp ./plugins/mms/.libs/mms.so $PLUGDIR/ +cp ./plugins/shn/.libs/shn.so $PLUGDIR/ +cp ./plugins/ao/.libs/ao.so $PLUGDIR/ +cp ./plugins/shellexec/.libs/shellexec.so $PLUGDIR/ + +#pixmaps +cp ./pixmaps/pause_16.png $PIXMAPDIR/ +cp ./pixmaps/play_16.png $PIXMAPDIR/ +cp ./pixmaps/buffering_16.png $PIXMAPDIR/ +cp ./pixmaps/noartwork.jpg $PIXMAPDIR/ + +# docs +cp ./ChangeLog $DOCDIR/ +cp ./help.txt $DOCDIR/ +cp ./COPYING.GPLv2 $DOCDIR/ +cp ./about.txt $DOCDIR/ +cp ./translators.txt $DOCDIR/ + +# icon +cp ./icons/32x32/deadbeef.png $OUTDIR/ + +# strip +strip --strip-unneeded ./deadbeef-$VERSION-portable/deadbeef +for i in $PLUGDIR/*.so ; do strip --strip-unneeded $i ; done diff --git a/scripts/portable_upload.sh b/scripts/portable_upload.sh new file mode 100755 index 00000000..482e66ea --- /dev/null +++ b/scripts/portable_upload.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` +BUILD=`cat PORTABLE_BUILD | perl -ne 'chomp and print'` + +UPLOAD_URI=waker,deadbeef@frs.sourceforge.net:/home/frs/project/d/de/deadbeef/portable/$VERSION/ + +scp portable_out/* $UPLOAD_URI/ +scp portable_out/build/* $UPLOAD_URI/ diff --git a/scripts/u8_gperf.sh b/scripts/u8_gperf.sh new file mode 100755 index 00000000..3ecffc3e --- /dev/null +++ b/scripts/u8_gperf.sh @@ -0,0 +1,2 @@ +#!/bin/sh +gperf -c -t -H u8_lc_hash -N u8_lc_in_word_set u8_lc_map.txt >u8_lc_map.h diff --git a/u8_gperf.sh b/u8_gperf.sh deleted file mode 100755 index 3ecffc3e..00000000 --- a/u8_gperf.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -gperf -c -t -H u8_lc_hash -N u8_lc_in_word_set u8_lc_map.txt >u8_lc_map.h -- cgit v1.2.3