diff options
26 files changed, 1858 insertions, 24 deletions
diff --git a/mk/mirrors.mk b/mk/mirrors.mk index d820a56b3..30e246334 100644 --- a/mk/mirrors.mk +++ b/mk/mirrors.mk @@ -21,6 +21,7 @@ MASTER_SITE_XORG?= \ http://ftp.gwdg.de/pub/x11/x.org/pub/X11R7.6/src/everything/ \ http://xorg.freedesktop.org/releases/X11R7.6/src/everything/ \ http://xorg.freedesktop.org/releases/individual/lib/ \ + http://xorg.freedesktop.org/releases/individual/driver/ \ MASTER_SITE_GNU?= \ http://ftp.gnu.org/gnu/ \ diff --git a/mk/modules.mk b/mk/modules.mk index 0a68e4096..0cc7603ad 100644 --- a/mk/modules.mk +++ b/mk/modules.mk @@ -68,6 +68,8 @@ $(eval $(call KMOD_template,RFKILL,rfkill,\ $(eval $(call KMOD_template,MAC80211,mac80211,\ $(MODULES_DIR)/kernel/net/wireless/lib80211 \ + $(MODULES_DIR)/kernel/net/wireless/lib80211_crypt_ccmp \ + $(MODULES_DIR)/kernel/net/wireless/lib80211_crypt_tkip \ $(MODULES_DIR)/kernel/net/wireless/cfg80211 \ $(MODULES_DIR)/kernel/net/mac80211/mac80211 \ ,15, kmod-crypto-aes kmod-crypto-arc4 kmod-crypto-ecb)) @@ -1091,6 +1093,7 @@ $(eval $(call KMOD_template,SOUND,sound,\ $(MODULES_DIR)/kernel/sound/soundcore \ ,30)) + $(eval $(call KMOD_template,SND,snd,\ $(MODULES_DIR)/kernel/sound/core/snd-page-alloc \ $(MODULES_DIR)/kernel/sound/core/snd \ @@ -1130,6 +1133,17 @@ $(eval $(call KMOD_template,SND_CS5535AUDIO,snd-cs5535audio,\ $(MODULES_DIR)/kernel/sound/pci/cs5535audio/snd-cs5535audio \ ,55)) +$(eval $(call KMOD_template,SND_PXA2XX_SOC_SPITZ,snd-pxa2xx-soc-spitz,\ + $(MODULES_DIR)/kernel/sound/soc/snd-soc-core \ + $(MODULES_DIR)/kernel/sound/arm/snd-pxa2xx-lib \ + $(MODULES_DIR)/kernel/sound/arm/snd-pxa2xx-pcm \ + $(MODULES_DIR)/kernel/sound/arm/snd-pxa2xx-ac97 \ + $(MODULES_DIR)/kernel/sound/soc/codecs/snd-soc-wm8750 \ + $(MODULES_DIR)/kernel/sound/soc/pxa/snd-soc-pxa2xx-i2s \ + $(MODULES_DIR)/kernel/sound/soc/pxa/snd-soc-pxa2xx \ + $(MODULES_DIR)/kernel/sound/soc/pxa/snd-soc-spitz \ +,55)) + #V4L_COMPAT:=drivers/media/video/v4l1-compat #ifeq ($(ADK_LINUX_64),y) #V4L_COMPAT+=drivers/media/video/v4l2-compat-ioctl32 diff --git a/package/SDL_gfx/Makefile b/package/SDL_gfx/Makefile new file mode 100644 index 000000000..4dea6018d --- /dev/null +++ b/package/SDL_gfx/Makefile @@ -0,0 +1,29 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= SDL_gfx +PKG_VERSION:= 2.0.22 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 330f291f1f09a1bdf397c9b40d92ca41 +PKG_DESCR:= SDL GFX library +PKG_SECTION:= libs +PKG_DEPENDS:= libsdl +PKG_BUILDDEP:= sdl +PKG_URL:= http://www.ferzkopp.net/joomla/content/view/19/14/ +PKG_SITES:= http://www.ferzkopp.net/Software/SDL_gfx-2.0/ + +PKG_SUBPKGS:= LIBSDL_GFX + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBSDL_GFX,libsdl-gfx,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_ARGS+= --disable-mmx + +libsdl-gfx-install: + $(INSTALL_DIR) $(IDIR_LIBSDL_GFX)/usr/lib + $(CP) $(WRKINST)/usr/lib/libSDL_gfx.so* $(IDIR_LIBSDL_GFX)/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/SDL_ttf/Makefile b/package/SDL_ttf/Makefile new file mode 100644 index 000000000..a76e49897 --- /dev/null +++ b/package/SDL_ttf/Makefile @@ -0,0 +1,27 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= SDL_ttf +PKG_VERSION:= 2.0.10 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 814e6e17e8879254208d23b3b7e0354b +PKG_DESCR:= TrueType fonts in your SDL applications +PKG_SECTION:= libs +PKG_DEPENDS:= libsdl libfreetype +PKG_BUILDDEP:= sdl freetype +PKG_URL:= http://www.libsdl.org/projects/SDL_ttf/ +PKG_SITES:= http://www.libsdl.org/projects/SDL_ttf/release/ + +PKG_SUBPKGS:= LIBSDL_TTF + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBSDL_TTF,libsdl-ttf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +libsdl-ttf-install: + $(INSTALL_DIR) $(IDIR_LIBSDL_TTF)/usr/lib + $(CP) $(WRKINST)/usr/lib/libSDL_ttf*so* $(IDIR_LIBSDL_TTF)/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/alsa-utils/patches/alsa-utils-exp10-workaround.patch b/package/alsa-utils/patches/alsa-utils-exp10-workaround.patch new file mode 100644 index 000000000..f4a520a5c --- /dev/null +++ b/package/alsa-utils/patches/alsa-utils-exp10-workaround.patch @@ -0,0 +1,33 @@ +From da14c5ab2a6e030c5c56c979b8eb3ca071890876 Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard <jacmet@sunsite.dk> +Date: Mon, 14 Mar 2011 09:19:18 +0100 +Subject: [PATCH] alsamixer: fix build on uClibc + +exp10 is a glibc extension, which isn't supported on uClibc. Luckily, +exp10() is trivial to compute based on exp(), so add a wrapper for +the uClibc case. + +Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> +--- + alsamixer/volume_mapping.c | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +diff --git a/alsamixer/volume_mapping.c b/alsamixer/volume_mapping.c +index 9cacad8..1c0d7c4 100644 +--- a/alsamixer/volume_mapping.c ++++ b/alsamixer/volume_mapping.c +@@ -37,6 +37,11 @@ + #include <stdbool.h> + #include "volume_mapping.h" + ++#ifdef __UCLIBC__ ++/* 10^x = 10^(log e^x) = (e^x)^log10 = e^(x * log 10) */ ++#define exp10(x) (exp((x) * log(10))) ++#endif /* __UCLIBC__ */ ++ + #define MAX_LINEAR_DB_SCALE 24 + + static inline bool use_linear_dB_scale(long dBmin, long dBmax) +-- +1.7.2.3 + diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile index 8bedd1023..8d00df04a 100644 --- a/package/mplayer/Makefile +++ b/package/mplayer/Makefile @@ -18,7 +18,7 @@ PKG_BUILDDEP+= libX11 libXv libpng libXext jpeg PKG_URL:= http://www.mplayerhq.hu/ PKG_SITES:= http://openadk.org/distfiles/ -PKG_ARCH_DEPENDS:= x86 mips +PKG_ARCH_DEPENDS:= x86 mips arm PKG_FLAVOURS_MPLAYER:= WITH_DIRECTFB PKGFD_WITH_DIRECTFB:= enable DirectFB video output support @@ -30,6 +30,7 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,MPLAYER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +XAKE_FLAGS+= GCC_HONOUR_COPTS=s # gcc 4.5 produces internal compiler error with -Os TARGET_CFLAGS:=$(subst Os,O2,$(TARGET_CFLAGS)) @@ -68,6 +69,11 @@ CONFIGURE_CPU_OPTS+= --enable-sse2 else CONFIGURE_CPU_OPTS+= --disable-sse2 endif +#ifeq (${ADK_TARGET_CPU_WITH_IWMMXT},y) +#CONFIGURE_CPU_OPTS+= --enable-iwmmxt +#else +#CONFIGURE_CPU_OPTS+= --disable-iwmmxt +#endif ifeq ($(ADK_DEBUG),y) CONFIGURE_DEBUG= --enable-debug diff --git a/package/mplayer/patches/patch-libao2_ao_alsa_c b/package/mplayer/patches/patch-libao2_ao_alsa_c new file mode 100644 index 000000000..26d0832dc --- /dev/null +++ b/package/mplayer/patches/patch-libao2_ao_alsa_c @@ -0,0 +1,14 @@ +--- mplayer-1.0-32749.orig/libao2/ao_alsa.c 2011-01-03 11:26:52.000000000 +0100 ++++ mplayer-1.0-32749/libao2/ao_alsa.c 2011-09-14 20:52:35.457990653 +0200 +@@ -760,8 +760,9 @@ static int play(void* data, int len, int + { + int num_frames; + snd_pcm_sframes_t res = 0; +- if (!(flags & AOPLAY_FINAL_CHUNK)) +- len = len / ao_data.outburst * ao_data.outburst; ++ // SIGFPE on Sharp Zaurus ARM CPU ++ //if (!(flags & AOPLAY_FINAL_CHUNK)) ++ // len = len / ao_data.outburst * ao_data.outburst; + num_frames = len / bytes_per_sample; + + //mp_msg(MSGT_AO,MSGL_ERR,"alsa-play: frames=%i, len=%i\n",num_frames,len); diff --git a/package/vlc/Makefile b/package/vlc/Makefile new file mode 100644 index 000000000..0a57bf7ea --- /dev/null +++ b/package/vlc/Makefile @@ -0,0 +1,46 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= vlc +PKG_VERSION:= 1.1.11 +PKG_RELEASE:= 1 +PKG_MD5SUM:= a64846d6f21ea179ae8e8bfb6f9447fe +PKG_DESCR:= Media Player +PKG_SECTION:= multimedia +PKG_BUILDDEP:= ffmpeg xcb-util +PKG_DEPENDS:= ffmpeg xcb-util +PKG_URL:= http://www.videolan.org/vlc/ +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=vlc/1.1.11/} + +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,VLC,vlc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_ARGS+= --disable-lua \ + --disable-dbus \ + --disable-a52 \ + --disable-fribidi \ + --disable-qt4 \ + --disable-skins2 \ + --disable-libgcrypt \ + --disable-remoteosd \ + --disable-dvdnav \ + --disable-libxml2 + +vlc-install: + $(INSTALL_DIR) $(IDIR_VLC)/usr/bin + $(INSTALL_DIR) $(IDIR_VLC)/usr/lib/vlc/plugins + $(CP) $(WRKINST)/usr/lib/libvlc*.so* \ + $(IDIR_VLC)/usr/lib + $(INSTALL_BIN) $(WRKINST)/usr/bin/{c,}vlc \ + $(IDIR_VLC)/usr/bin + $(CP) $(WRKINST)/usr/lib/vlc/plugins/* \ + $(IDIR_VLC)/usr/lib/vlc/plugins + -rm $(IDIR_VLC)/usr/lib/vlc/plugins/*/*.la + -rm $(IDIR_VLC)/usr/lib/vlc/plugins/*/*.a + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/vlc/patches/patch-modules_misc_Makefile_in b/package/vlc/patches/patch-modules_misc_Makefile_in new file mode 100644 index 000000000..a2670d93f --- /dev/null +++ b/package/vlc/patches/patch-modules_misc_Makefile_in @@ -0,0 +1,155 @@ +--- vlc-1.1.11.orig/modules/misc/Makefile.in 2011-07-14 13:28:46.000000000 +0200 ++++ vlc-1.1.11/modules/misc/Makefile.in 2011-09-15 13:17:03.867989779 +0200 +@@ -205,26 +205,6 @@ libwin32text_plugin_la_LINK = $(LIBTOOL) + $(libwin32text_plugin_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ + @HAVE_WINCE_TRUE@am_libwin32text_plugin_la_rpath = -rpath $(libvlcdir) +-am__objects_12 = libxdg_screensaver_plugin_la-xdg.lo +-am_libxdg_screensaver_plugin_la_OBJECTS = $(am__objects_12) +-nodist_libxdg_screensaver_plugin_la_OBJECTS = +-libxdg_screensaver_plugin_la_OBJECTS = \ +- $(am_libxdg_screensaver_plugin_la_OBJECTS) \ +- $(nodist_libxdg_screensaver_plugin_la_OBJECTS) +-libxdg_screensaver_plugin_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ +- $(libxdg_screensaver_plugin_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ +- $(LDFLAGS) -o $@ +-am__objects_13 = libxscreensaver_plugin_la-xscreensaver.lo +-am_libxscreensaver_plugin_la_OBJECTS = $(am__objects_13) +-nodist_libxscreensaver_plugin_la_OBJECTS = +-libxscreensaver_plugin_la_OBJECTS = \ +- $(am_libxscreensaver_plugin_la_OBJECTS) \ +- $(nodist_libxscreensaver_plugin_la_OBJECTS) +-libxscreensaver_plugin_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ +- $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ +- $(libxscreensaver_plugin_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ +- $(LDFLAGS) -o $@ + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/autotools/depcomp + am__depfiles_maybe = depfiles +@@ -272,10 +252,6 @@ SOURCES = $(libaudioscrobbler_plugin_la_ + $(nodist_libvod_rtsp_plugin_la_SOURCES) \ + $(libwin32text_plugin_la_SOURCES) \ + $(nodist_libwin32text_plugin_la_SOURCES) \ +- $(libxdg_screensaver_plugin_la_SOURCES) \ +- $(nodist_libxdg_screensaver_plugin_la_SOURCES) \ +- $(libxscreensaver_plugin_la_SOURCES) \ +- $(nodist_libxscreensaver_plugin_la_SOURCES) + DIST_SOURCES = $(libaudioscrobbler_plugin_la_SOURCES) \ + $(libfreetype_plugin_la_SOURCES) \ + $(libgnutls_plugin_la_SOURCES) $(libinhibit_plugin_la_SOURCES) \ +@@ -284,9 +260,7 @@ DIST_SOURCES = $(libaudioscrobbler_plugi + $(libquartztext_plugin_la_SOURCES) \ + $(libsqlite_plugin_la_SOURCES) $(libsvg_plugin_la_SOURCES) \ + $(libvod_rtsp_plugin_la_SOURCES) \ +- $(libwin32text_plugin_la_SOURCES) \ +- $(libxdg_screensaver_plugin_la_SOURCES) \ +- $(libxscreensaver_plugin_la_SOURCES) ++ $(libwin32text_plugin_la_SOURCES) + RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ +@@ -620,7 +594,6 @@ LTLIBxcb_xv = @LTLIBxcb_xv@ + LTLIBxdg_screensaver = @LTLIBxdg_screensaver@ + LTLIBxml = @LTLIBxml@ + LTLIBxosd = @LTLIBxosd@ +-LTLIBxscreensaver = @LTLIBxscreensaver@ + LTLIBzip = @LTLIBzip@ + LTLIBzvbi = @LTLIBzvbi@ + LUAC = @LUAC@ +@@ -834,13 +807,12 @@ vlcdatadir = @vlcdatadir@ + vlclibdir = @vlclibdir@ + basedir = misc + dir = misc +-mods = audioscrobbler freetype gnutls inhibit logger osso_screensaver quartztext sqlite svg vod_rtsp win32text xdg_screensaver xscreensaver ++mods = audioscrobbler freetype gnutls inhibit logger osso_screensaver quartztext sqlite svg vod_rtsp win32text + libvlc_LTLIBRARIES = $(LTLIBfreetype) $(LTLIBgnutls) $(LTLIBinhibit) \ + $(LTLIBosso_screensaver) $(LTLIBsqlite) $(LTLIBsvg) \ +- $(LTLIBxdg_screensaver) $(LTLIBxscreensaver) \ + libaudioscrobbler_plugin.la liblogger_plugin.la \ + $(am__append_2) $(am__append_3) $(am__append_4) +-EXTRA_LTLIBRARIES = libfreetype_plugin.la libgnutls_plugin.la libinhibit_plugin.la libosso_screensaver_plugin.la libsqlite_plugin.la libsvg_plugin.la libxdg_screensaver_plugin.la libxscreensaver_plugin.la ++EXTRA_LTLIBRARIES = libfreetype_plugin.la libgnutls_plugin.la libinhibit_plugin.la libosso_screensaver_plugin.la libsqlite_plugin.la libsvg_plugin.la + NULL = + SUFFIXES = + libvlcdir = $(vlclibdir)/plugins/$(basedir) +@@ -876,8 +848,6 @@ SOURCES_svg = svg.c + SOURCES_audioscrobbler = audioscrobbler.c + SOURCES_inhibit = inhibit.c + SOURCES_sqlite = sqlite.c +-SOURCES_xscreensaver = inhibit/xscreensaver.c +-SOURCES_xdg_screensaver = inhibit/xdg.c + SOURCES_osso_screensaver = inhibit/osso.c + + # The audioscrobbler plugin +@@ -1001,27 +971,6 @@ libwin32text_plugin_la_OBJCFLAGS = $(AM_ + libwin32text_plugin_la_LIBADD = $(AM_LIBADD) + libwin32text_plugin_la_DEPENDENCIES = $(top_srcdir)/src/libvlccore.sym + +-# The xdg_screensaver plugin +-libxdg_screensaver_plugin_la_SOURCES = $(SOURCES_xdg_screensaver) +-nodist_libxdg_screensaver_plugin_la_SOURCES = $(nodist_SOURCES_xdg_screensaver) +-# Force per-target objects: +-libxdg_screensaver_plugin_la_CFLAGS = $(AM_CFLAGS) +-libxdg_screensaver_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) +-libxdg_screensaver_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) +-# Set LIBADD and DEPENDENCIES manually: +-libxdg_screensaver_plugin_la_LIBADD = $(AM_LIBADD) +-libxdg_screensaver_plugin_la_DEPENDENCIES = $(top_srcdir)/src/libvlccore.sym +- +-# The xscreensaver plugin +-libxscreensaver_plugin_la_SOURCES = $(SOURCES_xscreensaver) +-nodist_libxscreensaver_plugin_la_SOURCES = $(nodist_SOURCES_xscreensaver) +-# Force per-target objects: +-libxscreensaver_plugin_la_CFLAGS = $(AM_CFLAGS) +-libxscreensaver_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) +-libxscreensaver_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) +-# Set LIBADD and DEPENDENCIES manually: +-libxscreensaver_plugin_la_LIBADD = $(AM_LIBADD) +-libxscreensaver_plugin_la_DEPENDENCIES = $(top_srcdir)/src/libvlccore.sym + all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +@@ -1110,10 +1059,6 @@ libvod_rtsp_plugin.la: $(libvod_rtsp_plu + $(AM_V_CCLD)$(libvod_rtsp_plugin_la_LINK) $(am_libvod_rtsp_plugin_la_rpath) $(libvod_rtsp_plugin_la_OBJECTS) $(libvod_rtsp_plugin_la_LIBADD) $(LIBS) + libwin32text_plugin.la: $(libwin32text_plugin_la_OBJECTS) $(libwin32text_plugin_la_DEPENDENCIES) + $(AM_V_CCLD)$(libwin32text_plugin_la_LINK) $(am_libwin32text_plugin_la_rpath) $(libwin32text_plugin_la_OBJECTS) $(libwin32text_plugin_la_LIBADD) $(LIBS) +-libxdg_screensaver_plugin.la: $(libxdg_screensaver_plugin_la_OBJECTS) $(libxdg_screensaver_plugin_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libxdg_screensaver_plugin_la_LINK) $(libxdg_screensaver_plugin_la_OBJECTS) $(libxdg_screensaver_plugin_la_LIBADD) $(LIBS) +-libxscreensaver_plugin.la: $(libxscreensaver_plugin_la_OBJECTS) $(libxscreensaver_plugin_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libxscreensaver_plugin_la_LINK) $(libxscreensaver_plugin_la_OBJECTS) $(libxscreensaver_plugin_la_LIBADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) +@@ -1132,8 +1077,6 @@ distclean-compile: + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsvg_plugin_la-svg.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvod_rtsp_plugin_la-rtsp.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwin32text_plugin_la-win32text.Plo@am__quote@ +-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxdg_screensaver_plugin_la-xdg.Plo@am__quote@ +-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxscreensaver_plugin_la-xscreensaver.Plo@am__quote@ + + .c.o: + @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@@ -1247,22 +1190,6 @@ libwin32text_plugin_la-win32text.lo: win + @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwin32text_plugin_la_CFLAGS) $(CFLAGS) -c -o libwin32text_plugin_la-win32text.lo `test -f 'win32text.c' || echo '$(srcdir)/'`win32text.c + +-libxdg_screensaver_plugin_la-xdg.lo: inhibit/xdg.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxdg_screensaver_plugin_la_CFLAGS) $(CFLAGS) -MT libxdg_screensaver_plugin_la-xdg.lo -MD -MP -MF $(DEPDIR)/libxdg_screensaver_plugin_la-xdg.Tpo -c -o libxdg_screensaver_plugin_la-xdg.lo `test -f 'inhibit/xdg.c' || echo '$(srcdir)/'`inhibit/xdg.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libxdg_screensaver_plugin_la-xdg.Tpo $(DEPDIR)/libxdg_screensaver_plugin_la-xdg.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='inhibit/xdg.c' object='libxdg_screensaver_plugin_la-xdg.lo' libtool=yes @AMDEPBACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxdg_screensaver_plugin_la_CFLAGS) $(CFLAGS) -c -o libxdg_screensaver_plugin_la-xdg.lo `test -f 'inhibit/xdg.c' || echo '$(srcdir)/'`inhibit/xdg.c +- +-libxscreensaver_plugin_la-xscreensaver.lo: inhibit/xscreensaver.c +-@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxscreensaver_plugin_la_CFLAGS) $(CFLAGS) -MT libxscreensaver_plugin_la-xscreensaver.lo -MD -MP -MF $(DEPDIR)/libxscreensaver_plugin_la-xscreensaver.Tpo -c -o libxscreensaver_plugin_la-xscreensaver.lo `test -f 'inhibit/xscreensaver.c' || echo '$(srcdir)/'`inhibit/xscreensaver.c +-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libxscreensaver_plugin_la-xscreensaver.Tpo $(DEPDIR)/libxscreensaver_plugin_la-xscreensaver.Plo +-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='inhibit/xscreensaver.c' object='libxscreensaver_plugin_la-xscreensaver.lo' libtool=yes @AMDEPBACKSLASH@ +-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +-@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxscreensaver_plugin_la_CFLAGS) $(CFLAGS) -c -o libxscreensaver_plugin_la-xscreensaver.lo `test -f 'inhibit/xscreensaver.c' || echo '$(srcdir)/'`inhibit/xscreensaver.c +- + mostlyclean-libtool: + -rm -f *.lo + diff --git a/package/vlc/patches/patch-src_misc_linux_specific_c b/package/vlc/patches/patch-src_misc_linux_specific_c new file mode 100644 index 000000000..f25b1ea57 --- /dev/null +++ b/package/vlc/patches/patch-src_misc_linux_specific_c @@ -0,0 +1,19 @@ +--- vlc-1.1.11.orig/src/misc/linux_specific.c 2011-07-14 13:27:03.000000000 +0200 ++++ vlc-1.1.11/src/misc/linux_specific.c 2011-09-15 06:35:43.887989501 +0200 +@@ -83,14 +83,14 @@ static struct + unsigned refs; + } once = { VLC_STATIC_MUTEX, 0 }; + +-#ifdef __GLIBC__ ++#ifndef __UCLIBC__ + # include <gnu/libc-version.h> + # include <stdlib.h> + #endif + + void system_Init (libvlc_int_t *libvlc, int *argc, const char *argv[]) + { +-#ifdef __GLIBC__ ++#ifndef __UCLIBC__ + const char *glcv = gnu_get_libc_version (); + + /* gettext in glibc 2.5-2.7 is not thread-safe. LibVLC keeps crashing, diff --git a/package/xcb-util/Makefile b/package/xcb-util/Makefile new file mode 100644 index 000000000..4c7708596 --- /dev/null +++ b/package/xcb-util/Makefile @@ -0,0 +1,23 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= xcb-util +PKG_VERSION:= 0.3.6 +PKG_RELEASE:= 1 +PKG_MD5SUM:= a8f8f710a202079d1ead532abd061672 +PKG_DESCR:= XCB utils +PKG_SECTION:= x11/apps +PKG_SITES:= http://xcb.freedesktop.org/dist/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,XCB_UTIL,xcb-util,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +xcb-util-install: + $(INSTALL_DIR) $(IDIR_XCB_UTIL)/usr/lib + $(CP) $(WRKINST)/usr/lib/libxcb-*.so* \ + $(IDIR_XCB_UTIL)/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/target/Makefile b/target/Makefile index 7ca524c89..470e9e4e9 100644 --- a/target/Makefile +++ b/target/Makefile @@ -53,7 +53,11 @@ ifeq ($(ADK_NATIVE),y) if [ -f /proc/config.gz ];then zcat /proc/config.gz > ${BUILD_DIR}/.kernelconfig.board; else cp ${ADK_TARGET}/kernel.config.$(ARCH) ${BUILD_DIR}/.kernelconfig.board; fi; \ fi else - @cp ${ADK_TARGET_ARCH}/kernel.config ${BUILD_DIR}/.kernelconfig.board + if [ -f ${ADK_TARGET_ARCH}/kernel.config.$(ADK_TARGET_SYSTEM) ];then \ + cp ${ADK_TARGET_ARCH}/kernel.config.$(ADK_TARGET_SYSTEM) ${BUILD_DIR}/.kernelconfig.board; \ + else \ + cp ${ADK_TARGET_ARCH}/kernel.config ${BUILD_DIR}/.kernelconfig.board; \ + fi endif @(cat ${BUILD_DIR}/.kernelconfig.{modules,kernel} | \ while IFS='=' read symbol value; do \ @@ -85,7 +89,11 @@ endif @-rm -f ${BUILD_DIR}/.kernelconfig.tmp else config-prepare: $(TOPDIR)/.config - @cp ${ADK_TARGET_ARCH}/kernel.config ${BUILD_DIR}/.kernelconfig + if [ -f ${ADK_TARGET_ARCH}/kernel.config.$(ADK_TARGET_SYSTEM) ];then \ + cp ${ADK_TARGET_ARCH}/kernel.config.$(ADK_TARGET_SYSTEM) ${BUILD_DIR}/.kernelconfig.board; \ + else \ + cp ${ADK_TARGET_ARCH}/kernel.config ${BUILD_DIR}/.kernelconfig.board; \ + fi endif prepare: $(ADK_TARGET_ARCH)-prepare diff --git a/target/arm/Makefile b/target/arm/Makefile index e290fd8e3..9a0fb2459 100644 --- a/target/arm/Makefile +++ b/target/arm/Makefile @@ -7,8 +7,14 @@ include $(TOPDIR)/mk/modules.mk include $(TOPDIR)/mk/kernel-build.mk include $(TOPDIR)/mk/image.mk -ZKERNEL:=$(LINUX_DIR)/arch/arm/boot/zImage +ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM),y) +KERNEL:=$(LINUX_DIR)/arch/arm/boot/zImage +else ifeq ($(ADK_TARGET_SYSTEM_SHARP_ZAURUS),y) +KERNEL:=$(LINUX_DIR)/arch/arm/boot/zImage +else KERNEL:=$(LINUX_DIR)/vmlinux +endif + LOADADDR:=0x20008000 ifeq ($(ADK_TARGET_QEMU_ARM_MODEL_SPITZ),y) @@ -47,11 +53,7 @@ imageinstall: kernel-install $(BIN_DIR)/$(ROOTFSTARBALL) endif ifeq ($(ADK_TARGET_FS),archive) imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL) -ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM),y) - @cp $(ZKERNEL) $(BIN_DIR)/$(TARGET_KERNEL) -else @cp $(KERNEL) $(BIN_DIR)/$(TARGET_KERNEL) -endif @echo 'The kernel file is: $(BIN_DIR)/${TARGET_KERNEL}' @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)" ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM),y) @@ -61,14 +63,9 @@ ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM),y) @echo 'qemu-system-arm -M $(MACH) -nographic $(NET) -kernel $(BIN_DIR)/$(TARGET_KERNEL) -hda qemu-${CPU_ARCH}.img' endif endif -endif ifeq ($(ADK_TARGET_FS),initramfs) imageinstall: $(BIN_DIR)/$(INITRAMFS) -ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM),y) - @cp $(ZKERNEL) $(BIN_DIR)/$(TARGET_KERNEL) -else @cp $(KERNEL) $(BIN_DIR)/$(TARGET_KERNEL) -endif @echo 'The kernel file is: $(BIN_DIR)/${TARGET_KERNEL}' @echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}' ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM),y) @@ -78,15 +75,10 @@ endif endif ifeq ($(ADK_TARGET_FS),initramfs-piggyback) imageinstall: ${BUILD_DIR}/${INITRAMFS_PIGGYBACK} createinitramfs -ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM),y) - @cp $(ZKERNEL) $(BIN_DIR)/$(TARGET_KERNEL) -else @cp $(KERNEL) $(BIN_DIR)/$(TARGET_KERNEL) -endif @echo 'The kernel+initramfs file is: $(BIN_DIR)/${TARGET_KERNEL}' ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM),y) @echo "Start qemu with following command line:" @echo 'qemu-system-arm -M $(MACH) -nographic $(NET) -kernel $(BIN_DIR)/$(TARGET_KERNEL)' endif endif -endif diff --git a/target/arm/kernel.config.sharp-zaurus b/target/arm/kernel.config.sharp-zaurus new file mode 100644 index 000000000..41f9bcd6d --- /dev/null +++ b/target/arm/kernel.config.sharp-zaurus @@ -0,0 +1,1286 @@ +# +# Automatically generated make config: don't edit +# Linux/arm 2.6.39 Kernel Configuration +# Mon Sep 12 18:25:45 2011 +# +CONFIG_ARM=y +CONFIG_SYS_SUPPORTS_APM_EMULATION=y +CONFIG_HAVE_SCHED_CLOCK=y +CONFIG_GENERIC_GPIO=y +# CONFIG_ARCH_USES_GETTIMEOFFSET is not set +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_KTIME_SCALAR=y +CONFIG_HAVE_PROC_CPU=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_HAVE_LATENCYTOP_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_HARDIRQS_SW_RESEND=y +CONFIG_GENERIC_IRQ_PROBE=y +CONFIG_RWSEM_GENERIC_SPINLOCK=y +CONFIG_ARCH_HAS_CPUFREQ=y +CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_NEED_DMA_MAP_STATE=y +CONFIG_ARCH_MTD_XIP=y +CONFIG_VECTORS_BASE=0xffff0000 +# CONFIG_ARM_PATCH_PHYS_VIRT is not set +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" +CONFIG_CONSTRUCTORS=y +CONFIG_HAVE_IRQ_WORK=y + +# +# General setup +# +CONFIG_EXPERIMENTAL=y +CONFIG_BROKEN_ON_SMP=y +CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_CROSS_COMPILE="" +CONFIG_LOCALVERSION="" +# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_HAVE_KERNEL_GZIP=y +CONFIG_HAVE_KERNEL_LZMA=y +CONFIG_HAVE_KERNEL_LZO=y +# CONFIG_KERNEL_GZIP is not set +CONFIG_KERNEL_LZMA=y +# CONFIG_KERNEL_LZO is not set +# CONFIG_SWAP is not set +CONFIG_SYSVIPC=y +CONFIG_SYSVIPC_SYSCTL=y +# CONFIG_POSIX_MQUEUE is not set +# CONFIG_BSD_PROCESS_ACCT is not set +# CONFIG_FHANDLE is not set +# CONFIG_TASKSTATS is not set +# CONFIG_AUDIT is not set +CONFIG_HAVE_GENERIC_HARDIRQS=y + +# +# IRQ subsystem +# +CONFIG_GENERIC_HARDIRQS=y +CONFIG_HAVE_SPARSE_IRQ=y +CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_SPARSE_IRQ=y + +# +# RCU Subsystem +# +CONFIG_TINY_RCU=y +# CONFIG_PREEMPT_RCU is not set +# CONFIG_RCU_TRACE is not set +# CONFIG_TREE_RCU_TRACE is not set +# CONFIG_IKCONFIG is not set +CONFIG_LOG_BUF_SHIFT=14 +# CONFIG_CGROUPS is not set +# CONFIG_NAMESPACES is not set +# CONFIG_SCHED_AUTOGROUP is not set +# CONFIG_SYSFS_DEPRECATED is not set +# CONFIG_RELAY is not set +# CONFIG_BLK_DEV_INITRD is not set +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +CONFIG_SYSCTL=y +CONFIG_ANON_INODES=y +CONFIG_EXPERT=y +# CONFIG_UID16 is not set +# CONFIG_SYSCTL_SYSCALL is not set +# CONFIG_KALLSYMS is not set +CONFIG_HOTPLUG=y +CONFIG_PRINTK=y +# CONFIG_BUG is not set +# CONFIG_ELF_CORE is not set +# CONFIG_BASE_FULL is not set +CONFIG_FUTEX=y +CONFIG_EPOLL=y +CONFIG_SIGNALFD=y +CONFIG_TIMERFD=y +CONFIG_EVENTFD=y +CONFIG_SHMEM=y +CONFIG_AIO=y +CONFIG_EMBEDDED=y +CONFIG_HAVE_PERF_EVENTS=y +CONFIG_PERF_USE_VMALLOC=y + +# +# Kernel Performance Events And Counters +# +# CONFIG_PERF_EVENTS is not set +# CONFIG_PERF_COUNTERS is not set +# CONFIG_VM_EVENT_COUNTERS is not set +# CONFIG_COMPAT_BRK is not set +CONFIG_SLAB=y +# CONFIG_SLUB is not set +# CONFIG_SLOB is not set +# CONFIG_PROFILING is not set +CONFIG_HAVE_OPROFILE=y +# CONFIG_KPROBES is not set +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_CLK=y +CONFIG_HAVE_DMA_API_DEBUG=y + +# +# GCOV-based kernel profiling +# +CONFIG_HAVE_GENERIC_DMA_COHERENT=y +CONFIG_SLABINFO=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=1 +CONFIG_MODULES=y +# CONFIG_MODULE_FORCE_LOAD is not set +CONFIG_MODULE_UNLOAD=y +CONFIG_MODULE_FORCE_UNLOAD=y +# CONFIG_MODVERSIONS is not set +# CONFIG_MODULE_SRCVERSION_ALL is not set +CONFIG_BLOCK=y +# CONFIG_LBDAF is not set +# CONFIG_BLK_DEV_BSG is not set +# CONFIG_BLK_DEV_INTEGRITY is not set + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +CONFIG_IOSCHED_DEADLINE=y +# CONFIG_IOSCHED_CFQ is not set +CONFIG_DEFAULT_DEADLINE=y +# CONFIG_DEFAULT_NOOP is not set +CONFIG_DEFAULT_IOSCHED="deadline" +# CONFIG_INLINE_SPIN_TRYLOCK is not set +# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK is not set +# CONFIG_INLINE_SPIN_LOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK_IRQ is not set +# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set +CONFIG_INLINE_SPIN_UNLOCK=y +# CONFIG_INLINE_SPIN_UNLOCK_BH is not set +CONFIG_INLINE_SPIN_UNLOCK_IRQ=y +# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_READ_TRYLOCK is not set +# CONFIG_INLINE_READ_LOCK is not set +# CONFIG_INLINE_READ_LOCK_BH is not set +# CONFIG_INLINE_READ_LOCK_IRQ is not set +# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set +CONFIG_INLINE_READ_UNLOCK=y +# CONFIG_INLINE_READ_UNLOCK_BH is not set +CONFIG_INLINE_READ_UNLOCK_IRQ=y +# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_WRITE_TRYLOCK is not set +# CONFIG_INLINE_WRITE_LOCK is not set +# CONFIG_INLINE_WRITE_LOCK_BH is not set +# CONFIG_INLINE_WRITE_LOCK_IRQ is not set +# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set +CONFIG_INLINE_WRITE_UNLOCK=y +# CONFIG_INLINE_WRITE_UNLOCK_BH is not set +CONFIG_INLINE_WRITE_UNLOCK_IRQ=y +# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set +# CONFIG_MUTEX_SPIN_ON_OWNER is not set +CONFIG_FREEZER=y + +# +# System Type +# +CONFIG_MMU=y +# CONFIG_ARCH_INTEGRATOR is not set +# CONFIG_ARCH_REALVIEW is not set +# CONFIG_ARCH_VERSATILE is not set +# CONFIG_ARCH_VEXPRESS is not set +# CONFIG_ARCH_AT91 is not set +# CONFIG_ARCH_BCMRING is not set +# CONFIG_ARCH_CLPS711X is not set +# CONFIG_ARCH_CNS3XXX is not set |