-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for RPM package #7
Comments
+1, but keep in mind 0.9.x isn't very prevalent on rpm based machines. This would be nice, but should probably be a lower priority. Unless of course one would be willing to make an SRPM (for greater compatibility) that includes love and the game itself, but it would probably less along the *nix philosophy of each package has it's own purpose. I base my lower priorities on the fact of the available versions in famous RPM based distros:
While Mageia is great to keep up to date, and also very high on distrowatch (number 4 atm), the RHEL and RepoForge mostly indicates that many folks have to compile love from source. I know that @bartbes maintains the _.debs (debian) and the PPA (_buntu) for love, so it's very easy to get the latest version for debian based systems. Unless we get a maintainer for SPRM's (which would make generating RPM's per OS easy), I would highly suggest making this a lower priority. |
@josefnpat Thank you for your anwser. But I found it's very sad to not be able to build self contained game with love2d binary. |
That's a good point, and honestly an issue across all linux distros. All the binaries by default on debian systems share the binary name |
I do some tests about I just package a little game I do for You can review If some folks use Fedora or something other than Ubuntu 14.04 64 bit, can you give me some feedback about the game I package just above (here)? |
may I ask how you went about packaging the binary? Usually when you build love (esp when you aren't using an older version) there are a ton of static binary issues. |
Python script is easy but I can explain it quickly too. Requirements How it work Idea |
So long as you are only distributing to ubuntu 14.04, (and perhaps a few releases behind) this should work fine. Other OS's (esp the fedora strain) will give you tons of segfaults. Do not depend on it as a "catch all" for linux deployment. |
Okay thank your for your advice @josefnpat . Is it something you already experiment ? Distribution packaging like |
Yeah, I've been trying for a long time to create a "catch all" for linux binary distribution. It's really ... annoying. As for installing multiple versions of love, I follow the building instructions for love, and build each require version, then softlink the binary to |
I just give a try to my work just above and it's run on Fedora 👍 Edit: I can't surrender easily! I'll try it tomorrow on Archlinux, Mageia, Debian and Linux Mint. |
👍 worked for me on arch, but still an exception 😄 |
I just test on, Mageia, Debian and Linux Mint. Linux 64bit build on Ubuntu 14.04.1 LTS:
Sorry for testing while you say to me to stop 😭 |
Soo... RPM or not RPM ? That is the question. At least a PKGBUILD ? |
+1 for the PKGBUILD. RPM is not a priority but would be nice too |
I found FPM today... It seems like a good way to make RPMs althought I dont know how it does it, it may be possible |
I can give you a sample PKGBUILD for arch! One second! |
PKGBUILD
slg09x.sh
slg09x.desktop
|
Here's two more examples: https://www.archlinux.org/packages/community/any/mari0/ |
Question: Is Arch needed to make a PKGBUILD? Can I do this in, say, Debian? |
It's just a simple text file. Then makepkg reads it and compiles/downloads the package. I hope you can write a text file with Debian. FPM seems 🆒 ! Could be a solution to a lot of problems. If I was to use it in love-release, I would probably drop the Debian script. Also love-release just gives you a .app for OS X, and FPM gives an installer. I could take advantage of both, like with Windows. I will probably rename love-release's options to match FPM options, too. |
And then you distribute that file? That is easy! So where does this script look for the Glad you liked FPM! |
Normally, it downloads it. |
What I meant is: |
Hi there,
It could be nice to support
rpm
packaging likedeb
!Thank you.
The text was updated successfully, but these errors were encountered: