[Freedombox-pkg-team] Bug#847680: plinth: Metapackages for optional plinth modules

James Valleroy jvalleroy at mailbox.org
Sat Dec 10 15:30:22 UTC 2016


Package: plinth
Severity: wishlist
Tags: patch

This is a suggestion to add a number of binary metapackages, one for
each optional plinth module like plinth-mumble, plinth-quassel, etc.

Each module metapackage simply Depends on the required packages for that
module, and in its postinst will run "plinth --setup <modulename>". So
installing plinth-mumble is equivalent to going to the Mumble page in
Plinth, and clicking install. These packages shouldn't need to change
often (only if we decide to add/remove required packages for a module).

Here are some reasons why we might want to do this:
- It provides a more Debian-ish way to setup Plinth modules.
- We could start to define tasks that are groups of these metapackages
that might be used together.
- Possibly, Plinth could use these to install and setup modules. This
could also make the uninstall process easier, just remove the module
package and run "apt autoremove".

I'm attaching 2 patches. The 1st one adds a script to generate the
module packages, it can be run using "./debian/rules
gen-module-packages". The 2nd patch is the result of running this command.

Currently the list of optional modules is manually set in debian/rules.
But we could add a command to plinth to get this list.

--
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-scripts-to-generate-binary-packages-for-each-opt.patch
Type: text/x-patch
Size: 5419 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/freedombox-pkg-team/attachments/20161210/479819e5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Generate-module-packages.patch
Type: text/x-patch
Size: 14980 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/freedombox-pkg-team/attachments/20161210/479819e5/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 866 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/freedombox-pkg-team/attachments/20161210/479819e5/attachment.sig>


More information about the Freedombox-pkg-team mailing list