tools/mkpkg: remove old/unused scripts

This commit is contained in:
Stefan Saraev 2013-10-14 13:51:17 +03:00
parent d5cda8d424
commit 8c346a68e4
13 changed files with 0 additions and 606 deletions

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d bluez.git ]; then
git clone git://git.kernel.org/pub/scm/bluetooth/bluez.git bluez.git
fi
cd bluez.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf bluez-$GIT_REV
cp -R bluez.git bluez-$GIT_REV
echo "cleaning sources..."
rm -rf bluez-$GIT_REV/.git
echo "packing sources..."
tar cvJf bluez-$GIT_REV.tar.xz bluez-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf bluez-$GIT_REV

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d dvb-firmware.git ]; then
git clone git://github.com/OpenELEC/dvb-firmware.git dvb-firmware.git
fi
cd dvb-firmware.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf dvb-firmware-$GIT_REV
cp -R dvb-firmware.git dvb-firmware-$GIT_REV
echo "cleaning sources..."
rm -rf dvb-firmware-$GIT_REV/.git
echo "packing sources..."
tar cvJf dvb-firmware-$GIT_REV.tar.xz dvb-firmware-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf dvb-firmware-$GIT_REV

View File

@ -1,66 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
svn co svn://svn.eglibc.org/branches/eglibc-2_18/libc eglibc-2.18-latest
svn co svn://svn.eglibc.org/branches/eglibc-2_18/linuxthreads/linuxthreads eglibc-2.18-latest/linuxthreads
svn co svn://svn.eglibc.org/branches/eglibc-2_18/linuxthreads/linuxthreads_db eglibc-2.18-latest/linuxthreads_db
echo "getting version..."
cd eglibc-2.18-latest
SVN_REV=`LANG=C svn info 2>/dev/null | grep Revision: | sed -e 's/.*\: //'`
echo $SVN_REV
cd ..
echo "copying sources..."
rm -rf eglibc-2.18-$SVN_REV
cp -R eglibc-2.18-latest eglibc-2.18-$SVN_REV
echo "cleaning sources..."
find eglibc-2.18-$SVN_REV -name .svn -exec rm -rf {} ";"
echo "packing sources..."
tar cvJf eglibc-2.18-$SVN_REV.tar.xz eglibc-2.18-$SVN_REV
echo "remove temporary sourcedir..."
rm -rf eglibc-2.18-$SVN_REV
# now localedef
svn co svn://svn.eglibc.org/branches/eglibc-2_18/localedef eglibc-localedef-2.18-latest
echo "getting version..."
cd eglibc-localedef-2.18-latest
SVN_REV=`LANG=C svn info 2>/dev/null | grep Revision: | sed -e 's/.*\: //'`
echo $SVN_REV
cd ..
echo "copying sources..."
rm -rf eglibc-localedef-2.18-$SVN_REV
cp -R eglibc-localedef-2.18-latest eglibc-localedef-2.18-$SVN_REV
echo "cleaning sources..."
find eglibc-localedef-2.18-$SVN_REV -name .svn -exec rm -rf {} ";"
echo "packing sources..."
tar cvJf eglibc-localedef-2.18-$SVN_REV.tar.xz eglibc-localedef-2.18-$SVN_REV
echo "remove temporary sourcedir..."
rm -rf eglibc-localedef-2.18-$SVN_REV

View File

@ -1,65 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting Mozilla sources..."
[ ! -d fennec-latest ] && \
hg clone http://hg.mozilla.org/mozilla-central fennec-latest || \
cd fennec-latest && \
hg pull && \
hg update && \
cd ..
echo "getting Fennec sources..."
[ ! -d fennec-latest/mobile ] && \
hg clone http://hg.mozilla.org/mobile-browser fennec-latest/mobile || \
cd fennec-latest/mobile && \
hg pull && \
hg update && \
cd ../..
echo "getting Mozilla Revision..."
cd fennec-latest
MOZ_REV=`LANG=C hg tip --template={rev}`
cd ..
echo "getting Fennec Revision..."
cd fennec-latest/mobile
FEN_REV=`LANG=C hg tip --template={rev}`
cd ../..
echo "copying sources..."
rm -rf fennec-$MOZ_REV.$FEN_REV
cp -R fennec-latest fennec-$MOZ_REV.$FEN_REV
echo "creating configfiles..."
cd fennec-$MOZ_REV.$FEN_REV
autoconf-2.13
rm -rf autom*
cd ..
echo "cleaning sources..."
find fennec-$MOZ_REV.$FEN_REV -name ".hg*" -exec rm -rf {} ";"
echo "packing sources..."
tar cvjf fennec-$MOZ_REV.$FEN_REV.tar.bz2 fennec-$MOZ_REV.$FEN_REV
echo "remove temporary sourcedir..."
rm -rf fennec-$MOZ_REV.$FEN_REV

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d libcofi.git ]; then
git clone git://github.com/simonjhall/copies-and-fills.git -b master libcofi.git
fi
cd libcofi.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf libcofi-$GIT_REV
cp -R libcofi.git libcofi-$GIT_REV
echo "cleaning sources..."
rm -rf libcofi-$GIT_REV/.git
echo "packing sources..."
tar cvJf libcofi-$GIT_REV.tar.xz libcofi-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf libcofi-$GIT_REV

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d misc-firmware.git ]; then
git clone git://github.com/OpenELEC/misc-firmware.git misc-firmware.git
fi
cd misc-firmware.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf misc-firmware-$GIT_REV
cp -R misc-firmware.git misc-firmware-$GIT_REV
echo "cleaning sources..."
rm -rf misc-firmware-$GIT_REV/.git
echo "packing sources..."
tar cvJf misc-firmware-$GIT_REV.tar.xz misc-firmware-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf misc-firmware-$GIT_REV

