diff --git a/tools/mkpkg/mkpkg_Mesa-7.11 b/tools/mkpkg/mkpkg_Mesa-7.11 deleted file mode 100755 index 21e01f89f1..0000000000 --- a/tools/mkpkg/mkpkg_Mesa-7.11 +++ /dev/null @@ -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 diff --git a/tools/mkpkg/mkpkg_airplayer b/tools/mkpkg/mkpkg_airplayer deleted file mode 100755 index 15a0d71a1e..0000000000 --- a/tools/mkpkg/mkpkg_airplayer +++ /dev/null @@ -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 diff --git a/tools/mkpkg/mkpkg_eglibc-2.12 b/tools/mkpkg/mkpkg_eglibc-2.12 deleted file mode 100755 index 316d223945..0000000000 --- a/tools/mkpkg/mkpkg_eglibc-2.12 +++ /dev/null @@ -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 diff --git a/tools/mkpkg/mkpkg_eglibc-2.13 b/tools/mkpkg/mkpkg_eglibc-2.13 deleted file mode 100755 index 93c64c1293..0000000000 --- a/tools/mkpkg/mkpkg_eglibc-2.13 +++ /dev/null @@ -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 diff --git a/tools/mkpkg/mkpkg_eglibc-localedef-2.12 b/tools/mkpkg/mkpkg_eglibc-localedef-2.12 deleted file mode 100755 index fc38e970bb..0000000000 --- a/tools/mkpkg/mkpkg_eglibc-localedef-2.12 +++ /dev/null @@ -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 diff --git a/tools/mkpkg/mkpkg_shairport b/tools/mkpkg/mkpkg_shairport deleted file mode 100755 index 161f13e2a2..0000000000 --- a/tools/mkpkg/mkpkg_shairport +++ /dev/null @@ -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 diff --git a/tools/mkpkg/mkpkg_siglaunchd b/tools/mkpkg/mkpkg_siglaunchd deleted file mode 100755 index 384f40f190..0000000000 --- a/tools/mkpkg/mkpkg_siglaunchd +++ /dev/null @@ -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 - diff --git a/tools/mkpkg/mkpkg_simplejson-ap b/tools/mkpkg/mkpkg_simplejson-ap deleted file mode 100755 index 16ef14a76c..0000000000 --- a/tools/mkpkg/mkpkg_simplejson-ap +++ /dev/null @@ -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 diff --git a/tools/mkpkg/mkpkg_tornado-ap b/tools/mkpkg/mkpkg_tornado-ap deleted file mode 100755 index bcb40ecb2f..0000000000 --- a/tools/mkpkg/mkpkg_tornado-ap +++ /dev/null @@ -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 diff --git a/tools/mkpkg/mkpkg_xbmc-10.1-dharma b/tools/mkpkg/mkpkg_xbmc-10.1-dharma deleted file mode 100755 index 49b37be8d3..0000000000 --- a/tools/mkpkg/mkpkg_xbmc-10.1-dharma +++ /dev/null @@ -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 diff --git a/tools/mkpkg/mkpkg_xbmc-dharma b/tools/mkpkg/mkpkg_xbmc-dharma deleted file mode 100755 index 58bc2535e5..0000000000 --- a/tools/mkpkg/mkpkg_xbmc-dharma +++ /dev/null @@ -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 diff --git a/tools/mkpkg/mkpkg_xbmc-dharma-final b/tools/mkpkg/mkpkg_xbmc-dharma-final deleted file mode 100755 index efee527234..0000000000 --- a/tools/mkpkg/mkpkg_xbmc-dharma-final +++ /dev/null @@ -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