Hello,

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


Which one should be used? or is there a better way to do it?

Thanks,

Raghu Udiyar