After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 544053 - supporting the XDG Base Directory Specification
supporting the XDG Base Directory Specification
Status: RESOLVED DUPLICATE of bug 518597
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 523057
 
 
Reported: 2008-07-21 20:17 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2009-10-13 17:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Sauer (gstreamer, gtkdoc dev) 2008-07-21 20:17:34 UTC
What about suuporting the XDG Base Directory Specification
http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html

Right now
1) the registry is read/written under
g_build_filename (g_get_home_dir (),
        ".gstreamer-" GST_MAJORMINOR, "registry." HOST_CPU ".bin", NULL);

2) extra plugins come from
g_build_filename (g_get_home_dir (),
        ".gstreamer-" GST_MAJORMINOR, "plugins", NULL);

3) presets are keept under
g_build_filename (g_get_home_dir (),
        ".gstreamer-" GST_MAJORMINOR, "presets", NULL);

What about trying these first and have the older ones as a fallback (and fixme-0.11)
1)
g_build_filename (g_get_user_cache_dir (),
        "gstreamer-" GST_MAJORMINOR, "registry." HOST_CPU ".bin", NULL);

2)
g_build_filename (g_get_user_data_dir (),
        "gstreamer-" GST_MAJORMINOR, "plugins", NULL);

3)
g_build_filename (g_get_user_config_dir (),
        "gstreamer-" GST_MAJORMINOR, "presets", NULL);
Comment 1 Sebastian Dröge (slomo) 2008-07-31 14:19:58 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 518597 ***