gbdev / rgbds

Rednex Game Boy Development System - An assembly toolchain for the Nintendo Game Boy and Game Boy Color
https://rgbds.gbdev.io
MIT License
1.33k stars 175 forks source link

Provide debian binaries #278

Closed avivace closed 7 months ago

avivace commented 6 years ago

If this is an appreciated contribution, I'd like to work on providing debian binaries for debian-based systems.

As standalone deb files and/or with a repository offering the last version.

AntonioND commented 6 years ago

Sure, go for it. What exactly do you plan to add to the repository, just an extra folder?

avivace commented 6 years ago

I think that a separate repo containing the files for the build would be better, so I won't fill the commit history with tests and debian rules files.

Ideally, I could use a separate branch too.

AntonioND commented 6 years ago

Well, in principle I wouldn't mind having the rules in the master branch. After all, many projects have folders just to build it for different platforms. Of course, if someone else wants to add rules for other distros, that would be fine, too.

BenHetherington commented 6 years ago

Sounds like a nice idea! I personally think that the GitHub releases page is really the place for this, but I wouldn't mind the binaries being in the main repo if that's easier (e.g. to submit pull requests for, or to clone from the command line).

AntonioND commented 6 years ago

I think it's just easier to have the package generation files in the master branch. We could have a dist/debian folder with the needed files, for example. If someone wanted to add scripts for other distros, they could be added to.

Of course, I'm not talking about the final .deb file, just the files needed to generate it.

rtandy commented 5 years ago

Not sure if this is still wanted. I created Debian packaging of rgbds for my own use: https://github.com/rtandy/pkg-rgbds. If there is enough interest, I'd be willing to work on pushing that into Debian itself (and from there into derivatives e.g. Ubuntu).

ISSOtm commented 4 years ago

What's your status on this, @rtandy @avivace?

rtandy commented 4 years ago

Unfortunately I put this in one of my backlogs and then ended up never working on it again. It's still something I'm interested in, but don't treat me as a blocker to anyone else working on it. I would absolutely be willing to review or co-maintain any packaging work aimed at submission to Debian.

ISSOtm commented 3 years ago

Alea jacta est, lol https://mentors.debian.net/package/rgbds/

I also put my attempt on GitHub, fwiw.

rtandy commented 3 years ago

That's great, thank you for working on it! I can't sponsor the upload but I can at least provide a review. I'll try to do that soon.

ISSOtm commented 3 years ago

Thank you very much! If it can help with the sponsoring process, that'd be a good start.

I asked on IRC, and there's essentially no way that it'll make it into bullseye (they should be hitting the hard-freeze today, and are already in the soft-freeze), but it's still worth getting done, imo.

ISSOtm commented 3 years ago

There's been no significant updates from this, but the overall reactions I got from the Debian people I interacted with was "if you're not using Debian, you shouldn't propose a Debian package". So while I'd love to provide better support (and despite setting up a Debian chroot just for this), it seems that furthering this must be done by a regular Debian user.

Hence: if you're a Debian user, and wish for RGBDS to be packaged for your distro, please hmu (either reply to this issue, or use the contact info near the top of the README).

pinobatch commented 3 years ago

My main GB dev PC runs Xubuntu. I used to regularly use Debian stable on a different PC until a couple weeks ago. The Ubuntu docs seem to imply that the easiest way to get a package into Ubuntu is to get it into Debian first. From Ubuntu Packaging Guide > Packaging New Software:

There are a number of paths that a package can take to enter Ubuntu. In most cases, going through Debian first can be the best path. This way ensures that your package will reach the largest number of users as it will be available in not just Debian and Ubuntu but all of their derivatives as well. Here are some useful links for submitting new packages to Debian: [links to Debian Mentors FAQ and WNPP]

What did the people you interacted with think of Ubuntu pushing people their way?

avivace commented 3 years ago

There's been no significant updates from this, but the overall reactions I got from the Debian people I interacted with was "if you're not using Debian, you shouldn't propose a Debian package". So while I'd love to provide better support (and despite setting up a Debian chroot just for this), it seems that furthering this must be done by a regular Debian user.

Hence: if you're a Debian user, and wish for RGBDS to be packaged for your distro, please hmu (either reply to this issue, or use the contact info near the top of the README).

Debian user and I'd love to help with the packaging - but still, I have little time for this. I'll update you when I can make some space in my schedule. In mean time, anyone else checking these two flags are welcome to contact us/ join Discord to coordinate efforts

pinobatch commented 1 year ago

Toward this end, I filed #1160 to allow building a slice of the regression test suite that conforms to the Debian Free Software Guidelines. A user asked in a tongue-in-cheek reply why I was so focused on RGBDS as a means to the end of packaging SameBoy.

Mostly it's that SameBoy and compelling Free games that build-depend on RGBDS might serve to convince sponsors that SM83 support in Binutils isn't quite enough. I've noticed that the Debian project discourages requesting redundant software to perform the same task as an existing package. From "Introduction for maintainers: How will my package get into Debian?":

Debian is a distribution, not a general purpose repository. Many of us do not believe every piece of free software necessarily belongs in Debian. Please do not treat Debian as a platform to advertise your own software, unless there is some real request for it.

ISSOtm commented 1 year ago

I'd argue that RGBDS stands out on its own despite any Binutils SM83 support, for the same reason that nasm/yasm are included despite much more extensive x86 support in Binutils. More arguments in that regard are of course useful, though I'm not sure if being a build-dep of SameBoy would be worth much if Debian doesn't want to distribute SameBoy in the first place.

ISSOtm commented 9 months ago

Update: the current effort is https://mentors.debian.net/package/rgbds/, borne by @Robbi-Blechdose at https://github.com/Robbi-Blechdose/rgbds-deb/tree/debian

avivace commented 7 months ago

Closing this as we moved @Robbi-Blechdose work to https://github.com/gbdev/rgbds-deb