mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 0/3] sdl2: update packages to latest versions
@ 2018-11-23 17:10 Michael Grzeschik
  2018-11-23 17:10 ` [ptxdist] [PATCH 1/3] sdl2: version bump to 2.0.9 Michael Grzeschik
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Michael Grzeschik @ 2018-11-23 17:10 UTC (permalink / raw)
  To: ptxdist

This series updates the sdl2 packages to their latest
versions und removes obsolete patches.

Michael Grzeschik (3):
  sdl2: version bump to 2.0.9
  sdl2-image: version bump to 2.0.4
  sdl2-mixer: version bump to 2.0.4

 ...-find-available-card-if-called-witho.patch | 129 ------------------
 patches/SDL2-2.0.8/series                     |   5 -
 ...001-sdl-2.0.8-add-egl-cflags-to-test.patch |   6 +-
 patches/{SDL2-2.0.8 => SDL2-2.0.9}/autogen.sh |   0
 patches/SDL2-2.0.9/series                     |   4 +
 ...001-sdl-2.0.8-tests-configure-opengl.patch |   0
 .../autogen.sh                                |   0
 .../series                                    |   0
 rules/sdl2-image.make                         |   4 +-
 rules/sdl2-mixer.make                         |   4 +-
 rules/sdl2.make                               |   4 +-
 11 files changed, 13 insertions(+), 143 deletions(-)
 delete mode 100644 patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
 delete mode 100644 patches/SDL2-2.0.8/series
 rename patches/{SDL2-2.0.8 => SDL2-2.0.9}/0001-sdl-2.0.8-add-egl-cflags-to-test.patch (92%)
 rename patches/{SDL2-2.0.8 => SDL2-2.0.9}/autogen.sh (100%)
 create mode 100644 patches/SDL2-2.0.9/series
 rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/0001-sdl-2.0.8-tests-configure-opengl.patch (100%)
 rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/autogen.sh (100%)
 rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/series (100%)

-- 
2.19.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ptxdist] [PATCH 1/3] sdl2: version bump to 2.0.9
  2018-11-23 17:10 [ptxdist] [PATCH 0/3] sdl2: update packages to latest versions Michael Grzeschik
@ 2018-11-23 17:10 ` Michael Grzeschik
  2018-11-26  5:27   ` Michael Olbrich
  2018-11-23 17:10 ` [ptxdist] [PATCH 2/3] sdl2-image: version bump to 2.0.4 Michael Grzeschik
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 12+ messages in thread
From: Michael Grzeschik @ 2018-11-23 17:10 UTC (permalink / raw)
  To: ptxdist

Update to 2.0.9 and remove already mainlined patch.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 ...-find-available-card-if-called-witho.patch | 129 ------------------
 patches/SDL2-2.0.8/series                     |   5 -
 ...001-sdl-2.0.8-add-egl-cflags-to-test.patch |   6 +-
 patches/{SDL2-2.0.8 => SDL2-2.0.9}/autogen.sh |   0
 patches/SDL2-2.0.9/series                     |   4 +
 ...001-sdl-2.0.8-tests-configure-opengl.patch |   0
 .../autogen.sh                                |   0
 .../series                                    |   0
 rules/sdl2.make                               |   4 +-
 9 files changed, 9 insertions(+), 139 deletions(-)
 delete mode 100644 patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
 delete mode 100644 patches/SDL2-2.0.8/series
 rename patches/{SDL2-2.0.8 => SDL2-2.0.9}/0001-sdl-2.0.8-add-egl-cflags-to-test.patch (92%)
 rename patches/{SDL2-2.0.8 => SDL2-2.0.9}/autogen.sh (100%)
 create mode 100644 patches/SDL2-2.0.9/series
 rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/0001-sdl-2.0.8-tests-configure-opengl.patch (100%)
 rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/autogen.sh (100%)
 rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/series (100%)

