Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv

This commit is contained in:
Stephan Raue 2013-10-14 17:27:07 +02:00
commit 5032ebacc2
99 changed files with 166 additions and 1469 deletions

View File

@ -32,12 +32,6 @@ else
LIBCEC_RPI="--disable-rpi"
fi
if [ "$XBMCPLAYER_DRIVER" = "marvell-libgfx" ]; then
LIBCEC_TDA995X="--enable-cubox --with-tda995x-toolkit-path=$(kernel_path)/drivers/video/dovefb/nxp_hdmi"
else
LIBCEC_TDA995X="--disable-cubox"
fi
# dont use some optimizations because of build problems
LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
@ -49,7 +43,7 @@ cd $PKG_BUILD
--disable-static \
--enable-shared \
$LIBCEC_RPI \
$LIBCEC_TDA995X
--disable-cubox
make

View File

@ -1,33 +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
################################################################################
. config/options $1
cd $PKG_BUILD
make -f Makefile_general libbmm.so.0u
mkdir -p $SYSROOT_PREFIX/usr/lib
cp -PR libbmm.so* $SYSROOT_PREFIX/usr/lib
mkdir -p $SYSROOT_PREFIX/usr/include
cp -PR bmm_lib.h $SYSROOT_PREFIX/usr/include

View File

