]> code.ossystems Code Review - openembedded-core.git/commitdiff
libx11: upgrade to the latest version 1.3.4
authorDexuan Cui <dexuan.cui@intel.com>
Fri, 9 Jul 2010 05:32:10 +0000 (13:32 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 13 Jul 2010 14:21:43 +0000 (15:21 +0100)
Rebased the 3 patches x11_disable_makekeys.patch, nodolt.patch and
include_fix.patch; since the patches are also used by other recipes of lower
versions, I created a new directory libx11-1.3.4/ to hold the rebased
patches (the original patches are still kept unchanged);

Updated LICENSE and LIC_FILES_CHKSUM, and reset PR to "r0";

Removed "patch=1" in SRC_URI as by default a patch is applied;

Updated preferred-xorg-versions.inc.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
meta/conf/distro/include/preferred-xorg-versions.inc
meta/packages/xorg-lib/libx11-1.3.4/include_fix.patch [new file with mode: 0644]
meta/packages/xorg-lib/libx11-1.3.4/nodolt.patch [new file with mode: 0644]
meta/packages/xorg-lib/libx11-1.3.4/x11_disable_makekeys.patch [new file with mode: 0644]
meta/packages/xorg-lib/libx11.inc
meta/packages/xorg-lib/libx11_1.3.4.bb [moved from meta/packages/xorg-lib/libx11_1.3.bb with 51% similarity]

index 1085c6309b8e11fe6813a9fc69a63801e34717a3..060c8b7ecb0fad219de0ae665e210968af628a5b 100644 (file)
@@ -34,10 +34,10 @@ PREFERRED_VERSION_liblbxutil ?= "1.1.0"
 PREFERRED_VERSION_liboldx ?= "1.0.1"
 PREFERRED_VERSION_libsm ?= "1.1.1"
 PREFERRED_VERSION_libwindowswm ?= "1.0.0"
-PREFERRED_VERSION_libx11 ?= "1.3"
+PREFERRED_VERSION_libx11 ?= "1.3.4"
 PREFERRED_VERSION_libx11-diet ?= "1.3"
-PREFERRED_VERSION_libx11-native ?= "1.3"
-PREFERRED_VERSION_libx11-nativesdk ?= "1.3"
+PREFERRED_VERSION_libx11-native ?= "1.3.4"
+PREFERRED_VERSION_libx11-nativesdk ?= "1.3.4"
 PREFERRED_VERSION_libx11-trim ?= "1.3"
 PREFERRED_VERSION_libxau ?= "1.0.5"
 PREFERRED_VERSION_libxau-native ?= "1.0.5"
diff --git a/meta/packages/xorg-lib/libx11-1.3.4/include_fix.patch b/meta/packages/xorg-lib/libx11-1.3.4/include_fix.patch
new file mode 100644 (file)
index 0000000..c8aa085
--- /dev/null
@@ -0,0 +1,19 @@
+---
+ configure.ac |    6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+--- libX11-1.3.4.orig/configure.ac
++++ libX11-1.3.4/configure.ac
+@@ -353,9 +353,9 @@
+ #
+ # Find keysymdef.h
+ #
+-AC_MSG_CHECKING([keysymdef.h])
+-dir=`$PKG_CONFIG --variable=includedir xproto`
+-KEYSYMDEF="$dir/X11/keysymdef.h"
++AC_ARG_WITH(keysymdef,
++      AC_HELP_STRING([--with-keysymdef=DIR/keysymdef.h], [The location of keysymdef.h]),
++      KEYSYMDEF=$withval, KEYSYMDEF="")
+ if test -f "$KEYSYMDEF"; then
+         AC_MSG_RESULT([$KEYSYMDEF])
+ else
diff --git a/meta/packages/xorg-lib/libx11-1.3.4/nodolt.patch b/meta/packages/xorg-lib/libx11-1.3.4/nodolt.patch
new file mode 100644 (file)
index 0000000..011c23e
--- /dev/null
@@ -0,0 +1,10 @@
+--- libX11-1.3.4.orig/configure.ac
++++ libX11-1.3.4/configure.ac
+@@ -32,7 +32,6 @@
+ # Checks for programs.
+ AC_PROG_LIBTOOL
+-DOLT
+ AC_PROG_CC
+ PKG_PROG_PKG_CONFIG
diff --git a/meta/packages/xorg-lib/libx11-1.3.4/x11_disable_makekeys.patch b/meta/packages/xorg-lib/libx11-1.3.4/x11_disable_makekeys.patch
new file mode 100644 (file)
index 0000000..4036757
--- /dev/null
@@ -0,0 +1,31 @@
+---
+ src/util/Makefile.am |   21 -----------------
+ 1 file changed, 21 deletions(-)
+
+--- libX11-1.3.4.orig/src/util/Makefile.am
++++ libX11-1.3.4/src/util/Makefile.am
+@@ -1,24 +1,3 @@
+-noinst_PROGRAMS=makekeys
+-
+-makekeys_CFLAGS = \
+-      $(X11_CFLAGS) \
+-      $(CWARNFLAGS)
+-
+-CC = @CC_FOR_BUILD@
+-CPPFLAGS = @CPPFLAGS_FOR_BUILD@
+-CFLAGS = @CFLAGS_FOR_BUILD@
+-LDFLAGS = @LDFLAGS_FOR_BUILD@
+-
+ EXTRA_DIST = mkks.sh
+-if LINT
+-# Check source code with tools like lint & sparse
+-
+-ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+-              $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
+-
+-lint:
+-      $(LINT) $(ALL_LINT_FLAGS) makekeys.c
+-
+-endif LINT
index 3c8d4f959280be955fdfbdbb19239c84edc3b409..f8c17b1a6d6da18bb968fdce8d704766ee4496ef 100644 (file)
@@ -1,6 +1,7 @@
+DESCRIPTION = "X11 protocol and utility library"
+
 require xorg-lib-common.inc
 
-DESCRIPTION = "X11 protocol and utility library"
 PROVIDES = "virtual/libx11"
 
 XORG_PN = "libX11"
similarity index 51%
rename from meta/packages/xorg-lib/libx11_1.3.bb
rename to meta/packages/xorg-lib/libx11_1.3.4.bb
index ff62d90464b03e40d7a3768998df00847edd287f..aaeb38e2d60443e93fc6828de8ffee3ce3efe704 100644 (file)
@@ -1,11 +1,14 @@
 require libx11.inc
 
+LICENSE = "MIT & MIT-style & BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=bf75bfe4d05068311b5e6862d4b5f2c5"
+
 PE = "1"
-PR = "r2"
+PR = "r0"
 
-SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \
-            file://nodolt.patch;patch=1 \
-            file://include_fix.patch;patch=1"
+SRC_URI += "file://x11_disable_makekeys.patch \
+            file://nodolt.patch \
+            file://include_fix.patch"
 
 DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \
             libxdmcp xf86bigfontproto kbproto inputproto xproto-native gettext"