Skip to content

Commit

Permalink
games/alephone: update to alephone-20230119 (1.6.1)
Browse files Browse the repository at this point in the history
Aleph One 1.6.1
===============

This is a bugfix release:

  * Be less aggressive with mega honk fix
  * Fixes Linux builds without ffmpeg
  * Fixes a crash when a Lua script adds a side and interpolation is enabled (#321)
  * Fixes the classic aim limits checkbox
  * Adds support for FLAC playback (MML music only)
  * Fix cinematic fade in when the transition period is low
  * Works around a change in the latest SDL behavior on Macs (#398)
  * Changes the flatpak identifier to match the existing macOS bundle identifier

Aleph One 1.6
=============

This is a maintenance release, with mostly bug fixes and library and build system updates. We have also added Linux Flatpaks to
make installing the games easier in Linux.

Deprecations:

  * <shader> debug MML is deprecated and will be removed in a future release
  * The network microphone is deprecated and will be removed in a future release. The net mic key will be repurposed as a Lua
    trigger.

Changes:

  * Updated to SDL 2.24 for improved controller support
  * Aleph One now requires a C++17 compiler
  * (Lua) Allow passing nil to Monster:attack (#331)
  * (Lua) Add Platform.tag accessor (#373)
  * Remove classic aim limits from modern mouse feel; add a checkbox for classic aim limits
  * Lower default mouse sensitivity
  * Disable 3D perspective by default
  * Rename "Interface Button Sounds" checkbox to "In Game F-Key Sounds" (#255)
  * Disable transparent liquids by default in Marathon 2 and Marathon Infinity; they can be enabled by going to Environment ->
    Plugins and enabling the Transparent Liquids plugin
  * (Lua) added Game.replay for detecting whether a game is film replay

Fixes:

  * Fix teleporting in weapon effect on 60fps + (#308)
  * Fix the enhanced HUD with software renderer (#334)
  * Fix HUD not resizing when changing resolution `(#309)
  * Fix blank frame on map overlay transition in OpenGL mode (#265)
  * Restore screen flash for Marathon 1 when teleporting in (#336)
  * Fix UPnP checkbox not working in resume net game dialog (#337)
  * Fix platform textures when exporting a level
  * Fix assert thrown on network game when teleporting to another level with disconnected player (#66)
  * Fix controller feel analog/d-pad when saving prefs (#160)
  * Fix intro video not rendering when no audio stream; fixes EVIL's opening movie (#346)
  * Fix missing initialization in Lua damage_player (#348)
  * Fix the MegaHonk. RIP MegaHonk. (#339)
  * Add suport for ffmpeg 5 (#349)
  * Fix a Linux segfault at shutdown (#340)
  * Allow binding mouse buttons to forward/backward/sidestep (#333)
  * Remove the Vidmaster Oath from Marathon 1 (#355)
  * Fix MML plugin replacement font erased on first level load (#364)
  * Use GL_MIRRORED_REPEAT instead of GL_MIRRORED_REPEAT_ARB; fixes solid colored landscape on some OpenGL drivers
  * Implement transparency in the static shader; compilers now fade out as in software
  * Fix use of caps lock as run key (#294)
  * Suppress weapon flare when Lua cameras are in use (#316)
  * Fix default preference plugins disabling in Windows
  * Fix animated 3D models
  * Fix reloading physics model if not loaded from embedded map (#317)

Aleph One 1.5
=============

Changes:

  * Numerous bug fixes
  * Additional Lua functionality (see Lua.html)
  * Support for Apple Silicon
  * Improved UPnP router configuration support (now using miniupnp)
  * Adds an FOV override slider and warning
  * Adds a checkbox for native file dialogs (mac OS and Windows only)
  * Unbundles high-res plugins. See High-Res Replacements for separate download links.

1.5rc1 Pre-release
==================

Changes:

  * Bug fixes
  * Additional Lua functionality (see Lua.html)
  * macOS: support for Apple Silicon
  * Updated UPnP router configuration support (now using miniupnp)
  * Add an FOV override slider and warning
  * macOS and Windows: added a checkbox for native file dialogs
  * Removed high-res plugins from all-in-one downloads. There are many more options now than there were when we started bundling
    them, so this will give users more flexibility. Links to the old textures and a guide to hi-res textures will be provided soon;
    in the meantime the data files with hi-res plugins can be found in the 1.4 release.

Aleph One 1.4
=============

Note: This release is not network compatible with Aleph One 1.3 and earlier.

Changes:

  * Adds support for Lua ephemera: optional scripted effects like precipitation or gore, that can be turned on and off without
    affecting saved games, films, and net games
  * Adds a new "Editor" mode that integrates better with Weland for seamless visual mode editing
  * Adds new high frame rate interpolation. Choose 30 fps for authentic classic play, 60 fps or 120 fps capped, or unlimited fps
  * Adds many new Lua API functions. See Lua.html for details
  * Adds support for weapon hot keys. Hot keys 1-9 switch weapons, but can be overridden by Lua scripts; hot keys 10-12 are
    reserved for Lua scripts
  * Restores some retro/nostalgia features in the software renderer: every-other-line mode, and 8-bit color
  * MML/Lua can now set the maximum inventory on a per-difficulty level. This should add versatility for balancing difficulty in
    new scenarios

1.4rc1 Pre-release
==================

Changes since 1.4pre2:

  * add support for weapon hotkeys; hotkeys 1-9 switch weapons, but can be overridden by Lua; and another 3 hotkeys are available
    for Lua
  * restore some retro/nostalgia features in the software renderer: every-other-lines mode, and 8-bit mode
  * MML/Lua can now set the maximum inventory on a per-difficulty level
  * numerous new Lua API additions
  * bug fixes

Note: Aleph One 1.4rc1 is not network compatible with previous versions, due to the addition of hotkeys

1.4pre2 Pre-release
===================

Changes:

  * High frame rate interpolation; choose 30 fps for authentic classic play, 60 fps or 120 fps capped, or unlimited fps
  * New Lua API functions
  * Bug fixes

1.4pre1 Pre-release
===================

This is a preview release, with support for ephemera (optional scripted render effects like precipitation or extra gore) and a new
"editor" mode that integrates better with Weland 1.4.5

Aleph One 1.3.1
===============

Changes:

  * Fixes an issue saving/playing back Aleph One films using the original Marathon data files
  * Fixes wobble transfer mode glow maps

Aleph One 1.3
=============

Major Changes:

  * Uses SDL 2 for much-improved compatibility with new operating systems
  * Better support for game controllers
  * Better performance for the software renderer
  * Improved mouse control options, with settings for Classic and Modern mouse control
  * Better support for high-dpi displays
  * New controls dialog, which allows simultaneous key, mouse, and controller bindings
  * More authentic static effect when using OpenGL
  * Adds a stash for sharing info between Lua states
  * Better support for Unicode characters in Windows (should fix Rubicon X)
  * Better support for original Marathon scenarios including Trojan, which now works fully
  * A separate 64-bit Windows build is available
  * Better master volume and music volume controls
  * Video export bitrate depends on the video resolution, which leads to much improved export at 1080p with default settings
  * Mac apps are now notarized by Apple
  * Original games now default to more authentic settings on first install; high res plugins are still included but are not enabled
    by default

Aleph One 1.3rc1
================

 (No changes listed)

Aleph One 1.3b3
===============

 (No changes listed)

Aleph One 1.3b2
===============

 (No changes listed)

Aleph One 1.3b1 (2018-09-30)
===============

 (No changes listed)

Aleph One 1.3a1
===============

This is a pre-release to allow community members to assist in testing some internal code changes. Please see the Pfhorums thread if
you would like to help.

The latest stable release is: Aleph One 1.2.1

Aleph One 1.2.1
===============

The 1.2.1 release fixes a crashing bug when carnage message MML is used. Otherwise it is identical to the 1.2 release.

Aleph One 1.2
=============

The Aleph One 1.2 release features online leaderboards and game statistics, a streamlined saved-game system, and full multiplayer
support for the original Marathon game. This release also includes a number of other new features and bug fixes.

If you do not use the bundled downloads, we recommend that you update your scenario files. Each game includes a new plugin for the
online leaderboards, and the Marathon scenario includes an important compatibility fix.

Aleph One 1.2 is not network compatible with the previous stable release.

Online features

Aleph One now integrates with the online leaderboards and player stats at lhowon.org. Sign up within Aleph One to send your
Marathon, Marathon 2, and Marathon Infinity game results to lhowon.org, where you can see your overall win percentage, kill totals,
and more.

From the new "Internet" preferences section, you can register your chat name, opt in to player stats, and configure other options
relating to online play.

Saved games

Saving your game no longer stops the action until you type in a name. Each time you use a pattern buffer, a new saved game is
created. The "Continue Saved Game" dialog shows you the in-game location, date, and game time for every save. Use the "Load Other"
button to open a saved game from an earlier version of Aleph One.

Marathon compatibility

  * Cooperative play is now supported in the original Marathon scenario
  * Net games no longer use incorrect physics models
  * Goal checking in repair levels now matches the original game
  * Grenade trajectory in low-gravity levels now matches the original game
  * Certain terminals and rechargers could be activated when they shouldn't have been. You must use the 1.2 scenario data files to
    get this update.
  * If you have an existing saved game on an "exploration" level, you may need to re-explore the level before you can exit. We
    apologize for the inconvenience.

Lua

  * Additions to the Lua API:
      - Triggers.projectile_created()
      - Game.dead_players_drop_items
      - Level.index
      - Level.map_checksum
      - Line.visible_on_automap
      - Polygon.visible_on_automap
  * Additions to the Lua HUD API:
      - Level.name
      - Level.index
      - Level.map_checksum
  * Custom fields on projectiles, monsters, etc. are cleared when the object is destroyed
  * Lua error messages contain more diagnostic info
  * Player:find_action_key_target() no longer triggers side effects

Other changes

  * New preferences:
      - Camera Bobbing (Graphics) — if disabled, the camera and weapon will remain steady, to reduce motion sickness
      - Join Pregame Lobby by Default (Internet -> Pregame Lobby) — if checked, when you choose "Join Network Game", Aleph One
        automatically presses "Find Internet Game" on the next screen. Hold down the Alt (Option) key to join a local game.
      - Use Netscript in Films, Netscript File (Environment) — use these preferences to play back films of games recorded with
        netscripts. Solo Lua scripts are no longer loaded during playback of net game films.
  * Logging in to the pregame lobby uses HTTPS to protect your password
  * The editing cursor in text fields can be moved with the arrow keys or the mouse
  * Command history in the Lua/chat console can be accessed with the up and down arrow keys
  * Team color selection in the Join dialog is disabled when the game does not support teams
  * Plugin API changes:
      - Scenario compatibility, to create plugins that load only for specific scenarios
      - More combinations of items are allowed within a single plugin
  * The Plugins dialog (Preferences > Environment > Plugins) lists the components of each plugin
  * Lua HUD support is available by plugin only
  * A custom port can be used when gathering net games. The port number can only be changed by editing the XML preferences file.

Crashes fixed

  * Maps with invalid light indexes in OpenGL (Shader) renderer
  * 3D models lacking texture coordinates
  * #STATIC command in terminals (SF #580)
  * Joining a net game after a "map not found" film playback error (SF #504)

Graphical fixes

  * 3D models display even when their center point is behind player
  * Repair chip inventory is shown in Marathon Enhanced HUD plugin
  * Carnage messages during film replay are shown for the currently viewed player
  * Static, pulsate, and wobble transfer modes improved in OpenGL (Shader) renderer
  * <player light="..."> MML setting respected in OpenGL (Shader) renderer
  * Motion sensor on magnetic levels works properly when frame rate lags (SF #372)
  * Styled chat names display properly in pregame lobby game info dialog

Platform-specific fixes

  * Linux:
      - A new configure script now succeeds when optional dependencies are missing. The script also summarizes which features are
        enabled. Packagers should review the configure options, which have changed.
      - Aleph One builds and runs with more versions of FFmpeg / libav (SF #576, #578, #582)
      - Web links no longer cause Aleph One to become unresponsive on some systems
  * Mac OS X:
      - Drag-and-drop now works in 10.10 (Yosemite)
      - Updated third-party libraries
  * Windows:
      - The .save level console command successfully overwrites existing files
      - Updated third-party libraries

Other fixes

  * MML from solo Lua plugins is no longer loaded after all other plugins
  * Plugins ignore references to non-existent files
  * Popping is reduced in certain ambient sounds
  * Various MML settings are correctly reset when changing levels
  * Some common but unhelpful messages are no longer written to the log file
  * File-overwrite dialogs respect the "Hide file extensions" preference
  * The first save in a cooperative game is less likely to fail
  * Saving a game creates fewer temporary files
  * Solo Lua is loaded when continuing a saved game even when the map file is missing
  * Joystick/mouse buttons mapped to map or volume controls are no longer ignored
  * UPnP configuration now works with more routers
  • Loading branch information
yorickhardy committed Apr 27, 2023
1 parent f4ee80d commit ff420c3
Show file tree
Hide file tree
Showing 9 changed files with 235 additions and 79 deletions.
35 changes: 19 additions & 16 deletions games/alephone/Makefile
Original file line number Diff line number Diff line change
@@ -1,36 +1,39 @@
# $NetBSD: Makefile,v 1.27 2022/09/11 12:51:36 wiz Exp $
# $NetBSD: Makefile,v 1.28 2023/04/27 13:33:47 yhardy Exp $

DISTNAME= AlephOne-20120514
DISTNAME= AlephOne-20230119
PKGNAME= ${DISTNAME:tl}
PKGREVISION= 4
CATEGORIES= games
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=marathon/}
MASTER_SITES+= ${MASTER_SITE_GITHUB:=Aleph-One-Marathon/}
EXTRACT_SUFX= .tar.bz2
GITHUB_PROJECT= alephone
GITHUB_RELEASE= release-20230119

MAINTAINER= christtrekker@users.sourceforge.net
HOMEPAGE= http://marathon.sourceforge.net/
HOMEPAGE= https://alephone.lhowon.org/
COMMENT= Classic 2.5D FPS game engine, updated to use SDL
LICENSE= gnu-gpl-v2

USE_LANGUAGES= c c++03
USE_TOOLS+= pkg-config gmake
GNU_CONFIGURE= yes

INSTALLATION_DIRS= share/doc/AlephOne

post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/AlephOne/
CONFIGURE_ARGS+= --with-boost=${PREFIX}

.include "../../archivers/zziplib/buildlink3.mk"
.include "../../audio/SDL_sound/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/speexdsp/buildlink3.mk"
BUILDLINK_API_DEPENDS.SDL+= SDL>=1.2.6
.include "../../devel/SDL/buildlink3.mk"
BUILDLINK_API_DEPENDS.boost-headers+= boost-headers>=1.31
.include "../../devel/SDL2/buildlink3.mk"
.include "../../fonts/SDL2_ttf/buildlink3.mk"
BUILDLINK_API_DEPENDS.boost-headers+= boost-headers>=1.53
.include "../../devel/boost-headers/buildlink3.mk"
BUILDLINK_API_DEPENDS.boost-libs+= boost-libs>=1.53
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../graphics/glew/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
BUILDLINK_API_DEPENDS.SDL_image+= SDL_image>=1.2.6
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../net/SDL_net/buildlink3.mk"
.include "../../graphics/SDL2_image/buildlink3.mk"
.include "../../multimedia/ffmpeg4/buildlink3.mk"
.include "../../net/SDL2_net/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"
170 changes: 125 additions & 45 deletions games/alephone/PLIST
Original file line number Diff line number Diff line change
@@ -1,50 +1,130 @@
@comment $NetBSD: PLIST,v 1.4 2012/12/12 10:22:37 wiz Exp $
@comment $NetBSD: PLIST,v 1.5 2023/04/27 13:33:47 yhardy Exp $
bin/alephone
man/man6/alephone.6
share/AlephOne/Fonts
share/AlephOne/MML/Interface_Rects.mml
share/AlephOne/MML/Transparent_Liquids.mml
share/AlephOne/MML/Transparent_Sprites.mml
share/AlephOne/Themes/Default/DejaVuLGCSansCondensed-Bold.ttf
share/AlephOne/Themes/Default/DejaVuLGCSansCondensed-BoldBold.ttf
share/AlephOne/Themes/Default/DejaVuLGCSansCondensed-BoldOblique.ttf
share/AlephOne/Themes/Default/LICENSE-DejaVu
share/AlephOne/Themes/Default/SquarishSansCT.README
share/AlephOne/Themes/Default/Squarish_Sans_CT_Medium.ttf
share/AlephOne/Themes/Default/button_c.bmp
share/AlephOne/Themes/Default/button_c_p.bmp
share/AlephOne/Themes/Default/button_l.bmp
share/AlephOne/Themes/Default/button_l_p.bmp
share/AlephOne/Themes/Default/button_r.bmp
share/AlephOne/Themes/Default/button_r_p.bmp
share/AlephOne/Themes/Default/frame_b.bmp
share/AlephOne/Themes/Default/frame_bl.bmp
share/AlephOne/Themes/Default/frame_br.bmp
share/AlephOne/Themes/Default/frame_l.bmp
share/AlephOne/Themes/Default/frame_r.bmp
share/AlephOne/Themes/Default/frame_t.bmp
share/AlephOne/Themes/Default/frame_tl.bmp
share/AlephOne/Themes/Default/frame_tr.bmp
share/AlephOne/Themes/Default/list_b.bmp
share/AlephOne/Themes/Default/list_bl.bmp
share/AlephOne/Themes/Default/list_br.bmp
share/AlephOne/Themes/Default/list_l.bmp
share/AlephOne/Themes/Default/list_r.bmp
share/AlephOne/Themes/Default/list_t.bmp
share/AlephOne/Themes/Default/list_tl.bmp
share/AlephOne/Themes/Default/list_tr.bmp
share/AlephOne/Themes/Default/resources
share/AlephOne/Themes/Default/slider.bmp
share/AlephOne/Themes/Default/slider_c.bmp
share/AlephOne/Themes/Default/slider_l.bmp
share/AlephOne/Themes/Default/slider_r.bmp
share/AlephOne/Themes/Default/theme2.mml
share/AlephOne/Themes/Default/thumb_b.bmp
share/AlephOne/Themes/Default/thumb_bc.bmp
share/AlephOne/Themes/Default/thumb_c.bmp
share/AlephOne/Themes/Default/thumb_t.bmp
share/AlephOne/Themes/Default/thumb_tc.bmp
share/AlephOne/Themes/Default/tiny_button_c.bmp
share/AlephOne/Themes/Default/tiny_button_l.bmp
share/AlephOne/Themes/Default/tiny_button_r.bmp
share/doc/AlephOne/README
share/AlephOne/Plugins/Default_Theme/DejaVuLGCSansCondensed-Bold.ttf
share/AlephOne/Plugins/Default_Theme/DejaVuLGCSansCondensed-BoldBold.ttf
share/AlephOne/Plugins/Default_Theme/DejaVuLGCSansCondensed-BoldOblique.ttf
share/AlephOne/Plugins/Default_Theme/LICENSE-DejaVu
share/AlephOne/Plugins/Default_Theme/Plugin.xml
share/AlephOne/Plugins/Default_Theme/SquarishSansCT.README
share/AlephOne/Plugins/Default_Theme/Squarish_Sans_CT_Medium.ttf
share/AlephOne/Plugins/Default_Theme/button_c.bmp
share/AlephOne/Plugins/Default_Theme/button_c_p.bmp
share/AlephOne/Plugins/Default_Theme/button_l.bmp
share/AlephOne/Plugins/Default_Theme/button_l_p.bmp
share/AlephOne/Plugins/Default_Theme/button_r.bmp
share/AlephOne/Plugins/Default_Theme/button_r_p.bmp
share/AlephOne/Plugins/Default_Theme/frame_b.bmp
share/AlephOne/Plugins/Default_Theme/frame_bl.bmp
share/AlephOne/Plugins/Default_Theme/frame_br.bmp
share/AlephOne/Plugins/Default_Theme/frame_l.bmp
share/AlephOne/Plugins/Default_Theme/frame_r.bmp
share/AlephOne/Plugins/Default_Theme/frame_t.bmp
share/AlephOne/Plugins/Default_Theme/frame_tl.bmp
share/AlephOne/Plugins/Default_Theme/frame_tr.bmp
share/AlephOne/Plugins/Default_Theme/list_b.bmp
share/AlephOne/Plugins/Default_Theme/list_bl.bmp
share/AlephOne/Plugins/Default_Theme/list_br.bmp
share/AlephOne/Plugins/Default_Theme/list_l.bmp
share/AlephOne/Plugins/Default_Theme/list_r.bmp
share/AlephOne/Plugins/Default_Theme/list_t.bmp
share/AlephOne/Plugins/Default_Theme/list_tl.bmp
share/AlephOne/Plugins/Default_Theme/list_tr.bmp
share/AlephOne/Plugins/Default_Theme/slider.bmp
share/AlephOne/Plugins/Default_Theme/slider_c.bmp
share/AlephOne/Plugins/Default_Theme/slider_l.bmp
share/AlephOne/Plugins/Default_Theme/slider_r.bmp
share/AlephOne/Plugins/Default_Theme/theme2.mml
share/AlephOne/Plugins/Default_Theme/thumb_b.bmp
share/AlephOne/Plugins/Default_Theme/thumb_bc.bmp
share/AlephOne/Plugins/Default_Theme/thumb_c.bmp
share/AlephOne/Plugins/Default_Theme/thumb_t.bmp
share/AlephOne/Plugins/Default_Theme/thumb_tc.bmp
share/AlephOne/Plugins/Default_Theme/tiny_button_c.bmp
share/AlephOne/Plugins/Default_Theme/tiny_button_l.bmp
share/AlephOne/Plugins/Default_Theme/tiny_button_r.bmp
share/icons/hicolor/128x128/mimetypes/application-x-alephone-fila.png
share/icons/hicolor/128x128/mimetypes/application-x-alephone-imga.png
share/icons/hicolor/128x128/mimetypes/application-x-alephone-musa.png
share/icons/hicolor/128x128/mimetypes/application-x-alephone-phya.png
share/icons/hicolor/128x128/mimetypes/application-x-alephone-scea.png
share/icons/hicolor/128x128/mimetypes/application-x-alephone-sgaa.png
share/icons/hicolor/128x128/mimetypes/application-x-alephone-shpa.png
share/icons/hicolor/128x128/mimetypes/application-x-alephone-snda.png
share/icons/hicolor/128x128/mimetypes/text-x-alephone-mml.png
share/icons/hicolor/16x16/mimetypes/application-x-alephone-fila.png
share/icons/hicolor/16x16/mimetypes/application-x-alephone-imga.png
share/icons/hicolor/16x16/mimetypes/application-x-alephone-musa.png
share/icons/hicolor/16x16/mimetypes/application-x-alephone-phya.png
share/icons/hicolor/16x16/mimetypes/application-x-alephone-scea.png
share/icons/hicolor/16x16/mimetypes/application-x-alephone-sgaa.png
share/icons/hicolor/16x16/mimetypes/application-x-alephone-shpa.png
share/icons/hicolor/16x16/mimetypes/application-x-alephone-snda.png
share/icons/hicolor/16x16/mimetypes/text-x-alephone-mml.png
share/icons/hicolor/22x22/mimetypes/application-x-alephone-fila.png
share/icons/hicolor/22x22/mimetypes/application-x-alephone-imga.png
share/icons/hicolor/22x22/mimetypes/application-x-alephone-musa.png
share/icons/hicolor/22x22/mimetypes/application-x-alephone-phya.png
share/icons/hicolor/22x22/mimetypes/application-x-alephone-scea.png
share/icons/hicolor/22x22/mimetypes/application-x-alephone-sgaa.png
share/icons/hicolor/22x22/mimetypes/application-x-alephone-shpa.png
share/icons/hicolor/22x22/mimetypes/application-x-alephone-snda.png
share/icons/hicolor/22x22/mimetypes/text-x-alephone-mml.png
share/icons/hicolor/24x24/mimetypes/application-x-alephone-fila.png
share/icons/hicolor/24x24/mimetypes/application-x-alephone-imga.png
share/icons/hicolor/24x24/mimetypes/application-x-alephone-musa.png
share/icons/hicolor/24x24/mimetypes/application-x-alephone-phya.png
share/icons/hicolor/24x24/mimetypes/application-x-alephone-scea.png
share/icons/hicolor/24x24/mimetypes/application-x-alephone-sgaa.png
share/icons/hicolor/24x24/mimetypes/application-x-alephone-shpa.png
share/icons/hicolor/24x24/mimetypes/application-x-alephone-snda.png
share/icons/hicolor/24x24/mimetypes/text-x-alephone-mml.png
share/icons/hicolor/256x256/mimetypes/application-x-alephone-fila.png
share/icons/hicolor/256x256/mimetypes/application-x-alephone-imga.png
share/icons/hicolor/256x256/mimetypes/application-x-alephone-musa.png
share/icons/hicolor/256x256/mimetypes/application-x-alephone-phya.png
share/icons/hicolor/256x256/mimetypes/application-x-alephone-scea.png
share/icons/hicolor/256x256/mimetypes/application-x-alephone-sgaa.png
share/icons/hicolor/256x256/mimetypes/application-x-alephone-shpa.png
share/icons/hicolor/256x256/mimetypes/application-x-alephone-snda.png
share/icons/hicolor/256x256/mimetypes/text-x-alephone-mml.png
share/icons/hicolor/32x32/mimetypes/application-x-alephone-fila.png
share/icons/hicolor/32x32/mimetypes/application-x-alephone-imga.png
share/icons/hicolor/32x32/mimetypes/application-x-alephone-musa.png
share/icons/hicolor/32x32/mimetypes/application-x-alephone-phya.png
share/icons/hicolor/32x32/mimetypes/application-x-alephone-scea.png
share/icons/hicolor/32x32/mimetypes/application-x-alephone-sgaa.png
share/icons/hicolor/32x32/mimetypes/application-x-alephone-shpa.png
share/icons/hicolor/32x32/mimetypes/application-x-alephone-snda.png
share/icons/hicolor/32x32/mimetypes/text-x-alephone-mml.png
share/icons/hicolor/48x48/mimetypes/application-x-alephone-fila.png
share/icons/hicolor/48x48/mimetypes/application-x-alephone-imga.png
share/icons/hicolor/48x48/mimetypes/application-x-alephone-musa.png
share/icons/hicolor/48x48/mimetypes/application-x-alephone-phya.png
share/icons/hicolor/48x48/mimetypes/application-x-alephone-scea.png
share/icons/hicolor/48x48/mimetypes/application-x-alephone-sgaa.png
share/icons/hicolor/48x48/mimetypes/application-x-alephone-shpa.png
share/icons/hicolor/48x48/mimetypes/application-x-alephone-snda.png
share/icons/hicolor/48x48/mimetypes/text-x-alephone-mml.png
share/icons/hicolor/64x64/mimetypes/application-x-alephone-fila.png
share/icons/hicolor/64x64/mimetypes/application-x-alephone-imga.png
share/icons/hicolor/64x64/mimetypes/application-x-alephone-musa.png
share/icons/hicolor/64x64/mimetypes/application-x-alephone-phya.png
share/icons/hicolor/64x64/mimetypes/application-x-alephone-scea.png
share/icons/hicolor/64x64/mimetypes/application-x-alephone-sgaa.png
share/icons/hicolor/64x64/mimetypes/application-x-alephone-shpa.png
share/icons/hicolor/64x64/mimetypes/application-x-alephone-snda.png
share/icons/hicolor/64x64/mimetypes/text-x-alephone-mml.png
share/icons/hicolor/96x96/mimetypes/application-x-alephone-fila.png
share/icons/hicolor/96x96/mimetypes/application-x-alephone-imga.png
share/icons/hicolor/96x96/mimetypes/application-x-alephone-musa.png
share/icons/hicolor/96x96/mimetypes/application-x-alephone-phya.png
share/icons/hicolor/96x96/mimetypes/application-x-alephone-scea.png
share/icons/hicolor/96x96/mimetypes/application-x-alephone-sgaa.png
share/icons/hicolor/96x96/mimetypes/application-x-alephone-shpa.png
share/icons/hicolor/96x96/mimetypes/application-x-alephone-snda.png
share/icons/hicolor/96x96/mimetypes/text-x-alephone-mml.png
share/mime/packages/alephone.xml
14 changes: 9 additions & 5 deletions games/alephone/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
$NetBSD: distinfo,v 1.11 2021/10/26 10:43:45 nia Exp $
$NetBSD: distinfo,v 1.12 2023/04/27 13:33:47 yhardy Exp $

BLAKE2s (AlephOne-20120514.tar.bz2) = 35f15f1edc9de96612108621502a1af882ade17788c77c696d1ead318b2db547
SHA512 (AlephOne-20120514.tar.bz2) = 71e54341221485765b63c7c723f95e04d41c8e2cecf6bc3f885efc178f4c75fd88cdffe703c4bf41a5e7101fd8cef33797d00cd249e211b7de1b22fc639b4278
Size (AlephOne-20120514.tar.bz2) = 4716348 bytes
SHA1 (patch-Source__Files_Lua_lua__templates.h) = ee38b9aed311958750845e52ce2cb14969f2ee4e
BLAKE2s (AlephOne-20230119.tar.bz2) = c21e491f9bd0192f2601dc203eebb8345d727cc036cd44879044219a9106038f
SHA512 (AlephOne-20230119.tar.bz2) = bb9a47d09e7732051088e255314b489cf8a0185d2d1da094be66b902dbe269f6dabd211f8278e5981ec0b93ab364ac2d2d2a85002d8cb346392398f9c40670c5
Size (AlephOne-20230119.tar.bz2) = 6109704 bytes
SHA1 (patch-Source__Files_RenderMain_OGL__Headers.h) = 814a90cc8b4998385eba04fb07d5c5a5bf98f158
SHA1 (patch-Source__Files_RenderMain_OGL__Render.cpp) = 79249e5a1756a71d214b0c54501868155dfa6d80
SHA1 (patch-Source__Files_RenderMain_OGL__Setup.cpp) = e6feda9aa47ce52b9d46a31a1a96364f8a0ad540
SHA1 (patch-Source__Files_RenderOther_screen.cpp) = 356bc6a8a52e96cd44cadc038f6dee5ef28afe59
SHA1 (patch-configure) = e667f16efe23256717d8136d08410f3d89fa51b5
13 changes: 0 additions & 13 deletions games/alephone/patches/patch-Source__Files_Lua_lua__templates.h

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
$NetBSD: patch-Source__Files_RenderMain_OGL__Headers.h,v 1.1 2023/04/27 13:33:47 yhardy Exp $

Use GLEW for GL extensions, works around a linking problem on NetBSD.

--- Source_Files/RenderMain/OGL_Headers.h.orig 2021-06-26 01:15:50.000000000 +0000
+++ Source_Files/RenderMain/OGL_Headers.h
@@ -30,11 +30,8 @@

#else

-#ifndef GL_GLEXT_PROTOTYPES
-#define GL_GLEXT_PROTOTYPES 1
-#endif

-#include <SDL2/SDL_opengl.h>
+#include <GL/glew.h>

#if defined (__APPLE__) && defined(__MACH__)
#include <OpenGL/glu.h>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
$NetBSD: patch-Source__Files_RenderMain_OGL__Render.cpp,v 1.1 2023/04/27 13:33:47 yhardy Exp $

Use GLEW for GL extensions, works around a linking problem on NetBSD.

--- Source_Files/RenderMain/OGL_Render.cpp.orig 2021-01-17 20:42:00.000000000 +0000
+++ Source_Files/RenderMain/OGL_Render.cpp
@@ -513,7 +513,7 @@ bool OGL_StartRun()
// Will stop previous run if it had been active
if (OGL_IsActive()) OGL_StopRun();

-#ifdef __WIN32__
+#if 1
glewInit();
#endif

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
$NetBSD: patch-Source__Files_RenderMain_OGL__Setup.cpp,v 1.1 2023/04/27 13:33:47 yhardy Exp $

Use GLEW for GL extensions, works around a linking problem on NetBSD.

--- Source_Files/RenderMain/OGL_Setup.cpp.orig 2021-07-26 23:29:33.000000000 +0000
+++ Source_Files/RenderMain/OGL_Setup.cpp
@@ -115,7 +115,7 @@ bool OGL_IsPresent() {return _OGL_IsPres

bool OGL_CheckExtension(const std::string extension) {
#ifdef HAVE_OPENGL
-#ifdef __WIN32__
+#if 1
return glewIsSupported(extension.c_str());
#else
char *extensions = (char *) glGetString(GL_EXTENSIONS);
15 changes: 15 additions & 0 deletions games/alephone/patches/patch-Source__Files_RenderOther_screen.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
$NetBSD: patch-Source__Files_RenderOther_screen.cpp,v 1.1 2023/04/27 13:33:47 yhardy Exp $

Use GLEW for GL extensions, works around a linking problem on NetBSD.

--- Source_Files/RenderOther/screen.cpp.orig 2021-10-31 00:46:41.000000000 +0000
+++ Source_Files/RenderOther/screen.cpp
@@ -963,7 +963,7 @@ static void change_screen_mode(int width
SDL_GL_CreateContext(main_screen);
context_created = true;
}
-#ifdef __WIN32__
+#if 1
glewInit();
#endif
if (!OGL_CheckExtension("GL_ARB_vertex_shader") || !OGL_CheckExtension("GL_ARB_fragment_shader") || !OGL_CheckExtension("GL_ARB_shader_objects") || !OGL_CheckExtension("GL_ARB_shading_language_100"))
18 changes: 18 additions & 0 deletions games/alephone/patches/patch-configure
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
$NetBSD: patch-configure,v 1.1 2023/04/27 13:33:47 yhardy Exp $

Use GLEW for GL extensions, works around a linking problem on NetBSD.

--- configure.orig 2022-01-15 21:25:37.000000000 +0000
+++ configure
@@ -8784,9 +8784,9 @@ $as_echo_n "checking for OpenGL support.
SYS_GL_LIBS="-F/System/Library/Frameworks -framework AGL -framework OpenGL"
CPPFLAGS="$CPPFLAGS -D__DARWIN__ -F/System/Library/Frameworks -I/System/Library/Frameworks/OpenGL.framework/Headers" ;; #(
*-*-linux*) :
- SYS_GL_LIBS="-lGL -lpthread" ;; #(
+ SYS_GL_LIBS="-lGLEW -lGL -lpthread" ;; #(
*) :
- SYS_GL_LIBS="-lGL" ;;
+ SYS_GL_LIBS="-lGLEW -lGL" ;;
esac
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

0 comments on commit ff420c3

Please sign in to comment.