Xorg related changes
cover Xorg related changes
Hi,
this patchset brings meta-oe and oe-core xorg stuff together and most of xorg recipes will be removed from meta-oe (sending another pull request now).
This step is needed to be able to separate common x11 to meta-x11 or whatever later.
The following changes since commit 96241de59fdf548ae0f80cc9e4668f9ba11924ef:
Fix flac build on e500mc cores (2011-09-29 19:31:38 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib jansa/x11
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/x11
Martin Jansa (13):
xserver-xf86: upgrade to 1.11.0 and move shared definitions to .inc
files
xserver-xf86-dri-lite: remove COMPATIBLE_HOST
libxft, libxrender, renderproto: add native BBCLASSEXTEND
libx11: upgrade to 1.4.4
default-providers: define PREFERRED_PROVIDER_virtual/libx11-native
xorg-app-common: merge some changes from meta-oe
xorg-driver: rename .inc files and merge some changes from meta-oe
xf86-video-omapfb: bump SRCREV and add patch from meta-oe
xserver-nodm-init: merge some changes from meta-oe
rgb: import from meta-oe layer
libdrm: improve packaging
glx-use-tls: add from meta-oe layer
mesa: upgrade to 7.11
meta/classes/glx-use-tls.bbclass | 7 +
meta/conf/distro/include/default-providers.inc | 1 +
meta/recipes-graphics/drm/libdrm.inc | 7 +-
meta/recipes-graphics/drm/libdrm_2.4.26.bb | 2 +-
meta/recipes-graphics/drm/libdrm_git.bb | 2 +-
meta/recipes-graphics/mesa/mesa-7.11.inc | 15 +
meta/recipes-graphics/mesa/mesa-common.inc | 48 ++-
.../mesa/mesa-dri-glsl-native_7.11.bb | 28 ++
.../mesa/mesa-dri-glsl-native_7.8.2.bb | 27 --
meta/recipes-graphics/mesa/mesa-dri.inc | 27 ++
meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 3 +
meta/recipes-graphics/mesa/mesa-xlib.inc | 5 +
meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 4 +
.../mesa/{mesa-dri => mesa}/uclibc.patch | 0
meta/recipes-graphics/mesa/mesa_7.11.bb | 6 +
.../x11-common/xserver-nodm-init/xserver-nodm | 30 +--
meta/recipes-graphics/xorg-app/rgb_1.0.4.bb | 10 +
meta/recipes-graphics/xorg-app/xorg-app-common.inc | 10 +-
.../xorg-driver/xf86-input-evdev_2.6.0.bb | 4 +-
.../xorg-driver/xf86-input-keyboard_1.6.0.bb | 4 +-
.../xorg-driver/xf86-input-keyboard_git.bb | 3 +-
.../xorg-driver/xf86-input-mouse_1.7.0.bb | 4 +-
.../xorg-driver/xf86-input-mouse_git.bb | 4 +-
.../xorg-driver/xf86-input-synaptics_1.4.0.bb | 4 +-
.../xorg-driver/xf86-input-synaptics_git.bb | 3 +-
.../xorg-driver/xf86-input-vmmouse_12.7.0.bb | 4 +-
.../xorg-driver/xf86-video-intel_2.15.0.bb | 4 +-
.../xorg-driver/xf86-video-intel_git.bb | 4 +-
.../0004-Attempt-to-fix-VRFB.patch | 325 ++++++++++++++++++++
.../xorg-driver/xf86-video-omapfb_git.bb | 20 +-
.../xorg-driver/xf86-video-vesa_2.3.0.bb | 4 +-
.../xorg-driver/xf86-video-vmware_11.0.3.bb | 4 +-
...86-driver-common.inc => xorg-driver-common.inc} | 14 +-
...xf86-input-common.inc => xorg-driver-input.inc} | 3 +-
...xf86-video-common.inc => xorg-driver-video.inc} | 2 +-
.../xorg-lib/libx11-1.4.4/keysymdef_include.patch | 19 ++
.../libx11-1.4.4/x11_disable_makekeys.patch | 29 ++
meta/recipes-graphics/xorg-lib/libx11.inc | 52 ++--
meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb | 14 +
meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb | 2 +
meta/recipes-graphics/xorg-lib/libxrender_0.9.6.bb | 2 +-
.../xorg-proto/renderproto_0.11.1.bb | 2 +-
.../xorg-xserver/xserver-xf86-1.11.0.inc | 7 +
.../xorg-xserver/xserver-xf86-common.inc | 114 ++++++-
.../xorg-xserver/xserver-xf86-dri-lite.inc | 37 +--
.../xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb | 20 --
.../xorg-xserver/xserver-xf86-dri-lite_1.11.0.bb | 4 +
.../xorg-xserver/xserver-xf86-dri-lite_git.bb | 8 +-
.../xorg-xserver/xserver-xf86-lite.inc | 32 +--
.../xorg-xserver/xserver-xf86-lite_1.10.1.bb | 12 -
.../xorg-xserver/xserver-xf86-lite_1.11.0.bb | 2 +
51 files changed, 750 insertions(+), 248 deletions(-)
create mode 100644 meta/classes/glx-use-tls.bbclass
create mode 100644 meta/recipes-graphics/mesa/mesa-7.11.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
delete mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb
create mode 100644 meta/recipes-graphics/mesa/mesa-dri.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-dri_7.11.bb
create mode 100644 meta/recipes-graphics/mesa/mesa-xlib.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
rename meta/recipes-graphics/mesa/{mesa-dri => mesa}/uclibc.patch (100%)
create mode 100644 meta/recipes-graphics/mesa/mesa_7.11.bb
create mode 100644 meta/recipes-graphics/xorg-app/rgb_1.0.4.bb
create mode 100644 meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0004-Attempt-to-fix-VRFB.patch
rename meta/recipes-graphics/xorg-driver/{xf86-driver-common.inc => xorg-driver-common.inc} (66%)
rename meta/recipes-graphics/xorg-driver/{xf86-input-common.inc => xorg-driver-input.inc} (81%)
rename meta/recipes-graphics/xorg-driver/{xf86-video-common.inc => xorg-driver-video.inc} (65%)
create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.4.4/keysymdef_include.patch
create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.4.4/x11_disable_makekeys.patch
create mode 100644 meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-1.11.0.inc
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.11.0.bb
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.10.1.bb
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.11.0.bbSignature · 1 line
1.7.6.1
PATCH 1/13 xserver-xf86: upgrade to 1.11.0 and move shared definitions to .inc files
* also improve packaging a bit
* motivated by xserver-xorg from meta-oe (which is IMHO named better - closer to upstream)
--- .../xorg-xserver/xserver-xf86-1.11.0.inc | 7 ++ .../xorg-xserver/xserver-xf86-common.inc | 114 +++++++++++++++++--- .../xorg-xserver/xserver-xf86-dri-lite.inc | 34 +----- .../xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb | 20 ---- .../xorg-xserver/xserver-xf86-dri-lite_1.11.0.bb | 4 + .../xorg-xserver/xserver-xf86-dri-lite_git.bb | 8 +-- .../xorg-xserver/xserver-xf86-lite.inc | 32 +----- .../xorg-xserver/xserver-xf86-lite_1.10.1.bb | 12 -- .../xorg-xserver/xserver-xf86-lite_1.11.0.bb | 2 + 9 files changed, 123 insertions(+), 110 deletions(-) create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-1.11.0.inc delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.11.0.bb delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.10.1.bb create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.11.0.bb
meta/recipes-graphics/xorg-xserver/xserver-xf86-1.11.0.inc new file +7 -0
@@ -0,0 +1,7 @@ +SRC_URI += "file://crosscompile.patch" + +# Misc build failure for master HEAD +SRC_URI += "file://fix_open_max_preprocessor_error.patch" + +SRC_URI[md5sum] = "948e665bddc31c34be79b59db67c986e" +SRC_URI[sha256sum] = "9feb62c2972644fadaf94eda02c1d0009ec7089abd47086e5d9dcb4625338453"
meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc +101 -13
135 lines not on this page · raw message
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite.inc +6 -28
@@ -1,37 +1,15 @@ require xserver-xf86-common.inc -PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86rushproto xf86vidmodeproto xf86bigfontproto compositeproto recordproto resourceproto videoproto scrnsaverproto evieext trapproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto glproto" +PROTO_DEPS += "xf86driproto dri2proto" +LIB_DEPS += "virtual/libgl" -LIB_DEPS = "pixman virtual/libgl libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl" - -DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}" - -RDEPENDS_${PN} += "hal xorg-minimal-fonts" - -FILES_${PN} += "${bindir}/Xorg " - -EXTRA_OECONF += "--disable-static \ - --disable-acfb \ - --disable-ccfb \ - --disable-mcfb \ - --disable-dga \ - --disable-xinerama \ - --disable-xf86misc \ - --disable-xorgcfg \ - --disable-record \ - --disable-dmx \ - --disable-xnest \ - --disable-xvfb \ - --enable-composite \ +EXTRA_OECONF += "\ --enable-glx-tls \ - --sysconfdir=/etc/X11 \ - --localstatedir=/var \ + --enable-dri \ + --enable-dri2 \ --with-pic \ --with-int10=x86emu \ - --with-fontdir=${datadir}/fonts/X11 \ - --with-xkb-output=/var/lib/xkb \ - ac_cv_file__usr_share_sgml_X11_defs_ent=no" +" # Due to mesa-dri COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' -
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb deleted +0 -20
@@ -1,20 +0,0 @@ -require xserver-xf86-dri-lite.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00" - -PROTO_DEPS += "xf86driproto dri2proto" - -DEPENDS += "font-util" - -PE = "1" -PR = "r0" - -SRC_URI += "file://crosscompile.patch" - -# Misc build failure for master HEAD -SRC_URI += "file://fix_open_max_preprocessor_error.patch" - -SRC_URI[md5sum] = "75f117c74f2ecaf9dd167f6a66ac98de" -SRC_URI[sha256sum] = "143c7c3d7d4428352e1153dffa34fd64af391f72d30b2a03e911e54e36f00b5d" - -EXTRA_OECONF += "--enable-dri --enable-dri2"
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.11.0.bb new file +4 -0
@@ -0,0 +1,4 @@ +require xserver-xf86-dri-lite.inc +require xserver-xf86-${PV}.inc + +PE = "1"
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_git.bb +1 -7
@@ -7,12 +7,6 @@ PE = "1" PR = "r0" PV = "1.10+git${SRCPV}" -PROTO_DEPS += "xf86driproto dri2proto" - -DEPENDS += "font-util" - -RDEPENDS_${PN} += "xkeyboard-config" - SRC_URI = "git://anongit.freedesktop.org/git/xorg/xserver;protocol=git;branch=master \ file://crosscompile.patch; \ file://fix_macros1.patch;"
@@ -20,6 +14,6 @@ SRC_URI = "git://anongit.freedesktop.org/git/xorg/xserver;protocol=git;branch=ma # Misc build failure for master HEAD SRC_URI += "file://fix_open_max_preprocessor_error.patch;" -EXTRA_OECONF += "--enable-dri --enable-dri2 --enable-dga" +EXTRA_OECONF += "--enable-dga" S = "${WORKDIR}/git"
meta/recipes-graphics/xorg-xserver/xserver-xf86-lite.inc +2 -30
@@ -1,34 +1,6 @@ require xserver-xf86-common.inc -PROVIDES += "xserver-xf86-lite" - -PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86rushproto xf86vidmodeproto xf86bigfontproto compositeproto recordproto resourceproto videoproto scrnsaverproto evieext trapproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto glproto" - -LIB_DEPS = "pixman libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl" - -DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}" - -RDEPENDS_${PN} += "hal xorg-minimal-fonts" - -FILES_${PN} += "${bindir}/Xorg " - -EXTRA_OECONF += "--disable-static \ - --disable-acfb \ - --disable-ccfb \ - --disable-mcfb \ - --disable-dga \ - --disable-xinerama \ - --disable-xf86misc \ - --disable-xorgcfg \ - --disable-record \ - --disable-dmx \ - --disable-xnest \ - --disable-xvfb \ - --enable-composite \ +EXTRA_OECONF += "\ --disable-dri \ --disable-glx \ - --sysconfdir=/etc/X11 \ - --localstatedir=/var \ - --with-fontdir=${datadir}/fonts/X11 \ - --with-xkb-output=/var/lib/xkb \ - ac_cv_file__usr_share_sgml_X11_defs_ent=no" +"
meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.10.1.bb deleted +0 -12
@@ -1,12 +0,0 @@ -require xserver-xf86-lite.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00" - -PR = "r0" - -DEPENDS += "font-util" - -SRC_URI += "file://crosscompile.patch" - -# Misc build failure for master HEAD -SRC_URI += "file://fix_open_max_preprocessor_error.patch;"
meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.11.0.bb new file +2 -0
@@ -0,0 +1,2 @@ +require xserver-xf86-lite.inc +require xserver-xf86-${PV}.inc
Signature · 1 line
1.7.6.1
PATCH 2/13 xserver-xf86-dri-lite: remove COMPATIBLE_HOST
* ie om-gta02 has mesa-dri module too
--- .../xorg-xserver/xserver-xf86-dri-lite.inc | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite.inc +0 -3
@@ -10,6 +10,3 @@ EXTRA_OECONF += "\ --with-pic \ --with-int10=x86emu \ " - -# Due to mesa-dri -COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
Signature · 1 line
1.7.6.1
Re: [PATCH 02/13] xserver-xf86-dri-lite: remove COMPATIBLE_HOST
Quoted 12 lines · Martin Jansa
* ie om-gta02 has mesa-dri module too
Signed-off-by Martin Jansa<[email protected]>--- .../xorg-xserver/xserver-xf86-dri-lite.inc | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite.inc +0
-0
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite.inc EXTRA_OECONF += "\ · line 15
Quoted 6 lines
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite.inc +0
-3@@ -10,6 +10,3 @@ EXTRA_OECONF += "\ --with-pic \ --with-int10=x86emu \ " - -# Due to mesa-dri -COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
how about powerpc and mips ? they will also become supported with this change have you tested that
Re: [PATCH 02/13] xserver-xf86-dri-lite: remove COMPATIBLE_HOST
Quoted 8 lines · Khem Raj
Quoted 7 lines · Martin Jansa
* ie om-gta02 has mesa-dri module too
Signed-off-by Martin Jansa<[email protected]>--- .../xorg-xserver/xserver-xf86-dri-lite.inc | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
Quoted 14 lines
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite.inc EXTRA_OECONF += "\ · line 15
Quoted 11 lines
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite.inc +0
-3@@ -10,6 +10,3 @@ EXTRA_OECONF += "\ --with-pic \ --with-int10=x86emu \ " - -# Due to mesa-dri -COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'how about powerpc and mips ? they will also become supported with this change have you tested that
Haven't tested it but iirc building dri extension worked even for powerpc and mips in OE-classic and because xserver-xf86-dri-lite get's default later in this patchset I think it's better without overrestrictive COMPATIBLE_HOST.
And as the comment says, the restriction should be in mesa-dri if somewhere (at least only in one place to .bbappend my COMPATIBLE_HOSTs in layer).
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
PATCH 3/13 libxft, libxrender, renderproto: add native BBCLASSEXTEND
In reply to Martin Jansa--- meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb | 2 ++ meta/recipes-graphics/xorg-lib/libxrender_0.9.6.bb | 2 +- .../xorg-proto/renderproto_0.11.1.bb | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-)
meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb +2 -0
@@ -23,6 +23,8 @@ PE = "1" XORG_PN = "libXft" +BBCLASSEXTEND = "native nativesdk" + python () { if bb.data.getVar('DEBIAN_NAMES', d, 1): bb.data.setVar('PKG_${PN}', '${MLPREFIX}libxft2', d)
meta/recipes-graphics/xorg-lib/libxrender_0.9.6.bb +1 -1
@@ -18,7 +18,7 @@ PE = "1" XORG_PN = "libXrender" -BBCLASSEXTEND = "nativesdk" +BBCLASSEXTEND = "native nativesdk" SRC_URI[md5sum] = "3b3b7d076c2384b6c600c0b5f4ba971f" SRC_URI[sha256sum] = "7f58b1e263109e0a873eef8423aa14733a5499befbe645053aa622ed1f3ea668"
meta/recipes-graphics/xorg-proto/renderproto_0.11.1.bb +1 -1
@@ -14,7 +14,7 @@ CONFLICTS = "renderext" PR = "r0" PE = "1" -BBCLASSEXTEND = "nativesdk" +BBCLASSEXTEND = "native nativesdk" SRC_URI[md5sum] = "a914ccc1de66ddeb4b611c6b0686e274" SRC_URI[sha256sum] = "06735a5b92b20759204e4751ecd6064a2ad8a6246bb65b3078b862a00def2537"
Signature · 1 line
1.7.6.1
PATCH 4/13 libx11: upgrade to 1.4.4
In reply to Martin Jansa--- .../xorg-lib/libx11-1.4.4/keysymdef_include.patch | 19 +++++++ .../libx11-1.4.4/x11_disable_makekeys.patch | 29 +++++++++++ meta/recipes-graphics/xorg-lib/libx11.inc | 52 ++++++++++++-------- meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb | 14 +++++ 4 files changed, 94 insertions(+), 20 deletions(-) create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.4.4/keysymdef_include.patch create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.4.4/x11_disable_makekeys.patch create mode 100644 meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb
meta/recipes-graphics/xorg-lib/libx11-1.4.4/keysymdef_include.patch new file +19 -0
@@ -0,0 +1,19 @@ +diff -uNr libX11-1.3.6.orig//configure.ac libX11-1.3.6/configure.ac +--- libX11-1.3.6.orig//configure.ac 2010-09-20 08:04:16.000000000 +0200 ++++ libX11-1.3.6/configure.ac 2010-09-28 16:29:26.000000000 +0200 +@@ -355,7 +355,14 @@ + # Find keysymdef.h + # + AC_MSG_CHECKING([keysym definitions]) +-KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11 ++AC_ARG_WITH(keysymdefdir, ++ AC_HELP_STRING([--with-keysymdefdir=DIR], [The location of keysymdef.h]), ++ KEYSYMDEFDIR=$withval, KEYSYMDEFDIR="") ++ ++if test x$KEYSYMDEFDIR = x; then ++ KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11 ++fi ++ + FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h" + for i in $FILES; do + if test -f "$KEYSYMDEFDIR/$i"; then
meta/recipes-graphics/xorg-lib/libx11-1.4.4/x11_disable_makekeys.patch new file +29 -0
@@ -0,0 +1,29 @@ +Index: libX11-1.3.4/src/util/Makefile.am +=================================================================== +--- libX11-1.3.4.orig/src/util/Makefile.am ++++ libX11-1.3.4/src/util/Makefile.am +@@ -1,24 +1 @@ +- +-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
meta/recipes-graphics/xorg-lib/libx11.inc +32 -20
67 lines not on this page · raw message
meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb new file +14 -0
@@ -0,0 +1,14 @@ +require libx11.inc +inherit gettext + +DEPENDS += "util-macros xtrans libxdmcp libxau \ + bigreqsproto xproto xextproto xcmiscproto \ + xf86bigfontproto kbproto inputproto libxcb \ + xproto-native" + +SRC_URI += " file://keysymdef_include.patch \ + file://x11_disable_makekeys.patch \ + " + +SRC_URI[md5sum] = "ed7c382cbf8c13425b6a66bcac0ca5d9" +SRC_URI[sha256sum] = "7fe62180f08ef5f0a0062fb444591e349cae2ab5af6ad834599f5c654e6c840d"
Signature · 1 line
1.7.6.1
Re: [PATCH 04/13] libx11: upgrade to 1.4.4
Quoted 10 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>--- .../xorg-lib/libx11-1.4.4/keysymdef_include.patch | 19 +++++++ .../libx11-1.4.4/x11_disable_makekeys.patch | 29 +++++++++++ meta/recipes-graphics/xorg-lib/libx11.inc | 52 ++++++++++++-------- meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb | 14 +++++ 4 files changed, 94 insertions(+), 20 deletions(-) create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.4.4/keysymdef_include.patch create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.4.4/x11_disable_makekeys.patch create mode 100644 meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb
This isn't an upgrade, its an addition of a new version with changes to the core include file which likely break the previous version?
+# Below option is added to overcome the GCC bug on ARM +# see http://gcc.gnu.org/PR42981 for further details. +# We could potentially take it off when its fixed in gcc 4.5 +
+CFLAGS_append_arm = " -fforward-propagate "
This shouldn't really be here, it should be in the toolchain config file, only applied for gcc 4.5 with something like:
CFLAGS_append_arm_pn-libx11 = " -fforward-propagate "
Also, there is a lot of whitespace churn in variables being added and removed in different orders. Can we reduce that please?
Cheers,
Richard
PATCH 5/13 default-providers: define PREFERRED_PROVIDER_virtual/libx11-native
In reply to Martin Jansa--- meta/conf/distro/include/default-providers.inc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
meta/conf/distro/include/default-providers.inc +1 -0
@@ -9,6 +9,7 @@ PREFERRED_PROVIDER_virtual/libgl ?= "mesa-xlib" PREFERRED_PROVIDER_virtual/update-alternatives ?= "update-alternatives-cworth" PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-native" PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" +PREFERRED_PROVIDER_virtual/libx11-native ?= "libx11-native" PREFERRED_PROVIDER_xf86-video-intel ?= "xf86-video-intel" #
Signature · 1 line
1.7.6.1
Re: [PATCH 05/13] default-providers: define PREFERRED_PROVIDER_virtual/libx11-native
Quoted 10 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>--- meta/conf/distro/include/default-providers.inc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)meta/conf/distro/include/default-providers.inc +0
-0
meta/conf/distro/include/default-providers.inc PREFERRED_PROVIDER_virtual/libgl ?= "mesa-xlib" · line 13
Quoted 5 lines
meta/conf/distro/include/default-providers.inc +1
-0@@ -9,6 +9,7 @@ PREFERRED_PROVIDER_virtual/libgl ?= "mesa-xlib" PREFERRED_PROVIDER_virtual/update-alternatives ?= "update-alternatives-cworth" PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-native" PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" +PREFERRED_PROVIDER_virtual/libx11-native ?= "libx11-native" PREFERRED_PROVIDER_xf86-video-intel ?= "xf86-video-intel"
This is a symptom of a problem. Why do we need libx11-trim-native and libx11-diet-native?
If the BBCLASSEXTEND is in the right place we don't have this problem...
Cheers,
Richard
PATCH 6/13 xorg-app-common: merge some changes from meta-oe
In reply to Martin Jansa* use BPN directly instead of XORG_PN
* fix depends
* fix packaging
* add INC_PR (used by recipes in meta-oe now, but should be used here too)
--- meta/recipes-graphics/xorg-app/xorg-app-common.inc | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-graphics/xorg-app/xorg-app-common.inc +5 -5
@@ -3,14 +3,14 @@ HOMEPAGE = "http://www.x.org/" BUGTRACKER = "https://bugs.freedesktop.org" SECTION = "x11/apps" LICENSE = "MIT-X" -DEPENDS = "util-macros virtual/libx11" +DEPENDS = "util-macros-native virtual/libx11" -XORG_PN = "${BPN}" +INC_PR = "r5" -SRC_URI = "${XORG_MIRROR}/individual/app/${XORG_PN}-${PV}.tar.bz2" +SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.bz2" -S = "${WORKDIR}/${XORG_PN}-${PV}" +S = "${WORKDIR}/${BPN}-${PV}" inherit autotools pkgconfig -FILES_${PN} += " /usr/lib/X11/${XORG_PN}" +FILES_${PN} += " /usr/lib/X11/${BPN} /usr/share/X11/app-defaults/"
Signature · 1 line
1.7.6.1
PATCH 7/13 xorg-driver: rename .inc files and merge some changes from meta-oe
In reply to Martin Jansa* use INC_PR
* use BPN directly instead of XORG_PN
---
.../xorg-driver/xf86-input-evdev_2.6.0.bb | 4 ++--
.../xorg-driver/xf86-input-keyboard_1.6.0.bb | 4 ++--
.../xorg-driver/xf86-input-keyboard_git.bb | 3 ++-
.../xorg-driver/xf86-input-mouse_1.7.0.bb | 4 +++-
.../xorg-driver/xf86-input-mouse_git.bb | 4 ++--
.../xorg-driver/xf86-input-synaptics_1.4.0.bb | 4 +++-
.../xorg-driver/xf86-input-synaptics_git.bb | 3 ++-
.../xorg-driver/xf86-input-vmmouse_12.7.0.bb | 4 ++--
.../xorg-driver/xf86-video-intel_2.15.0.bb | 4 ++--
.../xorg-driver/xf86-video-intel_git.bb | 4 ++--
.../xorg-driver/xf86-video-omapfb_git.bb | 4 ++--
.../xorg-driver/xf86-video-vesa_2.3.0.bb | 4 +++-
.../xorg-driver/xf86-video-vmware_11.0.3.bb | 4 ++--
...86-driver-common.inc => xorg-driver-common.inc} | 14 +++++++-------
...xf86-input-common.inc => xorg-driver-input.inc} | 3 +--
...xf86-video-common.inc => xorg-driver-video.inc} | 2 +-
16 files changed, 38 insertions(+), 31 deletions(-)
rename meta/recipes-graphics/xorg-driver/{xf86-driver-common.inc => xorg-driver-common.inc} (66%)
rename meta/recipes-graphics/xorg-driver/{xf86-input-common.inc => xorg-driver-input.inc} (81%)
rename meta/recipes-graphics/xorg-driver/{xf86-video-common.inc => xorg-driver-video.inc} (65%)meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.6.0.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- event devices (evdev) input driver"
@@ -14,7 +14,7 @@ xorg.conf for each input device that will use this driver. " LIC_FILES_CHKSUM = "file://COPYING;md5=fefe33b1cf0cacba0e72e3b0fa0f0e16" -PR = "r0" +PR = "${INC_PR}.0" SRC_URI[md5sum] = "f33fe9413bde68936d8909206a13e8a1" SRC_URI[sha256sum] = "b0e7f3991a8183a4743196c3e16d7184d439b80bf43653aa2f45b0756a6753ac"
meta/recipes-graphics/xorg-driver/xf86-input-keyboard_1.6.0.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- keyboard input driver"
@@ -9,7 +9,7 @@ core keyboard." LIC_FILES_CHKSUM = "file://COPYING;md5=ea2099d24ac9e316a6d4b9f20b3d4e10" -PR = "r0" +PR = "${INC_PR}.0" SRC_URI[md5sum] = "e2abe9f13e526a73cb68a7d257546eba" SRC_URI[sha256sum] = "c46c790fec905d696573b7a374b10ab8b4389112a8f69993fe011006c99e858e"
meta/recipes-graphics/xorg-driver/xf86-input-keyboard_git.bb +2 -1
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- keyboard input driver"
@@ -9,6 +9,7 @@ core keyboard." SRCREV = "3e28d68b50d291938734e9684b8296ca864f3892" PV = "1.3.2+git${SRCPV}" +PR = "${INC_PR}.0" SRC_URI = "git://anongit.freedesktop.org/git/xorg/driver/xf86-input-keyboard;protocol=git" S = "${WORKDIR}/git"
meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.7.0.bb +3 -1
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- mouse input driver"
@@ -10,5 +10,7 @@ driver." LIC_FILES_CHKSUM = "file://COPYING;md5=237eb1d1a602d29ef2af62d8fba60f19" +PR = "${INC_PR}.0" + SRC_URI[md5sum] = "7f31472689c15b6de62eff04d0fb57d7" SRC_URI[sha256sum] = "4e989542b5e9e0c5f9087288b18e70de1064dd27c83a4bc6dce58f3ea9d74994"
meta/recipes-graphics/xorg-driver/xf86-input-mouse_git.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- mouse input driver"
@@ -10,7 +10,7 @@ driver." SRCREV = "ea5cfe804e112f320f14ad896c7802d53551d3e6" PV = "1.3.0+git${SRCPV}" -PR = "r2" +PR = "${INC_PR}.0" SRC_URI = "git://anongit.freedesktop.org/git/xorg/driver/xf86-input-mouse;protocol=git \ file://unbreak.patch"
meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.4.0.bb +3 -1
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- synaptics touchpad input driver"
@@ -10,6 +10,8 @@ advanced features of the touchpad to become available." LIC_FILES_CHKSUM = "file://COPYING;md5=e395e21f3c21d4fc3a243783e85e9ab5" +PR = "${INC_PR}.0" + DEPENDS += "libxi" #
meta/recipes-graphics/xorg-driver/xf86-input-synaptics_git.bb +2 -1
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- synaptics touchpad input driver"
@@ -10,6 +10,7 @@ advanced features of the touchpad to become available." SRCREV = "934bc0012f948c52aadc8eda912f7728fb7394a2" PV = "0.15.2+git${SRCPV}" +PR = "${INC_PR}.0" SRC_URI = "git://anongit.freedesktop.org/git/xorg/driver/xf86-input-synaptics;protocol=git" S = "${WORKDIR}/git"
meta/recipes-graphics/xorg-driver/xf86-input-vmmouse_12.7.0.bb +2 -2
@@ -1,7 +1,7 @@ -require xf86-input-common.inc +require xorg-driver-input.inc DESCRIPTION = "X.Org X server -- VMWare mouse input driver" -PR = "r0" +PR = "${INC_PR}.0" RDEPENDS_${PN} += "xf86-input-mouse"
meta/recipes-graphics/xorg-driver/xf86-video-intel_2.15.0.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-video-common.inc +require xorg-driver-video.inc SUMMARY = "X.Org X server -- Intel integrated graphics chipsets driver"
@@ -9,7 +9,7 @@ Infrastructure (DRI)." LIC_FILES_CHKSUM = "file://COPYING;md5=8730ad58d11c7bbad9a7066d69f7808e" -PR = "r0" +PR = "${INC_PR}.0" EXTRA_OECONF += "--disable-xvmc"
meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-video-common.inc +require xorg-driver-video.inc SUMMARY = "X.Org X server -- Intel integrated graphics chipsets driver"
@@ -12,7 +12,7 @@ DEPENDS += "virtual/libx11 libxvmc drm dri2proto glproto \ SRCREV = "87ea531c5dc5b39809395b277c330854aaaaf019" PV = "2.10.0+git${SRCPV}" -PR = "r0" +PR = "${INC_PR}.0" EXTRA_OECONF += "--disable-xvmc --enable-dri --disable-static"
meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-driver-common.inc +require xorg-driver-driver.inc SUMMARY = "X.Org X server -- Texas Instruments OMAP framebuffer driver"
@@ -11,7 +11,7 @@ DEPENDS += "virtual/libx11" SRCREV = "044617665d6737f4909aab96f91b06261dff05d2" PE = "1" -PR = "r1" +PR = "${INC_PR}.0" PV = "0.1.1+git${SRCPV}" SRC_URI = "git://git.pingu.fi/xf86-video-omapfb.git;protocol=http \
meta/recipes-graphics/xorg-driver/xf86-video-vesa_2.3.0.bb +3 -1
@@ -1,4 +1,4 @@ -require xf86-video-common.inc +require xorg-driver-video.inc LIC_FILES_CHKSUM = "file://COPYING;md5=e5418e7a75e21268637984e70265e146"
@@ -11,6 +11,8 @@ can drive most VESA-compatible video cards, but only makes use of the \ basic standard VESA core that is common to these cards. The driver \ supports depths 8, 15 16 and 24." +PR = "${INC_PR}.0" + DEPENDS += "virtual/libx11 libxvmc drm xf86driproto glproto \ virtual/libgl xineramaproto xf86driproto libpciaccess"
meta/recipes-graphics/xorg-driver/xf86-video-vmware_11.0.3.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-video-common.inc +require xorg-driver-video.inc SUMMARY = "X.Org X server -- VMware SVGA display driver"
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5fcd7d437a959a15fbee8707747c6b53" DEPENDS += "virtual/libx11 libxvmc drm glproto \ virtual/libgl xineramaproto libpciaccess" -PR = "r0" +PR = "${INC_PR}.0" COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc renamed from meta/recipes-graphics/xorg-driver/xf86-driver-common.inc +7 -7
@@ -5,14 +5,13 @@ SECTION = "x11/drivers" LICENSE = "MIT-X" PE = "1" -PR = "r1" +INC_PR = "r15" DEPENDS = "virtual/xserver-xf86 xproto randrproto util-macros" -XORG_PN = "${BPN}" -SRC_URI = "${XORG_MIRROR}/individual/driver/${XORG_PN}-${PV}.tar.bz2" +SRC_URI = "${XORG_MIRROR}/individual/driver/${BPN}-${PV}.tar.bz2" -S = "${WORKDIR}/${XORG_PN}-${PV}" +S = "${WORKDIR}/${BPN}-${PV}" FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so" FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug"
@@ -27,7 +26,8 @@ do_configure_prepend () { mv configure.ac.new configure.ac } -do_install_append () { - # driver's la files are not packaged - rm -f ${D}${libdir}/xorg/modules/drivers/*.la +# FIXME: We don't want to include the libtool archives (*.la) from modules +# directory, as they serve no useful purpose. Upstream should fix Makefile.am +do_install_append() { + find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- }
meta/recipes-graphics/xorg-driver/xorg-driver-input.inc renamed from meta/recipes-graphics/xorg-driver/xf86-input-common.inc +1 -2
@@ -1,7 +1,6 @@ -include xf86-driver-common.inc +include xorg-driver-common.inc DEPENDS += "inputproto kbproto " FILES_${PN} += " ${libdir}/xorg/modules/input/*.so" FILES_${PN}-dbg += " ${libdir}/xorg/modules/input/.debug" -
meta/recipes-graphics/xorg-driver/xorg-driver-video.inc renamed from meta/recipes-graphics/xorg-driver/xf86-video-common.inc +1 -1
@@ -1,4 +1,4 @@ -include xf86-driver-common.inc +include xorg-driver-common.inc DEPENDS =+ "renderproto videoproto xextproto fontsproto"
Signature · 1 line
1.7.6.1
PATCH 8/13 xf86-video-omapfb: bump SRCREV and add patch from meta-oe
In reply to Martin Jansa--- .../0004-Attempt-to-fix-VRFB.patch | 325 ++++++++++++++++++++ .../xorg-driver/xf86-video-omapfb_git.bb | 20 +- 2 files changed, 335 insertions(+), 10 deletions(-) create mode 100644 meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0004-Attempt-to-fix-VRFB.patch
meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0004-Attempt-to-fix-VRFB.patch new file +325 -0
@@ -0,0 +1,325 @@ +From 9f034f7a83751e4d1bbff6dd742d54bd96d38230 Mon Sep 17 00:00:00 2001 +From: Eino-Ville Talvala <[email protected]> +Date: Tue, 23 Aug 2011 18:37:01 +0200 +Subject: [PATCH] Attempt to fix VRFB + +Upstream-Status: Pending + +http://dominion.thruhere.net/git/cgit.cgi/xf86-video-omapfb/commit/?h=koen/fixups&id=6833fc9f795265e4943d248103fbaf3463b515d6 + +Signed-off-by: Sebastian Krzyszkowiak <[email protected]> + +--- + src/image-format-conversions.c | 4 +- + src/image-format-conversions.h | 2 +- + src/omapfb-driver.c | 28 +++++++++++++-- + src/omapfb-xv-blizzard.c | 1 + + src/omapfb-xv-generic.c | 72 +++++++++++++++++++++++++++++++-------- + src/omapfb-xv.c | 3 ++ + 6 files changed, 88 insertions(+), 22 deletions(-) + +diff --git a/src/image-format-conversions.c b/src/image-format-conversions.c +index dcefa9b..d43427d 100644 +--- a/src/image-format-conversions.c ++++ b/src/image-format-conversions.c +@@ -38,13 +38,13 @@ + #include "image-format-conversions.h" + + /* Basic line-based copy for packed formats */ +-void packed_line_copy(int w, int h, int stride, uint8_t *src, uint8_t *dest) ++void packed_line_copy(int w, int h, int src_stride, int dst_stride, uint8_t *src, uint8_t *dest) + { + int i; + int len = w * 2; + for (i = 0; i < h; i++) + { +- memcpy(dest + i * len, src + i * stride, len); ++ memcpy(dest + i * dst_stride, src + i * src_stride, len); + } + } + +diff --git a/src/image-format-conversions.h b/src/image-format-conversions.h +index 584896a..ba7caf2 100644 +--- a/src/image-format-conversions.h ++++ b/src/image-format-conversions.h +@@ -27,7 +27,7 @@ + #include <stdint.h> + + /* Basic line-based copy for packed formats */ +-void packed_line_copy(int w, int h, int stride, uint8_t *src, uint8_t *dest); ++void packed_line_copy(int w, int h, int src_stride, int dst_stride, uint8_t *src, uint8_t *dest); + + /* Basic C implementation of YV12/I420 to UYVY conversion */ + void uv12_to_uyvy(int w, int h, int y_pitch, int uv_pitch, uint8_t *y_p, uint8_t *u_p, uint8_t *v_p, uint8_t *dest); +diff --git a/src/omapfb-driver.c b/src/omapfb-driver.c +index 48aa09c..07989f5 100644 +--- a/src/omapfb-driver.c ++++ b/src/omapfb-driver.c +@@ -66,6 +66,7 @@ + #define OMAPFB_VERSION 1000 + #define OMAPFB_DRIVER_NAME "OMAPFB" + #define OMAPFB_NAME "omapfb" ++#define ENFORCE_MODES + + static Bool OMAPFBProbe(DriverPtr drv, int flags); + static Bool OMAPFBPreInit(ScrnInfoPtr pScrn, int flags); +@@ -105,11 +106,13 @@ static SymTabRec OMAPFBChipsets[] = { + typedef enum { + OPTION_ACCELMETHOD, + OPTION_FB, ++ OPTION_ROTATE, + } FBDevOpts; + + static const OptionInfoRec OMAPFBOptions[] = { + { OPTION_ACCELMETHOD, "AccelMethod", OPTV_STRING, {0}, FALSE }, + { OPTION_FB, "fb", OPTV_STRING, {0}, FALSE }, ++ { OPTION_ROTATE, "rotation", OPTV_STRING, {0}, FALSE }, + { -1, NULL, OPTV_NONE, {0}, FALSE } + }; + +@@ -286,6 +289,7 @@ OMAPFBPreInit(ScrnInfoPtr pScrn, int flags) + { + OMAPFBPtr ofb; + EntityInfoPtr pEnt; ++ char *rotate; + rgb zeros = { 0, 0, 0 }; + struct stat st; + +@@ -379,6 +383,8 @@ OMAPFBPreInit(ScrnInfoPtr pScrn, int flags) + pScrn->progClock = TRUE; + pScrn->chipset = "omapfb"; + ++ xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Rotate test version 0.02\n"); ++ + /* Start with configured virtual size */ + pScrn->virtualX = pScrn->display->virtualX; + pScrn->virtualY = pScrn->display->virtualY; +@@ -496,12 +502,21 @@ OMAPFBScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) + ofb->CloseScreen = pScreen->CloseScreen; + pScreen->CloseScreen = OMAPFBCloseScreen; + ++ /* Enforce the default mode (this is silly I guess) */ ++#ifdef ENFORCE_MODES ++ //xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Enforcing modes\n"); ++ //set_mode(ofb, &ofb->default_mode); ++ //pScrn->displayWidth = ofb->fixed_info.line_length / ++ // (ofb->state_info.bits_per_pixel>>3); //ofb->state_info.xres; ++#endif ++ + /* Map our framebuffer memory */ ++ ofb->mem_info.size = ofb->fixed_info.line_length * ofb->state_info.yres; + ofb->fb = mmap (NULL, ofb->mem_info.size, + PROT_READ | PROT_WRITE, MAP_SHARED, + ofb->fd, 0); +- if (ofb->fb == NULL) { +- xf86DrvMsg(scrnIndex, X_ERROR, "Mapping framebuffer memory failed\n"); ++ if (ofb->fb == MAP_FAILED) { ++ xf86DrvMsg(scrnIndex, X_ERROR, "Mapping framebuffer memory failed, wanted %d bytes.\n", ofb->mem_info.size); + return FALSE; + } + +@@ -578,8 +593,13 @@ OMAPFBScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) + } else if (!ofb->dss) { + + ofb->plane_info.enabled = 1; +- ofb->plane_info.out_width = ofb->state_info.xres; +- ofb->plane_info.out_height = ofb->state_info.yres; ++ if (ofb->state_info.rotate == 0 || ofb->state_info.rotate == 2) { ++ ofb->plane_info.out_width = ofb->state_info.xres; ++ ofb->plane_info.out_height = ofb->state_info.yres; ++ } else { ++ ofb->plane_info.out_width = ofb->state_info.yres; ++ ofb->plane_info.out_height = ofb->state_info.xres; ++ } + + if (ioctl (ofb->fd, OMAPFB_SETUP_PLANE, &ofb->plane_info)) { + xf86DrvMsg(scrnIndex, X_ERROR, +diff --git a/src/omapfb-xv-blizzard.c b/src/omapfb-xv-blizzard.c +index 406ffc6..b71d2aa 100644 +--- a/src/omapfb-xv-blizzard.c ++++ b/src/omapfb-xv-blizzard.c +@@ -220,6 +220,7 @@ int OMAPFBXVPutImageBlizzard (ScrnInfoPtr pScrn, + packed_line_copy(src_w & ~3, + src_h & ~3, + ((src_w + 1) & ~1) * 2, ++ ofb->port->fixed_info.line_length, + (uint8_t*)buf, + (uint8_t*)ofb->port->fb); + break; +diff --git a/src/omapfb-xv-generic.c b/src/omapfb-xv-generic.c +index e6f89fe..b33f344 100644 +--- a/src/omapfb-xv-generic.c ++++ b/src/omapfb-xv-generic.c +@@ -62,7 +62,7 @@ int OMAPXVAllocPlane(ScrnInfoPtr pScrn) + { + OMAPFBPtr ofb = OMAPFB(pScrn); + +- /* The memory size is already set in OMAPFBXVQueryImageAttributes */ ++ /* The memory size is already set before we get here */ + if (ioctl(ofb->port->fd, OMAPFB_SETUP_MEM, &ofb->port->mem_info) != 0) { + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, + "Failed to allocate video plane memory\n"); +@@ -73,19 +73,20 @@ int OMAPXVAllocPlane(ScrnInfoPtr pScrn) + ofb->port->fb = mmap (NULL, ofb->port->mem_info.size, + PROT_READ | PROT_WRITE, MAP_SHARED, + ofb->port->fd, 0); +- if (ofb->port->fb == NULL) { ++ if (ofb->port->fb == MAP_FAILED) { + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, + "Mapping video memory failed\n"); + return XvBadAlloc; + } + + /* Update the state info */ ++ /* Let's not - it's bad + if (ioctl (ofb->port->fd, FBIOGET_VSCREENINFO, &ofb->port->state_info)) + { + xf86Msg(X_ERROR, "%s: Reading state info failed\n", __FUNCTION__); + return XvBadAlloc; + } +- ++ */ + return Success; + } + +@@ -93,6 +94,7 @@ int OMAPXVAllocPlane(ScrnInfoPtr pScrn) + int OMAPXVSetupVideoPlane(ScrnInfoPtr pScrn) + { + OMAPFBPtr ofb = OMAPFB(pScrn); ++ int ret; + + if (ioctl (ofb->port->fd, FBIOPUT_VSCREENINFO, &ofb->port->state_info)) + { +@@ -104,6 +106,31 @@ int OMAPXVSetupVideoPlane(ScrnInfoPtr pScrn) + xf86Msg(X_ERROR, "%s: Reading state info failed\n", __FUNCTION__); + return XvBadAlloc; + } ++ /* Changing rotation/nonstd flags can change the fixed info! */ ++ if (ioctl (ofb->port->fd, FBIOGET_FSCREENINFO, &ofb->port->fixed_info)) ++ { ++ xf86Msg(X_ERROR, "%s: Reading state info failed\n", __FUNCTION__); ++ return XvBadAlloc; ++ } ++ /* Correct fixed info requires recalculation of needed memory */ ++ ofb->port->mem_info.size = ofb->port->fixed_info.line_length * ofb->port->state_info.yres; ++ ++ /* Allocate buffer memory */ ++ ret = OMAPXVAllocPlane(pScrn); ++ if (ret != Success) ++ return ret; ++ ++ /* Workaround for reset of mode after memory allo */ ++ if (ioctl (ofb->port->fd, FBIOPUT_VSCREENINFO, &ofb->port->state_info)) ++ { ++ xf86Msg(X_ERROR, "%s: setting state info failed\n", __FUNCTION__); ++ return XvBadAlloc; ++ } ++ if (ioctl (ofb->port->fd, FBIOGET_VSCREENINFO, &ofb->port->state_info)) ++ { ++ xf86Msg(X_ERROR, "%s: Reading state info failed\n", __FUNCTION__); ++ return XvBadAlloc; ++ } + + if(ioctl(ofb->port->fd, OMAPFB_SETUP_PLANE, + &ofb->port->plane_info) != 0) { +@@ -124,6 +151,8 @@ int OMAPFBXVPutImageGeneric (ScrnInfoPtr pScrn, + DrawablePtr pDraw) + { + OMAPFBPtr ofb = OMAPFB(pScrn); ++ short drw_temp; ++ short rot_xres, rot_yres; + + if (!ofb->port->plane_info.enabled + || ofb->port->update_window.x != src_x +@@ -163,13 +192,6 @@ int OMAPFBXVPutImageGeneric (ScrnInfoPtr pScrn, + return Success; + } + +- /* If we don't have the plane running, enable it */ +- if (!ofb->port->plane_info.enabled) { +- ret = OMAPXVAllocPlane(pScrn); +- if (ret != Success) +- return ret; +- } +- + /* Set up the state info, xres and yres will be used for + * scaling to the values in the plane info struct + */ +@@ -179,12 +201,31 @@ int OMAPFBXVPutImageGeneric (ScrnInfoPtr pScrn, + ofb->port->state_info.yres_virtual = 0; + ofb->port->state_info.xoffset = 0; + ofb->port->state_info.yoffset = 0; +- ofb->port->state_info.rotate = 0; ++ //ofb->port->state_info.rotate = 0; + ofb->port->state_info.grayscale = 0; + ofb->port->state_info.activate = FB_ACTIVATE_NOW; + ofb->port->state_info.bits_per_pixel = 0; + ofb->port->state_info.nonstd = xv_to_omapfb_format(image); + ++ /* Plane info does not rotate with state_info */ ++ if (ofb->port->state_info.rotate == 1 || ++ ofb->port->state_info.rotate == 3) { ++ drw_temp = drw_x; ++ drw_x = drw_y; ++ drw_y = drw_temp; ++ ++ drw_temp = drw_w; ++ drw_w = drw_h; ++ drw_h = drw_temp; ++ ++ rot_xres = ofb->port->state_info.yres; ++ rot_yres = ofb->port->state_info.xres; ++ } else { ++ rot_xres = ofb->port->state_info.xres; ++ rot_yres = ofb->port->state_info.yres; ++ } ++ ++ + /* Set up the video plane info */ + ofb->port->plane_info.enabled = 1; + ofb->port->plane_info.pos_x = drw_x; +@@ -193,13 +234,13 @@ int OMAPFBXVPutImageGeneric (ScrnInfoPtr pScrn, + ofb->port->plane_info.out_height = drw_h & ~15; + + /* Cap output to screen size */ +- if (ofb->port->plane_info.out_width > ofb->state_info.xres) { ++ if (ofb->port->plane_info.out_width > rot_xres) { + ofb->port->plane_info.pos_x = 0; +- ofb->port->plane_info.out_width = ofb->state_info.xres; ++ ofb->port->plane_info.out_width = rot_xres; + } +- if (ofb->port->plane_info.out_height > ofb->state_info.yres) { ++ if (ofb->port->plane_info.out_height > rot_yres) { + ofb->port->plane_info.pos_y = 0; +- ofb->port->plane_info.out_height = ofb->state_info.yres; ++ ofb->port->plane_info.out_height = rot_yres; + } + + ret = OMAPXVSetupVideoPlane(pScrn); +@@ -223,6 +264,7 @@ int OMAPFBXVPutImageGeneric (ScrnInfoPtr pScrn, + packed_line_copy(src_w & ~15, + src_h & ~15, + ((src_w + 1) & ~1) * 2, ++ ofb->port->fixed_info.line_length, + (uint8_t*)buf, + (uint8_t*)ofb->port->fb); + break; +diff --git a/src/omapfb-xv.c b/src/omapfb-xv.c +index 1df651e..0fee2c6 100644 +--- a/src/omapfb-xv.c ++++ b/src/omapfb-xv.c +@@ -169,8 +169,11 @@ static int OMAPFBXVQueryImageAttributes (ScrnInfoPtr pScrn, + h = *height; + + w = (w + 1) & ~1; ++ ++ /* Can't calculate these here - don't know line length + ofb->port->mem_info.size = w << 1; + ofb->port->mem_info.size *= h; ++ */ + + return size; + } +-- +1.7.5.4 +
meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb +10 -10
@@ -1,25 +1,25 @@ -require xorg-driver-driver.inc +require xorg-driver-video.inc SUMMARY = "X.Org X server -- Texas Instruments OMAP framebuffer driver" DESCRIPTION = "omapfb driver supports the basic Texas Instruments OMAP \ framebuffer." -LICENSE = "MIT-X" -LIC_FILES_CHKSUM = "file://src/omapfb-driver.c;beginline=1;endline=30;md5=a44c2a37e04d1c2c5f0313afb493f833" +LICENSE = "MIT-X & GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=63e2cbac53863f60e2f43343fb34367f" DEPENDS += "virtual/libx11" -SRCREV = "044617665d6737f4909aab96f91b06261dff05d2" -PE = "1" -PR = "${INC_PR}.0" -PV = "0.1.1+git${SRCPV}" +SRCREV = "28c006c94e57ea71df11ec4fff79d7ffcfc4860f" +PR = "${INC_PR}.5" +PV = "0.1.1+gitr${SRCPV}" -SRC_URI = "git://git.pingu.fi/xf86-video-omapfb.git;protocol=http \ +SRC_URI = "git://git.pingu.fi/xf86-video-omapfb;protocol=http \ file://omap-revert-set-CRTC-limit.patch \ file://omap-revert-set-virtual-size.patch \ file://omap-force-plain-mode.patch \ file://omap-blacklist-tv-out.patch \ - " + file://0004-Attempt-to-fix-VRFB.patch \ +" S = "${WORKDIR}/git"
@@ -28,5 +28,5 @@ CFLAGS += " -I${STAGING_INCDIR}/xorg " # Use overlay 2 on omap3 to enable other apps to use overlay 1 (e.g. dmai or omapfbplay) do_compile_prepend_armv7a () { - sed -i -e s:fb1:fb2:g ${S}/src/omapfb-xv.c + sed -i -e s:fb1:fb2:g ${S}/src/omapfb-xv.c }
Signature · 1 line
1.7.6.1
PATCH 9/13 xserver-nodm-init: merge some changes from meta-oe
In reply to Martin Jansa* /etc/X11/Xusername handling should be moved to x11-common so the same username and logic is used from initscript and when user starts it from terminal
--- .../x11-common/xserver-nodm-init/xserver-nodm | 30 ++++++-------------- 1 files changed, 9 insertions(+), 21 deletions(-)
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +9 -21
@@ -8,10 +8,7 @@ # Default-Stop: 0 1 6 ### END INIT INFO -killproc() { # kill the named process(es) - pid=`/bin/pidof $1` - [ "$pid" != "" ] && kill $pid -} +. /etc/init.d/functions read CMDLINE < /proc/cmdline for x in $CMDLINE; do
@@ -25,25 +22,16 @@ done case "$1" in start) + # We don't want this script to block the rest of the boot process + if [ "$2" != "background" ]; then + $0 $1 background & + else . /etc/profile - username=root + echo "Starting Xserver" - if [ -f /etc/X11/Xusername ]; then - username=`cat /etc/X11/Xusername` - # setting for rootless X - chmod o+w /var/log - chmod g+r /dev/tty[0-3] - chmod o+rw /dev/input/* - # hidraw device is probably needed - if [ -e /dev/hidraw0 ]; then - chmod o+rw /dev/hidraw* - fi - fi - # Using su rather than sudo as latest 1.8.1 cause failure [YOCTO #1211] - su -l -c '/etc/X11/Xserver&' $username - # Wait for the desktop to say its finished loading - # before loading the rest of the system - # dbus-wait org.matchbox_project.desktop Loaded + . /etc/X11/xserver-common + xinit /etc/X11/Xsession -- `which $XSERVER` $ARGS >/var/log/Xsession.log 2>&1 + fi ;; stop)
Signature · 1 line
1.7.6.1
Re: [PATCH 09/13] xserver-nodm-init: merge some changes from meta-oe
Quoted 49 lines · Martin Jansa
*
/etc/X11/Xusernamehandling should be moved to x11-common so the same username and logic is used from initscript and when user starts it from terminalSigned-off-by Martin Jansa <[email protected]>--- .../x11-common/xserver-nodm-init/xserver-nodm | 30 ++++++-------------- 1 files changed, 9 insertions(+), 21 deletions(-)meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +6
-17@@ -8,10 +8,7 @@ # Default-Stop: 0 1 6 ### END INIT INFO -killproc() { # kill the named process(es) - pid=`/bin/pidof $1` - [ "$pid" != "" ] && kill $pid -} +. /etc/init.d/functions read CMDLINE < /proc/cmdline for x in $CMDLINE; do@@ -25,25 +22,16 @@ done case "$1" in start) + # We don't want this script to block the rest of the boot process + if [ "$2" != "background" ]; then + $0 $1 background & + else . /etc/profile - username=root + echo "Starting Xserver" - if [ -f /etc/X11/Xusername ]; then - username=`cat /etc/X11/Xusername` - # setting for rootless X - chmod o+w /var/log - chmod g+r /dev/tty[0-3] - chmod o+rw /dev/input/* - # hidraw device is probably needed - if [ -e /dev/hidraw0 ]; then - chmod o+rw /dev/hidraw* - fi - fi - # Using su rather than sudo as latest 1.8.1 cause failure [YOCTO #1211]
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm done · line 37
Quoted 10 lines
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +3
-4- su -l -c '/etc/X11/Xserver&' $username - # Wait for the desktop to say its finished loading - # before loading the rest of the system - # dbus-wait org.matchbox_project.desktop Loaded + . /etc/X11/xserver-common + xinit /etc/X11/Xsession -- `which $XSERVER` $ARGS >/var/log/Xsession.log 2>&1 + fi ;; stop)
This is not "merge some changes from meta-oe", this is "overwrite whatever is in oe-core with meta-oe" :(.
The above wipes out rootless X support.
I've noticed this theme in several of the patches where for example a decent long DESCRIPTION and a separate short SUMMARY are replaced with a single one line SUMMARY.
The fact you've done this means I'm going to have to go over every line of changes in this and double check what is happening. Some of the patches look ok but some like this are not.
Cheers,
Richard
Re: [PATCH 09/13] xserver-nodm-init: merge some changes from meta-oe
Quoted 50 lines · Richard Purdie
Quoted 49 lines · Martin Jansa
*
/etc/X11/Xusernamehandling should be moved to x11-common so the same username and logic is used from initscript and when user starts it from terminalSigned-off-by Martin Jansa <[email protected]>--- .../x11-common/xserver-nodm-init/xserver-nodm | 30 ++++++-------------- 1 files changed, 9 insertions(+), 21 deletions(-)meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +6
-17@@ -8,10 +8,7 @@ # Default-Stop: 0 1 6 ### END INIT INFO -killproc() { # kill the named process(es) - pid=`/bin/pidof $1` - [ "$pid" != "" ] && kill $pid -} +. /etc/init.d/functions read CMDLINE < /proc/cmdline for x in $CMDLINE; do@@ -25,25 +22,16 @@ done case "$1" in start) + # We don't want this script to block the rest of the boot process + if [ "$2" != "background" ]; then + $0 $1 background & + else . /etc/profile - username=root + echo "Starting Xserver" - if [ -f /etc/X11/Xusername ]; then - username=`cat /etc/X11/Xusername` - # setting for rootless X - chmod o+w /var/log - chmod g+r /dev/tty[0-3] - chmod o+rw /dev/input/* - # hidraw device is probably needed - if [ -e /dev/hidraw0 ]; then - chmod o+rw /dev/hidraw* - fi - fi - # Using su rather than sudo as latest 1.8.1 cause failure [YOCTO #1211]
Quoted 8 lines
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm done · line 35
Quoted 8 lines
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +3
-4- su -l -c '/etc/X11/Xserver&' $username - # Wait for the desktop to say its finished loading - # before loading the rest of the system - # dbus-wait org.matchbox_project.desktop Loaded + . /etc/X11/xserver-common + xinit /etc/X11/Xsession -- `which $XSERVER` $ARGS >/var/log/Xsession.log 2>&1 + fi ;;
]> >
Quoted 6 lines
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm done · line 36
Quoted 1 line
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +0
-0stop)This is not "merge some changes from meta-oe", this is "overwrite whatever is in oe-core with meta-oe" :(.
The above wipes out rootless X support.
Sorry about that and please ignore this patch..
I've started moving rootless X support from not only xserver-nodm-init to unified x11-common/xserver-common, but because I didn't finish it I've removed xserver-common from this patchset and sent it here for review (ie because ant asked me to).
Quoted 3 lines
I've noticed this theme in several of the patches where for example a decent long DESCRIPTION and a separate short SUMMARY are replaced with a single one line SUMMARY.
I'll recheck this, but I was really trying to keep whatever was better in orginal recipes, so if it's the case somewhere I'll fix it and send updated patch, sorry about that.
Quoted 3 lines
The fact you've done this means I'm going to have to go over every line of changes in this and double check what is happening. Some of the patches look ok but some like this are not.
BTW: meta-oe patchset wasn't sent because git was offline..
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCH 09/13] xserver-nodm-init: merge some changes from meta-oe
Quoted 70 lines · Martin Jansa
Quoted 8 lines · Richard Purdie
Quoted 7 lines · Martin Jansa
*
/etc/X11/Xusernamehandling should be moved to x11-common so the same username and logic is used from initscript and when user starts it from terminalSigned-off-by Martin Jansa <[email protected]>--- .../x11-common/xserver-nodm-init/xserver-nodm | 30++++++--------------
Quoted 3 lines
Quoted 3 lines
1 files changed, 9 insertions(+), 21 deletions(-)diff --git
a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm
Quoted 31 lines
Quoted 31 lines
index c707a4b..9cd7904 100755
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +6
-9@@ -8,10 +8,7 @@ # Default-Stop: 0 1 6 ### END INIT INFO -killproc() { # kill the named process(es) - pid=`/bin/pidof $1` - [ "$pid" != "" ] && kill $pid -} +. /etc/init.d/functions read CMDLINE < /proc/cmdline for x in $CMDLINE; do@@ -25,25 +22,16 @@ done case "$1" in start) + # We don't want this script to block the rest of the boot process + if [ "$2" != "background" ]; then + $0 $1 background & + else . /etc/profile - username=root + echo "Starting Xserver" - if [ -f /etc/X11/Xusername ]; then - username=`cat /etc/X11/Xusername` - # setting for rootless X - chmod o+w /var/logQuoted 8 lines
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm done
Quoted 8 lines
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +0
-8- chmod g+r /dev/tty[0-3] - chmod o+rw /dev/input/* - # hidraw device is probably needed - if [ -e /dev/hidraw0 ]; then - chmod o+rw /dev/hidraw* - fi - fi - # Using su rather than sudo as latest 1.8.1 cause failure[YOCTO #1211]
Quoted 9 lines
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm done
Quoted 6 lines
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +2
-4- su -l -c '/etc/X11/Xserver&' $username - # Wait for the desktop to say its finished loading - # before loading the rest of the system - # dbus-wait org.matchbox_project.desktop Loaded + . /etc/X11/xserver-common + xinit /etc/X11/Xsession -- `which $XSERVER` $ARGS
/var/log/Xsession.log2>&1Quoted 2 lines
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +1
-0+ fi ;;]> >
Quoted 5 lines
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm done · line 36
Quoted 1 line
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +0
-0stop)This is not "merge some changes from meta-oe", this is "overwrite whatever is in oe-core with meta-oe" :(.
Quoted 10 lines
Quoted 1 line
The above wipes out rootless X support.
Sorry about that and please ignore this patch..
I've started moving rootless X support from not only xserver-nodm-init to unified x11-common/xserver-common, but because I didn't finish it I've removed xserver-common from this patchset and sent it here for review (ie because ant asked me to).
Yes, I'm to blame for that :)
Thanks again JaMa for your work.
The point is we are trying to reduce the delta between oe-core and meta-oe. This has to be done asap, before drifting too much.
I have atm three cases of recipes present in both layers whitout any reason (there are more, I know):
- udev
- xserver
- tzdata/tzcode
I hope the oe-core maintainers will give a look at meta-oe when updating their recipes.
Quoted 8 lines
Quoted 3 lines
I've noticed this theme in several of the patches where for example a decent long DESCRIPTION and a separate short SUMMARY are replaced with a single one line SUMMARY.
I'll recheck this, but I was really trying to keep whatever was better in orginal recipes, so if it's the case somewhere I'll fix it and send updated patch, sorry about that.
Quoted 7 lines
Quoted 3 lines
The fact you've done this means I'm going to have to go over every line of changes in this and double check what is happening. Some of the patches look ok but some like this are not.
BTW: meta-oe patchset wasn't sent because git was offline..
Bad luck. Please insist!
Regards,
Quoted 10 lines
--
Martin 'JaMa' Jansa jabber: [email protected]_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Regards
Andrea
PATCH 10/13 rgb: import from meta-oe layer
In reply to Martin Jansa--- meta/recipes-graphics/xorg-app/rgb_1.0.4.bb | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-graphics/xorg-app/rgb_1.0.4.bb
meta/recipes-graphics/xorg-app/rgb_1.0.4.bb new file +10 -0
@@ -0,0 +1,10 @@ +require xorg-app-common.inc +DEPENDS += " xproto util-macros" +LIC_FILES_CHKSUM = "file://COPYING;md5=ef598adbe241bd0b0b9113831f6e249a" +PE = "1" +PR = "${INC_PR}.0" + +SRC_URI[md5sum] = "35c6cccbf25a872bdd62bfcb1a73d951" +SRC_URI[sha256sum] = "80887da011ad086fff88bfd16c6d9d5ac7da45ef1bc9d0c192a6f370423370f1" + +FILES_${PN} += "${datadir}/X11"
Signature · 1 line
1.7.6.1
PATCH 11/13 libdrm: improve packaging
In reply to Martin Jansa--- meta/recipes-graphics/drm/libdrm.inc | 7 ++++--- meta/recipes-graphics/drm/libdrm_2.4.26.bb | 2 +- meta/recipes-graphics/drm/libdrm_git.bb | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-)
meta/recipes-graphics/drm/libdrm.inc +4 -3
@@ -15,7 +15,8 @@ DEPENDS += " libpciaccess" inherit autotools pkgconfig -PACKAGES =+ "libdrm-tests" -FILES_libdrm-tests = "${bindir}/dr* ${bindir}/mode*" +PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-kms" +FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode*" +FILES_${PN}-drivers = "${libdir}/libdrm_*.so.*" +FILES_${PN}-kms = "${libdir}/libkms*.so.*" -LEAD_SONAME = "libdrm.so"
meta/recipes-graphics/drm/libdrm_2.4.26.bb +1 -1
@@ -7,4 +7,4 @@ SRC_URI += "file://installtests.patch" SRC_URI[md5sum] = "062569426773f69b11a47a7712bba770" SRC_URI[sha256sum] = "b25b06ab5a077736044cbd9a3a05a9a23b873a0887ab1aaf93aa2b3218b2d3dc" -PR = "r0" +PR = "r1"
meta/recipes-graphics/drm/libdrm_git.bb +1 -1
@@ -6,4 +6,4 @@ S = ${WORKDIR}/git SRCREV = "3f3c5be6f908272199ccf53f108b1124bfe0a00e" PV = "2.4.15+git${SRCPV}" -PR = "r0" +PR = "r1"
Signature · 1 line
1.7.6.1
Re: [PATCH 11/13] libdrm: improve packaging
Quoted 13 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>--- meta/recipes-graphics/drm/libdrm.inc | 7 ++++--- meta/recipes-graphics/drm/libdrm_2.4.26.bb | 2 +- meta/recipes-graphics/drm/libdrm_git.bb | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-)meta/recipes-graphics/drm/libdrm.inc +0
-0@@ -15,7 +15,8 @@ DEPENDS += " libpciaccess"
meta/recipes-graphics/drm/libdrm.inc DEPENDS += " libpciaccess" · line 21
Quoted 10 lines
meta/recipes-graphics/drm/libdrm.inc +4
-3inherit autotools pkgconfig -PACKAGES =+ "libdrm-tests" -FILES_libdrm-tests = "${bindir}/dr* ${bindir}/mode*" +PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-kms" +FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode*" +FILES_${PN}-drivers = "${libdir}/libdrm_*.so.*" +FILES_${PN}-kms = "${libdir}/libkms*.so.*" -LEAD_SONAME = "libdrm.so"
I want to make it *really* clear that this breaks anything depending on libdrm for oe-core users.
This is exactly why I think the whole PR bump thing is stupid, braindead and simply wrong since the current fix is to go and find anything using libdrm and bump those PR values too.
Of course we could add a "LIBDRM_INC_PR" in the core and bump that when libdrm changes.
The trouble is following this path to its logical conclusion, we basically turn our automated build system into a set of manual changes where we compute dependency chains by hand.
Sorry to labour this point but I do want people to understand why we need to take some pain in the short term and improve what we're doing...
I will take the patch since I value getting meta-oe cleaned up and I'll add in a patch bumping PR for xserver/mesa but I'm not happy.
Cheers,
Richard
Re: [PATCH 11/13] libdrm: improve packaging
Quoted 39 lines · Richard Purdie
Quoted 13 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>--- meta/recipes-graphics/drm/libdrm.inc | 7 ++++--- meta/recipes-graphics/drm/libdrm_2.4.26.bb | 2 +- meta/recipes-graphics/drm/libdrm_git.bb | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-)meta/recipes-graphics/drm/libdrm.inc +0
-0@@ -15,7 +15,8 @@ DEPENDS += " libpciaccess"meta/recipes-graphics/drm/libdrm.inc DEPENDS += " libpciaccess" · line 21
Quoted 10 lines
meta/recipes-graphics/drm/libdrm.inc +4
-3inherit autotools pkgconfig -PACKAGES =+ "libdrm-tests" -FILES_libdrm-tests = "${bindir}/dr* ${bindir}/mode*" +PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-kms" +FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode*" +FILES_${PN}-drivers = "${libdir}/libdrm_*.so.*" +FILES_${PN}-kms = "${libdir}/libkms*.so.*" -LEAD_SONAME = "libdrm.so"I want to make it *really* clear that this breaks anything depending on libdrm for oe-core users.
This is exactly why I think the whole PR bump thing is stupid, braindead and simply wrong since the current fix is to go and find anything using libdrm and bump those PR values too.
Of course we could add a "
LIBDRM_INC_PR" in the core and bump that when libdrm changes.The trouble is following this path to its logical conclusion, we basically turn our automated build system into a set of manual changes where we compute dependency chains by hand.
Quoted 5 lines
Sorry to labour this point but I do want people to understand why we need to take some pain in the short term and improve what we're doing...
I will take the patch since I value getting meta-oe cleaned up and I'll add in a patch bumping PR for xserver/mesa but I'm not happy.
If you take also patch for xserver/mesa upgrade then extra PR bump won't be needed :).
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
PATCH 12/13 glx-use-tls: add from meta-oe layer
In reply to Martin Jansa--- meta/classes/glx-use-tls.bbclass | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 meta/classes/glx-use-tls.bbclass
meta/classes/glx-use-tls.bbclass new file +7 -0
@@ -0,0 +1,7 @@ +def get_tls_setting(bb, d): + # until we have no prober TLS support in uclibc disable it + if bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 : + return "" + return "--enable-glx-tls" + +EXTRA_OECONF += "${@get_tls_setting(bb, d)}"
Signature · 1 line
1.7.6.1
Re: [PATCH 12/13] glx-use-tls: add from meta-oe layer
Quoted 12 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>--- meta/classes/glx-use-tls.bbclass | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 meta/classes/glx-use-tls.bbclassmeta/classes/glx-use-tls.bbclass new file +0
-0
meta/classes/glx-use-tls.bbclass line 7
Quoted 7 lines
meta/classes/glx-use-tls.bbclass new file +7
-0@@ -0,0 +1,7 @@ +def get_tls_setting(bb, d): + # until we have no prober TLS support in uclibc disable it + if bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 : + return "" + return "--enable-glx-tls" + +EXTRA_OECONF += "${@get_tls_setting(bb, d)}"
How many recipes actually use this? Shouldn't it really be a mesa include file?
Cheers,
Richard
PATCH 13/13 mesa: upgrade to 7.11
In reply to Martin Jansa---
meta/recipes-graphics/mesa/mesa-7.11.inc | 15 ++++++
meta/recipes-graphics/mesa/mesa-common.inc | 48 +++++++++++++-------
.../mesa/mesa-dri-glsl-native_7.11.bb | 28 +++++++++++
.../mesa/mesa-dri-glsl-native_7.8.2.bb | 27 -----------
meta/recipes-graphics/mesa/mesa-dri.inc | 27 +++++++++++
meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 3 +
meta/recipes-graphics/mesa/mesa-xlib.inc | 5 ++
meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 4 ++
.../mesa/{mesa-dri => mesa}/uclibc.patch | 0
meta/recipes-graphics/mesa/mesa_7.11.bb | 6 +++
10 files changed, 120 insertions(+), 43 deletions(-)
create mode 100644 meta/recipes-graphics/mesa/mesa-7.11.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
delete mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb
create mode 100644 meta/recipes-graphics/mesa/mesa-dri.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-dri_7.11.bb
create mode 100644 meta/recipes-graphics/mesa/mesa-xlib.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
rename meta/recipes-graphics/mesa/{mesa-dri => mesa}/uclibc.patch (100%)
create mode 100644 meta/recipes-graphics/mesa/mesa_7.11.bbmeta/recipes-graphics/mesa/mesa-7.11.inc new file +15 -0
@@ -0,0 +1,15 @@ +SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ + file://uclibc.patch \ + " + +DEPENDS += "mesa-dri-glsl-native" + +SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13" +SRC_URI[sha256sum] = "f8bf37a00882840a3e3d327576bc26a79ae7f4e18fe1f7d5f17a5b1c80dd7acf" + +do_configure_prepend() { + #check for python not python2, because python-native does not stage python2 binary/link + sed -i 's/AC_CHECK_PROGS(\[PYTHON2\], \[python2 python\])/AC_CHECK_PROGS(\[PYTHON2\], \[python python\])/g' ${S}/configure.ac + # We need builtin_compiler built for buildhost arch instead of target (is provided by mesa-dri-glsl-native)" + sed -i "s#\./builtin_compiler#${STAGING_BINDIR_NATIVE}/glsl/builtin_compiler#g" ${S}/src/glsl/Makefile +}
meta/recipes-graphics/mesa/mesa-common.inc +32 -16
66 lines not on this page · raw message
meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb new file +28 -0
@@ -0,0 +1,28 @@ +DESCRIPTION = "gl shader language specific build from mesa-dri" +HOMEPAGE = "http://mesa3d.org" +BUGTRACKER = "https://bugs.freedesktop.org" +SECTION = "x11" +LICENSE = "GPLv3+" +LIC_FILES_CHKSUM = "file://glsl_parser.cpp;beginline=3;endline=33;md5=d078f1cddc2fc355719c090482254bd9" + +DEPENDS = "makedepend-native" + +SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2" + +SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13" +SRC_URI[sha256sum] = "f8bf37a00882840a3e3d327576bc26a79ae7f4e18fe1f7d5f17a5b1c80dd7acf" + +S = "${WORKDIR}/Mesa-${PV}/src/glsl/" + +inherit native + +# use default config for native build +do_configure_prepend() { + ln -s ${S}/../../configs/default ${S}/../../configs/current +} + +do_install() { + install -d ${D}/${bindir}/glsl + install -m 755 ${S}/builtin_compiler ${D}/${bindir}/glsl/builtin_compiler + install -m 755 ${S}/glsl_compiler ${D}/${bindir}/glsl/glsl_compiler +}
meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb deleted +0 -27
@@ -1,27 +0,0 @@ -DESCRIPTION = "gl shader language specific build from mesa-dri" -HOMEPAGE = "http://mesa3d.org" -BUGTRACKER = "https://bugs.freedesktop.org" -SECTION = "x11" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://apps/compile.c;endline=26;md5=27c2833286ce9566b162bcbe21d5b267" -PR = "r0" - -DEPENDS = "makedepend-native" - -SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2" -SRC_URI[md5sum] = "6be2d343a0089bfd395ce02aaf8adb57" -SRC_URI[sha256sum] = "505bf418dceba05837f4ea1b1972b9620c35f8cb94bc4d1e6d573c15f562576d" - -S = "${WORKDIR}/Mesa-7.8.2/src/glsl/" - -inherit native - -# use default config for native build -do_configure_prepend() { - ln -s ${S}/../../configs/default ${S}/../../configs/current -} - -do_install() { - install -d ${D}/${bindir} - install -m 755 ${S}/apps/compile ${D}/${bindir}/glsl-compile -}
meta/recipes-graphics/mesa/mesa-dri.inc new file +27 -0
@@ -0,0 +1,27 @@ +DEPENDS += "dri2proto expat libdrm" + +#not supported in oe-core base.bbclass +#FILESPATHPKG =. "mesa-${PV}:mesa:" +FILESPATH =. "${FILE_DIRNAME}/mesa:${FILE_DIRNAME}/mesa-${PV}:" + +# most of our targets do not have DRI so will use mesa-xlib +DEFAULT_PREFERENCE = "-1" + +MACHINE_DRI_MODULES ?= "" +#PACKAGE_ARCH = "${@['${MACHINE_ARCH}','${BASE_PACKAGE_ARCH}'][bb.data.getVar('MACHINE_DRI_MODULES',d,1) == '']}" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium -with-dri-drivers=swrast,${MACHINE_DRI_MODULES}" + +python populate_packages_prepend() { + import os.path + + dri_drivers_root = os.path.join(bb.data.getVar('libdir', d, 1), "dri") + + do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='') +} + +PACKAGES_DYNAMIC = "mesa-dri-driver-*" + +FILES_${PN}-dbg += "${libdir}/dri/.debug/*" +
meta/recipes-graphics/mesa/mesa-dri_7.11.bb new file +3 -0
@@ -0,0 +1,3 @@ +require mesa-common.inc +require mesa-${PV}.inc +require mesa-dri.inc
meta/recipes-graphics/mesa/mesa-xlib.inc new file +5 -0
@@ -0,0 +1,5 @@ +#not supported in oe-core base.bbclass +#FILESPATHPKG =. "mesa-${PV}:mesa:" +FILESPATH =. "${FILE_DIRNAME}/mesa:${FILE_DIRNAME}/mesa-${PV}:" + +EXTRA_OECONF += " --with-driver=xlib"
meta/recipes-graphics/mesa/mesa-xlib_7.11.bb new file +4 -0
@@ -0,0 +1,4 @@ +require mesa-common.inc +require mesa-${PV}.inc +require mesa-xlib.inc +PR = "${INC_PR}.0"
meta/recipes-graphics/mesa/mesa/uclibc.patch renamed from meta/recipes-graphics/mesa/mesa-dri/uclibc.patch +0 -0
meta/recipes-graphics/mesa/mesa_7.11.bb new file +6 -0
@@ -0,0 +1,6 @@ +# This is a dummy package so OE can use the poky mesa files +require mesa-dri_${PV}.bb + +PR = "${INC_PR}.0" + +EXTRA_OECONF += "--disable-egl"
Signature · 1 line
1.7.6.1
Re: [PATCH 13/13] mesa: upgrade to 7.11
Quoted 14 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>--- meta/recipes-graphics/mesa/mesa-7.11.inc | 15 ++++++ meta/recipes-graphics/mesa/mesa-common.inc | 48 +++++++++++++------- .../mesa/mesa-dri-glsl-native_7.11.bb | 28 +++++++++++ .../mesa/mesa-dri-glsl-native_7.8.2.bb | 27 ----------- meta/recipes-graphics/mesa/mesa-dri.inc | 27 +++++++++++ meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 3 + meta/recipes-graphics/mesa/mesa-xlib.inc | 5 ++ meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 4 ++ .../mesa/{mesa-dri => mesa}/uclibc.patch | 0 meta/recipes-graphics/mesa/mesa_7.11.bb | 6 +++ 10 files changed, 120 insertions(+), 43 deletions(-) create mode 100644 meta/recipes-graphics/mesa/mesa-7.11.inc
Quoted 9 lines
create mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
delete mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb
create mode 100644 meta/recipes-graphics/mesa/mesa-dri.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-dri_7.11.bb
create mode 100644 meta/recipes-graphics/mesa/mesa-xlib.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
rename meta/recipes-graphics/mesa/{mesa-dri => mesa}/uclibc.patch (100%)
create mode 100644 meta/recipes-graphics/mesa/mesa_7.11.bbThis is an upgrade, repackaging, changes in code layout. It all needs to be split up please.
Cheers,
Richard
Re: [PATCH 01/13] xserver-xf86: upgrade to 1.11.0 and move shared definitions to .inc files
In reply to Martin JansaQuoted 5 lines · Martin Jansa
* also improve packaging a bit
* motivated by xserver-xorg from meta-oe (which is IMHO named better - closer to upstream)Signed-off-by Martin Jansa <[email protected]>
Quoted 16 lines
--- .../xorg-xserver/xserver-xf86-1.11.0.inc | 7 ++ .../xorg-xserver/xserver-xf86-common.inc | 114 +++++++++++++++++--- .../xorg-xserver/xserver-xf86-dri-lite.inc | 34 +----- .../xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb | 20 ---- .../xorg-xserver/xserver-xf86-dri-lite_1.11.0.bb | 4 + .../xorg-xserver/xserver-xf86-dri-lite_git.bb | 8 +-- .../xorg-xserver/xserver-xf86-lite.inc | 32 +----- .../xorg-xserver/xserver-xf86-lite_1.10.1.bb | 12 -- .../xorg-xserver/xserver-xf86-lite_1.11.0.bb | 2 + 9 files changed, 123 insertions(+), 110 deletions(-) create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-1.11.0.inc delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.11.0.bb delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.10.1.bb create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.11.0.bb
I'm afraid I can't even begin to separate out all the pieces in this (version changes from packaging fixes from code layout changes). Please can you split it up.
Cheers,
Richard
Quoted 6 lines · Martin Jansa
Hi,
this patchset brings meta-oe and oe-core xorg stuff together and most of xorg recipes will be removed from meta-oe (sending another pull request now).
This step is needed to be able to separate common x11 to meta-x11 or whatever later.
I've forgot to mention that this patchest was tested on om-gta02, nokia900 and spitz..
Quoted 104 lines
The following changes since commit
96241de59fdf548ae0f80cc9e4668f9ba11924ef:Fix flac build on e500mc cores (2011-09-29 19:31:38 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribjansa/x11
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/x11Martin Jansa (13):
xserver-xf86: upgrade to 1.11.0 and move shared definitions to .inc
files
xserver-xf86-dri-lite: removeCOMPATIBLE_HOST
libxft, libxrender, renderproto: add native BBCLASSEXTEND
libx11: upgrade to 1.4.4
default-providers: define PREFERRED_PROVIDER_virtual/libx11-native
xorg-app-common: merge some changes from meta-oe
xorg-driver: rename .inc files and merge some changes from meta-oe
xf86-video-omapfb: bump SRCREV and add patch from meta-oe
xserver-nodm-init: merge some changes from meta-oe
rgb: import from meta-oe layer
libdrm: improve packaging
glx-use-tls: add from meta-oe layer
mesa: upgrade to 7.11meta/classes/glx-use-tls.bbclass | 7 + meta/conf/distro/include/default-providers.inc | 1 + meta/recipes-graphics/drm/libdrm.inc | 7 +- meta/recipes-graphics/drm/libdrm_2.4.26.bb | 2 +- meta/recipes-graphics/drm/libdrm_git.bb | 2 +- meta/recipes-graphics/mesa/mesa-7.11.inc | 15 + meta/recipes-graphics/mesa/mesa-common.inc | 48 ++- .../mesa/mesa-dri-glsl-native_7.11.bb | 28 ++ .../mesa/mesa-dri-glsl-native_7.8.2.bb | 27 -- meta/recipes-graphics/mesa/mesa-dri.inc | 27 ++ meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 3 + meta/recipes-graphics/mesa/mesa-xlib.inc | 5 + meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 4 + .../mesa/{mesa-dri => mesa}/uclibc.patch | 0 meta/recipes-graphics/mesa/mesa_7.11.bb | 6 + .../x11-common/xserver-nodm-init/xserver-nodm | 30 +-- meta/recipes-graphics/xorg-app/rgb_1.0.4.bb | 10 + meta/recipes-graphics/xorg-app/xorg-app-common.inc | 10 +- .../xorg-driver/xf86-input-evdev_2.6.0.bb | 4 +- .../xorg-driver/xf86-input-keyboard_1.6.0.bb | 4 +- .../xorg-driver/xf86-input-keyboard_git.bb | 3 +- .../xorg-driver/xf86-input-mouse_1.7.0.bb | 4 +- .../xorg-driver/xf86-input-mouse_git.bb | 4 +- .../xorg-driver/xf86-input-synaptics_1.4.0.bb | 4 +- .../xorg-driver/xf86-input-synaptics_git.bb | 3 +- .../xorg-driver/xf86-input-vmmouse_12.7.0.bb | 4 +- .../xorg-driver/xf86-video-intel_2.15.0.bb | 4 +- .../xorg-driver/xf86-video-intel_git.bb | 4 +- .../0004-Attempt-to-fix-VRFB.patch | 325 ++++++++++++++++++++ .../xorg-driver/xf86-video-omapfb_git.bb | 20 +- .../xorg-driver/xf86-video-vesa_2.3.0.bb | 4 +- .../xorg-driver/xf86-video-vmware_11.0.3.bb | 4 +- ...86-driver-common.inc => xorg-driver-common.inc} | 14 +- ...xf86-input-common.inc => xorg-driver-input.inc} | 3 +- ...xf86-video-common.inc => xorg-driver-video.inc} | 2 +- .../xorg-lib/libx11-1.4.4/keysymdef_include.patch | 19 ++ .../libx11-1.4.4/x11_disable_makekeys.patch | 29 ++ meta/recipes-graphics/xorg-lib/libx11.inc | 52 ++-- meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb | 14 + meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb | 2 + meta/recipes-graphics/xorg-lib/libxrender_0.9.6.bb | 2 +- .../xorg-proto/renderproto_0.11.1.bb | 2 +- .../xorg-xserver/xserver-xf86-1.11.0.inc | 7 + .../xorg-xserver/xserver-xf86-common.inc | 114 ++++++- .../xorg-xserver/xserver-xf86-dri-lite.inc | 37 +-- .../xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb | 20 -- .../xorg-xserver/xserver-xf86-dri-lite_1.11.0.bb | 4 + .../xorg-xserver/xserver-xf86-dri-lite_git.bb | 8 +- .../xorg-xserver/xserver-xf86-lite.inc | 32 +-- .../xorg-xserver/xserver-xf86-lite_1.10.1.bb | 12 - .../xorg-xserver/xserver-xf86-lite_1.11.0.bb | 2 + 51 files changed, 750 insertions(+), 248 deletions(-) create mode 100644 meta/classes/glx-use-tls.bbclass create mode 100644 meta/recipes-graphics/mesa/mesa-7.11.inc create mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb delete mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb create mode 100644 meta/recipes-graphics/mesa/mesa-dri.inc create mode 100644 meta/recipes-graphics/mesa/mesa-dri_7.11.bb create mode 100644 meta/recipes-graphics/mesa/mesa-xlib.inc create mode 100644 meta/recipes-graphics/mesa/mesa-xlib_7.11.bb rename meta/recipes-graphics/mesa/{mesa-dri => mesa}/uclibc.patch (100%) create mode 100644 meta/recipes-graphics/mesa/mesa_7.11.bb create mode 100644 meta/recipes-graphics/xorg-app/rgb_1.0.4.bb create mode 100644 meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0004-Attempt-to-fix-VRFB.patch rename meta/recipes-graphics/xorg-driver/{xf86-driver-common.inc => xorg-driver-common.inc} (66%) rename meta/recipes-graphics/xorg-driver/{xf86-input-common.inc => xorg-driver-input.inc} (81%) rename meta/recipes-graphics/xorg-driver/{xf86-video-common.inc => xorg-driver-video.inc} (65%) create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.4.4/keysymdef_include.patch create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.4.4/x11_disable_makekeys.patch create mode 100644 meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-1.11.0.inc delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.11.0.bb delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.10.1.bb create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.11.0.bbSignature · 1 line
1.7.6.1
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 15 lines · Martin Jansa
Hi,
this patchset brings meta-oe and oe-core xorg stuff together and most of xorg recipes will be removed from meta-oe (sending another pull request now).
This step is needed to be able to separate common x11 to meta-x11 or whatever later.
The following changes since commit
96241de59fdf548ae0f80cc9e4668f9ba11924ef:Fix flac build on e500mc cores (2011-09-29 19:31:38 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribjansa/x11
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/x11
Quoted 7 lines
Martin Jansa (13):
xorg-driver: rename .inc files and merge some changes from meta-oe libxft, libxrender, renderproto: add native BBCLASSEXTEND
xorg-app-common: merge some changes from meta-oe
xf86-video-omapfb: bump SRCREV and add patch from meta-oe
rgb: import from meta-oe layer
libdrm: improve packaging
I'll take these ones. I've queued them on a master-next branch for now as I want to give other people some time to comment on them. If there isn't negative feedback I'll take them in ~24 hours.
I've given feedback on why I think these need further work:
Quoted 8 lines
xserver-xf86: upgrade to 1.11.0 and move shared definitions to .inc
files
xserver-xf86-dri-lite: removeCOMPATIBLE_HOST
libx11: upgrade to 1.4.4
default-providers: define PREFERRED_PROVIDER_virtual/libx11-native
xserver-nodm-init: merge some changes from meta-oe
glx-use-tls: add from meta-oe layer
mesa: upgrade to 7.11
Cheers,
Richard
Quoted 24 lines · Richard Purdie
Quoted 15 lines · Martin Jansa
Hi,
this patchset brings meta-oe and oe-core xorg stuff together and most of xorg recipes will be removed from meta-oe (sending another pull request now).
This step is needed to be able to separate common x11 to meta-x11 or whatever later.
The following changes since commit
96241de59fdf548ae0f80cc9e4668f9ba11924ef:Fix flac build on e500mc cores (2011-09-29 19:31:38 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribjansa/x11
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/x11Quoted 7 lines
Martin Jansa (13):
xorg-driver: rename .inc files and merge some changes from meta-oe libxft, libxrender, renderproto: add native BBCLASSEXTEND
xorg-app-common: merge some changes from meta-oe
xf86-video-omapfb: bump SRCREV and add patch from meta-oe
rgb: import from meta-oe layer
libdrm: improve packaging
Quoted 3 lines
I'll take these ones. I've queued them on a master-next branch for now as I want to give other people some time to comment on them. If there isn't negative feedback I'll take them in ~24 hours.
Thanks,
Quoted 11 lines
I've given feedback on why I think these need further work:
Quoted 8 lines
xserver-xf86: upgrade to 1.11.0 and move shared definitions to .inc
files
xserver-xf86-dri-lite: removeCOMPATIBLE_HOST
libx11: upgrade to 1.4.4
default-providers: define PREFERRED_PROVIDER_virtual/libx11-native
xserver-nodm-init: merge some changes from meta-oe
glx-use-tls: add from meta-oe layer
mesa: upgrade to 7.11
I'll send updated patchset for this 7.
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 24 lines · Richard Purdie
Quoted 15 lines · Martin Jansa
Hi,
this patchset brings meta-oe and oe-core xorg stuff together and most of xorg recipes will be removed from meta-oe (sending another pull request now).
This step is needed to be able to separate common x11 to meta-x11 or whatever later.
The following changes since commit
96241de59fdf548ae0f80cc9e4668f9ba11924ef:Fix flac build on e500mc cores (2011-09-29 19:31:38 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribjansa/x11
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/x11Quoted 7 lines
Martin Jansa (13):
xorg-driver: rename .inc files and merge some changes from meta-oe libxft, libxrender, renderproto: add native BBCLASSEXTEND
xorg-app-common: merge some changes from meta-oe
xf86-video-omapfb: bump SRCREV and add patch from meta-oe
rgb: import from meta-oe layer
libdrm: improve packaging
Quoted 14 lines
I'll take these ones. I've queued them on a master-next branch for now as I want to give other people some time to comment on them. If there isn't negative feedback I'll take them in ~24 hours.
I've given feedback on why I think these need further work:
Quoted 8 lines
xserver-xf86: upgrade to 1.11.0 and move shared definitions to .inc
files
xserver-xf86-dri-lite: removeCOMPATIBLE_HOST
libx11: upgrade to 1.4.4
default-providers: define PREFERRED_PROVIDER_virtual/libx11-native
xserver-nodm-init: merge some changes from meta-oe
glx-use-tls: add from meta-oe layer
mesa: upgrade to 7.11
I've updated jansa/x11 branch according to your comments, now 17 patches instead of 7 :).
Before I send updated pull-request, what do you think about renaming xserver-xf86 to xserver-xorg which is closer to upstream naming and that's how it's named in OE-classic and meta-oe? It would make meta-oe transition easier and better to do it now then convert meta-oe to xserver-xf86 and then rename it back later.
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 40 lines · Martin Jansa
Quoted 24 lines · Richard Purdie
Quoted 15 lines · Martin Jansa
Hi,
this patchset brings meta-oe and oe-core xorg stuff together and most of xorg recipes will be removed from meta-oe (sending another pull request now).
This step is needed to be able to separate common x11 to meta-x11 or whatever later.
The following changes since commit
96241de59fdf548ae0f80cc9e4668f9ba11924ef:Fix flac build on e500mc cores (2011-09-29 19:31:38 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribjansa/x11
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/x11Quoted 7 lines
Martin Jansa (13):
xorg-driver: rename .inc files and merge some changes from meta-oe libxft, libxrender, renderproto: add native BBCLASSEXTEND
xorg-app-common: merge some changes from meta-oe
xf86-video-omapfb: bump SRCREV and add patch from meta-oe
rgb: import from meta-oe layer
libdrm: improve packagingQuoted 14 lines
I'll take these ones. I've queued them on a master-next branch for now as I want to give other people some time to comment on them. If there isn't negative feedback I'll take them in ~24 hours.
I've given feedback on why I think these need further work:
Quoted 8 lines
xserver-xf86: upgrade to 1.11.0 and move shared definitions to .inc
files
xserver-xf86-dri-lite: removeCOMPATIBLE_HOST
libx11: upgrade to 1.4.4
default-providers: define PREFERRED_PROVIDER_virtual/libx11-native
xserver-nodm-init: merge some changes from meta-oe
glx-use-tls: add from meta-oe layer
mesa: upgrade to 7.11
Quoted 8 lines
I've updated jansa/x11 branch according to your comments, now 17 patches instead of 7 :).
Before I send updated pull-request, what do you think about renaming xserver-xf86 to xserver-xorg which is closer to upstream naming and that's how it's named in OE-classic and meta-oe? It would make meta-oe transition easier and better to do it now then convert meta-oe to xserver-xf86 and then rename it back later.
I'm ok with renaming it. I think the historical reasons for the differences don't matter now.
Cheers,
Richard
v2 cover Xorg related changes
In reply to Martin JansaHi,
this patchset brings meta-oe and oe-core xorg stuff together and most of xorg recipes will be removed from meta-oe (sending another pull request now).
This step is needed to be able to separate common x11 to meta-x11 or whatever later.
The following changes since commit c54c1280fc0d06a53e23339c3913ec88eead13d9:
base.bbclass: Drop unneeded dependency (2011-09-30 11:34:44 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib jansa/x11
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/x11
Martin Jansa (29):
libxft, libxrender, renderproto: add native BBCLASSEXTEND
xorg-app-common: merge some changes from meta-oe
xorg-driver: rename .inc files and merge some changes from meta-oe
xf86-video-omapfb: bump SRCREV and add patch from meta-oe
libdrm: improve packaging
rgb: import from meta-oe layer
xserver-xf86-dri-lite: remove old git recipe
xserver-xf86: improve packaging and move shared definitions to .inc
files
xserver-xf86: add new version 1.11.1
xserver-xf86: remove old 1.10.1 version
xserver-xf86-dri-lite: remove COMPATIBLE_HOST
xserver-xf86: drop unused files
xserver-xf86: move patches to xserver-xf86-dri-lite-1.11.1 and use
same directory from xserver-xf86-lite recipe
xserver-xf86(-dri)-lite: rename to xserver-xorg and xserver-xorg-lite
xserver-kdrive: drop unused files (same files are in
xserver-kdrive-1.7.99.2 directory
xorg-driver-common: bump INC_PR to rebuild drivers agains new
xserver-xorg ABI
libx11: package xcb, merge few changes from meta-oe
libx11: add new version 1.4.4
libx11: remove older 1.3.4
libx11: drop old 1.2.2 git version
libx11-trim: move files for libx11-trim from libx11-1.3.4 to
libx11-trim-1.3.4 libx11-diet: move old patches used only by libx11-diet-1.3 to
separate directory
libx11-diet: add SRC_URI checksums
xserver-nodm-init: merge some changes from meta-oe
glx-use-tls: add from meta-oe layer
mesa: add mesa-dri.inc and mesa-xlib.inc with shared options, move
uclibc.patch
mesa-dri-glsl-native: drop recipe which wasn't usefull since 7.8.2
was removed
mesa: add new version 7.11
mesa: drop older 7.10.2 and 7.7+git recipes
Richard Purdie (1):
xserver/mesa: Bump PR after libdrm packaging changes
meta/classes/glx-use-tls.bbclass | 7 +
meta/conf/distro/include/default-providers.inc | 4 +-
.../conf/distro/include/distro_tracking_fields.inc | 20 +-
meta/conf/machine/qemux86-64.conf | 6 +-
meta/conf/machine/qemux86.conf | 6 +-
meta/conf/multilib.conf | 2 +-
meta/recipes-graphics/drm/libdrm.inc | 7 +-
meta/recipes-graphics/drm/libdrm_2.4.26.bb | 2 +-
meta/recipes-graphics/drm/libdrm_git.bb | 2 +-
meta/recipes-graphics/mesa/mesa-7.11.inc | 15 +
meta/recipes-graphics/mesa/mesa-common.inc | 36 ++-
.../mesa/mesa-dri-glsl-native_7.11.bb | 28 +
.../mesa/mesa-dri-glsl-native_7.8.2.bb | 27 -
meta/recipes-graphics/mesa/mesa-dri.inc | 22 +
meta/recipes-graphics/mesa/mesa-dri/cross2.patch | 46 --
meta/recipes-graphics/mesa/mesa-dri/crossfix.patch | 18 -
meta/recipes-graphics/mesa/mesa-dri/i586/matypes.h | 162 ------
meta/recipes-graphics/mesa/mesa-dri_7.10.2.bb | 40 --
meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 4 +
meta/recipes-graphics/mesa/mesa-dri_git.bb | 57 --
meta/recipes-graphics/mesa/mesa-xlib.inc | 1 +
meta/recipes-graphics/mesa/mesa-xlib_7.10.2.bb | 22 -
meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 4 +
.../mesa/{mesa-dri => mesa}/uclibc.patch | 0
.../x11-common/xserver-nodm-init/xserver-nodm | 30 +-
meta/recipes-graphics/xorg-app/rgb_1.0.4.bb | 10 +
meta/recipes-graphics/xorg-app/xorg-app-common.inc | 10 +-
.../xorg-driver/xf86-input-evdev_2.6.0.bb | 4 +-
.../xorg-driver/xf86-input-keyboard_1.6.0.bb | 4 +-
.../xorg-driver/xf86-input-keyboard_git.bb | 3 +-
.../xorg-driver/xf86-input-mouse_1.7.0.bb | 4 +-
.../xorg-driver/xf86-input-mouse_git.bb | 4 +-
.../xorg-driver/xf86-input-synaptics_1.4.0.bb | 4 +-
.../xorg-driver/xf86-input-synaptics_git.bb | 3 +-
.../xorg-driver/xf86-input-vmmouse_12.7.0.bb | 4 +-
.../xorg-driver/xf86-video-intel_2.15.0.bb | 4 +-
.../xorg-driver/xf86-video-intel_git.bb | 4 +-
.../0004-Attempt-to-fix-VRFB.patch | 325 +++++++++++
.../xorg-driver/xf86-video-omapfb_git.bb | 20 +-
.../xorg-driver/xf86-video-vesa_2.3.0.bb | 4 +-
.../xorg-driver/xf86-video-vmware_11.0.3.bb | 4 +-
...86-driver-common.inc => xorg-driver-common.inc} | 14 +-
...xf86-input-common.inc => xorg-driver-input.inc} | 3 +-
...xf86-video-common.inc => xorg-driver-video.inc} | 2 +-
.../xorg-lib/libx11-1.4.4/keysymdef_include.patch | 23 +
.../libx11-1.4.4/x11_disable_makekeys.patch | 29 +
.../{libx11 => libx11-diet-1.3}/X18NCMSstubs.diff | 0
.../fix-disable-xlocale.diff | 0
.../fix-utf8-wrong-define.patch | 0
.../include_fix.patch | 0
.../{libx11-git => libx11-diet-1.3}/nodolt.patch | 0
.../x11_disable_makekeys.patch | 0
meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb | 6 +-
meta/recipes-graphics/xorg-lib/libx11-diet_git.bb | 17 -
.../xorg-lib/libx11-git/X18NCMSstubs.diff | 570 --------------------
.../xorg-lib/libx11-git/x11_disable_makekeys.patch | 30 -
.../include_fix.patch | 0
.../makekeys_crosscompile.patch | 0
.../nodolt.patch | 0
.../x11_disable_makekeys.patch | 0
.../xorg-lib/libx11-trim/include_fix.patch | 25 -
.../xorg-lib/libx11-trim/nodolt.patch | 14 -
.../recipes-graphics/xorg-lib/libx11-trim_1.3.4.bb | 10 +-
meta/recipes-graphics/xorg-lib/libx11-trim_git.bb | 13 -
meta/recipes-graphics/xorg-lib/libx11.inc | 25 +-
.../xorg-lib/libx11/fix-disable-xlocale.diff | 16 -
.../xorg-lib/libx11/fix-utf8-wrong-define.patch | 17 -
.../xorg-lib/libx11/include_fix.patch | 25 -
meta/recipes-graphics/xorg-lib/libx11/nodolt.patch | 14 -
.../xorg-lib/libx11/x11_disable_makekeys.patch | 31 --
meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb | 35 --
meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb | 18 +
meta/recipes-graphics/xorg-lib/libx11_git.bb | 14 -
meta/recipes-graphics/xorg-lib/libx11_git.inc | 11 -
meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb | 2 +
meta/recipes-graphics/xorg-lib/libxrender_0.9.6.bb | 2 +-
.../xorg-proto/renderproto_0.11.1.bb | 2 +-
.../xorg-xserver/files/macro_tweak.patch | 20 -
.../xorg-xserver/xserver-kdrive/disable-apm.patch | 24 -
.../xserver-kdrive/disable-xf86-dga-xorgcfg.patch | 43 --
.../xorg-xserver/xserver-kdrive/extra-kmodes.patch | 87 ---
.../xserver-kdrive/fbdev_xrandr_ioctl.patch | 63 ---
.../xserver-kdrive/no-serial-probing.patch | 17 -
.../xorg-xserver/xserver-xf86-common.inc | 37 --
.../xorg-xserver/xserver-xf86-dri-lite.inc | 37 --
.../cache-xkbcomp-output-for-fast-start-up.patch | 360 ------------
.../xserver-xf86-dri-lite/fix_macros1.patch | 24 -
.../fix_open_max_preprocessor_error.patch | 15 -
.../xserver-xf86-dri-lite/macro_tweak.patch | 30 -
.../xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb | 20 -
.../xorg-xserver/xserver-xf86-dri-lite_git.bb | 25 -
.../xorg-xserver/xserver-xf86-lite.inc | 34 --
.../xserver-xf86-lite/crosscompile.patch | 22 -
.../xorg-xserver/xserver-xf86-lite_1.10.1.bb | 12 -
.../xorg-xserver/xserver-xorg-1.11.1.inc | 7 +
.../crosscompile.patch | 0
.../fix_open_max_preprocessor_error.patch | 0
.../macro_tweak.patch | 7 +-
.../xorg-xserver/xserver-xorg-common.inc | 126 +++++
.../xorg-xserver/xserver-xorg-lite.inc | 6 +
.../xorg-xserver/xserver-xorg-lite_1.11.1.bb | 4 +
.../recipes-graphics/xorg-xserver/xserver-xorg.inc | 13 +
.../xorg-xserver/xserver-xorg_1.11.1.bb | 4 +
103 files changed, 792 insertions(+), 2192 deletions(-)
create mode 100644 meta/classes/glx-use-tls.bbclass
create mode 100644 meta/recipes-graphics/mesa/mesa-7.11.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb
delete mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb
create mode 100644 meta/recipes-graphics/mesa/mesa-dri.inc
delete mode 100644 meta/recipes-graphics/mesa/mesa-dri/cross2.patch
delete mode 100644 meta/recipes-graphics/mesa/mesa-dri/crossfix.patch
delete mode 100644 meta/recipes-graphics/mesa/mesa-dri/i586/matypes.h
delete mode 100644 meta/recipes-graphics/mesa/mesa-dri_7.10.2.bb
create mode 100644 meta/recipes-graphics/mesa/mesa-dri_7.11.bb
delete mode 100644 meta/recipes-graphics/mesa/mesa-dri_git.bb
create mode 100644 meta/recipes-graphics/mesa/mesa-xlib.inc
delete mode 100644 meta/recipes-graphics/mesa/mesa-xlib_7.10.2.bb
create mode 100644 meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
rename meta/recipes-graphics/mesa/{mesa-dri => mesa}/uclibc.patch (100%)
create mode 100644 meta/recipes-graphics/xorg-app/rgb_1.0.4.bb
create mode 100644 meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0004-Attempt-to-fix-VRFB.patch
rename meta/recipes-graphics/xorg-driver/{xf86-driver-common.inc => xorg-driver-common.inc} (66%)
rename meta/recipes-graphics/xorg-driver/{xf86-input-common.inc => xorg-driver-input.inc} (81%)
rename meta/recipes-graphics/xorg-driver/{xf86-video-common.inc => xorg-driver-video.inc} (65%)
create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.4.4/keysymdef_include.patch
create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.4.4/x11_disable_makekeys.patch
rename meta/recipes-graphics/xorg-lib/{libx11 => libx11-diet-1.3}/X18NCMSstubs.diff (100%)
rename meta/recipes-graphics/xorg-lib/{libx11-git => libx11-diet-1.3}/fix-disable-xlocale.diff (100%)
rename meta/recipes-graphics/xorg-lib/{libx11-git => libx11-diet-1.3}/fix-utf8-wrong-define.patch (100%)
rename meta/recipes-graphics/xorg-lib/{libx11-git => libx11-diet-1.3}/include_fix.patch (100%)
rename meta/recipes-graphics/xorg-lib/{libx11-git => libx11-diet-1.3}/nodolt.patch (100%)
rename meta/recipes-graphics/xorg-lib/{libx11-trim => libx11-diet-1.3}/x11_disable_makekeys.patch (100%)
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-diet_git.bb
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-git/X18NCMSstubs.diff
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-git/x11_disable_makekeys.patch
rename meta/recipes-graphics/xorg-lib/{libx11-1.3.4 => libx11-trim-1.3.4}/include_fix.patch (100%)
rename meta/recipes-graphics/xorg-lib/{libx11-1.3.4 => libx11-trim-1.3.4}/makekeys_crosscompile.patch (100%)
rename meta/recipes-graphics/xorg-lib/{libx11-1.3.4 => libx11-trim-1.3.4}/nodolt.patch (100%)
rename meta/recipes-graphics/xorg-lib/{libx11-1.3.4 => libx11-trim-1.3.4}/x11_disable_makekeys.patch (100%)
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim/include_fix.patch
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim/nodolt.patch
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim_git.bb
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11/fix-disable-xlocale.diff
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11/fix-utf8-wrong-define.patch
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11/include_fix.patch
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11/nodolt.patch
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11/x11_disable_makekeys.patch
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb
create mode 100644 meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11_git.bb
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11_git.inc
delete mode 100644 meta/recipes-graphics/xorg-xserver/files/macro_tweak.patch
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive/disable-apm.patch
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive/disable-xf86-dga-xorgcfg.patch
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive/extra-kmodes.patch
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive/fbdev_xrandr_ioctl.patch
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive/no-serial-probing.patch
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite.inc
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/cache-xkbcomp-output-for-fast-start-up.patch
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/fix_macros1.patch
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/fix_open_max_preprocessor_error.patch
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/macro_tweak.patch
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_git.bb
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite.inc
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite/crosscompile.patch
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.10.1.bb
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.1.inc
rename meta/recipes-graphics/xorg-xserver/{xserver-xf86-dri-lite => xserver-xorg-1.11.1}/crosscompile.patch (100%)
rename meta/recipes-graphics/xorg-xserver/{xserver-xf86-lite => xserver-xorg-1.11.1}/fix_open_max_preprocessor_error.patch (100%)
rename meta/recipes-graphics/xorg-xserver/{xserver-xf86-lite => xserver-xorg-1.11.1}/macro_tweak.patch (74%)
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg-lite.inc
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg-lite_1.11.1.bb
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.1.bbSignature · 1 line
1.7.7
PATCH v2 1/30 libxft, libxrender, renderproto: add native BBCLASSEXTEND
From: Martin Jansa <[email protected]>
--- meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb | 2 ++ meta/recipes-graphics/xorg-lib/libxrender_0.9.6.bb | 2 +- .../xorg-proto/renderproto_0.11.1.bb | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-)
meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb +2 -0
@@ -23,6 +23,8 @@ PE = "1" XORG_PN = "libXft" +BBCLASSEXTEND = "native nativesdk" + python () { if bb.data.getVar('DEBIAN_NAMES', d, 1): bb.data.setVar('PKG_${PN}', '${MLPREFIX}libxft2', d)
meta/recipes-graphics/xorg-lib/libxrender_0.9.6.bb +1 -1
@@ -18,7 +18,7 @@ PE = "1" XORG_PN = "libXrender" -BBCLASSEXTEND = "nativesdk" +BBCLASSEXTEND = "native nativesdk" SRC_URI[md5sum] = "3b3b7d076c2384b6c600c0b5f4ba971f" SRC_URI[sha256sum] = "7f58b1e263109e0a873eef8423aa14733a5499befbe645053aa622ed1f3ea668"
meta/recipes-graphics/xorg-proto/renderproto_0.11.1.bb +1 -1
@@ -14,7 +14,7 @@ CONFLICTS = "renderext" PR = "r0" PE = "1" -BBCLASSEXTEND = "nativesdk" +BBCLASSEXTEND = "native nativesdk" SRC_URI[md5sum] = "a914ccc1de66ddeb4b611c6b0686e274" SRC_URI[sha256sum] = "06735a5b92b20759204e4751ecd6064a2ad8a6246bb65b3078b862a00def2537"
Signature · 1 line
1.7.7
PATCH v2 2/30 xorg-app-common: merge some changes from meta-oe
From: Martin Jansa <[email protected]>
* use BPN directly instead of XORG_PN
* fix depends
* fix packaging
* add INC_PR (used by recipes in meta-oe now, but should be used here too)
--- meta/recipes-graphics/xorg-app/xorg-app-common.inc | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-graphics/xorg-app/xorg-app-common.inc +5 -5
@@ -3,14 +3,14 @@ HOMEPAGE = "http://www.x.org/" BUGTRACKER = "https://bugs.freedesktop.org" SECTION = "x11/apps" LICENSE = "MIT-X" -DEPENDS = "util-macros virtual/libx11" +DEPENDS = "util-macros-native virtual/libx11" -XORG_PN = "${BPN}" +INC_PR = "r5" -SRC_URI = "${XORG_MIRROR}/individual/app/${XORG_PN}-${PV}.tar.bz2" +SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.bz2" -S = "${WORKDIR}/${XORG_PN}-${PV}" +S = "${WORKDIR}/${BPN}-${PV}" inherit autotools pkgconfig -FILES_${PN} += " /usr/lib/X11/${XORG_PN}" +FILES_${PN} += " /usr/lib/X11/${BPN} /usr/share/X11/app-defaults/"
Signature · 1 line
1.7.7
PATCH v2 3/30 xorg-driver: rename .inc files and merge some changes from meta-oe
In reply to Martin JansaFrom: Martin Jansa <[email protected]>
* use INC_PR
* use BPN directly instead of XORG_PN
---
.../xorg-driver/xf86-input-evdev_2.6.0.bb | 4 ++--
.../xorg-driver/xf86-input-keyboard_1.6.0.bb | 4 ++--
.../xorg-driver/xf86-input-keyboard_git.bb | 3 ++-
.../xorg-driver/xf86-input-mouse_1.7.0.bb | 4 +++-
.../xorg-driver/xf86-input-mouse_git.bb | 4 ++--
.../xorg-driver/xf86-input-synaptics_1.4.0.bb | 4 +++-
.../xorg-driver/xf86-input-synaptics_git.bb | 3 ++-
.../xorg-driver/xf86-input-vmmouse_12.7.0.bb | 4 ++--
.../xorg-driver/xf86-video-intel_2.15.0.bb | 4 ++--
.../xorg-driver/xf86-video-intel_git.bb | 4 ++--
.../xorg-driver/xf86-video-omapfb_git.bb | 4 ++--
.../xorg-driver/xf86-video-vesa_2.3.0.bb | 4 +++-
.../xorg-driver/xf86-video-vmware_11.0.3.bb | 4 ++--
...86-driver-common.inc => xorg-driver-common.inc} | 14 +++++++-------
...xf86-input-common.inc => xorg-driver-input.inc} | 3 +--
...xf86-video-common.inc => xorg-driver-video.inc} | 2 +-
16 files changed, 38 insertions(+), 31 deletions(-)
rename meta/recipes-graphics/xorg-driver/{xf86-driver-common.inc => xorg-driver-common.inc} (66%)
rename meta/recipes-graphics/xorg-driver/{xf86-input-common.inc => xorg-driver-input.inc} (81%)
rename meta/recipes-graphics/xorg-driver/{xf86-video-common.inc => xorg-driver-video.inc} (65%)meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.6.0.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- event devices (evdev) input driver"
@@ -14,7 +14,7 @@ xorg.conf for each input device that will use this driver. " LIC_FILES_CHKSUM = "file://COPYING;md5=fefe33b1cf0cacba0e72e3b0fa0f0e16" -PR = "r0" +PR = "${INC_PR}.0" SRC_URI[md5sum] = "f33fe9413bde68936d8909206a13e8a1" SRC_URI[sha256sum] = "b0e7f3991a8183a4743196c3e16d7184d439b80bf43653aa2f45b0756a6753ac"
meta/recipes-graphics/xorg-driver/xf86-input-keyboard_1.6.0.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- keyboard input driver"
@@ -9,7 +9,7 @@ core keyboard." LIC_FILES_CHKSUM = "file://COPYING;md5=ea2099d24ac9e316a6d4b9f20b3d4e10" -PR = "r0" +PR = "${INC_PR}.0" SRC_URI[md5sum] = "e2abe9f13e526a73cb68a7d257546eba" SRC_URI[sha256sum] = "c46c790fec905d696573b7a374b10ab8b4389112a8f69993fe011006c99e858e"
meta/recipes-graphics/xorg-driver/xf86-input-keyboard_git.bb +2 -1
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- keyboard input driver"
@@ -9,6 +9,7 @@ core keyboard." SRCREV = "3e28d68b50d291938734e9684b8296ca864f3892" PV = "1.3.2+git${SRCPV}" +PR = "${INC_PR}.0" SRC_URI = "git://anongit.freedesktop.org/git/xorg/driver/xf86-input-keyboard;protocol=git" S = "${WORKDIR}/git"
meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.7.0.bb +3 -1
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- mouse input driver"
@@ -10,5 +10,7 @@ driver." LIC_FILES_CHKSUM = "file://COPYING;md5=237eb1d1a602d29ef2af62d8fba60f19" +PR = "${INC_PR}.0" + SRC_URI[md5sum] = "7f31472689c15b6de62eff04d0fb57d7" SRC_URI[sha256sum] = "4e989542b5e9e0c5f9087288b18e70de1064dd27c83a4bc6dce58f3ea9d74994"
meta/recipes-graphics/xorg-driver/xf86-input-mouse_git.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- mouse input driver"
@@ -10,7 +10,7 @@ driver." SRCREV = "ea5cfe804e112f320f14ad896c7802d53551d3e6" PV = "1.3.0+git${SRCPV}" -PR = "r2" +PR = "${INC_PR}.0" SRC_URI = "git://anongit.freedesktop.org/git/xorg/driver/xf86-input-mouse;protocol=git \ file://unbreak.patch"
meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.4.0.bb +3 -1
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- synaptics touchpad input driver"
@@ -10,6 +10,8 @@ advanced features of the touchpad to become available." LIC_FILES_CHKSUM = "file://COPYING;md5=e395e21f3c21d4fc3a243783e85e9ab5" +PR = "${INC_PR}.0" + DEPENDS += "libxi" #
meta/recipes-graphics/xorg-driver/xf86-input-synaptics_git.bb +2 -1
@@ -1,4 +1,4 @@ -require xf86-input-common.inc +require xorg-driver-input.inc SUMMARY = "X.Org X server -- synaptics touchpad input driver"
@@ -10,6 +10,7 @@ advanced features of the touchpad to become available." SRCREV = "934bc0012f948c52aadc8eda912f7728fb7394a2" PV = "0.15.2+git${SRCPV}" +PR = "${INC_PR}.0" SRC_URI = "git://anongit.freedesktop.org/git/xorg/driver/xf86-input-synaptics;protocol=git" S = "${WORKDIR}/git"
meta/recipes-graphics/xorg-driver/xf86-input-vmmouse_12.7.0.bb +2 -2
@@ -1,7 +1,7 @@ -require xf86-input-common.inc +require xorg-driver-input.inc DESCRIPTION = "X.Org X server -- VMWare mouse input driver" -PR = "r0" +PR = "${INC_PR}.0" RDEPENDS_${PN} += "xf86-input-mouse"
meta/recipes-graphics/xorg-driver/xf86-video-intel_2.15.0.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-video-common.inc +require xorg-driver-video.inc SUMMARY = "X.Org X server -- Intel integrated graphics chipsets driver"
@@ -9,7 +9,7 @@ Infrastructure (DRI)." LIC_FILES_CHKSUM = "file://COPYING;md5=8730ad58d11c7bbad9a7066d69f7808e" -PR = "r0" +PR = "${INC_PR}.0" EXTRA_OECONF += "--disable-xvmc"
meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-video-common.inc +require xorg-driver-video.inc SUMMARY = "X.Org X server -- Intel integrated graphics chipsets driver"
@@ -12,7 +12,7 @@ DEPENDS += "virtual/libx11 libxvmc drm dri2proto glproto \ SRCREV = "87ea531c5dc5b39809395b277c330854aaaaf019" PV = "2.10.0+git${SRCPV}" -PR = "r0" +PR = "${INC_PR}.0" EXTRA_OECONF += "--disable-xvmc --enable-dri --disable-static"
meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-driver-common.inc +require xorg-driver-driver.inc SUMMARY = "X.Org X server -- Texas Instruments OMAP framebuffer driver"
@@ -11,7 +11,7 @@ DEPENDS += "virtual/libx11" SRCREV = "044617665d6737f4909aab96f91b06261dff05d2" PE = "1" -PR = "r1" +PR = "${INC_PR}.0" PV = "0.1.1+git${SRCPV}" SRC_URI = "git://git.pingu.fi/xf86-video-omapfb.git;protocol=http \
meta/recipes-graphics/xorg-driver/xf86-video-vesa_2.3.0.bb +3 -1
@@ -1,4 +1,4 @@ -require xf86-video-common.inc +require xorg-driver-video.inc LIC_FILES_CHKSUM = "file://COPYING;md5=e5418e7a75e21268637984e70265e146"
@@ -11,6 +11,8 @@ can drive most VESA-compatible video cards, but only makes use of the \ basic standard VESA core that is common to these cards. The driver \ supports depths 8, 15 16 and 24." +PR = "${INC_PR}.0" + DEPENDS += "virtual/libx11 libxvmc drm xf86driproto glproto \ virtual/libgl xineramaproto xf86driproto libpciaccess"
meta/recipes-graphics/xorg-driver/xf86-video-vmware_11.0.3.bb +2 -2
@@ -1,4 +1,4 @@ -require xf86-video-common.inc +require xorg-driver-video.inc SUMMARY = "X.Org X server -- VMware SVGA display driver"
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5fcd7d437a959a15fbee8707747c6b53" DEPENDS += "virtual/libx11 libxvmc drm glproto \ virtual/libgl xineramaproto libpciaccess" -PR = "r0" +PR = "${INC_PR}.0" COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc renamed from meta/recipes-graphics/xorg-driver/xf86-driver-common.inc +7 -7
@@ -5,14 +5,13 @@ SECTION = "x11/drivers" LICENSE = "MIT-X" PE = "1" -PR = "r1" +INC_PR = "r15" DEPENDS = "virtual/xserver-xf86 xproto randrproto util-macros" -XORG_PN = "${BPN}" -SRC_URI = "${XORG_MIRROR}/individual/driver/${XORG_PN}-${PV}.tar.bz2" +SRC_URI = "${XORG_MIRROR}/individual/driver/${BPN}-${PV}.tar.bz2" -S = "${WORKDIR}/${XORG_PN}-${PV}" +S = "${WORKDIR}/${BPN}-${PV}" FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so" FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug"
@@ -27,7 +26,8 @@ do_configure_prepend () { mv configure.ac.new configure.ac } -do_install_append () { - # driver's la files are not packaged - rm -f ${D}${libdir}/xorg/modules/drivers/*.la +# FIXME: We don't want to include the libtool archives (*.la) from modules +# directory, as they serve no useful purpose. Upstream should fix Makefile.am +do_install_append() { + find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- }
meta/recipes-graphics/xorg-driver/xorg-driver-input.inc renamed from meta/recipes-graphics/xorg-driver/xf86-input-common.inc +1 -2
@@ -1,7 +1,6 @@ -include xf86-driver-common.inc +include xorg-driver-common.inc DEPENDS += "inputproto kbproto " FILES_${PN} += " ${libdir}/xorg/modules/input/*.so" FILES_${PN}-dbg += " ${libdir}/xorg/modules/input/.debug" -
meta/recipes-graphics/xorg-driver/xorg-driver-video.inc renamed from meta/recipes-graphics/xorg-driver/xf86-video-common.inc +1 -1
@@ -1,4 +1,4 @@ -include xf86-driver-common.inc +include xorg-driver-common.inc DEPENDS =+ "renderproto videoproto xextproto fontsproto"
Signature · 1 line
1.7.7
PATCH v2 4/30 xf86-video-omapfb: bump SRCREV and add patch from meta-oe
In reply to Martin JansaFrom: Martin Jansa <[email protected]>
--- .../0004-Attempt-to-fix-VRFB.patch | 325 ++++++++++++++++++++ .../xorg-driver/xf86-video-omapfb_git.bb | 20 +- 2 files changed, 335 insertions(+), 10 deletions(-) create mode 100644 meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0004-Attempt-to-fix-VRFB.patch
meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0004-Attempt-to-fix-VRFB.patch new file +325 -0
@@ -0,0 +1,325 @@ +From 9f034f7a83751e4d1bbff6dd742d54bd96d38230 Mon Sep 17 00:00:00 2001 +From: Eino-Ville Talvala <[email protected]> +Date: Tue, 23 Aug 2011 18:37:01 +0200 +Subject: [PATCH] Attempt to fix VRFB + +Upstream-Status: Pending + +http://dominion.thruhere.net/git/cgit.cgi/xf86-video-omapfb/commit/?h=koen/fixups&id=6833fc9f795265e4943d248103fbaf3463b515d6 + +Signed-off-by: Sebastian Krzyszkowiak <[email protected]> + +--- + src/image-format-conversions.c | 4 +- + src/image-format-conversions.h | 2 +- + src/omapfb-driver.c | 28 +++++++++++++-- + src/omapfb-xv-blizzard.c | 1 + + src/omapfb-xv-generic.c | 72 +++++++++++++++++++++++++++++++-------- + src/omapfb-xv.c | 3 ++ + 6 files changed, 88 insertions(+), 22 deletions(-) + +diff --git a/src/image-format-conversions.c b/src/image-format-conversions.c +index dcefa9b..d43427d 100644 +--- a/src/image-format-conversions.c ++++ b/src/image-format-conversions.c +@@ -38,13 +38,13 @@ + #include "image-format-conversions.h" + + /* Basic line-based copy for packed formats */ +-void packed_line_copy(int w, int h, int stride, uint8_t *src, uint8_t *dest) ++void packed_line_copy(int w, int h, int src_stride, int dst_stride, uint8_t *src, uint8_t *dest) + { + int i; + int len = w * 2; + for (i = 0; i < h; i++) + { +- memcpy(dest + i * len, src + i * stride, len); ++ memcpy(dest + i * dst_stride, src + i * src_stride, len); + } + } + +diff --git a/src/image-format-conversions.h b/src/image-format-conversions.h +index 584896a..ba7caf2 100644 +--- a/src/image-format-conversions.h ++++ b/src/image-format-conversions.h +@@ -27,7 +27,7 @@ + #include <stdint.h> + + /* Basic line-based copy for packed formats */ +-void packed_line_copy(int w, int h, int stride, uint8_t *src, uint8_t *dest); ++void packed_line_copy(int w, int h, int src_stride, int dst_stride, uint8_t *src, uint8_t *dest); + + /* Basic C implementation of YV12/I420 to UYVY conversion */ + void uv12_to_uyvy(int w, int h, int y_pitch, int uv_pitch, uint8_t *y_p, uint8_t *u_p, uint8_t *v_p, uint8_t *dest); +diff --git a/src/omapfb-driver.c b/src/omapfb-driver.c +index 48aa09c..07989f5 100644 +--- a/src/omapfb-driver.c ++++ b/src/omapfb-driver.c +@@ -66,6 +66,7 @@ + #define OMAPFB_VERSION 1000 + #define OMAPFB_DRIVER_NAME "OMAPFB" + #define OMAPFB_NAME "omapfb" ++#define ENFORCE_MODES + + static Bool OMAPFBProbe(DriverPtr drv, int flags); + static Bool OMAPFBPreInit(ScrnInfoPtr pScrn, int flags); +@@ -105,11 +106,13 @@ static SymTabRec OMAPFBChipsets[] = { + typedef enum { + OPTION_ACCELMETHOD, + OPTION_FB, ++ OPTION_ROTATE, + } FBDevOpts; + + static const OptionInfoRec OMAPFBOptions[] = { + { OPTION_ACCELMETHOD, "AccelMethod", OPTV_STRING, {0}, FALSE }, + { OPTION_FB, "fb", OPTV_STRING, {0}, FALSE }, ++ { OPTION_ROTATE, "rotation", OPTV_STRING, {0}, FALSE }, + { -1, NULL, OPTV_NONE, {0}, FALSE } + }; + +@@ -286,6 +289,7 @@ OMAPFBPreInit(ScrnInfoPtr pScrn, int flags) + { + OMAPFBPtr ofb; + EntityInfoPtr pEnt; ++ char *rotate; + rgb zeros = { 0, 0, 0 }; + struct stat st; + +@@ -379,6 +383,8 @@ OMAPFBPreInit(ScrnInfoPtr pScrn, int flags) + pScrn->progClock = TRUE; + pScrn->chipset = "omapfb"; + ++ xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Rotate test version 0.02\n"); ++ + /* Start with configured virtual size */ + pScrn->virtualX = pScrn->display->virtualX; + pScrn->virtualY = pScrn->display->virtualY; +@@ -496,12 +502,21 @@ OMAPFBScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) + ofb->CloseScreen = pScreen->CloseScreen; + pScreen->CloseScreen = OMAPFBCloseScreen; + ++ /* Enforce the default mode (this is silly I guess) */ ++#ifdef ENFORCE_MODES ++ //xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Enforcing modes\n"); ++ //set_mode(ofb, &ofb->default_mode); ++ //pScrn->displayWidth = ofb->fixed_info.line_length / ++ // (ofb->state_info.bits_per_pixel>>3); //ofb->state_info.xres; ++#endif ++ + /* Map our framebuffer memory */ ++ ofb->mem_info.size = ofb->fixed_info.line_length * ofb->state_info.yres; + ofb->fb = mmap (NULL, ofb->mem_info.size, + PROT_READ | PROT_WRITE, MAP_SHARED, + ofb->fd, 0); +- if (ofb->fb == NULL) { +- xf86DrvMsg(scrnIndex, X_ERROR, "Mapping framebuffer memory failed\n"); ++ if (ofb->fb == MAP_FAILED) { ++ xf86DrvMsg(scrnIndex, X_ERROR, "Mapping framebuffer memory failed, wanted %d bytes.\n", ofb->mem_info.size); + return FALSE; + } + +@@ -578,8 +593,13 @@ OMAPFBScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) + } else if (!ofb->dss) { + + ofb->plane_info.enabled = 1; +- ofb->plane_info.out_width = ofb->state_info.xres; +- ofb->plane_info.out_height = ofb->state_info.yres; ++ if (ofb->state_info.rotate == 0 || ofb->state_info.rotate == 2) { ++ ofb->plane_info.out_width = ofb->state_info.xres; ++ ofb->plane_info.out_height = ofb->state_info.yres; ++ } else { ++ ofb->plane_info.out_width = ofb->state_info.yres; ++ ofb->plane_info.out_height = ofb->state_info.xres; ++ } + + if (ioctl (ofb->fd, OMAPFB_SETUP_PLANE, &ofb->plane_info)) { + xf86DrvMsg(scrnIndex, X_ERROR, +diff --git a/src/omapfb-xv-blizzard.c b/src/omapfb-xv-blizzard.c +index 406ffc6..b71d2aa 100644 +--- a/src/omapfb-xv-blizzard.c ++++ b/src/omapfb-xv-blizzard.c +@@ -220,6 +220,7 @@ int OMAPFBXVPutImageBlizzard (ScrnInfoPtr pScrn, + packed_line_copy(src_w & ~3, + src_h & ~3, + ((src_w + 1) & ~1) * 2, ++ ofb->port->fixed_info.line_length, + (uint8_t*)buf, + (uint8_t*)ofb->port->fb); + break; +diff --git a/src/omapfb-xv-generic.c b/src/omapfb-xv-generic.c +index e6f89fe..b33f344 100644 +--- a/src/omapfb-xv-generic.c ++++ b/src/omapfb-xv-generic.c +@@ -62,7 +62,7 @@ int OMAPXVAllocPlane(ScrnInfoPtr pScrn) + { + OMAPFBPtr ofb = OMAPFB(pScrn); + +- /* The memory size is already set in OMAPFBXVQueryImageAttributes */ ++ /* The memory size is already set before we get here */ + if (ioctl(ofb->port->fd, OMAPFB_SETUP_MEM, &ofb->port->mem_info) != 0) { + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, + "Failed to allocate video plane memory\n"); +@@ -73,19 +73,20 @@ int OMAPXVAllocPlane(ScrnInfoPtr pScrn) + ofb->port->fb = mmap (NULL, ofb->port->mem_info.size, + PROT_READ | PROT_WRITE, MAP_SHARED, + ofb->port->fd, 0); +- if (ofb->port->fb == NULL) { ++ if (ofb->port->fb == MAP_FAILED) { + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, + "Mapping video memory failed\n"); + return XvBadAlloc; + } + + /* Update the state info */ ++ /* Let's not - it's bad + if (ioctl (ofb->port->fd, FBIOGET_VSCREENINFO, &ofb->port->state_info)) + { + xf86Msg(X_ERROR, "%s: Reading state info failed\n", __FUNCTION__); + return XvBadAlloc; + } +- ++ */ + return Success; + } + +@@ -93,6 +94,7 @@ int OMAPXVAllocPlane(ScrnInfoPtr pScrn) + int OMAPXVSetupVideoPlane(ScrnInfoPtr pScrn) + { + OMAPFBPtr ofb = OMAPFB(pScrn); ++ int ret; + + if (ioctl (ofb->port->fd, FBIOPUT_VSCREENINFO, &ofb->port->state_info)) + { +@@ -104,6 +106,31 @@ int OMAPXVSetupVideoPlane(ScrnInfoPtr pScrn) + xf86Msg(X_ERROR, "%s: Reading state info failed\n", __FUNCTION__); + return XvBadAlloc; + } ++ /* Changing rotation/nonstd flags can change the fixed info! */ ++ if (ioctl (ofb->port->fd, FBIOGET_FSCREENINFO, &ofb->port->fixed_info)) ++ { ++ xf86Msg(X_ERROR, "%s: Reading state info failed\n", __FUNCTION__); ++ return XvBadAlloc; ++ } ++ /* Correct fixed info requires recalculation of needed memory */ ++ ofb->port->mem_info.size = ofb->port->fixed_info.line_length * ofb->port->state_info.yres; ++ ++ /* Allocate buffer memory */ ++ ret = OMAPXVAllocPlane(pScrn); ++ if (ret != Success) ++ return ret; ++ ++ /* Workaround for reset of mode after memory allo */ ++ if (ioctl (ofb->port->fd, FBIOPUT_VSCREENINFO, &ofb->port->state_info)) ++ { ++ xf86Msg(X_ERROR, "%s: setting state info failed\n", __FUNCTION__); ++ return XvBadAlloc; ++ } ++ if (ioctl (ofb->port->fd, FBIOGET_VSCREENINFO, &ofb->port->state_info)) ++ { ++ xf86Msg(X_ERROR, "%s: Reading state info failed\n", __FUNCTION__); ++ return XvBadAlloc; ++ } + + if(ioctl(ofb->port->fd, OMAPFB_SETUP_PLANE, + &ofb->port->plane_info) != 0) { +@@ -124,6 +151,8 @@ int OMAPFBXVPutImageGeneric (ScrnInfoPtr pScrn, + DrawablePtr pDraw) + { + OMAPFBPtr ofb = OMAPFB(pScrn); ++ short drw_temp; ++ short rot_xres, rot_yres; + + if (!ofb->port->plane_info.enabled + || ofb->port->update_window.x != src_x +@@ -163,13 +192,6 @@ int OMAPFBXVPutImageGeneric (ScrnInfoPtr pScrn, + return Success; + } + +- /* If we don't have the plane running, enable it */ +- if (!ofb->port->plane_info.enabled) { +- ret = OMAPXVAllocPlane(pScrn); +- if (ret != Success) +- return ret; +- } +- + /* Set up the state info, xres and yres will be used for + * scaling to the values in the plane info struct + */ +@@ -179,12 +201,31 @@ int OMAPFBXVPutImageGeneric (ScrnInfoPtr pScrn, + ofb->port->state_info.yres_virtual = 0; + ofb->port->state_info.xoffset = 0; + ofb->port->state_info.yoffset = 0; +- ofb->port->state_info.rotate = 0; ++ //ofb->port->state_info.rotate = 0; + ofb->port->state_info.grayscale = 0; + ofb->port->state_info.activate = FB_ACTIVATE_NOW; + ofb->port->state_info.bits_per_pixel = 0; + ofb->port->state_info.nonstd = xv_to_omapfb_format(image); + ++ /* Plane info does not rotate with state_info */ ++ if (ofb->port->state_info.rotate == 1 || ++ ofb->port->state_info.rotate == 3) { ++ drw_temp = drw_x; ++ drw_x = drw_y; ++ drw_y = drw_temp; ++ ++ drw_temp = drw_w; ++ drw_w = drw_h; ++ drw_h = drw_temp; ++ ++ rot_xres = ofb->port->state_info.yres; ++ rot_yres = ofb->port->state_info.xres; ++ } else { ++ rot_xres = ofb->port->state_info.xres; ++ rot_yres = ofb->port->state_info.yres; ++ } ++ ++ + /* Set up the video plane info */ + ofb->port->plane_info.enabled = 1; + ofb->port->plane_info.pos_x = drw_x; +@@ -193,13 +234,13 @@ int OMAPFBXVPutImageGeneric (ScrnInfoPtr pScrn, + ofb->port->plane_info.out_height = drw_h & ~15; + + /* Cap output to screen size */ +- if (ofb->port->plane_info.out_width > ofb->state_info.xres) { ++ if (ofb->port->plane_info.out_width > rot_xres) { + ofb->port->plane_info.pos_x = 0; +- ofb->port->plane_info.out_width = ofb->state_info.xres; ++ ofb->port->plane_info.out_width = rot_xres; + } +- if (ofb->port->plane_info.out_height > ofb->state_info.yres) { ++ if (ofb->port->plane_info.out_height > rot_yres) { + ofb->port->plane_info.pos_y = 0; +- ofb->port->plane_info.out_height = ofb->state_info.yres; ++ ofb->port->plane_info.out_height = rot_yres; + } + + ret = OMAPXVSetupVideoPlane(pScrn); +@@ -223,6 +264,7 @@ int OMAPFBXVPutImageGeneric (ScrnInfoPtr pScrn, + packed_line_copy(src_w & ~15, + src_h & ~15, + ((src_w + 1) & ~1) * 2, ++ ofb->port->fixed_info.line_length, + (uint8_t*)buf, + (uint8_t*)ofb->port->fb); + break; +diff --git a/src/omapfb-xv.c b/src/omapfb-xv.c +index 1df651e..0fee2c6 100644 +--- a/src/omapfb-xv.c ++++ b/src/omapfb-xv.c +@@ -169,8 +169,11 @@ static int OMAPFBXVQueryImageAttributes (ScrnInfoPtr pScrn, + h = *height; + + w = (w + 1) & ~1; ++ ++ /* Can't calculate these here - don't know line length + ofb->port->mem_info.size = w << 1; + ofb->port->mem_info.size *= h; ++ */ + + return size; + } +-- +1.7.5.4 +
meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb +10 -10
@@ -1,25 +1,25 @@ -require xorg-driver-driver.inc +require xorg-driver-video.inc SUMMARY = "X.Org X server -- Texas Instruments OMAP framebuffer driver" DESCRIPTION = "omapfb driver supports the basic Texas Instruments OMAP \ framebuffer." -LICENSE = "MIT-X" -LIC_FILES_CHKSUM = "file://src/omapfb-driver.c;beginline=1;endline=30;md5=a44c2a37e04d1c2c5f0313afb493f833" +LICENSE = "MIT-X & GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=63e2cbac53863f60e2f43343fb34367f" DEPENDS += "virtual/libx11" -SRCREV = "044617665d6737f4909aab96f91b06261dff05d2" -PE = "1" -PR = "${INC_PR}.0" -PV = "0.1.1+git${SRCPV}" +SRCREV = "28c006c94e57ea71df11ec4fff79d7ffcfc4860f" +PR = "${INC_PR}.5" +PV = "0.1.1+gitr${SRCPV}" -SRC_URI = "git://git.pingu.fi/xf86-video-omapfb.git;protocol=http \ +SRC_URI = "git://git.pingu.fi/xf86-video-omapfb;protocol=http \ file://omap-revert-set-CRTC-limit.patch \ file://omap-revert-set-virtual-size.patch \ file://omap-force-plain-mode.patch \ file://omap-blacklist-tv-out.patch \ - " + file://0004-Attempt-to-fix-VRFB.patch \ +" S = "${WORKDIR}/git"
@@ -28,5 +28,5 @@ CFLAGS += " -I${STAGING_INCDIR}/xorg " # Use overlay 2 on omap3 to enable other apps to use overlay 1 (e.g. dmai or omapfbplay) do_compile_prepend_armv7a () { - sed -i -e s:fb1:fb2:g ${S}/src/omapfb-xv.c + sed -i -e s:fb1:fb2:g ${S}/src/omapfb-xv.c }
Signature · 1 line
1.7.7
Re: [PATCHv2 04/30] xf86-video-omapfb: bump SRCREV and add patch from meta-oe
Quoted 6 lines · Martin Jansa
From: Martin Jansa <[email protected]>
Signed-off-by Martin Jansa <[email protected]>Signed-off-by Richard Purdie <[email protected]>Signed-off-by Martin Jansa <[email protected]>---
This is a bit of a lame checkin message. "Add patch from meta-oe" doesn't really say anything useful about what you're changing, and there is no long comment at all. Also ...
Quoted 13 lines
meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb +1
-1@@ -1,25 +1,25 @@ -require xorg-driver-driver.inc +require xorg-driver-video.incSUMMARY = "X.Org X server -- Texas Instruments OMAP framebuffer driver"
DESCRIPTION = "omapfb driver supports the basic Texas Instruments OMAP \
framebuffer."meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb +2
-2-LICENSE = "MIT-X" -LIC_FILES_CHKSUM = "file://src/omapfb-driver.c;beginline=1;endline=30;md5=a44c2a37e04d1c2c5f0313afb493f833" +LICENSE = "MIT-X & GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=63e2cbac53863f60e2f43343fb34367f"
Quoted 1 line
DEPENDS += "virtual/libx11"
... these changes don't seem to be covered by the description above.
And, finally, if this is an OMAP-specific driver, why is it in oe-core in the first place? I would have thought it would be better placed in meta-ti or some such layer.
p.
Re: [PATCHv2 04/30] xf86-video-omapfb: bump SRCREV and add patch from meta-oe
Quoted 7 lines · Phil Blundell
Quoted 6 lines · Martin Jansa
From: Martin Jansa <[email protected]>
Signed-off-by Martin Jansa <[email protected]>Signed-off-by Richard Purdie <[email protected]>Signed-off-by Martin Jansa <[email protected]>---
Sorry about 3 SOB lines... it's because I had it from oe-core/master-next, but I belive RP will merge master-next first where it's only with his and mine SOB.
Quoted 3 lines
This is a bit of a lame checkin message. "Add patch from meta-oe" doesn't really say anything useful about what you're changing, and there is no long comment at all. Also ...
Rotation didn't work when using VFRB, this patch is fixing that and is from koen upstream repo as patch header says and I cannot probably describe it better then original author.
Quoted 9 lines
Quoted 9 lines
meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb +1
-1@@ -1,25 +1,25 @@ -require xorg-driver-driver.inc +require xorg-driver-video.incSUMMARY = "X.Org X server -- Texas Instruments OMAP framebuffer driver"
DESCRIPTION = "omapfb driver supports the basic Texas Instruments OMAP \
framebuffer."
Quoted 7 lines
Quoted 5 lines
meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb +2
-2-LICENSE = "MIT-X" -LIC_FILES_CHKSUM = "file://src/omapfb-driver.c;beginline=1;endline=30;md5=a44c2a37e04d1c2c5f0313afb493f833" +LICENSE = "MIT-X & GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=63e2cbac53863f60e2f43343fb34367f"DEPENDS += "virtual/libx11"
... these changes don't seem to be covered by the description above.
because COPYING file wasn't available in SRCREV used in old oe-core version.. so this change is just simplification and improving license metadata, because original MIT-X src/omapfb-driver.c doesn't cover what was explained in COPYING file:
The src/omapfb.h header is under the GPL license.
Quoted 3 lines
And, finally, if this is an OMAP-specific driver, why is it in oe-core in the first place? I would have thought it would be better placed in meta-ti or some such layer.
We've discussed it on oe-devel ML already
http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-September/034781.html
now we have very similar recipes in oe-core and meta-oe which is imho worst case.. I'm fine with dropping it from oe-core and keeping it in meta-oe, but I would prefer to keep it in meta-oe ie because nokia900.conf is maintained in meta-smartphone layer and I don't want to add meta-ti as dependency just because this one recipe.
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCHv2 04/30] xf86-video-omapfb: bump SRCREV and add patch from meta-oe
Quoted 7 lines · Martin Jansa
Quoted 3 lines · Phil Blundell
And, finally, if this is an OMAP-specific driver, why is it in oe-core in the first place? I would have thought it would be better placed in meta-ti or some such layer.
We've discussed it on oe-devel ML already
http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-September/034781.html
Is it testable in oe-core? If not then I don't think it belongs there.
p.
PATCH v2 5/30 libdrm: improve packaging
In reply to Martin JansaFrom: Martin Jansa <[email protected]>
--- meta/recipes-graphics/drm/libdrm.inc | 7 ++++--- meta/recipes-graphics/drm/libdrm_2.4.26.bb | 2 +- meta/recipes-graphics/drm/libdrm_git.bb | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-)
meta/recipes-graphics/drm/libdrm.inc +4 -3
@@ -15,7 +15,8 @@ DEPENDS += " libpciaccess" inherit autotools pkgconfig -PACKAGES =+ "libdrm-tests" -FILES_libdrm-tests = "${bindir}/dr* ${bindir}/mode*" +PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-kms" +FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode*" +FILES_${PN}-drivers = "${libdir}/libdrm_*.so.*" +FILES_${PN}-kms = "${libdir}/libkms*.so.*" -LEAD_SONAME = "libdrm.so"
meta/recipes-graphics/drm/libdrm_2.4.26.bb +1 -1
@@ -7,4 +7,4 @@ SRC_URI += "file://installtests.patch" SRC_URI[md5sum] = "062569426773f69b11a47a7712bba770" SRC_URI[sha256sum] = "b25b06ab5a077736044cbd9a3a05a9a23b873a0887ab1aaf93aa2b3218b2d3dc" -PR = "r0" +PR = "r1"
meta/recipes-graphics/drm/libdrm_git.bb +1 -1
@@ -6,4 +6,4 @@ S = ${WORKDIR}/git SRCREV = "3f3c5be6f908272199ccf53f108b1124bfe0a00e" PV = "2.4.15+git${SRCPV}" -PR = "r0" +PR = "r1"
Signature · 1 line
1.7.7
PATCH v2 6/30 xserver/mesa: Bump PR after libdrm packaging changes
In reply to Martin JansaFrom: Richard Purdie <[email protected]>
--- meta/recipes-graphics/mesa/mesa-dri_7.10.2.bb | 2 +- meta/recipes-graphics/mesa/mesa-dri_git.bb | 2 +- .../xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb | 2 +- .../xorg-xserver/xserver-xf86-dri-lite_git.bb | 2 +- .../xorg-xserver/xserver-xf86-lite_1.10.1.bb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-graphics/mesa/mesa-dri_7.10.2.bb +1 -1
@@ -8,7 +8,7 @@ LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native python-native" -PR = "r1" +PR = "r2" SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ file://crossfix.patch \
meta/recipes-graphics/mesa/mesa-dri_git.bb +1 -1
@@ -13,7 +13,7 @@ DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}" SRCREV = "1bf94d419805538ac23a4d0b04d31ac5e4487aca" PV = "7.7+git${SRCPV}" -PR = "r1" +PR = "r2" # most of our targets do not have DRI so will use mesa-xlib DEFAULT_PREFERENCE = "-1"
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb +1 -1
@@ -7,7 +7,7 @@ PROTO_DEPS += "xf86driproto dri2proto" DEPENDS += "font-util" PE = "1" -PR = "r0" +PR = "r1" SRC_URI += "file://crosscompile.patch"
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_git.bb +1 -1
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00" SRCREV = "6689e8add183835274a70ee013e5d3bc8023681f" PE = "1" -PR = "r0" +PR = "r1" PV = "1.10+git${SRCPV}" PROTO_DEPS += "xf86driproto dri2proto"
meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.10.1.bb +1 -1
@@ -2,7 +2,7 @@ require xserver-xf86-lite.inc LIC_FILES_CHKSUM = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00" -PR = "r0" +PR = "r1" DEPENDS += "font-util"
Signature · 1 line
1.7.7
PATCH v2 7/30 rgb: import from meta-oe layer
In reply to Martin JansaFrom: Martin Jansa <[email protected]>
--- meta/recipes-graphics/xorg-app/rgb_1.0.4.bb | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-graphics/xorg-app/rgb_1.0.4.bb
meta/recipes-graphics/xorg-app/rgb_1.0.4.bb new file +10 -0
@@ -0,0 +1,10 @@ +require xorg-app-common.inc +DEPENDS += " xproto util-macros" +LIC_FILES_CHKSUM = "file://COPYING;md5=ef598adbe241bd0b0b9113831f6e249a" +PE = "1" +PR = "${INC_PR}.0" + +SRC_URI[md5sum] = "35c6cccbf25a872bdd62bfcb1a73d951" +SRC_URI[sha256sum] = "80887da011ad086fff88bfd16c6d9d5ac7da45ef1bc9d0c192a6f370423370f1" + +FILES_${PN} += "${datadir}/X11"
Signature · 1 line
1.7.7
PATCH v2 8/30 xserver-xf86-dri-lite: remove old git recipe
In reply to Martin Jansa--- .../xorg-xserver/xserver-xf86-dri-lite_git.bb | 25 -------------------- 1 files changed, 0 insertions(+), 25 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_git.bb
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_git.bb deleted +0 -25
@@ -1,25 +0,0 @@ -require xserver-xf86-dri-lite.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00" - -SRCREV = "6689e8add183835274a70ee013e5d3bc8023681f" -PE = "1" -PR = "r1" -PV = "1.10+git${SRCPV}" - -PROTO_DEPS += "xf86driproto dri2proto" - -DEPENDS += "font-util" - -RDEPENDS_${PN} += "xkeyboard-config" - -SRC_URI = "git://anongit.freedesktop.org/git/xorg/xserver;protocol=git;branch=master \ - file://crosscompile.patch; \ - file://fix_macros1.patch;" - -# Misc build failure for master HEAD -SRC_URI += "file://fix_open_max_preprocessor_error.patch;" - -EXTRA_OECONF += "--enable-dri --enable-dri2 --enable-dga" - -S = "${WORKDIR}/git"
Signature · 1 line
1.7.7
PATCH v2 9/30 xserver-xf86: improve packaging and move shared definitions to .inc files
In reply to Martin Jansa* introduce DISTRO_XORG_CONFIG_MANAGER for distribution to select hal/udev/files
--- .../xorg-xserver/xserver-xf86-common.inc | 114 +++++++++++++++++--- .../xorg-xserver/xserver-xf86-dri-lite.inc | 35 ++----- .../xorg-xserver/xserver-xf86-lite.inc | 32 +----- 3 files changed, 110 insertions(+), 71 deletions(-)
meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc +101 -13
@@ -2,8 +2,7 @@ DESCRIPTION = "The X.Org X server" HOMEPAGE = "http://www.x.org" SECTION = "x11/base" LICENSE = "MIT-X" - -LIC_FILES_CHKSUM = "file://COPYING;md5=3dd2bbe3563837f80ed8926b06c1c353" +LIC_FILES_CHKSUM = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00" # xf86-*-* packages depend on an X server built with the xfree86 DDX # so we have a virtual to represent that:
@@ -12,26 +11,115 @@ PROVIDES = "virtual/xserver-xf86" # Other packages tend to just care that there is *an* X server: PROVIDES += "virtual/xserver" +# Config manager for xserver, options are: hal, udev, empty (for configuration in xorg.conf) +DISTRO_XORG_CONFIG_MANAGER ?= "udev" + +# default none, enabled by DISTRO_XORG_CONFIG_MANAGER setting +CONFIG_MANAGER_OPTION += "${@['--disable-config-hal','--enable-config-hal',''][bb.data.getVar('DISTRO_XORG_CONFIG_MANAGER',d) in ['hal']]}" +CONFIG_MANAGER_OPTION += "${@['--disable-config-udev','--enable-config-udev',''][bb.data.getVar('DISTRO_XORG_CONFIG_MANAGER',d) in ['udev']]}" + XORG_PN = "xorg-server" SRC_URI = "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${PV}.tar.bz2" +SRC_URI += "file://macro_tweak.patch" S = "${WORKDIR}/${XORG_PN}-${PV}" inherit autotools pkgconfig -PACKAGES =+ "${PN}-utils" +PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86rushproto xf86vidmodeproto xf86bigfontproto compositeproto recordproto resourceproto videoproto scrnsaverproto evieext trapproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto glproto" -RDEPENDS_${PN} += "xserver-xf86-config xkeyboard-config" +LIB_DEPS = "pixman libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl" -FILES_${PN}-utils = "${bindir}/scanpci ${bindir}/pcitweak ${bindir}/ioport ${bindir}/in[bwl] ${bindir}/out[bwl] ${bindir}/mmap[rw] ${bindir}/gtf ${bindir}/getconfig ${bindir}/getconfig.pl" -FILES_${PN} = "${libdir}/X11/Options ${libdir}/X11/Cards ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/xserver/SecurityPolicy ${libdir}/xorg/modules/*.so ${libdir}/xorg/modules/*/*.so ${libdir}/xorg/modules/*/*/*.so /etc/X11 " -FILES_${PN}-doc += "${libdir}/X11/doc ${datadir}/X11/xkb/compiled/README.compiled" +DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} font-util" -FILES_${PN}-dbg += "${libdir}/xorg/modules/.debug \ - ${libdir}/xorg/modules/*/.debug \ - ${libdir}/xorg/modules/*/*/.debug \ - " +EXTRA_OECONF += "--with-fop=no \ + --disable-static \ + --disable-acfb \ + --disable-ccfb \ + --disable-mcfb \ + --disable-dga \ + --disable-xinerama \ + --disable-xf86misc \ + --disable-xorgcfg \ + --disable-record \ + --disable-dmx \ + --disable-xnest \ + --disable-xvfb \ + --enable-composite \ + --sysconfdir=/etc/X11 \ + --localstatedir=/var \ + --with-fontdir=${datadir}/fonts/X11 \ + --with-xkb-output=/var/lib/xkb \ + ${CONFIG_MANAGER_OPTION} \ + ac_cv_file__usr_share_sgml_X11_defs_ent=no \ +" -SRC_URI += "file://macro_tweak.patch" +# Split out some modules and extensions from the main package +# These aren't needed for basic operations and only take up space: +# 32.0k libdri.so +# 336.0k libglx.so +# 1360k libint10.so +# 180.0k libwfb.so +# 320.0k libxaa.so +# 124.0k libxf1bpp.so +# 84.0k libxf4bpp.so +# librecord.so +# libextmod.so +# libdbe.so + +PACKAGES =+ "${PN}-security-policy \ + ${PN}-sdl \ + ${PN}-fbdev \ + ${PN}-xprint \ + ${PN}-xvfb \ + ${PN}-utils \ + ${PN}-xephyr \ + ${PN}-multimedia-modules \ + ${PN}-extension-dri \ + ${PN}-extension-dri2 \ + ${PN}-extension-glx \ + ${PN}-extension-record \ + ${PN}-extension-extmod \ + ${PN}-extension-dbe \ + ${PN}-module-libint10 \ + ${PN}-module-libafb \ + ${PN}-module-libwfb \ + ${PN}-module-libmfb \ + ${PN}-module-libcfb \ + ${PN}-module-xaa \ + ${PN}-module-libxf1bpp \ + ${PN}-module-libxf4bpp" + +RDEPENDS_${PN} += "xorg-minimal-fonts" +RRECOMMENDS_${PN} += "${PN}-security-policy xkeyboard-config rgb xserver-xf86-config" +RDEPENDS_${PN}-xvfb += "xkeyboard-config" -EXTRA_OECONF = "--with-fop=no" +FILES_${PN} = "${bindir} ${libdir}/X11/Options ${libdir}/X11/Cards ${libdir}/X11/getconfig ${libdir}/X11/etc ${libdir}/modules/*.so ${libdir}/xorg/modules/*.so /etc/X11 ${libdir}/xorg/protocol.txt ${datadir}/X11/xorg.conf.d" +FILES_${PN}-dev += "${libdir}/xorg/modules/*.la ${libdir}/xorg/modules/*/*.la" +FILES_${PN}-doc += "${libdir}/X11/doc ${datadir}/X11/xkb/compiled/README.compiled ${localstatedir}/lib/xkb/README.compiled" +FILES_${PN}-dbg += "${libdir}/xorg/modules/.debug \ + ${libdir}/xorg/modules/*/.debug \ + ${libdir}/xorg/modules/*/*/.debug \ + " +FILES_${PN}-security-policy += "${libdir}/xserver/SecurityPolicy" +FILES_${PN}-sdl = "${bindir}/Xsdl" +FILES_${PN}-fbdev = "${bindir}/Xfbdev" +FILES_${PN}-xprint = "${libdir}/X11/xserver/*/print" +FILES_${PN}-xvfb = "${bindir}/Xvfb" +FILES_${PN}-utils = "${bindir}/scanpci ${bindir}/pcitweak ${bindir}/ioport ${bindir}/in[bwl] ${bindir}/out[bwl] ${bindir}/mmap[rw] ${bindir}/gtf ${bindir}/getconfig ${bindir}/getconfig.pl" +FILES_${PN}-xephyr = "${bindir}/Xephyr" +FILES_${PN}-multimedia-modules = "${libdir}/xorg/modules/multimedia/*drv*" +FILES_${PN}-extension-dri = "${libdir}/xorg/modules/extensions/libdri.so" +FILES_${PN}-extension-dri2 = "${libdir}/xorg/modules/extensions/libdri2.so" +FILES_${PN}-extension-glx = "${libdir}/xorg/modules/extensions/libglx.so" +FILES_${PN}-extension-record = "${libdir}/xorg/modules/extensions/librecord.so" +FILES_${PN}-extension-extmod = "${libdir}/xorg/modules/extensions/libextmod.so" +FILES_${PN}-extension-dbe = "${libdir}/xorg/modules/extensions/libdbe.so" +FILES_${PN}-module-libint10 = "${libdir}/xorg/modules/libint10.so" +FILES_${PN}-module-libafb = "${libdir}/xorg/modules/libafb.so" +FILES_${PN}-module-libwfb = "${libdir}/xorg/modules/libwfb.so" +FILES_${PN}-module-libmfb = "${libdir}/xorg/modules/libmfb.so" +FILES_${PN}-module-libcfb = "${libdir}/xorg/modules/libcfb.so" +FILES_${PN}-module-xaa = "${libdir}/xorg/modules/libxaa.so" +FILES_${PN}-module-libxf1bpp = "${libdir}/xorg/modules/libxf1bpp.so" +FILES_${PN}-module-libxf4bpp = "${libdir}/xorg/modules/libxf4bpp.so"
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite.inc +7 -28
@@ -1,37 +1,16 @@ require xserver-xf86-common.inc -PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86rushproto xf86vidmodeproto xf86bigfontproto compositeproto recordproto resourceproto videoproto scrnsaverproto evieext trapproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto glproto" +PROTO_DEPS += "xf86driproto dri2proto" +LIB_DEPS += "virtual/libgl" -LIB_DEPS = "pixman virtual/libgl libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl" +inherit glx-use-tls -DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}" - -RDEPENDS_${PN} += "hal xorg-minimal-fonts" - -FILES_${PN} += "${bindir}/Xorg " - -EXTRA_OECONF += "--disable-static \ - --disable-acfb \ - --disable-ccfb \ - --disable-mcfb \ - --disable-dga \ - --disable-xinerama \ - --disable-xf86misc \ - --disable-xorgcfg \ - --disable-record \ - --disable-dmx \ - --disable-xnest \ - --disable-xvfb \ - --enable-composite \ - --enable-glx-tls \ - --sysconfdir=/etc/X11 \ - --localstatedir=/var \ +EXTRA_OECONF += "\ + --enable-dri \ + --enable-dri2 \ --with-pic \ --with-int10=x86emu \ - --with-fontdir=${datadir}/fonts/X11 \ - --with-xkb-output=/var/lib/xkb \ - ac_cv_file__usr_share_sgml_X11_defs_ent=no" +" # Due to mesa-dri COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' -
meta/recipes-graphics/xorg-xserver/xserver-xf86-lite.inc +2 -30
@@ -1,34 +1,6 @@ require xserver-xf86-common.inc -PROVIDES += "xserver-xf86-lite" - -PROTO_DEPS = "randrproto renderproto fixesproto damageproto xextproto xproto xf86dgaproto xf86miscproto xf86rushproto xf86vidmodeproto xf86bigfontproto compositeproto recordproto resourceproto videoproto scrnsaverproto evieext trapproto xineramaproto fontsproto kbproto inputproto bigreqsproto xcmiscproto glproto" - -LIB_DEPS = "pixman libxfont xtrans libxau libxext libxdmcp libdrm libxkbfile libpciaccess openssl" - -DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}" - -RDEPENDS_${PN} += "hal xorg-minimal-fonts" - -FILES_${PN} += "${bindir}/Xorg " - -EXTRA_OECONF += "--disable-static \ - --disable-acfb \ - --disable-ccfb \ - --disable-mcfb \ - --disable-dga \ - --disable-xinerama \ - --disable-xf86misc \ - --disable-xorgcfg \ - --disable-record \ - --disable-dmx \ - --disable-xnest \ - --disable-xvfb \ - --enable-composite \ +EXTRA_OECONF += "\ --disable-dri \ --disable-glx \ - --sysconfdir=/etc/X11 \ - --localstatedir=/var \ - --with-fontdir=${datadir}/fonts/X11 \ - --with-xkb-output=/var/lib/xkb \ - ac_cv_file__usr_share_sgml_X11_defs_ent=no" +"
Signature · 1 line
1.7.7
PATCH v2 10/30 xserver-xf86: add new version 1.11.1
In reply to Martin Jansa* move shared definitions to .inc file
--- .../xorg-xserver/xserver-xf86-1.11.1.inc | 7 +++++++ .../xorg-xserver/xserver-xf86-dri-lite_1.11.1.bb | 4 ++++ .../xorg-xserver/xserver-xf86-lite_1.11.1.bb | 2 ++ 3 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-1.11.1.inc create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.11.1.bb create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.11.1.bb
meta/recipes-graphics/xorg-xserver/xserver-xf86-1.11.1.inc new file +7 -0
@@ -0,0 +1,7 @@ +SRC_URI += "file://crosscompile.patch" + +# Misc build failure for master HEAD +SRC_URI += "file://fix_open_max_preprocessor_error.patch" + +SRC_URI[md5sum] = "4cdf54dc569b6a5548257c93a45dcd3d" +SRC_URI[sha256sum] = "c069c177d9a80bca2ee1d49aa1af6d9f996c83e4ff12393cab2ca3f8817276f6"
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.11.1.bb new file +4 -0
@@ -0,0 +1,4 @@ +require xserver-xf86-dri-lite.inc +require xserver-xf86-${PV}.inc + +PE = "1"
meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.11.1.bb new file +2 -0
@@ -0,0 +1,2 @@ +require xserver-xf86-lite.inc +require xserver-xf86-${PV}.inc
Signature · 1 line
1.7.7
PATCH v2 11/30 xserver-xf86: remove old 1.10.1 version
In reply to Martin Jansa--- .../xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb | 20 -------------------- .../xorg-xserver/xserver-xf86-lite_1.10.1.bb | 12 ------------ 2 files changed, 0 insertions(+), 32 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.10.1.bb
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.10.1.bb deleted +0 -20
@@ -1,20 +0,0 @@ -require xserver-xf86-dri-lite.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00" - -PROTO_DEPS += "xf86driproto dri2proto" - -DEPENDS += "font-util" - -PE = "1" -PR = "r1" - -SRC_URI += "file://crosscompile.patch" - -# Misc build failure for master HEAD -SRC_URI += "file://fix_open_max_preprocessor_error.patch" - -SRC_URI[md5sum] = "75f117c74f2ecaf9dd167f6a66ac98de" -SRC_URI[sha256sum] = "143c7c3d7d4428352e1153dffa34fd64af391f72d30b2a03e911e54e36f00b5d" - -EXTRA_OECONF += "--enable-dri --enable-dri2"
meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.10.1.bb deleted +0 -12
@@ -1,12 +0,0 @@ -require xserver-xf86-lite.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00" - -PR = "r1" - -DEPENDS += "font-util" - -SRC_URI += "file://crosscompile.patch" - -# Misc build failure for master HEAD -SRC_URI += "file://fix_open_max_preprocessor_error.patch;"
Signature · 1 line
1.7.7
PATCH v2 12/30 xserver-xf86-dri-lite: remove COMPATIBLE_HOST
In reply to Martin Jansa* ie om-gta02 has mesa-dri module too
--- .../xorg-xserver/xserver-xf86-dri-lite.inc | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite.inc +0 -3
@@ -11,6 +11,3 @@ EXTRA_OECONF += "\ --with-pic \ --with-int10=x86emu \ " - -# Due to mesa-dri -COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
Signature · 1 line
1.7.7
PATCH v2 13/30 xserver-xf86: drop unused files
In reply to Martin Jansa--- .../xorg-xserver/files/macro_tweak.patch | 20 -- .../cache-xkbcomp-output-for-fast-start-up.patch | 360 -------------------- .../xserver-xf86-dri-lite/fix_macros1.patch | 24 -- 3 files changed, 0 insertions(+), 404 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-xserver/files/macro_tweak.patch delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/cache-xkbcomp-output-for-fast-start-up.patch delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/fix_macros1.patch
meta/recipes-graphics/xorg-xserver/files/macro_tweak.patch deleted +0 -20
@@ -1,20 +0,0 @@ -Upstream-Status: Pending - -Index: xorg-server-1.5.0/xorg-server.m4 -=================================================================== ---- xorg-server-1.5.0.orig/xorg-server.m4 2007-05-29 20:36:51.000000000 +0100 -+++ xorg-server-1.5.0/xorg-server.m4 2008-11-04 23:56:55.000000000 +0000 -@@ -28,9 +28,12 @@ - # Checks for the $1 define in xorg-server.h (from the sdk). If it - # is defined, then add $1 to $REQUIRED_MODULES. - -+m4_pattern_allow(PKG_CONFIG_SYSROOT_DIR) -+ - AC_DEFUN([XORG_DRIVER_CHECK_EXT],[ -+ PKG_PROG_PKG_CONFIG - SAVE_CFLAGS="$CFLAGS" -- CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`" -+ CFLAGS="$CFLAGS -I$PKG_CONFIG_SYSROOT_DIR`pkg-config --variable=sdkdir xorg-server`" - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include "xorg-server.h" - #if !defined $1
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/cache-xkbcomp-output-for-fast-start-up.patch deleted +0 -360
360 lines not on this page · raw message
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/fix_macros1.patch deleted +0 -24
@@ -1,24 +0,0 @@ -We need to insert the sysroot path into compiler commandlines for this -kind of variable use, otherwise we're looking into /usr/include/. - -RP - 26/11/09 - -Upstream-Status: Pending - -Index: git/xorg-server.m4 -=================================================================== ---- git.orig/xorg-server.m4 2010-02-05 10:00:55.000000000 +0000 -+++ git/xorg-server.m4 2010-02-05 10:02:12.000000000 +0000 -@@ -28,10 +28,11 @@ - # Checks for the $1 define in xorg-server.h (from the sdk). If it - # is defined, then add $1 to $REQUIRED_MODULES. - -+m4_pattern_allow([^PKG_CONFIG_SYSROOT_DIR$]) - AC_DEFUN([XORG_DRIVER_CHECK_EXT],[ - AC_REQUIRE([PKG_PROG_PKG_CONFIG]) - SAVE_CFLAGS="$CFLAGS" -- CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`" -+ CFLAGS="$CFLAGS -I$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=sdkdir xorg-server`" - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include "xorg-server.h" - #if !defined $1
Signature · 1 line
1.7.7
PATCH v2 14/30 xserver-xf86: move patches to xserver-xf86-dri-lite-1.11.1 and use same directory from xserver-xf86-lite recipe
In reply to Martin Jansa* FILESEXTRAPATHS needs to be in xserver-xf86-lite_1.11.1
because in .inc we don't have ${PV} expanded yet
* crosscompile.patch macro_tweak.patch were identical
* fix_open_max_preprocessor_error.patch has only different header
# $ diff xserver-xorg/fix_open_max_preprocessor_error.patch xserver-xorg-dri/fix_open_max_preprocessor_error.patch 1c1
< Upstream-Status: Pending
---
Quoted 1 line
Upstream-Status: Inappropriate [embedded specific]
---
.../crosscompile.patch | 0
.../fix_open_max_preprocessor_error.patch | 0
.../macro_tweak.patch | 7 +----
.../fix_open_max_preprocessor_error.patch | 15 ----------
.../xserver-xf86-dri-lite/macro_tweak.patch | 30 --------------------
.../xserver-xf86-lite/crosscompile.patch | 22 --------------
.../xorg-xserver/xserver-xf86-lite_1.11.1.bb | 2 +
7 files changed, 3 insertions(+), 73 deletions(-)
rename meta/recipes-graphics/xorg-xserver/{xserver-xf86-dri-lite => xserver-xf86-dri-lite-1.11.1}/crosscompile.patch (100%)
rename meta/recipes-graphics/xorg-xserver/{xserver-xf86-lite => xserver-xf86-dri-lite-1.11.1}/fix_open_max_preprocessor_error.patch (100%)
rename meta/recipes-graphics/xorg-xserver/{xserver-xf86-lite => xserver-xf86-dri-lite-1.11.1}/macro_tweak.patch (74%)
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/fix_open_max_preprocessor_error.patch
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/macro_tweak.patch
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite/crosscompile.patchmeta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite-1.11.1/crosscompile.patch renamed from meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/crosscompile.patch +0 -0
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite-1.11.1/fix_open_max_preprocessor_error.patch renamed from meta/recipes-graphics/xorg-xserver/xserver-xf86-lite/fix_open_max_preprocessor_error.patch +0 -0
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite-1.11.1/macro_tweak.patch renamed from meta/recipes-graphics/xorg-xserver/xserver-xf86-lite/macro_tweak.patch +1 -6
@@ -1,10 +1,5 @@ This is the revised version of files/macro_tweak.patch for -xorg-server 1.8.99.904. - -the files/macro_tweak.patch can not removed now since it is used by -xserver-kdrive-1.7.99.2 and xserver-xf86-lite_1.7.99.2. Once they -are all upgraded to 1.8.99.904, the the files/macro_tweak.patch -can be safely replace by this patch. +xorg-server 1.8.99.904 and newer. Upstream-Status: Pending
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/fix_open_max_preprocessor_error.patch deleted +0 -15
@@ -1,15 +0,0 @@ -Upstream-Status: Inappropriate [embedded specific] - -Index: git/os/osdep.h -=================================================================== ---- git.orig/os/osdep.h 2008-10-07 18:38:21.000000000 +0100 -+++ git/os/osdep.h 2008-10-07 18:39:36.000000000 +0100 -@@ -92,7 +92,7 @@ - * like sysconf(_SC_OPEN_MAX) is not supported. - */ - --#if OPEN_MAX <= 256 -+#if 0 - #define MAXSOCKS (OPEN_MAX - 1) - #else - #define MAXSOCKS 256
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/macro_tweak.patch deleted +0 -30
@@ -1,30 +0,0 @@ -This is the revised version of files/macro_tweak.patch for -xorg-server 1.8.99.904. - -the files/macro_tweak.patch can not removed now since it is used by -xserver-kdrive-1.7.99.2 and xserver-xf86-lite_1.7.99.2. Once they -are all upgraded to 1.8.99.904, the the files/macro_tweak.patch -can be safely replace by this patch. - -Upstream-Status: Pending - -Signed-off-by: Yu Ke <[email protected]> - -diff --git a/xorg-server.m4 b/xorg-server.m4 -index bdecf62..040fdb8 100644 ---- a/xorg-server.m4 -+++ b/xorg-server.m4 -@@ -28,10 +28,12 @@ dnl - # Checks for the $1 define in xorg-server.h (from the sdk). If it - # is defined, then add $1 to $REQUIRED_MODULES. - -+m4_pattern_allow(PKG_CONFIG_SYSROOT_DIR) -+ - AC_DEFUN([XORG_DRIVER_CHECK_EXT],[ - AC_REQUIRE([PKG_PROG_PKG_CONFIG]) - SAVE_CFLAGS="$CFLAGS" -- CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`" -+ CFLAGS="$CFLAGS -I$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=sdkdir xorg-server`" - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include "xorg-server.h" - #if !defined $1
meta/recipes-graphics/xorg-xserver/xserver-xf86-lite/crosscompile.patch deleted +0 -22
@@ -1,22 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - -diff --git a/configure.ac b/configure.ac -index b3b752c..600500b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -523,13 +523,9 @@ dnl Uses --default-font-path if set, otherwise checks for /etc/X11/fontpath.d, - dnl otherwise uses standard subdirectories of FONTROOTDIR. When cross - dnl compiling, assume default font path uses standard FONTROOTDIR directories. - DEFAULT_FONT_PATH="${FONTMISCDIR}/,${FONTTTFDIR}/,${FONTOTFDIR}/,${FONTTYPE1DIR}/,${FONT100DPIDIR}/,${FONT75DPIDIR}/" --if test "$cross_compiling" != yes; then -- AC_CHECK_FILE([${sysconfdir}/X11/fontpath.d], -- [DEFAULT_FONT_PATH='catalogue:${sysconfdir}/X11/fontpath.d'], -- [case $host_os in -+ case $host_os in - darwin*) DEFAULT_FONT_PATH="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;; -- esac]) --fi -+ esac - AC_ARG_WITH(default-font-path, AS_HELP_STRING([--with-default-font-path=PATH], [Comma separated list of font dirs]), - [ FONTPATH="$withval" ], - [ FONTPATH="${DEFAULT_FONT_PATH}" ])
meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.11.1.bb +2 -0
@@ -1,2 +1,4 @@ require xserver-xf86-lite.inc require xserver-xf86-${PV}.inc + +FILESEXTRAPATHS_append := "${THISDIR}/xserver-xf86-dri-lite:${THISDIR}/xserver-xf86-dri-lite-${PV}:"
Signature · 1 line
1.7.7
PATCH v2 15/30 xserver-xf86(-dri)-lite: rename to xserver-xorg and xserver-xorg-lite
In reply to Martin Jansa* xserver-xorg is closer to upstream naming and
that's how it's named in OE-classic and meta-oe? It would make meta-oe transition easier and better to do it now then convert meta-oe to xserver-xf86 and then rename it back later.
---
meta/conf/distro/include/default-providers.inc | 4 ++--
.../conf/distro/include/distro_tracking_fields.inc | 20 ++++++++++----------
meta/conf/machine/qemux86-64.conf | 6 +++---
meta/conf/machine/qemux86.conf | 6 +++---
meta/conf/multilib.conf | 2 +-
.../xorg-xserver/xserver-xf86-dri-lite_1.11.1.bb | 4 ----
.../xorg-xserver/xserver-xf86-lite_1.11.1.bb | 4 ----
...ver-xf86-1.11.1.inc => xserver-xorg-1.11.1.inc} | 0
.../crosscompile.patch | 0
.../fix_open_max_preprocessor_error.patch | 0
.../macro_tweak.patch | 0
...ver-xf86-common.inc => xserver-xorg-common.inc} | 1 +
...xserver-xf86-lite.inc => xserver-xorg-lite.inc} | 2 +-
.../xorg-xserver/xserver-xorg-lite_1.11.1.bb | 4 ++++
...{xserver-xf86-dri-lite.inc => xserver-xorg.inc} | 2 +-
.../xorg-xserver/xserver-xorg_1.11.1.bb | 4 ++++
16 files changed, 30 insertions(+), 29 deletions(-)
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.11.1.bb
delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.11.1.bb
rename meta/recipes-graphics/xorg-xserver/{xserver-xf86-1.11.1.inc => xserver-xorg-1.11.1.inc} (100%)
rename meta/recipes-graphics/xorg-xserver/{xserver-xf86-dri-lite-1.11.1 => xserver-xorg-1.11.1}/crosscompile.patch (100%)
rename meta/recipes-graphics/xorg-xserver/{xserver-xf86-dri-lite-1.11.1 => xserver-xorg-1.11.1}/fix_open_max_preprocessor_error.patch (100%)
rename meta/recipes-graphics/xorg-xserver/{xserver-xf86-dri-lite-1.11.1 => xserver-xorg-1.11.1}/macro_tweak.patch (100%)
rename meta/recipes-graphics/xorg-xserver/{xserver-xf86-common.inc => xserver-xorg-common.inc} (99%)
rename meta/recipes-graphics/xorg-xserver/{xserver-xf86-lite.inc => xserver-xorg-lite.inc} (73%)
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg-lite_1.11.1.bb
rename meta/recipes-graphics/xorg-xserver/{xserver-xf86-dri-lite.inc => xserver-xorg.inc} (87%)
create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.1.bbmeta/conf/distro/include/default-providers.inc +2 -2
@@ -3,8 +3,8 @@ # PREFERRED_PROVIDER_virtual/db ?= "db" PREFERRED_PROVIDER_virtual/db-native ?= "db-native" -PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86" -PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite" +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" +PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xorg" PREFERRED_PROVIDER_virtual/libgl ?= "mesa-xlib" PREFERRED_PROVIDER_virtual/update-alternatives ?= "update-alternatives-cworth" PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-native"
meta/conf/distro/include/distro_tracking_fields.inc +10 -10
@@ -3680,14 +3680,14 @@ RECIPE_INTEL_SECTION_pn-mesa-xlib="graphic core" RECIPE_LAST_UPDATE_pn-mesa-xlib = "Nov 27, 2010" RECIPE_MAINTAINER_pn-mesa-xlib="Yu Ke <[email protected]>" -RECIPE_STATUS_pn-xserver-xf86-dri-lite="green" # no update needed -RECIPE_LATEST_VERSION_pn-xserver-xf86-dri-lite="1.8.99.904" -RECIPE_NO_OF_PATCHES_pn-xserver-xf86-dri-lite="2" -RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xserver-xf86-dri-lite="2 monthes" -RECIPE_LATEST_RELEASE_DATE_pn-xserver-xf86-dri-lite="2010/07/01" -RECIPE_INTEL_SECTION_pn-xserver-xf86-dri-lite="graphic core" -RECIPE_LAST_UPDATE_pn-xserver-xf86-dri-lite = "Jan 18, 2011" -RECIPE_MAINTAINER_pn-xserver-xf86-dri-lite="Yu Ke <[email protected]>" +RECIPE_STATUS_pn-xserver-xorg="green" # no update needed +RECIPE_LATEST_VERSION_pn-xserver-xorg="1.8.99.904" +RECIPE_NO_OF_PATCHES_pn-xserver-xorg="2" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xserver-xorg="2 monthes" +RECIPE_LATEST_RELEASE_DATE_pn-xserver-xorg="2010/07/01" +RECIPE_INTEL_SECTION_pn-xserver-xorg="graphic core" +RECIPE_LAST_UPDATE_pn-xserver-xorg = "Jan 18, 2011" +RECIPE_MAINTAINER_pn-xserver-xorg="Yu Ke <[email protected]>" RECIPE_STATUS_pn-xf86-input-synaptics = "red" DISTRO_PN_ALIAS_pn-xf86-input-synaptics = "Meego=xorg-x11-drv-synaptics Fedora=xorg-x11-drv-synaptics Ubuntu=xserver-xorg-input-synaptics Mandriva=x11-driver-input-synaptics Debian=xfree86-driver-synaptics"
@@ -5895,8 +5895,8 @@ DISTRO_PN_ALIAS_pn-pseudo = "Windriver" DISTRO_PN_ALIAS_pn-btrfs-tools = "Debian=btrfs-tools Fedora=btrfs-progs" DISTRO_PN_ALIAS_pn-rt-tests = "Debian=rt-tests Ubuntu=rt-tests" -DISTRO_PN_ALIAS_pn-xserver-xf86-lite = "Fedora=xorg-x11-server Ubuntu=xserver-xorg" -DISTRO_PN_ALIAS_pn-xserver-xf86-dri-lite = "Fedora=xorg-x11-server Ubuntu=xserver-xorg" +DISTRO_PN_ALIAS_pn-xserver-xorg = "Fedora=xorg-x11-server Ubuntu=xserver-xorg" +DISTRO_PN_ALIAS_pn-xserver-xorg = "Fedora=xorg-x11-server Ubuntu=xserver-xorg" DISTRO_PN_ALIAS_pn-xserver-kdrive = "Fedora=xorg-x11-server Ubuntu=xserver-xorg" DISTRO_PN_ALIAS_pn-dtc = "Fedora=dtc Ubuntu=dtc" DISTRO_PN_ALIAS_pn-dtc-native = "Fedora=dtc Ubuntu=dtc"
meta/conf/machine/qemux86-64.conf +3 -3
@@ -4,8 +4,8 @@ PREFERRED_PROVIDER_virtual/libgl = "mesa-dri" PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" -PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite" -PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite" +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" +PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xorg" require conf/machine/include/tune-x86_64.inc require conf/machine/include/qemu.inc
@@ -17,7 +17,7 @@ KERNEL_IMAGETYPE = "bzImage" SERIAL_CONSOLE = "115200 ttyS0" # We bypass swrast but we need it to be present for X to load correctly -XSERVER ?= "xserver-xf86-dri-lite \ +XSERVER ?= "xserver-xorg \ mesa-dri-driver-swrast \ xf86-input-vmmouse \ xf86-input-keyboard \
meta/conf/machine/qemux86.conf +3 -3
@@ -4,8 +4,8 @@ PREFERRED_PROVIDER_virtual/libgl = "mesa-dri" PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" -PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite" -PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite" +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" +PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xorg" require conf/machine/include/tune-i586.inc require conf/machine/include/qemu.inc
@@ -17,7 +17,7 @@ KERNEL_IMAGETYPE = "bzImage" SERIAL_CONSOLE = "115200 ttyS0" # We bypass swrast but we need it to be present for X to load correctly -XSERVER ?= "xserver-xf86-dri-lite \ +XSERVER ?= "xserver-xorg \ mesa-dri-driver-swrast \ xf86-input-vmmouse \ xf86-input-keyboard \
meta/conf/multilib.conf +1 -1
@@ -442,7 +442,7 @@ BBCLASSEXTEND_append_pn-xrandr = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-xrestop = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-xserver-nodm-init = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-xserver-xf86-config = " ${MULTILIBS}" -BBCLASSEXTEND_append_pn-xserver-xf86-dri-lite = " ${MULTILIBS}" +BBCLASSEXTEND_append_pn-xserver-xorg = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-xset = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-xtrans = " ${MULTILIBS}" BBCLASSEXTEND_append_pn-xtscal = " ${MULTILIBS}"
meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.11.1.bb deleted +0 -4
@@ -1,4 +0,0 @@ -require xserver-xf86-dri-lite.inc -require xserver-xf86-${PV}.inc - -PE = "1"
meta/recipes-graphics/xorg-xserver/xserver-xf86-lite_1.11.1.bb deleted +0 -4
@@ -1,4 +0,0 @@ -require xserver-xf86-lite.inc -require xserver-xf86-${PV}.inc - -FILESEXTRAPATHS_append := "${THISDIR}/xserver-xf86-dri-lite:${THISDIR}/xserver-xf86-dri-lite-${PV}:"
meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.1.inc renamed from meta/recipes-graphics/xorg-xserver/xserver-xf86-1.11.1.inc +0 -0
meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.1/crosscompile.patch renamed from meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite-1.11.1/crosscompile.patch +0 -0
meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.1/fix_open_max_preprocessor_error.patch renamed from meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite-1.11.1/fix_open_max_preprocessor_error.patch +0 -0
meta/recipes-graphics/xorg-xserver/xserver-xorg-1.11.1/macro_tweak.patch renamed from meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite-1.11.1/macro_tweak.patch +0 -0
meta/recipes-graphics/xorg-xserver/xserver-xorg-common.inc renamed from meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc +1 -0
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=74df27b6254cc88d2799b5f4f5949c00" # xf86-*-* packages depend on an X server built with the xfree86 DDX # so we have a virtual to represent that: +# deprecated, we should use virtual/xserver instead PROVIDES = "virtual/xserver-xf86" # Other packages tend to just care that there is *an* X server:
meta/recipes-graphics/xorg-xserver/xserver-xorg-lite.inc renamed from meta/recipes-graphics/xorg-xserver/xserver-xf86-lite.inc +1 -1
@@ -1,4 +1,4 @@ -require xserver-xf86-common.inc +require xserver-xorg-common.inc EXTRA_OECONF += "\ --disable-dri \
meta/recipes-graphics/xorg-xserver/xserver-xorg-lite_1.11.1.bb new file +4 -0
@@ -0,0 +1,4 @@ +require xserver-xorg-lite.inc +require xserver-xorg-${PV}.inc + +FILESEXTRAPATHS_append := "${THISDIR}/xserver-xorg:${THISDIR}/xserver-xorg-${PV}:"
meta/recipes-graphics/xorg-xserver/xserver-xorg.inc renamed from meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite.inc +1 -1
@@ -1,4 +1,4 @@ -require xserver-xf86-common.inc +require xserver-xorg-common.inc PROTO_DEPS += "xf86driproto dri2proto" LIB_DEPS += "virtual/libgl"
meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.1.bb new file +4 -0
@@ -0,0 +1,4 @@ +require xserver-xorg.inc +require xserver-xorg-${PV}.inc + +PE = "1"
Signature · 1 line
1.7.7
PATCH v2 16/30 xserver-kdrive: drop unused files (same files are in xserver-kdrive-1.7.99.2 directory
In reply to Martin Jansa--- .../xorg-xserver/xserver-kdrive/disable-apm.patch | 24 ------ .../xserver-kdrive/disable-xf86-dga-xorgcfg.patch | 43 ---------- .../xorg-xserver/xserver-kdrive/extra-kmodes.patch | 87 -------------------- .../xserver-kdrive/fbdev_xrandr_ioctl.patch | 63 -------------- .../xserver-kdrive/no-serial-probing.patch | 17 ---- 5 files changed, 0 insertions(+), 234 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive/disable-apm.patch delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive/disable-xf86-dga-xorgcfg.patch delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive/extra-kmodes.patch delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive/fbdev_xrandr_ioctl.patch delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-kdrive/no-serial-probing.patch
meta/recipes-graphics/xorg-xserver/xserver-kdrive/disable-apm.patch deleted +0 -24
@@ -1,24 +0,0 @@ -Upstream-Status: Inappropriate [disable feature] - -Signed-off-by: Yu Ke <[email protected]> - ---- xserver/hw/kdrive/linux/linux.c.orig 2005-04-23 15:56:13.988849232 +0000 -+++ xserver/hw/kdrive/linux/linux.c 2005-04-23 15:57:05.001094192 +0000 -@@ -342,7 +342,7 @@ - /* - * Open the APM driver - */ -- LinuxApmFd = open ("/dev/apm_bios", 2); -+ /*LinuxApmFd = open ("/dev/apm_bios", 2); - if (LinuxApmFd < 0 && errno == ENOENT) - LinuxApmFd = open ("/dev/misc/apm_bios", 2); - if (LinuxApmFd >= 0) -@@ -352,7 +352,7 @@ - RegisterBlockAndWakeupHandlers (LinuxApmBlock, LinuxApmWakeup, 0); - AddEnabledDevice (LinuxApmFd); - } -- -+ */ - /* - * now get the VT - */
meta/recipes-graphics/xorg-xserver/xserver-kdrive/disable-xf86-dga-xorgcfg.patch deleted +0 -43
43 lines not on this page · raw message
meta/recipes-graphics/xorg-xserver/xserver-kdrive/extra-kmodes.patch deleted +0 -87
87 lines not on this page · raw message
meta/recipes-graphics/xorg-xserver/xserver-kdrive/fbdev_xrandr_ioctl.patch deleted +0 -63
63 lines not on this page · raw message
meta/recipes-graphics/xorg-xserver/xserver-kdrive/no-serial-probing.patch deleted +0 -17
@@ -1,17 +0,0 @@ -Upstream-Status: Pending - -Signed-off-by: Yu Ke <[email protected]> - ---- xserver/hw/kdrive/linux/mouse.c.orig 2004-05-13 14:25:51.000000000 -0700 -+++ xserver/hw/kdrive/linux/mouse.c 2005-09-22 12:20:47.000000000 -0700 -@@ -927,8 +927,10 @@ char *kdefaultMouse[] = { - "/dev/psaux", - "/dev/input/mice", - "/dev/adbmouse", -+#ifdef BREAK_MY_SERIAL_CONSOLE - "/dev/ttyS0", - "/dev/ttyS1", -+#endif - }; - - #define NUM_DEFAULT_MOUSE (sizeof (kdefaultMouse) / sizeof (kdefaultMouse[0]))
Signature · 1 line
1.7.7
PATCH v2 17/30 xorg-driver-common: bump INC_PR to rebuild drivers agains new xserver-xorg ABI
In reply to Martin Jansa--- .../xorg-driver/xorg-driver-common.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +1 -1
@@ -5,7 +5,7 @@ SECTION = "x11/drivers" LICENSE = "MIT-X" PE = "1" -INC_PR = "r15" +INC_PR = "r17" DEPENDS = "virtual/xserver-xf86 xproto randrproto util-macros"
Signature · 1 line
1.7.7
PATCH v2 18/30 libx11: package xcb, merge few changes from meta-oe
In reply to Martin Jansa* move --with-keysymdef/--with-keysymdefdir setting to recipes (newer versions are using keysymdefdir instead keysymdef
* fix MIN_REHASH in makekeys by sed call
--- meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb | 2 +- meta/recipes-graphics/xorg-lib/libx11-diet_git.bb | 2 +- .../recipes-graphics/xorg-lib/libx11-trim_1.3.4.bb | 2 +- meta/recipes-graphics/xorg-lib/libx11-trim_git.bb | 2 +- meta/recipes-graphics/xorg-lib/libx11.inc | 25 ++++++++++++------- meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb | 2 +- meta/recipes-graphics/xorg-lib/libx11_git.bb | 2 + 7 files changed, 23 insertions(+), 14 deletions(-)
meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb +1 -1
@@ -19,5 +19,5 @@ DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11" -EXTRA_OECONF += "--without-xcb --disable-udc --disable-xcms --disable-xlocale" +EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --without-xcb --disable-udc --disable-xcms --disable-xlocale" CFLAGS += "-D_GNU_SOURCE"
meta/recipes-graphics/xorg-lib/libx11-diet_git.bb +1 -1
@@ -13,5 +13,5 @@ DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ SRCREV = "d23aad31338e7d869d878d5aa1b6b91d20287005" -EXTRA_OECONF += "--without-xcb --disable-udc --disable-xcms --disable-xlocale" +EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --without-xcb --disable-udc --disable-xcms --disable-xlocale" CFLAGS += "-D_GNU_SOURCE"
meta/recipes-graphics/xorg-lib/libx11-trim_1.3.4.bb +1 -1
@@ -14,4 +14,4 @@ SRC_URI += "file://../libx11-${PV}/x11_disable_makekeys.patch \ file://../libx11-${PV}/nodolt.patch \ file://../libx11-${PV}/makekeys_crosscompile.patch" -EXTRA_OECONF += "--disable-xcms --with-xcb" +EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --disable-xcms --with-xcb"
meta/recipes-graphics/xorg-lib/libx11-trim_git.bb +1 -1
@@ -8,6 +8,6 @@ SRCREV = "d23aad31338e7d869d878d5aa1b6b91d20287005" DEPENDS += "libxcb xproto xextproto xtrans libxau kbproto inputproto xf86bigfontproto xproto-native" -EXTRA_OECONF += "--disable-xcms --with-xcb" +EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --disable-xcms --with-xcb" CFLAGS += "-D_GNU_SOURCE"
meta/recipes-graphics/xorg-lib/libx11.inc +16 -9
@@ -11,32 +11,39 @@ inherit siteinfo PROVIDES = "virtual/libx11" XORG_PN = "libX11" -LEAD_SONAME = "libX11.so" +LICENSE = "MIT & MIT-style & BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7" -EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --disable-specs" +EXTRA_OECONF += "--with-groff=no --with-ps2pdf=no --with-fop=no --disable-specs" + +PACKAGES =+ "${PN}-xcb" FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${libdir}/X11/Xcms.txt" +FILES_${PN}-xcb += "${libdir}/libX11-xcb.so.*" FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale" -do_compile() { +do_compile_prepend() { cd ${S}/src/util mv makekeys.c.orig makekeys.c || true touch makekeys-makekeys.o ( unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS + # MIN_REHASH 10 is only in 1.0.1 + sed -i -e 's:MIN_REHASH 10:MIN_REHASH 16:g' makekeys.c + sed -i -e 's:MIN_REHASH 15:MIN_REHASH 16:g' makekeys.c + touch makekeys-makekeys.o; if [ "${SITEINFO_BITS}" == "64" ]; then - ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} makekeys.c -o makekeys - else - ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} -DUSE32 makekeys.c -o makekeys - fi + ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} makekeys.c -o makekeys + else + ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE} -DUSE32 makekeys.c -o makekeys + fi ) if [ "$?" != "0" ]; then exit 1 fi # mv to stop it getting rebuilt mv makekeys.c makekeys.c.orig - cd ${S} - oe_runmake + cd ../../ } # Multiple libx11 derivatives from from this file and are selected by virtual/libx11
meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb +1 -1
@@ -30,6 +30,6 @@ DEPENDS_virtclass-nativesdk += "bigreqsproto xproto xextproto \ XCB = "--with-xcb" XCB_virtclass-native = "--without-xcb" XCB_virtclass-nativesdk = "--without-xcb" -EXTRA_OECONF += "${XCB}" +EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h ${XCB}" BBCLASSEXTEND = "native nativesdk"
meta/recipes-graphics/xorg-lib/libx11_git.bb +2 -0
@@ -11,4 +11,6 @@ DEPENDS = "xproto xextproto xcmiscproto xf86bigfontproto kbproto inputproto \ DEFAULT_PREFERENCE = "-1" +EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h" + BBCLASSEXTEND = "nativesdk"
Signature · 1 line
1.7.7
PATCH v2 19/30 libx11: add new version 1.4.4
In reply to Martin Jansa--- .../xorg-lib/libx11-1.4.4/keysymdef_include.patch | 23 +++++++++++++++ .../libx11-1.4.4/x11_disable_makekeys.patch | 29 ++++++++++++++++++++ meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb | 18 ++++++++++++ 3 files changed, 70 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.4.4/keysymdef_include.patch create mode 100644 meta/recipes-graphics/xorg-lib/libx11-1.4.4/x11_disable_makekeys.patch create mode 100644 meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb
meta/recipes-graphics/xorg-lib/libx11-1.4.4/keysymdef_include.patch new file +23 -0
@@ -0,0 +1,23 @@ +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Martin Jansa <[email protected]> + +diff -uNr libX11-1.3.6.orig//configure.ac libX11-1.3.6/configure.ac +--- libX11-1.3.6.orig//configure.ac 2010-09-20 08:04:16.000000000 +0200 ++++ libX11-1.3.6/configure.ac 2010-09-28 16:29:26.000000000 +0200 +@@ -355,7 +355,14 @@ + # Find keysymdef.h + # + AC_MSG_CHECKING([keysym definitions]) +-KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11 ++AC_ARG_WITH(keysymdefdir, ++ AC_HELP_STRING([--with-keysymdefdir=DIR], [The location of keysymdef.h]), ++ KEYSYMDEFDIR=$withval, KEYSYMDEFDIR="") ++ ++if test x$KEYSYMDEFDIR = x; then ++ KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11 ++fi ++ + FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h" + for i in $FILES; do + if test -f "$KEYSYMDEFDIR/$i"; then
meta/recipes-graphics/xorg-lib/libx11-1.4.4/x11_disable_makekeys.patch new file +29 -0
@@ -0,0 +1,29 @@ +Index: libX11-1.3.4/src/util/Makefile.am +=================================================================== +--- libX11-1.3.4.orig/src/util/Makefile.am ++++ libX11-1.3.4/src/util/Makefile.am +@@ -1,24 +1 @@ +- +-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
meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb new file +18 -0
@@ -0,0 +1,18 @@ +require libx11.inc +inherit gettext + +BBCLASSEXTEND = "native nativesdk" + +EXTRA_OECONF += "--with-keysymdefdir=${STAGING_INCDIR}/X11" + +DEPENDS += "util-macros xtrans libxdmcp libxau \ + bigreqsproto xproto xextproto xcmiscproto \ + xf86bigfontproto kbproto inputproto libxcb \ + xproto-native" + +SRC_URI += " file://keysymdef_include.patch \ + file://x11_disable_makekeys.patch \ + " + +SRC_URI[md5sum] = "ed7c382cbf8c13425b6a66bcac0ca5d9" +SRC_URI[sha256sum] = "7fe62180f08ef5f0a0062fb444591e349cae2ab5af6ad834599f5c654e6c840d"
Signature · 1 line
1.7.7
PATCH v2 20/30 libx11: remove older 1.3.4
In reply to Martin Jansa* libx11-1.3.4 directory is kept for libx11-trim_1.3.4.bb
--- meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb | 35 ------------------------ 1 files changed, 0 insertions(+), 35 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb
meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb deleted +0 -35
@@ -1,35 +0,0 @@ -require libx11.inc -inherit gettext - -LICENSE = "MIT & MIT-style & BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=bf75bfe4d05068311b5e6862d4b5f2c5" - -PE = "1" -PR = "r4" - -SRC_URI += "file://x11_disable_makekeys.patch \ - file://nodolt.patch \ - file://include_fix.patch \ - file://makekeys_crosscompile.patch" - -SRC_URI[md5sum] = "f65c9c7ecbfb64c19dbd7927160d63fd" -SRC_URI[sha256sum] = "88d7238ce5f7cd123450567de7a3b56a43556e4ccc45df38b8324147c889a844" - -DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ - libxdmcp xf86bigfontproto kbproto inputproto xproto-native libxcb" - -DEPENDS_virtclass-native += "bigreqsproto-native xextproto-native \ - xtrans-native libxau-native xcmiscproto-native \ - libxdmcp-native xf86bigfontproto-native kbproto-native \ - inputproto-native xproto-native" - -DEPENDS_virtclass-nativesdk += "bigreqsproto xproto xextproto \ - xtrans libxau xcmiscproto libxdmcp xf86bigfontproto kbproto \ - inputproto xproto-native" - -XCB = "--with-xcb" -XCB_virtclass-native = "--without-xcb" -XCB_virtclass-nativesdk = "--without-xcb" -EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h ${XCB}" - -BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
1.7.7
PATCH v2 21/30 libx11: drop old 1.2.2 git version
In reply to Martin Jansa--- meta/recipes-graphics/xorg-lib/libx11-diet_git.bb | 17 - .../xorg-lib/libx11-git/X18NCMSstubs.diff | 570 -------------------- .../xorg-lib/libx11-git/fix-disable-xlocale.diff | 16 - .../libx11-git/fix-utf8-wrong-define.patch | 17 - .../xorg-lib/libx11-git/include_fix.patch | 25 - .../xorg-lib/libx11-git/nodolt.patch | 14 - .../xorg-lib/libx11-git/x11_disable_makekeys.patch | 30 - meta/recipes-graphics/xorg-lib/libx11-trim_git.bb | 13 - meta/recipes-graphics/xorg-lib/libx11_git.bb | 16 - meta/recipes-graphics/xorg-lib/libx11_git.inc | 11 - 10 files changed, 0 insertions(+), 729 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-diet_git.bb delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-git/X18NCMSstubs.diff delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-git/fix-disable-xlocale.diff delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-git/fix-utf8-wrong-define.patch delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-git/include_fix.patch delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-git/nodolt.patch delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-git/x11_disable_makekeys.patch delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim_git.bb delete mode 100644 meta/recipes-graphics/xorg-lib/libx11_git.bb delete mode 100644 meta/recipes-graphics/xorg-lib/libx11_git.inc
meta/recipes-graphics/xorg-lib/libx11-diet_git.bb deleted +0 -17
@@ -1,17 +0,0 @@ -require libx11.inc -require libx11_git.inc - -DESCRIPTION += " Support for XCB, UDC, XCMS and XLOCALE is disabled in \ -this version." - -SRC_URI += "file://X18NCMSstubs.diff \ - file://fix-disable-xlocale.diff \ - file://fix-utf8-wrong-define.patch" - -DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ - libxdmcp xf86bigfontproto kbproto inputproto xproto-native" - -SRCREV = "d23aad31338e7d869d878d5aa1b6b91d20287005" - -EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --without-xcb --disable-udc --disable-xcms --disable-xlocale" -CFLAGS += "-D_GNU_SOURCE"
meta/recipes-graphics/xorg-lib/libx11-git/X18NCMSstubs.diff deleted +0 -570
570 lines not on this page · raw message
meta/recipes-graphics/xorg-lib/libx11-git/fix-disable-xlocale.diff deleted +0 -16
@@ -1,16 +0,0 @@ -Upstream-Status: Pending - ---- libX11-X11R7.0-1.0.0/src/Font.c.orig 2006-03-12 18:35:42.000000000 +0100 -+++ libX11-X11R7.0-1.0.0/src/Font.c 2006-03-12 18:40:27.000000000 +0100 -@@ -701,7 +701,11 @@ - } - if (l - 2 - (p - charset) < 0) - return 0; -+#ifdef XLOCALE - if (_XlcNCompareISOLatin1(name + l - 2 - (p - charset), charset, p - charset)) -+#else -+ if (strncasecmp(name + l - 2 - (p - charset), charset, p - charset)) -+#endif - return 0; - if (strlen(p + 1) + l - 1 >= sizeof(buf) - 1) - return 0;
meta/recipes-graphics/xorg-lib/libx11-git/fix-utf8-wrong-define.patch deleted +0 -17
@@ -1,17 +0,0 @@ -Upstream-Status: Pending - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- libX11-X11R7.0-1.0.0/include/X11/Xlib.h~fix-utf8-wrong-define -+++ libX11-X11R7.0-1.0.0/include/X11/Xlib.h -@@ -103,7 +103,7 @@ - - /* API mentioning "UTF8" or "utf8" is an XFree86 extension, introduced in - November 2000. Its presence is indicated through the following macro. */ --#define X_HAVE_UTF8_STRING 1 -+#undef X_HAVE_UTF8_STRING - - typedef char *XPointer; -
meta/recipes-graphics/xorg-lib/libx11-git/include_fix.patch deleted +0 -25
@@ -1,25 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - ---- - configure.ac | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - ---- libX11-1.1.5.orig/configure.ac -+++ libX11-1.1.5/configure.ac -@@ -218,13 +218,13 @@ AC_SUBST(XDMCP_LIBS) - AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], ) - - # - # 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 - AC_MSG_ERROR([Cannot find keysymdef.h]) - fi
meta/recipes-graphics/xorg-lib/libx11-git/nodolt.patch deleted +0 -14
@@ -1,14 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - -Index: libX11-1.2.1/configure.ac -=================================================================== ---- libX11-1.2.1.orig/configure.ac 2009-07-02 14:07:54.000000000 +0100 -+++ libX11-1.2.1/configure.ac 2009-07-02 14:08:01.000000000 +0100 -@@ -20,7 +20,6 @@ - - # Checks for programs. - AC_PROG_LIBTOOL --DOLT - AC_PROG_CC - XORG_CWARNFLAGS -
meta/recipes-graphics/xorg-lib/libx11-git/x11_disable_makekeys.patch deleted +0 -30
@@ -1,30 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - ---- - src/util/Makefile.am | 17 ----------------- - 1 file changed, 17 deletions(-) - -Index: git/src/util/Makefile.am -=================================================================== ---- git.orig/src/util/Makefile.am 2010-01-28 22:24:29.000000000 +0000 -+++ git/src/util/Makefile.am 2010-01-28 22:29:26.000000000 +0000 -@@ -1,19 +1,2 @@ - --noinst_PROGRAMS=makekeys - --makekeys_CFLAGS=$(X11_CFLAGS) -- --CC = @CC_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
meta/recipes-graphics/xorg-lib/libx11-trim_git.bb deleted +0 -13
@@ -1,13 +0,0 @@ -require libx11.inc -require libx11_git.inc - -DESCRIPTION += " Support for XCB, and XCMS is disabled in this version." - -PR = "r2" -SRCREV = "d23aad31338e7d869d878d5aa1b6b91d20287005" - -DEPENDS += "libxcb xproto xextproto xtrans libxau kbproto inputproto xf86bigfontproto xproto-native" - -EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --disable-xcms --with-xcb" -CFLAGS += "-D_GNU_SOURCE" -
meta/recipes-graphics/xorg-lib/libx11_git.bb deleted +0 -16
@@ -1,16 +0,0 @@ -require libx11.inc -require libx11_git.inc - -inherit gettext - -SRCREV = "d23aad31338e7d869d878d5aa1b6b91d20287005" -PR = "r2" - -DEPENDS = "xproto xextproto xcmiscproto xf86bigfontproto kbproto inputproto \ - bigreqsproto xtrans libxau libxcb libxdmcp util-macros" - -DEFAULT_PREFERENCE = "-1" - -EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h" - -BBCLASSEXTEND = "nativesdk"
meta/recipes-graphics/xorg-lib/libx11_git.inc deleted +0 -11
@@ -1,11 +0,0 @@ -PV = "1.2.1+git${SRCPV}" - -SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libX11;protocol=git" -S = "${WORKDIR}/git" - -SRC_URI += "file://x11_disable_makekeys.patch \ - file://include_fix.patch \ - file://nodolt.patch" - -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11-git" -FILESPATH = "${FILE_DIRNAME}/libx11-git"
Signature · 1 line
1.7.7
PATCH v2 22/30 libx11-trim: move files for libx11-trim from libx11-1.3.4 to libx11-trim-1.3.4
In reply to Martin Jansa* because there isn't libx11-1.3.4 recipe anymore
* remove older versions from libx11-trim directory
* notice that DESCRIPTION says xcb is disabled and EXTRA_OECONF has --with-xcb
---
.../{libx11 => libx11-diet-1.3}/X18NCMSstubs.diff | 0
.../fix-disable-xlocale.diff | 0
.../fix-utf8-wrong-define.patch | 0
.../include_fix.patch | 0
.../makekeys_crosscompile.patch | 0
.../nodolt.patch | 0
.../x11_disable_makekeys.patch | 0
.../xorg-lib/libx11-trim/include_fix.patch | 25 ----------------
.../xorg-lib/libx11-trim/nodolt.patch | 14 ---------
.../libx11-trim/x11_disable_makekeys.patch | 31 --------------------
.../recipes-graphics/xorg-lib/libx11-trim_1.3.4.bb | 8 ++--
11 files changed, 4 insertions(+), 74 deletions(-)
rename meta/recipes-graphics/xorg-lib/{libx11 => libx11-diet-1.3}/X18NCMSstubs.diff (100%)
rename meta/recipes-graphics/xorg-lib/{libx11 => libx11-diet-1.3}/fix-disable-xlocale.diff (100%)
rename meta/recipes-graphics/xorg-lib/{libx11 => libx11-diet-1.3}/fix-utf8-wrong-define.patch (100%)
rename meta/recipes-graphics/xorg-lib/{libx11-1.3.4 => libx11-trim-1.3.4}/include_fix.patch (100%)
rename meta/recipes-graphics/xorg-lib/{libx11-1.3.4 => libx11-trim-1.3.4}/makekeys_crosscompile.patch (100%)
rename meta/recipes-graphics/xorg-lib/{libx11-1.3.4 => libx11-trim-1.3.4}/nodolt.patch (100%)
rename meta/recipes-graphics/xorg-lib/{libx11-1.3.4 => libx11-trim-1.3.4}/x11_disable_makekeys.patch (100%)
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim/include_fix.patch
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim/nodolt.patch
delete mode 100644 meta/recipes-graphics/xorg-lib/libx11-trim/x11_disable_makekeys.patchmeta/recipes-graphics/xorg-lib/libx11-diet-1.3/X18NCMSstubs.diff renamed from meta/recipes-graphics/xorg-lib/libx11/X18NCMSstubs.diff +0 -0
meta/recipes-graphics/xorg-lib/libx11-diet-1.3/fix-disable-xlocale.diff renamed from meta/recipes-graphics/xorg-lib/libx11/fix-disable-xlocale.diff +0 -0
meta/recipes-graphics/xorg-lib/libx11-diet-1.3/fix-utf8-wrong-define.patch renamed from meta/recipes-graphics/xorg-lib/libx11/fix-utf8-wrong-define.patch +0 -0
meta/recipes-graphics/xorg-lib/libx11-trim-1.3.4/include_fix.patch renamed from meta/recipes-graphics/xorg-lib/libx11-1.3.4/include_fix.patch +0 -0
meta/recipes-graphics/xorg-lib/libx11-trim-1.3.4/makekeys_crosscompile.patch renamed from meta/recipes-graphics/xorg-lib/libx11-1.3.4/makekeys_crosscompile.patch +0 -0
meta/recipes-graphics/xorg-lib/libx11-trim-1.3.4/nodolt.patch renamed from meta/recipes-graphics/xorg-lib/libx11-1.3.4/nodolt.patch +0 -0
meta/recipes-graphics/xorg-lib/libx11-trim-1.3.4/x11_disable_makekeys.patch renamed from meta/recipes-graphics/xorg-lib/libx11-1.3.4/x11_disable_makekeys.patch +0 -0
meta/recipes-graphics/xorg-lib/libx11-trim/include_fix.patch deleted +0 -25
@@ -1,25 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - ---- - configure.ac | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - ---- libX11-1.1.5.orig/configure.ac -+++ libX11-1.1.5/configure.ac -@@ -218,13 +218,13 @@ AC_SUBST(XDMCP_LIBS) - AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], ) - - # - # 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 - AC_MSG_ERROR([Cannot find keysymdef.h]) - fi
meta/recipes-graphics/xorg-lib/libx11-trim/nodolt.patch deleted +0 -14
@@ -1,14 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - -Index: libX11-1.2.1/configure.ac -=================================================================== ---- libX11-1.2.1.orig/configure.ac 2009-07-02 14:07:54.000000000 +0100 -+++ libX11-1.2.1/configure.ac 2009-07-02 14:08:01.000000000 +0100 -@@ -20,7 +20,6 @@ - - # Checks for programs. - AC_PROG_LIBTOOL --DOLT - AC_PROG_CC - XORG_CWARNFLAGS -
meta/recipes-graphics/xorg-lib/libx11-trim/x11_disable_makekeys.patch deleted +0 -31
@@ -1,31 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - ---- - src/util/Makefile.am | 17 ----------------- - 1 file changed, 17 deletions(-) - -Index: libX11-1.2.1/src/util/Makefile.am -=================================================================== ---- libX11-1.2.1.orig/src/util/Makefile.am 2008-10-07 18:18:19.000000000 +0100 -+++ libX11-1.2.1/src/util/Makefile.am 2009-07-02 14:04:38.000000000 +0100 -@@ -1,20 +1,3 @@ - # $XdotOrg: lib/X11/src/util/Makefile.am,v 1.4 2006-02-19 02:14:12 jamey Exp $ - --noinst_PROGRAMS=makekeys -- --makekeys_CFLAGS=$(X11_CFLAGS) -- --CC = @CC_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
meta/recipes-graphics/xorg-lib/libx11-trim_1.3.4.bb +4 -4
@@ -9,9 +9,9 @@ PR = "r1" DEPENDS += "libxcb xproto xextproto xtrans libxau kbproto inputproto xf86bigfontproto xproto-native" -SRC_URI += "file://../libx11-${PV}/x11_disable_makekeys.patch \ - file://../libx11-${PV}/include_fix.patch \ - file://../libx11-${PV}/nodolt.patch \ - file://../libx11-${PV}/makekeys_crosscompile.patch" +SRC_URI += "file://x11_disable_makekeys.patch \ + file://include_fix.patch \ + file://nodolt.patch \ + file://makekeys_crosscompile.patch" EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --disable-xcms --with-xcb"
Signature · 1 line
1.7.7
PATCH v2 23/30 libx11-diet: move old patches used only by libx11-diet-1.3 to separate directory
In reply to Martin Jansa---
.../{libx11 => libx11-diet-1.3}/include_fix.patch | 0
.../{libx11 => libx11-diet-1.3}/nodolt.patch | 0
.../x11_disable_makekeys.patch | 0
meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb | 1 -
4 files changed, 0 insertions(+), 1 deletions(-)
rename meta/recipes-graphics/xorg-lib/{libx11 => libx11-diet-1.3}/include_fix.patch (100%)
rename meta/recipes-graphics/xorg-lib/{libx11 => libx11-diet-1.3}/nodolt.patch (100%)
rename meta/recipes-graphics/xorg-lib/{libx11 => libx11-diet-1.3}/x11_disable_makekeys.patch (100%)meta/recipes-graphics/xorg-lib/libx11-diet-1.3/include_fix.patch renamed from meta/recipes-graphics/xorg-lib/libx11/include_fix.patch +0 -0
meta/recipes-graphics/xorg-lib/libx11-diet-1.3/nodolt.patch renamed from meta/recipes-graphics/xorg-lib/libx11/nodolt.patch +0 -0
meta/recipes-graphics/xorg-lib/libx11-diet-1.3/x11_disable_makekeys.patch renamed from meta/recipes-graphics/xorg-lib/libx11/x11_disable_makekeys.patch +0 -0
meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb +0 -1
@@ -17,7 +17,6 @@ SRC_URI += "file://x11_disable_makekeys.patch \ DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ libxdmcp xf86bigfontproto kbproto inputproto xproto-native" -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11" EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h --without-xcb --disable-udc --disable-xcms --disable-xlocale" CFLAGS += "-D_GNU_SOURCE"
Signature · 1 line
1.7.7
PATCH v2 24/30 libx11-diet: add SRC_URI checksums
In reply to Martin Jansa--- meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb +3 -0
@@ -14,6 +14,9 @@ SRC_URI += "file://x11_disable_makekeys.patch \ file://fix-utf8-wrong-define.patch \ file://nodolt.patch" +SRC_URI[md5sum] = "0545089013213e90aac19b8f8045d32e" +SRC_URI[sha256sum] = "34656d022ff2f94430b534612821428fe15ade028d86a42907958167f2e497ac" + DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \ libxdmcp xf86bigfontproto kbproto inputproto xproto-native"
Signature · 1 line
1.7.7
PATCH v2 25/30 xserver-nodm-init: merge some changes from meta-oe
In reply to Martin Jansa* /etc/X11/Xusername handling should be moved to x11-common so the same username and logic is used from initscript and when user starts it from terminal
--- .../x11-common/xserver-nodm-init/xserver-nodm | 30 ++++++-------------- 1 files changed, 9 insertions(+), 21 deletions(-)
meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +9 -21
@@ -8,10 +8,7 @@ # Default-Stop: 0 1 6 ### END INIT INFO -killproc() { # kill the named process(es) - pid=`/bin/pidof $1` - [ "$pid" != "" ] && kill $pid -} +. /etc/init.d/functions read CMDLINE < /proc/cmdline for x in $CMDLINE; do
@@ -25,25 +22,16 @@ done case "$1" in start) + # We don't want this script to block the rest of the boot process + if [ "$2" != "background" ]; then + $0 $1 background & + else . /etc/profile - username=root + echo "Starting Xserver" - if [ -f /etc/X11/Xusername ]; then - username=`cat /etc/X11/Xusername` - # setting for rootless X - chmod o+w /var/log - chmod g+r /dev/tty[0-3] - chmod o+rw /dev/input/* - # hidraw device is probably needed - if [ -e /dev/hidraw0 ]; then - chmod o+rw /dev/hidraw* - fi - fi - # Using su rather than sudo as latest 1.8.1 cause failure [YOCTO #1211] - su -l -c '/etc/X11/Xserver&' $username - # Wait for the desktop to say its finished loading - # before loading the rest of the system - # dbus-wait org.matchbox_project.desktop Loaded + . /etc/X11/xserver-common + xinit /etc/X11/Xsession -- `which $XSERVER` $ARGS >/var/log/Xsession.log 2>&1 + fi ;; stop)
Signature · 1 line
1.7.7
PATCH v2 26/30 glx-use-tls: add from meta-oe layer
In reply to Martin Jansa* it's in .bbclass instead of .inc because it's used by mesa and xserver-xf86 recipes
--- meta/classes/glx-use-tls.bbclass | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 meta/classes/glx-use-tls.bbclass
meta/classes/glx-use-tls.bbclass new file +7 -0
@@ -0,0 +1,7 @@ +def get_tls_setting(bb, d): + # until we have no prober TLS support in uclibc disable it + if bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 : + return "" + return "--enable-glx-tls" + +EXTRA_OECONF += "${@get_tls_setting(bb, d)}"
Signature · 1 line
1.7.7
Re: [PATCHv2 26/30] glx-use-tls: add from meta-oe layer
Can you add some commentary explaining why this is necessary -- i.e. what exactly is lacking in uClibc to mean it doesn't have "prober TLS support"?
p.
Quoted 22 lines · Martin Jansa
* it's in .bbclass instead of .inc because it's used by mesa and xserver-xf86 recipes
Signed-off-by Martin Jansa <[email protected]>--- meta/classes/glx-use-tls.bbclass | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 meta/classes/glx-use-tls.bbclassmeta/classes/glx-use-tls.bbclass new file +7
-0@@ -0,0 +1,7 @@ +def get_tls_setting(bb, d): + # until we have no prober TLS support in uclibc disable it + if bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 : + return "" + return "--enable-glx-tls" + +EXTRA_OECONF += "${@get_tls_setting(bb, d)}"
Re: [PATCHv2 26/30] glx-use-tls: add from meta-oe layer
Quoted 3 lines · Phil Blundell
Can you add some commentary explaining why this is necessary -- i.e. what exactly is lacking in uClibc to mean it doesn't have "prober TLS support"?
I'm not using uClibc myself and tracking original bbclass in OE-classic leads to this commit
http://git.openembedded.org/cgit.cgi/openembedded/commit/packages/mesa/mesa-tls.inc?id=b527d8f723c98c77f2f5c5358062e5348493d767
So I'm CCing woglinde and he will probably explain it.
Regards,
Quoted 33 lines
p.
Quoted 15 lines · Martin Jansa
* it's in .bbclass instead of .inc because it's used by mesa and xserver-xf86 recipes
Signed-off-by Martin Jansa <[email protected]>--- meta/classes/glx-use-tls.bbclass | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 meta/classes/glx-use-tls.bbclassmeta/classes/glx-use-tls.bbclass new file +0
-0meta/classes/glx-use-tls.bbclass line 7
Quoted 7 lines
meta/classes/glx-use-tls.bbclass new file +7
-0@@ -0,0 +1,7 @@ +def get_tls_setting(bb, d): + # until we have no prober TLS support in uclibc disable it + if bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 : + return "" + return "--enable-glx-tls" + +EXTRA_OECONF += "${@get_tls_setting(bb, d)}"_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCHv2 26/30] glx-use-tls: add from meta-oe layer
Quoted 10 lines · Martin Jansa
Quoted 3 lines · Phil Blundell
Can you add some commentary explaining why this is necessary -- i.e. what exactly is lacking in uClibc to mean it doesn't have "prober TLS support"?
I'm not using uClibc myself and tracking original bbclass in OE-classic leads to this commit
http://git.openembedded.org/cgit.cgi/openembedded/commit/packages/mesa/mesa-tls.inc?id=b527d8f723c98c77f2f5c5358062e5348493d767So I'm CCing woglinde and he will probably explain it.
At the very least this should become an include file in the mesa directory. Its not sufficiently generally used at this point to become a bbclass file...
Cheers,
Richard
Re: [PATCHv2 26/30] glx-use-tls: add from meta-oe layer
In reply to Martin JansaQuoted 10 lines · Martin Jansa
Quoted 3 lines · Phil Blundell
Can you add some commentary explaining why this is necessary -- i.e. what exactly is lacking in uClibc to mean it doesn't have "prober TLS support"?
I'm not using uClibc myself and tracking original bbclass in OE-classic leads to this commit
http://git.openembedded.org/cgit.cgi/openembedded/commit/packages/mesa/mesa-tls.inc?id=b527d8f723c98c77f2f5c5358062e5348493d767So I'm CCing woglinde and he will probably explain it.
I see this patch has been applied in the meantime so I guess it's a slightly academic question now, but I still think it would benefit from some further explanation.
p.
Re: [PATCHv2 26/30] glx-use-tls: add from meta-oe layer
Quoted 10 lines · Phil Blundell
Quoted 9 lines · Martin Jansa
Quoted 3 lines · Phil Blundell
Can you add some commentary explaining why this is necessary -- i.e. what exactly is lacking in uClibc to mean it doesn't have "prober TLS support"?
I'm not using uClibc myself and tracking original bbclass in OE-classic leads to this commit
http://git.openembedded.org/cgit.cgi/openembedded/commit/packages/mesa/mesa-tls.inc?id=b527d8f723c98c77f2f5c5358062e5348493d767
Quoted 5 lines
Quoted 1 line
So I'm CCing woglinde and he will probably explain it.
I see this patch has been applied in the meantime so I guess it's a slightly academic question now, but I still think it would benefit from some further explanation.
This patch is no longer needed. Since uclibc now supports TLS/NPTL and we do not support
Linuxthreads in OE (starting with oe-core) if we did configure with LT then uclibc does
not have TLS implementation that goes with LT but thats a moot point in oe-core
Quoted 10 lines
p.
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [PATCHv2 26/30] glx-use-tls: add from meta-oe layer
Quoted 17 lines · Khem Raj
Quoted 10 lines · Phil Blundell
Quoted 9 lines · Martin Jansa
Quoted 3 lines · Phil Blundell
Can you add some commentary explaining why this is necessary -- i.e. what exactly is lacking in uClibc to mean it doesn't have "prober TLS support"?
I'm not using uClibc myself and tracking original bbclass in OE-classic leads to this commit
http://git.openembedded.org/cgit.cgi/openembedded/commit/packages/mesa/mesa-tls.inc?id=b527d8f723c98c77f2f5c5358062e5348493d767Quoted 5 lines
Quoted 1 line
So I'm CCing woglinde and he will probably explain it.
I see this patch has been applied in the meantime so I guess it's a slightly academic question now, but I still think it would benefit from some further explanation.
Quoted 5 lines
This patch is no longer needed. Since uclibc now supports TLS/NPTL and we do not support
Linuxthreads in OE (starting with oe-core) if we did configure with LT then uclibc does
not have TLS implementation that goes with LT but thats a moot point in oe-core
I'm not using uclibc at all, but if you're 100% sure, then I'll send patch removing glx-use-tls.inc after the rest of Xorg patchset is applied and mesa removed from meta-oe..
Regards,
Quoted 16 lines
Quoted 11 lines
p.
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCHv2 26/30] glx-use-tls: add from meta-oe layer
Quoted 4 lines · Martin Jansa
I'm not using uclibc at all, but if you're 100% sure, then I'll send patch removing glx-use-tls.inc after the rest of Xorg patchset is applied and mesa removed from meta-oe..
100%
Quoted 2 lines
Regards,
PATCH v2 27/30 mesa: add mesa-dri.inc and mesa-xlib.inc with shared options, move uclibc.patch
In reply to Martin Jansa* uclibc patch does apply to all mesa versions and adding mesa-dri to FILESPATH in all recipes is worse then adding mesa
---
meta/recipes-graphics/mesa/mesa-common.inc | 36 +++++++++++++++++---
meta/recipes-graphics/mesa/mesa-dri.inc | 22 ++++++++++++
meta/recipes-graphics/mesa/mesa-xlib.inc | 1 +
.../mesa/{mesa-dri => mesa}/uclibc.patch | 0
4 files changed, 54 insertions(+), 5 deletions(-)
create mode 100644 meta/recipes-graphics/mesa/mesa-dri.inc
create mode 100644 meta/recipes-graphics/mesa/mesa-xlib.inc
rename meta/recipes-graphics/mesa/{mesa-dri => mesa}/uclibc.patch (100%)meta/recipes-graphics/mesa/mesa-common.inc +31 -5
@@ -10,25 +10,51 @@ HOMEPAGE = "http://mesa3d.org" BUGTRACKER = "https://bugs.freedesktop.org" SECTION = "x11" LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d" -SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2;name=mesalib \ - ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaDemos-${PV}.tar.bz2;name=mesademos " +INC_PR = "r12" +PE = "2" +PROTO_DEPS = "xf86driproto glproto" +LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes" + +DEPENDS = "makedepend-native ${PROTO_DEPS} ${LIB_DEPS}" + +SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2" S = "${WORKDIR}/Mesa-${PV}" PROVIDES = "virtual/libgl" +# for mesa-dri and mesa-xlib +FILESEXTRAPATHS_append := "${THISDIR}/mesa:${THISDIR}/mesa-${PV}:" + inherit autotools pkgconfig EXTRA_OECONF = "--enable-glu \ --disable-glw \ --disable-glut \ - --enable-glx-tls" + " + +inherit glx-use-tls # Multiple virtual/gl providers being built breaks staging EXCLUDE_FROM_WORLD = "1" -PACKAGES =+ "libglu libglu-dev" - +PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev" +FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so" +FILES_libgl = "${libdir}/libGL.so.*" FILES_libglu = "${libdir}/libGLU.so.*" +FILES_libosmesa = "${libdir}/libOSMesa.so.*" + +FILES_libegl-dev = "${libdir}/libEGL.* ${includedir}/EGL" +FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL" FILES_libglu-dev = "${libdir}/libGLU.* ${includedir}/GL/glu*.h" +FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h" + +FILES_${PN}-dbg += "${libdir}/dri/.debug/*" +FILES_libegl-dbg += "${libdir}/egl/.debug/*" + +do_install_append () { + install -d ${D}/${includedir}/GL + cp -pPr ${S}/include/GL/internal* ${D}/${includedir}/GL +}
meta/recipes-graphics/mesa/mesa-dri.inc new file +22 -0
@@ -0,0 +1,22 @@ +DEPENDS += "dri2proto expat libdrm" + +# most of our targets do not have DRI so will use mesa-xlib +DEFAULT_PREFERENCE = "-1" + +MACHINE_DRI_MODULES ?= "" +PACKAGE_ARCH = "${@['${MACHINE_ARCH}','${TUNE_PKGARCH}'][bb.data.getVar('MACHINE_DRI_MODULES',d,1) == '']}" + +EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium -with-dri-drivers=swrast,${MACHINE_DRI_MODULES}" + +python populate_packages_prepend() { + import os.path + + dri_drivers_root = os.path.join(bb.data.getVar('libdir', d, 1), "dri") + + do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='') +} + +PACKAGES_DYNAMIC = "mesa-dri-driver-*" + +FILES_${PN}-dbg += "${libdir}/dri/.debug/*" +
meta/recipes-graphics/mesa/mesa-xlib.inc new file +1 -0
@@ -0,0 +1 @@ +EXTRA_OECONF += " --with-driver=xlib"
meta/recipes-graphics/mesa/mesa/uclibc.patch renamed from meta/recipes-graphics/mesa/mesa-dri/uclibc.patch +0 -0
Signature · 1 line
1.7.7
PATCH v2 28/30 mesa-dri-glsl-native: drop recipe which wasn't usefull since 7.8.2 was removed
In reply to Martin Jansa* it will be added again with 7.11 but with different content (builtin_compiler, instead of glsl)
--- .../mesa/mesa-dri-glsl-native_7.8.2.bb | 27 -------------------- 1 files changed, 0 insertions(+), 27 deletions(-) delete mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb
meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb deleted +0 -27
@@ -1,27 +0,0 @@ -DESCRIPTION = "gl shader language specific build from mesa-dri" -HOMEPAGE = "http://mesa3d.org" -BUGTRACKER = "https://bugs.freedesktop.org" -SECTION = "x11" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://apps/compile.c;endline=26;md5=27c2833286ce9566b162bcbe21d5b267" -PR = "r0" - -DEPENDS = "makedepend-native" - -SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2" -SRC_URI[md5sum] = "6be2d343a0089bfd395ce02aaf8adb57" -SRC_URI[sha256sum] = "505bf418dceba05837f4ea1b1972b9620c35f8cb94bc4d1e6d573c15f562576d" - -S = "${WORKDIR}/Mesa-7.8.2/src/glsl/" - -inherit native - -# use default config for native build -do_configure_prepend() { - ln -s ${S}/../../configs/default ${S}/../../configs/current -} - -do_install() { - install -d ${D}/${bindir} - install -m 755 ${S}/apps/compile ${D}/${bindir}/glsl-compile -}
Signature · 1 line
1.7.7
PATCH v2 29/30 mesa: add new version 7.11
In reply to Martin Jansa--- meta/recipes-graphics/mesa/mesa-7.11.inc | 15 ++++++++++ .../mesa/mesa-dri-glsl-native_7.11.bb | 28 ++++++++++++++++++++ meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 4 +++ meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 4 +++ 4 files changed, 51 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-graphics/mesa/mesa-7.11.inc create mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb create mode 100644 meta/recipes-graphics/mesa/mesa-dri_7.11.bb create mode 100644 meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
meta/recipes-graphics/mesa/mesa-7.11.inc new file +15 -0
@@ -0,0 +1,15 @@ +SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ + file://uclibc.patch \ + " + +DEPENDS += "mesa-dri-glsl-native" + +SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13" +SRC_URI[sha256sum] = "f8bf37a00882840a3e3d327576bc26a79ae7f4e18fe1f7d5f17a5b1c80dd7acf" + +do_configure_prepend() { + #check for python not python2, because python-native does not stage python2 binary/link + sed -i 's/AC_CHECK_PROGS(\[PYTHON2\], \[python2 python\])/AC_CHECK_PROGS(\[PYTHON2\], \[python python\])/g' ${S}/configure.ac + # We need builtin_compiler built for buildhost arch instead of target (is provided by mesa-dri-glsl-native)" + sed -i "s#\./builtin_compiler#${STAGING_BINDIR_NATIVE}/glsl/builtin_compiler#g" ${S}/src/glsl/Makefile +}
meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb new file +28 -0
@@ -0,0 +1,28 @@ +DESCRIPTION = "gl shader language specific build from mesa-dri" +HOMEPAGE = "http://mesa3d.org" +BUGTRACKER = "https://bugs.freedesktop.org" +SECTION = "x11" +LICENSE = "GPLv3+" +LIC_FILES_CHKSUM = "file://glsl_parser.cpp;beginline=3;endline=33;md5=d078f1cddc2fc355719c090482254bd9" + +DEPENDS = "makedepend-native" + +SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2" + +SRC_URI[md5sum] = "ff03aca82d0560009a076a87c888cf13" +SRC_URI[sha256sum] = "f8bf37a00882840a3e3d327576bc26a79ae7f4e18fe1f7d5f17a5b1c80dd7acf" + +S = "${WORKDIR}/Mesa-${PV}/src/glsl/" + +inherit native + +# use default config for native build +do_configure_prepend() { + ln -s ${S}/../../configs/default ${S}/../../configs/current +} + +do_install() { + install -d ${D}/${bindir}/glsl + install -m 755 ${S}/builtin_compiler ${D}/${bindir}/glsl/builtin_compiler + install -m 755 ${S}/glsl_compiler ${D}/${bindir}/glsl/glsl_compiler +}
meta/recipes-graphics/mesa/mesa-dri_7.11.bb new file +4 -0
@@ -0,0 +1,4 @@ +require mesa-common.inc +require mesa-${PV}.inc +require mesa-dri.inc +PR = "${INC_PR}.0"
meta/recipes-graphics/mesa/mesa-xlib_7.11.bb new file +4 -0
@@ -0,0 +1,4 @@ +require mesa-common.inc +require mesa-${PV}.inc +require mesa-xlib.inc +PR = "${INC_PR}.0"
Signature · 1 line
1.7.7
Re: [PATCHv2 29/30] mesa: add new version 7.11
Quoted 11 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>--- meta/recipes-graphics/mesa/mesa-7.11.inc | 15 ++++++++++ .../mesa/mesa-dri-glsl-native_7.11.bb | 28 ++++++++++++++++++++ meta/recipes-graphics/mesa/mesa-dri_7.11.bb | 4 +++ meta/recipes-graphics/mesa/mesa-xlib_7.11.bb | 4 +++ 4 files changed, 51 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-graphics/mesa/mesa-7.11.inc create mode 100644 meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.11.bb create mode 100644 meta/recipes-graphics/mesa/mesa-dri_7.11.bb create mode 100644 meta/recipes-graphics/mesa/mesa-xlib_7.11.bb
I've been seeing a ton of different issues after the xserver upgrade with mesa/driver mismatches. In order to try and get some stability back to master, I've merged just enough of the mesa upgrade to 7.11 to get things building again.
Looking at the rest of the patch, I have worried about "machine specific" elements in something which is not machine specific. The rest of the pieces are likley going to need more thought (per arch default config?).
We should be able to sort through the remaining changes in this patch series as I like moving things to the common include, it just needs to be split from the version upgrade and the machine issue resolved.
I've also bumped the video-intel driver version and merged a fix to get things to build.
Cheers,
Richard
PATCH v2 30/30 mesa: drop older 7.10.2 and 7.7+git recipes
In reply to Martin Jansa--- meta/recipes-graphics/mesa/mesa-dri/cross2.patch | 46 ------ meta/recipes-graphics/mesa/mesa-dri/crossfix.patch | 18 --- meta/recipes-graphics/mesa/mesa-dri/i586/matypes.h | 162 -------------------- meta/recipes-graphics/mesa/mesa-dri_7.10.2.bb | 40 ----- meta/recipes-graphics/mesa/mesa-dri_git.bb | 57 ------- meta/recipes-graphics/mesa/mesa-xlib_7.10.2.bb | 22 --- 6 files changed, 0 insertions(+), 345 deletions(-) delete mode 100644 meta/recipes-graphics/mesa/mesa-dri/cross2.patch delete mode 100644 meta/recipes-graphics/mesa/mesa-dri/crossfix.patch delete mode 100644 meta/recipes-graphics/mesa/mesa-dri/i586/matypes.h delete mode 100644 meta/recipes-graphics/mesa/mesa-dri_7.10.2.bb delete mode 100644 meta/recipes-graphics/mesa/mesa-dri_git.bb delete mode 100644 meta/recipes-graphics/mesa/mesa-xlib_7.10.2.bb
meta/recipes-graphics/mesa/mesa-dri/cross2.patch deleted +0 -46
@@ -1,46 +0,0 @@ -Upstream-Status: Pending - -Index: git/configure.ac -=================================================================== ---- git.orig/configure.ac 2009-09-01 16:38:26.000000000 +0100 -+++ git/configure.ac 2009-09-01 16:38:47.000000000 +0100 -@@ -269,15 +269,6 @@ - GLAPI_ASM_SOURCES="" - AC_MSG_CHECKING([whether to enable assembly]) - test "x$enable_asm" = xno && AC_MSG_RESULT([no]) --# disable if cross compiling on x86/x86_64 since we must run gen_matypes --if test "x$enable_asm" = xyes && test "x$cross_compiling" = xyes; then -- case "$host_cpu" in -- i?86 | x86_64) -- enable_asm=no -- AC_MSG_RESULT([no, cross compiling]) -- ;; -- esac --fi - # check for supported arches - if test "x$enable_asm" = xyes; then - case "$host_cpu" in -Index: git/src/mesa/x86/Makefile -=================================================================== ---- git.orig/src/mesa/x86/Makefile 2009-09-01 16:40:02.000000000 +0100 -+++ git/src/mesa/x86/Makefile 2009-09-01 16:40:13.000000000 +0100 -@@ -14,19 +14,6 @@ - -I../tnl - - --default: gen_matypes matypes.h -- --clean: -- -rm -f matypes.h gen_matypes -- -- --gen_matypes: gen_matypes.c -- $(HOST_CC) $(ARCH_FLAGS) $(INCLUDE_DIRS) $(HOST_CFLAGS) gen_matypes.c -o gen_matypes -- --# need some special rules here, unfortunately --matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes -- ./gen_matypes > matypes.h -- - common_x86_asm.o: matypes.h - 3dnow_normal.o: matypes.h - 3dnow_xform1.o: matypes.h
meta/recipes-graphics/mesa/mesa-dri/crossfix.patch deleted +0 -18
@@ -1,18 +0,0 @@ -Upstream-Status: Pending - -Index: Mesa-7.5/bin/mklib -=================================================================== ---- Mesa-7.5.orig/bin/mklib 2009-08-12 13:01:34.000000000 +0100 -+++ Mesa-7.5/bin/mklib 2009-08-12 13:04:19.000000000 +0100 -@@ -234,9 +234,9 @@ - if [ "x$LINK" = "x" ] ; then - # -linker was not specified so set default link command now - if [ $CPLUSPLUS = 1 ] ; then -- LINK=g++ -+ LINK=$CXX - else -- LINK=gcc -+ LINK=$CC - fi - fi -
meta/recipes-graphics/mesa/mesa-dri/i586/matypes.h deleted +0 -162
162 lines not on this page · raw message
meta/recipes-graphics/mesa/mesa-dri_7.10.2.bb deleted +0 -40
@@ -1,40 +0,0 @@ -include mesa-common.inc - -LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d" - -PROTO_DEPS = "xf86driproto glproto dri2proto" -LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat \ - libxml2-native" - -DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native python-native" - -PR = "r2" - -SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ - file://crossfix.patch \ - file://uclibc.patch \ - " - -SRC_URI[md5sum] = "f5de82852f1243f42cc004039e10b771" -SRC_URI[sha256sum] = "8ced2678ce11cf30804694a92ea3ca6b82f158ae8995bdc626c7e85aac71c7c1" - -# most of our targets do not have DRI so will use mesa-xlib -DEFAULT_PREFERENCE = "-1" - -LEAD_SONAME = "libGL.so.1" - -EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium" - -python populate_packages_prepend() { - import os.path - - dri_drivers_root = os.path.join(bb.data.getVar('libdir', d, 1), "dri") - - do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='') -} - -COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' - -PACKAGES_DYNAMIC = "mesa-dri-driver-*" - -FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
meta/recipes-graphics/mesa/mesa-dri_git.bb deleted +0 -57
57 lines not on this page · raw message
meta/recipes-graphics/mesa/mesa-xlib_7.10.2.bb deleted +0 -22
@@ -1,22 +0,0 @@ -include mesa-common.inc - -FILESPATH =. "${FILE_DIRNAME}/mesa-dri:" - -SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ - file://uclibc.patch \ - " - -SRC_URI[md5sum] = "f5de82852f1243f42cc004039e10b771" -SRC_URI[sha256sum] = "8ced2678ce11cf30804694a92ea3ca6b82f158ae8995bdc626c7e85aac71c7c1" - -LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d" - -PROTO_DEPS = "xf86driproto glproto" -LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes libxml2-native" - -DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} makedepend-native" - -PE = "1" -PR = "r1" - -EXTRA_OECONF += "--with-driver=xlib"
Signature · 1 line
1.7.7
Quoted 2 lines · Martin Jansa
this patchset brings meta-oe and oe-core xorg stuff together and most of xorg recipes will be removed from meta-oe (sending another pull request now).
Did anything in the first seven patches of this series change compared to what I have queued?
Cheers,
Richard
Quoted 6 lines · Richard Purdie
Quoted 2 lines · Martin Jansa
this patchset brings meta-oe and oe-core xorg stuff together and most of xorg recipes will be removed from meta-oe (sending another pull request now).
Did anything in the first seven patches of this series change compared to what I have queued?
No
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]