summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-April/014206.html
blob: dab07fc583df03aae3207af8fe6ba8be5eaeae7f (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Change in libx11 broke xscreensaver
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Change%20in%20libx11%20broke%20xscreensaver&In-Reply-To=%3C1334260873.24890.YahooMailClassic%40web160502.mail.bf1.yahoo.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="014295.html">
   <LINK REL="Next"  HREF="014255.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Change in libx11 broke xscreensaver</H1>
    <B>David Walser</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Change%20in%20libx11%20broke%20xscreensaver&In-Reply-To=%3C1334260873.24890.YahooMailClassic%40web160502.mail.bf1.yahoo.com%3E"
       TITLE="[Mageia-dev] Change in libx11 broke xscreensaver">luigiwalser at yahoo.com
       </A><BR>
    <I>Thu Apr 12 22:01:13 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="014295.html">[Mageia-dev] Freeze push request : telepathy kde
</A></li>
        <LI>Next message: <A HREF="014255.html">[Mageia-dev] Change in libx11 broke xscreensaver
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#14206">[ date ]</a>
              <a href="thread.html#14206">[ thread ]</a>
              <a href="subject.html#14206">[ subject ]</a>
              <a href="author.html#14206">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>This is explained in Bug 4742:
<A HREF="https://bugs.mageia.org/show_bug.cgi?id=4742">https://bugs.mageia.org/show_bug.cgi?id=4742</A>

But to summarize, xscreensaver-demo in Cauldron does not work, it comes up with an empty list of screensavers.  This list comes from reading the &quot;programs&quot; entry of the /etc/X11/app-defaults/XScreenSaver file, which is read using the XrmGetResource API of libX11.

XrmGetResource calls XrmQGetResource (in src/Xrm.c) which starts by doing:
if (db &amp;&amp; db-&gt;linfo.lock &amp;&amp; *names) {

and if that is false, it refuses to even try to read the entry from the app-defaults file.  I ran xscreensaver-demo in gdb, and db-&gt;linfo.lock is 0, so this doesn't work.  In Mageia 1, XrmQGetResource starts with:
if (db &amp;&amp; *names) {

and although db-&gt;linfo.lock is still 0, it doesn't matter and it works.

Can we patch our libx11 to go back to the old way, or is there a better way to fix this?  I don't have a deep understanding of the meaning of this code.  Maybe Thierry or someone else does?
</PRE>







































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="014295.html">[Mageia-dev] Freeze push request : telepathy kde
</A></li>
	<LI>Next message: <A HREF="014255.html">[Mageia-dev] Change in libx11 broke xscreensaver
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#14206">[ date ]</a>
              <a href="thread.html#14206">[ thread ]</a>
              <a href="subject.html#14206">[ subject ]</a>
              <a href="author.html#14206">[ 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>