Skip to contentSkip to conversation

Mesa 17, other upgrades, piglit

PATCH In review Jussi Kukkonen 3 participants 15 messages Feb 14, 2017 – Feb 17, 2017

lore
Share & tools
lore
#0 lore raw

cover Mesa 17, other upgrades, piglit

Bunch of graphics upgrades, the only major one is mesa 17. On top of the piglit update I've added the same piglit-generated-tests-compressed hack I've sent before in case you're interested...

I've smoketested as usual (seems fine), and did a piglit run with ok results:

    piglit:   ca58eec0b9 (2017-02-06)
    mesa:     17.0.0
    Hardware: nuc6i5syh, gen9 graphics (Iris 540)

    summary:
           name: piglit
           ----  ------
           pass:  46120
           fail:    298
          crash:      2
           skip:   5187
           warn:      5
          total:  51612

Thanks,
Jussi

The following changes since commit e758547db9048d4aa1c1415d6af8072f519fae24:

nss: Fix nss-native so the checksum doesn't change with BUILD_ARCH (2017-02-09 10:52:03 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib jku/mesa17
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/mesa17

Jussi Kukkonen (11):
mesa: Upgrade 13.0.4 -> 17.0.0
gdk-pixbuf: Upgrade 2.36.1 -> 2.36.4
util-macros: Upgrade 1.19.0 -> 1.19.1
presentproto: Upgrade 1.0 -> 1.1
xauth: Upgrade 1.0.9 -> 1.0.10
xf86-input-libinput: Upgrade 0.23.0 -> 0.24.0
xkeyboard-config: Upgrade 2.19 -> 2.20
libinput: Upgrade 1.6.0 -> 1.6.1
piglit: Upgrade to current master
piglit: Package tests in compressed form as well
core-tools-testapps: Re-add piglit

 .../packagegroup-core-tools-testapps.bb            |  2 +
 .../{gdk-pixbuf_2.36.1.bb => gdk-pixbuf_2.36.4.bb} |  4 +-
 .../mesa/{mesa-gl_13.0.4.bb => mesa-gl_17.0.0.bb}  |  0
 meta/recipes-graphics/mesa/mesa.inc                |  8 +---
 .../mesa/{mesa_13.0.4.bb => mesa_17.0.0.bb}        |  7 ++-
 .../0001-cmake-Link-test-utils-with-ldl.patch      | 41 ----------------
 ...0001-cmake-Link-utils-with-xcb-explicitly.patch | 54 ----------------------
 meta/recipes-graphics/piglit/piglit/piglit.sh      | 20 ++++++++
 meta/recipes-graphics/piglit/piglit_git.bb         | 31 ++++++++++---
 .../{libinput_1.6.0.bb => libinput_1.6.1.bb}       |  4 +-
 .../xorg-app/{xauth_1.0.9.bb => xauth_1.0.10.bb}   |  4 +-
 ...put_0.23.0.bb => xf86-input-libinput_0.24.0.bb} |  4 +-
 ...ard-config_2.19.bb => xkeyboard-config_2.20.bb} |  4 +-
 .../xorg-proto/presentproto_git.bb                 |  6 +--
 ...util-macros_1.19.0.bb => util-macros_1.19.1.bb} |  4 +-
 15 files changed, 64 insertions(+), 129 deletions(-)
 rename meta/recipes-gnome/gdk-pixbuf/{gdk-pixbuf_2.36.1.bb => gdk-pixbuf_2.36.4.bb} (96%)
 rename meta/recipes-graphics/mesa/{mesa-gl_13.0.4.bb => mesa-gl_17.0.0.bb} (100%)
 rename meta/recipes-graphics/mesa/{mesa_13.0.4.bb => mesa_17.0.0.bb} (74%)
 delete mode 100644 meta/recipes-graphics/piglit/piglit/0001-cmake-Link-test-utils-with-ldl.patch
 delete mode 100644 meta/recipes-graphics/piglit/piglit/0001-cmake-Link-utils-with-xcb-explicitly.patch
 create mode 100644 meta/recipes-graphics/piglit/piglit/piglit.sh
 rename meta/recipes-graphics/wayland/{libinput_1.6.0.bb => libinput_1.6.1.bb} (85%)
 rename meta/recipes-graphics/xorg-app/{xauth_1.0.9.bb => xauth_1.0.10.bb} (75%)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-libinput_0.23.0.bb => xf86-input-libinput_0.24.0.bb} (63%)
 rename meta/recipes-graphics/xorg-lib/{xkeyboard-config_2.19.bb => xkeyboard-config_2.20.bb} (88%)
 rename meta/recipes-graphics/xorg-util/{util-macros_1.19.0.bb => util-macros_1.19.1.bb} (75%)
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/11 mesa: Upgrade 13.0.4 -> 17.0.0