diff --git a/patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch b/patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
deleted file mode 100644
index e889f87ae..000000000
--- a/patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
+++ /dev/null
@@ -1,129 +0,0 @@
-From 212c7c68ec228a1058f39497d18c65e9312d00df Mon Sep 17 00:00:00 2001
-From: Michael Grzeschik <m.grzeschik@pengutronix.de>
-Date: Thu, 12 Jul 2018 13:48:54 +0200
-Subject: [PATCH] sdl-2.0.8: KMSDRM: find available card if called without
- index
-
-Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
----
- src/video/kmsdrm/SDL_kmsdrmvideo.c | 84 ++++++++++++++++++++++++++++--
- 1 file changed, 80 insertions(+), 4 deletions(-)
-
-diff --git a/src/video/kmsdrm/SDL_kmsdrmvideo.c b/src/video/kmsdrm/SDL_kmsdrmvideo.c
-index 7855eeddb..f63c91b0a 100644
---- a/src/video/kmsdrm/SDL_kmsdrmvideo.c
-+++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c
-@@ -41,15 +41,22 @@
- #include "SDL_kmsdrmopengles.h"
- #include "SDL_kmsdrmmouse.h"
- #include "SDL_kmsdrmdyn.h"
-+#include <sys/stat.h>
-+#include <dirent.h>
-+#include <errno.h>
- 
--#define KMSDRM_DRI_CARD_0 "/dev/dri/card0"
-+#define KMSDRM_DRI_PATH "/dev/dri/"
- 
- static int
--KMSDRM_Available(void)
-+check_modestting(int devindex)
- {
-     int available = 0;
-+    char device[512];
-+    int drm_fd;
-+
-+    sprintf(device, "%scard%d", KMSDRM_DRI_PATH, devindex);
- 
--    int drm_fd = open(KMSDRM_DRI_CARD_0, O_RDWR | O_CLOEXEC);
-+    drm_fd = open(device, O_RDWR | O_CLOEXEC);
-     if (drm_fd >= 0) {
-         if (SDL_KMSDRM_LoadSymbols()) {
-             drmModeRes *resources = KMSDRM_drmModeGetResources(drm_fd);
-@@ -65,6 +72,72 @@ KMSDRM_Available(void)
-     return available;
- }
- 
-+static int get_dricount(void)
-+{
-+    int devcount = 0;
-+    struct dirent *res;
-+    struct stat sb;
-+    DIR *folder;
-+
-+    if (!(stat(KMSDRM_DRI_PATH, &sb) == 0
-+                && S_ISDIR(sb.st_mode))) {
-+        printf("The path %s cannot be opened or is not available\n",
-+               KMSDRM_DRI_PATH);
-+        return 0;
-+    }
-+
-+    if (access(KMSDRM_DRI_PATH, F_OK) == -1) {
-+        printf("The path %s cannot be opened\n",
-+               KMSDRM_DRI_PATH);
-+        return 0;
-+    }
-+
-+    folder = opendir(KMSDRM_DRI_PATH);
-+    if (!folder)
-+        return 0;
-+
-+    while ((res = readdir(folder))) {
-+        if (res->d_type == DT_CHR)
-+            devcount++;
-+    }
-+
-+    closedir(folder);
-+
-+    return devcount;
-+}
-+
-+static int
-+get_driindex(void)
-+{
-+    int i = 0;
-+    int available = 0;
-+    int devcount = get_dricount();
-+
-+    for (i = 0; i < devcount; i++) {
-+        if (check_modestting(i)) {
-+            available = 1;
-+            break;
-+        }
-+    }
-+
-+    if (available)
-+        return i;
-+
-+    return -ENOENT;
-+}
-+
-+static int
-+KMSDRM_Available(void)
-+{
-+    int ret = -ENOENT;
-+
-+    ret = get_driindex();
-+    if (ret >= 0)
-+        return 1;
-+
-+    return ret;
-+}
-+
- static void
- KMSDRM_Destroy(SDL_VideoDevice * device)
- {
-@@ -83,7 +156,10 @@ KMSDRM_Create(int devindex)
-     SDL_VideoDevice *device;
-     SDL_VideoData *vdata;
- 
--    if (devindex < 0 || devindex > 99) {
-+    if (!devindex || devindex > 99)
-+        devindex = get_driindex();
-+
-+    if (devindex < 0) {
-         SDL_SetError("devindex (%d) must be between 0 and 99.\n", devindex);
-         return NULL;
-     }
--- 
-2.18.0
-
diff --git a/patches/SDL2-2.0.8/series b/patches/SDL2-2.0.8/series
deleted file mode 100644
index e4e931f38..000000000
--- a/patches/SDL2-2.0.8/series
+++ /dev/null
@@ -1,5 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-sdl-2.0.8-add-egl-cflags-to-test.patch
-0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
-# b803bb470cfcfd4d04f208304b9fd212  - git-ptx-patches magic
diff --git a/patches/SDL2-2.0.8/0001-sdl-2.0.8-add-egl-cflags-to-test.patch b/patches/SDL2-2.0.9/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
similarity index 92%
rename from patches/SDL2-2.0.8/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
rename to patches/SDL2-2.0.9/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
index c86d48e5a..573499644 100644
--- a/patches/SDL2-2.0.8/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
+++ b/patches/SDL2-2.0.9/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
@@ -25,10 +25,10 @@ index 9edfb8a7d913..2f1e2ef3d419 100755
  for autoconf in autoconf autoconf259 autoconf-2.59
  do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
 diff --git a/configure.in b/configure.in
-index 1c7e79338a88..06e37a1b7f98 100644
+index ae866ff0c55c..23d4ee2d8fad 100644
 --- a/configure.in
 +++ b/configure.in
-@@ -2335,6 +2335,14 @@ dnl Find OpenGL ES
+@@ -2349,6 +2349,14 @@ dnl Find OpenGL ES
  CheckOpenGLESX11()
  {
      if test x$enable_video = xyes -a x$enable_video_opengles = xyes; then
@@ -43,7 +43,7 @@ index 1c7e79338a88..06e37a1b7f98 100644
          AC_MSG_CHECKING(for EGL support)
          video_opengl_egl=no
          AC_TRY_COMPILE([
-@@ -2347,6 +2355,9 @@ CheckOpenGLESX11()
+@@ -2361,6 +2369,9 @@ CheckOpenGLESX11()
          video_opengl_egl=yes
          ])
          AC_MSG_RESULT($video_opengl_egl)
diff --git a/patches/SDL2-2.0.8/autogen.sh b/patches/SDL2-2.0.9/autogen.sh
similarity index 100%
rename from patches/SDL2-2.0.8/autogen.sh
rename to patches/SDL2-2.0.9/autogen.sh
diff --git a/patches/SDL2-2.0.9/series b/patches/SDL2-2.0.9/series
new file mode 100644
index 000000000..3693c2785
--- /dev/null
+++ b/patches/SDL2-2.0.9/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-sdl-2.0.8-add-egl-cflags-to-test.patch
+# 57d72a951bd7f961008ad5274d82876a  - git-ptx-patches magic
diff --git a/patches/SDL2_test-2.0.8/0001-sdl-2.0.8-tests-configure-opengl.patch b/patches/SDL2_test-2.0.9/0001-sdl-2.0.8-tests-configure-opengl.patch
similarity index 100%
rename from patches/SDL2_test-2.0.8/0001-sdl-2.0.8-tests-configure-opengl.patch
rename to patches/SDL2_test-2.0.9/0001-sdl-2.0.8-tests-configure-opengl.patch
diff --git a/patches/SDL2_test-2.0.8/autogen.sh b/patches/SDL2_test-2.0.9/autogen.sh
similarity index 100%
rename from patches/SDL2_test-2.0.8/autogen.sh
rename to patches/SDL2_test-2.0.9/autogen.sh
diff --git a/patches/SDL2_test-2.0.8/series b/patches/SDL2_test-2.0.9/series
similarity index 100%
rename from patches/SDL2_test-2.0.8/series
rename to patches/SDL2_test-2.0.9/series
diff --git a/rules/sdl2.make b/rules/sdl2.make
index 441620789..95d4284e2 100644
--- a/rules/sdl2.make
+++ b/rules/sdl2.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_SDL2) += sdl2
 #
 # Paths and names
 #
-SDL2_VERSION	:= 2.0.8
-SDL2_MD5	:= 3800d705cef742c6a634f202c37f263f
+SDL2_VERSION	:= 2.0.9
+SDL2_MD5	:= f2ecfba915c54f7200f504d8b48a5dfe
 SDL2		:= SDL2-$(SDL2_VERSION)
 SDL2_SUFFIX	:= tar.gz
 SDL2_URL	:= https://www.libsdl.org/release/$(SDL2).$(SDL2_SUFFIX)
-- 
2.19.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ptxdist] [PATCH 2/3] sdl2-image: version bump to 2.0.4
  2018-11-23 17:10 [ptxdist] [PATCH 0/3] sdl2: update packages to latest versions Michael Grzeschik
  2018-11-23 17:10 ` [ptxdist] [PATCH 1/3] sdl2: version bump to 2.0.9 Michael Grzeschik
@ 2018-11-23 17:10 ` Michael Grzeschik
  2018-11-23 17:10 ` [ptxdist] [PATCH 3/3] sdl2-mixer: " Michael Grzeschik
  2018-11-26 12:45 ` [ptxdist] [PATCH v2 0/3] sdl2: update packages to latest versions Michael Grzeschik
  3 siblings, 0 replies; 12+ messages in thread
From: Michael Grzeschik @ 2018-11-23 17:10 UTC (permalink / raw)
  To: ptxdist

Update to 2.0.4

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 rules/sdl2-image.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/sdl2-image.make b/rules/sdl2-image.make
index 1486e0058..87c04967e 100644
--- a/rules/sdl2-image.make
+++ b/rules/sdl2-image.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_SDL2_IMAGE) += sdl2-image
 #
 # Paths and names
 #
-SDL2_IMAGE_VERSION	:= 2.0.3
-SDL2_IMAGE_MD5		:= c6baf6dfa80fa8a66853661a36a6034e
+SDL2_IMAGE_VERSION	:= 2.0.4
+SDL2_IMAGE_MD5		:= 88b9766d5b64a67f82ba511c57e7ce10
 SDL2_IMAGE		:= SDL2_image-$(SDL2_IMAGE_VERSION)
 SDL2_IMAGE_SUFFIX	:= tar.gz
 SDL2_IMAGE_URL		:= https://www.libsdl.org/projects/SDL_image/release/$(SDL2_IMAGE).$(SDL2_IMAGE_SUFFIX)
-- 
2.19.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ptxdist] [PATCH 3/3] sdl2-mixer: version bump to 2.0.4
  2018-11-23 17:10 [ptxdist] [PATCH 0/3] sdl2: update packages to latest versions Michael Grzeschik
  2018-11-23 17:10 ` [ptxdist] [PATCH 1/3] sdl2: version bump to 2.0.9 Michael Grzeschik
  2018-11-23 17:10 ` [ptxdist] [PATCH 2/3] sdl2-image: version bump to 2.0.4 Michael Grzeschik
@ 2018-11-23 17:10 ` Michael Grzeschik
  2018-11-26  5:29   ` Michael Olbrich
  2018-11-26 12:45 ` [ptxdist] [PATCH v2 0/3] sdl2: update packages to latest versions Michael Grzeschik
  3 siblings, 1 reply; 12+ messages in thread
From: Michael Grzeschik @ 2018-11-23 17:10 UTC (permalink / raw)
  To: ptxdist

Update to 2.0.4

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 rules/sdl2-mixer.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/sdl2-mixer.make b/rules/sdl2-mixer.make
index 2689a5957..6c668509a 100644
--- a/rules/sdl2-mixer.make
+++ b/rules/sdl2-mixer.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_SDL2_MIXER) += sdl2-mixer
 #
 # Paths and names
 #
-SDL2_MIXER_VERSION	:= 2.0.2
-SDL2_MIXER_MD5		:= aaa0551393993c14a13f72b339c0ed6c
+SDL2_MIXER_VERSION	:= 2.0.4
+SDL2_MIXER_MD5		:= a36e8410cac46b00a4d01752b32c3eb1
 SDL2_MIXER		:= SDL2_mixer-$(SDL2_MIXER_VERSION)
 SDL2_MIXER_SUFFIX	:= tar.gz
 SDL2_MIXER_URL		:= https://www.libsdl.org/projects/SDL_mixer/release/$(SDL2_MIXER).$(SDL2_MIXER_SUFFIX)
-- 
2.19.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [ptxdist] [PATCH 1/3] sdl2: version bump to 2.0.9
  2018-11-23 17:10 ` [ptxdist] [PATCH 1/3] sdl2: version bump to 2.0.9 Michael Grzeschik
@ 2018-11-26  5:27   ` Michael Olbrich
  2018-11-26  7:43     ` Michael Grzeschik
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Olbrich @ 2018-11-26  5:27 UTC (permalink / raw)
  To: ptxdist

On Fri, Nov 23, 2018 at 06:10:55PM +0100, Michael Grzeschik wrote:
> Update to 2.0.9 and remove already mainlined patch.
> 
> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>

There are some new configure options. And please reorder the options to
match the output of 'configure --help'. Use configure_helper.py to check.

Michael

> ---
>  ...-find-available-card-if-called-witho.patch | 129 ------------------
>  patches/SDL2-2.0.8/series                     |   5 -
>  ...001-sdl-2.0.8-add-egl-cflags-to-test.patch |   6 +-
>  patches/{SDL2-2.0.8 => SDL2-2.0.9}/autogen.sh |   0
>  patches/SDL2-2.0.9/series                     |   4 +
>  ...001-sdl-2.0.8-tests-configure-opengl.patch |   0
>  .../autogen.sh                                |   0
>  .../series                                    |   0
>  rules/sdl2.make                               |   4 +-
>  9 files changed, 9 insertions(+), 139 deletions(-)
>  delete mode 100644 patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
>  delete mode 100644 patches/SDL2-2.0.8/series
>  rename patches/{SDL2-2.0.8 => SDL2-2.0.9}/0001-sdl-2.0.8-add-egl-cflags-to-test.patch (92%)
>  rename patches/{SDL2-2.0.8 => SDL2-2.0.9}/autogen.sh (100%)
>  create mode 100644 patches/SDL2-2.0.9/series
>  rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/0001-sdl-2.0.8-tests-configure-opengl.patch (100%)
>  rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/autogen.sh (100%)
>  rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/series (100%)
> 
> diff --git a/patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch b/patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
> deleted file mode 100644
> index e889f87ae..000000000
> --- a/patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
> +++ /dev/null
> @@ -1,129 +0,0 @@
> -From 212c7c68ec228a1058f39497d18c65e9312d00df Mon Sep 17 00:00:00 2001
> -From: Michael Grzeschik <m.grzeschik@pengutronix.de>
> -Date: Thu, 12 Jul 2018 13:48:54 +0200
> -Subject: [PATCH] sdl-2.0.8: KMSDRM: find available card if called without
> - index
> -
> -Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
> ----
> - src/video/kmsdrm/SDL_kmsdrmvideo.c | 84 ++++++++++++++++++++++++++++--
> - 1 file changed, 80 insertions(+), 4 deletions(-)
> -
> -diff --git a/src/video/kmsdrm/SDL_kmsdrmvideo.c b/src/video/kmsdrm/SDL_kmsdrmvideo.c
> -index 7855eeddb..f63c91b0a 100644
> ---- a/src/video/kmsdrm/SDL_kmsdrmvideo.c
> -+++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c
> -@@ -41,15 +41,22 @@
> - #include "SDL_kmsdrmopengles.h"
> - #include "SDL_kmsdrmmouse.h"
> - #include "SDL_kmsdrmdyn.h"
> -+#include <sys/stat.h>
> -+#include <dirent.h>
> -+#include <errno.h>
> - 
> --#define KMSDRM_DRI_CARD_0 "/dev/dri/card0"
> -+#define KMSDRM_DRI_PATH "/dev/dri/"
> - 
> - static int
> --KMSDRM_Available(void)
> -+check_modestting(int devindex)
> - {
> -     int available = 0;
> -+    char device[512];
> -+    int drm_fd;
> -+
> -+    sprintf(device, "%scard%d", KMSDRM_DRI_PATH, devindex);
> - 
> --    int drm_fd = open(KMSDRM_DRI_CARD_0, O_RDWR | O_CLOEXEC);
> -+    drm_fd = open(device, O_RDWR | O_CLOEXEC);
> -     if (drm_fd >= 0) {
> -         if (SDL_KMSDRM_LoadSymbols()) {
> -             drmModeRes *resources = KMSDRM_drmModeGetResources(drm_fd);
> -@@ -65,6 +72,72 @@ KMSDRM_Available(void)
> -     return available;
> - }
> - 
> -+static int get_dricount(void)
> -+{
> -+    int devcount = 0;
> -+    struct dirent *res;
> -+    struct stat sb;
> -+    DIR *folder;
> -+
> -+    if (!(stat(KMSDRM_DRI_PATH, &sb) == 0
> -+                && S_ISDIR(sb.st_mode))) {
> -+        printf("The path %s cannot be opened or is not available\n",
> -+               KMSDRM_DRI_PATH);
> -+        return 0;
> -+    }
> -+
> -+    if (access(KMSDRM_DRI_PATH, F_OK) == -1) {
> -+        printf("The path %s cannot be opened\n",
> -+               KMSDRM_DRI_PATH);
> -+        return 0;
> -+    }
> -+
> -+    folder = opendir(KMSDRM_DRI_PATH);
> -+    if (!folder)
> -+        return 0;
> -+
> -+    while ((res = readdir(folder))) {
> -+        if (res->d_type == DT_CHR)
> -+            devcount++;
> -+    }
> -+
> -+    closedir(folder);
> -+
> -+    return devcount;
> -+}
> -+
> -+static int
> -+get_driindex(void)
> -+{
> -+    int i = 0;
> -+    int available = 0;
> -+    int devcount = get_dricount();
> -+
> -+    for (i = 0; i < devcount; i++) {
> -+        if (check_modestting(i)) {
> -+            available = 1;
> -+            break;
> -+        }
> -+    }
> -+
> -+    if (available)
> -+        return i;
> -+
> -+    return -ENOENT;
> -+}
> -+
> -+static int
> -+KMSDRM_Available(void)
> -+{
> -+    int ret = -ENOENT;
> -+
> -+    ret = get_driindex();
> -+    if (ret >= 0)
> -+        return 1;
> -+
> -+    return ret;
> -+}
> -+
> - static void
> - KMSDRM_Destroy(SDL_VideoDevice * device)
> - {
> -@@ -83,7 +156,10 @@ KMSDRM_Create(int devindex)
> -     SDL_VideoDevice *device;
> -     SDL_VideoData *vdata;
> - 
> --    if (devindex < 0 || devindex > 99) {
> -+    if (!devindex || devindex > 99)
> -+        devindex = get_driindex();
> -+
> -+    if (devindex < 0) {
> -         SDL_SetError("devindex (%d) must be between 0 and 99.\n", devindex);
> -         return NULL;
> -     }
> --- 
> -2.18.0
> -
> diff --git a/patches/SDL2-2.0.8/series b/patches/SDL2-2.0.8/series
> deleted file mode 100644
> index e4e931f38..000000000
> --- a/patches/SDL2-2.0.8/series
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -# generated by git-ptx-patches
> -#tag:base --start-number 1
> -0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> -0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
> -# b803bb470cfcfd4d04f208304b9fd212  - git-ptx-patches magic
> diff --git a/patches/SDL2-2.0.8/0001-sdl-2.0.8-add-egl-cflags-to-test.patch b/patches/SDL2-2.0.9/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> similarity index 92%
> rename from patches/SDL2-2.0.8/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> rename to patches/SDL2-2.0.9/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> index c86d48e5a..573499644 100644
> --- a/patches/SDL2-2.0.8/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> +++ b/patches/SDL2-2.0.9/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> @@ -25,10 +25,10 @@ index 9edfb8a7d913..2f1e2ef3d419 100755
>   for autoconf in autoconf autoconf259 autoconf-2.59
>   do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
>  diff --git a/configure.in b/configure.in
> -index 1c7e79338a88..06e37a1b7f98 100644
> +index ae866ff0c55c..23d4ee2d8fad 100644
>  --- a/configure.in
>  +++ b/configure.in
> -@@ -2335,6 +2335,14 @@ dnl Find OpenGL ES
> +@@ -2349,6 +2349,14 @@ dnl Find OpenGL ES
>   CheckOpenGLESX11()
>   {
>       if test x$enable_video = xyes -a x$enable_video_opengles = xyes; then
> @@ -43,7 +43,7 @@ index 1c7e79338a88..06e37a1b7f98 100644
>           AC_MSG_CHECKING(for EGL support)
>           video_opengl_egl=no
>           AC_TRY_COMPILE([
> -@@ -2347,6 +2355,9 @@ CheckOpenGLESX11()
> +@@ -2361,6 +2369,9 @@ CheckOpenGLESX11()
>           video_opengl_egl=yes
>           ])
>           AC_MSG_RESULT($video_opengl_egl)
> diff --git a/patches/SDL2-2.0.8/autogen.sh b/patches/SDL2-2.0.9/autogen.sh
> similarity index 100%
> rename from patches/SDL2-2.0.8/autogen.sh
> rename to patches/SDL2-2.0.9/autogen.sh
> diff --git a/patches/SDL2-2.0.9/series b/patches/SDL2-2.0.9/series
> new file mode 100644
> index 000000000..3693c2785
> --- /dev/null
> +++ b/patches/SDL2-2.0.9/series
> @@ -0,0 +1,4 @@
> +# generated by git-ptx-patches
> +#tag:base --start-number 1
> +0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> +# 57d72a951bd7f961008ad5274d82876a  - git-ptx-patches magic
> diff --git a/patches/SDL2_test-2.0.8/0001-sdl-2.0.8-tests-configure-opengl.patch b/patches/SDL2_test-2.0.9/0001-sdl-2.0.8-tests-configure-opengl.patch
> similarity index 100%
> rename from patches/SDL2_test-2.0.8/0001-sdl-2.0.8-tests-configure-opengl.patch
> rename to patches/SDL2_test-2.0.9/0001-sdl-2.0.8-tests-configure-opengl.patch
> diff --git a/patches/SDL2_test-2.0.8/autogen.sh b/patches/SDL2_test-2.0.9/autogen.sh
> similarity index 100%
> rename from patches/SDL2_test-2.0.8/autogen.sh
> rename to patches/SDL2_test-2.0.9/autogen.sh
> diff --git a/patches/SDL2_test-2.0.8/series b/patches/SDL2_test-2.0.9/series
> similarity index 100%
> rename from patches/SDL2_test-2.0.8/series
> rename to patches/SDL2_test-2.0.9/series
> diff --git a/rules/sdl2.make b/rules/sdl2.make
> index 441620789..95d4284e2 100644
> --- a/rules/sdl2.make
> +++ b/rules/sdl2.make
> @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_SDL2) += sdl2
>  #
>  # Paths and names
>  #
> -SDL2_VERSION	:= 2.0.8
> -SDL2_MD5	:= 3800d705cef742c6a634f202c37f263f
> +SDL2_VERSION	:= 2.0.9
> +SDL2_MD5	:= f2ecfba915c54f7200f504d8b48a5dfe
>  SDL2		:= SDL2-$(SDL2_VERSION)
>  SDL2_SUFFIX	:= tar.gz
>  SDL2_URL	:= https://www.libsdl.org/release/$(SDL2).$(SDL2_SUFFIX)
> -- 
> 2.19.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [ptxdist] [PATCH 3/3] sdl2-mixer: version bump to 2.0.4
  2018-11-23 17:10 ` [ptxdist] [PATCH 3/3] sdl2-mixer: " Michael Grzeschik
@ 2018-11-26  5:29   ` Michael Olbrich
  2018-11-26  7:41     ` Michael Grzeschik
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Olbrich @ 2018-11-26  5:29 UTC (permalink / raw)
  To: ptxdist

On Fri, Nov 23, 2018 at 06:10:57PM +0100, Michael Grzeschik wrote:
> Update to 2.0.4
> 
> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
> ---

Fails to build because of a unknown configure option. Did you test this at
all? And check for new options?

Michael

>  rules/sdl2-mixer.make | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/rules/sdl2-mixer.make b/rules/sdl2-mixer.make
> index 2689a5957..6c668509a 100644
> --- a/rules/sdl2-mixer.make
> +++ b/rules/sdl2-mixer.make
> @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_SDL2_MIXER) += sdl2-mixer
>  #
>  # Paths and names
>  #
> -SDL2_MIXER_VERSION	:= 2.0.2
> -SDL2_MIXER_MD5		:= aaa0551393993c14a13f72b339c0ed6c
> +SDL2_MIXER_VERSION	:= 2.0.4
> +SDL2_MIXER_MD5		:= a36e8410cac46b00a4d01752b32c3eb1
>  SDL2_MIXER		:= SDL2_mixer-$(SDL2_MIXER_VERSION)
>  SDL2_MIXER_SUFFIX	:= tar.gz
>  SDL2_MIXER_URL		:= https://www.libsdl.org/projects/SDL_mixer/release/$(SDL2_MIXER).$(SDL2_MIXER_SUFFIX)
> -- 
> 2.19.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [ptxdist] [PATCH 3/3] sdl2-mixer: version bump to 2.0.4
  2018-11-26  5:29   ` Michael Olbrich
@ 2018-11-26  7:41     ` Michael Grzeschik
  0 siblings, 0 replies; 12+ messages in thread
From: Michael Grzeschik @ 2018-11-26  7:41 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 2122 bytes --]

On Mon, Nov 26, 2018 at 06:29:51AM +0100, Michael Olbrich wrote:
> On Fri, Nov 23, 2018 at 06:10:57PM +0100, Michael Grzeschik wrote:
> > Update to 2.0.4
> > 
> > Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
> > ---
> 
> Fails to build because of a unknown configure option. Did you test this at
> all? And check for new options?

I had the patches on an customer stack, but unfortunatly you are right.
This packages was not enabled at all. I will fix it.

> >  rules/sdl2-mixer.make | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/rules/sdl2-mixer.make b/rules/sdl2-mixer.make
> > index 2689a5957..6c668509a 100644
> > --- a/rules/sdl2-mixer.make
> > +++ b/rules/sdl2-mixer.make
> > @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_SDL2_MIXER) += sdl2-mixer
> >  #
> >  # Paths and names
> >  #
> > -SDL2_MIXER_VERSION	:= 2.0.2
> > -SDL2_MIXER_MD5		:= aaa0551393993c14a13f72b339c0ed6c
> > +SDL2_MIXER_VERSION	:= 2.0.4
> > +SDL2_MIXER_MD5		:= a36e8410cac46b00a4d01752b32c3eb1
> >  SDL2_MIXER		:= SDL2_mixer-$(SDL2_MIXER_VERSION)
> >  SDL2_MIXER_SUFFIX	:= tar.gz
> >  SDL2_MIXER_URL		:= https://www.libsdl.org/projects/SDL_mixer/release/$(SDL2_MIXER).$(SDL2_MIXER_SUFFIX)
> > -- 
> > 2.19.1
> > 
> > 
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [ptxdist] [PATCH 1/3] sdl2: version bump to 2.0.9
  2018-11-26  5:27   ` Michael Olbrich
@ 2018-11-26  7:43     ` Michael Grzeschik
  0 siblings, 0 replies; 12+ messages in thread
From: Michael Grzeschik @ 2018-11-26  7:43 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 10688 bytes --]

On Mon, Nov 26, 2018 at 06:27:35AM +0100, Michael Olbrich wrote:
> On Fri, Nov 23, 2018 at 06:10:55PM +0100, Michael Grzeschik wrote:
> > Update to 2.0.9 and remove already mainlined patch.
> > 
> > Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
> 
> There are some new configure options. And please reorder the options to
> match the output of 'configure --help'. Use configure_helper.py to check.

I will add the options in v2.

> Michael
> 
> > ---
> >  ...-find-available-card-if-called-witho.patch | 129 ------------------
> >  patches/SDL2-2.0.8/series                     |   5 -
> >  ...001-sdl-2.0.8-add-egl-cflags-to-test.patch |   6 +-
> >  patches/{SDL2-2.0.8 => SDL2-2.0.9}/autogen.sh |   0
> >  patches/SDL2-2.0.9/series                     |   4 +
> >  ...001-sdl-2.0.8-tests-configure-opengl.patch |   0
> >  .../autogen.sh                                |   0
> >  .../series                                    |   0
> >  rules/sdl2.make                               |   4 +-
> >  9 files changed, 9 insertions(+), 139 deletions(-)
> >  delete mode 100644 patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
> >  delete mode 100644 patches/SDL2-2.0.8/series
> >  rename patches/{SDL2-2.0.8 => SDL2-2.0.9}/0001-sdl-2.0.8-add-egl-cflags-to-test.patch (92%)
> >  rename patches/{SDL2-2.0.8 => SDL2-2.0.9}/autogen.sh (100%)
> >  create mode 100644 patches/SDL2-2.0.9/series
> >  rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/0001-sdl-2.0.8-tests-configure-opengl.patch (100%)
> >  rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/autogen.sh (100%)
> >  rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/series (100%)
> > 
> > diff --git a/patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch b/patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
> > deleted file mode 100644
> > index e889f87ae..000000000
> > --- a/patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
> > +++ /dev/null
> > @@ -1,129 +0,0 @@
> > -From 212c7c68ec228a1058f39497d18c65e9312d00df Mon Sep 17 00:00:00 2001
> > -From: Michael Grzeschik <m.grzeschik@pengutronix.de>
> > -Date: Thu, 12 Jul 2018 13:48:54 +0200
> > -Subject: [PATCH] sdl-2.0.8: KMSDRM: find available card if called without
> > - index
> > -
> > -Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
> > ----
> > - src/video/kmsdrm/SDL_kmsdrmvideo.c | 84 ++++++++++++++++++++++++++++--
> > - 1 file changed, 80 insertions(+), 4 deletions(-)
> > -
> > -diff --git a/src/video/kmsdrm/SDL_kmsdrmvideo.c b/src/video/kmsdrm/SDL_kmsdrmvideo.c
> > -index 7855eeddb..f63c91b0a 100644
> > ---- a/src/video/kmsdrm/SDL_kmsdrmvideo.c
> > -+++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c
> > -@@ -41,15 +41,22 @@
> > - #include "SDL_kmsdrmopengles.h"
> > - #include "SDL_kmsdrmmouse.h"
> > - #include "SDL_kmsdrmdyn.h"
> > -+#include <sys/stat.h>
> > -+#include <dirent.h>
> > -+#include <errno.h>
> > - 
> > --#define KMSDRM_DRI_CARD_0 "/dev/dri/card0"
> > -+#define KMSDRM_DRI_PATH "/dev/dri/"
> > - 
> > - static int
> > --KMSDRM_Available(void)
> > -+check_modestting(int devindex)
> > - {
> > -     int available = 0;
> > -+    char device[512];
> > -+    int drm_fd;
> > -+
> > -+    sprintf(device, "%scard%d", KMSDRM_DRI_PATH, devindex);
> > - 
> > --    int drm_fd = open(KMSDRM_DRI_CARD_0, O_RDWR | O_CLOEXEC);
> > -+    drm_fd = open(device, O_RDWR | O_CLOEXEC);
> > -     if (drm_fd >= 0) {
> > -         if (SDL_KMSDRM_LoadSymbols()) {
> > -             drmModeRes *resources = KMSDRM_drmModeGetResources(drm_fd);
> > -@@ -65,6 +72,72 @@ KMSDRM_Available(void)
> > -     return available;
> > - }
> > - 
> > -+static int get_dricount(void)
> > -+{
> > -+    int devcount = 0;
> > -+    struct dirent *res;
> > -+    struct stat sb;
> > -+    DIR *folder;
> > -+
> > -+    if (!(stat(KMSDRM_DRI_PATH, &sb) == 0
> > -+                && S_ISDIR(sb.st_mode))) {
> > -+        printf("The path %s cannot be opened or is not available\n",
> > -+               KMSDRM_DRI_PATH);
> > -+        return 0;
> > -+    }
> > -+
> > -+    if (access(KMSDRM_DRI_PATH, F_OK) == -1) {
> > -+        printf("The path %s cannot be opened\n",
> > -+               KMSDRM_DRI_PATH);
> > -+        return 0;
> > -+    }
> > -+
> > -+    folder = opendir(KMSDRM_DRI_PATH);
> > -+    if (!folder)
> > -+        return 0;
> > -+
> > -+    while ((res = readdir(folder))) {
> > -+        if (res->d_type == DT_CHR)
> > -+            devcount++;
> > -+    }
> > -+
> > -+    closedir(folder);
> > -+
> > -+    return devcount;
> > -+}
> > -+
> > -+static int
> > -+get_driindex(void)
> > -+{
> > -+    int i = 0;
> > -+    int available = 0;
> > -+    int devcount = get_dricount();
> > -+
> > -+    for (i = 0; i < devcount; i++) {
> > -+        if (check_modestting(i)) {
> > -+            available = 1;
> > -+            break;
> > -+        }
> > -+    }
> > -+
> > -+    if (available)
> > -+        return i;
> > -+
> > -+    return -ENOENT;
> > -+}
> > -+
> > -+static int
> > -+KMSDRM_Available(void)
> > -+{
> > -+    int ret = -ENOENT;
> > -+
> > -+    ret = get_driindex();
> > -+    if (ret >= 0)
> > -+        return 1;
> > -+
> > -+    return ret;
> > -+}
> > -+
> > - static void
> > - KMSDRM_Destroy(SDL_VideoDevice * device)
> > - {
> > -@@ -83,7 +156,10 @@ KMSDRM_Create(int devindex)
> > -     SDL_VideoDevice *device;
> > -     SDL_VideoData *vdata;
> > - 
> > --    if (devindex < 0 || devindex > 99) {
> > -+    if (!devindex || devindex > 99)
> > -+        devindex = get_driindex();
> > -+
> > -+    if (devindex < 0) {
> > -         SDL_SetError("devindex (%d) must be between 0 and 99.\n", devindex);
> > -         return NULL;
> > -     }
> > --- 
> > -2.18.0
> > -
> > diff --git a/patches/SDL2-2.0.8/series b/patches/SDL2-2.0.8/series
> > deleted file mode 100644
> > index e4e931f38..000000000
> > --- a/patches/SDL2-2.0.8/series
> > +++ /dev/null
> > @@ -1,5 +0,0 @@
> > -# generated by git-ptx-patches
> > -#tag:base --start-number 1
> > -0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> > -0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
> > -# b803bb470cfcfd4d04f208304b9fd212  - git-ptx-patches magic
> > diff --git a/patches/SDL2-2.0.8/0001-sdl-2.0.8-add-egl-cflags-to-test.patch b/patches/SDL2-2.0.9/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> > similarity index 92%
> > rename from patches/SDL2-2.0.8/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> > rename to patches/SDL2-2.0.9/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> > index c86d48e5a..573499644 100644
> > --- a/patches/SDL2-2.0.8/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> > +++ b/patches/SDL2-2.0.9/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> > @@ -25,10 +25,10 @@ index 9edfb8a7d913..2f1e2ef3d419 100755
> >   for autoconf in autoconf autoconf259 autoconf-2.59
> >   do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
> >  diff --git a/configure.in b/configure.in
> > -index 1c7e79338a88..06e37a1b7f98 100644
> > +index ae866ff0c55c..23d4ee2d8fad 100644
> >  --- a/configure.in
> >  +++ b/configure.in
> > -@@ -2335,6 +2335,14 @@ dnl Find OpenGL ES
> > +@@ -2349,6 +2349,14 @@ dnl Find OpenGL ES
> >   CheckOpenGLESX11()
> >   {
> >       if test x$enable_video = xyes -a x$enable_video_opengles = xyes; then
> > @@ -43,7 +43,7 @@ index 1c7e79338a88..06e37a1b7f98 100644
> >           AC_MSG_CHECKING(for EGL support)
> >           video_opengl_egl=no
> >           AC_TRY_COMPILE([
> > -@@ -2347,6 +2355,9 @@ CheckOpenGLESX11()
> > +@@ -2361,6 +2369,9 @@ CheckOpenGLESX11()
> >           video_opengl_egl=yes
> >           ])
> >           AC_MSG_RESULT($video_opengl_egl)
> > diff --git a/patches/SDL2-2.0.8/autogen.sh b/patches/SDL2-2.0.9/autogen.sh
> > similarity index 100%
> > rename from patches/SDL2-2.0.8/autogen.sh
> > rename to patches/SDL2-2.0.9/autogen.sh
> > diff --git a/patches/SDL2-2.0.9/series b/patches/SDL2-2.0.9/series
> > new file mode 100644
> > index 000000000..3693c2785
> > --- /dev/null
> > +++ b/patches/SDL2-2.0.9/series
> > @@ -0,0 +1,4 @@
> > +# generated by git-ptx-patches
> > +#tag:base --start-number 1
> > +0001-sdl-2.0.8-add-egl-cflags-to-test.patch
> > +# 57d72a951bd7f961008ad5274d82876a  - git-ptx-patches magic
> > diff --git a/patches/SDL2_test-2.0.8/0001-sdl-2.0.8-tests-configure-opengl.patch b/patches/SDL2_test-2.0.9/0001-sdl-2.0.8-tests-configure-opengl.patch
> > similarity index 100%
> > rename from patches/SDL2_test-2.0.8/0001-sdl-2.0.8-tests-configure-opengl.patch
> > rename to patches/SDL2_test-2.0.9/0001-sdl-2.0.8-tests-configure-opengl.patch
> > diff --git a/patches/SDL2_test-2.0.8/autogen.sh b/patches/SDL2_test-2.0.9/autogen.sh
> > similarity index 100%
> > rename from patches/SDL2_test-2.0.8/autogen.sh
> > rename to patches/SDL2_test-2.0.9/autogen.sh
> > diff --git a/patches/SDL2_test-2.0.8/series b/patches/SDL2_test-2.0.9/series
> > similarity index 100%
> > rename from patches/SDL2_test-2.0.8/series
> > rename to patches/SDL2_test-2.0.9/series
> > diff --git a/rules/sdl2.make b/rules/sdl2.make
> > index 441620789..95d4284e2 100644
> > --- a/rules/sdl2.make
> > +++ b/rules/sdl2.make
> > @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_SDL2) += sdl2
> >  #
> >  # Paths and names
> >  #
> > -SDL2_VERSION	:= 2.0.8
> > -SDL2_MD5	:= 3800d705cef742c6a634f202c37f263f
> > +SDL2_VERSION	:= 2.0.9
> > +SDL2_MD5	:= f2ecfba915c54f7200f504d8b48a5dfe
> >  SDL2		:= SDL2-$(SDL2_VERSION)
> >  SDL2_SUFFIX	:= tar.gz
> >  SDL2_URL	:= https://www.libsdl.org/release/$(SDL2).$(SDL2_SUFFIX)
> > -- 
> > 2.19.1
> > 
> > 
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ptxdist] [PATCH v2 0/3] sdl2: update packages to latest versions
  2018-11-23 17:10 [ptxdist] [PATCH 0/3] sdl2: update packages to latest versions Michael Grzeschik
                   ` (2 preceding siblings ...)
  2018-11-23 17:10 ` [ptxdist] [PATCH 3/3] sdl2-mixer: " Michael Grzeschik
@ 2018-11-26 12:45 ` Michael Grzeschik
  2018-11-26 12:45   ` [ptxdist] [PATCH v2 1/3] sdl2: version bump to 2.0.9 Michael Grzeschik
                     ` (2 more replies)
  3 siblings, 3 replies; 12+ messages in thread
From: Michael Grzeschik @ 2018-11-26 12:45 UTC (permalink / raw)
  To: ptxdist

This series updates the sdl2 packages to their latest
versions, updates their options and removes obsolete patches.

Michael Grzeschik (3):
  sdl2: version bump to 2.0.9
  sdl2-image: version bump to 2.0.4
  sdl2-mixer: version bump to 2.0.4

 ...-find-available-card-if-called-witho.patch | 129 ------------------
 patches/SDL2-2.0.8/series                     |   5 -
 ...001-sdl-2.0.8-add-egl-cflags-to-test.patch |   6 +-
 patches/{SDL2-2.0.8 => SDL2-2.0.9}/autogen.sh |   0
 patches/SDL2-2.0.9/series                     |   4 +
 ...001-sdl-2.0.8-tests-configure-opengl.patch |   0
 .../autogen.sh                                |   0
 .../series                                    |   0
 rules/sdl2-image.in                           |   6 +
 rules/sdl2-image.make                         |   8 +-
 rules/sdl2-mixer.make                         |  15 +-
 rules/sdl2.make                               |   7 +-
 12 files changed, 35 insertions(+), 145 deletions(-)
 delete mode 100644 patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
 delete mode 100644 patches/SDL2-2.0.8/series
 rename patches/{SDL2-2.0.8 => SDL2-2.0.9}/0001-sdl-2.0.8-add-egl-cflags-to-test.patch (92%)
 rename patches/{SDL2-2.0.8 => SDL2-2.0.9}/autogen.sh (100%)
 create mode 100644 patches/SDL2-2.0.9/series
 rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/0001-sdl-2.0.8-tests-configure-opengl.patch (100%)
 rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/autogen.sh (100%)
 rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/series (100%)

-- 
2.19.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ptxdist] [PATCH v2 1/3] sdl2: version bump to 2.0.9
  2018-11-26 12:45 ` [ptxdist] [PATCH v2 0/3] sdl2: update packages to latest versions Michael Grzeschik
@ 2018-11-26 12:45   ` Michael Grzeschik
  2018-11-26 12:45   ` [ptxdist] [PATCH v2 2/3] sdl2-image: version bump to 2.0.4 Michael Grzeschik
  2018-11-26 12:45   ` [ptxdist] [PATCH v2 3/3] sdl2-mixer: " Michael Grzeschik
  2 siblings, 0 replies; 12+ messages in thread
From: Michael Grzeschik @ 2018-11-26 12:45 UTC (permalink / raw)
  To: ptxdist

Update to 2.0.9 and remove already mainlined patch.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 ...-find-available-card-if-called-witho.patch | 129 ------------------
 patches/SDL2-2.0.8/series                     |   5 -
 ...001-sdl-2.0.8-add-egl-cflags-to-test.patch |   6 +-
 patches/{SDL2-2.0.8 => SDL2-2.0.9}/autogen.sh |   0
 patches/SDL2-2.0.9/series                     |   4 +
 ...001-sdl-2.0.8-tests-configure-opengl.patch |   0
 .../autogen.sh                                |   0
 .../series                                    |   0
 rules/sdl2.make                               |   7 +-
 9 files changed, 12 insertions(+), 139 deletions(-)
 delete mode 100644 patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
 delete mode 100644 patches/SDL2-2.0.8/series
 rename patches/{SDL2-2.0.8 => SDL2-2.0.9}/0001-sdl-2.0.8-add-egl-cflags-to-test.patch (92%)
 rename patches/{SDL2-2.0.8 => SDL2-2.0.9}/autogen.sh (100%)
 create mode 100644 patches/SDL2-2.0.9/series
 rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/0001-sdl-2.0.8-tests-configure-opengl.patch (100%)
 rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/autogen.sh (100%)
 rename patches/{SDL2_test-2.0.8 => SDL2_test-2.0.9}/series (100%)

diff --git a/patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch b/patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
deleted file mode 100644
index e889f87ae..000000000
--- a/patches/SDL2-2.0.8/0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
+++ /dev/null
@@ -1,129 +0,0 @@
-From 212c7c68ec228a1058f39497d18c65e9312d00df Mon Sep 17 00:00:00 2001
-From: Michael Grzeschik <m.grzeschik@pengutronix.de>
-Date: Thu, 12 Jul 2018 13:48:54 +0200
-Subject: [PATCH] sdl-2.0.8: KMSDRM: find available card if called without
- index
-
-Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
----
- src/video/kmsdrm/SDL_kmsdrmvideo.c | 84 ++++++++++++++++++++++++++++--
- 1 file changed, 80 insertions(+), 4 deletions(-)
-
-diff --git a/src/video/kmsdrm/SDL_kmsdrmvideo.c b/src/video/kmsdrm/SDL_kmsdrmvideo.c
-index 7855eeddb..f63c91b0a 100644
---- a/src/video/kmsdrm/SDL_kmsdrmvideo.c
-+++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c
-@@ -41,15 +41,22 @@
- #include "SDL_kmsdrmopengles.h"
- #include "SDL_kmsdrmmouse.h"
- #include "SDL_kmsdrmdyn.h"
-+#include <sys/stat.h>
-+#include <dirent.h>
-+#include <errno.h>
- 
--#define KMSDRM_DRI_CARD_0 "/dev/dri/card0"
-+#define KMSDRM_DRI_PATH "/dev/dri/"
- 
- static int
--KMSDRM_Available(void)
-+check_modestting(int devindex)
- {
-     int available = 0;
-+    char device[512];
-+    int drm_fd;
-+
-+    sprintf(device, "%scard%d", KMSDRM_DRI_PATH, devindex);
- 
--    int drm_fd = open(KMSDRM_DRI_CARD_0, O_RDWR | O_CLOEXEC);
-+    drm_fd = open(device, O_RDWR | O_CLOEXEC);
-     if (drm_fd >= 0) {
-         if (SDL_KMSDRM_LoadSymbols()) {
-             drmModeRes *resources = KMSDRM_drmModeGetResources(drm_fd);
-@@ -65,6 +72,72 @@ KMSDRM_Available(void)
-     return available;
- }
- 
-+static int get_dricount(void)
-+{
-+    int devcount = 0;
-+    struct dirent *res;
-+    struct stat sb;
-+    DIR *folder;
-+
-+    if (!(stat(KMSDRM_DRI_PATH, &sb) == 0
-+                && S_ISDIR(sb.st_mode))) {
-+        printf("The path %s cannot be opened or is not available\n",
-+               KMSDRM_DRI_PATH);
-+        return 0;
-+    }
-+
-+    if (access(KMSDRM_DRI_PATH, F_OK) == -1) {
-+        printf("The path %s cannot be opened\n",
-+               KMSDRM_DRI_PATH);
-+        return 0;
-+    }
-+
-+    folder = opendir(KMSDRM_DRI_PATH);
-+    if (!folder)
-+        return 0;
-+
-+    while ((res = readdir(folder))) {
-+        if (res->d_type == DT_CHR)
-+            devcount++;
-+    }
-+
-+    closedir(folder);
-+
-+    return devcount;
-+}
-+
-+static int
-+get_driindex(void)
-+{
-+    int i = 0;
-+    int available = 0;
-+    int devcount = get_dricount();
-+
-+    for (i = 0; i < devcount; i++) {
-+        if (check_modestting(i)) {
-+            available = 1;
-+            break;
-+        }
-+    }
-+
-+    if (available)
-+        return i;
-+
-+    return -ENOENT;
-+}
-+
-+static int
-+KMSDRM_Available(void)
-+{
-+    int ret = -ENOENT;
-+
-+    ret = get_driindex();
-+    if (ret >= 0)
-+        return 1;
-+
-+    return ret;
-+}
-+
- static void
- KMSDRM_Destroy(SDL_VideoDevice * device)
- {
-@@ -83,7 +156,10 @@ KMSDRM_Create(int devindex)
-     SDL_VideoDevice *device;
-     SDL_VideoData *vdata;
- 
--    if (devindex < 0 || devindex > 99) {
-+    if (!devindex || devindex > 99)
-+        devindex = get_driindex();
-+
-+    if (devindex < 0) {
-         SDL_SetError("devindex (%d) must be between 0 and 99.\n", devindex);
-         return NULL;
-     }
--- 
-2.18.0
-
diff --git a/patches/SDL2-2.0.8/series b/patches/SDL2-2.0.8/series
deleted file mode 100644
index e4e931f38..000000000
--- a/patches/SDL2-2.0.8/series
+++ /dev/null
@@ -1,5 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-sdl-2.0.8-add-egl-cflags-to-test.patch
-0002-sdl-2.0.8-KMSDRM-find-available-card-if-called-witho.patch
-# b803bb470cfcfd4d04f208304b9fd212  - git-ptx-patches magic
diff --git a/patches/SDL2-2.0.8/0001-sdl-2.0.8-add-egl-cflags-to-test.patch b/patches/SDL2-2.0.9/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
similarity index 92%
rename from patches/SDL2-2.0.8/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
rename to patches/SDL2-2.0.9/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
index c86d48e5a..573499644 100644
--- a/patches/SDL2-2.0.8/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
+++ b/patches/SDL2-2.0.9/0001-sdl-2.0.8-add-egl-cflags-to-test.patch
@@ -25,10 +25,10 @@ index 9edfb8a7d913..2f1e2ef3d419 100755
  for autoconf in autoconf autoconf259 autoconf-2.59
  do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
 diff --git a/configure.in b/configure.in
-index 1c7e79338a88..06e37a1b7f98 100644
+index ae866ff0c55c..23d4ee2d8fad 100644
 --- a/configure.in
 +++ b/configure.in
-@@ -2335,6 +2335,14 @@ dnl Find OpenGL ES
+@@ -2349,6 +2349,14 @@ dnl Find OpenGL ES
  CheckOpenGLESX11()
  {
      if test x$enable_video = xyes -a x$enable_video_opengles = xyes; then
@@ -43,7 +43,7 @@ index 1c7e79338a88..06e37a1b7f98 100644
          AC_MSG_CHECKING(for EGL support)
          video_opengl_egl=no
          AC_TRY_COMPILE([
-@@ -2347,6 +2355,9 @@ CheckOpenGLESX11()
+@@ -2361,6 +2369,9 @@ CheckOpenGLESX11()
          video_opengl_egl=yes
          ])
          AC_MSG_RESULT($video_opengl_egl)
diff --git a/patches/SDL2-2.0.8/autogen.sh b/patches/SDL2-2.0.9/autogen.sh
similarity index 100%
rename from patches/SDL2-2.0.8/autogen.sh
rename to patches/SDL2-2.0.9/autogen.sh
diff --git a/patches/SDL2-2.0.9/series b/patches/SDL2-2.0.9/series
new file mode 100644
index 000000000..3693c2785
--- /dev/null
+++ b/patches/SDL2-2.0.9/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-sdl-2.0.8-add-egl-cflags-to-test.patch
+# 57d72a951bd7f961008ad5274d82876a  - git-ptx-patches magic
diff --git a/patches/SDL2_test-2.0.8/0001-sdl-2.0.8-tests-configure-opengl.patch b/patches/SDL2_test-2.0.9/0001-sdl-2.0.8-tests-configure-opengl.patch
similarity index 100%
rename from patches/SDL2_test-2.0.8/0001-sdl-2.0.8-tests-configure-opengl.patch
rename to patches/SDL2_test-2.0.9/0001-sdl-2.0.8-tests-configure-opengl.patch
diff --git a/patches/SDL2_test-2.0.8/autogen.sh b/patches/SDL2_test-2.0.9/autogen.sh
similarity index 100%
rename from patches/SDL2_test-2.0.8/autogen.sh
rename to patches/SDL2_test-2.0.9/autogen.sh
diff --git a/patches/SDL2_test-2.0.8/series b/patches/SDL2_test-2.0.9/series
similarity index 100%
rename from patches/SDL2_test-2.0.8/series
rename to patches/SDL2_test-2.0.9/series
diff --git a/rules/sdl2.make b/rules/sdl2.make
index 441620789..32d8a703d 100644
--- a/rules/sdl2.make
+++ b/rules/sdl2.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_SDL2) += sdl2
 #
 # Paths and names
 #
-SDL2_VERSION	:= 2.0.8
-SDL2_MD5	:= 3800d705cef742c6a634f202c37f263f
+SDL2_VERSION	:= 2.0.9
+SDL2_MD5	:= f2ecfba915c54f7200f504d8b48a5dfe
 SDL2		:= SDL2-$(SDL2_VERSION)
 SDL2_SUFFIX	:= tar.gz
 SDL2_URL	:= https://www.libsdl.org/release/$(SDL2).$(SDL2_SUFFIX)
@@ -49,6 +49,8 @@ SDL2_CONF_OPT	:= \
 	--enable-events \
 	--enable-joystick \
 	--enable-haptic \
+	--enable-sensor \
+	--enable-hidapi \
 	--disable-power \
 	--disable-filesystem \
 	--enable-threads \
@@ -125,6 +127,7 @@ SDL2_CONF_OPT	:= \
 	--enable-pthreads \
 	--enable-pthread-sem \
 	--disable-directx \
+	--disable-wasapi \
 	--enable-sdl-dlopen \
 	--enable-clock_gettime \
 	--disable-rpath \
-- 
2.19.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ptxdist] [PATCH v2 2/3] sdl2-image: version bump to 2.0.4
  2018-11-26 12:45 ` [ptxdist] [PATCH v2 0/3] sdl2: update packages to latest versions Michael Grzeschik
  2018-11-26 12:45   ` [ptxdist] [PATCH v2 1/3] sdl2: version bump to 2.0.9 Michael Grzeschik
@ 2018-11-26 12:45   ` Michael Grzeschik
  2018-11-26 12:45   ` [ptxdist] [PATCH v2 3/3] sdl2-mixer: " Michael Grzeschik
  2 siblings, 0 replies; 12+ messages in thread
From: Michael Grzeschik @ 2018-11-26 12:45 UTC (permalink / raw)
  To: ptxdist

Update to 2.0.4.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 rules/sdl2-image.in   | 6 ++++++
 rules/sdl2-image.make | 8 ++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/rules/sdl2-image.in b/rules/sdl2-image.in
index 3fde58154..44bac25cc 100644
--- a/rules/sdl2-image.in
+++ b/rules/sdl2-image.in
@@ -34,12 +34,18 @@ config SDL2_IMAGE_PNG
 config SDL2_IMAGE_PNM
 	bool "pnm support"
 
+config SDL2_IMAGE_SVG
+	bool "svg support"
+
 config SDL2_IMAGE_TGA
 	bool "tga support"
 
 config SDL2_IMAGE_TIF
 	bool "tiff support"
 
+config SDL2_IMAGE_WEBP
+	bool "webp support"
+
 config SDL2_IMAGE_XCF
 	bool "xcf support"
 
diff --git a/rules/sdl2-image.make b/rules/sdl2-image.make
index 1486e0058..dcc293cf7 100644
--- a/rules/sdl2-image.make
+++ b/rules/sdl2-image.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_SDL2_IMAGE) += sdl2-image
 #
 # Paths and names
 #
-SDL2_IMAGE_VERSION	:= 2.0.3
-SDL2_IMAGE_MD5		:= c6baf6dfa80fa8a66853661a36a6034e
+SDL2_IMAGE_VERSION	:= 2.0.4
+SDL2_IMAGE_MD5		:= 88b9766d5b64a67f82ba511c57e7ce10
 SDL2_IMAGE		:= SDL2_image-$(SDL2_IMAGE_VERSION)
 SDL2_IMAGE_SUFFIX	:= tar.gz
 SDL2_IMAGE_URL		:= https://www.libsdl.org/projects/SDL_image/release/$(SDL2_IMAGE).$(SDL2_IMAGE_SUFFIX)
@@ -35,9 +35,11 @@ SDL2_IMAGE_CONF_OPT	:= \
 	--enable-shared \
 	--disable-static \
 	--disable-sdltest \
+	--disable-imageio \
 	--disable-jpg-shared \
 	--disable-png-shared \
 	--disable-tif-shared \
+	--disable-webp-shared \
 	--$(call ptx/endis, PTXCONF_SDL2_IMAGE_BMP)-bmp \
 	--$(call ptx/endis, PTXCONF_SDL2_IMAGE_GIF)-gif \
 	--$(call ptx/endis, PTXCONF_SDL2_IMAGE_JPG)-jpg \
@@ -45,8 +47,10 @@ SDL2_IMAGE_CONF_OPT	:= \
 	--$(call ptx/endis, PTXCONF_SDL2_IMAGE_PCX)-pcx \
 	--$(call ptx/endis, PTXCONF_SDL2_IMAGE_PNG)-png \
 	--$(call ptx/endis, PTXCONF_SDL2_IMAGE_PNM)-pnm \
+	--$(call ptx/endis, PTXCONF_SDL2_IMAGE_SVG)-svg \
 	--$(call ptx/endis, PTXCONF_SDL2_IMAGE_TGA)-tga \
 	--$(call ptx/endis, PTXCONF_SDL2_IMAGE_TIF)-tif \
+	--$(call ptx/endis, PTXCONF_SDL2_IMAGE_WEBP)-webp \
 	--$(call ptx/endis, PTXCONF_SDL2_IMAGE_XCF)-xcf \
 	--$(call ptx/endis, PTXCONF_SDL2_IMAGE_XPM)-xpm \
 	--$(call ptx/endis, PTXCONF_SDL2_IMAGE_XV)-xv
-- 
2.19.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [ptxdist] [PATCH v2 3/3] sdl2-mixer: version bump to 2.0.4
  2018-11-26 12:45 ` [ptxdist] [PATCH v2 0/3] sdl2: update packages to latest versions Michael Grzeschik
  2018-11-26 12:45   ` [ptxdist] [PATCH v2 1/3] sdl2: version bump to 2.0.9 Michael Grzeschik
  2018-11-26 12:45   ` [ptxdist] [PATCH v2 2/3] sdl2-image: version bump to 2.0.4 Michael Grzeschik
@ 2018-11-26 12:45   ` Michael Grzeschik
  2 siblings, 0 replies; 12+ messages in thread
From: Michael Grzeschik @ 2018-11-26 12:45 UTC (permalink / raw)
  To: ptxdist

Update to 2.0.4.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 rules/sdl2-mixer.make | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/rules/sdl2-mixer.make b/rules/sdl2-mixer.make
index 2689a5957..2d58a1b1c 100644
--- a/rules/sdl2-mixer.make
+++ b/rules/sdl2-mixer.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_SDL2_MIXER) += sdl2-mixer
 #
 # Paths and names
 #
-SDL2_MIXER_VERSION	:= 2.0.2
-SDL2_MIXER_MD5		:= aaa0551393993c14a13f72b339c0ed6c
+SDL2_MIXER_VERSION	:= 2.0.4
+SDL2_MIXER_MD5		:= a36e8410cac46b00a4d01752b32c3eb1
 SDL2_MIXER		:= SDL2_mixer-$(SDL2_MIXER_VERSION)
 SDL2_MIXER_SUFFIX	:= tar.gz
 SDL2_MIXER_URL		:= https://www.libsdl.org/projects/SDL_mixer/release/$(SDL2_MIXER).$(SDL2_MIXER_SUFFIX)
@@ -37,19 +37,26 @@ SDL2_MIXER_CONF_OPT	:= \
 	--enable-music-wave \
 	--disable-music-mod \
 	--disable-music-mod-modplug \
+	--disable-music-mod-modplug-shared \
 	--disable-music-mod-mikmod \
+	--disable-music-mod-mikmod-shared \
 	--disable-music-midi \
 	--disable-music-midi-timidity \
 	--disable-music-midi-native \
 	--disable-music-midi-fluidsynth \
+	--disable-music-midi-fluidsynth-shared \
 	--disable-music-ogg \
+	--disable-music-ogg-shared \
+	--disable-music-opus \
+	--disable-music-opus-shared \
 	--disable-music-ogg-tremor \
 	--disable-music-flac \
+	--disable-music-flac-shared \
 	--disable-music-mp3 \
-	--disable-music-mp3-smpeg \
 	--disable-music-mp3-mad-gpl \
 	--disable-music-mp3-mad-gpl-dithering \
-	--disable-music-mp3-mpg123
+	--disable-music-mp3-mpg123 \
+	--disable-music-mp3-mpg123-shared
 
 ifdef PTXCONF_SDL2_PULSEAUDIO
 SDL2_MIXER_LDFLAGS	:= \
-- 
2.19.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-11-26 12:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-23 17:10 [ptxdist] [PATCH 0/3] sdl2: update packages to latest versions Michael Grzeschik
2018-11-23 17:10 ` [ptxdist] [PATCH 1/3] sdl2: version bump to 2.0.9 Michael Grzeschik
2018-11-26  5:27   ` Michael Olbrich
2018-11-26  7:43     ` Michael Grzeschik
2018-11-23 17:10 ` [ptxdist] [PATCH 2/3] sdl2-image: version bump to 2.0.4 Michael Grzeschik
2018-11-23 17:10 ` [ptxdist] [PATCH 3/3] sdl2-mixer: " Michael Grzeschik
2018-11-26  5:29   ` Michael Olbrich
2018-11-26  7:41     ` Michael Grzeschik
2018-11-26 12:45 ` [ptxdist] [PATCH v2 0/3] sdl2: update packages to latest versions Michael Grzeschik
2018-11-26 12:45   ` [ptxdist] [PATCH v2 1/3] sdl2: version bump to 2.0.9 Michael Grzeschik
2018-11-26 12:45   ` [ptxdist] [PATCH v2 2/3] sdl2-image: version bump to 2.0.4 Michael Grzeschik
2018-11-26 12:45   ` [ptxdist] [PATCH v2 3/3] sdl2-mixer: " Michael Grzeschik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox