tools/mkpkg: remove deprecated and not used package scripts

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-09-30 19:12:05 +02:00
parent b1a4430b2f
commit e6f602f825
12 changed files with 0 additions and 567 deletions

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d Mesa-7.11.git ]; then
git clone git://anongit.freedesktop.org/mesa/mesa -b 7.11 Mesa-7.11.git
fi
cd Mesa-7.11.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf Mesa-7.11-$GIT_REV
cp -R Mesa-7.11.git Mesa-7.11-$GIT_REV
echo "cleaning sources..."
rm -rf Mesa-7.11-$GIT_REV/.git
echo "packing sources..."
tar cvJf Mesa-7.11-$GIT_REV.tar.xz Mesa-7.11-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf Mesa-7.11-$GIT_REV

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d Airplayer.git ]; then
git clone git://github.com/PascalW/Airplayer.git Airplayer.git
fi
cd Airplayer.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf airplayer-$GIT_REV
cp -R Airplayer.git airplayer-$GIT_REV
echo "cleaning sources..."
rm -rf airplayer-$GIT_REV/.git
echo "packing sources..."
tar cvJf airplayer-$GIT_REV.tar.xz airplayer-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf airplayer-$GIT_REV

View File

@ -1,45 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
svn co svn://svn.eglibc.org/branches/eglibc-2_12/libc eglibc-2.12-latest
svn co svn://svn.eglibc.org/branches/eglibc-2_12/ports eglibc-2.12-latest/ports
svn co svn://svn.eglibc.org/branches/eglibc-2_12/linuxthreads/linuxthreads eglibc-2.12-latest/linuxthreads
svn co svn://svn.eglibc.org/branches/eglibc-2_12/linuxthreads/linuxthreads_db eglibc-2.12-latest/linuxthreads_db
echo "getting version..."
cd eglibc-2.12-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.12-$SVN_REV
cp -R eglibc-2.12-latest eglibc-2.12-$SVN_REV
echo "cleaning sources..."
find eglibc-2.12-$SVN_REV -name .svn -exec rm -rf {} ";"
echo "packing sources..."
tar cvjf eglibc-2.12-$SVN_REV.tar.bz2 eglibc-2.12-$SVN_REV
echo "remove temporary sourcedir..."
rm -rf eglibc-2.12-$SVN_REV

View File

@ -1,45 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
svn co svn://svn.eglibc.org/branches/eglibc-2_13/libc eglibc-2.13-latest
svn co svn://svn.eglibc.org/branches/eglibc-2_13/ports eglibc-2.13-latest/ports
svn co svn://svn.eglibc.org/branches/eglibc-2_13/linuxthreads/linuxthreads eglibc-2.13-latest/linuxthreads
svn co svn://svn.eglibc.org/branches/eglibc-2_13/linuxthreads/linuxthreads_db eglibc-2.13-latest/linuxthreads_db
echo "getting version..."
cd eglibc-2.13-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.13-$SVN_REV
cp -R eglibc-2.13-latest eglibc-2.13-$SVN_REV
echo "cleaning sources..."
find eglibc-2.13-$SVN_REV -name .svn -exec rm -rf {} ";"
echo "packing sources..."
tar cvjf eglibc-2.13-$SVN_REV.tar.bz2 eglibc-2.13-$SVN_REV
echo "remove temporary sourcedir..."
rm -rf eglibc-2.13-$SVN_REV

View File

@ -1,42 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
svn co svn://svn.eglibc.org/branches/eglibc-2_12/localedef eglibc-localedef-2.12-latest
echo "getting version..."
cd eglibc-localedef-2.12-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.12-$SVN_REV
cp -R eglibc-localedef-2.12-latest eglibc-localedef-2.12-$SVN_REV
echo "cleaning sources..."
find eglibc-localedef-2.12-$SVN_REV -name .svn -exec rm -rf {} ";"
echo "packing sources..."
tar cvjf eglibc-localedef-2.12-$SVN_REV.tar.bz2 eglibc-localedef-2.12-$SVN_REV
echo "remove temporary sourcedir..."
rm -rf eglibc-localedef-2.12-$SVN_REV

View File

@ -1,43 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -d shairport.git ]; then
git clone git://github.com/albertz/shairport.git shairport.git
fi
cd shairport.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf shairport-$GIT_REV
cp -R shairport.git shairport-$GIT_REV
echo "cleaning sources..."
rm -rf shairport-$GIT_REV/.git
echo "packing sources..."
tar cvJf shairport-$GIT_REV.tar.xz shairport-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf shairport-$GIT_REV

