I am packaging a program that has two front ends, one for Gtk and
other for
Qt.
Is there a standard packaging structure to handle such packages?
I see two methods to do this :
1. Use an empty "meta" package that pulls in a default (gtk) front end. E.g
:
Pname (meta) -> Pname-common -> Pname-gtk
Pname-gtk -> Pname-common and
Pname-qt -> Pname-gtk
Or,
2. Create sub packages for each front end, i.e *-gtk and *-qt, that depend
on a common package. So :
Pname-gtk -> Pname
Pname-qt -> Pname
either is fine. 1 is just a variant of 2 with the addition of the metapackage really,
which I personally consider not necessary, but I also consider it something left to the
discretion of the maintainer in question.
-- rex