summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-05 12:54:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-05 12:54:21 +0100
commit47700fbf1cafdcb6b697ecb02f11363173e6b008 (patch)
tree5d4c104d81f7fe43d380c97fec2bdd53f84cc9fa /package
parentf48a3ede4e7b99a0a58262a88b632ee01d7d3a0a (diff)
parent7e783125e4ba1ad319febf468e2e6e90e4c0ff42 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package')
-rw-r--r--package/asterisk/Makefile4
-rw-r--r--package/avahi/Makefile5
-rw-r--r--package/avahi/patches/patch-Makefile_am12
-rw-r--r--package/avahi/patches/patch-avahi-ui_Makefile_am19
-rw-r--r--package/avahi/patches/patch-configure_ac10
-rw-r--r--package/avahi/patches/patch-ltmain_sh6
-rw-r--r--package/base-files/Makefile6
-rw-r--r--package/fbset/Makefile7
-rw-r--r--package/gcc/Makefile10
-rw-r--r--package/gcc/patches/4.8.2/gcc-cppflags.patch24
-rw-r--r--package/gcc/patches/4.8.2/musl-sh.patch11
-rw-r--r--package/gcc/patches/4.8.2/musl-stubs.patch49
-rw-r--r--package/rdate/Makefile2
-rw-r--r--package/rdate/patches/patch-arc4random_c41
-rw-r--r--package/xkeyboard-config/Makefile12
-rw-r--r--package/xkeyboard-config/patches/patch-Makefile_am10
-rw-r--r--package/xkeyboard-config/patches/patch-configure_ac13
-rw-r--r--package/xkeyboard-config/patches/patch-rules_Makefile_am10
-rw-r--r--package/xkeyboard-config/patches/patch-rules_base_extras_xml_in855
-rw-r--r--package/xkeyboard-config/patches/patch-rules_base_xml_in7654
-rw-r--r--package/xkeyboard-config/patches/patch-rules_evdev_extras_xml_in855
-rw-r--r--package/xkeyboard-config/patches/patch-rules_evdev_xml_in7654
22 files changed, 17251 insertions, 18 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index 964c417df..051ad3ea3 100644
--- a/package/asterisk/Makefile
+++ b/package/asterisk/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= asterisk
PKG_VERSION:= 1.8.20.1
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 99204257de80a42c4e287fc93dfe714a
PKG_DESCR:= Open Source PBX
PKG_SECTION:= phone
@@ -101,7 +101,7 @@ endif
INSTALL_STYLE:= manual
-TARGET_LDFLAGS+= -lm -ltinfo
+TARGET_LDFLAGS+= -lm -ltinfo -ldl -lpthread
MAKE_ENV= ASTCFLAGS="${TARGET_CPPFLAGS} -DHAVE_STRTOQ" \
ASTLDFLAGS="${TARGET_LDFLAGS}"
MAKE_FLAGS+= DESTDIR="$(WRKINST)" \
diff --git a/package/avahi/Makefile b/package/avahi/Makefile
index fa8c56fe1..bd203e79e 100644
--- a/package/avahi/Makefile
+++ b/package/avahi/Makefile
@@ -5,11 +5,11 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= avahi
PKG_VERSION:= 0.6.31
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 2f22745b8f7368ad5a0a3fddac343f2d
PKG_DESCR:= mDNS daemon
PKG_SECTION:= dhcp
-PKG_BUILDDEP:= libdaemon expat gdbm glib gettext-tiny gtk+ dbus
+PKG_BUILDDEP:= autotool libdaemon expat gdbm glib gettext-tiny gtk+ dbus
PKG_URL:= http://avahi.org/
PKG_SITES:= http://avahi.org/download/
PKG_NEED_CXX:= 1
@@ -33,6 +33,7 @@ $(eval $(call PKG_template,AVAHI_DAEMON,avahi-daemon,${PKG_VERSION}-${PKG_RELEAS
$(eval $(call PKG_template,AVAHI_DNSCONFD,avahi-dnsconfd,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_AVAHI_DNSCONFD},${PKGSD_AVAHI_DNSCONFD},${PKG_SECTION}))
$(eval $(call PKG_template,LIBAVAHI,libavahi,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBAVAHI},${PKGSC_LIBAVAHI},${PKG_OPTS}))
+AUTOTOOL_STYLE:= autoreconf
CONFIGURE_ARGS+= --enable-glib \
--enable-gtk2 \
--enable-libdaemon \
diff --git a/package/avahi/patches/patch-Makefile_am b/package/avahi/patches/patch-Makefile_am
new file mode 100644
index 000000000..ff5160336
--- /dev/null
+++ b/package/avahi/patches/patch-Makefile_am
@@ -0,0 +1,12 @@
+--- avahi-0.6.31.orig/Makefile.am 2011-12-30 22:26:44.000000000 +0100
++++ avahi-0.6.31/Makefile.am 2014-03-04 09:57:29.000000000 +0100
+@@ -75,8 +75,7 @@ SUBDIRS = \
+ avahi-compat-howl \
+ avahi-autoipd \
+ avahi-ui \
+- avahi-ui-sharp \
+- po
++ avahi-ui-sharp
+
+ DX_INPUT = \
+ $(srcdir)/avahi-common/address.h \
diff --git a/package/avahi/patches/patch-avahi-ui_Makefile_am b/package/avahi/patches/patch-avahi-ui_Makefile_am
new file mode 100644
index 000000000..c1744d9d0
--- /dev/null
+++ b/package/avahi/patches/patch-avahi-ui_Makefile_am
@@ -0,0 +1,19 @@
+--- avahi-0.6.31.orig/avahi-ui/Makefile.am 2012-02-14 23:22:16.000000000 +0100
++++ avahi-0.6.31/avahi-ui/Makefile.am 2014-03-04 09:45:16.000000000 +0100
+@@ -79,9 +79,6 @@ libavahi_ui_gtk3_la_CFLAGS += -DDATABASE
+ endif
+
+ bin_PROGRAMS = bssh
+-desktop_DATA += bssh.desktop bvnc.desktop
+-@INTLTOOL_DESKTOP_RULE@
+-
+ bssh_SOURCES = bssh.c
+
+ if HAVE_GTK3
+@@ -108,6 +105,4 @@ endif # HAVE_GLIB
+ endif
+ endif
+
+-@INTLTOOL_DESKTOP_RULE@
+-
+ CLEANFILES = $(desktop_DATA) $(desktop_DATA_in)
diff --git a/package/avahi/patches/patch-configure_ac b/package/avahi/patches/patch-configure_ac
new file mode 100644
index 000000000..c610da2cd
--- /dev/null
+++ b/package/avahi/patches/patch-configure_ac
@@ -0,0 +1,10 @@
+--- avahi-0.6.31.orig/configure.ac 2012-02-14 22:44:25.000000000 +0100
++++ avahi-0.6.31/configure.ac 2014-03-04 08:05:14.000000000 +0100
+@@ -412,7 +412,6 @@ if test "x$have_kqueue" = "xyes" ; then
+ AC_DEFINE([HAVE_KQUEUE], 1, [Enable BSD kqueue() usage])
+ fi
+
+-IT_PROG_INTLTOOL([0.35.0])
+ GETTEXT_PACKAGE=avahi
+ AC_SUBST([GETTEXT_PACKAGE])
+ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package])
diff --git a/package/avahi/patches/patch-ltmain_sh b/package/avahi/patches/patch-ltmain_sh
index c83acd926..e3bcd4083 100644
--- a/package/avahi/patches/patch-ltmain_sh
+++ b/package/avahi/patches/patch-ltmain_sh
@@ -1,6 +1,6 @@
---- avahi-0.6.30.orig/ltmain.sh 2011-04-04 00:10:35.000000000 +0200
-+++ avahi-0.6.30/ltmain.sh 2011-05-12 12:30:44.000000000 +0200
-@@ -5840,7 +5840,7 @@ func_mode_link ()
+--- avahi-0.6.31.orig/ltmain.sh 2012-02-14 23:36:26.000000000 +0100
++++ avahi-0.6.31/ltmain.sh 2014-03-04 07:44:03.000000000 +0100
+@@ -5853,7 +5853,7 @@ func_mode_link ()
# -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index ad09f8d3d..9323b25ad 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -75,6 +75,12 @@ endif
ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC64),y)
$(SED) 's#ttyS#hvc#g' $(IDIR_BASE_FILES)/etc/inittab
endif
+ifeq ($(ADK_TARGET_SYSTEM_QEMU_SH4),y)
+ $(SED) 's#ttyS0#ttySC1#g' $(IDIR_BASE_FILES)/etc/inittab
+endif
+ifeq ($(ADK_TARGET_SYSTEM_QEMU_SH4EB),y)
+ $(SED) 's#ttyS0#ttySC1#g' $(IDIR_BASE_FILES)/etc/inittab
+endif
ifeq ($(ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800),y)
$(SED) 's#ttyS#ttyUL#g' $(IDIR_BASE_FILES)/etc/inittab
endif
diff --git a/package/fbset/Makefile b/package/fbset/Makefile
index bd8186ceb..d9b51e299 100644
--- a/package/fbset/Makefile
+++ b/package/fbset/Makefile
@@ -5,9 +5,10 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= fbset
PKG_VERSION:= 2.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= e547cfcbb8c1a4f2a6b8ba4acb8b7164
PKG_DESCR:= framebuffer utility
+PKG_DEPENDS:= bison-host flex-host
PKG_SECTION:= utils
PKG_SITES:= http://users.telenet.be/geertu/Linux/fbdev/
@@ -22,8 +23,8 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
do-build:
- (cd ${WRKSRC} && bison -d modes.y)
- (cd ${WRKSRC} && flex modes.l)
+ (cd ${WRKSRC} && PATH='${HOST_PATH}' bison -d modes.y)
+ (cd ${WRKSRC} && PATH='${HOST_PATH}' flex modes.l)
${TARGET_CC} ${TARGET_CFLAGS} -I${WRKBUILD} -c -o \
${WRKBUILD}/modes.tab.o ${WRKSRC}/modes.tab.c
${TARGET_CC} ${TARGET_CFLAGS} -I${WRKBUILD} -c -o \
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index 6d8ee9620..c0c5f749a 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -21,9 +21,13 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GCC,gcc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,GXX,g++,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-TARGET_CPPFLAGS:= ''
-TARGET_CFLAGS:= ''
-TARGET_CXXFLAGS:= ''
+CPPFLAGS_FOR_BUILD:= -I$(STAGING_HOST_DIR)/include
+CFLAGS_FOR_BUILD:=
+LDFLAGS_FOR_BUILD:=
+TARGET_CPPFLAGS:=
+TARGET_CFLAGS:=
+TARGET_LDFLAGS:=
+TARGET_CXXFLAGS:=
ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),y)
CONFIGURE_ARGS+= --with-abi=$(ADK_TARGET_MIPS_ABI)
diff --git a/package/gcc/patches/4.8.2/gcc-cppflags.patch b/package/gcc/patches/4.8.2/gcc-cppflags.patch
new file mode 100644
index 000000000..bc47be829
--- /dev/null
+++ b/package/gcc/patches/4.8.2/gcc-cppflags.patch
@@ -0,0 +1,24 @@
+diff -Nur gcc-4.8.2.orig/gcc/configure gcc-4.8.2/gcc/configure
+--- gcc-4.8.2.orig/gcc/configure 2013-06-19 03:18:38.000000000 +0200
++++ gcc-4.8.2/gcc/configure 2014-03-03 15:05:00.647062804 +0100
+@@ -11204,7 +11204,7 @@
+ esac
+ saved_CFLAGS="${CFLAGS}"
+ CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
+- LDFLAGS="${LDFLAGS_FOR_BUILD}" \
++ LDFLAGS="${LDFLAGS_FOR_BUILD}" CPPFLAGS="${CPPFLAGS_FOR_BUILD}" \
+ ${realsrcdir}/configure \
+ --enable-languages=${enable_languages-all} \
+ --target=$target_alias --host=$build_alias --build=$build_alias
+diff -Nur gcc-4.8.2.orig/gcc/Makefile.in gcc-4.8.2/gcc/Makefile.in
+--- gcc-4.8.2.orig/gcc/Makefile.in 2013-07-08 11:14:34.000000000 +0200
++++ gcc-4.8.2/gcc/Makefile.in 2014-03-03 15:13:22.021327933 +0100
+@@ -996,7 +996,7 @@
+ # Likewise. Put INCLUDES at the beginning: this way, if some autoconf macro
+ # puts -I options in CPPFLAGS, our include files in the srcdir will always
+ # win against random include files in /usr/include.
+-ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS)
++ALL_CPPFLAGS = $(INCLUDES)
+
+ # This is the variable to use when using $(COMPILER).
+ ALL_COMPILERFLAGS = $(ALL_CXXFLAGS)
diff --git a/package/gcc/patches/4.8.2/musl-sh.patch b/package/gcc/patches/4.8.2/musl-sh.patch
new file mode 100644
index 000000000..237f76f63
--- /dev/null
+++ b/package/gcc/patches/4.8.2/musl-sh.patch
@@ -0,0 +1,11 @@
+diff -Nur gcc-4.8.2.orig/gcc/config/sh/linux.h gcc-4.8.2/gcc/config/sh/linux.h
+--- gcc-4.8.2.orig/gcc/config/sh/linux.h 2013-03-14 04:01:53.000000000 +0100
++++ gcc-4.8.2/gcc/config/sh/linux.h 2014-03-01 11:33:10.000000000 +0100
+@@ -44,6 +44,7 @@
+ #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+
+ #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
++#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-sh.so.1"
+
+ #undef SUBTARGET_LINK_EMUL_SUFFIX
+ #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"
diff --git a/package/gcc/patches/4.8.2/musl-stubs.patch b/package/gcc/patches/4.8.2/musl-stubs.patch
new file mode 100644
index 000000000..35050fd9c
--- /dev/null
+++ b/package/gcc/patches/4.8.2/musl-stubs.patch
@@ -0,0 +1,49 @@
+diff -Nur gcc-4.8.2.orig/gcc/config/m68k/linux.h gcc-4.8.2/gcc/config/m68k/linux.h
+--- gcc-4.8.2.orig/gcc/config/m68k/linux.h 2013-01-10 21:38:27.000000000 +0100
++++ gcc-4.8.2/gcc/config/m68k/linux.h 2014-02-24 10:19:00.214399704 +0100
+@@ -72,6 +72,7 @@
+ done. */
+
+ #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
++#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-m68k.so.1"
+
+ #undef LINK_SPEC
+ #define LINK_SPEC "-m m68kelf %{shared} \
+diff -Nur gcc-4.8.2.orig/gcc/config/mips/linux64.h gcc-4.8.2/gcc/config/mips/linux64.h
+--- gcc-4.8.2.orig/gcc/config/mips/linux64.h 2013-01-10 21:38:27.000000000 +0100
++++ gcc-4.8.2/gcc/config/mips/linux64.h 2014-02-24 10:19:47.238583895 +0100
+@@ -27,6 +27,9 @@
+ #define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
+ #define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"
+ #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
++#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-mips.so.1"
++#define MUSL_DYNAMIC_LINKERN32 "/lib/ld-musl-mips.so.1"
++#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-mips.so.1"
+ #define GNU_USER_DYNAMIC_LINKERN32 \
+ CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \
+- BIONIC_DYNAMIC_LINKERN32)
++ BIONIC_DYNAMIC_LINKERN32, MUSL_DYNAMIC_LINKERN32)
+diff -Nur gcc-4.8.2.orig/gcc/config/sparc/linux64.h gcc-4.8.2/gcc/config/sparc/linux64.h
+--- gcc-4.8.2.orig/gcc/config/sparc/linux64.h 2013-01-10 21:38:27.000000000 +0100
++++ gcc-4.8.2/gcc/config/sparc/linux64.h 2014-02-24 10:20:49.414827006 +0100
+@@ -94,6 +94,9 @@
+
+ #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
+ #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2"
++#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-sparc.so.1"
++#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-sparc.so.1"
++
+
+ #ifdef SPARC_BI_ARCH
+
+diff -Nur gcc-4.8.2.orig/gcc/config/sparc/linux.h gcc-4.8.2/gcc/config/sparc/linux.h
+--- gcc-4.8.2.orig/gcc/config/sparc/linux.h 2013-01-10 21:38:27.000000000 +0100
++++ gcc-4.8.2/gcc/config/sparc/linux.h 2014-02-24 10:21:14.342924339 +0100
+@@ -84,6 +84,7 @@
+ done. */
+
+ #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
++#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-sparc.so.1"
+
+ #undef LINK_SPEC
+ #define LINK_SPEC "-m elf32_sparc %{shared:-shared} \
diff --git a/package/rdate/Makefile b/package/rdate/Makefile
index 1dd8d0222..a37cbdfbc 100644
--- a/package/rdate/Makefile
+++ b/package/rdate/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= rdate
PKG_VERSION:= 20070817
-PKG_RELEASE:= 3
+PKG_RELEASE:= 4
PKG_MD5SUM:= 9a6489d7de4311678a3fab001bb503df
PKG_DESCR:= A small rdate and NTP client
PKG_SECTION:= ntp
diff --git a/package/rdate/patches/patch-arc4random_c b/package/rdate/patches/patch-arc4random_c
new file mode 100644
index 000000000..e84a77832
--- /dev/null
+++ b/package/rdate/patches/patch-arc4random_c
@@ -0,0 +1,41 @@
+--- rdate.orig/arc4random.c 2007-05-15 00:15:12.000000000 +0200
++++ rdate/arc4random.c 2014-03-03 07:27:38.000000000 +0100
+@@ -30,7 +30,6 @@
+ #include <sys/param.h>
+ #include <sys/types.h>
+ #include <sys/time.h>
+-#include <sys/sysctl.h>
+ #include <fcntl.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -97,30 +96,6 @@ arc4_stir(struct arc4_stream *as)
+ if (fd != -1) {
+ read(fd, rdat.rnd, sizeof(rdat.rnd));
+ close(fd);
+- } else {
+- /* /dev/urandom failed? Maybe we're in a chroot. */
+-//#if defined(CTL_KERN) && defined(KERN_RANDOM) && defined(RANDOM_UUID)
+-#ifdef _LINUX_SYSCTL_H
+- /* XXX this is for Linux, which uses enums */
+-
+- int mib[3];
+- size_t i, len;
+-
+- mib[0] = CTL_KERN;
+- mib[1] = KERN_RANDOM;
+- mib[2] = RANDOM_UUID;
+-
+- for (i = 0; i < sizeof(rdat.rnd) / sizeof(u_int); i ++) {
+- len = sizeof(u_int);
+- if (sysctl(mib, 3, &rdat.rnd[i], &len, NULL, 0) == -1) {
+- fprintf(stderr, "warning: no entropy source\n");
+- break;
+- }
+- }
+-#else
+- /* XXX kFreeBSD doesn't seem to have KERN_ARND or so */
+- ;
+-#endif
+ }
+
+ arc4_stir_pid = getpid();
diff --git a/package/xkeyboard-config/Makefile b/package/xkeyboard-config/Makefile
index 68a89e31e..df46bc896 100644
--- a/package/xkeyboard-config/Makefile
+++ b/package/xkeyboard-config/Makefile
@@ -4,18 +4,22 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= xkeyboard-config
-PKG_VERSION:= 2.6
+PKG_VERSION:= 2.11
PKG_RELEASE:= 1
-PKG_MD5SUM:= 9a77cb477aec1123720332a091255f25
+PKG_MD5SUM:= e3defd29cc464cc1a1dfa0eebaca53b1
PKG_DESCR:= X keyboard config
PKG_SECTION:= x11/libs
-PKG_BUILDDEP:= xkbcomp
-PKG_SITES:= ${MASTER_SITE_XORG}
+PKG_BUILDDEP:= autotool util-macros xkbcomp
+PKG_SITES:= http://www.x.org/releases/individual/data/xkeyboard-config/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,XKEYBOARD_CONFIG,xkeyboard-config,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+AUTOTOOL_STYLE:= autoreconf
+
xkeyboard-config-install:
${INSTALL_DIR} ${IDIR_XKEYBOARD_CONFIG}/usr/share/X11/xkb
${CP} ${WRKINST}/usr/share/X11/xkb/* \
diff --git a/package/xkeyboard-config/patches/patch-Makefile_am b/package/xkeyboard-config/patches/patch-Makefile_am
new file mode 100644
index 000000000..91f90f91b
--- /dev/null
+++ b/package/xkeyboard-config/patches/patch-Makefile_am
@@ -0,0 +1,10 @@
+--- xkeyboard-config-2.11.orig/Makefile.am 2013-10-19 18:02:53.000000000 +0200
++++ xkeyboard-config-2.11/Makefile.am 2014-03-04 14:43:40.000000000 +0100
+@@ -1,6 +1,6 @@
+ AUTOMAKE_OPTIONS = foreign
+
+-SUBDIRS = compat geometry keycodes po rules symbols types docs man
++SUBDIRS = compat geometry keycodes rules symbols types
+
+ pkgconfigdir = $(datadir)/pkgconfig
+ pkgconfig_DATA = xkeyboard-config.pc
diff --git a/package/xkeyboard-config/patches/patch-configure_ac b/package/xkeyboard-config/patches/patch-configure_ac
new file mode 100644
index 000000000..2cb7cc7db
--- /dev/null
+++ b/package/xkeyboard-config/patches/patch-configure_ac
@@ -0,0 +1,13 @@
+--- xkeyboard-config-2.11.orig/configure.ac 2014-01-29 21:08:27.000000000 +0100
++++ xkeyboard-config-2.11/configure.ac 2014-03-04 14:43:26.000000000 +0100
+@@ -63,10 +63,6 @@ AM_CONDITIONAL(USE_COMPAT_RULES, test "x
+ # ****
+ # i18n
+ # ****
+-AC_PROG_INTLTOOL(0.30)
+-
+-AM_GNU_GETTEXT_VERSION([0.18.1])
+-AM_GNU_GETTEXT([external])
+
+ GETTEXT_PACKAGE=xkeyboard-config
+ AC_SUBST(GETTEXT_PACKAGE)
diff --git a/package/xkeyboard-config/patches/patch-rules_Makefile_am b/package/xkeyboard-config/patches/patch-rules_Makefile_am
new file mode 100644
index 000000000..ac07e510b
--- /dev/null
+++ b/package/xkeyboard-config/patches/patch-rules_Makefile_am
@@ -0,0 +1,10 @@
+--- xkeyboard-config-2.11.orig/rules/Makefile.am 2013-12-17 23:59:06.000000000 +0100
++++ xkeyboard-config-2.11/rules/Makefile.am 2014-03-04 14:30:44.000000000 +0100
+@@ -244,4 +244,6 @@ MAINTAINERCLEANFILES = $(srcdir)/evdev.x
+ rulesdir = $(xkb_base)/rules
+ xmldir = $(rulesdir)
+
+-@INTLTOOL_XML_NOMERGE_RULE@
++# remove intltool-merge dependency
++%.xml: %.xml.in
++ cp $< $@
diff --git a/package/xkeyboard-config/patches/patch-rules_base_extras_xml_in b/package/xkeyboard-config/patches/patch-rules_base_extras_xml_in
new file mode 100644
index 000000000..beb2b7a9d
--- /dev/null
+++ b/package/xkeyboard-config/patches/patch-rules_base_extras_xml_in
@@ -0,0 +1,855 @@
+--- xkeyboard-config-2.11.orig/rules/base.extras.xml.in 2013-12-24 00:48:45.000000000 +0100
++++ xkeyboard-config-2.11/rules/base.extras.xml.in 2014-03-04 14:31:19.000000000 +0100
+@@ -1,4 +1,4 @@
+-<?xml version="1.0" encoding="utf-8"?>
++<?xml version="1.0" encoding="UTF-8"?>
+ <!DOCTYPE xkbConfigRegistry SYSTEM "xkb.dtd">
+ <xkbConfigRegistry>
+ <modelList/>
+@@ -6,8 +6,8 @@
+ <layout>
+ <configItem>
+ <name>apl</name>
+- <_shortDescription>apl</_shortDescription>
+- <_description>APL keyboard symbols</_description>
++ <shortDescription>apl</shortDescription>
++ <description>APL keyboard symbols</description>
+ <languageList><iso639Id>eng</iso639Id></languageList>
+ </configItem>
+ <variantList>
+@@ -58,29 +58,29 @@
+ <layout>
+ <configItem>
+ <name>ca</name>
+- <_shortDescription>fr</_shortDescription>
+- <_description>French (Canada)</_description>
++ <shortDescription>fr</shortDescription>
++ <description>French (Canada)</description>
+ <languageList><iso639Id>fra</iso639Id></languageList>
+ </configItem>
+ <variantList>
+ <variant>
+ <configItem>
+ <name>kut</name>
+- <_shortDescription>kut</_shortDescription>
+- <_description>Kutenai</_description>
++ <shortDescription>kut</shortDescription>
++ <description>Kutenai</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>shs</name>
+- <_shortDescription>shs</_shortDescription>
+- <_description>Secwepemctsin</_description>
++ <shortDescription>shs</shortDescription>
++ <description>Secwepemctsin</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>sun_type6</name>
+- <_description>Multilingual (Canada, Sun Type 6/7)</_description>
++ <description>Multilingual (Canada, Sun Type 6/7)</description>
+ </configItem>
+ </variant>
+ </variantList>
+@@ -88,8 +88,8 @@
+ <layout>
+ <configItem>
+ <name>de</name>
+- <_shortDescription>de</_shortDescription>
+- <_description>German</_description>
++ <shortDescription>de</shortDescription>
++ <description>German</description>
+ <languageList>
+ <iso639Id>ger</iso639Id>
+ </languageList>
+@@ -98,7 +98,7 @@
+ <variant>
+ <configItem>
+ <name>us</name>
+- <_description>German (US keyboard with German letters)</_description>
++ <description>German (US keyboard with German letters)</description>
+ <languageList>
+ <iso639Id>eng</iso639Id>
+ </languageList>
+@@ -107,7 +107,7 @@
+ <variant>
+ <configItem>
+ <name>hu</name>
+- <_description>German (with Hungarian letters and no dead keys)</_description>
++ <description>German (with Hungarian letters and no dead keys)</description>
+ <languageList>
+ <iso639Id>ger</iso639Id>
+ <iso639Id>hun</iso639Id>
+@@ -117,7 +117,7 @@
+ <variant>
+ <configItem>
+ <name>sun_type6</name>
+- <_description>German (Sun Type 6/7)</_description>
++ <description>German (Sun Type 6/7)</description>
+ </configItem>
+ </variant>
+ </variantList>
+@@ -125,15 +125,15 @@
+ <layout>
+ <configItem>
+ <name>ir</name>
+- <_shortDescription>fa</_shortDescription>
+- <_description>Persian</_description>
++ <shortDescription>fa</shortDescription>
++ <description>Persian</description>
+ <languageList><iso639Id>per</iso639Id></languageList>
+ </configItem>
+ <variantList>
+ <variant>
+ <configItem>
+ <name>ave</name>
+- <_description>Avestan</_description>
++ <description>Avestan</description>
+ <languageList><iso639Id>ave</iso639Id></languageList>
+ </configItem>
+ </variant>
+@@ -142,21 +142,21 @@
+ <layout>
+ <configItem>
+ <name>lt</name>
+- <_shortDescription>lt</_shortDescription>
+- <_description>Lithuanian</_description>
++ <shortDescription>lt</shortDescription>
++ <description>Lithuanian</description>
+ <languageList><iso639Id>lit</iso639Id></languageList>
+ </configItem>
+ <variantList>
+ <variant>
+ <configItem>
+ <name>us_dvorak</name>
+- <_description>Lithuanian (US Dvorak with Lithuanian letters)</_description>
++ <description>Lithuanian (US Dvorak with Lithuanian letters)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>sun_type6</name>
+- <_description>Lithuanian (Sun Type 6/7)</_description>
++ <description>Lithuanian (Sun Type 6/7)</description>
+ </configItem>
+ </variant>
+ </variantList>
+@@ -164,8 +164,8 @@
+ <layout>
+ <configItem>
+ <name>lv</name>
+- <_shortDescription>lv</_shortDescription>
+- <_description>Latvian</_description>
++ <shortDescription>lv</shortDescription>
++ <description>Latvian</description>
+ <languageList>
+ <iso639Id>lav</iso639Id>
+ </languageList>
+@@ -174,55 +174,55 @@
+ <variant>
+ <configItem>
+ <name>dvorak</name>
+- <_description>Latvian (US Dvorak)</_description>
++ <description>Latvian (US Dvorak)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>ykeydvorak</name>
+- <_description>Latvian (US Dvorak, Y variant)</_description>
++ <description>Latvian (US Dvorak, Y variant)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>minuskeydvorak</name>
+- <_description>Latvian (US Dvorak, minus variant)</_description>
++ <description>Latvian (US Dvorak, minus variant)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>dvorakprogr</name>
+- <_description>Latvian (programmer US Dvorak)</_description>
++ <description>Latvian (programmer US Dvorak)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>ykeydvorakprogr</name>
+- <_description>Latvian (programmer US Dvorak, Y variant)</_description>
++ <description>Latvian (programmer US Dvorak, Y variant)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>minuskeydvorakprogr</name>
+- <_description>Latvian (programmer US Dvorak, minus variant)</_description>
++ <description>Latvian (programmer US Dvorak, minus variant)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>colemak</name>
+- <_description>Latvian (US Colemak)</_description>
++ <description>Latvian (US Colemak)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>apostrophecolemak</name>
+- <_description>Latvian (US Colemak, apostrophe variant)</_description>
++ <description>Latvian (US Colemak, apostrophe variant)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>sun_type6</name>
+- <_description>Latvian (Sun Type 6/7)</_description>
++ <description>Latvian (Sun Type 6/7)</description>
+ </configItem>
+ </variant>
+ </variantList>
+@@ -230,34 +230,34 @@
+ <layout>
+ <configItem>
+ <name>us</name>
+- <_shortDescription>en</_shortDescription>
+- <_description>English (US)</_description>
++ <shortDescription>en</shortDescription>
++ <description>English (US)</description>
+ <languageList><iso639Id>eng</iso639Id></languageList>
+ </configItem>
+ <variantList>
+ <variant>
+ <configItem>
+ <name>intl-unicode</name>
+- <_description>English (US, international AltGr Unicode combining)</_description>
++ <description>English (US, international AltGr Unicode combining)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>alt-intl-unicode</name>
+- <_description>English (US, international AltGr Unicode combining, alternative)</_description>
++ <description>English (US, international AltGr Unicode combining, alternative)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>ats</name>
+- <_description>Atsina</_description>
+- <!-- No ISO code in ISO639-2, only draft ISO693-3 -->
++ <description>Atsina</description>
++
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>crd</name>
+- <_description>Coeur d'Alene Salish</_description>
++ <description>Coeur d'Alene Salish</description>
+ <languageList><iso639Id>crd</iso639Id></languageList>
+ </configItem>
+ </variant>
+@@ -274,13 +274,13 @@
+ <variant>
+ <configItem>
+ <name>sun_type6</name>
+- <_description>English (US, Sun Type 6/7)</_description>
++ <description>English (US, Sun Type 6/7)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>norman</name>
+- <_description>English (Norman)</_description>
++ <description>English (Norman)</description>
+ </configItem>
+ </variant>
+ </variantList>
+@@ -288,27 +288,27 @@
+ <layout>
+ <configItem>
+ <name>pl</name>
+- <_shortDescription>pl</_shortDescription>
+- <_description>Polish</_description>
++ <shortDescription>pl</shortDescription>
++ <description>Polish</description>
+ <languageList><iso639Id>pol</iso639Id></languageList>
+ </configItem>
+ <variantList>
+ <variant>
+ <configItem>
+ <name>intl</name>
+- <_description>Polish (international with dead keys)</_description>
++ <description>Polish (international with dead keys)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>colemak</name>
+- <_description>Polish (Colemak)</_description>
++ <description>Polish (Colemak)</description>
+ </configItem>
+ </variant>
+ <variant>
+ <configItem>
+ <name>sun_type6</name>
+- <_description>Polish (Sun Type 6/7)</_description>
++ <description>Polish (Sun Type 6/7)</description>
+ </configItem>
+ </variant>
+ </variantList>
+@@ -316,16 +316,16 @@
+ <layout>
+ <configItem>
+ <name>ro</name>
+- <_shortDescription>ro&