git: 8cb82cef9906 - main - games/rlvm: Remove port

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 28 Dec 2025 20:33:07 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8cb82cef99064c766598b3cd4805eb480326cf95

commit 8cb82cef99064c766598b3cd4805eb480326cf95
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-12-28 19:38:26 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-12-28 20:32:42 +0000

    games/rlvm: Remove port
    
    Broken for more than a year
---
 MOVED                                              |  1 +
 games/Makefile                                     |  1 -
 games/rlvm/Makefile                                | 99 ----------------------
 games/rlvm/distinfo                                |  5 --
 games/rlvm/files/extra-patch-disable-nls           | 22 -----
 games/rlvm/files/extra-patch-disable-test          | 27 ------
 games/rlvm/files/patch-SConscript.luarlvm          | 20 -----
 games/rlvm/files/patch-SConstruct                  | 47 ----------
 games/rlvm/files/patch-system-test-deps            | 24 ------
 .../files/patch-test_medium__object__promotion.cc  | 19 -----
 games/rlvm/pkg-descr                               |  3 -
 games/rlvm/pkg-plist                               | 10 ---
 12 files changed, 1 insertion(+), 277 deletions(-)

diff --git a/MOVED b/MOVED
index 29cd445c4a0c..941bcde89439 100644
--- a/MOVED
+++ b/MOVED
@@ -4907,3 +4907,4 @@ audio/logitechmediaserver-lazysearch||2025-12-28|unmaintained, unsure if working
 audio/logitechmediaserver-sqlplaylist||2025-12-28|unmaintained, unsure if working with lyrionmusicserver
 audio/logitechmediaserver-trackstat||2025-12-28|unmaintained, unsure if working with lyrionmusicserver
 deskutils/showdown||2025-12-28|Broken and unmaintained upstream since 2022
+games/rlvm||2025-12-28|Broken for more than a year
diff --git a/games/Makefile b/games/Makefile
index 9de2943e6fb5..4140a1a7b213 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -866,7 +866,6 @@
     SUBDIR += rezerwar
     SUBDIR += rfksay
     SUBDIR += ri-li
-    SUBDIR += rlvm
     SUBDIR += rnd_jue
     SUBDIR += robocode
     SUBDIR += robocode-naval
