Author Topic: Path to Official Debian Package  (Read 11443 times)

0 Members and 1 Guest are viewing this topic.

Nate-Devv

  • Newbie
  • *
  • Posts: 38
    • View Profile
Path to Official Debian Package
« on: September 15, 2016, 07:38:24 AM »
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.

Nate-Devv

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Path to Official Debian Package
« Reply #1 on: September 15, 2016, 07:43:54 AM »
Ok, got the menu issue sorted out, just wasn't appearing in Gnome because there was no .desktop file.

Nate-Devv

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Path to Official Debian Package
« Reply #2 on: September 15, 2016, 08:01:12 AM »
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.

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
Re: Path to Official Debian Package
« Reply #3 on: September 15, 2016, 08:59:18 AM »
Nice!
No problem to get them into Debian then, I have friends in the team :)

Maxs

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Path to Official Debian Package
« Reply #4 on: September 15, 2016, 06:27:55 PM »
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

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
Re: Path to Official Debian Package
« Reply #5 on: September 15, 2016, 06:29:38 PM »
We should make one for the Solarus launcher too.

Nate-Devv

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Path to Official Debian Package
« Reply #6 on: September 16, 2016, 12:31:34 AM »
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.

Nate-Devv

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Path to Official Debian Package
« Reply #7 on: September 16, 2016, 04:53:10 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!

Nate-Devv

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Path to Official Debian Package
« Reply #8 on: September 17, 2016, 04:00:33 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?

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
Re: Path to Official Debian Package
« Reply #9 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?

Nate-Devv

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Path to Official Debian Package
« Reply #10 on: September 18, 2016, 11:01:28 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.

Nate-Devv

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Path to Official Debian Package
« Reply #11 on: September 19, 2016, 05:31:40 AM »
Ok, filed WNPP ITP bugs and uploading the source packages to mentors.debian.net.

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
Re: Path to Official Debian Package
« Reply #12 on: September 19, 2016, 11:43:35 AM »

Nate-Devv

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Path to Official Debian Package
« Reply #13 on: September 19, 2016, 04:11:06 PM »