minetest: rename to luanti

Moved to pkgs/by-name
Added and updated aliases
Added release note

authored by 06kellyjac and committed by Francesco Gazzetta 451ef399 c006b91a

+20 -24
+2
nixos/doc/manual/release-notes/rl-2505.section.md
··· 121 121 122 122 - `linuxPackages.nvidiaPackages.dc_520` has been removed since it is marked broken and there are better newer alternatives. 123 123 124 + - `minetest` has been renamed to `luanti` to match the upstream name change but aliases have been added. The new name hasn't resulted in many changes as of yet but older references to minetest should be sunset. See the [new name announcement](https://blog.minetest.net/2024/10/13/Introducing-Our-New-Name/) for more details. 125 + 124 126 - `racket_7_9` has been removed, as it is insecure. It is recommended to use Racket 8 instead. 125 127 126 128 - `ente-auth` now uses the name `enteauth` for its binary. The previous name was `ente_auth`.
pkgs/games/minetest/0000-mark-rm-for-substitution.patch pkgs/by-name/lu/luanti/0000-mark-rm-for-substitution.patch
+12 -16
pkgs/games/minetest/default.nix pkgs/by-name/lu/luanti/package.nix
··· 31 31 libiconv, 32 32 ninja, 33 33 prometheus-cpp, 34 - OpenGL, 35 - OpenAL ? openal, 36 - Carbon, 37 - Cocoa, 38 - Kernel, 34 + darwin, 39 35 buildClient ? true, 40 36 buildServer ? true, 41 37 SDL2, ··· 43 39 }: 44 40 45 41 stdenv.mkDerivation (finalAttrs: { 46 - pname = "minetest"; 42 + pname = "luanti"; 47 43 version = "5.10.0"; 48 44 49 45 src = fetchFromGitHub { ··· 85 81 # Remove when https://github.com/NixOS/nixpkgs/issues/144170 is fixed 86 82 (lib.cmakeFeature "CMAKE_INSTALL_BINDIR" "bin") 87 83 (lib.cmakeFeature "CMAKE_INSTALL_DATADIR" "share") 88 - (lib.cmakeFeature "CMAKE_INSTALL_DOCDIR" "share/doc/minetest") 84 + (lib.cmakeFeature "CMAKE_INSTALL_DOCDIR" "share/doc/luanti") 89 85 (lib.cmakeFeature "CMAKE_INSTALL_MANDIR" "share/man") 90 86 (lib.cmakeFeature "CMAKE_INSTALL_LOCALEDIR" "share/locale") 91 87 ··· 113 109 ++ lib.optional (lib.meta.availableOn stdenv.hostPlatform luajit) luajit 114 110 ++ lib.optionals stdenv.hostPlatform.isDarwin [ 115 111 libiconv 116 - OpenGL 117 - OpenAL 118 - Carbon 119 - Cocoa 120 - Kernel 112 + darwin.apple_sdk.frameworks.OpenGL 113 + darwin.apple_sdk.frameworks.OpenAL 114 + darwin.apple_sdk.frameworks.Carbon 115 + darwin.apple_sdk.frameworks.Cocoa 116 + darwin.apple_sdk.frameworks.Kernel 121 117 ] 122 118 ++ lib.optionals buildClient [ 123 119 libpng ··· 147 143 '' 148 144 + lib.optionalString stdenv.hostPlatform.isDarwin '' 149 145 mkdir -p $out/Applications 150 - mv $out/minetest.app $out/Applications 146 + mv $out/luanti.app $out/Applications 151 147 ''; 152 148 153 149 doCheck = true; ··· 158 154 }; 159 155 160 156 meta = with lib; { 161 - homepage = "https://minetest.net/"; 162 - description = "Infinite-world block sandbox game"; 157 + homepage = "https://www.luanti.org/"; 158 + description = "An open source voxel game engine (formerly Minetest)"; 163 159 license = licenses.lgpl21Plus; 164 160 platforms = platforms.linux ++ platforms.darwin; 165 161 maintainers = with maintainers; [ 166 162 fpletz 167 163 fgaz 168 164 ]; 169 - mainProgram = if buildClient then "minetest" else "minetestserver"; 165 + mainProgram = if buildClient then "luanti" else "luantiserver"; 170 166 }; 171 167 })
+4 -3
pkgs/top-level/aliases.nix
··· 828 828 MIDIVisualizer = midivisualizer; # Added 2024-06-12 829 829 mikutter = throw "'mikutter' has been removed because the package was broken and had no maintainers"; # Added 2024-10-01 830 830 mime-types = mailcap; # Added 2022-01-21 831 - minetest-touch = minetestclient; # Added 2024-08-12 832 - minetestclient_5 = minetestclient; # Added 2023-12-11 833 - minetestserver_5 = minetestserver; # Added 2023-12-11 831 + minetest = luanti; # Added 2024-11-11 832 + minetestclient = luanti-client; # Added 2024-11-11 833 + minetestserver = luanti-server; # Added 2024-11-11 834 + minetest-touch = luanti-client; # Added 2024-08-12 834 835 minizip2 = pkgs.minizip-ng; # Added 2022-12-28 835 836 mod_dnssd = throw "'mod_dnssd' has been renamed to/replaced by 'apacheHttpdPackages.mod_dnssd'"; # Converted to throw 2024-10-17 836 837 mod_fastcgi = throw "'mod_fastcgi' has been renamed to/replaced by 'apacheHttpdPackages.mod_fastcgi'"; # Converted to throw 2024-10-17
+2 -5
pkgs/top-level/all-packages.nix
··· 16773 16773 minecraftServers = import ../games/minecraft-servers { inherit callPackage lib javaPackages; }; 16774 16774 minecraft-server = minecraftServers.vanilla; # backwards compatibility 16775 16775 16776 - minetest = callPackage ../games/minetest { 16777 - inherit (darwin.apple_sdk.frameworks) OpenGL OpenAL Carbon Cocoa Kernel; 16778 - }; 16779 - minetestclient = minetest.override { buildServer = false; }; 16780 - minetestserver = minetest.override { buildClient = false; }; 16776 + luanti-client = luanti.override { buildServer = false; }; 16777 + luanti-server = luanti.override { buildClient = false; }; 16781 16778 16782 16779 mnemosyne = callPackage ../games/mnemosyne { 16783 16780 python = python3;