termux/game-packages

games/dMagnetic

dettus opened this issue · 7 comments

Hello. I have this small project dMagnetic. It allows users to play classic Text Adventures like "The Pawn", "The Guild of Thieves", "Jinxter", "Myth", "Fish!", "Corruption" and "Wonderland" on modern devices. I loved those games when I was a child.
Since it is a Terminal application, it would fit perfectly into your repository.

I would be honoured if you could drop me a line and tell me what your thoughts are.

Package description
Describe what this package do and why it should be available.
It is an interpreter, the re implementation of the original virtual machine. It is not a game in itself. People would still need the original binaries.

Link to home page and sources

  1. Home page: https://www.dettus.net/dMagnetic
  2. Source code: https://www.dettus.net/dMagnetic/dMagnetic_0.29.tar.bz2

Additional information
Have you compiled or tried to compile the package on device?
No. I am sorry. But it should not be a problem.

  • If it didn't work then please provide the error you ran into
  • If it did work then please share any patches that you had to apply

Hey, cool, thanks for the tip. I'll have a look at packaging it!

Wonderful!
You can easily check the viabilty with
'make SHA256_CMD=sha256sum check'

Added in 04d5ae3!

Apart from the standard PREFIX patches I also modified Makefile to respect the DESTDIR variable. DESTDIR allows distro maintainers to configure and make projects for some prefix (/usr/) and then install to another prefix (something like /path/to/build/dir/usr/) for easy packaging into a deb/tar/rpm/similar. You might want to consider adding that patch or something similar to your code.

Do you have a git (or other vcs) publicly available somewhere?

Hello.

WONDERFUL! THANK YOU SO SO VERY VERY MUCH!!! :D
Yes, I am hosting my project on Github, albeit not as a public repository. My apologies. I like it that way, since it gives me the freedom to do some experiments without having to worry about my appearance. :)

As for the INSTALLDIR patch: DESTDIR is actually the BSD-style! My main development environment is OpenBSD, so I am following their rules. (I am applying the same patch to the Debian package as well. )

Hopefully it still meets your standards?

One more question: What is your procedure regarding updates?

Yes, I am hosting my project on Github, albeit not as a public repository. My apologies. I like it that way, since it gives me the freedom to do some experiments without having to worry about my appearance. :)

Alright, I understand.

Hopefully it still meets your standards?

Yeah, it is fine 👍

What is your procedure regarding updates?

Normally I have a look on https://repology.org/projects/?inrepo=termux&outdated=1 every now and then to see which packages are outdated. Not all packages are listed there though, but dmagnetic is so it would show up in that check.
If you want you can open PRs yourself for updating the package, which just means changing TERMUX_PKG_VERSION and TERMUX_PKG_SHA256 (and in that case you can also set TERMUX_PKG_MAINTAINER to yourself)

If you want you can open PRs yourself for updating the package, which just means changing TERMUX_PKG_VERSION and TERMUX_PKG_SHA256 (and in that case you can also set TERMUX_PKG_MAINTAINER to yourself)

Okay, I'll try it out next time (Already working on release 0.30 ;) ) Regardless if it works or not, I will drop you a line. Once again: Thank you very much for this opportunity!

Screenshot_20201231-083734

IT WORKS! <3