Thanks, applied as 40966f59c2a762357495281963c9ce7871d9c4f8.

Michael

[sent from post-receive hook]

On Tue, 07 Jul 2020 07:45:53 +0200, Philipp Zabel <[email protected]> 
wrote:
> Signed-off-by: Philipp Zabel <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git 
> a/patches/glmark2-2020.04/0001-Build-Fix-Python-3-incompatibility.patch 
> b/patches/glmark2-2020.04/0001-Build-Fix-Python-3-incompatibility.patch
> new file mode 100644
> index 000000000000..88c85406a9af
> --- /dev/null
> +++ b/patches/glmark2-2020.04/0001-Build-Fix-Python-3-incompatibility.patch
> @@ -0,0 +1,21 @@
> +From: Marvin Schmidt <[email protected]>
> +Date: Sun, 3 May 2020 18:20:05 +0200
> +Subject: [PATCH] Build: Fix Python 3 incompatibility
> +
> +---
> + wscript | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/wscript b/wscript
> +index aefde706be0a..e09fa7850e1c 100644
> +--- a/wscript
> ++++ b/wscript
> +@@ -20,7 +20,7 @@ FLAVORS = {
> +     'x11-gl' : 'glmark2',
> +     'x11-glesv2' : 'glmark2-es2',
> + }
> +-FLAVORS_STR = ", ".join(sorted(FLAVORS.keys() + ['all-linux', 'all-win32']))
> ++FLAVORS_STR = ", ".join(sorted(list(FLAVORS) + ['all-linux', 'all-win32']))
> + 
> + def linux_flavors():
> +     return [f for f in FLAVORS.keys() if not f.startswith('win32')]
> diff --git a/patches/glmark2-2020.04/series b/patches/glmark2-2020.04/series
> new file mode 100644
> index 000000000000..c7415054f2f3
> --- /dev/null
> +++ b/patches/glmark2-2020.04/series
> @@ -0,0 +1,4 @@
> +# generated by git-ptx-patches
> +#tag:base --start-number 1
> +0001-Build-Fix-Python-3-incompatibility.patch
> +# 6f94baa0134364a7f817abb600ce0eb2  - git-ptx-patches magic
> diff --git a/rules/glmark2.make b/rules/glmark2.make
> index 5f495886deb3..d6b35a3bfca4 100644
> --- a/rules/glmark2.make
> +++ b/rules/glmark2.make
> @@ -14,12 +14,11 @@ PACKAGES-$(PTXCONF_GLMARK2) += glmark2
>  #
>  # Paths and names
>  #
> -# No tags: use a fake descriptive commit-ish to include the date
> -GLMARK2_VERSION      := 2019-03-27-geaa70888
> -GLMARK2_MD5  := ee3ae64489fbcb942490ae758362e737
> +GLMARK2_VERSION      := 2020.04
> +GLMARK2_MD5  := a90713700a740180fef3576f7ee3c9db
>  GLMARK2              := glmark2-$(GLMARK2_VERSION)
> -GLMARK2_SUFFIX       := tar.xz
> -GLMARK2_URL  := https://github.com/glmark2/glmark2.git;tag=$(GLMARK2_VERSION)
> +GLMARK2_SUFFIX       := tar.gz
> +GLMARK2_URL  := 
> https://github.com/glmark2/glmark2/archive/$(GLMARK2_VERSION).$(GLMARK2_SUFFIX)
>  GLMARK2_SOURCE       := $(SRCDIR)/$(GLMARK2).$(GLMARK2_SUFFIX)
>  GLMARK2_DIR  := $(BUILDDIR)/$(GLMARK2)
>  GLMARK2_LICENSE      := GPL-3.0-only AND SGIv1

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to