* New feature release with lots of changes
* Versioning change (17 as in 2017, no longer relates to GL bumps)
* OpenGL 4.5 support on Haswell
* mesa now implements its own sha1 instead of having 5 configurable sha-providers

---
 .../mesa/{mesa-gl_13.0.4.bb => mesa-gl_17.0.0.bb}                 | 0
 meta/recipes-graphics/mesa/mesa.inc                               | 8 +-------
 meta/recipes-graphics/mesa/{mesa_13.0.4.bb => mesa_17.0.0.bb}     | 7 +++----
 3 files changed, 4 insertions(+), 11 deletions(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_13.0.4.bb => mesa-gl_17.0.0.bb} (100%)
 rename meta/recipes-graphics/mesa/{mesa_13.0.4.bb => mesa_17.0.0.bb} (74%)
meta/recipes-graphics/mesa/mesa-gl_17.0.0.bb renamed from meta/recipes-graphics/mesa/mesa-gl_13.0.4.bb +0 -0
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_13.0.4.bb
rename to meta/recipes-graphics/mesa/mesa-gl_17.0.0.bb
meta/recipes-graphics/mesa/mesa.inc +1 -7
index 5d882b1..befb35e 100644
@@ -24,7 +24,7 @@ REQUIRED_DISTRO_FEATURES = "opengl"
 
 EXTRA_OECONF = "--enable-shared-glapi"
 
-PACKAGECONFIG ??= "gbm egl gles dri ${MESA_CRYPTO} \
+PACKAGECONFIG ??= "gbm egl gles dri \
 		${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}\
 		${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}\
 		"
@@ -67,12 +67,6 @@ PACKAGECONFIG[xa]  = "--enable-xa, --disable-xa"
 OSMESA = "${@bb.utils.contains('PACKAGECONFIG', 'gallium', 'gallium-osmesa', 'osmesa', d)}"
 PACKAGECONFIG[osmesa] = "--enable-${OSMESA},--disable-${OSMESA}"
 
-# Mesa requires one of the following crypto implementation, pick one of them
-MESA_CRYPTO ??= "openssl"
-PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl"
-PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle"
-PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt"
-
 # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
 FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"
 
meta/recipes-graphics/mesa/mesa_17.0.0.bb renamed from meta/recipes-graphics/mesa/mesa_13.0.4.bb +3 -4
similarity index 74%
rename from meta/recipes-graphics/mesa/mesa_13.0.4.bb
rename to meta/recipes-graphics/mesa/mesa_17.0.0.bb
index 1416c9f..6576e3c 100644
@@ -1,13 +1,12 @@
 require ${BPN}.inc
 
-SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz \
+SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/mesa-${PV}.tar.xz \
            file://replace_glibc_check_with_linux.patch \
            file://disable-asm-on-non-gcc.patch \
            file://0001-Use-wayland-scanner-in-the-path.patch \
 "
-
-SRC_URI[md5sum] = "d088a921e935218833a8071cb672a574"
-SRC_URI[sha256sum] = "a95d7ce8f7bd5f88585e4be3144a341236d8c0fc91f6feaec59bb8ba3120e726"
+SRC_URI[md5sum] = "932e4171a86b14940c06812356486155"
+SRC_URI[sha256sum] = "39db3d59700159add7f977307d12a7dfe016363e760ad82280ac4168ea668481"
 
 #because we cannot rely on the fact that all apps will use pkgconfig,
 #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
Signature · 1 line
2.1.4
#2 lore raw

Re: [PATCH 01/11] mesa: Upgrade 13.0.4 -> 17.0.0

Quoted 2 lines · Jussi Kukkonen

* New feature release with lots of changes
* Versioning change (17 as in 2017, no longer relates to GL bumps)

There is also this paragraph in release notes:
https://www.mesa3d.org/relnotes/17.0.0.html

Mesa 17.0.0 is a new development release. People who are concerned with stability and reliability should stick with a previous release or wait for Mesa 17.0.1.

If you don't want to wait for 17.0.1 than maybe mention it in commit message.

Quoted 75 lines

* OpenGL 4.5 support on Haswell
* mesa now implements its own sha1 instead of having 5 configurable sha-providers

---
 .../mesa/{mesa-gl_13.0.4.bb => mesa-gl_17.0.0.bb}                 | 0
 meta/recipes-graphics/mesa/mesa.inc                               | 8 +-------
 meta/recipes-graphics/mesa/{mesa_13.0.4.bb => mesa_17.0.0.bb}     | 7 +++----
 3 files changed, 4 insertions(+), 11 deletions(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_13.0.4.bb => mesa-gl_17.0.0.bb} (100%)
 rename meta/recipes-graphics/mesa/{mesa_13.0.4.bb => mesa_17.0.0.bb} (74%)
meta/recipes-graphics/mesa/mesa-gl_17.0.0.bb renamed from meta/recipes-graphics/mesa/mesa-gl_13.0.4.bb +0 -0
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_13.0.4.bb
rename to meta/recipes-graphics/mesa/mesa-gl_17.0.0.bb
meta/recipes-graphics/mesa/mesa.inc +1 -7
index 5d882b1..befb35e 100644
@@ -24,7 +24,7 @@ REQUIRED_DISTRO_FEATURES = "opengl"
 
 EXTRA_OECONF = "--enable-shared-glapi"
 
-PACKAGECONFIG ??= "gbm egl gles dri ${MESA_CRYPTO} \
+PACKAGECONFIG ??= "gbm egl gles dri \
 		${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}\
 		${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}\
 		"
@@ -67,12 +67,6 @@ PACKAGECONFIG[xa]  = "--enable-xa, --disable-xa"
 OSMESA = "${@bb.utils.contains('PACKAGECONFIG', 'gallium', 'gallium-osmesa', 'osmesa', d)}"
 PACKAGECONFIG[osmesa] = "--enable-${OSMESA},--disable-${OSMESA}"
 
-# Mesa requires one of the following crypto implementation, pick one of them
-MESA_CRYPTO ??= "openssl"
-PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl"
-PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle"
-PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt"
-
 # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
 FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"
 
meta/recipes-graphics/mesa/mesa_17.0.0.bb renamed from meta/recipes-graphics/mesa/mesa_13.0.4.bb +3 -4
similarity index 74%
rename from meta/recipes-graphics/mesa/mesa_13.0.4.bb
rename to meta/recipes-graphics/mesa/mesa_17.0.0.bb
index 1416c9f..6576e3c 100644
@@ -1,13 +1,12 @@
 require ${BPN}.inc
 
-SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz \
+SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/mesa-${PV}.tar.xz \
            file://replace_glibc_check_with_linux.patch \
            file://disable-asm-on-non-gcc.patch \
            file://0001-Use-wayland-scanner-in-the-path.patch \
 "
-
-SRC_URI[md5sum] = "d088a921e935218833a8071cb672a574"
-SRC_URI[sha256sum] = "a95d7ce8f7bd5f88585e4be3144a341236d8c0fc91f6feaec59bb8ba3120e726"
+SRC_URI[md5sum] = "932e4171a86b14940c06812356486155"
+SRC_URI[sha256sum] = "39db3d59700159add7f977307d12a7dfe016363e760ad82280ac4168ea668481"
 
 #because we cannot rely on the fact that all apps will use pkgconfig,
 #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
Signature · 7 lines
2.1.4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

Re: [PATCH 01/11] mesa: Upgrade 13.0.4 -> 17.0.0

Quoted 7 lines · Martin Jansa
Quoted 2 lines · Jussi Kukkonen

* New feature release with lots of changes
* Versioning change (17 as in 2017, no longer relates to GL bumps)

There is also this paragraph in release notes:
https://www.mesa3d.org/relnotes/17.0.0.html

Quoted 6 lines

Mesa 17.0.0 is a new development release. People who are concerned with stability and reliability should stick with a previous release or wait for Mesa 17.0.1.

If you don't want to wait for 17.0.1 than maybe mention it in commit message.

Frankly I forgot mesa did this.

Typically the .1 release comes within a few weeks. I'm fine with waiting for that.

Ross, let me know if you'd like me to re-submit (the piglit changes should be fine with current mesa though).

Jussi

Quoted 92 lines
Quoted 8 lines

* OpenGL 4.5 support on Haswell
* mesa now implements its own sha1 instead of having 5 configurable sha-providers

---
 .../mesa/{mesa-gl_13.0.4.bb => mesa-gl_17.0.0.bb}                 | 0
 meta/recipes-graphics/mesa/mesa.inc                               | 8
+-------
>  meta/recipes-graphics/mesa/{mesa_13.0.4.bb => mesa_17.0.0.bb}     | 7

+++----

Quoted 2 lines
 3 files changed, 4 insertions(+), 11 deletions(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_13.0.4.bb =>

mesa-gl_17.0.0.bb} (100%)

Quoted 1 line
 rename meta/recipes-graphics/mesa/{mesa_13.0.4.bb => mesa_17.0.0.bb}

(74%)

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta/recipes-graphics/mesa/mesa-gl_17.0.0.bb

Review

Quoted 4 lines

similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_13.0.4.bb rename to meta/recipes-graphics/mesa/mesa-gl_17.0.0.bb

(quoted diff) +0 -0

b/meta/recipes-graphics/mesa/mesa.inc

meta/recipes-graphics/mesa/mesa.inc REQUIRED_DISTRO_FEATURES = "opengl" · line 28

Quoted 10 lines

index 5d882b1..befb35e 100644

