simias / rustation

Playstation emulator in the Rust programing language
Other
552 stars 21 forks source link

Debian packaging #29

Closed mdeguzis closed 8 years ago

mdeguzis commented 8 years ago

Adds debian packaging, with a workaround if you are using pbuilder. You'll want to change the maintainer of course etc.

Feel free to discard if you don't want distro specific stuff here.

simias commented 8 years ago

Thank you for that, I'm interested but I'm a bit clueless when it comes to building debian packages, how does this work exactly?

When I try to invoke dpkg-buildpackage I get:

dpkg-buildpackage: warning:     debian/changelog(l2): found end of file where expected first heading
dpkg-buildpackage: error: fatal error occurred while parsing debian/changelog

Also I'm surprised that you're packaging rustation and not rustation-libretro, especially since your install script does:

echo "*target/release/*.so usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/libretro"`

If this is supposed to copy the rustation .so core in the libretro directory I don't see how it can work from the rustation repo since it only creates librustation.rlib. The actual core is generated by rustation-libretro by linking against this rlib.

mdeguzis commented 8 years ago

Your libretro readme said to submit items against this repo. I will fix the changelog. Will you accept it there? Sorry for the confusion then.

simias commented 8 years ago

Ah yeah, I meant it mostly for the issues, not PRs. It doesn't make a lot of sense to make PRs against the wrong repo. It's a bit messy though, maybe I could figure out a better system.

But yes, please do it against the -libretro repo, I'm going to close this PR. Sorry for the inconvenience.