@ -1,29 +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
################################################################################
. config/options $1
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/libbmm.so* $INSTALL/usr/lib
mkdir -p $INSTALL/lib/udev/rules.d
cp -PR $PKG_BUILD/etc/udev/rules.d/*.rules $INSTALL/lib/udev/rules.d

View File

@ -1,36 +0,0 @@
################################################################################
# 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
################################################################################
PKG_NAME="marvell-libbmm"
PKG_VERSION="0.2.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="free to use"
PKG_SITE="http://www.marvell.com"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="system"
PKG_SHORTDESC="marvell-libbmm: Allocate, manage and share large block of physical continuous memory."
PKG_LONGDESC="marvell-libbmm: Allocate, manage and share large block of physical continuous memory."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -1,27 +0,0 @@
diff -Naur libbmm-0.2.0/Makefile_general libbmm-0.2.0.patch/Makefile_general
--- libbmm-0.2.0/Makefile_general 2011-03-07 18:48:46.000000000 +0100
+++ libbmm-0.2.0.patch/Makefile_general 2012-12-24 20:19:47.791960702 +0100
@@ -30,20 +30,20 @@
uninstall-host uninstall-target
.c.o:
- ${CC} -fPIC -o $@ -c $<
+ ${CC} -fPIC ${CFLAGS} -o $@ -c $<
all: compile install-host install-target
compile: bmm_test libbmm.so libbmm.a
bmm_test: libbmm.so.$(ABI_VERSION) ${bmm_test_obj}
- ${CC} -o $@ ${bmm_test_obj} -L. -lbmm
+ ${CC} ${LDLAGS} -o $@ ${bmm_test_obj} -L. -lbmm
libbmm.a: ${bmm_lib_obj}
${AR} -rcs $@ ${bmm_lib_obj}
libbmm.so.$(ABI_VERSION): ${bmm_lib_obj}
- ${CC} -g -s -shared -Wl,-soname,$@ -o $@.$(ABI_REVISION) ${bmm_lib_obj}
+ ${CC} -g -s ${LDFLAGS} -shared -Wl,-soname,$@ -o $@.$(ABI_REVISION) ${bmm_lib_obj}
ln -s $@.$(ABI_REVISION) $@
ln -s $@.$(ABI_REVISION) libbmm.so

View File

@ -1,27 +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
################################################################################
. config/options $1
cd $PKG_BUILD
make libvmeta.so

View File

@ -1,26 +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
################################################################################
. config/options $1
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/libvmeta.so* $INSTALL/usr/lib

View File

@ -1,36 +0,0 @@
################################################################################
# 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
################################################################################
PKG_NAME="marvell-libvmeta"
PKG_VERSION="3.8.3"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="free to use"
PKG_SITE="http://www.marvell.com"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="marvell-libbmm"
PKG_BUILD_DEPENDS="toolchain marvell-libbmm"
PKG_PRIORITY="optional"
PKG_SECTION="system"
PKG_SHORTDESC="marvell-libvmeta: vmeta library on marvell dove platform."
PKG_LONGDESC="marvell-libvmeta: vmeta library on marvell dove platform."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -1,21 +0,0 @@
diff -Naur marvell-libvmeta-3.8.3/Makefile marvell-libvmeta-3.8.3.patch/Makefile
--- marvell-libvmeta-3.8.3/Makefile 2011-03-07 18:51:17.000000000 +0100
+++ marvell-libvmeta-3.8.3.patch/Makefile 2012-12-27 01:14:34.043086675 +0100
@@ -22,7 +22,7 @@
uninstall-host uninstall-target
.c.o:
- ${CC} -fPIC -o $@ -c $<
+ ${CC} ${CFLAGS} -fPIC -o $@ -c $<
all: compile install-host install-target
@@ -32,7 +32,7 @@
${AR} -rcs $@ ${vmeta_lib_obj}
libvmeta.so: ${vmeta_lib_obj}
- ${CC} -g -s -shared -Wl,-soname,$@ -o $@ ${vmeta_lib_obj} -lbmm
+ ${CC} -g -s ${LDFLAGS} -shared -Wl,-soname,$@ -o $@ ${vmeta_lib_obj} -lbmm
clean: clean-local

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="bcm2835-driver"
PKG_VERSION="b4e35f4"
PKG_VERSION="5113ce6"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="nonfree"

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="libdrm"
PKG_VERSION="2.4.46"
PKG_VERSION="2.4.47"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -1,36 +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
################################################################################
. config/options $1
if [ "$TARGET_FLOAT" = "softfp" -o "$TARGET_FLOAT" = "soft" ]; then
LIBGLES_LIBDIR="soft/lib"
elif [ "$TARGET_FLOAT" = "hard" ]; then
LIBGLES_LIBDIR="hard/lib"
fi
cd $PKG_BUILD
mkdir -p $SYSROOT_PREFIX/usr/include
cp -PR include/* $SYSROOT_PREFIX/usr/include
mkdir -p $SYSROOT_PREFIX/usr/lib
cp -PR $LIBGLES_LIBDIR/*.so* $SYSROOT_PREFIX/usr/lib

View File

@ -1,32 +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
################################################################################
. config/options $1
if [ "$TARGET_FLOAT" = "softfp" -o "$TARGET_FLOAT" = "soft" ]; then
LIBGLES_LIBDIR="soft/lib"
elif [ "$TARGET_FLOAT" = "hard" ]; then
LIBGLES_LIBDIR="hard/lib"
fi
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/$LIBGLES_LIBDIR/*.so* $INSTALL/usr/lib

View File

@ -1,36 +0,0 @@
################################################################################
# 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
################################################################################
PKG_NAME="marvell-libgfx"
PKG_VERSION="20121001"
PKG_REV="1"
PKG_ARCH="arm"
PKG_LICENSE="nonfree"
PKG_SITE="http://www.marvell.com"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="libXfixes libXdamage"
PKG_BUILD_DEPENDS="toolchain libXfixes libXdamage"
PKG_PRIORITY="optional"
PKG_SECTION="graphics"
PKG_SHORTDESC="marvell-libgfx: OpenGL-ES and OpenMAX driver for Marvell Dove"
PKG_LONGDESC="marvell-libgfx: OpenGL-ES and OpenMAX driver for Marvell Dove"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -47,5 +47,4 @@ if [ "$PERF_SUPPORT" = "yes" -a "$DEVTOOLS" = "yes" ]; then
cp -rP $PKG_BUILD/tools/perf/scripts/python/* $INSTALL/usr/libexec/perf-core/scripts/python/
fi
enable_service cpupower-start.service
enable_service cpupower-end.timer
enable_service cpufreq-threshold.service

View File

@ -19,26 +19,8 @@
################################################################################
PKG_NAME="linux"
case "$LINUX" in
AMLm1)
PKG_VERSION="AMLm1-2.6.34-1405682"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
;;
AMLm3)
PKG_VERSION="AMLm3-2.6.34-7fe1265"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
;;
ti-omap4)
PKG_VERSION="2.6.38-ti-omap4"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
;;
*)
PKG_VERSION="3.11.4"
PKG_VERSION="3.11.5"
PKG_URL="http://www.kernel.org/pub/linux/kernel/v3.x/$PKG_NAME-$PKG_VERSION.tar.xz"
;;
esac
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -0,0 +1,11 @@
[Unit]
Description=Set ondemand threshold
DefaultDependencies=false
[Service]
Type=oneshot
ExecStart=-/bin/sh -c 'echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold'
RemainAfterExit=yes
[Install]
WantedBy=basic.target

View File

@ -1,12 +0,0 @@
[Unit]
Description=Set cpupower to ondemand
DefaultDependencies=false
[Service]
Type=oneshot
ExecStart=-/bin/sh -c 'for i in /sys/devices/system/cpu/*/cpufreq/scaling_governor; do printf "ondemand" > $i; done'
ExecStartPost=-/bin/sh -c 'echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold'
RemainAfterExit=yes
[Install]
WantedBy=basic.target

