Skip to content

Commit

Permalink
Add licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
CurlyMoo committed Oct 30, 2012
1 parent 954a665 commit a5ae1cb
Show file tree
Hide file tree
Showing 10 changed files with 847 additions and 10 deletions.
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

22 changes: 21 additions & 1 deletion Docs/CompileKernel.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
#!/bin/bash
#
#Copyright 2012 CurlyMo, Erwin Bovendeur <development@xbian.org>
#Aron Robert Szabo <aron@reon.hu>
#Frank Buss <fb@frank-buss.de>
#
#This file is part of XBian - XBMC on the Raspberry Pi.
#
#XBian 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 3 of the License, or (at your option) any later
#version.
#
#XBian 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 XBian. If not, see <http://www.gnu.org/licenses/>
#

#Download compilation tools from the official raspberry pi github
cd /usr/src
Expand All @@ -16,7 +36,7 @@ cd linux
#Revert tot the version used when building the kernel to ensure success
sudo git checkout 10182a3bc434b27740f81c2b836a1af943060241

#Download the used config from the Xbian github
#Download the used config from the XBian github
sudo wget https://raw.github.com/Koenkk/xbian/master/Patches/kernel/.config

#Symlink the lirc drivers to get the patch working
Expand Down
19 changes: 19 additions & 0 deletions Docs/CompileLirc.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
#!/bin/bash
#
#Copyright 2012 CurlyMo <development@xbian.org>,
#Aron Robert Szabo <aron@reon.hu>
#
#This file is part of XBian - XBMC on the Raspberry Pi.
#
#XBian 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 3 of the License, or (at your option) any later
#version.
#
#XBian 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 XBian. If not, see <http://www.gnu.org/licenses/>
#
cd /usr/src
sudo git clone --depth 5 https://github.com/raspberrypi/tools.git
cd tools
Expand Down
18 changes: 18 additions & 0 deletions Docs/CompileXBMC.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
#
#Copyright 2012 Koen Kanters, Raspbian
#This file is part of XBian - XBMC on the Raspberry Pi.
#
#XBian 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 3 of the License, or (at your option) any later
#version.
#
#XBian 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 XBian. If not, see <http://www.gnu.org/licenses/>
#

# Make sure you alloc mininum amount of memmory to the GPU, this will speed up the compilation time
# Use the xbian user.

Expand Down
18 changes: 18 additions & 0 deletions Docs/Setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
#!/bin/bash
#
#Copyright 2012 CurlyMo, Koen Kanters <development@xbian.org>
#
#This file is part of XBian - XBMC on the Raspberry Pi.
#
#XBian 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 3 of the License, or (at your option) any later
#version.
#
#XBian 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 XBian. If not, see <http://www.gnu.org/licenses/>
#

#Removing unnecessary packages and installing required packages
sudo apt-get update
Expand Down
21 changes: 19 additions & 2 deletions etc/init.d/xbian
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
#! /bin/sh
#!/bin/sh
#
#Copyright 2012 CurlyMo <development@xbian.org>
#
#This file is part of Xbian - XBMC on the Raspberry Pi.
#
#Xbian 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 3 of the License, or (at your option) any later
#version.
#
#Xbian 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 Xbian. If not, see <http://www.gnu.org/licenses/>
#
### BEGIN INIT INFO
# Provides: xbian
# Required-Start: $remote_fs $syslog
Expand All @@ -10,7 +28,6 @@
#
### END INIT INFO

# Author: CurlyMo
NAME=Xbian
DESC="Xbian boot scripts"
VERBOSE=no
Expand Down
21 changes: 19 additions & 2 deletions etc/init.d/xbmc
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
#! /bin/bash
#!/bin/bash
#
#Copyright 2012 CurlyMo <development@xbian.org>
#
#This file is part of Xbian - XBMC on the Raspberry Pi.
#
#Xbian 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 3 of the License, or (at your option) any later
#version.
#
#Xbian 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 Xbian. If not, see <http://www.gnu.org/licenses/>
#
### BEGIN INIT INFO
# Provides: xbmc
# Required-Start: $all
Expand All @@ -10,7 +28,6 @@
#
### END INIT INFO

# Author: CurlyMo
DESC=XBMC
NAME=xbmc.bin
DAEMON=/usr/local/lib/xbmc/$NAME
Expand Down
18 changes: 18 additions & 0 deletions etc/profile.d/hideoutput.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
#!/bin/bash
#
#Copyright 2012 CurlyMo <development@xbian.org>
#
#This file is part of Xbian - XBMC on the Raspberry Pi.
#
#Xbian 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 3 of the License, or (at your option) any later
#version.
#
#Xbian 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 Xbian. If not, see <http://www.gnu.org/licenses/>
#
if [ $(who am i | grep -wo "[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*" | wc -l) -eq 0 ]; then
echo -e '\e[40;30m'
dmesg -n 1
Expand Down
18 changes: 18 additions & 0 deletions etc/profile.d/xbian-config.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
#!/bin/bash
#
#Copyright 2012 CurlyMo <development@xbian.org>
#
#This file is part of Xbian - XBMC on the Raspberry Pi.
#
#Xbian 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 3 of the License, or (at your option) any later
#version.
#
#Xbian 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 Xbian. If not, see <http://www.gnu.org/licenses/>
#
if [ `/usr/bin/id -u` != "0" ]; then
sudo xbian-config
fi
28 changes: 23 additions & 5 deletions usr/local/sbin/xbian-config
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
#!/bin/bash
#
#Copyright 2012 CurlyMo <development@xbian.org>
#
#This file is part of XBian - XBMC on the Raspberry Pi.
#
#XBian 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 3 of the License, or (at your option) any later
#version.
#
#XBian 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 XBian. If not, see <http://www.gnu.org/licenses/>
#
#TODO: Check if packages are already installed

if [ ! $(id -u) -eq 0 ]; then
Expand Down Expand Up @@ -168,7 +186,7 @@ check_rootssh_status() {
}

xbianinfo() {
dialog --backtitle "$BACKTITLE" --title "Xbian Config - Info" --msgbox "This tool provides a straight-forward way of doing initial configuration of Xbian. Although it can be run at any time, some of the options may have difficulties if you have heavily customised your installation." 10 50
dialog --backtitle "$BACKTITLE" --title "XBian Config - Info" --msgbox "This tool provides a straight-forward way of doing initial configuration of XBian. Although it can be run at any time, some of the options may have difficulties if you have heavily customised your installation." 10 50
mainmenu;
}

Expand Down Expand Up @@ -320,7 +338,7 @@ EOF
chmod +x /etc/init.d/resize2fs_once >/dev/null;
update-rc.d resize2fs_once defaults >/dev/null;
fi
dialog --backtitle "Xbian" --title "Config > Settings > Resize SD" --ok-label Close --msgbox "\n\n Root partition has been resized. The\n filesystem will be enlarged upon the\n next reboot." 11 44
dialog --backtitle "XBian" --title "Config > Settings > Resize SD" --ok-label Close --msgbox "\n\n Root partition has been resized. The\n filesystem will be enlarged upon the\n next reboot." 11 44
settings;
}

Expand All @@ -339,7 +357,7 @@ changepass() {
PASS=$(dialog --backtitle "$BACKTITLE" --title "Config > Settings > Change password" --ok-label Change --insecure --passwordbox "Password:" 7 80 3>&1 1>&2 2>&3)
if [ ! -z $PASS ]; then
echo "pi:$PASS" | chpasswd
dialog --backtitle "$BACKTITLE" --title "Config > Settings > Change password" --ok-label Close --msgbox "\n Xbian password succesfully changed" 7 55
dialog --backtitle "$BACKTITLE" --title "Config > Settings > Change password" --ok-label Close --msgbox "\n XBian password succesfully changed" 7 55
fi
settings;
exit 0
Expand Down Expand Up @@ -822,7 +840,7 @@ localpackages() {
tar -zxvf $LOCATION -C / >/dev/null;
installpackage "/tmp/xbianpackages/$NAME.sh" "Packages"
else
dialog --backtitle "$BACKTITLE" --title "Config > Packages" --msgbox "\n File is not a valid Xbian script." 7 50
dialog --backtitle "$BACKTITLE" --title "Config > Packages" --msgbox "\n File is not a valid XBian script." 7 50
localpackages
fi
else
Expand Down Expand Up @@ -853,7 +871,7 @@ packages() {
}
mainmenu() {
RETURN=$(dialog --no-kill --backtitle "$BACKTITLE" --title 'Config' --ok-label Select --cancel-label Exit --menu '' 10 80 5 1 "Info - \"Information about this tool\"" 2 "Settings - \"Change various system settings\"" 3 "Packages - \"Install or remove packages\"" 4 "Update - \"Check for Xbian Updates\"" 3>&1 1>&2 2>&3)
RETURN=$(dialog --no-kill --backtitle "$BACKTITLE" --title 'Config' --ok-label Select --cancel-label Exit --menu '' 10 80 5 1 "Info - \"Information about this tool\"" 2 "Settings - \"Change various system settings\"" 3 "Packages - \"Install or remove packages\"" 4 "Update - \"Check for XBian Updates\"" 3>&1 1>&2 2>&3)
case "$RETURN" in
1)
Expand Down

0 comments on commit a5ae1cb

Please sign in to comment.