diff options
author | Martijn Kaijser <mcm.kaijser@gmail.com> | 2013-09-28 19:39:35 +0200 |
---|---|---|
committer | Martijn Kaijser <mcm.kaijser@gmail.com> | 2013-09-28 19:39:35 +0200 |
commit | 72aa5adeba5ab768b00380f164e5b51ad1f99094 (patch) | |
tree | 67175ec6567574c8165df5bbedd8d93ff48d6fcd | |
parent | 05274bfcbcbbc96a5ee5a61bf4018b30719727f4 (diff) |
remove old unused bash script
-rw-r--r-- | tools/arm/arm-scripts/create-pkgsfile.sh | 41 | ||||
-rw-r--r-- | tools/arm/arm-scripts/create-xbmcfile.sh | 54 | ||||
-rw-r--r-- | tools/arm/arm-scripts/install-gcc4.5_armel.sh | 25 | ||||
-rw-r--r-- | tools/arm/arm-scripts/install-pkgs.sh | 61 | ||||
-rw-r--r-- | tools/arm/arm-scripts/pkg-paths.txt | 66 |
5 files changed, 0 insertions, 247 deletions
diff --git a/tools/arm/arm-scripts/create-pkgsfile.sh b/tools/arm/arm-scripts/create-pkgsfile.sh deleted file mode 100644 index 7a07d1ac0f..0000000000 --- a/tools/arm/arm-scripts/create-pkgsfile.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -# This will create a tar file that contains all the armel packages already extracted. - -# Dont go further if there are no packages, i.e install-pkgs.sh was not run! -if [ ! -e pkgs ] -then - echo "install-pkgs.sh was not run!!! Exiting!" - exit -fi - -# Cleanup -if [ -e pkgs-output.txt ] -then - rm pkgs-output.txt -fi - -# Cleanup -if [ -e pkgs.tar.bz2 ] -then - rm pkgs.tar.bz2 -fi - -# Extract all deb packages into a temporary directory. -# Keep the output log, incase something went wrong. -cd pkgs -mkdir tmp - -echo "Collecting all package data... please wait" -for i in `ls *.deb` -do - dpkg-deb -x $i tmp/ >> ../pkgs-output.txt 2>&1 -done -echo "Please check pkgs-output.txt for any errors that may have been encountered!" - -echo "Creating tar file... please wait" -cd tmp -tar cjf ../../pkgs.tar.bz2 ./ -cd ../ -rm -r tmp -echo "Done! Output: pkgs.tar.bz2" diff --git a/tools/arm/arm-scripts/create-xbmcfile.sh b/tools/arm/arm-scripts/create-xbmcfile.sh deleted file mode 100644 index ccf21c5ad6..0000000000 --- a/tools/arm/arm-scripts/create-xbmcfile.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh - -# A re-write of original XBMC Makefile install proceedure that will work with scratchbox. - -filename=xbmc.tar.bz2 -prefix=tools/arm/arm-scripts/usr -cd ../../../ -mkdir -p $prefix - -# Install Binaries -echo "Copying XBMC binary to $prefix/share/xbmc/xbmc.bin" -install -D xbmc.bin $prefix/share/xbmc/xbmc.bin -install -D xbmc-xrandr $prefix/share/xbmc/xbmc-xrandr -# Install Scripts -install -D tools/Linux/xbmc.sh $prefix/bin/xbmc -install -D tools/Linux/xbmc-standalone.sh $prefix/bin/xbmc-standalone -install -D -m 0644 tools/Linux/FEH-ARM.py $prefix/share/xbmc/FEH.py -install -D -m 0644 tools/Linux/xbmc-xsession.desktop $prefix/share/xsessions/XBMC.desktop -# Arch dependent files -find system screensavers visualisations -type f -not -iregex ".*\(svn.*\|win32\(dx\)?\.vis\|osx\.vis\)" -iregex ".*\(arm.*\|\.vis\|\.xbs\)" -exec install -D "{}" $prefix/share/xbmc/"{}" \; -printf " -- %-75.75f\r" -# Install Datas -echo "Copying support and legal files..." -for FILE in `ls README.linux README.armel LICENSE.GPL *.txt` -do - install -D -m 0644 "$FILE" $prefix/share/xbmc/"$FILE" -done -echo "Done!" -echo "Copying system files to $prefix/share/xbmc" -# Arch independent files -find language media scripts sounds userdata visualisations system -type f -not -iregex ".*\(svn.*\|\.so\|\.dll\|\.pyd\|python/.*\.zlib\|\.vis\)" -exec install -D -m 0644 "{}" $prefix/share/xbmc/"{}" \; -printf " -- %-75.75f\r" -# Skins -find skin -type f -not -iregex ".*\(svn.*\|^skin/[^/]*/media/.*[^x][^b][^t]\)" -exec install -D -m 0644 '{}' $prefix/share/xbmc/'{}' \; -printf " -- %-75.75f\r" -# Icons and links -mkdir -p $prefix/share/applications $prefix/share/pixmaps -cp -a tools/Linux/xbmc.png $prefix/share/pixmaps/ -cp -a tools/Linux/xbmc.desktop $prefix/share/applications/ -# Install Web -mkdir -p $prefix/share/xbmc/web -cp -r web/Project_Mayhem_III/* $prefix/share/xbmc/web -find $prefix/share/xbmc/web -depth -name .svn -exec rm -rf {} \; -echo "...Complete!" - -cd arm-scripts - -# Cleanup -if [ -e $filename ] -then - rm $filename -fi - -echo "Creating tar file... please wait" -tar cjf $filename usr -rm -r usr -echo "Done! Output: $filename" diff --git a/tools/arm/arm-scripts/install-gcc4.5_armel.sh b/tools/arm/arm-scripts/install-gcc4.5_armel.sh deleted file mode 100644 index b9de9d797c..0000000000 --- a/tools/arm/arm-scripts/install-gcc4.5_armel.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# -# Download and install gcc-4.5 for arm platform. This is a native install -# and not a cross-compiler install. -# - -# The URL sources -URLS="http://ftp.debian.org/debian/pool/main/b/binutils/binutils_2.20.51.20100418-1_armel.deb \ -http://ftp.debian.org/debian/pool/main/g/gcc-4.5/cpp-4.5_4.5-20100321-1_armel.deb \ -http://ftp.debian.org/debian/pool/main/g/gcc-4.5/g++-4.5_4.5-20100321-1_armel.deb \ -http://ftp.debian.org/debian/pool/main/g/gcc-4.5/gcc-4.5_4.5-20100321-1_armel.deb \ -http://ftp.debian.org/debian/pool/main/g/gcc-4.5/gcc-4.5-base_4.5-20100321-1_armel.deb \ -http://ftp.debian.org/debian/pool/main/g/gcc-4.5/libgcc1_4.5-20100321-1_armel.deb \ -http://ftp.debian.org/debian/pool/main/g/gcc-4.5/libgomp1_4.5-20100321-1_armel.deb \ -http://ftp.debian.org/debian/pool/main/g/gcc-4.5/libstdc++6_4.5-20100321-1_armel.deb \ -http://ftp.debian.org/debian/pool/main/g/gcc-4.5/libstdc++6-4.5-dev_4.5-20100321-1_armel.deb \ -http://ftp.debian.org/debian/pool/main/libe/libelf/libelfg0_0.8.13-1_armel.deb" - -# Download them using wget -mkdir -p gcc-4.5-debs -for u in $URLS; do wget --directory-prefix=./gcc-4.5-debs $u; done - -# Install gcc-4.5 -dpkg -i ./gcc-4.5-debs/*.deb - diff --git a/tools/arm/arm-scripts/install-pkgs.sh b/tools/arm/arm-scripts/install-pkgs.sh deleted file mode 100644 index ac4e186c73..0000000000 --- a/tools/arm/arm-scripts/install-pkgs.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/sh - -# A simple script that will automatically download a predefined list of packages, -# skipping over those already downloaded, and then extracting them to root folder / - -echo "#### Beginning Downloads ####" - -# If the temporary pkgs folder has not been created, create it -if [ ! -e pkgs ] -then - mkdir pkgs -fi - -cd pkgs -# Make a copy of the pkg paths text file for manipulation -cp ../pkg-paths.txt ./ - -# Remove lines in the text file that we have already obtained -for i in *.deb -do - sed "/$i/d" pkg-paths.txt > tmpfile - mv tmpfile pkg-paths.txt -done - -# If theres packages left to download, do so. Otherwise, do nothing -if test `cat pkg-paths.txt | wc -l` -gt 0 -then - echo "Downloading:" - cat pkg-paths.txt - wget -i pkg-paths.txt -o ../wget-output.txt -else - echo "#### Nothing to Download or Extract!!! Exiting... ####" - exit -fi - -echo "#### Downloads Complete! Please check wget-output.txt for any errors that may have been encountered! ####" -echo -echo -echo "#### Extracting Packages ####" -# Only install if running from scratchbox!!! (or arm in general) -if test `uname -m` = "arm" -then - # Remove dpkg logfile - if [ -e ../dpkg-output.txt ] - then - rm ../dpkg-output.txt - fi - - for i in `cat pkg-paths.txt` - do - # For each .deb package just downloaded, - # extract the contents to / and redirect the output! - j=`basename $i` - echo "Extracting $j..." - dpkg-deb -x $j / >> ../dpkg-output.txt 2>&1 - done - echo "#### Extraction Complete! Please check dpkg-output.txt for any errors that may have been encountered! ####" -else - echo "#### Extraction FAILED: Did not extract as not running in scratchbox! ####" -fi - diff --git a/tools/arm/arm-scripts/pkg-paths.txt b/tools/arm/arm-scripts/pkg-paths.txt deleted file mode 100644 index 6c9f69410e..0000000000 --- a/tools/arm/arm-scripts/pkg-paths.txt +++ /dev/null @@ -1,66 +0,0 @@ -http://ftp.uk.debian.org/debian/pool/main/b/boost/libboost-dev_1.34.1-14_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libm/libmad/libmad0-dev_0.15.1b-4_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libs/libsamplerate/libsamplerate0-dev_0.1.4-1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libs/libsamplerate/libsamplerate0_0.1.4-1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libv/libvorbis/libvorbis-dev_1.2.0.dfsg-3.1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libv/libvorbis/libvorbisfile3_1.2.0.dfsg-3.1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libv/libvorbis/libvorbis0a_1.2.0.dfsg-3.1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/f/fribidi/libfribidi-dev_0.10.9-1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/m/mysql-dfsg-5.0/libmysqlclient15-dev_5.0.51a-24+lenny1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/p/pcre3/libpcre3-dev_7.6-2.1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/l/lzo2/liblzo2-dev_2.03-1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/l/lzo2/liblzo2-2_2.03-1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libc/libcdio/libcdio-dev_0.78.2+dfsg1-3_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libs/libsdl1.2/libsdl1.2-dev_1.2.13-2_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libs/libsdl1.2/libsdl1.2debian_1.2.13-2_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libs/libsdl1.2/libsdl1.2debian-all_1.2.13-2_armel.deb -http://ftp.uk.debian.org/debian/pool/main/a/arts/libartsc0_1.5.9-2_armel.deb -http://ftp.uk.debian.org/debian/pool/main/e/esound/libesd0_0.2.36-3_armel.deb -http://ftp.uk.debian.org/debian/pool/main/a/audiofile/libaudiofile0_0.2.6-7_armel.deb -http://ftp.uk.debian.org/debian/pool/main/p/pulseaudio/libpulse-dev_0.9.10-3+lenny1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/p/pulseaudio/libpulse0_0.9.10-3+lenny1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/n/nas/libaudio2_1.9.1-5_armel.deb -http://ftp.uk.debian.org/debian/pool/main/d/directfb/libdirectfb-1.0-0_1.0.1-11_armel.deb -http://ftp.uk.debian.org/debian/pool/main/a/aalib/libaa1_1.4p5-37+b1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libc/libcap/libcap1_1.10-14_armel.deb -http://ftp.uk.debian.org/debian/pool/main/liba/libasyncns/libasyncns0_0.3-1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/n/ncurses/libncurses5-dev_5.7+20081213-1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/n/ncurses/libncurses5_5.7+20081213-1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/s/slang2/libslang2_2.1.3-3_armel.deb -http://ftp.uk.debian.org/debian/pool/main/g/gpm/libgpm2_1.20.4-3.1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/s/sdl-mixer1.2/libsdl-mixer1.2-dev_1.2.8-4_armel.deb -http://ftp.uk.debian.org/debian/pool/main/s/sdl-mixer1.2/libsdl-mixer1.2_1.2.8-4_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libm/libmikmod/libmikmod2_3.1.11-a-6_armel.deb -http://ftp.uk.debian.org/debian/pool/main/s/smpeg/libsmpeg0_0.4.5+cvs20030824-2.2_armel.deb -http://ftp.uk.debian.org/debian/pool/main/e/enca/libenca-dev_1.9-6_armel.deb -http://ftp.uk.debian.org/debian/pool/main/e/enca/libenca0_1.9-6_armel.deb -http://ftp.uk.debian.org/debian/pool/main/j/jasper/libjasper-dev_1.900.1-5.1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libm/libmms/libmms-dev_0.4-2_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libm/libmms/libmms0_0.4-2_armel.deb -http://ftp.uk.debian.org/debian/pool/main/c/curl/libcurl4-gnutls-dev_7.18.2-8lenny3_armel.deb -http://ftp.uk.debian.org/debian/pool/main/c/curl/libcurl3-gnutls_7.18.2-8lenny3_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libi/libidn/libidn11_1.8+20080606-1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/o/openldap/libldap-2.4-2_2.4.11-1_armel.deb -http://security.debian.org/debian-security/pool/updates/main/g/gnutls26/libgnutls26_2.4.2-6+lenny2_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libt/libtasn1-3/libtasn1-3_1.4-1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/c/cyrus-sasl2/libsasl2-2_2.1.22.dfsg1-23+lenny1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/k/krb5/libkrb53_1.6.dfsg.4~beta1-5lenny1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/k/keyutils/libkeyutils1_1.2-9_armel.deb -http://ftp.uk.debian.org/debian/pool/main/e/e2fsprogs/libcomerr2_1.41.3-1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/c/cmake/cmake_2.6.0-6_armel.deb -http://ftp.uk.debian.org/debian/pool/main/n/nasm/nasm_2.03.01-1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libj/libjpeg6b/libjpeg62-dev_6b-14_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libj/libjpeg6b/libjpeg62_6b-14_armel.deb -http://ftp.uk.debian.org/debian/pool/main/t/tiff/libtiff4_3.8.2-11_armel.deb -http://ftp.uk.debian.org/debian/pool/main/p/python2.5/python2.5-dev_2.5.2-15_armel.deb -http://ftp.uk.debian.org/debian/pool/main/p/python2.5/python2.5_2.5.2-15_armel.deb -http://ftp.uk.debian.org/debian/pool/main/s/sdl-image1.2/libsdl-image1.2-dev_1.2.6-3_armel.deb -http://ftp.uk.debian.org/debian/pool/main/s/sdl-image1.2/libsdl-image1.2_1.2.6-3_armel.deb -http://security.debian.org/debian-security/pool/updates/main/s/samba/libsmbclient-dev_3.2.5-4lenny7_armel.deb -http://security.debian.org/debian-security/pool/updates/main/s/samba/libsmbclient_3.2.5-4lenny7_armel.deb -http://security.debian.org/debian-security/pool/updates/main/s/samba/libwbclient0_3.2.5-4lenny7_armel.deb -http://ftp.uk.debian.org/debian/pool/main/t/talloc/libtalloc1_1.2.0~git20080616-1_armel.deb -http://ftp.uk.debian.org/debian/pool/main/f/flac/libflac-dev_1.2.1-1.2_armel.deb -http://ftp.uk.debian.org/debian/pool/main/libc/libcdio/libiso9660-dev_0.78.2+dfsg1-3_armel.deb -http://security.debian.org/debian-security/pool/updates/main/d/dbus/libdbus-1-dev_1.2.1-5+lenny1_armel.deb -http://security.debian.org/debian-security/pool/updates/main/d/dbus/libdbus-1-3_1.2.1-5+lenny1_armel.deb |