[Linux] Minetest Appimages

An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post

Tcll wrote:
Sun Feb 28, 2021 11:48
you know more than me if you're able to build them in a squashfs environment :srs:
What's that? I just build them in a Docker environment ;P
I know my method is inefficient, but it works.

Again, when I find the time or there happens to be a demand for my version of Minetest AppImages, then I will research a more proper method.

User avatar
Tcll
Member
Posts: 87
Joined: Thu Jul 25, 2019 21:43
GitHub: Tcll
IRC: Tcll Tcll5850 DarkPikachu
In-game: Tcll
Location: The Gates of Darkness.

Re: [Linux] Minetest Appimages

by Tcll » Post

An0n3m0us wrote:
Sun Feb 28, 2021 11:46
Router names make no sense to me, but I'm guessing it's good :P
lol not really (at least for my needs), I wouldn't be surprised if it was running a Pentium III CPU
the only good thing about it is the small amount of expandability over basic routers (4 DSL connections currently, I think) XD
though it does have 3 Gb Ethernet ports and 2 Gb Aux Ethernet ports
apparently it also has a voice processing module if I ever wanted to do something with phones >_>

but yeah, it's really just a toy I can't really do much with until I get a rack-mount switch...

I'm building a far better router though with much more expandability I should be able to host software servers on
all I need is a Ryzen for it, with some RAM
An0n3m0us wrote:
Sun Feb 28, 2021 11:46
A user notified me about the 5.4.0 release, otherwise I would probably not have noticed it for a few more days xD
you should follow the matrix chat, as I actually heard it there a day before your release ;D

User avatar
Tcll
Member
Posts: 87
Joined: Thu Jul 25, 2019 21:43
GitHub: Tcll
IRC: Tcll Tcll5850 DarkPikachu
In-game: Tcll
Location: The Gates of Darkness.

Re: [Linux] Minetest Appimages

by Tcll » Post

An0n3m0us wrote:
Sun Feb 28, 2021 11:56
What's that? I just build them in a Docker environment ;P
I know my method is inefficient, but it works.
whenever I run --appimage-extract, I see a proper squashfs-root/ folder
meaning your docker environment builds them in a squashfs environment

I build them locally with appimagetool, though I'm not sure how to set up a proper squashfs environment...
so I really just pack portable binaries from a local directory...

I don't use 3rd-party services like docker as they tend to be malicious...

An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post

Tcll wrote:
Sun Feb 28, 2021 12:03
you should follow the matrix chat, as I actually heard it there a day before your release ;D
Lol nah; I have enough to distract me throughout the day already :P
Thanks for letting me know about it anyway.
Tcll wrote:
Sun Feb 28, 2021 12:06
whenever I run --appimage-extract, I see a proper squashfs-root/ folder
meaning your docker environment builds them in a squashfs environment

I build them locally with appimagetool, though I'm not sure how to set up a proper squashfs environment...
so I really just pack portable binaries from a local directory...

I don't use 3rd-party services like docker as they tend to be malicious...
Ah, I see. Yeah, I package them with that same method too.
With Docker, I have two Xenial containers (for i386 and x64) which I use to compile Minetest, then I package them on my own system.

User avatar
Tcll
Member
Posts: 87
Joined: Thu Jul 25, 2019 21:43
GitHub: Tcll
IRC: Tcll Tcll5850 DarkPikachu
In-game: Tcll
Location: The Gates of Darkness.

Re: [Linux] Minetest Appimages

by Tcll » Post

lol alright, I understand that ;)
An0n3m0us wrote:
Sun Feb 28, 2021 12:17
Ah, I see. Yeah, I package them with that same method too.
With Docker, I have two Xenial containers (for i386 and x64) which I use to compile Minetest, then I package them on my own system.
oh interesting, how do you build it??
I've actually been trying to package utox in a portable manner, but every time I build, my friends get an error trying to run it (works for me)...
(granted I no longer use utox, or tox in general, since the devs (all clients) want it to die)

btw, side note, I know I say "pack"
but I don't like referring to appimage as a package format as it confuses people when they hear it's executable...
I just like calling it a portable executable

An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post