View File

@ -1,45 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d prelink-cross.git ]; then
git clone git://git.yoctoproject.org/prelink-cross -b cross_prelink prelink-cross.git
fi
cd prelink-cross.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf prelink-cross-$GIT_REV
cp -R prelink-cross.git prelink-cross-$GIT_REV
echo "cleaning sources..."
rm -rf prelink-cross-$GIT_REV/.git
mv prelink-cross-$GIT_REV/trunk/* prelink-cross-$GIT_REV
rm -rf prelink-cross-$GIT_REV/trunk
echo "packing sources..."
tar cvJf prelink-cross-$GIT_REV.tar.xz prelink-cross-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf prelink-cross-$GIT_REV

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d rpi-cecd.git ]; then
git clone git://github.com/olajep/rpi-cecd.git -b master rpi-cecd.git
fi
cd rpi-cecd.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf rpi-cecd-$GIT_REV
cp -R rpi-cecd.git rpi-cecd-$GIT_REV
echo "cleaning sources..."
rm -rf rpi-cecd-$GIT_REV/.git
echo "packing sources..."
tar cvJf rpi-cecd-$GIT_REV.tar.xz rpi-cecd-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf rpi-cecd-$GIT_REV

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d hts-tvheadend.git ]; then
git clone https://github.com/tvheadend/tvheadend.git hts-tvheadend.git
fi
cd hts-tvheadend.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf hts-tvheadend-$GIT_REV
cp -R hts-tvheadend.git hts-tvheadend-$GIT_REV
#echo "cleaning sources..."
# rm -rf hts-tvheadend-$GIT_REV/.git
echo "packing sources..."
tar cvJf hts-tvheadend-$GIT_REV.tar.xz hts-tvheadend-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf hts-tvheadend-$GIT_REV

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d wlan-firmware.git ]; then
git clone git://github.com/OpenELEC/wlan-firmware.git wlan-firmware.git
fi
cd wlan-firmware.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf wlan-firmware-$GIT_REV
cp -R wlan-firmware.git wlan-firmware-$GIT_REV
echo "cleaning sources..."
rm -rf wlan-firmware-$GIT_REV/.git
echo "packing sources..."
tar cvJf wlan-firmware-$GIT_REV.tar.xz wlan-firmware-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf wlan-firmware-$GIT_REV

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d xbmc-addon-njoy.git ]; then
git clone git://github.com/jdembski/pvr.njoy.git xbmc-addon-njoy.git
fi
cd xbmc-addon-njoy.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf xbmc-addon-njoy-$GIT_REV
cp -R xbmc-addon-njoy.git xbmc-addon-njoy-$GIT_REV
echo "cleaning sources..."
rm -rf xbmc-addon-njoy-$GIT_REV/.git
echo "packing sources..."
tar cvJf xbmc-addon-njoy-$GIT_REV.tar.xz xbmc-addon-njoy-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf xbmc-addon-njoy-$GIT_REV

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d xbmc-addon-vuplus.git ]; then
git clone git://github.com/jdembski/xbmc-addon-vuplus.git xbmc-addon-vuplus.git
fi
cd xbmc-addon-vuplus.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf xbmc-addon-vuplus-$GIT_REV
cp -R xbmc-addon-vuplus.git xbmc-addon-vuplus-$GIT_REV
echo "cleaning sources..."
rm -rf xbmc-addon-vuplus-$GIT_REV/.git
echo "packing sources..."
tar cvJf xbmc-addon-vuplus-$GIT_REV.tar.xz xbmc-addon-vuplus-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf xbmc-addon-vuplus-$GIT_REV

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d xwiimote.git ]; then
git clone git://github.com/dvdhrm/xwiimote.git xwiimote.git
fi
cd xwiimote.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf xwiimote-$GIT_REV
cp -R xwiimote.git xwiimote-$GIT_REV
echo "cleaning sources..."
rm -rf xwiimote-$GIT_REV/.git
echo "packing sources..."
tar cvJf xwiimote-$GIT_REV.tar.xz xwiimote-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf xwiimote-$GIT_REV