<div dir="ltr"><div class="gmail_extra">Hello,</div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-27 21:32 GMT+02:00 Felipe Sateler <span dir="ltr"><<a href="mailto:fsateler@debian.org" target="_blank">fsateler@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 26 September 2016 at 06:27, Tanu Kaskinen <<a href="mailto:tanuk@iki.fi">tanuk@iki.fi</a>> wrote:<br>
> On Wed, 2016-09-21 at 13:04 +0200, Sylvain Baubeau wrote:<br>
>> Hello,<br>
>><br>
>> First of all, I do not work for Fedora. I happen to use it, that's about<br>
>> it. Please don't blame Fedora for my less-than-perfect patch.<br>
><br>
> Ok, thanks for the clarification.<br>
><br>
>> I did the paprefs patch to make the upgrade process easier but it seems it<br>
>> makes it harder so I suggest we forget about the paprefs migration to<br>
>> gsettings and stick to gconf.<br>
>><br>
>> In this case, I don't really see a problem with the upgrade :<br>
>> By default, module-gsettings is disabled and module-gconf stays enabled and<br>
>> nothing will change if the distribution maintainer does nothing.<br>
>><br>
>> If a distribution wants to move to gsettings, it could do so during a major<br>
>> upgrade of the distro (that would probably update Gnome, the kernel and<br>
>> would require a session restart). They could decide to enable both modules<br>
>> - so that old programs keep working and new ones could use the new module -<br>
>> or switch completely to gsettings, after they make sure all programs<br>
>> packaged by the distribution have a migration script.<br>
><br>
> (A sidenote: paprefs is (at least I hope so) the only application that<br>
> uses this stuff, so we don't need to worry about others.)<br>
><br>
> It would be nice to have thoughts from actual package maintaners about<br>
> this.<br>
<br>
</span>I have to say I'm not sure how an upgrade scenario would play out. My<br>
understanding currently is as follows:<br>
<br>
1. paprefs can ship a file for gsettings-data-convert, which migrates<br>
the settings. </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2. However that tool is only run at login.<br>
3. As a consequence, the paprefs tool can be in an inconsistent state<br>
after an upgrade and before the next login.<br>
<br>
It seems that the problem is resolved by papfrefs triggering the tool<br>
on startup as suggested by the gnome documentation[1].<br></blockquote><div><br></div><div>Thanks for pointing this out. I updated my paprefs patch to apply paprefs.convert at startup.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
However that leaves us with another problem, as the pulseaudio daemon<br>
is not restarted automatically after an upgrade, and thus gsettings<br>
module might not be loaded. But, I hope paprefs can already deal with<br>
such a scenario and prompt the user accordingly.<br></blockquote><div><br></div><div>Unfortunately, paprefs does not deal with such a scenario. It will therefore be able to modify the configuration but this configuration will only take effect when pulseaudio is restarted. What do you suggest prompting the user with ?</div><div><br></div><div>Thanks,</div><div>Sylvain</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
In debian there is only paprefs depending on module-gconf. I don't<br>
think we'll keep module-gconf after paprefs has migrated.<br>
<br>
[1] <a href="https://www.freedesktop.org/software/gstreamer-sdk/data/docs/latest/gio/ch29s07.html" rel="noreferrer" target="_blank">https://www.freedesktop.org/<wbr>software/gstreamer-sdk/data/<wbr>docs/latest/gio/ch29s07.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<br>
Saludos,<br>
Felipe Sateler<br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org">pulseaudio-discuss@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/pulseaudio-<wbr>discuss</a><br>
</div></div></blockquote></div><br></div></div>