[opensuse-packaging] buildrequires problem
Hi, sorry for the probably dumb question but I do not get it: I want to build a qt4 package for SuLi10.0 and SuLi10.1 and factory. How do I have to write the buildrequires line that it works for all? The line I have atm is BuildRequires: qt-devel update-desktop-files gcc-c++ xorg-x11-devel but that does not work for all. What about Fedora? Any hints? Do we have documentation about that somewhere? Thanks a lot, Klaas --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging-help@opensuse.org
On Wed, Aug 02, 2006 at 09:42:45AM +0200, Klaas Freitag wrote:
sorry for the probably dumb question but I do not get it: I want to build a qt4 package for SuLi10.0 and SuLi10.1 and factory.
How do I have to write the buildrequires line that it works for all?
The line I have atm is BuildRequires: qt-devel update-desktop-files gcc-c++ xorg-x11-devel but that does not work for all.
I think this is a packaging bug in qt-devel on SL10.1. The package in Factory has some added Requires for the devel package: Requires: pkgconfig freetype2-devel libmng-devel libpng-devel I don't know what's wrong in SL10.0
What about Fedora?
Dunno, just give it a try.
Any hints? Do we have documentation about that somewhere?
I don't know of any documentation about qt4 on different distributions. If everything else fails, you'll have to resort to some %if rpm trickery. Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging-help@opensuse.org
Am Wednesday 02 August 2006 09:42 schrieb Klaas Freitag:
Hi,
sorry for the probably dumb question but I do not get it: I want to build a qt4 package for SuLi10.0 and SuLi10.1 and factory.
How do I have to write the buildrequires line that it works for all?
The line I have atm is BuildRequires: qt-devel update-desktop-files gcc-c++ xorg-x11-devel but that does not work for all.
qt-devel requires gcc-c++ and xorg-x11-devel, so you can remove this. SL 10.0 has no Qt4 IIRC, so you need to compile against the KDE:Qt project.
What about Fedora?
IIRC we do not have a Qt4 for Fedora yet. But feel free to enhance KDE:Qt also for Fedora ;) bye adrian -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging-help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Adrian Schröter wrote: ...
SL 10.0 has no Qt4 IIRC, so you need to compile against the KDE:Qt project.
10.0 ships qt-4.0.1 - -- -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ /\\ <pascal.bleser@skynet.be> <guru@unixtech.be> _\_v The more things change, the more they stay insane. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFE0S/Rr3NMWliFcXcRAuvFAJsHFwCJzLTtw6Ce8cMN/eCuJ25y7wCeKemU 06tvILr5WK3/cKqRZqBeFpE= =cdPK -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging-help@opensuse.org
participants (4)
-
Adrian Schröter
-
Klaas Freitag
-
Michael Schroeder
-
Pascal Bleser