Path to Official Debian Package

Started by Nate-Devv, September 15, 2016, 07:38:24 AM

Previous topic - Next topic
Considering that Solarus itself has recently become super user friendly and stable recently, I'm going to attempt to get solarus and solarus-quest-editor as packages in the official Debian repos for the 1.6.0 / 1.5.1 release (Games will stay in PPA because of Nintendo assets).  Currently the one thing I am working on at the moment to get closer to this goal is the menu entries.  I have the launcher one written out, and converted the 16x16 and 32x32 icon images to .xpm (required for Debian menu files).  I'm trying to figure out how to get them installed on the system on package install, but I haven't been able to yet.

In addition, before I file an action to get it into Debian, I need to work on the following lintian errors:

E: solarus changes: bad-distribution-in-changes-file xenial (this is only because I've been packaging for Ubuntu)
W: libsolarus: package-name-doesnt-match-sonames libsolarus-gui libsolarus1
W: libsolarus: missing-depends-line
W: libsolarus: copyright-has-url-from-dh_make-boilerplate
E: libsolarus: copyright-contains-dh_make-todo-boilerplate
W: libsolarus: description-synopsis-starts-with-article
W: libsolarus: non-dev-pkg-with-shlib-symlink usr/lib/x86_64-linux-gnu/libsolarus.so.1.5.0 usr/lib/x86_64-linux-gnu/libsolarus.so
W: libsolarus: shlib-without-versioned-soname usr/lib/x86_64-linux-gnu/libsolarus-gui.so libsolarus-gui.so
W: libsolarus: unused-shlib-entry-in-control-file libsolarus gui
W: solarus: copyright-has-url-from-dh_make-boilerplate
E: solarus: copyright-contains-dh_make-todo-boilerplate
W: solarus: readme-debian-contains-debmake-template
W: solarus: description-synopsis-starts-with-article
W: solarus: extra-license-file usr/share/doc/solarus/license.txt
W: solarus: manpage-has-useless-whatis-entry usr/share/man/man6/solarus-run.6.gz
W: solarus: manpage-has-useless-whatis-entry usr/share/man/man6/solarus.6.gz

Most of these should be easy fixes, and I'll cross them out when I fix them.
After I do solarus, I'll do solarus-quest-editor, and then work on getting a Debian sponsor.

Ok, got the menu issue sorted out, just wasn't appearing in Gnome because there was no .desktop file.

So, in addition to fixing lintian errors, I am going to add desktop and debian menu files to each package. If it is desirable to put the fished files in the git repos, I can do that as well.

Nice!
No problem to get them into Debian then, I have friends in the team :)

Quote from: Nate-Devv on September 15, 2016, 07:43:54 AM
because there was no .desktop file.

There are already a .desktop file in the solarus-quest-editor repo. ;)

I use it for the ArchLinux package in PKGBUILD.
SQE developer

We should make one for the Solarus launcher too.

Quote from: Christopho on September 15, 2016, 06:29:38 PM
We should make one for the Solarus launcher too.

I wasn't working on the Editor, so I was only talking about the launcher. I'm happy to know that there is one for the editor.

Quote from: Maxs on September 15, 2016, 06:27:55 PM
Quote from: Nate-Devv on September 15, 2016, 07:43:54 AM
because there was no .desktop file.

There are already a .desktop file in the solarus-quest-editor repo. ;)

I use it for the ArchLinux package in PKGBUILD.

Thanks, that will be very useful!

Quote from: Christopho on September 15, 2016, 08:59:18 AM
Nice!
No problem to get them into Debian then, I have friends in the team :)
That's great! Got rid of all the lintian errors on the editor, ironing out a few left in the engine. Going to use a fresh debian changelog for official debian package. Who should I get in touch with to get a package sponsor?

You can talk to emptty and to me on irc: #solarus on freenode .
Where can we find your package files?

Quote from: Christopho on September 18, 2016, 04:19:58 PM
You can talk to emptty and to me on irc: #solarus on freenode .
Where can we find your package files?

I have a github repo I just created with the Debian directories for solarus and solarus-quest-editor.  You could also find the source package on the PPA, but the changelog is messy with Ubuntu entries.

Ok, filed WNPP ITP bugs and uploading the source packages to mentors.debian.net.