Received: by mail.netbsd.org (Postfix, from userid 605) id 1135E84DA6; Thu, 1 Nov 2018 21:08:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0B3F284D9F for ; Thu, 1 Nov 2018 21:08:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 5sDRXdw_f-RG for ; Thu, 1 Nov 2018 21:08:28 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id B488C84D95 for ; Thu, 1 Nov 2018 21:08:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id AE8CDFBEE; Thu, 1 Nov 2018 21:08:28 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_15411065088380" MIME-Version: 1.0 Date: Thu, 1 Nov 2018 21:08:28 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/SDL2 To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20181101210828.AE8CDFBEE@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_15411065088380 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Thu Nov 1 21:08:28 UTC 2018 Modified Files: pkgsrc/devel/SDL2: Makefile PLIST buildlink3.mk distinfo options.mk Log Message: SDL2: updated to 2.0.9 2.0.9: General: * Added a new sensor API, initialized by passing SDL_INIT_SENSOR to SDL_Init(), and defined in SDL_sensor.h * Added an event SDL_SENSORUPDATE which is sent when a sensor is updated * Added SDL_GetDisplayOrientation() to return the current display orientation * Added an event SDL_DISPLAYEVENT which is sent when the display orientation changes * Added HIDAPI joystick drivers for more consistent support for Xbox, PS4 and Nintendo Switch Pro controller support across platforms. (Thanks to Valve for contributing the PS4 and Nintendo Switch Pro controller support) * Added support for many other popular game controllers * Added SDL_JoystickGetDevicePlayerIndex(), SDL_JoystickGetPlayerIndex(), and SDL_GameControllerGetPlayerIndex() to get the player index for a controller. For XInput controllers this returns the XInput index for the controller. * Added SDL_GameControllerRumble() and SDL_JoystickRumble() which allow simple rumble without using the haptics API * Added SDL_GameControllerMappingForDeviceIndex() to get the mapping for a controller before it's opened * Added the hint SDL_HINT_MOUSE_DOUBLE_CLICK_TIME to control the mouse double-click time * Added the hint SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS to control the mouse double-click radius, in pixels * Added SDL_HasColorKey() to return whether a surface has a colorkey active * Added SDL_HasAVX512F() to return whether the CPU has AVX-512F features * Added SDL_IsTablet() to return whether the application is running on a tablet * Added SDL_THREAD_PRIORITY_TIME_CRITICAL for threads that must run at the highest priority Mac OS X: * Fixed black screen at start on Mac OS X Mojave Linux: * Added SDL_LinuxSetThreadPriority() to allow adjusting the thread priority of native threads using RealtimeKit if available. iOS: * Fixed Asian IME input Android: * Updated required Android SDK to API 26, to match Google's new App Store requirements * Added support for wired USB Xbox, PS4, and Nintendo Switch Pro controllers * Added support for relative mouse mode on Android 7.0 and newer (except where it's broken, on Chromebooks and when in DeX mode with Samsung Experience 9.0) * Added support for custom mouse cursors on Android 7.0 and newer * Added the hint SDL_HINT_ANDROID_TRAP_BACK_BUTTON to control whether the back button will back out of the app (the default) or be passed to the application as SDL_SCANCODE_AC_BACK * Added SDL_AndroidBackButton() to trigger the Android system back button behavior when handling the back button in the application * Added SDL_IsChromebook() to return whether the app is running in the Chromebook Android runtime * Added SDL_IsDeXMode() to return whether the app is running while docked in the Samsung DeX To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 pkgsrc/devel/SDL2/Makefile cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/SDL2/PLIST cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/SDL2/buildlink3.mk cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/SDL2/distinfo cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/SDL2/options.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_15411065088380 Content-Disposition: inline Content-Length: 5026 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/SDL2/Makefile diff -u pkgsrc/devel/SDL2/Makefile:1.30 pkgsrc/devel/SDL2/Makefile:1.31 --- pkgsrc/devel/SDL2/Makefile:1.30 Fri Jul 6 15:06:45 2018 +++ pkgsrc/devel/SDL2/Makefile Thu Nov 1 21:08:28 2018 @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.30 2018/07/06 15:06:45 ryoon Exp $ +# $NetBSD: Makefile,v 1.31 2018/11/01 21:08:28 adam Exp $ -DISTNAME= SDL2-2.0.8 -PKGREVISION= 1 +DISTNAME= SDL2-2.0.9 CATEGORIES= devel MASTER_SITES= http://www.libsdl.org/release/ Index: pkgsrc/devel/SDL2/PLIST diff -u pkgsrc/devel/SDL2/PLIST:1.8 pkgsrc/devel/SDL2/PLIST:1.9 --- pkgsrc/devel/SDL2/PLIST:1.8 Mon Oct 23 20:48:43 2017 +++ pkgsrc/devel/SDL2/PLIST Thu Nov 1 21:08:28 2018 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.8 2017/10/23 20:48:43 adam Exp $ +@comment $NetBSD: PLIST,v 1.9 2018/11/01 21:08:28 adam Exp $ bin/sdl2-config include/SDL2/SDL.h include/SDL2/SDL_assert.h @@ -45,6 +45,7 @@ include/SDL2/SDL_render.h include/SDL2/SDL_revision.h include/SDL2/SDL_rwops.h include/SDL2/SDL_scancode.h +include/SDL2/SDL_sensor.h include/SDL2/SDL_shape.h include/SDL2/SDL_stdinc.h include/SDL2/SDL_surface.h Index: pkgsrc/devel/SDL2/buildlink3.mk diff -u pkgsrc/devel/SDL2/buildlink3.mk:1.5 pkgsrc/devel/SDL2/buildlink3.mk:1.6 --- pkgsrc/devel/SDL2/buildlink3.mk:1.5 Wed Mar 7 11:57:29 2018 +++ pkgsrc/devel/SDL2/buildlink3.mk Thu Nov 1 21:08:28 2018 @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.5 2018/03/07 11:57:29 wiz Exp $ +# $NetBSD: buildlink3.mk,v 1.6 2018/11/01 21:08:28 adam Exp $ BUILDLINK_TREE+= SDL2 @@ -19,22 +19,29 @@ pkgbase := SDL2 .include "../../converters/libiconv/buildlink3.mk" -.if !empty(PKG_BUILD_OPTIONS.SDL2:Mopengl) && empty(OPSYS:MDarwin) +.if !empty(PKG_BUILD_OPTIONS.SDL2:Mopengl) && ${OPSYS} != "Darwin" .include "../../graphics/MesaLib/buildlink3.mk" .endif +.if !empty(PKG_BUILD_OPTIONS.SDL2:Mrpi) +.include "../../misc/raspberrypi-userland/buildlink3.mk" +.endif + +.if !empty(PKG_BUILD_OPTIONS.SDL2:Moss) +.include "../../mk/oss.buildlink3.mk" +.endif + .if !empty(PKG_BUILD_OPTIONS.SDL2:Mx11) -.include "../../x11/xorgproto/buildlink3.mk" -.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXcursor/buildlink3.mk" +.include "../../x11/libXi/buildlink3.mk" +.include "../../x11/libXinerama/buildlink3.mk" +.include "../../x11/libXrandr/buildlink3.mk" +.include "../../x11/libXScrnSaver/buildlink3.mk" .endif .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" -.include "../../mk/oss.buildlink3.mk" -.endif # SDL2_BUILDLINK3_MK -.if !empty(PKG_BUILD_OPTIONS.SDL2:Mrpi) -.include "../../misc/raspberrypi-userland/buildlink3.mk" -.endif +.endif # SDL2_BUILDLINK3_MK BUILDLINK_TREE+= -SDL2 Index: pkgsrc/devel/SDL2/distinfo diff -u pkgsrc/devel/SDL2/distinfo:1.29 pkgsrc/devel/SDL2/distinfo:1.30 --- pkgsrc/devel/SDL2/distinfo:1.29 Fri Mar 2 07:49:58 2018 +++ pkgsrc/devel/SDL2/distinfo Thu Nov 1 21:08:28 2018 @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.29 2018/03/02 07:49:58 adam Exp $ +$NetBSD: distinfo,v 1.30 2018/11/01 21:08:28 adam Exp $ -SHA1 (SDL2-2.0.8.tar.gz) = 959ec6ded277821995d2e3cafd973f6ab9f48ab7 -RMD160 (SDL2-2.0.8.tar.gz) = 131abebf4e693df09b7ee09cba89809b539f7fe5 -SHA512 (SDL2-2.0.8.tar.gz) = 673c6058b8692a36b4a3594456b10ef6051efe79e4fb644421fc5c76b11fd68b895840a2c8b72413418c378733e2993d33f19767d0d7ed101eda6310bd70c869 -Size (SDL2-2.0.8.tar.gz) = 4909017 bytes +SHA1 (SDL2-2.0.9.tar.gz) = 4354c6baad9a48486182656a7506abfb63e9bff5 +RMD160 (SDL2-2.0.9.tar.gz) = db2efabf55af41cddf015db0b5213b11ef22b9d0 +SHA512 (SDL2-2.0.9.tar.gz) = a78a4708b2bb5b35a7c7b7501eb3bd60a9aa3bb95a3d84e57763df4a377185e7312a94b66321eef7ca0d17255e4b402fc950e83ef0dbbd08f14ff1194107dc10 +Size (SDL2-2.0.9.tar.gz) = 5246942 bytes SHA1 (patch-configure) = 5637a66f8890586026034f5324829e61c94ac5be SHA1 (patch-src_audio_netbsd_SDL__netbsdaudio.c) = 7a1f32ea7029f8dc99aecfaead7c68f2fd6cb230 SHA1 (patch-src_joystick_bsd_SDL__sysjoystick.c) = 152b5df76a91c7e7acde126b1464fdd464cf1ba2 Index: pkgsrc/devel/SDL2/options.mk diff -u pkgsrc/devel/SDL2/options.mk:1.6 pkgsrc/devel/SDL2/options.mk:1.7 --- pkgsrc/devel/SDL2/options.mk:1.6 Tue Sep 26 13:10:56 2017 +++ pkgsrc/devel/SDL2/options.mk Thu Nov 1 21:08:28 2018 @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.6 2017/09/26 13:10:56 adam Exp $ +# $NetBSD: options.mk,v 1.7 2018/11/01 21:08:28 adam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.SDL2 PKG_OPTIONS_REQUIRED_GROUPS= gl @@ -56,13 +56,14 @@ CONFIGURE_ARGS+= --disable-oss .endif .if !empty(PKG_OPTIONS:Mx11) +.include "../../x11/libXScrnSaver/buildlink3.mk" .include "../../x11/libXcursor/buildlink3.mk" .include "../../x11/libXi/buildlink3.mk" .include "../../x11/libXinerama/buildlink3.mk" .include "../../x11/libXrandr/buildlink3.mk" -.include "../../x11/libXScrnSaver/buildlink3.mk" .else -CONFIGURE_ARGS+= --disable-video-x11 --disable-x11-shared +CONFIGURE_ARGS+= --disable-video-x11 +CONFIGURE_ARGS+= --disable-x11-shared .endif .if !empty(PKG_OPTIONS:Mrpi) --_----------=_15411065088380--