meta/recipes-graphics/mesa/mesa.inc +1 -1
@@ -24,7 +24,7 @@ REQUIRED_DISTRO_FEATURES = "opengl"
 
 EXTRA_OECONF = "--enable-shared-glapi"
 
-PACKAGECONFIG ??= "gbm egl gles dri ${MESA_CRYPTO} \
+PACKAGECONFIG ??= "gbm egl gles dri \
              ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '',

d)}\

meta/recipes-graphics/mesa/mesa.inc REQUIRED_DISTRO_FEATURES = "opengl" · line 29

Quoted 1 line
meta/recipes-graphics/mesa/mesa.inc +0 -0
              ${@bb.utils.contains('DISTRO_FEATURES', 'wayland',

'wayland', '', d)}\

meta/recipes-graphics/mesa/mesa.inc PACKAGECONFIG[xa] = "--enable-xa, --disable-xa" · line 67

Quoted 3 lines
meta/recipes-graphics/mesa/mesa.inc +0 -0
              "
@@ -67,12 +67,6 @@ PACKAGECONFIG[xa]  = "--enable-xa, --disable-xa"
 OSMESA = "${@bb.utils.contains('PACKAGECONFIG', 'gallium',

'gallium-osmesa', 'osmesa', d)}"

meta/recipes-graphics/mesa/mesa.inc PACKAGECONFIG[xa] = "--enable-xa, --disable-xa"

Quoted 3 lines
meta/recipes-graphics/mesa/mesa.inc +0 -1
 PACKAGECONFIG[osmesa] = "--enable-${OSMESA},--disable-${OSMESA}"
 
-# Mesa requires one of the following crypto implementation, pick one of

them

Review

Quoted 9 lines
meta/recipes-graphics/mesa/mesa.inc +0 -5
-MESA_CRYPTO ??= "openssl"
-PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl"
-PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle"
-PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt"
-
 # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
 FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"
 
(quoted diff) +0 -0

b/meta/recipes-graphics/mesa/mesa_17.0.0.bb

Quoted 8 lines

similarity index 74%
rename from meta/recipes-graphics/mesa/mesa_13.0.4.bb rename to meta/recipes-graphics/mesa/mesa_17.0.0.bb index 1416c9f..6576e3c 100644

meta/recipes-graphics/mesa/mesa_17.0.0.bb renamed from meta/recipes-graphics/mesa/mesa_13.0.4.bb +0 -0
@@ -1,13 +1,12 @@
 require ${BPN}.inc

meta/recipes-graphics/mesa/mesa_17.0.0.bb line 10

Quoted 10 lines
meta/recipes-graphics/mesa/mesa_17.0.0.bb renamed from meta/recipes-graphics/mesa/mesa_13.0.4.bb +1 -4
 
-SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz \
+SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/mesa-${PV}.tar.xz \
            file://replace_glibc_check_with_linux.patch \
            file://disable-asm-on-non-gcc.patch \
            file://0001-Use-wayland-scanner-in-the-path.patch \
 "
-
-SRC_URI[md5sum] = "d088a921e935218833a8071cb672a574"
-SRC_URI[sha256sum] = "a95d7ce8f7bd5f88585e4be3144a34

1236d8c0fc91f6feaec59bb8ba3120e726"

meta/recipes-graphics/mesa/mesa_17.0.0.bb line 9

Quoted 2 lines
meta/recipes-graphics/mesa/mesa_17.0.0.bb renamed from meta/recipes-graphics/mesa/mesa_13.0.4.bb +2 -0
+SRC_URI[md5sum] = "932e4171a86b14940c06812356486155"
+SRC_URI[sha256sum] = "39db3d59700159add7f977307d12a7

dfe016363e760ad82280ac4168ea668481"

Quoted 11 lines
meta/recipes-graphics/mesa/mesa_17.0.0.bb renamed from meta/recipes-graphics/mesa/mesa_13.0.4.bb +0 -1
 #because we cannot rely on the fact that all apps will use pkgconfig,
 #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
--

2.1.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
Martin 'JaMa' Jansa jabber: [email protected]

#4 lore raw

Re: [PATCH 01/11] mesa: Upgrade 13.0.4 -> 17.0.0

Quoted 3 lines · Jussi Kukkonen

Ross, let me know if you'd like me to re-submit (the piglit changes should be fine with current mesa though).

Thats fine, I'll just drop the mesa upgrade.

Ross

#5 lore raw

PATCH 2/11 gdk-pixbuf: Upgrade 2.36.1 -> 2.36.4

In reply to Jussi Kukkonen

Bug fix releases.

---
 .../gdk-pixbuf/{gdk-pixbuf_2.36.1.bb => gdk-pixbuf_2.36.4.bb}         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-gnome/gdk-pixbuf/{gdk-pixbuf_2.36.1.bb => gdk-pixbuf_2.36.4.bb} (96%)
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.4.bb renamed from meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.1.bb +2 -2
similarity index 96%
rename from meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.1.bb
rename to meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.4.bb
index 98e5090..3a88d91 100644
@@ -19,8 +19,8 @@ SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
            file://fatal-loader.patch \
            "
 
-SRC_URI[md5sum] = "fe30b0420e013f2c4590ae6226d895d4"
-SRC_URI[sha256sum] = "9d5ba72070460c1b5b74115d395a3e33daeb7b7b67fb256cdccc9d7187c42a38"
+SRC_URI[md5sum] = "aef5fe5888b9f578573e331501d08f85"
+SRC_URI[sha256sum] = "0b19901c3eb0596141d2d48ddb9dac79ad1524bdf59366af58ab38fcb9ee7463"
 
 inherit autotools pkgconfig gettext pixbufcache ptest-gnome upstream-version-is-even gobject-introspection gtk-doc lib_package
 
Signature · 1 line
2.1.4
#6 lore raw

PATCH 3/11 util-macros: Upgrade 1.19.0 -> 1.19.1

In reply to Jussi Kukkonen

Tiny release to fix build with new xmlto.

---
 .../xorg-util/{util-macros_1.19.0.bb => util-macros_1.19.1.bb}        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-util/{util-macros_1.19.0.bb => util-macros_1.19.1.bb} (75%)
meta/recipes-graphics/xorg-util/util-macros_1.19.1.bb renamed from meta/recipes-graphics/xorg-util/util-macros_1.19.0.bb +2 -2
similarity index 75%
rename from meta/recipes-graphics/xorg-util/util-macros_1.19.0.bb
rename to meta/recipes-graphics/xorg-util/util-macros_1.19.1.bb
index 26cf50f..b39d787 100644
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1970511fddd439b07a6ba789d28ff662"
 
 PE = "1"
 
-SRC_URI[md5sum] = "40e1caa49a71a26e0aa68ddd00203717"
-SRC_URI[sha256sum] = "0d4df51b29023daf2f63aebf3ebc638ea88efedfd560ab5866741ab3f92acaa1"
+SRC_URI[md5sum] = "3f8a8e6100556f7f28e469809805dee8"
+SRC_URI[sha256sum] = "472ad0e41d1e0abf5ecafd29460bf1b8d47e53d4b7d3abf1f66d02dc576547b8"
 
 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
 RDEPENDS_${PN}-dev = ""
Signature · 1 line
2.1.4
#7 lore raw

PATCH 4/11 presentproto: Upgrade 1.0 -> 1.1

In reply to Jussi Kukkonen

Small release with mostly build system fixes.

---
 meta/recipes-graphics/xorg-proto/presentproto_git.bb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
meta/recipes-graphics/xorg-proto/presentproto_git.bb +2 -4
index dbb6f32..e6d32f9 100644
@@ -9,16 +9,14 @@ DESCRIPTION = "The Present extension provides a way for applications to update t
 
 LICENSE = "GPLv2"
 
-SRCREV = "24f3a56e541b0a9e6c6ee76081f441221a120ef9"
-PV = "1.0+git${SRCPV}"
+SRCREV = "bfdc7e052302c79c5803ad95a73c9b63b350c40c"
+PV = "1.1+git${SRCPV}"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=47e508ca280fde97906eacb77892c3ac"
 
 SRC_URI = "git://anongit.freedesktop.org/git/xorg/proto/presentproto"
 S = "${WORKDIR}/git"
 
-PR = "r1"
-
 inherit autotools
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.1.4
#8 lore raw

PATCH 5/11 xauth: Upgrade 1.0.9 -> 1.0.10

In reply to Jussi Kukkonen

Small bug fix release.

---
 meta/recipes-graphics/xorg-app/{xauth_1.0.9.bb => xauth_1.0.10.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-app/{xauth_1.0.9.bb => xauth_1.0.10.bb} (75%)
meta/recipes-graphics/xorg-app/xauth_1.0.10.bb renamed from meta/recipes-graphics/xorg-app/xauth_1.0.9.bb +2 -2
similarity index 75%
rename from meta/recipes-graphics/xorg-app/xauth_1.0.9.bb
rename to meta/recipes-graphics/xorg-app/xauth_1.0.10.bb
index 59b3323..26e02a9 100644
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5ec74dd7ea4d10c4715a7c44f159a40b"
 DEPENDS += "libxau libxext libxmu"
 PE = "1"
 
-SRC_URI[md5sum] = "7d6003f32838d5b688e2c8a131083271"
-SRC_URI[sha256sum] = "56ce1523eb48b1f8a4f4244fe1c3d8e6af1a3b7d4b0e6063582421b0b68dc28f"
+SRC_URI[md5sum] = "f3f76cb10f69b571c43893ea6a634aa4"
+SRC_URI[sha256sum] = "5afe42ce3cdf4f60520d1658d2b17face45c74050f39af45dccdc95e73fafc4d"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
 PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
Signature · 1 line
2.1.4
#9 lore raw

PATCH 6/11 xf86-input-libinput: Upgrade 0.23.0 -> 0.24.0

In reply to Jussi Kukkonen

Small release with mostly tablet improvements.

---
 .../{xf86-input-libinput_0.23.0.bb => xf86-input-libinput_0.24.0.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-libinput_0.23.0.bb => xf86-input-libinput_0.24.0.bb} (63%)
meta/recipes-graphics/xorg-driver/xf86-input-libinput_0.24.0.bb renamed from meta/recipes-graphics/xorg-driver/xf86-input-libinput_0.23.0.bb +2 -2
similarity index 63%
rename from meta/recipes-graphics/xorg-driver/xf86-input-libinput_0.23.0.bb
rename to meta/recipes-graphics/xorg-driver/xf86-input-libinput_0.24.0.bb
index 5c49abd..14b1271 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5e6b20ea2ef94a998145f0ea3f788ee0"
 
 DEPENDS += "libinput"
 
-SRC_URI[md5sum] = "56ff43915a273c787ea8b93ccb83f835"
-SRC_URI[sha256sum] = "0b53ebdfe8f8fc7554dd92af1b1c3088a6d3ec4ae1a33fc76f57d635c736a9dc"
+SRC_URI[md5sum] = "bd3fa118e4abadb8804dc6a099bb4ab3"
+SRC_URI[sha256sum] = "ddcb07350aed59b2996a92a1b4ff64d1c0b0c86a3f0ddca15b2b1c8c8bb13628"
 
 FILES_${PN} += "${datadir}/X11/xorg.conf.d"
Signature · 1 line
2.1.4
#10 lore raw

PATCH 7/11 xkeyboard-config: Upgrade 2.19 -> 2.20

In reply to Jussi Kukkonen

Layout updates from the last 16 months.

---
 .../xorg-lib/{xkeyboard-config_2.19.bb => xkeyboard-config_2.20.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-lib/{xkeyboard-config_2.19.bb => xkeyboard-config_2.20.bb} (88%)
meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb renamed from meta/recipes-graphics/xorg-lib/xkeyboard-config_2.19.bb +2 -2
similarity index 88%
rename from meta/recipes-graphics/xorg-lib/xkeyboard-config_2.19.bb
rename to meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb
index d24d93f..d00904d 100644
@@ -13,8 +13,8 @@ LICENSE = "MIT & MIT-style"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0e7f21ca7db975c63467d2e7624a12f9"
 
 SRC_URI = "${XORG_MIRROR}/individual/data/xkeyboard-config/${BPN}-${PV}.tar.bz2"
-SRC_URI[md5sum] = "88cbf55f2f32b80ba9bb872889daf7ff"
-SRC_URI[sha256sum] = "83dfd186b9eb9ced69e01d8d8e2f15b6a79b2e30124874ef086f2d3048f45827"
+SRC_URI[md5sum] = "1f68886339116ae3877052204c9b9b88"
+SRC_URI[sha256sum] = "d1bfc72553c4e3ef1cd6f13eec0488cf940498b612ab8a0b362e7090c94bc134"
 
 SECTION = "x11/libs"
 DEPENDS = "intltool-native virtual/gettext util-macros libxslt-native"
Signature · 1 line
2.1.4
#11 lore raw

PATCH 8/11 libinput: Upgrade 1.6.0 -> 1.6.1

In reply to Jussi Kukkonen

Small release with mostly bug fixes.

---
 .../recipes-graphics/wayland/{libinput_1.6.0.bb => libinput_1.6.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/wayland/{libinput_1.6.0.bb => libinput_1.6.1.bb} (85%)
meta/recipes-graphics/wayland/libinput_1.6.1.bb renamed from meta/recipes-graphics/wayland/libinput_1.6.0.bb +2 -2
similarity index 85%
rename from meta/recipes-graphics/wayland/libinput_1.6.0.bb
rename to meta/recipes-graphics/wayland/libinput_1.6.1.bb
index d5b2cef..c8714f2 100644
@@ -10,8 +10,8 @@ DEPENDS = "libevdev udev mtdev"
 SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \
            file://touchpad-serial-synaptics-need-to-fake-new-touches-on-TRIPLETAP.patch \
 "
-SRC_URI[md5sum] = "ed9b435d411462d24d88a87728f6c9d6"
-SRC_URI[sha256sum] = "b7534f518d735c643aedca2fb4694683dfddc8d0600cfb628c87a18e65255832"
+SRC_URI[md5sum] = "7e282344f8ed7ec5cf87ca9fc22674fb"
+SRC_URI[sha256sum] = "9d816f13eee63bcca0e9c3bb652c52ab55f39be4d1b90b54e4bfd1dc92ef55a8"
 
 inherit autotools pkgconfig
 
Signature · 1 line
2.1.4
#12 lore raw

PATCH 9/11 piglit: Upgrade to current master

In reply to Jussi Kukkonen

Remove backported patches. Add runtime dependency for netserver (as socketserver was recently moved there) and depend on libxkbcommon (this is really only needed for wayland support which could be made configurable).

---
 .../0001-cmake-Link-test-utils-with-ldl.patch      | 41 ----------------
 ...0001-cmake-Link-utils-with-xcb-explicitly.patch | 54 ----------------------
 meta/recipes-graphics/piglit/piglit_git.bb         | 10 ++--
 3 files changed, 4 insertions(+), 101 deletions(-)
 delete mode 100644 meta/recipes-graphics/piglit/piglit/0001-cmake-Link-test-utils-with-ldl.patch
 delete mode 100644 meta/recipes-graphics/piglit/piglit/0001-cmake-Link-utils-with-xcb-explicitly.patch
meta/recipes-graphics/piglit/piglit/0001-cmake-Link-test-utils-with-ldl.patch deleted +0 -41
deleted file mode 100644
index 2e1c947..0000000
@@ -1,41 +0,0 @@
-Backport patch to fix build with gold linker.
-
-Signed-off-by: Jussi Kukkonen <[email protected]>
-Upstream-Status: Backport
-
-
-
-From 93a7113485cf1c55fd7076116faf5b3a690706b2 Mon Sep 17 00:00:00 2001
-From: Jussi Kukkonen <[email protected]>
-Date: Tue, 30 Aug 2016 17:17:28 +0300
-Subject: [PATCH] cmake: Link test utils with "-ldl"
-
-Without this linking CXX executables (e.g. fbo-blit-stretch) fails
-with gold linker:
-
-| libpiglitutil_gl.so.0: error: undefined reference to 'dlsym'
-| libpiglitutil_gl.so.0: error: undefined reference to 'dlerror'
-| libpiglitutil_gl.so.0: error: undefined reference to 'dlopen'
-
-Signed-off-by: Jussi Kukkonen <[email protected]>
-Reviewed-by: Emil Velikov <[email protected]>
----
- tests/util/CMakeLists.txt | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/tests/util/CMakeLists.txt b/tests/util/CMakeLists.txt
-index e1f8073..3d5bef5 100644
---- a/tests/util/CMakeLists.txt
-+++ b/tests/util/CMakeLists.txt
-@@ -11,6 +11,8 @@ set_source_files_properties(
- 	PROPERTIES GENERATED 1
- 	)
- 
-+link_libraries(${CMAKE_DL_LIBS})
-+
- if(HAVE_LIBCACA)
-     link_libraries(caca)
- endif()
--- 
-2.9.3
-
meta/recipes-graphics/piglit/piglit/0001-cmake-Link-utils-with-xcb-explicitly.patch deleted +0 -54

54 lines not on this page · raw message

meta/recipes-graphics/piglit/piglit_git.bb +4 -6
index b9cdce8..d6bfb14 100644
@@ -5,18 +5,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b2beded7103a3d8a442a2a0391d607b0"
 SRC_URI = "git://anongit.freedesktop.org/piglit \
            file://0001-cmake-install-bash-completions-in-the-right-place.patch \
            file://0001-tests-Use-FE_UPWARD-only-if-its-defined-in-fenv.h.patch \
-           file://0001-cmake-Link-utils-with-xcb-explicitly.patch \
-           file://0001-cmake-Link-test-utils-with-ldl.patch \
            "
 
-# From 2016-07-07
-SRCREV = "c39e41a86551eb390b8da23232dc8577639403d0"
+# From 2017-02-06
+SRCREV = "ca58eec0b965655c7eba592a634cbf4aadfbc675"
 # (when PV goes above 1.0 remove the trailing r)
 PV = "1.0+gitr${SRCPV}"
 
 S = "${WORKDIR}/git"
 
-DEPENDS = "libpng virtual/libx11 libxrender waffle virtual/libgl libglu python3-mako-native python3-numpy-native python3-six-native"
+DEPENDS = "libpng virtual/libx11 libxkbcommon libxrender waffle virtual/libgl libglu python3-mako-native python3-numpy-native python3-six-native"
 
 inherit cmake python3native distro_features_check bash-completion
 # depends on virtual/libx11
@@ -49,7 +47,7 @@ RDEPENDS_${PN} = "waffle python3 python3-mako python3-json \
 	python3-subprocess python3-misc python3-importlib \
 	python3-unixadmin python3-xml python3-multiprocessing \
 	python3-six python3-shell python3-io python3-argparse \
-	mesa-demos bash \
+	python3-netserver mesa-demos bash \
 	"
 
 INSANE_SKIP_${PN} += "dev-so already-stripped"
Signature · 1 line
2.1.4
#13 lore raw

PATCH 10/11 piglit: Package tests in compressed form as well

In reply to Jussi Kukkonen

Modify packaging so that generated tests are available in two forms:
* piglit-generated-tests contains the tests as they are now (1.5GB when installed)
* piglit-generated-tests-compressed contains a tar.gz with the same files (45 MB when installed)

Add wrapper script that decompresses the tests at runtime: this requires 1.5GB free space.

---
 meta/recipes-graphics/piglit/piglit/piglit.sh | 20 ++++++++++++++++++++
 meta/recipes-graphics/piglit/piglit_git.bb    | 21 ++++++++++++++++++++-
 2 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-graphics/piglit/piglit/piglit.sh
meta/recipes-graphics/piglit/piglit/piglit.sh new file +20 -0
new file mode 100644
index 0000000..3308b70
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# If we're using compressed generated tests we may need to
+# decompress first. This is going to require at least 1.5 GB of space
+if [[ /usr/lib/piglit/generated_tests.tar.gz -nt /usr/lib/piglit/generated_tests/ ]]; then
+    echo "Decompressing generated tests..."
+    tar -C /usr/lib/piglit/ -zxf /usr/lib/piglit/generated_tests.tar.gz || {
+        echo "Failed to decompress tests, exiting."
+        exit 1
+    }
+    touch /usr/lib/piglit/generated_tests
+fi
+
+if ! [[ -d /usr/lib/piglit/generated_tests ]]; then
+    echo "NOTE: No generated tests found, install piglit-generated-tests-compressed"
+    echo "      or piglit-generated-tests to include them in the tests."
+fi
+
+echo "Now running piglit..."
+PIGLIT_NO_WINDOW=1 piglit.real "$@"
meta/recipes-graphics/piglit/piglit_git.bb +20 -1
index d6bfb14..7eeff2d 100644
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b2beded7103a3d8a442a2a0391d607b0"
 SRC_URI = "git://anongit.freedesktop.org/piglit \
            file://0001-cmake-install-bash-completions-in-the-right-place.patch \
            file://0001-tests-Use-FE_UPWARD-only-if-its-defined-in-fenv.h.patch \
+           file://piglit.sh \
            "
 
 # From 2017-02-06
@@ -40,9 +41,14 @@ do_configure_prepend() {
 }
 
 do_install() {
-	oe_runmake -C ${B} 'DESTDIR=${D}' install/strip
+    oe_runmake -C ${B} 'DESTDIR=${D}' install/strip
+    mv ${D}${bindir}/piglit ${D}${bindir}/piglit.real
+    install -m 755 ${WORKDIR}/piglit.sh ${D}${bindir}/piglit
+    tar -C ${D}${libdir}/piglit/ -czf ${D}${libdir}/piglit/generated_tests.tar.gz generated_tests/
 }
 
+PACKAGES =+ "${PN}-generated-tests ${PN}-generated-tests-compressed"
+
 RDEPENDS_${PN} = "waffle python3 python3-mako python3-json \
 	python3-subprocess python3-misc python3-importlib \
 	python3-unixadmin python3-xml python3-multiprocessing \
@@ -51,3 +57,16 @@ RDEPENDS_${PN} = "waffle python3 python3-mako python3-json \
 	"
 
 INSANE_SKIP_${PN} += "dev-so already-stripped"
+
+SUMMARY_${PN}-generated-tests = "Generated piglit tests (multiple GB)"
+FILES_${PN}-generated-tests = "${libdir}/piglit/generated_tests/*"
+CONFLICTS_${PN}-generated-tests = "${PN}-generated-tests-compressed"
+RDEPENDS_${PN}-generated-tests += "tar"
+
+SUMMARY_${PN}-generated-tests-compressed = "Generated piglit tests in compressed archive"
+FILES_${PN}-generated-tests-compressed = "${libdir}/piglit/generated_tests.tar.gz"
+CONFLICTS_${PN}-generated-tests-compressed = "${PN}-generated-tests"
+pkg_postrm_${PN}-generated-tests-compressed () {
+    rm -rf $D${libdir}/piglit/generated_tests/
+}
+
Signature · 1 line
2.1.4
#14 lore raw

PATCH 11/11 core-tools-testapps: Re-add piglit

In reply to Jussi Kukkonen

Piglit was removed from testapps in 9e227ecb3a because it made sdk images massive. Add piglit back now that the installed size is no longer humongous: it still needs 1.5 GB free space at runtime but the image sizes stay reasonable.

---
 meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb +2 -0
index 3170978..69cfd57 100644
@@ -17,6 +17,8 @@ KEXECTOOLS_nios2 ?= ""
 
 X11GLTOOLS = "\
     mesa-demos \
+    piglit \
+    piglit-generated-tests-compressed \
     "
 
 3GTOOLS = "\
Signature · 1 line
2.1.4