Index | Thread | Search

From:
Thomas Frohwein <tfrohwein@fastmail.com>
Subject:
Update for games/easyrpg (and liblcf) and take maintainer
To:
ports@openbsd.org
Date:
Tue, 12 May 2026 12:50:16 -0700

Download raw body.

Thread
  • Thomas Frohwein:

    Update for games/easyrpg (and liblcf) and take maintainer

Hello,

We are quite behind on easyrpg (we're at 0.5.3), so I'd like to catch up
to latest release 0.8.1.1. This requires updating games/liblcf, too. I
would be interested in taking maintainer. Tested this with the recently
released Lufia V: For the Savior [1].

ok?

[1] https://dekar-the-great.itch.io/lufiav

Index: easyrpg/Makefile
===================================================================
RCS file: /cvs/ports/games/easyrpg/Makefile,v
diff -u -p -r1.24 Makefile
--- easyrpg/Makefile	4 Mar 2026 11:01:56 -0000	1.24
+++ easyrpg/Makefile	12 May 2026 19:40:05 -0000
@@ -2,34 +2,41 @@ COMMENT =	free interpreter for RPG Maker
 
 GH_ACCOUNT =	EasyRPG
 GH_PROJECT =	Player
-GH_TAGNAME =	0.5.3
+GH_TAGNAME =	0.8.1.1
 PKGNAME =	easyrpg-${GH_TAGNAME}
 CATEGORIES =	games x11
-REVISION =	0
 
 HOMEPAGE =	https://easyrpg.org/
+MAINTAINER =	Thomas Frohwein <thfr@openbsd.org>
 
 # GPLv3+
 PERMIT_PACKAGE =		Yes
 
-WANTLIB += ${COMPILER_LIBCXX} SDL2 SDL2_mixer c freetype harfbuzz
-WANTLIB += lcf m mpg123 opusfile pixman-1 png sndfile speexdsp
-WANTLIB += vorbisfile xmp z
+WANTLIB += ${COMPILER_LIBCXX} SDL2 c fluidsynth fmt freetype harfbuzz
+WANTLIB += lcf lhasa m mpg123 ogg opus opusfile pixman-1 png sndfile speexdsp
+WANTLIB += vorbis vorbisfile xmp z
 
 COMPILER =	base-clang ports-gcc
 
 MODULES +=	devel/cmake
 
-LIB_DEPENDS =	audio/libsndfile \
+BUILD_DEPENDS =	textproc/asciidoctor
+
+LIB_DEPENDS =	archivers/lhasa \
+		audio/fluidsynth \
+		audio/libsndfile \
 		audio/libxmp \
 		audio/mpg123 \
 		audio/opusfile \
 		audio/speexdsp \
+		devel/fmt \
 		devel/harfbuzz \
 		devel/sdl2 \
-		devel/sdl2-mixer \
 		games/liblcf \
 		graphics/png
+
+RUN_DEPENDS =	devel/desktop-file-utils \
+		x11/gtk+4,-guic
 
 CONFIGURE_ENV =	CXXFLAGS="${CXXFLAGS} -I ${X11BASE}/include" \
 		LDFLAGS="-L ${X11BASE}/lib"
Index: easyrpg/distinfo
===================================================================
RCS file: /cvs/ports/games/easyrpg/distinfo,v
diff -u -p -r1.5 distinfo
--- easyrpg/distinfo	4 Nov 2017 01:06:42 -0000	1.5
+++ easyrpg/distinfo	12 May 2026 19:40:05 -0000
@@ -1,2 +1,2 @@
-SHA256 (Player-0.5.3.tar.gz) = +CD0+t1/uUT58+qAWUNJt8X3jCARqwrfF5ru750KFEk=
-SIZE (Player-0.5.3.tar.gz) = 4151265
+SHA256 (Player-0.8.1.1.tar.gz) = +uHEF6mAf6iHDhSvSdnknzxZByR022uS9ykKirEnrLY=
+SIZE (Player-0.8.1.1.tar.gz) = 6815813
Index: easyrpg/patches/patch-src_audio_sdl_mixer_cpp
===================================================================
RCS file: easyrpg/patches/patch-src_audio_sdl_mixer_cpp
diff -N easyrpg/patches/patch-src_audio_sdl_mixer_cpp
--- easyrpg/patches/patch-src_audio_sdl_mixer_cpp	11 Mar 2022 19:04:17 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,19 +0,0 @@
-https://github.com/carstene1ns/easyrpg-player/commit/4206ae21a07a9263df74e217c67b6928a4ef775d
-
-Index: src/audio_sdl_mixer.cpp
---- src/audio_sdl_mixer.cpp.orig
-+++ src/audio_sdl_mixer.cpp
-@@ -242,8 +242,12 @@ void SdlMixerAudio::BGM_OnPlayedOnce() {
- 
- 	if (!bgm_stop) {
- 		played_once = true;
--		// Play indefinitely without fade-in
-+
-+// introduced in SDL2_mixer 2.0.2, which deprecated libmad
-+#ifndef SDL_MIXER_COMPILEDVERSION
- 		if (Mix_GetMusicType(bgm.get()) != MUS_MP3_MAD)
-+#endif
-+			// Play indefinitely without fade-in
- 			Mix_PlayMusic(bgm.get(), -1);
- 	}
- }
Index: easyrpg/pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/easyrpg/pkg/PLIST,v
diff -u -p -r1.2 PLIST
--- easyrpg/pkg/PLIST	11 Mar 2022 19:04:18 -0000	1.2
+++ easyrpg/pkg/PLIST	12 May 2026 19:40:05 -0000
@@ -1 +1,19 @@
-@bin bin/EasyRPG_Player
+@bin bin/easyrpg-player
+@man man/man6/easyrpg-player.6
+share/applications/
+share/applications/easyrpg-player.desktop
+share/bash-completion/completions/easyrpg-player
+share/icons/
+share/icons/hicolor/
+share/icons/hicolor/48x48/
+share/icons/hicolor/48x48/apps/
+share/icons/hicolor/48x48/apps/easyrpg-player.png
+share/icons/hicolor/scalable/
+share/icons/hicolor/scalable/apps/
+share/icons/hicolor/scalable/apps/easyrpg-player.svg
+share/metainfo/
+share/metainfo/easyrpg-player.metainfo.xml
+share/pixmaps/
+share/pixmaps/easyrpg-player.png
+@tag gtk-update-icon-cache %D/share/icons/hicolor
+@tag update-desktop-database
Index: liblcf/Makefile
===================================================================
RCS file: /cvs/ports/games/liblcf/Makefile,v
diff -u -p -r1.8 Makefile
--- liblcf/Makefile	28 Jan 2025 09:24:17 -0000	1.8
+++ liblcf/Makefile	12 May 2026 19:40:05 -0000
@@ -3,23 +3,26 @@ COMMENT =	library for handling RPG Maker
 
 GH_ACCOUNT =	EasyRPG
 GH_PROJECT =	liblcf
-GH_TAGNAME =	0.5.3
-REVISION =	1
+GH_TAGNAME =	0.8.1
 
 CATEGORIES =	games x11
 
-SHARED_LIBS +=  lcf                       1.0 # 1.0
+SHARED_LIBS +=  lcf                       2.0
 
 HOMEPAGE =	https://easyrpg.org/
+MAINTAINER =	Thomas Frohwein <thfr@openbsd.org>
 
 # GPLv3+
 PERMIT_PACKAGE =		Yes
 
-WANTLIB += ${COMPILER_LIBCXX} expat icudata icui18n icuuc m
+WANTLIB += ${COMPILER_LIBCXX} c expat icudata icui18n icuuc inih m
 
 COMPILER =	base-clang ports-gcc
 
-LIB_DEPENDS =	textproc/icu4c
+LIB_DEPENDS =	textproc/icu4c \
+		textproc/libinih
+
+RUN_DEPENDS =	misc/shared-mime-info
 
 AUTOCONF_VERSION =	2.69
 AUTOMAKE_VERSION =	1.15
Index: liblcf/distinfo
===================================================================
RCS file: /cvs/ports/games/liblcf/distinfo,v
diff -u -p -r1.2 distinfo
--- liblcf/distinfo	4 Nov 2017 01:05:55 -0000	1.2
+++ liblcf/distinfo	12 May 2026 19:40:05 -0000
@@ -1,2 +1,2 @@
-SHA256 (liblcf-0.5.3.tar.gz) = TSeEq5J+L2FZW47+thZkvMZLP3RtEsiT4wJkXdo6zdw=
-SIZE (liblcf-0.5.3.tar.gz) = 178434
+SHA256 (liblcf-0.8.1.tar.gz) = XsiQgtVPGinSP+1U3nCsq0N1A21Xgo/w/HqIuBgz1A8=
+SIZE (liblcf-0.8.1.tar.gz) = 310671
Index: liblcf/patches/patch-Makefile_am
===================================================================
RCS file: liblcf/patches/patch-Makefile_am
diff -N liblcf/patches/patch-Makefile_am
--- liblcf/patches/patch-Makefile_am	9 Jul 2024 08:27:55 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
-icu4c>=75 needs c++17
-
-Index: Makefile.am
---- Makefile.am.orig
-+++ Makefile.am
-@@ -10,7 +10,7 @@ liblcf_la_CPPFLAGS = \
- 	-I$(srcdir)/src \
- 	-I$(srcdir)/src/generated
- liblcf_la_CXXFLAGS = \
--	-std=c++11 \
-+	-std=c++17 \
- 	$(AM_CXXFLAGS) \
- 	$(EXPAT_CFLAGS) \
- 	$(ICU_CFLAGS)
-@@ -203,7 +203,7 @@ test_runner_CPPFLAGS = \
- 	-I$(srcdir)/src \
- 	-I$(srcdir)/src/generated
- test_runner_CXXFLAGS = \
--	-std=c++11 \
-+	-std=c++17 \
- 	$(EXPAT_CXXFLAGS) \
- 	$(ICU_CXXFLAGS)
- test_runner_LDADD = \
Index: liblcf/pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/liblcf/pkg/PLIST,v
diff -u -p -r1.3 PLIST
--- liblcf/pkg/PLIST	9 Jul 2024 08:27:56 -0000	1.3
+++ liblcf/pkg/PLIST	12 May 2026 19:40:05 -0000
@@ -1,88 +1,137 @@
-include/liblcf/
-include/liblcf/command_codes.h
-include/liblcf/data.h
-include/liblcf/ini.h
-include/liblcf/inireader.h
-include/liblcf/lcf_options.h
-include/liblcf/ldb_chunks.h
-include/liblcf/ldb_reader.h
-include/liblcf/lmt_chunks.h
-include/liblcf/lmt_reader.h
-include/liblcf/lmu_chunks.h
-include/liblcf/lmu_reader.h
-include/liblcf/lsd_chunks.h
-include/liblcf/lsd_reader.h
-include/liblcf/reader_lcf.h
-include/liblcf/reader_struct.h
-include/liblcf/reader_types.h
-include/liblcf/reader_util.h
-include/liblcf/reader_xml.h
-include/liblcf/rpg_actor.h
-include/liblcf/rpg_animation.h
-include/liblcf/rpg_animationcelldata.h
-include/liblcf/rpg_animationframe.h
-include/liblcf/rpg_animationtiming.h
-include/liblcf/rpg_attribute.h
-include/liblcf/rpg_battlecommand.h
-include/liblcf/rpg_battlecommands.h
-include/liblcf/rpg_battleranimation.h
-include/liblcf/rpg_battleranimationdata.h
-include/liblcf/rpg_battleranimationextension.h
-include/liblcf/rpg_chipset.h
-include/liblcf/rpg_class.h
-include/liblcf/rpg_commonevent.h
-include/liblcf/rpg_database.h
-include/liblcf/rpg_encounter.h
-include/liblcf/rpg_enemy.h
-include/liblcf/rpg_enemyaction.h
-include/liblcf/rpg_equipment.h
-include/liblcf/rpg_event.h
-include/liblcf/rpg_eventcommand.h
-include/liblcf/rpg_eventpage.h
-include/liblcf/rpg_eventpagecondition.h
-include/liblcf/rpg_item.h
-include/liblcf/rpg_itemanimation.h
-include/liblcf/rpg_learning.h
-include/liblcf/rpg_map.h
-include/liblcf/rpg_mapinfo.h
-include/liblcf/rpg_movecommand.h
-include/liblcf/rpg_moveroute.h
-include/liblcf/rpg_music.h
-include/liblcf/rpg_parameters.h
-include/liblcf/rpg_rect.h
-include/liblcf/rpg_save.h
-include/liblcf/rpg_saveactor.h
-include/liblcf/rpg_savecommonevent.h
-include/liblcf/rpg_saveeventcommands.h
-include/liblcf/rpg_saveeventdata.h
-include/liblcf/rpg_saveinventory.h
-include/liblcf/rpg_savemapevent.h
-include/liblcf/rpg_savemapinfo.h
-include/liblcf/rpg_savepartylocation.h
-include/liblcf/rpg_savepicture.h
-include/liblcf/rpg_savescreen.h
-include/liblcf/rpg_savesystem.h
-include/liblcf/rpg_savetarget.h
-include/liblcf/rpg_savetitle.h
-include/liblcf/rpg_savevehiclelocation.h
-include/liblcf/rpg_skill.h
-include/liblcf/rpg_sound.h
-include/liblcf/rpg_start.h
-include/liblcf/rpg_state.h
-include/liblcf/rpg_switch.h
-include/liblcf/rpg_system.h
-include/liblcf/rpg_terms.h
-include/liblcf/rpg_terrain.h
-include/liblcf/rpg_testbattler.h
-include/liblcf/rpg_treemap.h
-include/liblcf/rpg_troop.h
-include/liblcf/rpg_troopmember.h
-include/liblcf/rpg_trooppage.h
-include/liblcf/rpg_trooppagecondition.h
-include/liblcf/rpg_variable.h
-include/liblcf/writer_lcf.h
-include/liblcf/writer_xml.h
+@bin bin/lcf2xml
+@bin bin/lcfstrings
+include/lcf/
+include/lcf/config.h
+include/lcf/context.h
+include/lcf/dbarray.h
+include/lcf/dbarrayalloc.h
+include/lcf/dbbitarray.h
+include/lcf/dbstring.h
+include/lcf/encoder.h
+include/lcf/enum_tags.h
+include/lcf/flag_set.h
+include/lcf/inireader.h
+include/lcf/ldb/
+include/lcf/ldb/chunks.h
+include/lcf/ldb/reader.h
+include/lcf/lmt/
+include/lcf/lmt/chunks.h
+include/lcf/lmt/reader.h
+include/lcf/lmu/
+include/lcf/lmu/chunks.h
+include/lcf/lmu/reader.h
+include/lcf/log_handler.h
+include/lcf/lsd/
+include/lcf/lsd/chunks.h
+include/lcf/lsd/reader.h
+include/lcf/reader_lcf.h
+include/lcf/reader_util.h
+include/lcf/reader_xml.h
+include/lcf/rpg/
+include/lcf/rpg/actor.h
+include/lcf/rpg/animation.h
+include/lcf/rpg/animationcelldata.h
+include/lcf/rpg/animationframe.h
+include/lcf/rpg/animationtiming.h
+include/lcf/rpg/attribute.h
+include/lcf/rpg/battlecommand.h
+include/lcf/rpg/battlecommands.h
+include/lcf/rpg/battleranimation.h
+include/lcf/rpg/battleranimationitemskill.h
+include/lcf/rpg/battleranimationpose.h
+include/lcf/rpg/battleranimationweapon.h
+include/lcf/rpg/chipset.h
+include/lcf/rpg/class.h
+include/lcf/rpg/commonevent.h
+include/lcf/rpg/database.h
+include/lcf/rpg/encounter.h
+include/lcf/rpg/enemy.h
+include/lcf/rpg/enemyaction.h
+include/lcf/rpg/equipment.h
+include/lcf/rpg/event.h
+include/lcf/rpg/eventcommand.h
+include/lcf/rpg/eventpage.h
+include/lcf/rpg/eventpagecondition.h
+include/lcf/rpg/fwd.h
+include/lcf/rpg/item.h
+include/lcf/rpg/learning.h
+include/lcf/rpg/map.h
+include/lcf/rpg/mapinfo.h
+include/lcf/rpg/movecommand.h
+include/lcf/rpg/moveroute.h
+include/lcf/rpg/music.h
+include/lcf/rpg/parameters.h
+include/lcf/rpg/rect.h
+include/lcf/rpg/save.h
+include/lcf/rpg/saveactor.h
+include/lcf/rpg/savecommonevent.h
+include/lcf/rpg/saveeasyrpgdata.h
+include/lcf/rpg/saveeasyrpgtext.h
+include/lcf/rpg/saveeasyrpgwindow.h
+include/lcf/rpg/saveeventexecframe.h
+include/lcf/rpg/saveeventexecstate.h
+include/lcf/rpg/saveinventory.h
+include/lcf/rpg/savemapevent.h
+include/lcf/rpg/savemapeventbase.h
+include/lcf/rpg/savemapinfo.h
+include/lcf/rpg/savepanorama.h
+include/lcf/rpg/savepartylocation.h
+include/lcf/rpg/savepicture.h
+include/lcf/rpg/savescreen.h
+include/lcf/rpg/savesystem.h
+include/lcf/rpg/savetarget.h
+include/lcf/rpg/savetitle.h
+include/lcf/rpg/savevehiclelocation.h
+include/lcf/rpg/skill.h
+include/lcf/rpg/sound.h
+include/lcf/rpg/start.h
+include/lcf/rpg/state.h
+include/lcf/rpg/stringvariable.h
+include/lcf/rpg/switch.h
+include/lcf/rpg/system.h
+include/lcf/rpg/terms.h
+include/lcf/rpg/terrain.h
+include/lcf/rpg/testbattler.h
+include/lcf/rpg/treemap.h
+include/lcf/rpg/troop.h
+include/lcf/rpg/troopmember.h
+include/lcf/rpg/trooppage.h
+include/lcf/rpg/trooppagecondition.h
+include/lcf/rpg/variable.h
+include/lcf/saveopt.h
+include/lcf/scope_guard.h
+include/lcf/span.h
+include/lcf/string_view.h
+include/lcf/third_party/
+include/lcf/third_party/span.h
+include/lcf/writer_lcf.h
+include/lcf/writer_xml.h
+lib/cmake/
+lib/cmake/liblcf/
+lib/cmake/liblcf/liblcf-config-version.cmake
+lib/cmake/liblcf/liblcf-config.cmake
 @static-lib lib/liblcf.a
 lib/liblcf.la
 @lib lib/liblcf.so.${LIBlcf_VERSION}
 lib/pkgconfig/liblcf.pc
+share/mime/
+share/mime/XMLnamespaces
+share/mime/aliases
+share/mime/application/
+share/mime/application/x-ldb.xml
+share/mime/application/x-lmt.xml
+share/mime/application/x-lmu.xml
+share/mime/application/x-lsd.xml
+share/mime/generic-icons
+share/mime/globs
+share/mime/globs2
+share/mime/icons
+share/mime/magic
+share/mime/mime.cache
+share/mime/packages/
+share/mime/packages/liblcf.xml
+share/mime/subclasses
+share/mime/treemagic
+share/mime/types
+share/mime/version
+@tag update-mime-database