summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/build.mk4
-rw-r--r--mk/image.mk13
-rw-r--r--mk/rootfs.mk1
-rw-r--r--package/avahi/Makefile6
-rw-r--r--package/binutils/patches/musl.patch20
-rw-r--r--package/binutils/patches/patch-ld_Makefile_in20
-rw-r--r--package/binutils/patches/patch-ltmain_sh11
-rw-r--r--package/bison/patches/patch-Makefile_in.orig13
-rw-r--r--package/cairo/Makefile14
-rw-r--r--package/daq/Makefile5
-rw-r--r--package/dbus-python/Makefile2
-rw-r--r--package/dbus-python/patches/patch-configure11
-rw-r--r--package/firefox/patches/patch-media_mtransport_third_party_nICEr_src_stun_addrs_c4
-rw-r--r--package/fontconfig/Makefile6
-rw-r--r--package/freetype/Makefile6
-rw-r--r--package/freetype/patches/patch-builds_unix_freetype-config_in16
-rw-r--r--package/freetype/patches/patch-builds_unix_freetype2_in13
-rw-r--r--package/freetype/patches/patch-builds_unix_ltmain_sh11
-rw-r--r--package/freetype/patches/patch-builds_unix_unix-cc_in11
-rw-r--r--package/glib/Makefile2
-rw-r--r--package/kmod/Makefile9
-rw-r--r--package/kmod/patches/patch-libkmod_libkmod_pc_in13
-rw-r--r--package/lame/Makefile4
-rw-r--r--package/lame/patches/patch-ltmain_sh11
-rw-r--r--package/libXft/patches/patch-src_xftglyphs_c16
-rw-r--r--package/libaio/patches/patch-src_Makefile.orig12
-rw-r--r--package/libaudiofile/Makefile2
-rw-r--r--package/libbluray/patches/patch-src_libbluray_decoders_textst_render_c11
-rw-r--r--package/libgd/Makefile12
-rw-r--r--package/libgd/patches/patch-gd_io_h10
-rw-r--r--package/libgd/patches/patch-src_gd_bmp_c11
-rw-r--r--package/libglew/patches/patch-Makefile133
-rw-r--r--package/libglew/patches/patch-Makefile.orig11
-rw-r--r--package/libglew/patches/patch-config_Makefile_linux.orig26
-rw-r--r--package/libx264/patches/patch-configure.orig23
-rw-r--r--package/libxml2/Makefile4
-rw-r--r--package/m4/Makefile2
-rw-r--r--package/orbit2/patches/patch-configure11
-rw-r--r--package/orbit2/patches/patch-linc2_src_Makefile_in11
-rw-r--r--package/pam/Makefile6
-rw-r--r--package/pango/Makefile18
-rw-r--r--package/poppler/Makefile10
-rw-r--r--package/pycurl/Makefile4
-rw-r--r--package/python2/Makefile11
-rw-r--r--package/python2/files/python-config.patch (renamed from package/python2/files/patch-Misc_python-config_in)10
-rw-r--r--package/python2/patches/patch-Lib_distutils_sysconfig_py (renamed from package/python2/files/patch-Lib_distutils_sysconfig_py)0
-rw-r--r--package/rxvt-unicode/Makefile1
-rw-r--r--package/systemd/Makefile15
-rw-r--r--package/systemd/patches/patch-Makefile_am20
-rw-r--r--package/systemd/patches/patch-configure_ac12
-rw-r--r--package/taglib/patches/patch-taglib_pc_cmake.orig19
-rw-r--r--package/tinyxml/patches/patch-Makefile.orig60
-rw-r--r--package/transproxy/patches/patch-Makefile.orig26
-rw-r--r--package/urlgrabber/patches/patch-setup_py.orig24
-rw-r--r--package/vlc/Makefile6
-rw-r--r--package/vlc/patches/patch-configure20
-rw-r--r--package/vlc/patches/patch-modules_misc_inhibit_xdg_c8
-rw-r--r--package/vlc/patches/patch-modules_misc_inhibit_xscreensaver_c10
-rw-r--r--package/vlc/patches/patch-modules_text_renderer_freetype_c11
-rw-r--r--package/vlc/patches/patch-src_posix_linux_specific_c30
-rw-r--r--package/weechat/patches/patch-configure_ac.orig11
-rw-r--r--package/wget/Makefile6
-rw-r--r--package/wget/patches/patch-Makefile_am11
-rw-r--r--package/wpa_supplicant/patches/patch-wpa_supplicant_Makefile.orig25
-rw-r--r--package/yajl/patches/patch-CMakeLists_txt.orig14
-rw-r--r--target/config/Config.in11
-rw-r--r--target/linux/config/Config.in.block4
-rw-r--r--target/linux/config/Config.in.fs6
-rw-r--r--target/x86/Makefile4
-rw-r--r--tools/Makefile2
-rw-r--r--tools/cdrtools/Makefile25
-rw-r--r--tools/syslinux/Makefile37
72 files changed, 500 insertions, 498 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 0b3d2cc73..ad2d42b40 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -36,6 +36,7 @@ DEFCONFIG= ADK_DEBUG=n \
ADK_PACKAGE_URLGRABBER=n \
ADK_PACKAGE_PERL=n \
ADK_PACKAGE_LIBSSP=n \
+ ADK_PACKAGE_OPENAFS=n \
ADK_PKG_XORG=n \
ADK_PKG_MPDBOX=n \
ADK_PKG_DEVELOPMENT=n \
@@ -572,8 +573,9 @@ release:
$(GMAKE) VERBOSE=1 all; if [ $$? -ne 0 ]; then touch .exit; exit 1;fi; \
rm .config; \
) 2>&1 | tee $(TOPDIR)/bin/$(SYSTEM)_$(ARCH)_$$libc/build.log; \
- if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; break;fi \
+ if [ -f .exit ];then echo "Bulk build failed!"; break;fi \
done
+ if [ -f .exit ];then rm .exit;exit 1;fi
# build all target architecture, target systems and libc combinations
bulk:
diff --git a/mk/image.mk b/mk/image.mk
index 2273b4af7..7c519d7f5 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -121,12 +121,14 @@ INITRAMFS= ${ADK_TARGET_SYSTEM}-$(CPU_ARCH)-${ADK_TARGET_LIBC}-${ADK_TARGET_FS}
ROOTFSSQUASHFS= ${ADK_TARGET_SYSTEM}-$(CPU_ARCH)-${ADK_TARGET_LIBC}-${ADK_TARGET_FS}.img
ROOTFSTARBALL= ${ADK_TARGET_SYSTEM}-$(CPU_ARCH)-${ADK_TARGET_LIBC}-${ADK_TARGET_FS}+kernel.tar.gz
ROOTFSUSERTARBALL= ${ADK_TARGET_SYSTEM}-$(CPU_ARCH)-${ADK_TARGET_LIBC}-${ADK_TARGET_FS}.tar.gz
+ROOTFSISO= ${ADK_TARGET_SYSTEM}-$(CPU_ARCH)-${ADK_TARGET_LIBC}-${ADK_TARGET_FS}.iso
else
TARGET_KERNEL= ${ADK_TARGET_SYSTEM}-${ADK_TARGET_FS}-kernel
INITRAMFS= ${ADK_TARGET_SYSTEM}-${ADK_TARGET_LIBC}-${ADK_TARGET_FS}
ROOTFSSQUASHFS= ${ADK_TARGET_SYSTEM}-${ADK_TARGET_LIBC}-${ADK_TARGET_FS}.img
ROOTFSTARBALL= ${ADK_TARGET_SYSTEM}-${ADK_TARGET_LIBC}-${ADK_TARGET_FS}+kernel.tar.gz
ROOTFSUSERTARBALL= ${ADK_TARGET_SYSTEM}-${ADK_TARGET_LIBC}-${ADK_TARGET_FS}.tar.gz
+ROOTFSISO= ${ADK_TARGET_SYSTEM}-${ADK_TARGET_LIBC}-${ADK_TARGET_FS}.iso
endif
${BIN_DIR}/${ROOTFSTARBALL}: ${TARGET_DIR} kernel-package
@@ -197,5 +199,16 @@ endif
$(MAKE) -C $(LINUX_DIR) V=1 CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH=$(ARCH) CC="$(TARGET_CC)" -j${ADK_MAKE_JOBS} $(ADK_TARGET_KERNEL) $(MAKE_TRACE)
+${BIN_DIR}/${ROOTFSISO}: ${TARGET_DIR} kernel-package
+ mkdir -p ${TARGET_DIR}/boot/syslinux
+ cp ${STAGING_HOST_DIR}/usr/share/syslinux/{isolinux.bin,ldlinux.c32} \
+ ${TARGET_DIR}/boot/syslinux
+ echo 'DEFAULT /boot/kernel root=/dev/sr0 init=/init' > \
+ ${TARGET_DIR}/boot/syslinux/isolinux.cfg
+ ${TOOLS_DIR}/mkisofs -R -uid 0 -gid 0 -o $@ \
+ -b boot/syslinux/isolinux.bin \
+ -c boot/syslinux/boot.cat -no-emul-boot \
+ -boot-load-size 4 -boot-info-table ${TARGET_DIR}
+
imageclean:
rm -f $(BIN_DIR)/$(ADK_TARGET_SYSTEM)-* ${BUILD_DIR}/$(ADK_TARGET_SYSTEM)-*
diff --git a/mk/rootfs.mk b/mk/rootfs.mk
index 283c87aa7..18d4f83dc 100644
--- a/mk/rootfs.mk
+++ b/mk/rootfs.mk
@@ -52,5 +52,6 @@ $(eval $(call rootfs_template,squashfs,SQUASHFS,$(ROOTFS)))
$(eval $(call rootfs_template,yaffs,YAFFS,$(MTDDEV) panic=3))
$(eval $(call rootfs_template,nfsroot,NFSROOT,root=/dev/nfs ip=dhcp init=/init))
$(eval $(call rootfs_template,encrypted,ENCRYPTED))
+$(eval $(call rootfs_template,iso,ISO))
export ADK_TARGET_FS
diff --git a/package/avahi/Makefile b/package/avahi/Makefile
index e5a910fac..a857cb6e2 100644
--- a/package/avahi/Makefile
+++ b/package/avahi/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= avahi
-PKG_VERSION:= 0.6.30
-PKG_RELEASE:= 2
-PKG_MD5SUM:= e4db89a2a403ff4c47d66ac66fad1f43
+PKG_VERSION:= 0.6.31
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 2f22745b8f7368ad5a0a3fddac343f2d
PKG_DESCR:= mDNS daemon
PKG_SECTION:= dhcp
PKG_BUILDDEP:= libdaemon expat gdbm glib gettext-tiny gtk+ dbus
diff --git a/package/binutils/patches/musl.patch b/package/binutils/patches/musl.patch
deleted file mode 100644
index 4ea53c18f..000000000
--- a/package/binutils/patches/musl.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Nur binutils-2.22.orig/config.sub binutils-2.22/config.sub
---- binutils-2.22.orig/config.sub 2011-06-06 12:36:06.000000000 +0200
-+++ binutils-2.22/config.sub 2013-08-11 14:40:22.308115171 +0200
-@@ -126,6 +126,7 @@
- case $maybe_os in
- nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
-+ linux-musl* | \
- knetbsd*-gnu* | netbsd*-gnu* | \
- kopensolaris*-gnu* | \
- storm-chaos* | os2-emx* | rtmk-nova*)
-@@ -1334,7 +1335,7 @@
- | -chorusos* | -chorusrdb* | -cegcc* \
- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- | -mingw32* | -linux-gnu* | -linux-android* \
-- | -linux-newlib* | -linux-uclibc* \
-+ | -linux-newlib* | -linux-uclibc* | -linux-musl* \
- | -uxpv* | -beos* | -mpeix* | -udk* \
- | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
- | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
diff --git a/package/binutils/patches/patch-ld_Makefile_in b/package/binutils/patches/patch-ld_Makefile_in
deleted file mode 100644
index ff1eeb88f..000000000
--- a/package/binutils/patches/patch-ld_Makefile_in
+++ /dev/null
@@ -1,20 +0,0 @@
---- binutils-2.21.orig/ld/Makefile.in 2010-11-05 11:34:22.000000000 +0100
-+++ binutils-2.21/ld/Makefile.in 2011-01-10 21:57:49.000000000 +0100
-@@ -422,7 +422,7 @@ TEXI2DVI = texi2dvi -I $(srcdir) -I $(BF
- -I $(top_srcdir)/../libiberty
-
- AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
-- @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \
-+ @INCINTL@ $(HDEFINES) $(PLUGIN_CFLAGS) \
- -DLOCALEDIR="\"$(datadir)/locale\""
-
- BFDLIB = ../bfd/libbfd.la
-@@ -850,7 +850,7 @@ ld_new_LDADD = $(EMULATION_OFILES) $(EMU
- #
- @ENABLE_PLUGINS_TRUE@noinst_LTLIBRARIES = libldtestplug.la
- @ENABLE_PLUGINS_TRUE@libldtestplug_la_SOURCES = testplug.c
--@ENABLE_PLUGINS_TRUE@libldtestplug_la_CFLAGS = -g -O2
-+@ENABLE_PLUGINS_TRUE@libldtestplug_la_CFLAGS =
- @ENABLE_PLUGINS_TRUE@libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
- MAINTAINERCLEANFILES = configdoc.texi ld.1 ld.info
-
diff --git a/package/binutils/patches/patch-ltmain_sh b/package/binutils/patches/patch-ltmain_sh
deleted file mode 100644
index 18a178908..000000000
--- a/package/binutils/patches/patch-ltmain_sh
+++ /dev/null
@@ -1,11 +0,0 @@
---- binutils-2.21.orig/ltmain.sh 2010-01-09 22:11:32.000000000 +0100
-+++ binutils-2.21/ltmain.sh 2011-01-14 19:07:08.000000000 +0100
-@@ -4980,7 +4980,7 @@ func_mode_link ()
- # @file GCC response files
- # -tp=* Portland pgcc target processor selection
- -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*)
-+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|-fstack-protector*|-flto)
- func_quote_for_eval "$arg"
- arg="$func_quote_for_eval_result"
- func_append compile_command " $arg"
diff --git a/package/bison/patches/patch-Makefile_in.orig b/package/bison/patches/patch-Makefile_in.orig
deleted file mode 100644
index c427a7033..000000000
--- a/package/bison/patches/patch-Makefile_in.orig
+++ /dev/null
@@ -1,13 +0,0 @@
---- bison-3.0.1.orig/Makefile.in 2013-11-12 14:57:09.000000000 +0100
-+++ bison-3.0.1/Makefile.in 2013-11-27 18:39:58.000000000 +0100
-@@ -5134,8 +5134,8 @@ $(CROSS_OPTIONS_TEXI): doc/bison.help $(
- doc/refcard.pdf: doc/refcard.tex
- $(AM_V_GEN) cd doc && pdftex $(abs_top_srcdir)/doc/refcard.tex
- $(top_srcdir)/doc/bison.help: src/bison$(EXEEXT)
-- $(AM_V_GEN)src/bison$(EXEEXT) --version >doc/bison.help.tmp
-- $(AM_V_at) src/bison$(EXEEXT) --help >>doc/bison.help.tmp
-+ bison$(EXEEXT) --version >doc/bison.help.tmp
-+ bison$(EXEEXT) --help >>doc/bison.help.tmp
- $(AM_V_at)$(top_srcdir)/build-aux/move-if-change doc/bison.help.tmp $@
-
- # Depend on configure to get version number changes.
diff --git a/package/cairo/Makefile b/package/cairo/Makefile
index a1015c603..30894cab5 100644
--- a/package/cairo/Makefile
+++ b/package/cairo/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= cairo
-PKG_VERSION:= 1.10.2
-PKG_RELEASE:= 3
-PKG_MD5SUM:= f101a9e88b783337b20b2e26dfd26d5f
+PKG_VERSION:= 1.12.16
+PKG_RELEASE:= 1
+PKG_MD5SUM:= a1304edcdc99282f478b995ee5f8f854
PKG_DESCR:= cairo graphics library
PKG_SECTION:= libs
PKG_DEPENDS:= fontconfig libfreetype libpng libx11 pixman
@@ -17,7 +17,7 @@ PKG_URL:= http://cairographics.org/
PKG_SITES:= http://cairographics.org/releases/
PKG_OPTS:= dev
-#DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
ifeq ($(ADK_STATIC),y)
PKG_OPTS+= libonly
@@ -34,11 +34,13 @@ ifeq (,$(filter cris,$(TARGET_ARCH)))
TARGET_CFLAGS:= $(filter-out -Os,$(TARGET_CFLAGS))
endif
CONFIGURE_ARGS+= --enable-ft=yes \
+ --enable-fc=yes \
--enable-tee=yes \
--enable-xlib=yes
cairo-install:
- ${INSTALL_DIR} ${IDIR_CAIRO}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libcairo.so* ${IDIR_CAIRO}/usr/lib
+ ${INSTALL_DIR} ${IDIR_CAIRO}/usr/lib/cairo
+ ${CP} ${WRKINST}/usr/lib/libcairo*.so* ${IDIR_CAIRO}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/cairo/*.so* ${IDIR_CAIRO}/usr/lib/cairo
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/daq/Makefile b/package/daq/Makefile
index be48531c6..7e5c05c00 100644
--- a/package/daq/Makefile
+++ b/package/daq/Makefile
@@ -9,11 +9,12 @@ PKG_RELEASE:= 3
PKG_MD5SUM:= a00855a153647df76d47f1ea454f74ae
PKG_DESCR:= daq
PKG_SECTION:= libs
-PKG_DEPENDS:= libpcap
-PKG_BUILDDEP:= libpcap autotool
+PKG_DEPENDS:= libpcap libdnet
+PKG_BUILDDEP:= libpcap libdnet autotool
PKG_URL:= http://www.snort.org
PKG_SITES:= http://openadk.org/distfiles/
PKG_OPTS:= dev
+PKG_NOPARALLEL:= 1
include $(TOPDIR)/mk/package.mk
diff --git a/package/dbus-python/Makefile b/package/dbus-python/Makefile
index e76d508a7..9645f7269 100644
--- a/package/dbus-python/Makefile
+++ b/package/dbus-python/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= dbus-python
PKG_VERSION:= 1.2.0
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= b09cd2d1a057cc432ce944de3fc06bf7
PKG_DESCR:= DBUS python bindings
PKG_SECTION:= libs
diff --git a/package/dbus-python/patches/patch-configure b/package/dbus-python/patches/patch-configure
new file mode 100644
index 000000000..f13116469
--- /dev/null
+++ b/package/dbus-python/patches/patch-configure
@@ -0,0 +1,11 @@
+--- dbus-python-1.2.0.orig/configure 2013-05-08 09:48:42.000000000 +0200
++++ dbus-python-1.2.0/configure 2013-12-13 12:52:44.522656370 +0100
+@@ -11762,7 +11762,7 @@ $as_echo "$as_me: PYTHON_INCLUDES overri
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python headers using $PYTHON-config --includes" >&5
+ $as_echo_n "checking for Python headers using $PYTHON-config --includes... " >&6; }
+- PYTHON_INCLUDES=`$PYTHON-config --includes`
++ PYTHON_INCLUDES=`python-config --includes`
+ if test $? = 0; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5
+ $as_echo "$PYTHON_INCLUDES" >&6; }
diff --git a/package/firefox/patches/patch-media_mtransport_third_party_nICEr_src_stun_addrs_c b/package/firefox/patches/patch-media_mtransport_third_party_nICEr_src_stun_addrs_c
index f422715dd..be14ca662 100644
--- a/package/firefox/patches/patch-media_mtransport_third_party_nICEr_src_stun_addrs_c
+++ b/package/firefox/patches/patch-media_mtransport_third_party_nICEr_src_stun_addrs_c
@@ -1,11 +1,11 @@
--- mozilla-release.orig/media/mtransport/third_party/nICEr/src/stun/addrs.c 2013-09-11 01:15:16.000000000 +0200
-+++ mozilla-release/media/mtransport/third_party/nICEr/src/stun/addrs.c 2013-10-23 16:28:38.000000000 +0200
++++ mozilla-release/media/mtransport/third_party/nICEr/src/stun/addrs.c 2013-12-10 13:18:17.000000000 +0100
@@ -59,7 +59,7 @@ static char *RCSSTRING __UNUSED__="$Id:
#include <net/if_dl.h>
#include <net/if_types.h>
#include <sys/sockio.h>
-#else
-+#elif 0
++#elif __GLIBC__
#include <linux/if.h>
#endif
#include <net/route.h>
diff --git a/package/fontconfig/Makefile b/package/fontconfig/Makefile
index 902f1ae82..6c7f119a8 100644
--- a/package/fontconfig/Makefile
+++ b/package/fontconfig/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= fontconfig
-PKG_VERSION:= 2.10.91
-PKG_RELEASE:= 2
-PKG_MD5SUM:= 0a8edc63aa79377b2bf44e469d5bbbb7
+PKG_VERSION:= 2.11.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 84278204cd7f36adbea7ad8094e039ac
PKG_DESCR:= library for configuring and customizing font access
PKG_SECTION:= libs
PKG_DEPENDS:= libxml2
diff --git a/package/freetype/Makefile b/package/freetype/Makefile
index 7db8a879e..b5d239569 100644
--- a/package/freetype/Makefile
+++ b/package/freetype/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= freetype
-PKG_VERSION:= 2.4.4
+PKG_VERSION:= 2.5.1
PKG_RELEASE:= 1
-PKG_MD5SUM:= 9273efacffb683483e58a9e113efae9f
+PKG_MD5SUM:= a359993ad0dc23323c676b04fdb57110
PKG_DESCR:= A free, high-quality and portable font engine
PKG_SECTION:= libs
PKG_DEPENDS:= zlib
@@ -24,6 +24,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBFREETYPE,libfreetype,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+CONFIGURE_ARGS+= --without-png
+
libfreetype-install:
${INSTALL_DIR} ${IDIR_LIBFREETYPE}/usr/lib
${CP} ${WRKINST}/usr/lib/libfreetype.so* ${IDIR_LIBFREETYPE}/usr/lib
diff --git a/package/freetype/patches/patch-builds_unix_freetype-config_in b/package/freetype/patches/patch-builds_unix_freetype-config_in
new file mode 100644
index 000000000..0348c4f56
--- /dev/null
+++ b/package/freetype/patches/patch-builds_unix_freetype-config_in
@@ -0,0 +1,16 @@
+--- freetype-2.5.1.orig/builds/unix/freetype-config.in 2013-11-12 13:33:36.000000000 +0100
++++ freetype-2.5.1/builds/unix/freetype-config.in 2013-12-06 15:56:16.000000000 +0100
+@@ -13,10 +13,10 @@ LC_ALL=C
+ export LC_ALL
+
+ prefix="%prefix%"
+-exec_prefix="%exec_prefix%"
++exec_prefix="${prefix}/bin"
+ exec_prefix_set="no"
+-includedir="%includedir%"
+-libdir="%libdir%"
++includedir="${prefix}/include"
++libdir="${prefix}/lib"
+ enable_shared="%build_libtool_libs%"
+
+ usage()
diff --git a/package/freetype/patches/patch-builds_unix_freetype2_in b/package/freetype/patches/patch-builds_unix_freetype2_in
new file mode 100644
index 000000000..9abb5afd9
--- /dev/null
+++ b/package/freetype/patches/patch-builds_unix_freetype2_in
@@ -0,0 +1,13 @@
+--- freetype-2.5.1.orig/builds/unix/freetype2.in 2013-11-12 13:53:44.000000000 +0100
++++ freetype-2.5.1/builds/unix/freetype2.in 2013-12-06 16:08:11.000000000 +0100
+@@ -1,7 +1,7 @@
+ prefix="%prefix%"
+-exec_prefix="%exec_prefix%"
+-libdir="%libdir%"
+-includedir="%includedir%/freetype2"
++exec_prefix="${prefix}"
++libdir="${prefix}/lib"
++includedir="${prefix}/include/freetype2"
+
+ Name: FreeType 2
+ Description: A free, high-quality, and portable font engine.
diff --git a/package/freetype/patches/patch-builds_unix_ltmain_sh b/package/freetype/patches/patch-builds_unix_ltmain_sh
deleted file mode 100644
index 89bf461e4..000000000
--- a/package/freetype/patches/patch-builds_unix_ltmain_sh
+++ /dev/null
@@ -1,11 +0,0 @@
---- freetype-2.3.11.orig/builds/unix/ltmain.sh 2009-10-10 20:37:53.000000000 +0200
-+++ freetype-2.3.11/builds/unix/ltmain.sh 2011-01-14 00:21:25.000000000 +0100
-@@ -4765,7 +4765,7 @@ func_mode_link ()
- # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
- # @file GCC response files
- -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
-+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto*)
- func_quote_for_eval "$arg"
- arg="$func_quote_for_eval_result"
- func_append compile_command " $arg"
diff --git a/package/freetype/patches/patch-builds_unix_unix-cc_in b/package/freetype/patches/patch-builds_unix_unix-cc_in
deleted file mode 100644
index b4b1df60d..000000000
--- a/package/freetype/patches/patch-builds_unix_unix-cc_in
+++ /dev/null
@@ -1,11 +0,0 @@
---- freetype-2.4.4.orig/builds/unix/unix-cc.in 2010-08-31 13:04:28.000000000 +0200
-+++ freetype-2.4.4/builds/unix/unix-cc.in 2011-02-05 18:05:59.000000000 +0100
-@@ -101,7 +101,7 @@ LDFLAGS := @LDFLAGS@
- CCraw_build := @CC_BUILD@ # native CC of building system
- E_BUILD := @EXEEXT_BUILD@ # extension for exexutable on building system
- EXPORTS_LIST := $(OBJ_DIR)/ftexport.sym
--CCexe := $(CCraw_build) # used to compile `apinames' only
-+CCexe := $(CCraw_build) $(CFLAGS_FOR_BUILD) # used to compile `apinames' only
-
-
- # Library linking
diff --git a/package/glib/Makefile b/package/glib/Makefile
index 6c7d113e6..41edca441 100644
--- a/package/glib/Makefile
+++ b/package/glib/Makefile
@@ -11,7 +11,7 @@ PKG_MD5SUM:= 2f4b15f7ef43d8702d067ab987bf7aba
PKG_DESCR:= low-level core library that forms the basis of GTK+
PKG_SECTION:= libs
PKG_DEPENDS:= libpthread
-PKG_BUILDDEP:= libffi gettext-tiny libiconv-tiny glib-host zlib
+PKG_BUILDDEP:= libffi gettext-tiny libiconv-tiny glib-host zlib libelf dbus
PKG_URL:= http://www.gtk.org/
PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/glib/${PKG_EXTRAVER}/
PKG_NOPARALLEL:= 1
diff --git a/package/kmod/Makefile b/package/kmod/Makefile
index 2baf63a97..944f47599 100644
--- a/package/kmod/Makefile
+++ b/