diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-July/006602.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-July/006602.html | 137 |
1 files changed, 137 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-July/006602.html b/zarb-ml/mageia-dev/2011-July/006602.html new file mode 100644 index 000000000..4ef553e67 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-July/006602.html @@ -0,0 +1,137 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Standardising the virtual Provides in -devel packages + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Standardising%20the%20virtual%20Provides%20in%0A%09-devel%09packages&In-Reply-To=%3C20110713103418.GK21938%40mars-attacks.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="006601.html"> + <LINK REL="Next" HREF="006603.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Standardising the virtual Provides in -devel packages</H1> + <B>nicolas vigier</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Standardising%20the%20virtual%20Provides%20in%0A%09-devel%09packages&In-Reply-To=%3C20110713103418.GK21938%40mars-attacks.org%3E" + TITLE="[Mageia-dev] Standardising the virtual Provides in -devel packages">boklm at mars-attacks.org + </A><BR> + <I>Wed Jul 13 12:34:18 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="006601.html">[Mageia-dev] Standardising the virtual Provides in -devel packages +</A></li> + <LI>Next message: <A HREF="006603.html">[Mageia-dev] Standardising the virtual Provides in -devel packages +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6602">[ date ]</a> + <a href="thread.html#6602">[ thread ]</a> + <a href="subject.html#6602">[ subject ]</a> + <a href="author.html#6602">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Wed, 13 Jul 2011, Ahmad Samir wrote: + +><i> On 10 July 2011 10:03, Ahmad Samir <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">ahmadsamir3891 at gmail.com</A>> wrote: +</I>><i> > On 8 July 2011 06:37, Ahmad Samir <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">ahmadsamir3891 at gmail.com</A>> wrote: +</I>><i> >> Hello. +</I>><i> >> +</I>><i> >> I've had a rather vague idea about standardising the virtual provides +</I>><i> >> in the distro, there should be: +</I>><i> >> Provides: %{name}-devel +</I>><i> >> Provides: lib%{name}-devel +</I>><i> >> +</I>><i> >> either both of them in _all_ packages, or one of them in _all_ +</I>><i> >> packages, so that we don't have to check urpmq --provides all the +</I>><i> >> time. Personally, I am more inclined on having them both, so as not to +</I>><i> >> break already working specs. +</I>><i> >> +</I>><i> >> For example: +</I>><i> >> $ urpmq --provides lib64gudev1.0-devel-166-5.mga1.x86_64 +</I>><i> >> libgudev-devel[== 166-5.mga1] +</I>><i> >> pkgconfig(gudev-1.0)[== 166] +</I>><i> >> devel(libgudev-1.0(64bit)) +</I>><i> >> lib64gudev1.0-devel[== 166-5.mga1] +</I>><i> >> lib64gudev1.0-devel(x86-64)[== 166-5.mga1] +</I>><i> >> +</I>><i> >> only libgudev-devel, so if I put BR gudev-devel in a spec it won't +</I>><i> >> work, whereas I'd expect it to work since some other packages have +</I>><i> >> such similar provides: +</I>><i> >> $ urpmq --provides lib64dbus-1-devel +</I>><i> >> libdbus-1-devel[== 1.4.1-3.mga1] +</I>><i> >> libdbus-devel[== 1.4.1-3.mga1] +</I>><i> >> dbus-devel[== 1.4.1-3.mga1] +</I>><i> >> [...] +</I>><i> >> +</I>><i> >> +</I>><i> >> WDYT? +</I>><i> >> +</I>><i> >> (If we agree to go one way or the other, will just fix them gradually +</I>><i> >> over time). +</I>><i> >> +</I>><i> >> -- +</I>><i> >> Ahmad Samir +</I>><i> >> +</I>><i> > +</I>><i> > Adding to the above, spturtle has suggested using pkgconfig() +</I>><i> > provides: <A HREF="https://bugs.mageia.org/show_bug.cgi?id=2065">https://bugs.mageia.org/show_bug.cgi?id=2065</A> +</I>><i> > +</I>><i> > -- +</I>><i> > Ahmad Samir +</I>><i> > +</I>><i> +</I>><i> Using pkgconfig provides looks like an optimal option, we could start +</I>><i> now, whenever we touch a spec we change to the pkgconfig provides, and +</I>><i> gradually all the specs will be adapted. +</I>><i> +</I>><i> And for the packages that don't have .pc files we add: +</I>><i> Provides: %{name}-devel = %{version}-release +</I>><i> Provides: lib%{name}-devel = %{version}-release +</I>><i> +</I>><i> or we could add them to all packages whether they have .pc files or +</I>><i> not, but still always use pkgconfig() provides as BR in our specs. +</I> +I think it's better to use %{name}-devel for packages which don't have +pkgconfig files. And keep pkgconfig() provides for packages with .pc +files. + +</PRE> + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="006601.html">[Mageia-dev] Standardising the virtual Provides in -devel packages +</A></li> + <LI>Next message: <A HREF="006603.html">[Mageia-dev] Standardising the virtual Provides in -devel packages +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6602">[ date ]</a> + <a href="thread.html#6602">[ thread ]</a> + <a href="subject.html#6602">[ subject ]</a> + <a href="author.html#6602">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |