[macOS] Neoascetic's nightly builds and others

acheron
New member
 
Posts: 9
Joined: Sun Jan 15, 2017 16:56

Re: [macOS] Neoascetic's nightly builds and others

by acheron » Thu May 09, 2019 17:29

The brew formula was updated with 5.0.1 25 days ago.

Or you can just do
Code: Select all
brew install minetest
, it’s up to you. ;P


Well, what should I say... thank you for the suggestion, but the initial question was

Is there any way to get the current "official release version" 5.0.1 without (and that's the important part of the question) this homebrew-stuff?


Nobody really answered that question, so I guess the answer is just plain "No". But thank you all for your suggestions! Let's see about this macports-stuff on my new machine...
 

User avatar
texmex
Member
 
Posts: 1588
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [macOS] Neoascetic's nightly builds and others

by texmex » Thu May 09, 2019 20:41

Sorry, I overlooked the requirements. Why anyone would use macports when homebrew exists is beyond me since it’s basically the same thing, but I won’t judge.

The problem with MT for Mac is that an official release channel doesn’t exist for this platform. But like I said before, why not just download the readymade build from Neoascetic that matches the git commit of 5.0.1 in this case?
 

User avatar
snoopy
Member
 
Posts: 84
Joined: Thu Oct 20, 2016 16:49
Location: DE, European Union
GitHub: Zweihorn

Re: [macOS] Neoascetic's nightly builds and others

by snoopy » Fri May 10, 2019 07:22

texmex wrote:Why anyone would use macports when homebrew exists is beyond me since it’s basically the same thing, but I won’t judge.


FOSS starts with "Free" and one should have the liberty of choice.

MacPorts and Homebrew as well as Fink are similar efforts and are optionial. One may consider MacPorts vs Homebrew or other discussions before chosing just either of these or none.
Enjoying Minetest by MacPorts and/or Neoascetic's builds on Mac OS X with a local server and several modifications.
 

User avatar
snoopy
Member
 
Posts: 84
Joined: Thu Oct 20, 2016 16:49
Location: DE, European Union
GitHub: Zweihorn

Re: [macOS] Neoascetic's nightly builds and others

by snoopy » Fri May 10, 2019 07:43

texmex wrote:The problem with MT for Mac is that an official release channel doesn’t exist for this platform. But like I said before, why not just download the readymade build from Neoascetic that matches the git commit of 5.0.1 in this case?


@texmex: Please, could you just provide a link for the download as mentioned by you?

IMHO the a.m. git commit of 5.0.1 in this case may not be easily found. A brief scan of the builds from Neoascetic only gave 5.1.0-dev variants around 2019-03-31 but I would be happy to be proven wrong.
Enjoying Minetest by MacPorts and/or Neoascetic's builds on Mac OS X with a local server and several modifications.
 

User avatar
cainram
Member
 
Posts: 17
Joined: Fri Apr 08, 2016 20:51

Re: [macOS] Neoascetic's nightly builds and others

by cainram » Sat May 11, 2019 13:18

I second this emotion. I keep my Macs as stock as possible and don't want to install any of these platforms. I just want to find the stable compiled .app file for 5.0.1. I don't know why this has been this way for so long. The Devs do really wonderful work and I LOVE Minetest. I'm spinning up an ubuntu server right now to replace my old instance and I need new clients for my daughters' computers. Can someone make this happen and post a link here? My kids and I thank you in advance.
 

User avatar
texmex
Member
 
Posts: 1588
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [macOS] Neoascetic's nightly builds and others

by texmex » Sat May 11, 2019 21:32

cainram wrote:I second this emotion. I keep my Macs as stock as possible and don't want to install any of these platforms. I just want to find the stable compiled .app file for 5.0.1. I don't know why this has been this way for so long. The Devs do really wonderful work and I LOVE Minetest. I'm spinning up an ubuntu server right now to replace my old instance and I need new clients for my daughters' computers. Can someone make this happen and post a link here? My kids and I thank you in advance.


There's really no reason for MT devs not to provide official builds already since neoascetic has shown how to automate it (without Apple hardware at hand).

Here you go, the official Homebrew 5.0.1 version for direct download:
 

acheron
New member
 
Posts: 9
Joined: Sun Jan 15, 2017 16:56
 

User avatar
cainram
Member
 
Posts: 17
Joined: Fri Apr 08, 2016 20:51
 

gsbhasin123
Member
 
Posts: 32
Joined: Sun Jul 14, 2019 00:30
GitHub: gsbhasin123
In-game: codic
 

Zen
Member
 
Posts: 23
Joined: Wed Feb 25, 2015 16:22

Re: [macOS] Neoascetic's nightly builds and others

by Zen » Mon Oct 21, 2019 01:22

Might take a while. I'm getting errors with 5.0.1 building. So 5.1.0 will have to wait.

When I type: brew install minetest --build-from-source

I get an error message.

Code: Select all
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:325:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
      ~~^
13 errors generated.
 

User avatar
texmex
Member
 
Posts: 1588
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [macOS] Neoascetic's nightly builds and others

by texmex » Mon Oct 21, 2019 09:59

Zen wrote:Might take a while. I'm getting errors with 5.0.1 building. So 5.1.0 will have to wait.

When I type: brew install minetest --build-from-source

I get an error message.

Code: Select all
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:325:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
      ~~^
13 errors generated.

Looks like you’re having Xcode issues.
 

Zen
Member
 
Posts: 23
Joined: Wed Feb 25, 2015 16:22

Re: [macOS] Neoascetic's nightly builds and others

by Zen » Tue Oct 22, 2019 00:05

I found a thread on the subject at the Cmake message boards, 19845.
But when I tried installing a previous version of Cmake on brew, it didn't work.
Got the same global namespace errors while compiling.

So I'm out.

Here's the untested 5.1.0 version of minetest.rb for the Formula folder.

Code: Select all
class Minetest < Formula
  desc "Free, open source voxel game engine and game"
  homepage "https://www.minetest.net/"

  stable do
    url "https://github.com/minetest/minetest/archive/5.1.0.tar.gz"
    sha256 "ca53975eecf6a39383040658f41d697c8d7f8d5fe9176460f564979c73b53906"

    resource "minetest_game" do
      url "https://github.com/minetest/minetest_game/archive/5.1.0.tar.gz"
      sha256 "f165fac0081bf4797cf9094282cc25034b2347b3ea94e6bb8d9329c5ee63f41b"
    end
  end

  bottle do
    sha256 "21668f152c915c3376690da7c99f4efddaf8dfb138c550322b40789d4a50173b" => :mojave
    sha256 "4d05b170855c4215a39ba37e520f4f338de88e6bef724ac7201683272f4c7fdf" => :high_sierra
    sha256 "5122d65cef9f5f63b3511f627e25408cadf8f0158c119262413a9e8b8666ddc5" => :sierra
  end

  head do
    url "https://github.com/minetest/minetest.git"

    resource "minetest_game" do
      url "https://github.com/minetest/minetest_game.git", :branch => "master"
    end
  end

  depends_on "cmake" => :build
  depends_on "freetype"
  depends_on "gettext"
  depends_on "hiredis"
  depends_on "irrlicht"
  depends_on "jpeg"
  depends_on "leveldb"
  depends_on "libogg"
  depends_on "libvorbis"
  depends_on "luajit"
  depends_on "postgresql"
  depends_on "spatialindex"
  depends_on :x11

  def install
    (buildpath/"games/minetest_game").install resource("minetest_game")

    args = std_cmake_args - %w[-DCMAKE_BUILD_TYPE=None]
    args << "-DCMAKE_BUILD_TYPE=Release" << "-DBUILD_CLIENT=1" << "-DBUILD_SERVER=0"
    args << "-DENABLE_FREETYPE=1" << "-DCMAKE_EXE_LINKER_FLAGS='-L#{Formula["freetype"].opt_lib}'"
    args << "-DENABLE_GETTEXT=1" << "-DCUSTOM_GETTEXT_PATH=#{Formula["gettext"].opt_prefix}"

    system "cmake", ".", *args
    system "make", "package"
    system "unzip", "minetest-*-osx.zip"
    prefix.install "minetest.app"
  end

  def caveats
    <<~EOS
      Put additional subgames and mods into "games" and "mods" folders under
      "~/Library/Application Support/minetest/", respectively (you may have
      to create those folders first).

      If you would like to start the Minetest server from a terminal, run
      "/Applications/minetest.app/Contents/MacOS/minetest --server".
    EOS
  end

  test do
    #
    # --help and --version produce output directly.
    # --speedtests and --videomodes need user data directory in order to work.
    # --info and --trace need user data directory and will actually run the game.
    #
    # --run-unittests does not work for Homebrew.
    #
    # Debug File: all test information should wind up in here.
    #
    (testpath/"Library/Application Support/minetest/debug.txt").write("")
    system "#{prefix}/minetest.app/Contents/MacOS/minetest", "--speedtests"
  end
end
 


If you want to try brewing at home, make sure you have XQuartz installed.
Hint: Open the package to install by double clicking on it.

Hit go in the Finder menu and select Go To Folder and type in:

/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/minetest.rb

Replace the text inside the file, save, and then open the Terminal and enter:

brew upgrade minetest --build-from-source

Can guarantee it will work though.
 

gsbhasin123
Member
 
Posts: 32
Joined: Sun Jul 14, 2019 00:30
GitHub: gsbhasin123
In-game: codic
 

warpnarget
New member
 
Posts: 4
Joined: Sat Oct 12, 2019 21:34
In-game: warpnarget

Re: [macOS] Neoascetic's nightly builds and others

by warpnarget » Fri Oct 25, 2019 18:19

the version on homebrew is 5.01 but 5.10 has been out a while
 

Zen
Member
 
Posts: 23
Joined: Wed Feb 25, 2015 16:22

Re: [macOS] Neoascetic's nightly builds and others

by Zen » Fri Nov 01, 2019 05:28

Yes. Compiling with a lower version of CMake and fixing the S64 incompatibility bug works.
But you cannot patch up Home-brew. Not sure how to import into Xcode yet. Here's the file:

Minetest 5.1.0.dmg

P. S. Not sure what versions of MacOs it works on.
 

User avatar
texmex
Member
 
Posts: 1588
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex
 

iquoth
New member
 
Posts: 3
Joined: Sat Sep 09, 2017 17:50
GitHub: kurzkopfgleitbeutler
In-game: iquoth

Re: [macOS] Neoascetic's nightly builds and others

by iquoth » Wed Nov 06, 2019 13:19

Apologies if this has been asked before.

I would like to install minetest 5.1.0 on macOS from homebrew, but I don't know how to do any of this technical stuff.

Could someone give a step-by-step guide on how to install a specific (newer) version of the minetest formula from brew?

What I think would be most helpful is a "how to update the minetest formula for noobs"-guide, with this, anyone could help keeping the formula up-to-date.

Alternatively, is there a way to do
Code: Select all
$ brew install minetest --tag=5.1.0

where the tag value is any version without binaries that brew thinks is newer than the latest version with binaries?

Thank you for your help
 

Previous

Return to Builds



Who is online

Users browsing this forum: No registered users and 3 guests