mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
remove unneeded packages
This commit is contained in:
parent
ab8f156838
commit
1060fb5dac
@ -1,47 +0,0 @@
|
|||||||
diff -Naur mesa-7.1rc1-20080706.orig/bin/mklib mesa-7.1rc1-20080706/bin/mklib
|
|
||||||
--- mesa-7.1rc1-20080706.orig/bin/mklib 2008-07-06 14:09:54.000000000 +0200
|
|
||||||
+++ mesa-7.1rc1-20080706/bin/mklib 2008-07-06 14:11:03.000000000 +0200
|
|
||||||
@@ -211,9 +211,9 @@
|
|
||||||
if [ "x$LINK" = "x" ] ; then
|
|
||||||
# -linker was not specified so set default link command now
|
|
||||||
if [ $CPLUSPLUS = 1 ] ; then
|
|
||||||
- LINK=g++
|
|
||||||
+ LINK=$CXX
|
|
||||||
else
|
|
||||||
- LINK=gcc
|
|
||||||
+ LINK=$CC
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
diff -Naur mesa-7.1rc1-20080706.orig/configs/linux-dri mesa-7.1rc1-20080706/configs/linux-dri
|
|
||||||
--- mesa-7.1rc1-20080706.orig/configs/linux-dri 2008-07-06 14:09:54.000000000 +0200
|
|
||||||
+++ mesa-7.1rc1-20080706/configs/linux-dri 2008-07-06 14:16:00.000000000 +0200
|
|
||||||
@@ -14,6 +14,7 @@
|
|
||||||
#MKDEP_OPTIONS = -MF depend
|
|
||||||
|
|
||||||
OPT_FLAGS = -O -g
|
|
||||||
+HOST_OPT_FLAGS = $(OPT_FLAGS)
|
|
||||||
PIC_FLAGS = -fPIC
|
|
||||||
|
|
||||||
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support.
|
|
||||||
@@ -29,6 +30,8 @@
|
|
||||||
|
|
||||||
CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \
|
|
||||||
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
|
|
||||||
+HOST_CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \
|
|
||||||
+ $(HOST_OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
|
|
||||||
|
|
||||||
CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
|
||||||
|
|
||||||
diff -Naur mesa-7.1rc1-20080706.orig/src/mesa/x86/Makefile mesa-7.1rc1-20080706/src/mesa/x86/Makefile
|
|
||||||
--- mesa-7.1rc1-20080706.orig/src/mesa/x86/Makefile 2008-07-06 14:09:54.000000000 +0200
|
|
||||||
+++ mesa-7.1rc1-20080706/src/mesa/x86/Makefile 2008-07-06 14:15:00.000000000 +0200
|
|
||||||
@@ -21,7 +21,7 @@
|
|
||||||
|
|
||||||
|
|
||||||
gen_matypes: gen_matypes.c
|
|
||||||
- $(CC) $(INCLUDE_DIRS) $(CFLAGS) gen_matypes.c -o gen_matypes
|
|
||||||
+ $(HOST_CC) $(INCLUDE_DIRS) $(HOST_CFLAGS) gen_matypes.c -o gen_matypes
|
|
||||||
|
|
||||||
# need some special rules here, unfortunately
|
|
||||||
matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes
|
|
@ -1,105 +0,0 @@
|
|||||||
diff -Naur mesa-7.1.orig/src/mesa/drivers/directfb/Makefile mesa-7.1/src/mesa/drivers/directfb/Makefile
|
|
||||||
--- mesa-7.1.orig/src/mesa/drivers/directfb/Makefile 2008-08-30 17:04:52.000000000 +0200
|
|
||||||
+++ mesa-7.1/src/mesa/drivers/directfb/Makefile 2008-08-30 17:12:21.000000000 +0200
|
|
||||||
@@ -25,7 +25,7 @@
|
|
||||||
|
|
||||||
DIRECTFBGL_MESA = libidirectfbgl_mesa.so
|
|
||||||
|
|
||||||
-LIBS = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mesa/libglapi.a
|
|
||||||
+LIBS = $(TOP)/src/mesa/libmesa.so $(TOP)/src/mesa/libglapi.so
|
|
||||||
|
|
||||||
|
|
||||||
.c.o:
|
|
||||||
diff -Naur mesa-7.1.orig/src/mesa/drivers/dri/Makefile.template mesa-7.1/src/mesa/drivers/dri/Makefile.template
|
|
||||||
--- mesa-7.1.orig/src/mesa/drivers/dri/Makefile.template 2008-08-30 17:04:52.000000000 +0200
|
|
||||||
+++ mesa-7.1/src/mesa/drivers/dri/Makefile.template 2008-08-30 17:07:18.000000000 +0200
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
# -*-makefile-*-
|
|
||||||
|
|
||||||
-MESA_MODULES = $(TOP)/src/mesa/libmesa.a
|
|
||||||
+MESA_MODULES = $(TOP)/src/mesa/libmesa.so
|
|
||||||
|
|
||||||
COMMON_SOURCES = \
|
|
||||||
../common/utils.c \
|
|
||||||
diff -Naur mesa-7.1.orig/src/mesa/drivers/fbdev/Makefile mesa-7.1/src/mesa/drivers/fbdev/Makefile
|
|
||||||
--- mesa-7.1.orig/src/mesa/drivers/fbdev/Makefile 2008-08-30 17:04:52.000000000 +0200
|
|
||||||
+++ mesa-7.1/src/mesa/drivers/fbdev/Makefile 2008-08-30 17:08:06.000000000 +0200
|
|
||||||
@@ -14,7 +14,7 @@
|
|
||||||
-I$(TOP)/src/mesa \
|
|
||||||
-I$(TOP)/src/mesa/main
|
|
||||||
|
|
||||||
-CORE_MESA = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mesa/libglapi.a
|
|
||||||
+CORE_MESA = $(TOP)/src/mesa/libmesa.so $(TOP)/src/mesa/libglapi.so
|
|
||||||
|
|
||||||
|
|
||||||
.c.o:
|
|
||||||
diff -Naur mesa-7.1.orig/src/mesa/drivers/osmesa/Makefile mesa-7.1/src/mesa/drivers/osmesa/Makefile
|
|
||||||
--- mesa-7.1.orig/src/mesa/drivers/osmesa/Makefile 2008-08-30 17:04:52.000000000 +0200
|
|
||||||
+++ mesa-7.1/src/mesa/drivers/osmesa/Makefile 2008-08-30 17:09:15.000000000 +0200
|
|
||||||
@@ -19,7 +19,7 @@
|
|
||||||
-I$(TOP)/src/mesa \
|
|
||||||
-I$(TOP)/src/mesa/main
|
|
||||||
|
|
||||||
-CORE_MESA = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mesa/libglapi.a
|
|
||||||
+CORE_MESA = $(TOP)/src/mesa/libmesa.so $(TOP)/src/mesa/libglapi.so
|
|
||||||
|
|
||||||
|
|
||||||
.PHONY: osmesa8
|
|
||||||
diff -Naur mesa-7.1.orig/src/mesa/drivers/x11/Makefile mesa-7.1/src/mesa/drivers/x11/Makefile
|
|
||||||
--- mesa-7.1.orig/src/mesa/drivers/x11/Makefile 2008-08-30 17:04:52.000000000 +0200
|
|
||||||
+++ mesa-7.1/src/mesa/drivers/x11/Makefile 2008-08-30 17:10:53.000000000 +0200
|
|
||||||
@@ -43,7 +43,7 @@
|
|
||||||
-I$(TOP)/src/mesa \
|
|
||||||
-I$(TOP)/src/mesa/main
|
|
||||||
|
|
||||||
-CORE_MESA = $(TOP)/src/mesa/libmesa.a $(TOP)/src/mesa/libglapi.a
|
|
||||||
+CORE_MESA = $(TOP)/src/mesa/libmesa.so $(TOP)/src/mesa/libglapi.so
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
diff -Naur mesa-7.1.orig/src/mesa/Makefile mesa-7.1/src/mesa/Makefile
|
|
||||||
--- mesa-7.1.orig/src/mesa/Makefile 2008-08-30 17:04:51.000000000 +0200
|
|
||||||
+++ mesa-7.1/src/mesa/Makefile 2008-08-30 17:11:54.000000000 +0200
|
|
||||||
@@ -20,8 +20,8 @@
|
|
||||||
|
|
||||||
|
|
||||||
# Default: build dependencies, then asm_subdirs, then convenience
|
|
||||||
-# libs (.a) and finally the device drivers:
|
|
||||||
-default: depend asm_subdirs libmesa.a libglapi.a driver_subdirs
|
|
||||||
+# libs (.so) and finally the device drivers:
|
|
||||||
+default: depend asm_subdirs libmesa.so libglapi.so driver_subdirs
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -29,17 +29,17 @@
|
|
||||||
# Helper libraries used by many drivers:
|
|
||||||
|
|
||||||
# Make archive of core mesa object files
|
|
||||||
-libmesa.a: $(MESA_OBJECTS)
|
|
||||||
- @ $(MKLIB) -o mesa -static $(MESA_OBJECTS)
|
|
||||||
+libmesa.so: $(MESA_OBJECTS)
|
|
||||||
+ @ $(MKLIB) -o mesa -dlopen $(MESA_OBJECTS)
|
|
||||||
|
|
||||||
# Make archive of gl* API dispatcher functions only
|
|
||||||
-libglapi.a: $(GLAPI_OBJECTS)
|
|
||||||
- @ $(MKLIB) -o glapi -static $(GLAPI_OBJECTS)
|
|
||||||
+libglapi.so: $(GLAPI_OBJECTS)
|
|
||||||
+ @ $(MKLIB) -o glapi -dlopen $(GLAPI_OBJECTS)
|
|
||||||
|
|
||||||
|
|
||||||
######################################################################
|
|
||||||
# Device drivers
|
|
||||||
-driver_subdirs: libmesa.a libglapi.a
|
|
||||||
+driver_subdirs: libmesa.so libglapi.so
|
|
||||||
(cd drivers && $(MAKE))
|
|
||||||
|
|
||||||
|
|
||||||
@@ -127,7 +127,7 @@
|
|
||||||
clean:
|
|
||||||
-rm -f */*.o
|
|
||||||
-rm -f */*/*.o
|
|
||||||
- -rm -f depend depend.bak libmesa.a libglapi.a
|
|
||||||
+ -rm -f depend depend.bak libmesa.so libglapi.so
|
|
||||||
-rm -f drivers/*/*.o
|
|
||||||
-rm -f *.pc
|
|
||||||
-@cd drivers/dri && $(MAKE) clean
|
|
@ -1,56 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
$SCRIPTS/build expat
|
|
||||||
$SCRIPTS/build glproto
|
|
||||||
$SCRIPTS/build dri2proto
|
|
||||||
$SCRIPTS/build $LIBDRM
|
|
||||||
$SCRIPTS/build libXext
|
|
||||||
$SCRIPTS/build libXdamage
|
|
||||||
$SCRIPTS/build libXfixes
|
|
||||||
$SCRIPTS/build libXxf86vm
|
|
||||||
$SCRIPTS/build libX11
|
|
||||||
$SCRIPTS/build libwsbm
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
HOST_CC=$HOST_CC \
|
|
||||||
OPT_FLAGS="$CFLAGS -D_GNU_SOURCE" \
|
|
||||||
HOST_OPT_FLAGS="$HOST_CFLAGS" \
|
|
||||||
X11_INCLUDES= \
|
|
||||||
DRI_DRIVER_INSTALL_DIR="$XORG_PATH_DRI" \
|
|
||||||
DRI_DRIVER_SEARCH_DIR="$XORG_PATH_DRI" \
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
--disable-debug \
|
|
||||||
--disable-selinux \
|
|
||||||
--disable-xcb \
|
|
||||||
--disable-glx-tls \
|
|
||||||
--enable-driglx-direct \
|
|
||||||
--disable-gl-osmesa \
|
|
||||||
--disable-glu \
|
|
||||||
--disable-glut \
|
|
||||||
--disable-glw \
|
|
||||||
--disable-motif \
|
|
||||||
--with-driver=dri \
|
|
||||||
--with-dri-drivers=$DRIDRIVERS \
|
|
||||||
--with-dri-driverdir="$XORG_PATH_DRI" \
|
|
||||||
--with-x \
|
|
||||||
--without-demos
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
make -C progs/xdemos
|
|
||||||
|
|
||||||
## copy GLX headers for xorg-server to build
|
|
||||||
#cp -PR include/* $LIB_PREFIX/include
|
|
||||||
|
|
||||||
$MAKEINSTALL -C src/mesa
|
|
||||||
#$MAKEINSTALL -C src/glu
|
|
||||||
|
|
||||||
#DRI_DRIVER_INSTALL_DIR=$SYSROOT_PREFIX/$XORG_PATH_DRI
|
|
@ -1,24 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
$SCRIPTS/install libXdamage
|
|
||||||
$SCRIPTS/install $LIBDRM
|
|
||||||
$SCRIPTS/install expat
|
|
||||||
$SCRIPTS/install libXext
|
|
||||||
$SCRIPTS/install libXfixes
|
|
||||||
$SCRIPTS/install libXxf86vm
|
|
||||||
$SCRIPTS/install libX11
|
|
||||||
$SCRIPTS/install libwsbm
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
#cp -PR $PKG_BUILD/src/mesa/libmesa.so* $INSTALL/usr/lib
|
|
||||||
#cp -PR $PKG_BUILD/src/mesa/libglapi.so* $INSTALL/usr/lib
|
|
||||||
cp -PR $PKG_BUILD/lib/libGL.so* $INSTALL/usr/lib
|
|
||||||
#cp -PR $PKG_BUILD/lib/libGLU.so* $INSTALL/usr/lib
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib/dri
|
|
||||||
cp -PR $PKG_BUILD/lib/*_dri.so $INSTALL/usr/lib/dri
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/bin
|
|
||||||
cp -PR $PKG_BUILD/progs/xdemos/{corender,glsync,glthreads,glxcontexts,glxdemo,glxgears,glxgears_fbconfig,glxgears_pixmap,glxheads,glxinfo,glxpbdemo,glxpixmap,glxsnoop,glxswapcontrol,manywin,offset,overlay,pbdemo,pbinfo,sharedtex,sharedtex_mt,texture_from_pixmap,wincopy,xfont,xrotfontdemo} $INSTALL/usr/bin
|
|
@ -1,36 +0,0 @@
|
|||||||
diff -Naur Mesa-openchrome-svn-20090302/bin/mklib Mesa-openchrome-svn-20090302.patch/bin/mklib
|
|
||||||
--- Mesa-openchrome-svn-20090302/bin/mklib 2009-02-26 12:02:26.000000000 +0100
|
|
||||||
+++ Mesa-openchrome-svn-20090302.patch/bin/mklib 2009-03-03 01:48:26.000000000 +0100
|
|
||||||
@@ -217,9 +217,9 @@
|
|
||||||
if [ "x$LINK" = "x" ] ; then
|
|
||||||
# -linker was not specified so set default link command now
|
|
||||||
if [ $CPLUSPLUS = 1 ] ; then
|
|
||||||
- LINK=g++
|
|
||||||
+ LINK=$CXX
|
|
||||||
else
|
|
||||||
- LINK=gcc
|
|
||||||
+ LINK=$CC
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
diff -Naur Mesa-openchrome-svn-20090302/configs/linux-dri Mesa-openchrome-svn-20090302.patch/configs/linux-dri
|
|
||||||
--- Mesa-openchrome-svn-20090302/configs/linux-dri 2009-02-26 12:02:26.000000000 +0100
|
|
||||||
+++ Mesa-openchrome-svn-20090302.patch/configs/linux-dri 2009-03-03 01:49:56.000000000 +0100
|
|
||||||
@@ -14,6 +14,7 @@
|
|
||||||
#MKDEP_OPTIONS = -MF depend
|
|
||||||
|
|
||||||
OPT_FLAGS = -O2 -g
|
|
||||||
+HOST_OPT_FLAGS = $(OPT_FLAGS)
|
|
||||||
PIC_FLAGS = -fPIC
|
|
||||||
|
|
||||||
# Add '-DGLX_USE_TLS' to ARCH_FLAGS to enable TLS support.
|
|
||||||
@@ -30,6 +31,9 @@
|
|
||||||
CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \
|
|
||||||
$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
|
|
||||||
|
|
||||||
+HOST_CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \
|
|
||||||
+ $(HOST_OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) $(ASM_FLAGS)
|
|
||||||
+
|
|
||||||
CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES)
|
|
||||||
|
|
||||||
GLUT_CFLAGS = -fexceptions
|
|
@ -1 +0,0 @@
|
|||||||
http://sources.openelec.tv/svn/Mesa-openchrome-svn-20090329.tar.bz2
|
|
@ -1,23 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
$SCRIPTS/build toolchain
|
|
||||||
$SCRIPTS/build libpthread-stubs
|
|
||||||
$SCRIPTS/build udev
|
|
||||||
$SCRIPTS/build linux
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
--enable-udev \
|
|
||||||
--enable-largefile
|
|
||||||
|
|
||||||
$MAKE
|
|
||||||
$MAKE -C linux-core LINUXDIR=$(kernel_path) DRM_MODULES=openchrome
|
|
||||||
|
|
||||||
$MAKEINSTALL
|
|
@ -1,29 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
$SCRIPTS/build module-init-tools
|
|
||||||
$SCRIPTS/install linux system
|
|
||||||
|
|
||||||
VER=`ls $BUILD/linux*/modules/lib/modules`
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -PR $PKG_BUILD/libdrm/.libs/libdrm.so* $INSTALL/usr/lib
|
|
||||||
#cp -PR $PKG_BUILD/libdrm/intel/.libs/libdrm_intel.so* $INSTALL/usr/lib
|
|
||||||
|
|
||||||
#mkdir -p $INSTALL/lib/modules/$VER
|
|
||||||
|
|
||||||
mkdir -p "`ls -d $INSTALL/lib/modules/*`/kernel/drivers/gpu/drm"
|
|
||||||
cp -r $PKG_BUILD/linux-core/drm.ko $INSTALL/lib/modules/*/kernel/drivers/gpu/drm
|
|
||||||
|
|
||||||
mkdir -p "`ls -d $INSTALL/lib/modules/*`/kernel/drivers/gpu/drm/openchrome"
|
|
||||||
cp -r $PKG_BUILD/linux-core/openchrome/*.ko $INSTALL/lib/modules/*/kernel/drivers/gpu/drm/openchrome
|
|
||||||
|
|
||||||
for MOD in `find $INSTALL/lib/modules/ -name *.ko`; do
|
|
||||||
$STRIP --strip-debug $MOD
|
|
||||||
done
|
|
||||||
|
|
||||||
$BUILD/module-init-tool*/depmod -b $INSTALL -v $VER > /dev/null
|
|
||||||
for i in `ls $INSTALL/lib/modules/*/modules.* | grep -v modules.dep | grep -v modules.alias | grep -v modules.symbols`; do
|
|
||||||
rm -f $i
|
|
||||||
done
|
|
@ -1,55 +0,0 @@
|
|||||||
diff -Naur libdrm-newttm-svn-20090329.2/linux-core/drm_os_linux.h libdrm-newttm-svn-20090329.2.patch/linux-core/drm_os_linux.h
|
|
||||||
--- libdrm-newttm-svn-20090329.2/linux-core/drm_os_linux.h 2009-04-01 00:17:47.000000000 +0200
|
|
||||||
+++ libdrm-newttm-svn-20090329.2.patch/linux-core/drm_os_linux.h 2009-04-29 01:49:57.016009688 +0200
|
|
||||||
@@ -49,12 +49,6 @@
|
|
||||||
|
|
||||||
/** IRQ handler arguments and return type and values */
|
|
||||||
#define DRM_IRQ_ARGS int irq, void *arg
|
|
||||||
-/** backwards compatibility with old irq return values */
|
|
||||||
-#ifndef IRQ_HANDLED
|
|
||||||
-typedef void irqreturn_t;
|
|
||||||
-#define IRQ_HANDLED /* nothing */
|
|
||||||
-#define IRQ_NONE /* nothing */
|
|
||||||
-#endif
|
|
||||||
|
|
||||||
/** AGP types */
|
|
||||||
#if __OS_HAS_AGP
|
|
||||||
diff -Naur libdrm-newttm-svn-20090329.2/linux-core/drm_sysfs.c libdrm-newttm-svn-20090329.2.patch/linux-core/drm_sysfs.c
|
|
||||||
--- libdrm-newttm-svn-20090329.2/linux-core/drm_sysfs.c 2009-04-01 00:17:47.000000000 +0200
|
|
||||||
+++ libdrm-newttm-svn-20090329.2.patch/linux-core/drm_sysfs.c 2009-04-28 22:36:01.230011104 +0200
|
|
||||||
@@ -351,8 +351,8 @@
|
|
||||||
DRM_DEBUG("adding \"%s\" to sysfs\n",
|
|
||||||
drm_get_connector_name(connector));
|
|
||||||
|
|
||||||
- snprintf(connector->kdev.bus_id, BUS_ID_SIZE, "card%d-%s",
|
|
||||||
- dev->primary->index, drm_get_connector_name(connector));
|
|
||||||
+ dev_set_name(&connector->kdev, "card%d-%s",
|
|
||||||
+ dev->primary->index, drm_get_connector_name(connector));
|
|
||||||
ret = device_register(&connector->kdev);
|
|
||||||
|
|
||||||
if (ret) {
|
|
||||||
@@ -487,12 +487,7 @@
|
|
||||||
else
|
|
||||||
minor_str = "card%d";
|
|
||||||
|
|
||||||
- snprintf(minor->kdev.bus_id, BUS_ID_SIZE, minor_str, minor->index);
|
|
||||||
-
|
|
||||||
- /* Shouldn't register more than once */
|
|
||||||
- BUG_ON(device_is_registered(&minor->kdev));
|
|
||||||
-
|
|
||||||
- DRM_DEBUG("registering DRM device \"%s\"\n", minor->kdev.bus_id);
|
|
||||||
+ dev_set_name(&minor->kdev, minor_str, minor->index);
|
|
||||||
|
|
||||||
err = device_register(&minor->kdev);
|
|
||||||
if (err) {
|
|
||||||
diff -Naur libdrm-newttm-svn-20090329.2/linux-core/ttm/ttm_pat_compat.h libdrm-newttm-svn-20090329.2.patch/linux-core/ttm/ttm_pat_compat.h
|
|
||||||
--- libdrm-newttm-svn-20090329.2/linux-core/ttm/ttm_pat_compat.h 2009-04-01 00:17:47.000000000 +0200
|
|
||||||
+++ libdrm-newttm-svn-20090329.2.patch/linux-core/ttm/ttm_pat_compat.h 2009-04-28 22:38:20.546022042 +0200
|
|
||||||
@@ -33,6 +33,7 @@
|
|
||||||
#ifndef _TTM_PAT_COMPAT_
|
|
||||||
#define _TTM_PAT_COMPAT_
|
|
||||||
#include <asm/page.h>
|
|
||||||
+#include <asm/pgtable_types.h>
|
|
||||||
|
|
||||||
extern void ttm_pat_init(void);
|
|
||||||
extern void ttm_pat_takedown(void);
|
|
@ -1 +0,0 @@
|
|||||||
http://sources.openelec.tv/svn/libdrm-newttm-svn-20090329.2.tar.bz2
|
|
@ -1,18 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
$SCRIPTS/build toolchain
|
|
||||||
$SCRIPTS/build $LIBDRM
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
$MAKEINSTALL
|
|
@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
|
||||||
cp -PR $PKG_BUILD/src/.libs/*.so* $INSTALL/usr/lib
|
|
@ -1 +0,0 @@
|
|||||||
http://sources.openelec.tv/svn/libwsbm-svn-20090329.tar.bz2
|
|
@ -1,17 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
$SCRIPTS/build toolchain
|
|
||||||
|
|
||||||
cd $PKG_BUILD
|
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--disable-static \
|
|
||||||
--enable-shared \
|
|
||||||
--enable-dri \
|
|
||||||
--with-xorg-module-dir=$XORG_PATH_MODULES
|
|
||||||
|
|
||||||
make
|
|
@ -1,30 +0,0 @@
|
|||||||
# NOTE: Comments in openchrome 0.2.1 driver source indicate this device does not
|
|
||||||
# exist in the wild, so it has been disabled for now.
|
|
||||||
#alias pcivideo:v00001106d00003022sv*sd*bc*sc*i* openchrome
|
|
||||||
|
|
||||||
# 1106:3108 - K8M800 (PCI_CHIP_VT3204)
|
|
||||||
alias pcivideo:v00001106d00003108sv*sd*bc*sc*i* openchrome
|
|
||||||
|
|
||||||
# 1106:3118 - PM800/PM880/CN400 (PCI_CHIP_VT3259)
|
|
||||||
alias pcivideo:v00001106d00003118sv*sd*bc*sc*i* openchrome
|
|
||||||
|
|
||||||
# 1106:3122 - CLE266 (PCI_CHIP_CLE3122)
|
|
||||||
alias pcivideo:v00001106d00003122sv*sd*bc*sc*i* openchrome
|
|
||||||
|
|
||||||
# 1106:7205 - KM400/KN400 (PCI_CHIP_VT3205)
|
|
||||||
alias pcivideo:v00001106d00007205sv*sd*bc*sc*i* openchrome
|
|
||||||
|
|
||||||
# 1106:3344 - VM800 (PCI_CHIP_VT3314)
|
|
||||||
alias pcivideo:v00001106d00003344sv*sd*bc*sc*i* openchrome
|
|
||||||
|
|
||||||
# 1106:3157 - CX700 (PCI_CHIP_VT3324)
|
|
||||||
alias pcivideo:v00001106d00003157sv*sd*bc*sc*i* openchrome
|
|
||||||
|
|
||||||
# 1106:3343 - P4M890 (PCI_CHIP_VT3327)
|
|
||||||
alias pcivideo:v00001106d00003343sv*sd*bc*sc*i* openchrome
|
|
||||||
|
|
||||||
# 1106:3230 - K8M890 (PCI_CHIP_VT3336)
|
|
||||||
alias pcivideo:v00001106d00003230sv*sd*bc*sc*i* openchrome
|
|
||||||
|
|
||||||
# 1106:3371 - P4M900 (PCI_CHIP_VT3364)
|
|
||||||
alias pcivideo:v00001106d00003371sv*sd*bc*sc*i* openchrome
|
|
@ -1,14 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
. config/options
|
|
||||||
|
|
||||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/$XORG_PATH_MODULES/drivers
|
|
||||||
cp $PKG_BUILD/src/.libs/*_drv.so $INSTALL/$XORG_PATH_MODULES/drivers
|
|
||||||
|
|
||||||
#mkdir -p $INSTALL/usr/lib
|
|
||||||
#cp $PKG_BUILD/libxvmc/.libs/*.so* $INSTALL/usr/lib
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/hwdata/videoaliases
|
|
||||||
cp $PKG_DIR/config/openchrome.xinf $INSTALL/usr/share/hwdata/videoaliases
|
|
@ -1,30 +0,0 @@
|
|||||||
diff -Naur xf86-video-openchrome-20090302/configure xf86-video-openchrome-20090302.patch/configure
|
|
||||||
--- xf86-video-openchrome-20090302/configure 2009-03-03 01:13:31.000000000 +0100
|
|
||||||
+++ xf86-video-openchrome-20090302.patch/configure 2009-03-03 01:59:36.000000000 +0100
|
|
||||||
@@ -13330,7 +13330,7 @@
|
|
||||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
- test "$cross_compiling" = yes &&
|
|
||||||
+ test "$cross_compiling" = dummy &&
|
|
||||||
{ { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
|
||||||
$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
|
||||||
{ (exit 1); exit 1; }; }
|
|
||||||
@@ -13358,7 +13358,7 @@
|
|
||||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
- test "$cross_compiling" = yes &&
|
|
||||||
+ test "$cross_compiling" = dummy &&
|
|
||||||
{ { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
|
||||||
$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
|
||||||
{ (exit 1); exit 1; }; }
|
|
||||||
@@ -13386,7 +13386,7 @@
|
|
||||||
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
- test "$cross_compiling" = yes &&
|
|
||||||
+ test "$cross_compiling" = dummy &&
|
|
||||||
{ { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
|
||||||
$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
|
||||||
{ (exit 1); exit 1; }; }
|
|
@ -1 +0,0 @@
|
|||||||
http://sources.openelec.tv/svn/xf86-video-openchrome-ttm-20090329.tar.bz2
|
|
File diff suppressed because it is too large
Load Diff
@ -1,12 +0,0 @@
|
|||||||
# Mediacenter to use (elisa, entertainer)
|
|
||||||
MEDIACENTER=elisa
|
|
||||||
|
|
||||||
# X.org drivers to use (all/ati/geode/glint/i740/intel/mga/nv/openchrome/
|
|
||||||
# radeonhd/s3/s3virge/savage/sis/tdfx/trident/vesa/vmware)
|
|
||||||
# Space separated list is supported, e.g. XORG_DRIVERS="ati s3"
|
|
||||||
XORG_DRIVERS="openchrome-ttm nv vesa"
|
|
||||||
DRIDRIVERS="swrast,openchrome"
|
|
||||||
|
|
||||||
MESA=Mesa-openchrome
|
|
||||||
LIBDRM=libdrm-newttm
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user