PDA

View Full Version : Separating GTK and QT frontends


ragss
5th October 2010, 08:10 AM
Hi,

This the first time for me in packaging; I've managed to successfully create the rpm:) But I noticed that the program I'm packaging has two frontends, one for gtk and other for Qt.

What is the standard way to handle such packages? Do I create a separate rpm for QT? Or do I make a sub-package from the same spec file?:confused:

Or should the frontends be separated entirely? like a common package and two packages for front end (I have seen this usually happening for debs)

Thank you for your help.

leigh123linux
5th October 2010, 11:27 AM
You could use transmission as a template.

http://koji.fedoraproject.org/koji/buildinfo?buildID=197861

ragss
23rd July 2011, 03:18 PM

Sorry to post here so late.

I followed the transmission package structure, it uses a empty "meta" package that pulls in a default frontend (gtk).

But it turns out, what transmission does is kind of patch work (the qt front end came much later) and not the "standard" practice. It does have some issues.

So, I ended up creating sub packages for each front end, *-gtk and *-qt, depending on a *-common package.

Hope this proves useful for others.