At the beginning I created two fresh Xenial containers (i386, x86_64) and installed all of the required dependencies for compiling Minetest.
From there I just follow the usual method of compiling Minetest using cmake and make, then package it into an AppImage.

When I first started with the AppImages, I used fresh instances of a distro I want to test it on (say, Fedora 33) by downloading the Live ISO and running it using QEMU (VMWare would work too).

So in your case for uTox, I suggest you try testing it on a fresh installation of a Linux distro (Ubuntu is a good one to start with).
That way you will be able to determine all of the libraries that the application depends on.
( I personally prefer qTox :P It already has AppImages too)

User avatar
Tcll
Member
Posts: 87
Joined: Thu Jul 25, 2019 21:43
GitHub: Tcll
IRC: Tcll Tcll5850 DarkPikachu
In-game: Tcll
Location: The Gates of Darkness.

Re: [Linux] Minetest Appimages

by Tcll » Post

ah, so minetest is already portable when you build it
that doesn't really help me with utox unfortunately =3=
thanks anyways

yeah utox depends on a few system-specific libraries which I can't simply pack and expect to work on other systems
that's why my friends couldn't run my appimage...

I like utox better because the qtox devs don't care as much for security
I'm not sure if they've even fixed disabling UDP, but it was possible for malicious individuals to obtain someone's IP through it (unlike utox)
but utox comes with it's own issues, such as 1-sided calling I've had to constantly kill my client to fix...

but anyways, I was just wanting to know so I could potentially build a proper appimage ;)
though tbh I can already do that for my software even without a squashfs environment, since python34 (Anaconda 2.3.0) runs on just about everything aside from 32bit macs. :P
I'll unfortunately need to build my own interpreters for any higher version of python once I have a decent C/++ IDE...
... anyways, thanks again :)

An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post

Tcll wrote:
Sun Feb 28, 2021 14:56
ah, so minetest is already portable when you build it
Well, kinda.
I have a template folder which has the layout of an 'AppImage folder'.
It also contains all of the base libraries, the AppRun script and a few other required things.
After compiling Minetest, I run a Python script to move the new Minetest stuff into a copy of the template folder.
Then I package the AppImage.

User avatar
Tcll
Member
Posts: 87
Joined: Thu Jul 25, 2019 21:43
GitHub: Tcll
IRC: Tcll Tcll5850 DarkPikachu
In-game: Tcll
Location: The Gates of Darkness.

Re: [Linux] Minetest Appimages

by Tcll » Post

An0n3m0us wrote:
Sun Feb 28, 2021 15:03
I have a template folder which has the layout of an 'AppImage folder'.
It also contains all of the base libraries, the AppRun script and a few other required things.
yeah, that's pretty much required for appimagetool to even work :)
An0n3m0us wrote:
Sun Feb 28, 2021 15:03
After compiling Minetest, I run a Python script to move the new Minetest stuff into a copy of the template folder.
Then I package the AppImage.
yeah this is where I get thrown off since you have a proper squashfs environment
I guess I should probably send a PM once I'm ready to actually build my software
should be pretty fun whenever I'm able to build a custom python interpreter :)

An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post


An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post

Updated development AppImages to minetest-5.5.0-bcb6565

Download: https://github.com/An0n3m0us/Minetest-A ... .0-bcb6565

Dropped support for i386 for now, as it required extra work to manage, but it can easily be re-implemented if needed.
Also dropped support for Ubuntu 14.04, but I hardly think anyone will notice :P
The AppImages also now work across Ubuntu 16.04 to 21.10 (latest)
Interestingly enough, according to an article it seems that Chromebooks can run these AppImages too.

User avatar
Hybrid Dog
Member
Posts: 2828
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Linux] Minetest Appimages

by Hybrid Dog » Post

It could be possible to make github automatically clone minetest, build an appimage and upload it to a release every week.
https://docs.github.com/en/actions/lear ... s#schedule

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post

Hybrid Dog wrote:
Wed Oct 20, 2021 18:07
It could be possible to make github automatically clone minetest, build an appimage and upload it to a release every week.
https://docs.github.com/en/actions/lear ... s#schedule
I have considered that, but since Minetest already kinda has it's own automatic AppImage workflow, I don't think there is a need for mine to be as regular. Thanks for the suggestion though. I will consider it if there is a demand for my AppImages to be more frequently updated.
There is the trade-off of mine being less frequent but more compatible (as I test them and modify accordingly each time), whereas the automated Minetest AppImage doesn't work on my system anymore.
Last edited by An0n3m0us on Thu Oct 21, 2021 08:14, edited 1 time in total.

An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post

Hybrid Dog wrote:
Wed Oct 20, 2021 18:07
It could be possible to make github automatically clone minetest, build an appimage and upload it to a release every week.
https://docs.github.com/en/actions/lear ... s#schedule
Speaking of Minetest automated builds; I tested the latest official Minetest AppImage build/pipleline (0d345dc1 as of 2021-10-21) on fresh installations of the latest versions of Fedora, Manjaro (Archlinux), openSUSE, and Ubuntu; they all give errors when running the AppImage, soooo . . .

An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post

Updated development AppImages to minetest-5.5.0-6db9147

Download: https://github.com/An0n3m0us/Minetest-A ... .0-6db9147

This update required compilation on a newer system due to GLIBC_2.27 not being compatible with older releases of Ubuntu, the oldest release of Ubuntu that is now supported is 18.04

Other than that and having to collect all of the libraries again, everything else went fine.

An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post


An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post


An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post

Updated development AppImages to Minetest 5.5.0 and Minetest 5.6.0-a870715

Download Minetest 5.5.0: https://github.com/An0n3m0us/Minetest-A ... /tag/5.5.0
Download Minetest 5.6.0-a870715: https://github.com/An0n3m0us/Minetest-A ... .0-a870715

An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post

Updated development AppImages to Minetest 5.6.0-f2d1295

Download Minetest 5.6.0-f2d1295: https://github.com/An0n3m0us/Minetest-A ... .0-f2d1295

Unknownguy
New member
Posts: 9
Joined: Fri Oct 15, 2021 16:26
IRC: Unknownguy
In-game: Unknownguy

Re: [Linux] Minetest Appimages

by Unknownguy » Post

Can you please do a WINDOWS 10 build.

User avatar
debiankaios
Member
Posts: 910
Joined: Thu Dec 03, 2020 12:48
IRC: debiankaios
In-game: debiankaios Nowe
Location: germany
Contact:

Re: [Linux] Minetest Appimages

by debiankaios » Post

Unknownguy wrote:
Thu Mar 03, 2022 17:13
Can you please do a WINDOWS 10 build.
Look here: viewtopic.php?f=42&t=1523

Klaustrophob
New member
Posts: 7
Joined: Tue Mar 08, 2022 08:58

Re: [Linux] Minetest Appimages

by Klaustrophob » Post

Hi An0n3m0us and others.

Is there a chance to build armhf / arm64 builds of your appimage?
We would love to include and roll out minetest to our RaspberryPis for school-usage in our district.

We tried to compile 5.5 ourselfes but failed hard.

discussion starts here:
https://forums.raspberrypi.com/viewtopic.php?t=331008

So it would be a blast if you could include armhf / arm64 somewhen in your build process for debian (Raspberry PI OS 64 / and Raspberry PI OS legacy).

Thanks a lot for all your effort you put in here. Highly appreciated...

If I could be of any help please feel free to ask...

An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post

Hello Klaustrophob,

You're welcome; I'm glad the AppImages are useful : )
And sure, I'll have a look into that soon.
Last edited by An0n3m0us on Tue Mar 08, 2022 14:05, edited 2 times in total.

An0n3m0us
Member
Posts: 77
Joined: Thu Dec 01, 2016 19:15
GitHub: An0n3m0us

Re: [Linux] Minetest Appimages

by An0n3m0us » Post

@Klaustrophob isn't this the arm64 build you are looking for?
https://github.com/minetest/minetest/releases

Klaustrophob
New member
Posts: 7
Joined: Tue Mar 08, 2022 08:58

Re: [Linux] Minetest Appimages

by Klaustrophob » Post

An0n3m0us wrote:
Tue Mar 08, 2022 13:54
@Klaustrophob isn't this the arm64 build you are looking for?
https://github.com/minetest/minetest/releases
Nope. It´s an apk - it´s an android build ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests