<div dir="ltr">Hi Bastien,<div><br></div><div>I am still interested in pursuing this, and possibly adopting upstream maintenance of the xdg-user-dirs and xdg-user-dirs-gtk modules.</div><div>My branches still apply as they are, as no other changes went in git master in the meantime, and should address your comments.</div><div><br></div><div>Please let me know if there's anything else I can do to move this discussion forward.</div><div><br></div><div>Thanks,</div><div>Cosimo</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 29, 2015 at 4:45 AM, Cosimo Cecchi <span dir="ltr"><<a href="mailto:cosimo.cecchi@gmail.com" target="_blank">cosimo.cecchi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Hey Bastien,</div><div class="gmail_quote"><br></div><div class="gmail_quote">Picking this up again...</div><div class="gmail_quote"><br></div><div class="gmail_quote"><span class="">On Tue, Apr 1, 2014 at 10:42 PM, Bastien Nocera <span dir="ltr"><<a href="mailto:hadess@hadess.net" target="_blank">hadess@hadess.net</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">Hey,<br>
<br>
On Mon, 2014-03-03 at 16:42 -0800, Cosimo Cecchi wrote:<br><br></span><span class="">
This diff to the spec isn't very clear:<br>
<a href="https://github.com/cosimoc/xdg-user-dirs/commit/29c89e42ec784fd00075b44cdfa459de7aecb1a9" target="_blank">https://github.com/cosimoc/xdg-user-dirs/commit/29c89e42ec784fd00075b44cdfa459de7aecb1a9</a><br>
<br>
It's really not very clear that the extension files are in a<br>
sub-directory.<br></span></blockquote><div><br></div><div>That is not the diff to the spec; there is unfortunately no "spec" for this. That commit changes the manpage of the xdg-user-dirs-update command.</div><div>I added a commit to make the subdirectory more explicit.</div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>> Use cases:<br>
> * An application (e.g. a sound recorder) wants to save a file<br>
> in a subdirectory of $XDG_MUSIC_DIR. Another sound recorder<br>
> wants to save files in the same subdirectory, and doesn't want<br>
> to worry about the translations for each language to be in<br>
> sync.<br>
<br>
</span>How can sound recorder #2 rely on #1 being present, and having installed<br>
the directory file with the right name? Should common directories be<br>
shipped in xdg-users-dir?<br></blockquote><div><br></div></span><div>[snip]</div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
We think that, to avoid inter-application dependency, and cluttering<br>
those top-level dirs with more slightly different versions of the same<br>
directory, we should ship the most common directories in xdg-users-dir<br>
directly.<br>
<br>
I hope this is clear enough so we can carry the discussion forward a<br>
little.<br></blockquote><div><br></div></span><div>It is, thanks; I added a predefined directory now for backgrounds. I didn't add other directories yet, but that's easy for people to do once the infrastructure is in place.</div><div>One small complication is whether xdg-user-dirs-update should always create those directories; I believe it shouldn't, and applications will have to ensure those directories exist anyway. I changed the tool not to automatically create those directories that are defined by .desktop files, which I think makes sense.</div><div><br></div><div>Here's updated branches for my work:</div><div><a href="https://github.com/cosimoc/xdg-user-dirs/tree/wip/user-directories" target="_blank">https://github.com/cosimoc/xdg-user-dirs/tree/wip/user-directories</a><br></div><div><a href="https://github.com/cosimoc/xdg-user-dirs-gtk/tree/wip/user-directories" target="_blank">https://github.com/cosimoc/xdg-user-dirs-gtk/tree/wip/user-directories</a><br></div><div><a href="https://github.com/cosimoc/glib/tree/wip/user-directories" target="_blank">https://github.com/cosimoc/glib/tree/wip/user-directories</a><br></div><div><br></div><div>Thanks,</div><div>Cosimo</div></div></div></div>
</blockquote></div><br></div>