From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 29 Nov 2022 17:08:49 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1p03A8-005Ogg-VB for lore@lore.pengutronix.de; Tue, 29 Nov 2022 17:08:49 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1p03A8-0000Pr-Pl; Tue, 29 Nov 2022 17:08:48 +0100 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p039j-0000Ph-TL; Tue, 29 Nov 2022 17:08:23 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1p039j-0006Gt-CX; Tue, 29 Nov 2022 17:08:23 +0100 Date: Tue, 29 Nov 2022 17:08:23 +0100 From: Michael Olbrich To: Christian Melki Message-ID: <20221129160823.GH30335@pengutronix.de> Mail-Followup-To: Christian Melki , ptxdist@pengutronix.de References: <20221123211626.3799158-1-christian.melki@t2data.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221123211626.3799158-1-christian.melki@t2data.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] [PATCH] sdl2: Version bump. 2.24.2 -> 2.26.0 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Wed, Nov 23, 2022 at 10:16:26PM +0100, Christian Melki wrote: > Coming in hot on the last update. > 2.26 is probably the last stable series before SDL 3.0. > Actually not that many new features that a new series would indicate. > > https://github.com/libsdl-org/SDL/releases/tag/release-2.26.0 > Changed/explicitly specified a few config opts. > > * Add missing global largefile opt. > * Allow arch x86 compiler to tune for mmx, and x86_64 > to tune for that and sse2 + sse3. The choice to forgo sse > is intentional. But enable the larger knob for ssemath. > Either way, longshot. But I don't think it harms anything. > * Allow arch ppc compiler to tune for altivec. > * Explicitly disable lsx, lasx instructions. > * Explicitly disable xfixes xorg protocol. > * Enable offscreen rendering capability. > > Signed-off-by: Christian Melki > --- > rules/sdl2.make | 21 +++++++++++++-------- > 1 file changed, 13 insertions(+), 8 deletions(-) > > diff --git a/rules/sdl2.make b/rules/sdl2.make > index 1fec56d41..93ed79c77 100644 > --- a/rules/sdl2.make > +++ b/rules/sdl2.make > @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_SDL2) += sdl2 > # > # Paths and names > # > -SDL2_VERSION := 2.24.2 > -SDL2_MD5 := 84c71cb2a14aa0d9504513c0b9fcb17c > +SDL2_VERSION := 2.26.0 > +SDL2_MD5 := 35bc58cfe41b8fb6c8e6646be26fa47e > SDL2 := SDL2-$(SDL2_VERSION) > SDL2_SUFFIX := tar.gz > SDL2_URL := https://www.libsdl.org/release/$(SDL2).$(SDL2_SUFFIX) > @@ -33,6 +33,7 @@ SDL2_LICENSE := zlib > SDL2_CONF_TOOL := autoconf > SDL2_CONF_OPT := \ > $(CROSS_AUTOCONF_USR) \ > + $(GLOBAL_LARGE_FILE_OPTION) \ > --enable-shared \ > --disable-static \ > --enable-libtool-lock \ > @@ -55,13 +56,15 @@ SDL2_CONF_OPT := \ > --enable-loadso \ > --enable-cpuinfo \ > --enable-assembly \ > - --disable-ssemath \ > - --disable-mmx \ > + --$(call ptx/endis,PTXCONF_ARCH_X86)-ssemath \ > + --$(call ptx/endis,PTXCONF_ARCH_X86)-mmx \ Hmmm, not sure if enabling mmx is still useful these days. > --disable-3dnow \ > - --disable-sse \ > - --disable-sse2 \ > - --disable-sse3 \ > - --disable-altivec \ > + --$(call ptx/endis,PTXCONF_ARCH_X86)-sse \ > + --$(call ptx/endis,PTXCONF_ARCH_X86_64)-sse2 \ > + --$(call ptx/endis,PTXCONF_ARCH_X86_64)-sse3 \ > + --$(call ptx/endis,PTXCONF_ARCH_PPC)-altivec \ This fails to build in my one PPC test case. Michael > + --disable-lsx \ > + --disable-lasx \ > --$(call ptx/endis,PTXCONF_SDL2_OSS)-oss \ > --$(call ptx/endis,PTXCONF_SDL2_ALSA)-alsa \ > --disable-alsatest \ > @@ -100,6 +103,7 @@ SDL2_CONF_OPT := \ > --$(call ptx/endis,PTXCONF_SDL2_XORG)-video-x11-xcursor \ > --disable-video-x11-xdbe \ > --$(call ptx/endis,PTXCONF_SDL2_XORG)-video-x11-xinput \ > + --disable-video-x11-xfixes \ > --$(call ptx/endis,PTXCONF_SDL2_XORG)-video-x11-xrandr \ > --disable-video-x11-scrnsaver \ > --disable-video-x11-xshape \ > @@ -112,6 +116,7 @@ SDL2_CONF_OPT := \ > --$(call ptx/endis,PTXCONF_SDL2_KMS)-video-kmsdrm \ > --$(call ptx/endis,PTXCONF_SDL2_KMS)-kmsdrm-shared \ > --enable-video-dummy \ > + --enable-video-offscreen \ > --$(call ptx/endis,PTXCONF_SDL2_OPENGL)-video-opengl \ > --$(call ptx/endis,PTXCONF_SDL2_OPENGLES)-video-opengles \ > --$(call ptx/endis,PTXCONF_SDL2_OPENGLES1)-video-opengles1 \ > -- > 2.34.1 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |