Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
[PATCH] configure.in: use correct directfb-config in version check
|
||||
|
||||
The configure script has just checked for the correct directfb-config
|
||||
script, so also use it for the version check instead of whatever
|
||||
might be in the path.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
configure.in | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
Index: SDL-1.2.15/configure.in
|
||||
===================================================================
|
||||
--- SDL-1.2.15.orig/configure.in
|
||||
+++ SDL-1.2.15/configure.in
|
||||
@@ -1276,7 +1276,7 @@
|
||||
else
|
||||
set -- `echo $DIRECTFB_REQUIRED_VERSION | sed 's/\./ /g'`
|
||||
NEED_VERSION=`expr $1 \* 10000 + $2 \* 100 + $3`
|
||||
- set -- `directfb-config --version | sed 's/\./ /g'`
|
||||
+ set -- `$DIRECTFBCONFIG --version | sed 's/\./ /g'`
|
||||
HAVE_VERSION=`expr $1 \* 10000 + $2 \* 100 + $3`
|
||||
if test $HAVE_VERSION -ge $NEED_VERSION; then
|
||||
DIRECTFB_CFLAGS=`$DIRECTFBCONFIG --cflags`
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
sdl: Fix compilation with libX11 >= 1.5.99.902
|
||||
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
|
||||
|
||||
# HG changeset patch
|
||||
# User Azamat H. Hackimov <azamat.hackimov@gmail.com>
|
||||
# Date 1370184533 -21600
|
||||
# Node ID 91ad7b43317a6387e115ecdf63a49137f47e42c8
|
||||
# Parent f7fd5c3951b9ed922fdf696f7182e71b58a13268
|
||||
Fix compilation with libX11 >= 1.5.99.902.
|
||||
|
||||
These changes fixes bug #1769 for SDL 1.2
|
||||
(http://bugzilla.libsdl.org/show_bug.cgi?id=1769).
|
||||
|
||||
diff -r f7fd5c3951b9 -r 91ad7b43317a configure.in
|
||||
--- a/configure.in Wed Apr 17 00:56:53 2013 -0700
|
||||
+++ b/configure.in Sun Jun 02 20:48:53 2013 +0600
|
||||
@@ -1169,6 +1169,17 @@
|
||||
if test x$definitely_enable_video_x11_xrandr = xyes; then
|
||||
AC_DEFINE(SDL_VIDEO_DRIVER_X11_XRANDR)
|
||||
fi
|
||||
+ AC_MSG_CHECKING(for const parameter to _XData32)
|
||||
+ have_const_param_xdata32=no
|
||||
+ AC_TRY_COMPILE([
|
||||
+ #include <X11/Xlibint.h>
|
||||
+ extern int _XData32(Display *dpy,register _Xconst long *data,unsigned len);
|
||||
+ ],[
|
||||
+ ],[
|
||||
+ have_const_param_xdata32=yes
|
||||
+ AC_DEFINE(SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32)
|
||||
+ ])
|
||||
+ AC_MSG_RESULT($have_const_param_xdata32)
|
||||
fi
|
||||
fi
|
||||
}
|
||||
diff -r f7fd5c3951b9 -r 91ad7b43317a include/SDL_config.h.in
|
||||
--- a/include/SDL_config.h.in Wed Apr 17 00:56:53 2013 -0700
|
||||
+++ b/include/SDL_config.h.in Sun Jun 02 20:48:53 2013 +0600
|
||||
@@ -283,6 +283,7 @@
|
||||
#undef SDL_VIDEO_DRIVER_WINDIB
|
||||
#undef SDL_VIDEO_DRIVER_WSCONS
|
||||
#undef SDL_VIDEO_DRIVER_X11
|
||||
+#undef SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32
|
||||
#undef SDL_VIDEO_DRIVER_X11_DGAMOUSE
|
||||
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC
|
||||
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT
|
||||
diff -r f7fd5c3951b9 -r 91ad7b43317a src/video/x11/SDL_x11sym.h
|
||||
--- a/src/video/x11/SDL_x11sym.h Wed Apr 17 00:56:53 2013 -0700
|
||||
+++ b/src/video/x11/SDL_x11sym.h Sun Jun 02 20:48:53 2013 +0600
|
||||
@@ -165,7 +165,11 @@
|
||||
*/
|
||||
#ifdef LONG64
|
||||
SDL_X11_MODULE(IO_32BIT)
|
||||
+#if SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32
|
||||
+SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return)
|
||||
+#else
|
||||
SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return)
|
||||
+#endif
|
||||
SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
|
||||
#endif
|
||||
|
||||
30
deprecated/firmware/buildroot/package/sdl/Config.in
Normal file
30
deprecated/firmware/buildroot/package/sdl/Config.in
Normal file
@@ -0,0 +1,30 @@
|
||||
config BR2_PACKAGE_SDL
|
||||
bool "SDL"
|
||||
help
|
||||
Simple DirectMedia Layer - SDL is a library that allows
|
||||
programs portable low level access to a video framebuffer,
|
||||
audio output, mouse, and keyboard.
|
||||
|
||||
http://www.libsdl.org/
|
||||
|
||||
if BR2_PACKAGE_SDL
|
||||
|
||||
config BR2_PACKAGE_SDL_FBCON
|
||||
bool "SDL framebuffer console video driver"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_SDL_DIRECTFB
|
||||
bool "SDL DirectFB video driver"
|
||||
depends on BR2_PACKAGE_DIRECTFB
|
||||
|
||||
config BR2_PACKAGE_SDL_QTOPIA
|
||||
bool "SDL Qtopia video driver"
|
||||
depends on BR2_PACKAGE_QT
|
||||
|
||||
config BR2_PACKAGE_SDL_X11
|
||||
bool "SDL X11 video driver"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT
|
||||
|
||||
endif
|
||||
2
deprecated/firmware/buildroot/package/sdl/sdl.hash
Normal file
2
deprecated/firmware/buildroot/package/sdl/sdl.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00 SDL-1.2.15.tar.gz
|
||||
108
deprecated/firmware/buildroot/package/sdl/sdl.mk
Normal file
108
deprecated/firmware/buildroot/package/sdl/sdl.mk
Normal file
@@ -0,0 +1,108 @@
|
||||
################################################################################
|
||||
#
|
||||
# sdl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SDL_VERSION = 1.2.15
|
||||
SDL_SOURCE = SDL-$(SDL_VERSION).tar.gz
|
||||
SDL_SITE = http://www.libsdl.org/release
|
||||
SDL_LICENSE = LGPLv2.1+
|
||||
SDL_LICENSE_FILES = COPYING
|
||||
SDL_INSTALL_STAGING = YES
|
||||
|
||||
# we're patching configure.in, but package cannot autoreconf with our version of
|
||||
# autotools, so we have to do it manually instead of setting SDL_AUTORECONF = YES
|
||||
define SDL_RUN_AUTOGEN
|
||||
cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
|
||||
endef
|
||||
|
||||
SDL_PRE_CONFIGURE_HOOKS += SDL_RUN_AUTOGEN
|
||||
HOST_SDL_PRE_CONFIGURE_HOOKS += SDL_RUN_AUTOGEN
|
||||
|
||||
SDL_DEPENDENCIES += host-automake host-autoconf host-libtool
|
||||
HOST_SDL_DEPENDENCIES += host-automake host-autoconf host-libtool
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL_FBCON),y)
|
||||
SDL_CONF_OPTS += --enable-video-fbcon=yes
|
||||
else
|
||||
SDL_CONF_OPTS += --enable-video-fbcon=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL_DIRECTFB),y)
|
||||
SDL_DEPENDENCIES += directfb
|
||||
SDL_CONF_OPTS += --enable-video-directfb=yes
|
||||
SDL_CONF_ENV = ac_cv_path_DIRECTFBCONFIG=$(STAGING_DIR)/usr/bin/directfb-config
|
||||
else
|
||||
SDL_CONF_OPTS += --enable-video-directfb=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL_QTOPIA),y)
|
||||
SDL_CONF_OPTS += --enable-video-qtopia=yes
|
||||
SDL_DEPENDENCIES += qt
|
||||
else
|
||||
SDL_CONF_OPTS += --enable-video-qtopia=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL_X11),y)
|
||||
SDL_CONF_OPTS += --enable-video-x11=yes
|
||||
SDL_DEPENDENCIES += \
|
||||
xlib_libX11 xlib_libXext \
|
||||
$(if $(BR2_PACKAGE_XLIB_LIBXRENDER), xlib_libXrender) \
|
||||
$(if $(BR2_PACKAGE_XLIB_LIBXRANDR), xlib_libXrandr)
|
||||
else
|
||||
SDL_CONF_OPTS += --enable-video-x11=no
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_USE_MMU),y)
|
||||
SDL_CONF_OPTS += --enable-dga=no
|
||||
endif
|
||||
|
||||
# overwrite autodection (prevents confusion with host libpth version)
|
||||
ifeq ($(BR2_PACKAGE_LIBPTHSEM_COMPAT),y)
|
||||
SDL_CONF_OPTS += --enable-pth
|
||||
SDL_CONF_ENV += ac_cv_path_PTH_CONFIG=$(STAGING_DIR)/usr/bin/pth-config
|
||||
SDL_DEPENDENCIES += libpthsem
|
||||
else
|
||||
SDL_CONF_OPTS += --disable-pth
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TSLIB),y)
|
||||
SDL_DEPENDENCIES += tslib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
||||
SDL_DEPENDENCIES += alsa-lib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MESA3D),y)
|
||||
SDL_DEPENDENCIES += mesa3d
|
||||
endif
|
||||
|
||||
SDL_CONF_OPTS += \
|
||||
--enable-pulseaudio=no \
|
||||
--disable-arts \
|
||||
--disable-esd \
|
||||
--disable-nasm \
|
||||
--disable-video-ps3
|
||||
|
||||
HOST_SDL_CONF_OPTS += \
|
||||
--enable-pulseaudio=no \
|
||||
--enable-video-x11=no \
|
||||
--disable-arts \
|
||||
--disable-esd \
|
||||
--disable-nasm \
|
||||
--disable-video-ps3
|
||||
|
||||
SDL_CONFIG_SCRIPTS = sdl-config
|
||||
|
||||
# Remove the -Wl,-rpath option.
|
||||
define SDL_FIXUP_SDL_CONFIG
|
||||
$(SED) 's%-Wl,-rpath,\$${libdir}%%' \
|
||||
$(STAGING_DIR)/usr/bin/sdl-config
|
||||
endef
|
||||
|
||||
SDL_POST_INSTALL_STAGING_HOOKS += SDL_FIXUP_SDL_CONFIG
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user