pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/allegro5 allegro5: update to 5.2.7
details: https://anonhg.NetBSD.org/pkgsrc/rev/f0aea90da8f7
branches: trunk
changeset: 450527:f0aea90da8f7
user: nia <nia%pkgsrc.org@localhost>
date: Mon Apr 19 10:14:56 2021 +0000
description:
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@localhost.
• 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.
diffstat:
devel/allegro5/Makefile | 15 ++++++++++-----
devel/allegro5/PLIST | 28 ++++++++++++++--------------
devel/allegro5/buildlink3.mk | 10 +++++-----
devel/allegro5/distinfo | 10 +++++-----
devel/allegro5/options.mk | 4 ++--
5 files changed, 36 insertions(+), 31 deletions(-)
diffs (168 lines):
diff -r 7d6c613fc53a -r f0aea90da8f7 devel/allegro5/Makefile
--- a/devel/allegro5/Makefile Mon Apr 19 10:14:26 2021 +0000
+++ b/devel/allegro5/Makefile Mon Apr 19 10:14:56 2021 +0000
@@ -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 @@
.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 @@
.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"
diff -r 7d6c613fc53a -r f0aea90da8f7 devel/allegro5/PLIST
--- a/devel/allegro5/PLIST Mon Apr 19 10:14:26 2021 +0000
+++ b/devel/allegro5/PLIST Mon Apr 19 10:14:56 2021 +0000
@@ -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/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
diff -r 7d6c613fc53a -r f0aea90da8f7 devel/allegro5/buildlink3.mk
--- a/devel/allegro5/buildlink3.mk Mon Apr 19 10:14:26 2021 +0000
+++ b/devel/allegro5/buildlink3.mk Mon Apr 19 10:14:56 2021 +0000
@@ -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 @@
.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
diff -r 7d6c613fc53a -r f0aea90da8f7 devel/allegro5/distinfo
--- a/devel/allegro5/distinfo Mon Apr 19 10:14:26 2021 +0000
+++ b/devel/allegro5/distinfo Mon Apr 19 10:14:56 2021 +0000
@@ -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
diff -r 7d6c613fc53a -r f0aea90da8f7 devel/allegro5/options.mk
--- a/devel/allegro5/options.mk Mon Apr 19 10:14:26 2021 +0000
+++ b/devel/allegro5/options.mk Mon Apr 19 10:14:56 2021 +0000
@@ -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 @@
. 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
Home |
Main Index |
Thread Index |
Old Index