Received: by mail.netbsd.org (Postfix, from userid 605) id 46F8084D55; Mon, 19 Apr 2021 10:14:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 833CA84CEF for ; Mon, 19 Apr 2021 10:14:57 +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 V1xHbxZcDGBD for ; Mon, 19 Apr 2021 10:14:56 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 83FA284CE2 for ; Mon, 19 Apr 2021 10:14:56 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8117FFA95; Mon, 19 Apr 2021 10:14:56 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_161882729618480" MIME-Version: 1.0 Date: Mon, 19 Apr 2021 10:14:56 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/devel/allegro5 To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20210419101456.8117FFA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_161882729618480 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: nia Date: Mon Apr 19 10:14:56 UTC 2021 Modified Files: pkgsrc/devel/allegro5: Makefile PLIST buildlink3.mk distinfo options.mk Log Message: allegro5: update to 5.2.7 Changes from 5.2.6 to 5.2.7 (March 2021) **************************************** The main developers this time were: SiegeLord, Peter Hull, Elias Pschernig, Aldrik Ramaekers, Andreas Rönnquist. Build system: • Allow generating projects with a suffix (lorry-lee). • Fix build under Clang-CL in Visual Studio. Core: • Avoid some undefined behavior errors. • Return key modifiers in ‘ALLEGRO_EVENT_KEY_UP’ and ‘ALLEGRO_EVENT_KEY_DOWN’. • Allow calling ‘al_map_*’ color functions before Allegro is initialized. • Allow minimum bitmap size to be something other than 16 on non-Android platforms (controlled via ‘allegro5.cfg’). • Add ‘al_get_monitor_refresh_rate’ (only implemented on Windows for now). Graphics: • Fix ‘ALLEGRO_KEEP_INDEX’ flag for bitmaps. • Add ‘ALLEGRO_OPENGL_CORE_PROFILE’ display flag. Emscripten: • The experimental Emscripten support (via the SDL backend) is now documented in ‘README_sdl.txt’. OSX: • Move more Cocoa operations to the main thread. • Explicitly link CoreVideo to fix the static build. Windows: • Issue #1125: Speed up OpenGL extension detection (Tobias Scheuer). • Use Unicode APIs when enumerating joysticks. • Use ‘WM_DEVICECHANGE’ rather than polling to detect joystick hotlugging, reducing input drops and lags (Todd Cope). • Fix joystick polling period. • Restore WinXP compatibility by using slightly older API when loading shared libraries (Julian Smythe). • Fix build with HLSL disabled (Julian Smythe). • Raise DirectInput ‘MAX_JOYSTICKS’ to 32 and ‘DEVICE_BUFFER_SIZE’ to 128. SDL: • Issue #1224: Fix bug in SDL voice driver. Audio addon: • Allows playing sounds in reverse by specifying a negative speed. Acodec addon: • Fix edge-case looping in Ogg Vorbis stream (Cody Licorish) Audio addon: • Use more sensible values for PulseAudio’s playback buffer, potentially resolving some crashes and high CPU usage. Native Dialog Addon: • Migrate from GTK2 to GTK3. Sadly, we lose menu icons as GTK3 dropped support for them. TTF addon: • Allow initializing TTF addon before the Font addon. • Shut-down the TTF addon automatically in ‘al_uninstall_system’. PhysFS addon: • Fix handling of native path separators. • Stop using deprecated PhysFS API. Primitives addon: • Fix segfault in ‘al_draw_ribbon’ when ‘num_segments > 128’ (Rodolfo Borges). • Issue 1215: Correctly handle small scales when determining subdivision level for high level primitives (Robin Heydon). Documentation: • Fix LaTeX errors in the generation of the reference manual PDF. • Add links to examples into the reference manual. • Allow pressing ‘S’ to focus the search bar in the docs. • Assorted documentation improvements. Misc: • Add a security policy and an associated private security mailing list - allegro-security@lists.liballeg.org. • Add Emscripten-powered examples to https://liballeg.org/examples_demos.html. Examples: • ‘ex_audio_simple’ now displays instructions and supports bidirectional looping. • Add default files to some audio examples. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/allegro5/Makefile cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/allegro5/PLIST \ pkgsrc/devel/allegro5/distinfo cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/allegro5/buildlink3.mk \ pkgsrc/devel/allegro5/options.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_161882729618480 Content-Disposition: inline Content-Length: 6497 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/allegro5/Makefile diff -u pkgsrc/devel/allegro5/Makefile:1.7 pkgsrc/devel/allegro5/Makefile:1.8 --- pkgsrc/devel/allegro5/Makefile:1.7 Sun Feb 7 06:30:17 2021 +++ pkgsrc/devel/allegro5/Makefile Mon Apr 19 10:14:56 2021 @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2021/02/07 06:30:17 ryoon Exp $ +# $NetBSD: Makefile,v 1.8 2021/04/19 10:14:56 nia Exp $ -DISTNAME= allegro-5.2.6.0 +DISTNAME= allegro-5.2.7.0 PKGNAME= ${DISTNAME:S/allegro-/allegro5-/1} -PKGREVISION= 5 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=liballeg/} GITHUB_PROJECT= allegro5 @@ -26,9 +25,14 @@ CMAKE_ARGS+= -DWANT_EXAMPLES=OFF .include "../../mk/oss.buildlink3.mk" .if ${OSS_TYPE} != "none" -LDFLAGS+= ${LIBOSSAUDIO} +LDFLAGS+= ${LIBOSSAUDIO} +SUBST_CLASSES+= oss +SUBST_STAGE.oss= pre-configure +SUBST_MESSAGE.oss= Correcting the path to the OSS device. +SUBST_FILES.oss+= addons/audio/oss.c +SUBST_SED.oss+= -e "s,/dev/dsp,${DEVOSSAUDIO},g" .else -CMAKE_ARGS+= -DWANT_OSS=OFF +CMAKE_ARGS+= -DWANT_OSS=OFF .endif PKGCONFIG_OVERRIDE+= misc/allegro.pc.in @@ -59,6 +63,7 @@ PKGCONFIG_OVERRIDE+= misc/allegro_video. .include "../../audio/dumb/buildlink3.mk" .include "../../audio/flac/buildlink3.mk" .include "../../audio/libvorbis/buildlink3.mk" +.include "../../audio/minimp3/buildlink3.mk" .include "../../audio/opusfile/buildlink3.mk" .include "../../devel/physfs/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" Index: pkgsrc/devel/allegro5/PLIST diff -u pkgsrc/devel/allegro5/PLIST:1.1 pkgsrc/devel/allegro5/PLIST:1.2 --- pkgsrc/devel/allegro5/PLIST:1.1 Wed Mar 18 01:23:01 2020 +++ pkgsrc/devel/allegro5/PLIST Mon Apr 19 10:14:56 2021 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2020/03/18 01:23:01 nia Exp $ +@comment $NetBSD: PLIST,v 1.2 2021/04/19 10:14:56 nia Exp $ include/allegro5/alcompat.h include/allegro5/allegro.h include/allegro5/allegro5.h @@ -91,43 +91,43 @@ include/allegro5/transformations.h include/allegro5/utf8.h lib/liballegro.so lib/liballegro.so.5.2 -lib/liballegro.so.5.2.6 +lib/liballegro.so.5.2.7 lib/liballegro_acodec.so lib/liballegro_acodec.so.5.2 -lib/liballegro_acodec.so.5.2.6 +lib/liballegro_acodec.so.5.2.7 lib/liballegro_audio.so lib/liballegro_audio.so.5.2 -lib/liballegro_audio.so.5.2.6 +lib/liballegro_audio.so.5.2.7 lib/liballegro_color.so lib/liballegro_color.so.5.2 -lib/liballegro_color.so.5.2.6 +lib/liballegro_color.so.5.2.7 lib/liballegro_dialog.so lib/liballegro_dialog.so.5.2 -lib/liballegro_dialog.so.5.2.6 +lib/liballegro_dialog.so.5.2.7 lib/liballegro_font.so lib/liballegro_font.so.5.2 -lib/liballegro_font.so.5.2.6 +lib/liballegro_font.so.5.2.7 lib/liballegro_image.so lib/liballegro_image.so.5.2 -lib/liballegro_image.so.5.2.6 +lib/liballegro_image.so.5.2.7 lib/liballegro_main.so lib/liballegro_main.so.5.2 -lib/liballegro_main.so.5.2.6 +lib/liballegro_main.so.5.2.7 lib/liballegro_memfile.so lib/liballegro_memfile.so.5.2 -lib/liballegro_memfile.so.5.2.6 +lib/liballegro_memfile.so.5.2.7 lib/liballegro_physfs.so lib/liballegro_physfs.so.5.2 -lib/liballegro_physfs.so.5.2.6 +lib/liballegro_physfs.so.5.2.7 lib/liballegro_primitives.so lib/liballegro_primitives.so.5.2 -lib/liballegro_primitives.so.5.2.6 +lib/liballegro_primitives.so.5.2.7 lib/liballegro_ttf.so lib/liballegro_ttf.so.5.2 -lib/liballegro_ttf.so.5.2.6 +lib/liballegro_ttf.so.5.2.7 lib/liballegro_video.so lib/liballegro_video.so.5.2 -lib/liballegro_video.so.5.2.6 +lib/liballegro_video.so.5.2.7 lib/pkgconfig/allegro-5.pc lib/pkgconfig/allegro_acodec-5.pc lib/pkgconfig/allegro_audio-5.pc Index: pkgsrc/devel/allegro5/distinfo diff -u pkgsrc/devel/allegro5/distinfo:1.1 pkgsrc/devel/allegro5/distinfo:1.2 --- pkgsrc/devel/allegro5/distinfo:1.1 Wed Mar 18 01:23:01 2020 +++ pkgsrc/devel/allegro5/distinfo Mon Apr 19 10:14:56 2021 @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.1 2020/03/18 01:23:01 nia Exp $ +$NetBSD: distinfo,v 1.2 2021/04/19 10:14:56 nia Exp $ -SHA1 (allegro-5.2.6.0.tar.gz) = 4d576cae5a490e8084b9b79c432edf115dc318cd -RMD160 (allegro-5.2.6.0.tar.gz) = 9a00d87207e36b0b97603cb12c8d22866e15ea88 -SHA512 (allegro-5.2.6.0.tar.gz) = a475de67b0e6c727295cc51e113859eb0c57825a240e70bc45cd3b000c40518932b89cecdd13ba957416136db4ee9a9363adb5d3bfa7c8acda04ee95de6ba721 -Size (allegro-5.2.6.0.tar.gz) = 7867726 bytes +SHA1 (allegro-5.2.7.0.tar.gz) = 5642bb9a34936ddaeaa7ad651b1cf6dea441279d +RMD160 (allegro-5.2.7.0.tar.gz) = 75c3aa46cd701e68c095f894ff02f4f15a028fcd +SHA512 (allegro-5.2.7.0.tar.gz) = 300bb951c661e7a220d913cca4116aba99afdcb5346af7c57b09bbdfa892d446cd64fde54397c57edb3c5f57d3380fbc2b6c4d9c9e17f48ff8180cfbf59e7d99 +Size (allegro-5.2.7.0.tar.gz) = 7911231 bytes SHA1 (patch-src_unix_uxthread.c) = 70fb118d3441b72e38b90353644a2a1bf567c5b6 Index: pkgsrc/devel/allegro5/buildlink3.mk diff -u pkgsrc/devel/allegro5/buildlink3.mk:1.2 pkgsrc/devel/allegro5/buildlink3.mk:1.3 --- pkgsrc/devel/allegro5/buildlink3.mk:1.2 Wed Mar 18 01:26:30 2020 +++ pkgsrc/devel/allegro5/buildlink3.mk Mon Apr 19 10:14:56 2021 @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.2 2020/03/18 01:26:30 nia Exp $ +# $NetBSD: buildlink3.mk,v 1.3 2021/04/19 10:14:56 nia Exp $ BUILDLINK_TREE+= allegro5 @@ -12,15 +12,15 @@ pkgbase:= allegro5 .include "../../mk/pkg-build-options.mk" -.if !empty(PKG_BUILD_OPTIONS.MesaLib:Mx11) -. include "../../x11/libX11/buildlink3.mk" -.endif - .include "../../mk/bsd.fast.prefs.mk" .if ${OPSYS} != "Darwin" . include "../../graphics/MesaLib/buildlink3.mk" .endif + +.if ${PKG_BUILD_OPTIONS.allegro5:Mx11} +. include "../../x11/libX11/buildlink3.mk" +.endif .endif # ALLEGRO5_BUILDLINK3_MK BUILDLINK_TREE+= -allegro5 Index: pkgsrc/devel/allegro5/options.mk diff -u pkgsrc/devel/allegro5/options.mk:1.2 pkgsrc/devel/allegro5/options.mk:1.3 --- pkgsrc/devel/allegro5/options.mk:1.2 Wed Mar 18 01:46:12 2020 +++ pkgsrc/devel/allegro5/options.mk Mon Apr 19 10:14:56 2021 @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2020/03/18 01:46:12 nia Exp $ +# $NetBSD: options.mk,v 1.3 2021/04/19 10:14:56 nia Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.allegro5 PKG_SUPPORTED_OPTIONS= alsa openal pulseaudio x11 @@ -48,7 +48,7 @@ CMAKE_ARGS+= -DWANT_X11=ON . include "../../x11/libXrandr/buildlink3.mk" . include "../../x11/libXxf86vm/buildlink3.mk" . if ${OPSYS} != "Darwin" -. include "../../x11/gtk2/buildlink3.mk" # native_dialog +. include "../../x11/gtk3/buildlink3.mk" # native_dialog . endif .else CMAKE_ARGS+= -DWANT_X11=OFF --_----------=_161882729618480--