Mailinglist Archive: opensuse-packaging (68 mails)
| < Previous | Next > |
Re: [opensuse-packaging] .la files and dependencies, again
- From: Richard Guenther <rguenther@xxxxxxx>
- Date: Thu, 22 Feb 2007 10:55:28 +0100 (CET)
- Message-id: <Pine.LNX.4.64.0702221054010.18923@xxxxxxxxxxxxxx>
On Thu, 22 Feb 2007, Robert Schiele wrote:
> On Thu, Feb 22, 2007 at 10:08:07AM +0100, Richard Guenther wrote:
> > So, unfortunately a automated tool for reducing BuildRequires is hard
> > because it actually needs to check if building is still possible.
>
> If it was only that it wouldn't be that hard because you could actually test
> in an automated way whether a build succeeds or not. But it is actually
> harder because it would be needed to check whether it builds _and_ and result
> is what you wanted to have. For example a package that can be built with or
> without a specific optional support library with just less functionality
> without this support library would always tend to remove this dependency thus
> losing the (eventually) wanted functionality.
Yes - I did this once semi-manually by ensuring the built packages is
(nearly) bit-for-bit identical to the old one. I hope to get back to it
at the point OBS supports bootstrapping Base:build.
Richard.
--
Richard Guenther <rguenther@xxxxxxx>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
> On Thu, Feb 22, 2007 at 10:08:07AM +0100, Richard Guenther wrote:
> > So, unfortunately a automated tool for reducing BuildRequires is hard
> > because it actually needs to check if building is still possible.
>
> If it was only that it wouldn't be that hard because you could actually test
> in an automated way whether a build succeeds or not. But it is actually
> harder because it would be needed to check whether it builds _and_ and result
> is what you wanted to have. For example a package that can be built with or
> without a specific optional support library with just less functionality
> without this support library would always tend to remove this dependency thus
> losing the (eventually) wanted functionality.
Yes - I did this once semi-manually by ensuring the built packages is
(nearly) bit-for-bit identical to the old one. I hope to get back to it
at the point OBS supports bootstrapping Base:build.
Richard.
--
Richard Guenther <rguenther@xxxxxxx>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |