dschopf / plasma-applet-qalculate

Qalculate applet for plasma desktop
MIT License
11 stars 5 forks source link

Debian packaging #32

Open RogueScholar opened 4 years ago

RogueScholar commented 4 years ago

First off, let me say I think you make the best Plasma 5 add-on in the KDE Store :1st_place_medal:; I'd be crushed if I ever lost the ability to add it to all of my computers.

This PR was born out of my own need to rebuild the deb file available from your PPA against the most recent libqalculate version which I package myself as an enthusiast of the project (available here if you're curious), as a recent release incremented the soname version from libqalculate20 to libqalculate21. In the process of setting up the rebuild I had occasion to flesh out some of your packaging files and orient them towards a more automated workflow, the results of which seemed only fair to share with you in the event you found them useful for your own packaging efforts.

Some notable changes/additions:

That's all that stands out off the top of my head, but of course I'm happy to elaborate on these or any other questions which might arise. Lastly, I had a mind to create a project and a team on Launchpad such that the codebase could be mirrored there in a Bazaar repository which would lend itself most elegantly to a couple source code recipes that would automate building packages for new releases (both of this project and for future Ubuntu releases). How does that idea strike you? If not poorly then would you prefer to create them yourself or shall I? As a joint effort I'd be happy to help out when needed keeping the packaging up-to-date and looking after the recipes, or if you're amenable to the idea but have no interest in being involved that's fine too.

That pretty much wraps it up for me at this point, I hope this PR finds you well and I look forward to your response in due time.

-Peter

dschopf commented 4 years ago

Hi Peter,

thanks a lot for all the effort you have put into this PR. As you may have noticed this was my first Ubuntu package, so the issues you found do not really surprise me. But since you seem to have quite some experience with this process, I would like to ask you some questions before actually merging all your changes.

Where is the debian/ folder usually stored for other open source software, I have never seen the debian folder or a destinct debian branch in any official repository. Is there then a clone into a bzr repo which adds these folders?

How is this debian folder then versioned for the different releases? Is there a separate branch for each release, like disco, eaon, etc.? I now have local folders in a Ubuntu VM to actually build the packages, but I guess there must be a better way to do this.

The idea of the Launchpad project/team looks very appealing, especially when builds can be automated for new releases. For me it's always kind of tedious to update and build all packages manually for every release. While I would not want to be responsible for it, it would be nice to have access and see what is actually needed for setting this up (in case I have more packages in the future).

I will check you commits and maybe cherry-pick some of them into master if you don't mind.