Recent

Author Topic: Ubuntu PPA for LazPaint  (Read 4689 times)

Chronos

  • Sr. Member
  • ****
  • Posts: 253
    • PascalClassLibrary
Ubuntu PPA for LazPaint
« on: December 11, 2016, 02:27:04 pm »
I registered a new project for LazPaint in Launchpad https://launchpad.net/lazpaint and configured daily build https://code.launchpad.net/~lazpaint-team/+recipe/lazpaint-daily

This is attempt to move closer to make LazPaint as official Ubuntu package sometime in the future. So then installation would be as simple as "apt install lazpaint" or click to Install button in Ubuntu Software application. Also upgrades would be automatic.

PPA can be installed according instructions here: https://code.launchpad.net/~lazpaint-team/+archive/ubuntu/ppa

To achieve deb package build on launchpad it was necessary to create needed additional packaging files. They are for now imported from http://svn.zdechov.net/lazpaint/install/deb/debian/ but should be rather placed to official git repo for better maintainability. But I don't have access to git repo so create new repo was logic solution.
Build can be also executed locally using script in http://svn.zdechov.net/lazpaint/install/deb/ if dependencies are placed in appropriate relative location.

Additional comments:
  • Generic info about packaging project on Launchpad can be found here: http://wiki.freepascal.org/Publish_project_on_Launchpad
  • I don't have experience with creating official debian/ubuntu packages yet. But such packages  need to fulfill their strict packaging policy.
  • The application should be able to lookup language and models files in /usr/share/lazpaint even if it is executed from /usr/bin/lazpaint location. Solution with intermediate script and binary file placed in /usr/share is not good.
  • Currently build is set only for git master version. Another recipe and branch imports would be necessary for stable or tagged version. I need to find out hot to manage this in simple way.
  • Launchpad also allows to create milestones, releases and attach files for download to them. But this feature would need additional work to keep them in sync so github releases will be just fine.
  • What is official homepage of the project? Sourceforge points to facebook which looks more like blog and bothers with registration. Sourceforge files section is now replaced by Github which is mainly for code management. And there is also http://wiki.freepascal.org/LazPaint which have additional information related to the application and links to other tutorials and useful pages.
    It would be good to have one homepage where all information would be presented and it shouldn't be evil facebook.
« Last Edit: December 21, 2018, 09:22:40 pm by Chronos »

lainz

  • Hero Member
  • *****
  • Posts: 4740
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Ubuntu PPA for LazPaint
« Reply #1 on: December 11, 2016, 06:27:16 pm »
Well done. I think you need to talk with circular about this, I've made some deb for LazPaint but also I'm not familiar with the making of official deb packages, and I think circular doesn't know too.

 

TinyPortal © 2005-2018