View File

@ -1,8 +0,0 @@
[Unit]
Description=Set cpupower to ondemand
[Timer]
OnBootSec=40sec
[Install]
WantedBy=basic.target

View File

@ -1,11 +0,0 @@
[Unit]
Description=Set cpupower to performance
DefaultDependencies=false
[Service]
Type=oneshot
ExecStart=-/bin/sh -c 'for i in /sys/devices/system/cpu/*/cpufreq/scaling_governor; do printf "performance" > $i; done'
RemainAfterExit=yes
[Install]
WantedBy=basic.target

View File

@ -275,12 +275,6 @@ if [ ! "$XBMCPLAYER_DRIVER" = default ]; then
-I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux"
XBMC_CFLAGS="$XBMC_CFLAGS $BCM2835_INCLUDES"
XBMC_CXXFLAGS="$XBMC_CXXFLAGS $BCM2835_INCLUDES"
elif [ "$XBMCPLAYER_DRIVER" = "marvell-libgfx" ]; then
PKG_BUILD_DEPENDS_TARGET="$PKG_BUILD_DEPENDS_TARGET marvell-ipp"
PKG_DEPENDS="$PKG_DEPENDS marvell-ipp"
XBMC_OPENMAX="--disable-openmax"
XBMC_PLAYER="--with-platform=marvell-dove"
XBMC_CODEC=""
else
XBMC_OPENMAX="--disable-openmax"
fi

View File

@ -1,44 +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
################################################################################
. config/options $1
if [ "$TARGET_FLOAT" = "softfp" -o "$TARGET_FLOAT" = "soft" ]; then
VMETA_LIBDIR="vmeta/soft/lib"
elif [ "$TARGET_FLOAT" = "hard" ]; then
VMETA_LIBDIR="vmeta/hard/lib"
fi
# dont build parallel
MAKEFLAGS=-j1
cd $PKG_BUILD
cd example/misc/build/wmmx2_linux
make -f makefile_miscGen
cd -
mkdir -p $SYSROOT_PREFIX/usr/include/marvell-ipp
cp -PR include/* $SYSROOT_PREFIX/usr/include/marvell-ipp
mkdir -p $SYSROOT_PREFIX/usr/lib
cp -P lib/libmiscgen.so $SYSROOT_PREFIX/usr/lib
cp -PR $VMETA_LIBDIR/*.so* $SYSROOT_PREFIX/usr/lib

View File

@ -1,37 +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
################################################################################
. config/options $1
if [ "$TARGET_FLOAT" = "softfp" -o "$TARGET_FLOAT" = "soft" ]; then
VMETA_LIBDIR="vmeta/soft/lib"
elif [ "$TARGET_FLOAT" = "hard" ]; then
VMETA_LIBDIR="vmeta/hard/lib"
fi
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/$VMETA_LIBDIR/*.so* $INSTALL/usr/lib
cp -P $PKG_BUILD/lib/libmiscgen.so $INSTALL/usr/lib
mkdir -p $INSTALL/lib/udev/rules.d
cp -PR $PKG_BUILD/etc/*.rules $INSTALL/lib/udev/rules.d

View File

@ -1,36 +0,0 @@
################################################################################
# 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
################################################################################
PKG_NAME="marvell-ipp"
PKG_VERSION="0.2.1"
PKG_REV="1"
PKG_ARCH="arm"
PKG_LICENSE="nonfree"
PKG_SITE="http://www.marvell.com"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="marvell-libvmeta"
PKG_BUILD_DEPENDS="toolchain marvell-libvmeta"
PKG_PRIORITY="optional"
PKG_SECTION="multimedia"
PKG_SHORTDESC="marvell-ipp: Marvell IPP Codecs"
PKG_LONGDESC="marvell-ipp: Marvell IPP Codecs"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -1,41 +0,0 @@
diff -Naur marvell-ipp-0.2.1/example/Rules.make marvell-ipp-0.2.1.patch/example/Rules.make
--- marvell-ipp-0.2.1/example/Rules.make 2011-03-07 18:51:40.000000000 +0100
+++ marvell-ipp-0.2.1.patch/example/Rules.make 2012-12-26 23:48:51.811467005 +0100
@@ -28,26 +28,26 @@
#PATH_GNU_BIN=/usr/local/arm-marvell-linux-gnueabi/bin
PATH_GNU_BIN=/usr/local/arm-marvell-linux-gnueabi-4.4.4/bin
TOOLCHAIN_PREFIX=arm-marvell-linux-gnueabi
-CFLAGS= -mcpu=marvell-f
+#CFLAGS= -mcpu=marvell-f
endif
#==============================================================================
# GNU binaries (server admin update)
#==============================================================================
-CC=$(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-gcc
-CXX=$(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-gcc
-AR=$(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-ar
-AS=$(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-as
-LN=$(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-gcc
+CC ?= $(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-gcc
+CXX?= $(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-gcc
+AR ?= $(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-ar
+AS ?= $(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-as
+LN ?= $(PATH_GNU_BIN)/$(TOOLCHAIN_PREFIX)-gcc
#==============================================================================
# GNU build options: (build engineer update)
#==============================================================================
-CFLAGS+= -O3 -Wall -mabi=aapcs-linux -fPIC -D_IPP_LINUX
-CXXFLAGS= $(CFLAGS)
-ASFLAGS= -k -mcpu=iwmmxt2
-ARFLAGS=
-LNFLAGS= -lpthread -ldl -lm -lrt $(PGO_FLAGS) -Wl,-R ./
+CFLAGS += -O3 -Wall -mabi=aapcs-linux -fPIC -D_IPP_LINUX
+CXXFLAGS ?= $(CFLAGS)
+ASFLAGS ?= -k -mcpu=iwmmxt2
+ARFLAGS =
+LNFLAGS ?= -lpthread -ldl -lm -lrt $(PGO_FLAGS) -Wl,-R ./
#==============================================================================
# User root path (user update)

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="connman"
PKG_VERSION="1.18"
PKG_VERSION="1.19"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -1,8 +1,8 @@
diff --git a/Makefile.am b/Makefile.am
index 4b1b6c2..d518d5d 100644
index 5efa811..054d7ee 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -172,6 +172,7 @@ endif
@@ -184,6 +184,7 @@ endif
endif
AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ @XTABLES_CFLAGS@ \
@ -11,10 +11,10 @@ index 4b1b6c2..d518d5d 100644
-DCONNMAN_PLUGIN_BUILTIN \
-DSTATEDIR=\""$(statedir)"\" \
diff --git a/configure.ac b/configure.ac
index cff8b47..626137a 100644
index 27add27..808611c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -357,13 +357,17 @@ AM_CONDITIONAL(CLIENT, test "${enable_client}" != "no")
@@ -345,12 +345,15 @@ AM_CONDITIONAL(CLIENT, test "${enable_client}" != "no")
if (test "${enable_wispr}" != "no"); then
PKG_CHECK_MODULES(GNUTLS, gnutls, dummy=yes,
AC_MSG_ERROR(GnuTLS library is required))
@ -26,17 +26,15 @@ index cff8b47..626137a 100644
fi
AC_SUBST(GNUTLS_CFLAGS)
AC_SUBST(GNUTLS_LIBS)
+AC_SUBST(WISPR_CFLAGS)
+
if (test "${enable_loopback}" != "no"); then
AC_CHECK_HEADERS(sys/inotify.h, dummy=yes,
AC_MSG_ERROR(inotify header files are required))
diff --git a/src/main.c b/src/main.c
index 0d58fc4..9c3b79e 100644
index 5eeade5..20653d3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -689,7 +689,9 @@ int main(int argc, char *argv[])
@@ -681,7 +681,9 @@ int main(int argc, char *argv[])
__connman_dhcp_init();
__connman_dhcpv6_init();
__connman_wpad_init();
@ -46,7 +44,7 @@ index 0d58fc4..9c3b79e 100644
__connman_rfkill_init();
g_free(option_config);
@@ -703,7 +705,9 @@ int main(int argc, char *argv[])
@@ -695,7 +697,9 @@ int main(int argc, char *argv[])
g_source_remove(signal);
__connman_rfkill_cleanup();
@ -57,10 +55,10 @@ index 0d58fc4..9c3b79e 100644
__connman_dhcpv6_cleanup();
__connman_dhcp_cleanup();
diff --git a/src/service.c b/src/service.c
index bba548e..39ffda2 100644
index 45d817e..94cb197 100644
--- a/src/service.c
+++ b/src/service.c
@@ -3155,6 +3155,7 @@ static DBusMessage *set_property(DBusConnection *conn,
@@ -3164,6 +3164,7 @@ static DBusMessage *set_property(DBusConnection *conn,
update_nameservers(service);
dns_configuration_changed(service);
@ -68,15 +66,15 @@ index bba548e..39ffda2 100644
if (__connman_service_is_connected_state(service,
CONNMAN_IPCONFIG_TYPE_IPV4))
__connman_wispr_start(service,
@@ -3164,6 +3165,7 @@ static DBusMessage *set_property(DBusConnection *conn,
@@ -3173,6 +3174,7 @@ static DBusMessage *set_property(DBusConnection *conn,
CONNMAN_IPCONFIG_TYPE_IPV6))
__connman_wispr_start(service,
CONNMAN_IPCONFIG_TYPE_IPV6);
+#endif
service_save(service);
} else if (g_str_equal(name, "Timeservers.Configuration") == TRUE) {
@@ -4272,7 +4274,9 @@ static void service_free(gpointer user_data)
} else if (g_str_equal(name, "Timeservers.Configuration")) {
@@ -4352,7 +4354,9 @@ static void service_free(gpointer user_data)
__connman_notifier_service_remove(service);
service_schedule_removed(service);
@ -86,18 +84,17 @@ index bba548e..39ffda2 100644
stats_stop(service);
service->path = NULL;
@@ -5236,8 +5240,9 @@ static int service_indicate_state(struct connman_service *service)
@@ -5331,7 +5335,9 @@ static int service_indicate_state(struct connman_service *service)
default_changed();
+#ifdef ENABLE_WISPR
__connman_wispr_stop(service);
-
+#endif
__connman_wpad_stop(service);
update_nameservers(service);
@@ -5386,7 +5391,11 @@ static void check_proxy_setup(struct connman_service *service)
@@ -5498,7 +5504,11 @@ static void check_proxy_setup(struct connman_service *service)
return;
done:
@ -109,28 +106,34 @@ index bba548e..39ffda2 100644
}
/*
@@ -5448,7 +5457,9 @@ static gboolean redo_wispr(gpointer user_data)
DBG("");
@@ -5554,6 +5564,7 @@ static void service_rp_filter(struct connman_service *service,
connected_networks_count, original_rp_filter);
}
+#ifdef ENABLE_WISPR
__connman_wispr_start(service, CONNMAN_IPCONFIG_TYPE_IPV6);
+#endif
static gboolean redo_wispr(gpointer user_data)
{
struct connman_service *service = user_data;
@@ -5569,6 +5580,7 @@ static gboolean redo_wispr(gpointer user_data)
return FALSE;
}
@@ -5474,7 +5485,9 @@ int __connman_service_online_check_failed(struct connman_service *service,
+#endif
int __connman_service_online_check_failed(struct connman_service *service,
enum connman_ipconfig_type type)
@@ -5591,7 +5603,9 @@ int __connman_service_online_check_failed(struct connman_service *service,
* necessary IPv6 router advertisement messages that might have
* DNS data etc.
*/
+#ifdef ENABLE_WISPR
g_timeout_add_seconds(1, redo_wispr, service);
g_timeout_add_seconds(1, redo_wispr, connman_service_ref(service));
+#endif
return EAGAIN;
}
@@ -5529,7 +5542,9 @@ int __connman_service_ipconfig_indicate_state(struct connman_service *service,
service_rp_filter(service, TRUE);
@@ -5646,7 +5660,9 @@ int __connman_service_ipconfig_indicate_state(struct connman_service *service,
service_rp_filter(service, true);
} else {
service->online_check_count = 1;
+#ifdef ENABLE_WISPR
@ -140,7 +143,7 @@ index bba548e..39ffda2 100644
break;
case CONNMAN_SERVICE_STATE_ONLINE:
diff --git a/src/wpad.c b/src/wpad.c
index 4e5834e..8be310f 100644
index d40959b..62faf92 100644
--- a/src/wpad.c
+++ b/src/wpad.c
@@ -85,8 +85,10 @@ static void wpad_result(GResolvResultStatus status,

View File

@ -0,0 +1,36 @@
commit aa1536de73a383ca64f2bd325ec2844679a269c2
Author: Stefan Saraev <stefan@saraev.ca>
Date: Sat Oct 12 18:08:59 2013 +0300
use /sbin/ip for routing
diff --git a/routing.c b/routing.c
index ab20a03..7fb4277 100644
--- a/routing.c
+++ b/routing.c
@@ -55,7 +55,7 @@ regardless (not yet implemented).
void routing_init(char *ip) {
char buf[256];
- snprintf(buf, 255, "/bin/ip route get %s", ip);
+ snprintf(buf, 255, "/sbin/ip route get %s", ip);
FILE *p = popen(buf, "r");
fgets(buf, 255, p);
/* TODO: check for failure of fgets */
@@ -66,14 +66,14 @@ void routing_init(char *ip) {
void routing_start() {
char buf[256];
- snprintf(buf, 255, "/bin/ip route replace %s", route);
+ snprintf(buf, 255, "/sbin/ip route replace %s", route);
FILE *p = popen(buf, "r");
pclose(p);
}
void routing_end() {
char buf[256];
- snprintf(buf, 255, "/bin/ip route delete %s", route);
+ snprintf(buf, 255, "/sbin/ip route delete %s", route);
FILE *p = popen(buf, "r");
pclose(p);
}

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="bcm2835-bootloader"
PKG_VERSION="b4e35f4"
PKG_VERSION="5113ce6"
PKG_REV="1"
PKG_ARCH="arm"
PKG_LICENSE="nonfree"

View File

@ -41,12 +41,6 @@ fi
cd $PKG_BUILD
if [ "$UBOOT_VERSION" = "aml" ]; then
rm -f tools/ucl/libucl_linux.lib
make -C tools/ucl/ucl_cygwin_prj/
cp -f tools/ucl/ucl_cygwin_prj/objs/libucl.a tools/ucl/libucl_linux.lib
fi
make CROSS_COMPILE="$TARGET_PREFIX" ARCH="$TARGET_ARCH" $UBOOT_CONFIG
make CROSS_COMPILE="$TARGET_PREFIX" ARCH="$TARGET_ARCH" HOSTCC="$HOST_CC" HOSTSTRIP="true"

View File

@ -27,11 +27,7 @@ if [ -z "$UBOOT_CONFIGFILE" ]; then
fi
mkdir -p $INSTALL/usr/share/u-boot
if [ "$UBOOT_VERSION" = "aml" ]; then
cp $PKG_BUILD/build/u-boot-aml-ucl.bin $INSTALL/usr/share/u-boot/spi_M3_512.bin
else
cp $PKG_BUILD/u-boot.bin $INSTALL/usr/share/u-boot
fi
if [ -f "$PKG_BUILD/MLO" ]; then
cp $PKG_BUILD/MLO $INSTALL/usr/share/u-boot

View File

@ -19,15 +19,7 @@
################################################################################
PKG_NAME="u-boot"
if [ "$UBOOT_VERSION" = "aml" ]; then
PKG_VERSION="aml-50dba31"
PKG_SITE="https://github.com/Pivosgroup/buildroot-uboot"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
elif [ "$UBOOT_VERSION" = "cubox" ]; then
PKG_VERSION="cubox-f826edd"
PKG_SITE="https://github.com/rabeeh/u-boot/tree/"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
else
if [ "$UBOOT_VERSION" = "default" ]; then
PKG_VERSION="2011.03-rc1"
PKG_SITE="http://www.denx.de/wiki/U-Boot/WebHome"
PKG_URL="ftp://ftp.denx.de/pub/u-boot/$PKG_NAME-$PKG_VERSION.tar.bz2"

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="xf86-input-evdev"
PKG_VERSION="2.8.1"
PKG_VERSION="2.8.2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"

View File

@ -1,60 +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
################################################################################
. config/options $1
xorg_drv_configure_prepend
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_SUPPORT_RANDR=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_SUPPORT_EXA=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DDUMP_RAW_VIDEO=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_USE_OFFSCREEN_HEAP=0"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_MODE=2"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_ENABLE_UP_DOWNLOAD=0"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_FORCE_HW_LOAD=0"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_ALLOC_PIXMAP_FROM_SYSTEM=0"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_PERF_PROFILING=0"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_TRACE_FALLBACK=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_EXA_XBGR_SUPPORT=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_XV_SUPPORT_RGB_FORMAT=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_XV_TEX_VIDEO=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_XV_OVERLAY_VIDEO=2"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_XV_DEFERRED_STALL_GPU=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_XV_USE_FAKE_FENCE_STALL=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_RANDR_EDID_MODES=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_CRTC_SUPPORT_ROTATION=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_PLATFORM_INFO=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_XV_MIXED_VIDEO=1"
MARVEL_CFLAGS="$MARVEL_CFLAGS -DMRVL_SOURCE_VERSION='\"0.1.0\"'"
CFLAGS="$CFLAGS $MARVEL_CFLAGS -I$SYSROOT_PREFIX/usr/include/HAL"
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--enable-shared \
--disable-static \
--with-xorg-module-dir=$XORG_PATH_MODULES
make

View File

@ -1,41 +0,0 @@
Section "Monitor"
Identifier "HDMI"
Option "Position" "0 0"
Option "Enable" "true"
Option "PreferredMode" "1920x1080"
# Option "PreferredMode" "1280x720"
# Option "PreferredMode" "1024x768"
# Option "PreferredMode" "640x480"
# Option "PreferredMode" "800x600"
EndSection
Section "Device"
Identifier "Driver0"
Screen 0
Driver "dovefb"
Option "debug" "TRUE"
Option "ExaAccel" "FALSE"
Option "Solid" "TRUE"
Option "Copy" "TRUE"
Option "Composite" "FALSE"
Option "SWSolid" "FALSE"
Option "SWCopy" "FALSE"
Option "Commit" "FALSE"
Option "XvAccel" "TRUE"
Option "HWCursor" "FALSE"
Option "EncFunc" "7"
Option "UseDriverBuiltInMode" "TRUE"
Option "EnableDualDisplay" "FALSE"
EndSection
Section "Screen"
Device "Driver0"
Monitor "HDMI"
Identifier "Screen"
# DefaultDepth 24
# DefaultFbBpp 24
SubSection "Display"
Viewport 0 0
Virtual 2048 2048
EndSubSection
EndSection

View File

@ -1,29 +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
################################################################################
. config/options $1
mkdir -p $INSTALL/$XORG_PATH_MODULES/drivers
cp -P $PKG_BUILD/src/.libs/dovefb_drv.so $INSTALL/$XORG_PATH_MODULES/drivers
mkdir -p $INSTALL/etc/X11
cp $PKG_DIR/config/*.conf $INSTALL/etc/X11

View File

@ -1,36 +0,0 @@
################################################################################
# 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
################################################################################
PKG_NAME="xf86-video-dove"
PKG_VERSION="0.3.4"
PKG_REV="1"
PKG_ARCH="arm"
PKG_LICENSE="OSS"
PKG_SITE="http://www.solid-run.com"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="marvell-libgfx"
PKG_BUILD_DEPENDS="toolchain randrproto renderproto videoproto xproto fontsproto marvell-libgfx xorg-server"
PKG_PRIORITY="optional"
PKG_SECTION="x11/driver"
PKG_SHORTDESC="xf86-video-dove: The Xorg driver for Marvell Dove video chips"
PKG_LONGDESC="The Xorg driver for Marvell Dove video chips."
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"

View File

@ -1,12 +0,0 @@
diff -Naur xf86-video-dove-0.3.4/configure.ac xf86-video-dove-0.3.4.patch/configure.ac
--- xf86-video-dove-0.3.4/configure.ac 2011-03-07 18:52:09.000000000 +0100
+++ xf86-video-dove-0.3.4.patch/configure.ac 2013-01-22 13:30:57.420372292 +0100
@@ -27,7 +27,7 @@
xf86-video-mrvl)
AC_CONFIG_SRCDIR([Makefile.am])
-AM_CONFIG_HEADER([config.h])
+AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR(.)
AM_INIT_AUTOMAKE([dist-bzip2])

View File

@ -1,12 +0,0 @@
diff -Naur xf86-video-dove-0.3.4/src/Makefile.am xf86-video-dove-0.3.4.patch/src/Makefile.am
--- xf86-video-dove-0.3.4/src/Makefile.am 2011-03-07 18:52:09.000000000 +0100
+++ xf86-video-dove-0.3.4.patch/src/Makefile.am 2013-01-01 03:58:19.411541528 +0100
@@ -24,7 +24,7 @@
# _ladir passes a dummy rpath to libtool so the thing will actually link
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
-INCLUDES = -I/usr/include/HAL -I$(top_srcdir)/src/video
+INCLUDES = -I$(top_srcdir)/src/video
AM_CFLAGS = @XORG_CFLAGS@
dovefb_drv_la_LTLIBRARIES = dovefb_drv.la

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="xf86-video-intel"
PKG_VERSION="2.99.903"
PKG_VERSION="2.99.904"
PKG_REV="1"
PKG_ARCH="i386 x86_64"
PKG_LICENSE="OSS"

View File

@ -0,0 +1,68 @@
From f0bd716425d1514b62565f9a65397cd1cb2ffb3a Mon Sep 17 00:00:00 2001
From: Chris Wilson <chris@chris-wilson.co.uk>
Date: Thu, 10 Oct 2013 15:22:45 +0000
Subject: sna: Sanitize output->crtc before falling back oto xf86InitialConfiguration
During initialisation, we stash the currently attached CRTC id in
output->crtc. This is fine as ordinarily we would not dereference
output->crtc until after it had been assigned a real CRTC. However,
commit 6fda305e2f2f991b39d09e67d0b17c8c3d50f9a4
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Wed Oct 9 15:59:42 2013 +0100
sna: Append the current mode to the output list if not found
introduces such an early dereference and causes a crash if we fail to
probe the KMS configuration (usually due to a user override).
Reported-by: Łukasz Maśko <ed@yen.ipipan.waw.pl>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 71c4c60..27a4467 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -3225,8 +3225,10 @@ static bool sna_probe_initial_configuration(struct sna *sna)
xf86OutputPtr output = config->output[i];
uint32_t crtc_id;
- if (to_sna_output(output) == NULL)
+ if (to_sna_output(output) == NULL) {
+ assert(output->crtc == NULL);
continue;
+ }
crtc_id = (uintptr_t)output->crtc;
output->crtc = NULL;
@@ -3321,6 +3323,16 @@ static bool sna_probe_initial_configuration(struct sna *sna)
}
static void
+sanitize_outputs(struct sna *sna)
+{
+ xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(sna->scrn);
+ int i;
+
+ for (i = 0; i < config->num_output; i++)
+ config->output[i]->crtc = NULL;
+}
+
+static void
sna_crtc_config_notify(ScreenPtr screen)
{
DBG(("%s\n", __FUNCTION__));
@@ -3372,8 +3384,10 @@ bool sna_mode_pre_init(ScrnInfoPtr scrn, struct sna *sna)
if (!sna_mode_fake_init(sna, num_fake))
return false;
- if (!sna_probe_initial_configuration(sna))
+ if (!sna_probe_initial_configuration(sna)) {
+ sanitize_outputs(sna);
xf86InitialConfiguration(scrn, TRUE);
+ }
sna_setup_provider(scrn);
return scrn->modes != NULL;
--
cgit v0.9.0.2-2-gbebe

View File

@ -97,7 +97,7 @@
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="syslinux"
# u-boot version to use (default / aml / cubox)
# u-boot version to use (default)
UBOOT_VERSION="default"
# Configuration for u-boot
@ -111,7 +111,6 @@
# Kernel to use. values can be:
# default: default mainline kernel
# ti-omap4: Ti's OMAP4 kernel
LINUX="default"
# use linux-next (latest rc) instead latest released version

View File

@ -97,7 +97,7 @@
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="atv-bootloader"
# u-boot version to use (default / aml / cubox)
# u-boot version to use (default)
UBOOT_VERSION="default"
# Configuration for u-boot
@ -111,7 +111,6 @@
# Kernel to use. values can be:
# default: default mainline kernel
# ti-omap4: Ti's OMAP4 kernel
LINUX="default"
# use linux-next (latest rc) instead latest released version

View File

@ -2845,7 +2845,7 @@ CONFIG_SND_INTEL8X0=m
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
CONFIG_SND_RME9652=m
# CONFIG_SND_SIS7019 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set

View File

@ -2813,7 +2813,7 @@ CONFIG_SND_INTEL8X0=m
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
CONFIG_SND_RME9652=m
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set

View File

@ -97,7 +97,7 @@
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="syslinux"
# u-boot version to use (default / aml / cubox)
# u-boot version to use (default)
UBOOT_VERSION="default"
# Configuration for u-boot
@ -111,7 +111,6 @@
# Kernel to use. values can be:
# default: default mainline kernel
# ti-omap4: Ti's OMAP4 kernel
LINUX="default"
# use linux-next (latest rc) instead latest released version

View File

@ -97,7 +97,7 @@
# Bootloader to use (syslinux / u-boot / atv-bootloader / bcm2835-bootloader)
BOOTLOADER="bcm2835-bootloader"
# u-boot version to use (default / aml / cubox)
# u-boot version to use (default)
UBOOT_VERSION="default"
# Configuration for u-boot
@ -111,7 +111,6 @@
# Kernel to use. values can be:
# default: default mainline kernel
# ti-omap4: Ti's OMAP4 kernel
LINUX="default"
# use linux-next (latest rc) instead latest released version

View File

@ -92,7 +92,7 @@
# Bootloader to use (syslinux / u-boot / atv-bootloader)
BOOTLOADER="syslinux"
# u-boot version to use (default / aml / cubox)
# u-boot version to use (default)
UBOOT_VERSION="default"
# Configuration for u-boot
@ -106,7 +106,6 @@
# Kernel to use. values can be:
# default: default mainline kernel
# ti-omap4: Ti's OMAP4 kernel
LINUX="default"
# use linux-next (latest rc) instead latest released version

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 u-boot-aml.git ]; then
git clone git://github.com/Pivosgroup/buildroot-uboot.git u-boot-aml.git
fi
cd u-boot-aml.git
git pull
GIT_REV=`git log -n1 --format=%h`
cd ..
echo "copying sources..."
rm -rf u-boot-aml-$GIT_REV
cp -R u-boot-aml.git u-boot-aml-$GIT_REV
echo "cleaning sources..."
rm -rf u-boot-aml-$GIT_REV/.git
echo "packing sources..."
tar cvJf u-boot-aml-$GIT_REV.tar.xz u-boot-aml-$GIT_REV
echo "remove temporary sourcedir..."
rm -rf u-boot-aml-$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