diff --git a/games/rlvm/Makefile b/games/rlvm/Makefile
deleted file mode 100644
index 0fa2731d6ee9..000000000000
--- a/games/rlvm/Makefile
+++ /dev/null
@@ -1,99 +0,0 @@
-PORTNAME=	rlvm
-DISTVERSIONPREFIX=	release-
-DISTVERSION=	0.14-77
-DISTVERSIONSUFFIX=	-gfabf134a
-PORTREVISION=	4
-CATEGORIES=	games
-
-MAINTAINER=	jbeich@FreeBSD.org
-COMMENT=	RealLive virtual machine clone
-WWW=		http://www.rlvm.net/
-
-LICENSE=	GPLv2 GPLv3 MIT
-LICENSE_COMB=	multi
-
-BROKEN=		fails to build with boost 1.85
-
-BUILD_DEPENDS=	boost-libs>0:devel/boost-libs \
-		utf8cpp>=4.0.3:devel/utf8cpp
-LIB_DEPENDS=	libsndfile.so:audio/libsndfile \
-		libvorbisfile.so:audio/libvorbis \
-		libguichan.so:devel/guichan
-RUN_DEPENDS=	${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	eglaysher
-
-USES=		compiler:c++11-lib gl gnome pkgconfig scons sdl
-USE_GL=		glew glu
-USE_GNOME=	gtk20
-USE_SDL=	image mixer ttf
-EXCLUDE=	GLEW SDL_image SDL_mixer SDL_ttf gmock gtest guichan \
-		luabind utf8cpp # leaving only pygame, xclannad, *.cpp
-EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude vendor/,}
-LDFLAGS+=	-Wl,--as-needed # avoid overlinking (gtk deps)
-MAKE_ARGS=	VERBOSE=1
-PORTDOCS=	AUTHORS.TXT NEWS.TXT README.md STATUS.TXT notes
-
-OPTIONS_DEFINE=	DEBUG DOCS NLS TEST
-OPTIONS_DEFAULT=MONA
-OPTIONS_MULTI=	JAPANESE_FONT
-OPTIONS_MULTI_JAPANESE_FONT=KOCHI MONA SAZANAMI
-OPTIONS_SUB=	yes
-
-JAPANESE_FONT_DESC=msgothic.ttc alternatives with verified metrics (unless --font)
-KOCHI_DESC=	kochi-gothic-subst.ttf from japanese/font-kochi
-KOCHI_RUN_DEPENDS=${LOCALBASE}/share/fonts/kochi/kochi-gothic-subst.ttf:japanese/font-kochi
-MONA_DESC=	mona.ttf from japanese/font-mona-ttf
-MONA_RUN_DEPENDS=${LOCALBASE}/share/fonts/mona-ttf/mona.ttf:japanese/font-mona-ttf
-SAZANAMI_DESC=	sazanami-gothic.ttf from japanese/font-sazanami
-SAZANAMI_RUN_DEPENDS=${LOCALBASE}/share/fonts/sazanami/sazanami-gothic.ttf:japanese/font-sazanami
-
-DEBUG_MAKE_ARGS_OFF=--release
-NLS_USES=	gettext
-NLS_EXTRA_PATCHES_OFF=${FILESDIR}/extra-patch-disable-nls
-TEST_USES=	lua:51
-TEST_BUILD_DEPENDS=googletest>=1.7.0:devel/googletest \
-		luabind>0:devel/luabind
-TEST_EXTRA_PATCHES_OFF=${FILESDIR}/extra-patch-disable-test
-
-post-patch:
-	@${REINPLACE_CMD} -e "s/boost_[^\"]*/:lib&$$'\\\x2e'a/" \
-		${WRKSRC}/SConstruct
-	@${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \
-		${WRKSRC}/src/platforms/gtk/gtk_rlvm_instance.cc
-	@${REINPLACE_CMD} -e 's,/usr/share,${LOCALBASE}/share,' \
-		-e 's,truetype/ttf-dejavu,dejavu,' \
-		-e 's,truetype/mona,mona-ttf,' \
-		-e 's,truetype/,,' \
-		${WRKSRC}/src/utilities/find_font_file.cc
-
-do-test-TEST-on:
-	(cd ${WRKSRC} && build/${PORTNAME}_unittests)
-
-pre-install-TEST-on: do-test-TEST-on
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/build/${PORTNAME} \
-		${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.6 \
-		${STAGEDIR}${PREFIX}/share/man/man6
-	${INSTALL_DATA} ${WRKSRC}/src/platforms/gtk/${PORTNAME}.desktop \
-		${STAGEDIR}${DESKTOPDIR}
-	@(cd ${WRKSRC}/resources && for f in */${PORTNAME}.png; do \
-		${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/$${f%/*}x$${f%/*}/apps; \
-		${INSTALL_DATA} -v $$f \
-			${STAGEDIR}${PREFIX}/share/icons/hicolor/$${f%/*}x$${f%/*}/apps; \
-	done)
-
-post-install-NLS-on:
-	(cd ${WRKSRC}/build/locale && ${COPYTREE_SHARE} \
-		. ${STAGEDIR}${PREFIX}/share/locale)
-
-post-install-DOCS-on:
-	(cd ${WRKSRC} && ${COPYTREE_SHARE} \
-		"${PORTDOCS:Nnotes}" ${STAGEDIR}${DOCSDIR})
-	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \
-		notes ${STAGEDIR}${DOCSDIR})
-
-.include <bsd.port.mk>
diff --git a/games/rlvm/distinfo b/games/rlvm/distinfo
deleted file mode 100644
index 5339eb25e53a..000000000000
--- a/games/rlvm/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-TIMESTAMP = 1622120369
-SHA256 (eglaysher-rlvm-release-0.14-77-gfabf134a_GH0.tar.gz) = 0cf16f5f6ef7d19df62133c01ffd3f135edd2c5dc12018a390c96e3b3c4e7e74
-SIZE (eglaysher-rlvm-release-0.14-77-gfabf134a_GH0.tar.gz) = 1905421
-SHA256 (d507ac7dbb53.patch) = 59041bbed6b5dba9d285169abe855d43f5d9001889704f3b78480cf7d6e0a851
-SIZE (d507ac7dbb53.patch) = 1486
diff --git a/games/rlvm/files/extra-patch-disable-nls b/games/rlvm/files/extra-patch-disable-nls
deleted file mode 100644
index ab14f72b7fc5..000000000000
--- a/games/rlvm/files/extra-patch-disable-nls
+++ /dev/null
@@ -1,22 +0,0 @@
---- SConstruct~
-+++ SConstruct
-@@ -38,9 +38,6 @@ env = Environment(
-   CPPDEFINES = [
-     "HAVE_CONFIG_H",
- 
--    # We use gettext for translations.
--    "ENABLE_NLS",
--
-     # This prevents conflicts between SDL and GLEW. I shouldn't have to do
-     # this, but the SDL_opengl.h and glew.h differ in const correctness...
-     "NO_SDL_GLEXT"
-@@ -410,9 +407,3 @@ if GetOption("coverage"):
-                  variant_dir="$BUILD_DIR/",
-                  duplicate=0,
-                  exports='env')
--
--# In addition to all that, we also want to build the translation files.
--env.Command("build/locale/ja/LC_MESSAGES/rlvm.mo",
--            "po/ja.po",
--            ["mkdir -p build/locale/ja/LC_MESSAGES/",
--             "msgfmt -o build/locale/ja/LC_MESSAGES/rlvm.mo po/ja.po"])
diff --git a/games/rlvm/files/extra-patch-disable-test b/games/rlvm/files/extra-patch-disable-test
deleted file mode 100644
index 74d356daffa2..000000000000
--- a/games/rlvm/files/extra-patch-disable-test
+++ /dev/null
@@ -1,27 +0,0 @@
---- SConstruct~
-+++ SConstruct
-@@ -387,24 +387,6 @@ else:
-                  duplicate=0,
-                  exports='env')
- 
--# Copy the platform independent SEEN.TXT files to output (we no longer depend
--# on rldev because I can no longer reliably compile it).
--env.SConscript("test/SConscript.rlc",
--               variant_dir="build/test",
--               duplicate=0,
--               exports='env')
--
--# Build the rlvmTests binary that uses those SEEN.TXT files.
--env.SConscript("SConscript.test",
--               variant_dir="$BUILD_DIR/",
--               duplicate=0,
--               exports='env')
--
--env.SConscript("SConscript.luarlvm",
--               variant_dir="$BUILD_DIR/",
--               duplicate=0,
--               exports='env')
--
- if GetOption("coverage"):
-   env.SConscript("SConscript.coverage",
-                  variant_dir="$BUILD_DIR/",
diff --git a/games/rlvm/files/patch-SConscript.luarlvm b/games/rlvm/files/patch-SConscript.luarlvm
deleted file mode 100644
index a334353f1aaa..000000000000
--- a/games/rlvm/files/patch-SConscript.luarlvm
+++ /dev/null
@@ -1,20 +0,0 @@
---- SConscript.luarlvm~
-+++ SConscript.luarlvm
-@@ -31,7 +31,7 @@ config = test_env.Configure()
- # Building the luaRlvm test harness requires having lua installed; if we do
- # have lua installed, go ahead and use it, but don't really worry if this fails
- # since end users don't use this binary.
--if config.CheckLibWithHeader('lua5.1', 'lua5.1/lua.h', 'cpp'):
-+if config.CheckLibWithHeader('lua-5.1', 'lua51/lua.h', 'cpp'):
-   env['BUILD_LUA_TESTS'] = True
- else:
-   print "Not building luaRlvm. (Don't worry, it's only a testing tool!)"
-@@ -50,7 +50,7 @@ script_machine_files = [
- ]
- 
- if env['BUILD_LUA_TESTS'] == True:
--  test_env.Append(CPPPATH = [ "/usr/include/lua5.1" ] )
-+  test_env.Append(CPPPATH = [ env['ENV']['LUA_INCDIR'] ] )
- 
-   # Build our included copy of luabind.
-   test_env.BuildSubcomponent("luabind")
diff --git a/games/rlvm/files/patch-SConstruct b/games/rlvm/files/patch-SConstruct
deleted file mode 100644
index a574c1801a5b..000000000000
--- a/games/rlvm/files/patch-SConstruct
+++ /dev/null
@@ -1,47 +0,0 @@
---- SConstruct.orig	2021-05-27 12:59:29 UTC
-+++ SConstruct
-@@ -19,8 +19,13 @@ AddOption('--fullstatic', action='store_true',
- 
- # Set libraries used by all configurations and all binaries in rlvm.
- env = Environment(
-+  ENV=os.environ,
-   tools = ["default", "rlvm"],
-+  **dict((k, v.split()) for k, v in ARGUMENTS.items())
-+)
- 
-+env.Append(
-+
-   LIBS = ["z"],
- 
-   LOCAL_LIBS = [],
-@@ -286,6 +291,7 @@ if not config.CheckGuichan():
- env.ParseConfig("sdl-config --cflags")
- env.Append(CFLAGS=["-DFB_USE_FREETYPE"])
- env.ParseConfig("pkg-config --cflags --libs freetype2")
-+config.CheckLibWithHeader('intl', 'libintl.h', "cpp")
- 
- 
- env = config.Finish()
-@@ -315,7 +321,6 @@ if GetOption('release'):
-   # Now add release optimizations to the environment
-   env.Append(
-     CPPFLAGS = [
--      "-Os",
-       "-DNDEBUG",
-       "-DBOOST_DISABLE_ASSERTS"
-     ]
-@@ -361,13 +366,7 @@ elif GetOption('pprof'):
-              "profiler"]
-   )
- else:
--  # Add debugging flags to all binaries here
--  env.Append(
--    CPPFLAGS = [
--      "-g",
--      "-O0"
--    ]
--  )
-+  pass
- 
- # Cross platform core of rlvm. Produces librlvm.a and libsystem_sdl.a
- env.SConscript("SConscript",
diff --git a/games/rlvm/files/patch-system-test-deps b/games/rlvm/files/patch-system-test-deps
deleted file mode 100644
index 45aaf19abe13..000000000000
--- a/games/rlvm/files/patch-system-test-deps
+++ /dev/null
@@ -1,24 +0,0 @@
---- SConscript.luarlvm~
-+++ SConscript.luarlvm
-@@ -52,8 +52,7 @@ script_machine_files = [
- if env['BUILD_LUA_TESTS'] == True:
-   test_env.Append(CPPPATH = [ env['ENV']['LUA_INCDIR'] ] )
- 
--  # Build our included copy of luabind.
--  test_env.BuildSubcomponent("luabind")
-+  test_env.Append(LIBS = ["luabind"])
- 
-   test_env.RlvmProgram("lua_rlvm", ['test/lua_rlvm.cc', script_machine_files],
-                        use_lib_set = ["SDL", "LUA"],
---- SConscript.test~
-+++ SConscript.test
-@@ -23,8 +23,7 @@ test_env.Append(CPPPATH = ["#/test"])
- # We need to build gtest/gmock always. Downstream distributors: if you comment
- # this out and add a ParseConfig, make sure to do it here in |test_env| instead
- # of one of the environments that could link gtest into the main rlvm binary.
--test_env.BuildSubcomponent("gtest")
--test_env.BuildSubcomponent("gmock")
-+test_env.Append(LIBS = ["gtest", "gmock"])
- 
- test_case_files = [
-   "test/test_system/test_machine.cc",
diff --git a/games/rlvm/files/patch-test_medium__object__promotion.cc b/games/rlvm/files/patch-test_medium__object__promotion.cc
deleted file mode 100644
index e42a549f2d83..000000000000
--- a/games/rlvm/files/patch-test_medium__object__promotion.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-To workaround the following error
-
-  unknown file: Failure
-  C++ exception with description "ExpressionPiece::GetIntegerValue() invalid on object of type 2" thrown in the test body.
-  [  FAILED  ] MediumObjectPoromotion/PromotionTest.BgLayerPromotion/49, where GetParam() = ("recMulti", 1, (3, "\"file\"$\xFF\0\0\0\0$\xFF\xFF\0\0\0"), true) (1 ms)
-
---- test/medium_object_promotion.cc~
-+++ test/medium_object_promotion.cc
-@@ -246,10 +246,6 @@ std::vector<PromotionData> data = {
-                     0,
-                     TestMachine::Arg("file", 0),
-                     SHOULD_PROMOTE_BG),
--    std::make_tuple("recMulti",
--                    1,
--                    TestMachine::Arg("file", 0, 255),
--                    SHOULD_PROMOTE_BG),
-     std::make_tuple("grpOpen",
-                     0,
-                     TestMachine::Arg("file", 0),
diff --git a/games/rlvm/pkg-descr b/games/rlvm/pkg-descr
deleted file mode 100644
index aba6c8214af1..000000000000
--- a/games/rlvm/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-rlvm is a Free Software reimplementation of VisualArt's KK's RealLive
-interpreter, used in the games Kanon, Air, CLANNAD, Planetarian,
-Tomoyo After and Little Busters, among many others.
diff --git a/games/rlvm/pkg-plist b/games/rlvm/pkg-plist
deleted file mode 100644
index 9491e4879c95..000000000000
--- a/games/rlvm/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-bin/rlvm
-share/applications/rlvm.desktop
-share/icons/hicolor/128x128/apps/rlvm.png
-share/icons/hicolor/16x16/apps/rlvm.png
-share/icons/hicolor/24x24/apps/rlvm.png
-share/icons/hicolor/256x256/apps/rlvm.png
-share/icons/hicolor/32x32/apps/rlvm.png
-share/icons/hicolor/48x48/apps/rlvm.png
-%%NLS%%share/locale/ja/LC_MESSAGES/rlvm.mo
-share/man/man6/rlvm.6.gz