Re: mc alternative: Double Commander

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 09/23/2013 11:44 AM, Christopher Meng wrote:
Side note:

I've also sent review request to the BZ.

If someone can give me a better solution of gtk/qt widgetset, which
means keeping these 2 in 1 package, welcome.

Yes, do the build twice, including running %configure twice
with a make distclean in between.

IE something like

%configure --with-qt4
make
mv doublecmd doublecmd-qt4
make distclean
%configure --with-gtk2
make

And then in %install manually install the binary you saved from
getting nuked by make distclean by moving it out of the way.

This way you can have one srpm, named simply doublecmd, with
-qt4 and -gtk2 sub-packages. You can then use the main
package to store common files and make both require it,
or simple don't have a "%files" only a "%files qt4" and
"%files gtk2" and then rpmbuild won't create a main
binary package, only the 2 subpackages (while still
creating a single src rpm named after the main package).

This seems like the best way to deal with this to me (and is
how things like this are done in numerous other packages).

Please try this, if you get stuck, send me a link to
an srpm with your attempts and I'll try to fix it, I might
even review this :)

Regards,

Hans
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux