mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
add variuos old packages for testing
This commit is contained in:
parent
ee8e143445
commit
ed2b943200
47
packages/.old/Mesa-openchrome/10_cross-compile.diff
Normal file
47
packages/.old/Mesa-openchrome/10_cross-compile.diff
Normal file
@ -0,0 +1,47 @@
|
||||
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
|
105
packages/.old/Mesa-openchrome/20_libmesa-shared.diff
Normal file
105
packages/.old/Mesa-openchrome/20_libmesa-shared.diff
Normal file
@ -0,0 +1,105 @@
|
||||
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
|
56
packages/.old/Mesa-openchrome/build
Executable file
56
packages/.old/Mesa-openchrome/build
Executable file
@ -0,0 +1,56 @@
|
||||
#!/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
|
24
packages/.old/Mesa-openchrome/install
Executable file
24
packages/.old/Mesa-openchrome/install
Executable file
@ -0,0 +1,24 @@
|
||||
#!/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
|
36
packages/.old/Mesa-openchrome/patches/10_cross-compile.diff
Normal file
36
packages/.old/Mesa-openchrome/patches/10_cross-compile.diff
Normal file
@ -0,0 +1,36 @@
|
||||
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
packages/.old/Mesa-openchrome/url
Normal file
1
packages/.old/Mesa-openchrome/url
Normal file
@ -0,0 +1 @@
|
||||
http://sources.openelec.tv/svn/Mesa-openchrome-svn-20090329.tar.bz2
|
23
packages/.old/libdrm-newttm/build
Executable file
23
packages/.old/libdrm-newttm/build
Executable file
@ -0,0 +1,23 @@
|
||||
#!/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
|
29
packages/.old/libdrm-newttm/install
Executable file
29
packages/.old/libdrm-newttm/install
Executable file
@ -0,0 +1,29 @@
|
||||
#!/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
|
@ -0,0 +1,55 @@
|
||||
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
packages/.old/libdrm-newttm/url
Normal file
1
packages/.old/libdrm-newttm/url
Normal file
@ -0,0 +1 @@
|
||||
http://sources.openelec.tv/svn/libdrm-newttm-svn-20090329.2.tar.bz2
|
18
packages/.old/libwsbm/build
Executable file
18
packages/.old/libwsbm/build
Executable file
@ -0,0 +1,18 @@
|
||||
#!/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
|
6
packages/.old/libwsbm/install
Executable file
6
packages/.old/libwsbm/install
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -PR $PKG_BUILD/src/.libs/*.so* $INSTALL/usr/lib
|
1
packages/.old/libwsbm/url
Normal file
1
packages/.old/libwsbm/url
Normal file
@ -0,0 +1 @@
|
||||
http://sources.openelec.tv/svn/libwsbm-svn-20090329.tar.bz2
|
17
packages/.old/xf86-video-openchrome-ttm/build
Executable file
17
packages/.old/xf86-video-openchrome-ttm/build
Executable file
@ -0,0 +1,17 @@
|
||||
#!/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
|
@ -0,0 +1,30 @@
|
||||
# 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
|
14
packages/.old/xf86-video-openchrome-ttm/install
Executable file
14
packages/.old/xf86-video-openchrome-ttm/install
Executable file
@ -0,0 +1,14 @@
|
||||
#!/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
|
@ -0,0 +1,30 @@
|
||||
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
packages/.old/xf86-video-openchrome-ttm/url
Normal file
1
packages/.old/xf86-video-openchrome-ttm/url
Normal file
@ -0,0 +1 @@
|
||||
http://sources.openelec.tv/svn/xf86-video-openchrome-ttm-20090329.tar.bz2
|
@ -0,0 +1,37 @@
|
||||
From e4ac5deba9287ea6b66b7b9c1f4c4d2ee1cc69b4 Mon Sep 17 00:00:00 2001
|
||||
From: Simon Munton <simon-hal@munton.demon.co.uk>
|
||||
Date: Sun, 24 May 2009 16:01:51 +0000
|
||||
Subject: fixed segfault in hal-storage-mount
|
||||
|
||||
Fixed segfault in hal-storage-mount and don't lose fstype in
|
||||
probe-volume.
|
||||
---
|
||||
diff --git a/hald/linux/probing/probe-volume.c b/hald/linux/probing/probe-volume.c
|
||||
index 882de88..13c775a 100644
|
||||
--- a/hald/linux/probing/probe-volume.c
|
||||
+++ b/hald/linux/probing/probe-volume.c
|
||||
@@ -97,7 +97,7 @@ set_blkid_values (LibHalChangeSet *cs, blkid_probe pr)
|
||||
|
||||
if (blkid_probe_lookup_value(pr, "TYPE", &type, NULL))
|
||||
type = "";
|
||||
- if (libhal_changeset_set_property_string (cs, "volume.fstype", type))
|
||||
+ if (!libhal_changeset_set_property_string (cs, "volume.fstype", type))
|
||||
libhal_changeset_set_property_string (cs, "volume.fstype", "");
|
||||
HAL_DEBUG(("volume.fstype = '%s'", type));
|
||||
|
||||
diff --git a/tools/hal-storage-mount.c b/tools/hal-storage-mount.c
|
||||
index e48b4b9..78e0160 100644
|
||||
--- a/tools/hal-storage-mount.c
|
||||
+++ b/tools/hal-storage-mount.c
|
||||
@@ -786,7 +786,8 @@ handle_mount (LibHalContext *hal_ctx,
|
||||
/* don't consider uid= on vfat, iso9660, hfs and udf change-uid for the purpose of policy
|
||||
* (since these doesn't contain uid/gid bits)
|
||||
*/
|
||||
- if (strcmp (libhal_volume_get_fstype (volume), "vfat") != 0 &&
|
||||
+ if (libhal_volume_get_fstype (volume) != NULL &&
|
||||
+ strcmp (libhal_volume_get_fstype (volume), "vfat") != 0 &&
|
||||
strcmp (libhal_volume_get_fstype (volume), "ntfs") != 0 &&
|
||||
strcmp (libhal_volume_get_fstype (volume), "ntfs-3g") != 0 &&
|
||||
strcmp (libhal_volume_get_fstype (volume), "iso9660") != 0 &&
|
||||
--
|
||||
cgit v0.8.2
|
Loading…
x
Reference in New Issue
Block a user