View File

@ -1,24 +0,0 @@
#!/bin/sh
echo "getting sources..."
svn checkout svn://svn.projects.openmoko.org/svnroot/siglaunchd/trunk siglaunchd-latest
echo "getting version..."
cd siglaunchd-latest
SVN_REV=`LANG=C svn info 2>/dev/null | grep Revision: | sed -e 's/.*\: //'`
echo $SVN_REV
cd ..
echo "copying sources..."
rm -rf siglaunchd-$SVN_REV
cp -R siglaunchd-latest siglaunchd-$SVN_REV
echo "cleaning sources..."
find siglaunchd-$SVN_REV -name .svn -exec rm -rf {} ";"
echo "packing sources..."
tar cvjf siglaunchd-$SVN_REV.tar.bz2 siglaunchd-$SVN_REV
echo "remove temporary sourcedir..."
rm -rf siglaunchd-$SVN_REV

View File

@ -1,34 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -f simplejson-2.1.3.tar.gz ]; then
wget -O simplejson-2.1.3.tar.gz http://pypi.python.org/packages/source/s/simplejson/simplejson-2.1.3.tar.gz
fi
tar xzf simplejson-2.1.3.tar.gz
echo "renaming folder name..."
mv simplejson-2.1.3 simplejson-ap-2.1.3
echo "packing sources..."
tar czf simplejson-ap-2.1.3.tar.gz simplejson-ap-2.1.3
echo "remove temporary sourcedir..."
rm -rf simplejson-ap-2.1.3

View File

@ -1,34 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
if [ ! -f tornado-1.2.1.tar.gz ]; then
wget -O tornado-1.2.1.tar.gz https://github.com/downloads/facebook/tornado/tornado-1.2.1.tar.gz
fi
tar xzf tornado-1.2.1.tar.gz
echo "renaming folder name..."
mv tornado-1.2.1 tornado-ap-1.2.1
echo "packing sources..."
tar czf tornado-ap-1.2.1.tar.gz tornado-ap-1.2.1
echo "remove temporary sourcedir..."
rm -rf tornado-ap-1.2.1

View File

@ -1,78 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="xbmc"
PKG_VERSION="10.1-Dharma"
GIT_REPO="-b Dharma git@github.com:xbmc/xbmc.git"
DEST_DIR="$PKG_NAME-$PKG_VERSION"
echo "getting sources..."
if [ ! -d $DEST_DIR-latest ]; then
git clone $GIT_REPO $DEST_DIR-latest
fi
cd $DEST_DIR-latest
git checkout $PKG_VERSION
git pull
echo "getting version..."
GIT_REV=`git log -n1 --format=%h`
echo $GIT_REV
cd ..
echo "copying sources..."
rm -rf $PKG_NAME-$PKG_VERSION
cp -R $DEST_DIR-latest $PKG_NAME-$PKG_VERSION
echo "$GIT_REV" > $PKG_NAME-$PKG_VERSION/git.version
echo "cleaning sources..."
rm -rf $PKG_NAME-$PKG_VERSION/.git
echo "seperating theme..."
rm -rf $PKG_NAME-theme-Confluence-$PKG_VERSION
mv $PKG_NAME-$PKG_VERSION/addons/skin.confluence $PKG_NAME-theme-Confluence-$PKG_VERSION
echo "cleaning sources..."
rm -rf $PKG_NAME-$PKG_VERSION/visualisations
rm -rf $PKG_NAME-$PKG_VERSION/lib/libSDL-*
rm -rf $PKG_NAME-$PKG_VERSION/lib/libcurl-*
rm -rf $PKG_NAME-$PKG_VERSION/project
for i in "Changelog" "Fake\ Episode\ Maker" "MingwBuildEnvironment" \
"PackageMaker" "Translator" "XBMCLive" "XprPack" \
"HardwareConfigure" "Mach5" "osx" "UpdateThumbs.py" "XBMCTex"; do
rm -rf $PKG_NAME-$PKG_VERSION/tools/$i
done
for i in dll a lib so bat; do
find $PKG_NAME-$PKG_VERSION -name *.$i -exec rm -rf {} ";"
done
# bundled win32 binaries
rm -r $PKG_NAME-$PKG_VERSION/xbmc/visualizations/XBMCProjectM/win32
echo "packing sources..."
tar cvjf $PKG_NAME-$PKG_VERSION.tar.bz2 $PKG_NAME-$PKG_VERSION
tar cvjf $PKG_NAME-theme-Confluence-$PKG_VERSION.tar.bz2 $PKG_NAME-theme-Confluence-$PKG_VERSION
echo "remove temporary sourcedir..."
rm -rf $PKG_NAME-$PKG_VERSION
rm -rf $PKG_NAME-theme-Confluence-$PKG_VERSION

