From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 01 Dec 2022 11:17:15 +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 1p0gd0-007Ih4-BE for lore@lore.pengutronix.de; Thu, 01 Dec 2022 11:17:15 +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 1p0gd0-0004uA-6Y; Thu, 01 Dec 2022 11:17:14 +0100 Received: from mail-am6eur05on2054.outbound.protection.outlook.com ([40.107.22.54] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p0gcV-0004tz-WA for ptxdist@pengutronix.de; Thu, 01 Dec 2022 11:16:44 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EN23Nzp18DzRkssi/TGqmiISZkRTOd3rn49rTHPCKBt2NiQePuf+PlKbvwj3HiXMlm/rY2Lh9gO+450zcWrTPoYXh9HnlkXpX3blGCwQeqPne88pGK7pw2SNOee82oULhBuUNojXBEQOBsIu4lFMJzxXIUy7E7tBU+2uOCyU97j/HDgRVk2RABdDFHV6PeeB9nq1ywkQP0NVbYZstOi/u7XxpyLTwS6w6ztmHvdXD9UFZSisura/I6glrVCjKYQVFT4KxMHlKEF8XZW8pFJHkd9QwPcu12KnTH8pvN/Ui/nM1NhavsTmJS40paKwIL8qeDVzHEswCS7kqcJI+Hw6Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8fNaeLPsc1mJpDi86vHp1zJH5zwc76bNd4UdG0vD+Ro=; b=Xp/wlKNc6i8TsZH9k4PrZrP8JEWu+vvf9o9dcZplTNkgwBD++dWbjFx8ADRoNKI/iua4Gj5O9Own6gEvH6YQRmQqfM1PaYuX28XeH4wB6tolx//XNnyYEZC1GMn3RVHTx2CwdA31svPjE4psCk9WGX1zRksWdCl9VaD6oEkXqz8Kj8rIBB+rkgzWogbNHD+mX5aynKCI7i7nj4E0IpIdHQykfDF1pxTajApLKfcJFxW4PlGrQQiLAjSnmbCHZf8VeG2n6wLt+WsQOxcRyqcGoCxzf1BSZRJ2523Cwgc1irULAlkCBqJuqKW7rXGQ8fgl8+3PCytDZVZJUqaaCnhdzg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8fNaeLPsc1mJpDi86vHp1zJH5zwc76bNd4UdG0vD+Ro=; b=MoUOJapvKtoGSjMA0/gHX2ItfSaqa8ys2jUNF7Zu5ZsJXP8eB0xkYnPdb/95kxjIP2lxPpDroDIuHUNZcdCfe4EmjMW55zQO11sRwkwmHcQDOrP3O+UGb6iWCsKzIYKs/k98RABVpPwjmBTHAfKb1dKKvsgvfHom+jZH6wT2L88= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by AS1P251MB0479.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:4a4::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.8; Thu, 1 Dec 2022 10:16:40 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::db66:4269:9534:aab]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::db66:4269:9534:aab%4]) with mapi id 15.20.5857.023; Thu, 1 Dec 2022 10:16:40 +0000 From: Christian Melki To: ptxdist@pengutronix.de Date: Thu, 1 Dec 2022 11:16:32 +0100 Message-Id: <20221201101632.3995161-1-christian.melki@t2data.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: GV3P280CA0092.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:8::10) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9P251MB0618:EE_|AS1P251MB0479:EE_ X-MS-Office365-Filtering-Correlation-Id: a2e66b81-6279-4623-5d2e-08dad3852295 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ubVqZdM+8SktPCHoQKnFsGLBnf8oyL7Jp3nq/s9TxF9OT13JGhM4xqx3Gu0lbQGKaGXAz1xQIL197QMXwDfM6xSceAepRswDAtN6oqpFispIHXgitnIUM9fZstDeDS0uQqgXtvD9cXAh6CaQcaKtkNExpZlwPmo2Vf7ggdugTYqCnF9t7ZvDmEzoXRE8a6MpjK7PyBr2IejCu4o86O9Xhv+Olj7SI68r6GYBhiCUpQMa1UZXGohBg7A5N3mnEeAJajoxtixtsaghADMGj2VQk6k/nAw80ynJHq0U0viioEXaK6A/cyagxhvnr5nX5BGUVWFOxgvEFGvjYmIQk58GmBBzSLY/9+HfYO0gimAH4UBu7STEdIb/qwA7wc+TwJcJqz+noMFD1LRyH7H4cdmCPh8gxvJxQiVJSXt+/Xqf51Zi/7QwNmIuKsDWMHCCrZnaLtpaC+t5o01TH3ofRZWMbvY107yIWpDBB4Sz0mUp76hSdNJKHI1XiPiwct3RotlilEKbeOqPPZ0Y2r7L+B5wxd45sGicBGZBFjcg7NzU2SFD/18xh8S8SM9Z7xDqfucQmN5XecvPY73Pk5jJ7zVMTfS3crp8omXQKOglxGL77wBo1seMMhLxGurDmsE/z94rU9pU43AzUr6nNXkdelHXasarVWEk9J4CoAw3PCpu2HNMYKHN2a6sHQsN66IvlFmp2cYr9oUF76LZHNP1cOZe4xlTjcPpNqP6P0QZfbBeRcI= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230022)(396003)(39830400003)(136003)(376002)(346002)(366004)(451199015)(6486002)(36756003)(86362001)(966005)(52116002)(6506007)(6512007)(26005)(6666004)(478600001)(5660300002)(41300700001)(8936002)(2906002)(6916009)(316002)(66556008)(8676002)(66946007)(66476007)(38100700002)(38350700002)(186003)(44832011)(1076003)(83380400001)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?xSWBTo++2sEf9cL6STKVosyZvVD1wiTkjPsqxxFiPRwJCTT/V2oVYklJbbFA?= =?us-ascii?Q?d2J3/nVZukAJtP54guWPifhDJpMULjQl0fMmC5FBPyyBpz63SRCuAC3mU1L0?= =?us-ascii?Q?Hw0MD2Wj1e/YBKXVJYrdjBb7zpXRh+H6RZk2eoQtvP1l0C8GONFQFWACW0xi?= =?us-ascii?Q?BE2FzN7I88ne9Fql90YXGaRCEOmFSqLy1Z0RkdHpbLaPV7gf8evnWs6CqgZG?= =?us-ascii?Q?eXy0VMmY2kEZdxzSM1oNP88QcVia4fEa4soqwJen2amoBKd9E3iw2IegqCQh?= =?us-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os58zChXbLNLzJgOhX56BGBZObp5?= =?us-ascii?Q?911AA4PCu++LN6dXWuwgv9AGUmzRDsaxS5qLdRjwC/W9+6MPYPGlZNV0vmd2?= =?us-ascii?Q?54Cf/rFLq+cdecd3b9HjT8a4ZeU0P2aT8mvl1JxTklepNWC/tQihenKLFLve?= =?us-ascii?Q?GE999ztawD70bZcto9tdUHIveB//elWzyVt3ovBUuwROmx2QPX0eM3UQmZ/1?= =?us-ascii?Q?LM2jWdNqwMVhyBaor6x9zVjo15LSj2SuZqvP/fWgYD89FBHA53K/vJ6U5Wx+?= =?us-ascii?Q?ooygpqYah1v8FPHuy0bPuuGpzviE/xt+nKto0Ur2HfOyYBxTxt/kK74VRCgi?= =?us-ascii?Q?GcNgowOBWx1jGPdslvE7BeTiJnZ7d88Q0wvuEBpin4dh4fA3vrYzykjf3XsO?= =?us-ascii?Q?Qh6Vhx23YH+NDrUEy1F4Nxlx17gKgAxhkUBjp05vWoPsMaRRrRFc1V1WXhzZ?= =?us-ascii?Q?fA=3D=3D?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: a2e66b81-6279-4623-5d2e-08dad3852295 X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2022 10:16:40.7375 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iOpuKkiFl4br1/XESfuJvNxLdJ3KdLQx6C6WRFg1fnXfOPV1LRrDNBO9Ss3t0wCEMtj47HxVhUifI+9wwFMQfmbMu3ggIciKu8CpPnOyf0I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1P251MB0479 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-1.8 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,PDS_BTC_ID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH v2] sdl2: Version bump. 2.24.2 -> 2.26.0. Configuration fixes. 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 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 Coming in hot on the last update. 2.26.x 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 an older x86 compiler to tune for mmx, but disable mmx completely for x86_64. * Allow older x86 to tune for sse, and x86_64 to tune for sse (since x86_64 includes x86 arch),sse2 and sse3. Runtime has instruction detection with enable-cpuinfo. * Allow arch ppc compiler to tune for altivec when specified. * Explicitly disable lsx, lasx instructions for loongson arch. * Explicitly disable xfixes xorg protocol. * Enable offscreen rendering capability. Signed-off-by: Christian Melki --- rules/sdl2.make | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/rules/sdl2.make b/rules/sdl2.make index 1fec56d41..c33199ccf 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) @@ -27,12 +27,16 @@ SDL2_LICENSE := zlib # Prepare # ---------------------------------------------------------------------------- +# Only x86, not x86-64. +OLDER_X86 := $(if $(PTXCONF_ARCH_X86_64),,$(PTXCONF_ARCH_X86)) + # # autoconf # SDL2_CONF_TOOL := autoconf SDL2_CONF_OPT := \ $(CROSS_AUTOCONF_USR) \ + $(GLOBAL_LARGE_FILE_OPTION) \ --enable-shared \ --disable-static \ --enable-libtool-lock \ @@ -55,13 +59,15 @@ SDL2_CONF_OPT := \ --enable-loadso \ --enable-cpuinfo \ --enable-assembly \ - --disable-ssemath \ - --disable-mmx \ + --$(call ptx/endis,PTXCONF_ARCH_X86)-ssemath \ + --$(call ptx/endis,OLDER_X86)-mmx \ --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)-altivec \ + --disable-lsx \ + --disable-lasx \ --$(call ptx/endis,PTXCONF_SDL2_OSS)-oss \ --$(call ptx/endis,PTXCONF_SDL2_ALSA)-alsa \ --disable-alsatest \ @@ -100,6 +106,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 +119,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