summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-November/020399.html
blob: 0bb589d8736ae665eb999bddd93b13cb517e8ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] cauldron state, and dependencies handling
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20cauldron%20state%2C%20and%20dependencies%20handling&In-Reply-To=%3C50B68E7E.4050207%40rhul.ac.uk%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="020396.html">
   <LINK REL="Next"  HREF="020408.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] cauldron state, and dependencies handling</H1>
    <B>Pierre-Malo Deni&#233;lou</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20cauldron%20state%2C%20and%20dependencies%20handling&In-Reply-To=%3C50B68E7E.4050207%40rhul.ac.uk%3E"
       TITLE="[Mageia-dev] cauldron state, and dependencies handling">pierre-malo.denielou at rhul.ac.uk
       </A><BR>
    <I>Wed Nov 28 23:21:50 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="020396.html">[Mageia-dev] cauldron state, and dependencies handling
</A></li>
        <LI>Next message: <A HREF="020408.html">[Mageia-dev] Regression in menus
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#20399">[ date ]</a>
              <a href="thread.html#20399">[ thread ]</a>
              <a href="subject.html#20399">[ subject ]</a>
              <a href="author.html#20399">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le 28/11/12 21:17,Florent Monnier nous adresse ces quelques mots :
&gt;<i> 2012/11/28, Thierry Vignaud &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">thierry.vignaud at gmail.com</A>&gt;:
</I>&gt;&gt;<i> On 28 November 2012 21:35, Florent Monnier &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">monnier.florent at gmail.com</A>&gt;
</I>&gt;&gt;<i> wrote:
</I>&gt;&gt;&gt;<i> but maybe rpm is my friend and I'm just not aware of it.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Is there an rpm command line option to get the list of the dependents
</I>&gt;&gt;&gt;<i> of a given lib?
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> eg for glibc-devel:
</I>&gt;&gt;<i> urpmf --requires glibc-devel
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Now you may have to look for 'pkgconfig(foobar)' too. eg:
</I>&gt;&gt;<i> urpmf --requires --literal 'pkgconfig(glibc)'
</I>&gt;<i> 
</I>&gt;<i> 
</I>&gt;<i> It seems it don't work for ocaml libs,
</I>&gt;<i> there's not xtmpl in the results:
</I>&gt;<i> 
</I>&gt;<i> $ urpmf --requires ocaml-xmlm
</I>&gt;<i> ocaml-xmlm-devel:ocaml-xmlm[== 1.0.2-1.mga2]
</I>&gt;<i> ocaml-xmlm:ocaml
</I>&gt;<i> 
</I>&gt;<i> $ urpmf --requires --literal 'pkgconfig(ocaml-xmlm)'
</I>&gt;<i> 
</I>&gt;<i> 
</I>&gt;&gt;&gt;<i> (Those in BuildRequire, not only Require)
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> just add and enable source media prior to running above commands.
</I>&gt;<i> 
</I>&gt;<i> could you give a wiki link that explains how to do this?
</I>&gt;<i> 
</I>&gt;<i> with a search I found:
</I>&gt;<i> urpmi.update --no-ignore &quot;Core Updates Testing&quot;
</I>&gt;<i> but nothing with the name &quot;Sources&quot; in it.
</I>&gt;<i> 
</I>&gt;&gt;<i> But I think it's just better to look at what actually use those libs
</I>&gt;&gt;<i> (if not statically linked), aka for LLVM:
</I>&gt;&gt;<i> urpmf --requires libLLVM-3.1.so
</I>&gt;<i> 
</I>&gt;<i> urpmf --requires /usr/lib/ocaml/xmlm/*
</I>&gt;<i> 
</I>&gt;<i> no &quot;xtmpl&quot; in the answer too
</I>
You need to define a Source media for the SRPMS, then
urpmf --requires ocaml --media Source

would give you all packages with ocaml as BuildRequires

-- 
Malo

</PRE>
























<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="020396.html">[Mageia-dev] cauldron state, and dependencies handling
</A></li>
	<LI>Next message: <A HREF="020408.html">[Mageia-dev] Regression in menus
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#20399">[ date ]</a>
              <a href="thread.html#20399">[ thread ]</a>
              <a href="subject.html#20399">[ subject ]</a>
              <a href="author.html#20399">[ 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>