pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games



Module Name:    pkgsrc
Committed By:   ktnb
Date:           Sat Nov 16 01:57:07 UTC 2024

Modified Files:
        pkgsrc/games: Makefile
Added Files:
        pkgsrc/games/luanti: DESCR Makefile PLIST distinfo
        pkgsrc/games/luanti/patches: patch-irr_src_CIrrDeviceLinux.cpp
            patch-irr_src_os.cpp patch-src_util_string.cpp
Removed Files:
        pkgsrc/games/minetest: DESCR Makefile PLIST distinfo
        pkgsrc/games/minetest/patches: patch-irr_src_CIrrDeviceLinux.cpp
            patch-irr_src_os.cpp patch-src_util_string.cpp

Log Message:
luanti: update to 5.10.0

Packaging changes:
- games/minetest -> games/luanti
- made myself (ktnb) maintainer

Upstream changes:
- name change
- many updates to the client and scripting parts

https://dev.minetest.net/Changelog#5.9.1_.E2.86.92_5.10.0


To generate a diff of this commit:
cvs rdiff -u -r1.555 -r1.556 pkgsrc/games/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/games/luanti/DESCR pkgsrc/games/luanti/Makefile \
    pkgsrc/games/luanti/PLIST pkgsrc/games/luanti/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/games/luanti/patches/patch-irr_src_CIrrDeviceLinux.cpp \
    pkgsrc/games/luanti/patches/patch-irr_src_os.cpp \
    pkgsrc/games/luanti/patches/patch-src_util_string.cpp
cvs rdiff -u -r1.1 -r0 pkgsrc/games/minetest/DESCR
cvs rdiff -u -r1.43 -r0 pkgsrc/games/minetest/Makefile
cvs rdiff -u -r1.9 -r0 pkgsrc/games/minetest/PLIST
cvs rdiff -u -r1.16 -r0 pkgsrc/games/minetest/distinfo
cvs rdiff -u -r1.2 -r0 \
    pkgsrc/games/minetest/patches/patch-irr_src_CIrrDeviceLinux.cpp
cvs rdiff -u -r1.1 -r0 pkgsrc/games/minetest/patches/patch-irr_src_os.cpp
cvs rdiff -u -r1.9 -r0 \
    pkgsrc/games/minetest/patches/patch-src_util_string.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/Makefile
diff -u pkgsrc/games/Makefile:1.555 pkgsrc/games/Makefile:1.556
--- pkgsrc/games/Makefile:1.555 Wed Oct 23 08:30:29 2024
+++ pkgsrc/games/Makefile       Sat Nov 16 01:57:06 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.555 2024/10/23 08:30:29 nia Exp $
+# $NetBSD: Makefile,v 1.556 2024/11/16 01:57:06 ktnb Exp $
 #
 
 COMMENT=       Games
@@ -291,7 +291,7 @@ SUBDIR+=    megaglest
 SUBDIR+=       megaglest-data
 SUBDIR+=       mightymike
 SUBDIR+=       minami
-SUBDIR+=       minetest
+SUBDIR+=       luanti
 SUBDIR+=       mirrormagic
 SUBDIR+=       monsterz
 SUBDIR+=       moon-buggy

Added files:

Index: pkgsrc/games/luanti/DESCR
diff -u /dev/null pkgsrc/games/luanti/DESCR:1.1
--- /dev/null   Sat Nov 16 01:57:07 2024
+++ pkgsrc/games/luanti/DESCR   Sat Nov 16 01:57:06 2024
@@ -0,0 +1,2 @@
+Luanti is a free open-source voxel game engine with easy modding and
+game creation.
Index: pkgsrc/games/luanti/Makefile
diff -u /dev/null pkgsrc/games/luanti/Makefile:1.1
--- /dev/null   Sat Nov 16 01:57:07 2024
+++ pkgsrc/games/luanti/Makefile        Sat Nov 16 01:57:06 2024
@@ -0,0 +1,67 @@
+# $NetBSD: Makefile,v 1.1 2024/11/16 01:57:06 ktnb Exp $
+
+DISTNAME=      luanti-5.10.0
+CATEGORIES=    games
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=minetest/}
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+GITHUB_PROJECT=        minetest
+
+MAINTAINER=    ktnb%NetBSD.org@localhost
+HOMEPAGE=      https://www.luanti.org/
+COMMENT=       Open source voxel game-creation platform
+LICENSE=       gnu-lgpl-v2.1 AND cc-by-sa-v3.0 AND apache-2.0
+
+WRKSRC=                ${WRKDIR}/minetest-${PKGVERSION_NOREV}
+
+USE_TOOLS+=    msgfmt
+USE_LANGUAGES= c c++
+
+# "Insufficient gcc version, found 4.8.5.  Version 4.9 or higher is required."
+GCC_REQD+=     4.9
+
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
+
+CMAKE_CONFIGURE_ARGS+= -DBUILD_CLIENT=TRUE
+CMAKE_CONFIGURE_ARGS+= -DBUILD_SERVER=TRUE
+
+CMAKE_CONFIGURE_ARGS+= -DENABLE_POSTGRESQL=FALSE
+CMAKE_CONFIGURE_ARGS+= -DENABLE_LEVELDB=FALSE
+CMAKE_CONFIGURE_ARGS+= -DENABLE_REDIS=FALSE
+CMAKE_CONFIGURE_ARGS+= -DENABLE_SPATIAL=FALSE
+
+#.include "../../lang/LuaJIT2/platform.mk"
+#.if ${PLATFORM_SUPPORTS_LUAJIT} == "no"
+#CMAKE_CONFIGURE_ARGS+=        -DENABLE_LUAJIT=FALSE
+#.endif
+# Binaries built with LuaJIT support have been broken since 2015, see:
+# https://github.com/minetest/minetest/issues/2988
+CMAKE_CONFIGURE_ARGS+= -DENABLE_LUAJIT=FALSE
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../textproc/jsoncpp/buildlink3.mk"
+#.if ${PLATFORM_SUPPORTS_LUAJIT} != "no"
+#.include "../../lang/LuaJIT2/buildlink3.mk"
+#.endif
+.include "../../www/curl/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libICE/buildlink3.mk"
+.include "../../x11/libSM/buildlink3.mk"
+.include "../../x11/libXxf86vm/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/games/luanti/PLIST
diff -u /dev/null pkgsrc/games/luanti/PLIST:1.1
--- /dev/null   Sat Nov 16 01:57:07 2024
+++ pkgsrc/games/luanti/PLIST   Sat Nov 16 01:57:06 2024
@@ -0,0 +1,379 @@
+@comment $NetBSD: PLIST,v 1.1 2024/11/16 01:57:06 ktnb Exp $
+bin/luanti
+bin/luantiserver
+bin/minetest
+bin/minetestserver
+man/man6/luanti.6
+man/man6/luantiserver.6
+share/applications/net.minetest.minetest.desktop
+share/doc/luanti/README.md
+share/doc/luanti/client_lua_api.md
+share/doc/luanti/lua_api.md
+share/doc/luanti/menu_lua_api.md
+share/doc/luanti/minetest.conf.example
+share/doc/luanti/texture_packs.md
+share/doc/luanti/world_format.md
+share/icons/hicolor/128x128/apps/luanti.png
+share/icons/hicolor/scalable/apps/luanti.svg
+share/locale/be/LC_MESSAGES/luanti.mo
+share/locale/bg/LC_MESSAGES/luanti.mo
+share/locale/ca/LC_MESSAGES/luanti.mo
+share/locale/cs/LC_MESSAGES/luanti.mo
+share/locale/cy/LC_MESSAGES/luanti.mo
+share/locale/da/LC_MESSAGES/luanti.mo
+share/locale/de/LC_MESSAGES/luanti.mo
+share/locale/el/LC_MESSAGES/luanti.mo
+share/locale/eo/LC_MESSAGES/luanti.mo
+share/locale/es/LC_MESSAGES/luanti.mo
+share/locale/es_US/LC_MESSAGES/luanti.mo
+share/locale/et/LC_MESSAGES/luanti.mo
+share/locale/eu/LC_MESSAGES/luanti.mo
+share/locale/fa/LC_MESSAGES/luanti.mo
+share/locale/fi/LC_MESSAGES/luanti.mo
+share/locale/fil/LC_MESSAGES/luanti.mo
+share/locale/fr/LC_MESSAGES/luanti.mo
+share/locale/ga/LC_MESSAGES/luanti.mo
+share/locale/gd/LC_MESSAGES/luanti.mo
+share/locale/gl/LC_MESSAGES/luanti.mo
+share/locale/hu/LC_MESSAGES/luanti.mo
+share/locale/ia/LC_MESSAGES/luanti.mo
+share/locale/id/LC_MESSAGES/luanti.mo
+share/locale/it/LC_MESSAGES/luanti.mo
+share/locale/ja/LC_MESSAGES/luanti.mo
+share/locale/jbo/LC_MESSAGES/luanti.mo
+share/locale/jv/LC_MESSAGES/luanti.mo
+share/locale/kk/LC_MESSAGES/luanti.mo
+share/locale/ko/LC_MESSAGES/luanti.mo
+share/locale/kv/LC_MESSAGES/luanti.mo
+share/locale/ky/LC_MESSAGES/luanti.mo
+share/locale/lt/LC_MESSAGES/luanti.mo
+share/locale/lv/LC_MESSAGES/luanti.mo
+share/locale/lzh/LC_MESSAGES/luanti.mo
+share/locale/mi/LC_MESSAGES/luanti.mo
+share/locale/mn/LC_MESSAGES/luanti.mo
+share/locale/mr/LC_MESSAGES/luanti.mo
+share/locale/ms/LC_MESSAGES/luanti.mo
+share/locale/nb/LC_MESSAGES/luanti.mo
+share/locale/nl/LC_MESSAGES/luanti.mo
+share/locale/nn/LC_MESSAGES/luanti.mo
+share/locale/oc/LC_MESSAGES/luanti.mo
+share/locale/pl/LC_MESSAGES/luanti.mo
+share/locale/pt/LC_MESSAGES/luanti.mo
+share/locale/pt_BR/LC_MESSAGES/luanti.mo
+share/locale/ro/LC_MESSAGES/luanti.mo
+share/locale/ru/LC_MESSAGES/luanti.mo
+share/locale/sk/LC_MESSAGES/luanti.mo
+share/locale/sl/LC_MESSAGES/luanti.mo
+share/locale/sr_Cyrl/LC_MESSAGES/luanti.mo
+share/locale/sr_Latn/LC_MESSAGES/luanti.mo
+share/locale/sv/LC_MESSAGES/luanti.mo
+share/locale/sw/LC_MESSAGES/luanti.mo
+share/locale/tok/LC_MESSAGES/luanti.mo
+share/locale/tr/LC_MESSAGES/luanti.mo
+share/locale/tt/LC_MESSAGES/luanti.mo
+share/locale/uk/LC_MESSAGES/luanti.mo
+share/locale/vi/LC_MESSAGES/luanti.mo
+share/locale/yue/LC_MESSAGES/luanti.mo
+share/locale/zh_CN/LC_MESSAGES/luanti.mo
+share/locale/zh_TW/LC_MESSAGES/luanti.mo
+share/luanti/builtin/async/game.lua
+share/luanti/builtin/async/mainmenu.lua
+share/luanti/builtin/client/chatcommands.lua
+share/luanti/builtin/client/init.lua
+share/luanti/builtin/client/misc.lua
+share/luanti/builtin/client/register.lua
+share/luanti/builtin/common/after.lua
+share/luanti/builtin/common/chatcommands.lua
+share/luanti/builtin/common/filterlist.lua
+share/luanti/builtin/common/information_formspecs.lua
+share/luanti/builtin/common/item_s.lua
+share/luanti/builtin/common/math.lua
+share/luanti/builtin/common/metatable.lua
+share/luanti/builtin/common/misc_helpers.lua
+share/luanti/builtin/common/mod_storage.lua
+share/luanti/builtin/common/register.lua
+share/luanti/builtin/common/serialize.lua
+share/luanti/builtin/common/strict.lua
+share/luanti/builtin/common/tests/after_spec.lua
+share/luanti/builtin/common/tests/math_spec.lua
+share/luanti/builtin/common/tests/misc_helpers_spec.lua
+share/luanti/builtin/common/tests/serialize_spec.lua
+share/luanti/builtin/common/tests/vector_spec.lua
+share/luanti/builtin/common/vector.lua
+share/luanti/builtin/emerge/env.lua
+share/luanti/builtin/emerge/init.lua
+share/luanti/builtin/emerge/register.lua
+share/luanti/builtin/fstk/buttonbar.lua
+share/luanti/builtin/fstk/dialog.lua
+share/luanti/builtin/fstk/tabview.lua
+share/luanti/builtin/fstk/ui.lua
+share/luanti/builtin/game/async.lua
+share/luanti/builtin/game/auth.lua
+share/luanti/builtin/game/chat.lua
+share/luanti/builtin/game/constants.lua
+share/luanti/builtin/game/death_screen.lua
+share/luanti/builtin/game/deprecated.lua
+share/luanti/builtin/game/detached_inventory.lua
+share/luanti/builtin/game/falling.lua
+share/luanti/builtin/game/features.lua
+share/luanti/builtin/game/forceloading.lua
+share/luanti/builtin/game/hud.lua
+share/luanti/builtin/game/init.lua
+share/luanti/builtin/game/item.lua
+share/luanti/builtin/game/item_entity.lua
+share/luanti/builtin/game/knockback.lua
+share/luanti/builtin/game/misc.lua
+share/luanti/builtin/game/misc_s.lua
+share/luanti/builtin/game/privileges.lua
+share/luanti/builtin/game/register.lua
+share/luanti/builtin/game/static_spawn.lua
+share/luanti/builtin/game/tests/test_moveaction.lua
+share/luanti/builtin/game/voxelarea.lua
+share/luanti/builtin/init.lua
+share/luanti/builtin/locale/__builtin.be.tr
+share/luanti/builtin/locale/__builtin.bg.tr
+share/luanti/builtin/locale/__builtin.ca.tr
+share/luanti/builtin/locale/__builtin.cs.tr
+share/luanti/builtin/locale/__builtin.cy.tr
+share/luanti/builtin/locale/__builtin.da.tr
+share/luanti/builtin/locale/__builtin.de.tr
+share/luanti/builtin/locale/__builtin.el.tr
+share/luanti/builtin/locale/__builtin.eo.tr
+share/luanti/builtin/locale/__builtin.es.tr
+share/luanti/builtin/locale/__builtin.et.tr
+share/luanti/builtin/locale/__builtin.eu.tr
+share/luanti/builtin/locale/__builtin.fi.tr
+share/luanti/builtin/locale/__builtin.fil.tr
+share/luanti/builtin/locale/__builtin.fr.tr
+share/luanti/builtin/locale/__builtin.ga.tr
+share/luanti/builtin/locale/__builtin.gl.tr
+share/luanti/builtin/locale/__builtin.hu.tr
+share/luanti/builtin/locale/__builtin.id.tr
+share/luanti/builtin/locale/__builtin.it.tr
+share/luanti/builtin/locale/__builtin.ja.tr
+share/luanti/builtin/locale/__builtin.jbo.tr
+share/luanti/builtin/locale/__builtin.jv.tr
+share/luanti/builtin/locale/__builtin.ko.tr
+share/luanti/builtin/locale/__builtin.kv.tr
+share/luanti/builtin/locale/__builtin.ky.tr
+share/luanti/builtin/locale/__builtin.lt.tr
+share/luanti/builtin/locale/__builtin.lv.tr
+share/luanti/builtin/locale/__builtin.lzh.tr
+share/luanti/builtin/locale/__builtin.mn.tr
+share/luanti/builtin/locale/__builtin.mr.tr
+share/luanti/builtin/locale/__builtin.ms.tr
+share/luanti/builtin/locale/__builtin.nb.tr
+share/luanti/builtin/locale/__builtin.nl.tr
+share/luanti/builtin/locale/__builtin.nn.tr
+share/luanti/builtin/locale/__builtin.oc.tr
+share/luanti/builtin/locale/__builtin.pl.tr
+share/luanti/builtin/locale/__builtin.pt.tr
+share/luanti/builtin/locale/__builtin.pt_BR.tr
+share/luanti/builtin/locale/__builtin.ro.tr
+share/luanti/builtin/locale/__builtin.ru.tr
+share/luanti/builtin/locale/__builtin.sk.tr
+share/luanti/builtin/locale/__builtin.sl.tr
+share/luanti/builtin/locale/__builtin.sr_Cyrl.tr
+share/luanti/builtin/locale/__builtin.sr_Latn.tr
+share/luanti/builtin/locale/__builtin.sv.tr
+share/luanti/builtin/locale/__builtin.sw.tr
+share/luanti/builtin/locale/__builtin.tok.tr
+share/luanti/builtin/locale/__builtin.tr.tr
+share/luanti/builtin/locale/__builtin.tt.tr
+share/luanti/builtin/locale/__builtin.uk.tr
+share/luanti/builtin/locale/__builtin.vi.tr
+share/luanti/builtin/locale/__builtin.zh_CN.tr
+share/luanti/builtin/locale/__builtin.zh_TW.tr
+share/luanti/builtin/locale/template.txt
+share/luanti/builtin/mainmenu/async_event.lua
+share/luanti/builtin/mainmenu/common.lua
+share/luanti/builtin/mainmenu/content/contentdb.lua
+share/luanti/builtin/mainmenu/content/dlg_contentdb.lua
+share/luanti/builtin/mainmenu/content/dlg_install.lua
+share/luanti/builtin/mainmenu/content/dlg_overwrite.lua
+share/luanti/builtin/mainmenu/content/dlg_package.lua
+share/luanti/builtin/mainmenu/content/init.lua
+share/luanti/builtin/mainmenu/content/pkgmgr.lua
+share/luanti/builtin/mainmenu/content/screenshots.lua
+share/luanti/builtin/mainmenu/content/tests/pkgmgr_spec.lua
+share/luanti/builtin/mainmenu/content/update_detector.lua
+share/luanti/builtin/mainmenu/credits.json
+share/luanti/builtin/mainmenu/dlg_config_world.lua
+share/luanti/builtin/mainmenu/dlg_create_world.lua
+share/luanti/builtin/mainmenu/dlg_delete_content.lua
+share/luanti/builtin/mainmenu/dlg_delete_world.lua
+share/luanti/builtin/mainmenu/dlg_register.lua
+share/luanti/builtin/mainmenu/dlg_reinstall_mtg.lua
+share/luanti/builtin/mainmenu/dlg_rename_modpack.lua
+share/luanti/builtin/mainmenu/dlg_version_info.lua
+share/luanti/builtin/mainmenu/game_theme.lua
+share/luanti/builtin/mainmenu/init.lua
+share/luanti/builtin/mainmenu/serverlistmgr.lua
+share/luanti/builtin/mainmenu/settings/components.lua
+share/luanti/builtin/mainmenu/settings/dlg_change_mapgen_flags.lua
+share/luanti/builtin/mainmenu/settings/dlg_settings.lua
+share/luanti/builtin/mainmenu/settings/generate_from_settingtypes.lua
+share/luanti/builtin/mainmenu/settings/init.lua
+share/luanti/builtin/mainmenu/settings/settingtypes.lua
+share/luanti/builtin/mainmenu/settings/shader_warning_component.lua
+share/luanti/builtin/mainmenu/settings/shadows_component.lua
+share/luanti/builtin/mainmenu/tab_about.lua
+share/luanti/builtin/mainmenu/tab_content.lua
+share/luanti/builtin/mainmenu/tab_local.lua
+share/luanti/builtin/mainmenu/tab_online.lua
+share/luanti/builtin/mainmenu/tests/favorites_wellformed.txt
+share/luanti/builtin/mainmenu/tests/serverlistmgr_spec.lua
+share/luanti/builtin/profiler/init.lua
+share/luanti/builtin/profiler/instrumentation.lua
+share/luanti/builtin/profiler/reporter.lua
+share/luanti/builtin/profiler/sampling.lua
+share/luanti/builtin/settingtypes.txt
+share/luanti/client/shaders/3d_interlaced_merge/opengl_fragment.glsl
+share/luanti/client/shaders/3d_interlaced_merge/opengl_vertex.glsl
+share/luanti/client/shaders/Irrlicht/OneTextureBlend.fsh
+share/luanti/client/shaders/Irrlicht/Renderer2D.fsh
+share/luanti/client/shaders/Irrlicht/Renderer2D.vsh
+share/luanti/client/shaders/Irrlicht/Renderer2D_noTex.fsh
+share/luanti/client/shaders/Irrlicht/Solid.fsh
+share/luanti/client/shaders/Irrlicht/Solid.vsh
+share/luanti/client/shaders/Irrlicht/TransparentAlphaChannel.fsh
+share/luanti/client/shaders/Irrlicht/TransparentAlphaChannelRef.fsh
+share/luanti/client/shaders/Irrlicht/TransparentVertexAlpha.fsh
+share/luanti/client/shaders/bloom_downsample/opengl_fragment.glsl
+share/luanti/client/shaders/bloom_downsample/opengl_vertex.glsl
+share/luanti/client/shaders/bloom_upsample/opengl_fragment.glsl
+share/luanti/client/shaders/bloom_upsample/opengl_vertex.glsl
+share/luanti/client/shaders/blur_h/opengl_fragment.glsl
+share/luanti/client/shaders/blur_h/opengl_vertex.glsl
+share/luanti/client/shaders/blur_v/opengl_fragment.glsl
+share/luanti/client/shaders/blur_v/opengl_vertex.glsl
+share/luanti/client/shaders/cloud_shader/opengl_fragment.glsl
+share/luanti/client/shaders/cloud_shader/opengl_vertex.glsl
+share/luanti/client/shaders/default_shader/opengl_fragment.glsl
+share/luanti/client/shaders/default_shader/opengl_vertex.glsl
+share/luanti/client/shaders/extract_bloom/opengl_fragment.glsl
+share/luanti/client/shaders/extract_bloom/opengl_vertex.glsl
+share/luanti/client/shaders/fxaa/opengl_fragment.glsl
+share/luanti/client/shaders/fxaa/opengl_vertex.glsl
+share/luanti/client/shaders/minimap_shader/opengl_fragment.glsl
+share/luanti/client/shaders/minimap_shader/opengl_vertex.glsl
+share/luanti/client/shaders/nodes_shader/opengl_fragment.glsl
+share/luanti/client/shaders/nodes_shader/opengl_vertex.glsl
+share/luanti/client/shaders/object_shader/opengl_fragment.glsl
+share/luanti/client/shaders/object_shader/opengl_vertex.glsl
+share/luanti/client/shaders/second_stage/opengl_fragment.glsl
+share/luanti/client/shaders/second_stage/opengl_vertex.glsl
+share/luanti/client/shaders/selection_shader/opengl_fragment.glsl
+share/luanti/client/shaders/selection_shader/opengl_vertex.glsl
+share/luanti/client/shaders/shadow_shaders/pass1_fragment.glsl
+share/luanti/client/shaders/shadow_shaders/pass1_trans_fragment.glsl
+share/luanti/client/shaders/shadow_shaders/pass1_trans_vertex.glsl
+share/luanti/client/shaders/shadow_shaders/pass1_vertex.glsl
+share/luanti/client/shaders/shadow_shaders/pass2_fragment.glsl
+share/luanti/client/shaders/shadow_shaders/pass2_vertex.glsl
+share/luanti/client/shaders/stars_shader/opengl_fragment.glsl
+share/luanti/client/shaders/stars_shader/opengl_vertex.glsl
+share/luanti/client/shaders/update_exposure/opengl_fragment.glsl
+share/luanti/client/shaders/update_exposure/opengl_vertex.glsl
+share/luanti/client/shaders/volumetric_light/opengl_fragment.glsl
+share/luanti/client/shaders/volumetric_light/opengl_vertex.glsl
+share/luanti/fonts/Arimo-Bold.ttf
+share/luanti/fonts/Arimo-BoldItalic.ttf
+share/luanti/fonts/Arimo-Italic.ttf
+share/luanti/fonts/Arimo-LICENSE.txt
+share/luanti/fonts/Arimo-Regular.ttf
+share/luanti/fonts/Cousine-Bold.ttf
+share/luanti/fonts/Cousine-BoldItalic.ttf
+share/luanti/fonts/Cousine-Italic.ttf
+share/luanti/fonts/Cousine-LICENSE.txt
+share/luanti/fonts/Cousine-Regular.ttf
+share/luanti/fonts/DroidSansFallbackFull-LICENSE.txt
+share/luanti/fonts/DroidSansFallbackFull.ttf
+share/luanti/textures/base/pack/air.png
+share/luanti/textures/base/pack/aux1_btn.png
+share/luanti/textures/base/pack/blank.png
+share/luanti/textures/base/pack/bubble.png
+share/luanti/textures/base/pack/bubble_gone.png
+share/luanti/textures/base/pack/button_hover_semitrans.png
+share/luanti/textures/base/pack/button_press_semitrans.png
+share/luanti/textures/base/pack/camera_btn.png
+share/luanti/textures/base/pack/cdb_downloading.png
+share/luanti/textures/base/pack/cdb_queued.png
+share/luanti/textures/base/pack/cdb_update.png
+share/luanti/textures/base/pack/cdb_update_cropped.png
+share/luanti/textures/base/pack/chat_btn.png
+share/luanti/textures/base/pack/chat_hide_btn.png
+share/luanti/textures/base/pack/chat_show_btn.png
+share/luanti/textures/base/pack/checkbox_16.png
+share/luanti/textures/base/pack/checkbox_32.png
+share/luanti/textures/base/pack/checkbox_64.png
+share/luanti/textures/base/pack/clear.png
+share/luanti/textures/base/pack/crack_anylength.png
+share/luanti/textures/base/pack/debug_btn.png
+share/luanti/textures/base/pack/down.png
+share/luanti/textures/base/pack/drop_btn.png
+share/luanti/textures/base/pack/end_icon.png
+share/luanti/textures/base/pack/error_icon_orange.png
+share/luanti/textures/base/pack/error_icon_red.png
+share/luanti/textures/base/pack/error_screenshot.png
+share/luanti/textures/base/pack/exit_btn.png
+share/luanti/textures/base/pack/fast_btn.png
+share/luanti/textures/base/pack/fly_btn.png
+share/luanti/textures/base/pack/halo.png
+share/luanti/textures/base/pack/heart.png
+share/luanti/textures/base/pack/heart_gone.png
+share/luanti/textures/base/pack/ignore.png
+share/luanti/textures/base/pack/inventory_btn.png
+share/luanti/textures/base/pack/joystick_bg.png
+share/luanti/textures/base/pack/joystick_center.png
+share/luanti/textures/base/pack/joystick_off.png
+share/luanti/textures/base/pack/jump_btn.png
+share/luanti/textures/base/pack/loading_screenshot.png
+share/luanti/textures/base/pack/logo.png
+share/luanti/textures/base/pack/menu_bg.png
+share/luanti/textures/base/pack/menu_header.png
+share/luanti/textures/base/pack/minimap_btn.png
+share/luanti/textures/base/pack/minimap_mask_round.png
+share/luanti/textures/base/pack/minimap_mask_square.png
+share/luanti/textures/base/pack/minimap_overlay_round.png
+share/luanti/textures/base/pack/minimap_overlay_square.png
+share/luanti/textures/base/pack/next_icon.png
+share/luanti/textures/base/pack/no_screenshot.png
+share/luanti/textures/base/pack/no_texture.png
+share/luanti/textures/base/pack/no_texture_airlike.png
+share/luanti/textures/base/pack/noclip_btn.png
+share/luanti/textures/base/pack/object_marker_red.png
+share/luanti/textures/base/pack/overflow_btn.png
+share/luanti/textures/base/pack/player.png
+share/luanti/textures/base/pack/player_back.png
+share/luanti/textures/base/pack/player_marker.png
+share/luanti/textures/base/pack/plus.png
+share/luanti/textures/base/pack/prev_icon.png
+share/luanti/textures/base/pack/progress_bar.png
+share/luanti/textures/base/pack/progress_bar_bg.png
+share/luanti/textures/base/pack/rangeview_btn.png
+share/luanti/textures/base/pack/refresh.png
+share/luanti/textures/base/pack/search.png
+share/luanti/textures/base/pack/server_favorite.png
+share/luanti/textures/base/pack/server_favorite_delete.png
+share/luanti/textures/base/pack/server_flags_creative.png
+share/luanti/textures/base/pack/server_flags_damage.png
+share/luanti/textures/base/pack/server_flags_pvp.png
+share/luanti/textures/base/pack/server_incompatible.png
+share/luanti/textures/base/pack/server_ping_1.png
+share/luanti/textures/base/pack/server_ping_2.png
+share/luanti/textures/base/pack/server_ping_3.png
+share/luanti/textures/base/pack/server_ping_4.png
+share/luanti/textures/base/pack/server_public.png
+share/luanti/textures/base/pack/settings_btn.png
+share/luanti/textures/base/pack/settings_info.png
+share/luanti/textures/base/pack/settings_reset.png
+share/luanti/textures/base/pack/smoke_puff.png
+share/luanti/textures/base/pack/start_icon.png
+share/luanti/textures/base/pack/sunrisebg.png
+share/luanti/textures/base/pack/unknown_item.png
+share/luanti/textures/base/pack/unknown_node.png
+share/luanti/textures/base/pack/unknown_object.png
+share/luanti/textures/base/pack/wieldhand.png
+share/luanti/textures/base/pack/zoom.png
+share/metainfo/net.minetest.minetest.metainfo.xml
Index: pkgsrc/games/luanti/distinfo
diff -u /dev/null pkgsrc/games/luanti/distinfo:1.1
--- /dev/null   Sat Nov 16 01:57:07 2024
+++ pkgsrc/games/luanti/distinfo        Sat Nov 16 01:57:06 2024
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2024/11/16 01:57:06 ktnb Exp $
+
+BLAKE2s (luanti-5.10.0.tar.gz) = 56c28a6e886146f02736598bcf78b073c6a2c614691ccfbf9b91c8cbcad2bc82
+SHA512 (luanti-5.10.0.tar.gz) = b28ad4dbae543d8b1094c1e49252a3a1851b23928061789cd960614318f42042a651d406b39d4e5cf7b86981f3e79cb62bb329302d5dfeef972999f4bad1458e
+Size (luanti-5.10.0.tar.gz) = 12257502 bytes
+SHA1 (patch-irr_src_CIrrDeviceLinux.cpp) = 57a8e6158ac61a320ec9e086569ff8277f727875
+SHA1 (patch-irr_src_os.cpp) = fe5cf12adf6b4574e97e8cfee46a07401b87ab90
+SHA1 (patch-src_util_string.cpp) = c736bb886ec087ac2fcaf36da4d78dbe0d45e616

Index: pkgsrc/games/luanti/patches/patch-irr_src_CIrrDeviceLinux.cpp
diff -u /dev/null pkgsrc/games/luanti/patches/patch-irr_src_CIrrDeviceLinux.cpp:1.1
--- /dev/null   Sat Nov 16 01:57:07 2024
+++ pkgsrc/games/luanti/patches/patch-irr_src_CIrrDeviceLinux.cpp       Sat Nov 16 01:57:06 2024
@@ -0,0 +1,50 @@
+$NetBSD: patch-irr_src_CIrrDeviceLinux.cpp,v 1.1 2024/11/16 01:57:06 ktnb Exp $
+
+Use FreeBSD's support for NetBSD
+
+--- irr/src/CIrrDeviceLinux.cpp.orig   2024-11-12 15:24:41.476828138 +0000
++++ irr/src/CIrrDeviceLinux.cpp
+@@ -29,6 +29,7 @@
+ #include "IVideoDriver.h"
+ #include <X11/XKBlib.h>
+ #include <X11/Xatom.h>
++#include <unistd.h>
+ 
+ #if defined(_IRR_LINUX_X11_XINPUT2_)
+ #include <X11/extensions/XInput2.h>
+@@ -53,7 +54,7 @@
+ #if defined _IRR_COMPILE_WITH_JOYSTICK_EVENTS_
+ #include <fcntl.h>
+ 
+-#ifdef __FreeBSD__
++#if defined(__NetBSD__) || defined(__FreeBSD__)
+ #include <sys/joystick.h>
+ #else
+ 
+@@ -1572,7 +1573,7 @@ bool CIrrDeviceLinux::activateJoysticks(
+               if (-1 == info.fd)
+                       continue;
+ 
+-#ifdef __FreeBSD__
++#if defined(__NetBSD__) || defined(__FreeBSD__)
+               info.axes = 2;
+               info.buttons = 2;
+ #else
+@@ -1595,7 +1596,7 @@ bool CIrrDeviceLinux::activateJoysticks(
+               returnInfo.Axes = info.axes;
+               returnInfo.Buttons = info.buttons;
+ 
+-#ifndef __FreeBSD__
++#if !defined(__NetBSD__) && !defined(__FreeBSD__)
+               char name[80];
+               ioctl(info.fd, JSIOCGNAME(80), name);
+               returnInfo.Name = name;
+@@ -1627,7 +1628,7 @@ void CIrrDeviceLinux::pollJoysticks()
+       for (u32 j = 0; j < ActiveJoysticks.size(); ++j) {
+               JoystickInfo &info = ActiveJoysticks[j];
+ 
+-#ifdef __FreeBSD__
++#if defined(__NetBSD__) || defined(__FreeBSD__)
+               struct joystick js;
+               if (read(info.fd, &js, sizeof(js)) == sizeof(js)) {
+                       info.persistentData.JoystickEvent.ButtonStates = js.b1 | (js.b2 << 1); /* should be a two-bit field */
Index: pkgsrc/games/luanti/patches/patch-irr_src_os.cpp
diff -u /dev/null pkgsrc/games/luanti/patches/patch-irr_src_os.cpp:1.1
--- /dev/null   Sat Nov 16 01:57:07 2024
+++ pkgsrc/games/luanti/patches/patch-irr_src_os.cpp    Sat Nov 16 01:57:06 2024
@@ -0,0 +1,18 @@
+$NetBSD: patch-irr_src_os.cpp,v 1.1 2024/11/16 01:57:06 ktnb Exp $
+
+Add NetBSD's endian functions
+
+--- irr/src/os.cpp.orig        2024-08-12 14:23:31.809803900 +0000
++++ irr/src/os.cpp
+@@ -31,6 +31,11 @@
+ #define bswap_16(X) letoh16(X)
+ #define bswap_32(X) letoh32(X)
+ #define bswap_64(X) letoh64(X)
++#elif defined(__NetBSD__)
++#include <endian.h>
++#define bswap_16(X) htole16(X)
++#define bswap_32(X) htole32(X)
++#define bswap_64(X) htole64(X)
+ #elif !defined(_IRR_SOLARIS_PLATFORM_) && !defined(__PPC__) && !defined(_IRR_WINDOWS_API_)
+ #include <byteswap.h>
+ #else
Index: pkgsrc/games/luanti/patches/patch-src_util_string.cpp
diff -u /dev/null pkgsrc/games/luanti/patches/patch-src_util_string.cpp:1.1
--- /dev/null   Sat Nov 16 01:57:07 2024
+++ pkgsrc/games/luanti/patches/patch-src_util_string.cpp       Sat Nov 16 01:57:06 2024
@@ -0,0 +1,32 @@
+$NetBSD: patch-src_util_string.cpp,v 1.1 2024/11/16 01:57:06 ktnb Exp $
+
+Support non-POSIX iconv on NetBSD before 10 and SunOS.
+
+--- src/util/string.cpp.orig   2024-08-11 15:54:55.000000000 +0000
++++ src/util/string.cpp
+@@ -39,6 +39,13 @@ with this program; if not, write to the 
+       #include <windows.h>
+ #endif
+ 
++#if defined(__NetBSD__)
++#include <sys/param.h>
++#if __NetBSD_Prereq__(9,99,17)
++#define NETBSD_POSIX_ICONV 1
++#endif
++#endif
++
+ #ifndef _WIN32
+ 
+ namespace {
+@@ -77,7 +84,11 @@ static bool convert(iconv_t cd, char *ou
+       const size_t old_outbuf_size = *outbuf_size;
+       size_t old_size = inbuf_size;
+       while (inbuf_size > 0) {
++#if (defined(__NetBSD__) && !defined(NETBSD_POSIX_ICONV)) || defined(__sun)
++              iconv(cd, (const char **)&inbuf_ptr, &inbuf_size, &outbuf_ptr, outbuf_size);
++#else
+               iconv(cd, &inbuf_ptr, &inbuf_size, &outbuf_ptr, outbuf_size);
++#endif
+               if (inbuf_size == old_size) {
+                       return false;
+               }



Home | Main Index | Thread Index | Old Index