View File

@ -1,68 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo "getting sources..."
svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/Dharma/ xbmc-dharma-latest
echo "getting version..."
cd xbmc-dharma-latest
SVN_REV=`LANG=C svn info 2>/dev/null | grep Revision: | sed -e 's/.*\: //'`
echo $SVN_REV
cd ..
echo "copying sources..."
rm -rf xbmc-dharma-$SVN_REV
cp -R xbmc-dharma-latest xbmc-dharma-$SVN_REV
echo "$SVN_REV" > xbmc-dharma-$SVN_REV/svn.version
echo "cleaning sources..."
find xbmc-dharma-$SVN_REV -name .svn -exec rm -rf {} ";"
echo "seperating theme..."
rm -rf xbmc-theme-Confluence-$SVN_REV
mv xbmc-dharma-$SVN_REV/addons/skin.confluence xbmc-dharma-theme-Confluence-$SVN_REV
echo "cleaning sources..."
rm -rf xbmc-dharma-$SVN_REV/visualisations
rm -rf xbmc-dharma-$SVN_REV/lib/libSDL-*
rm -rf xbmc-dharma-$SVN_REV/lib/libcurl-*
rm -rf xbmc-dharma-$SVN_REV/project
for i in "Changelog" "Fake\ Episode\ Maker" "MingwBuildEnvironment" \
"PackageMaker" "Translator" "XBMCLive" "XprPack" \
"HardwareConfigure" "Mach5" "osx" "UpdateThumbs.py" "XBMCTex"; do
rm -rf xbmc-dharma-$SVN_REV/tools/$i
done
for i in dll a lib so bat; do
find xbmc-dharma-$SVN_REV -name *.$i -exec rm -rf {} ";"
done
# bundled win32 binaries
rm -r xbmc-dharma-$SVN_REV/xbmc/visualizations/XBMCProjectM/win32
echo "packing sources..."
tar cvjf xbmc-dharma-$SVN_REV.tar.bz2 xbmc-dharma-$SVN_REV
tar cvjf xbmc-dharma-theme-Confluence-$SVN_REV.tar.bz2 xbmc-dharma-theme-Confluence-$SVN_REV
echo "remove temporary sourcedir..."
rm -rf xbmc-dharma-$SVN_REV
rm -rf xbmc-dharma-theme-Confluence-$SVN_REV

View File

@ -1,68 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 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, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
REV="10.0-Dharma"
echo "getting sources..."
svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/tags/$REV xbmc-$REV
echo "getting version..."
cd xbmc-$REV
SVN_REV=`LANG=C svn info 2>/dev/null | grep Rev: | sed -e 's/.*\: //'`
echo $SVN_REV
cd ..
echo "copying sources..."
echo "$SVN_REV" > xbmc-$REV/svn.version
echo "cleaning sources..."
find xbmc-$REV -name .svn -exec rm -rf {} ";"
echo "seperating theme..."
rm -rf xbmc-theme-Confluence-$REV
mv xbmc-$REV/addons/skin.confluence xbmc-theme-Confluence-$REV
echo "cleaning sources..."
rm -rf xbmc-$REV/visualisations
rm -rf xbmc-$REV/lib/libSDL-*
rm -rf xbmc-$REV/lib/libcurl-*
rm -rf xbmc-$REV/project
for i in "Changelog" "Fake\ Episode\ Maker" "MingwBuildEnvironment" \
"PackageMaker" "Translator" "XBMCLive" "XprPack" \
"HardwareConfigure" "Mach5" "osx" "UpdateThumbs.py" "XBMCTex"; do
rm -rf xbmc-$REV/tools/$i
done
for i in dll a lib so bat; do
find xbmc-$REV -name *.$i -exec rm -rf {} ";"
done
# bundled win32 binaries
rm -r xbmc-$REV/xbmc/visualizations/XBMCProjectM/win32
echo "packing sources..."
tar cvjf xbmc-$REV.tar.bz2 xbmc-$REV
tar cvjf xbmc-theme-Confluence-$REV.tar.bz2 xbmc-theme-Confluence-$REV
# echo "remove temporary sourcedir..."
# rm -rf xbmc-$REV
# rm -rf xbmc-theme-Confluence-$REV