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 546010 - gstpreset does not respect $HOME
gstpreset does not respect $HOME
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 518597
Blocks:
 
 
Reported: 2008-08-02 18:04 UTC by Saleem Abdulrasool
Modified: 2009-05-07 13:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
gstreamer-0.10.20-gst-gstpreset-respect-env.patch (2.17 KB, patch)
2008-08-02 18:27 UTC, Saleem Abdulrasool
rejected Details | Review

Description Saleem Abdulrasool 2008-08-02 18:04:33 UTC
gstpreset does not respect $HOME on non-windows machines.  This makes running the gstpreset tests harder as it requires you to allow the tests to write configuration data to a user's home directory.  It would be nice to respect the $HOME environment variable so that tests can be run with HOME set to a temporary location (HOME=/tmp/gstreamer-test-home make check).
Comment 1 Saleem Abdulrasool 2008-08-02 18:27:06 UTC
Created attachment 115740 [details] [review]
gstreamer-0.10.20-gst-gstpreset-respect-env.patch

Attached patch allows gstpreset to respect $HOME and $GST_DATADIR as the comments state.  It may be a bit overzealous with respecting the environment ($GST_DATADIR).
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2008-08-02 18:33:45 UTC
Bug #518597 will fix the issue.
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2008-08-02 18:37:46 UTC
Please don't get me wrong. I don't want special case work-around here. I'll dig out the code that skips the test and it fixes running the tests. Next we should discuss how to progress with #518597.
Comment 4 Stefan Sauer (gstreamer, gtkdoc dev) 2008-08-05 05:45:08 UTC
I committed that missing change that skips three of 5 tests if HOME is not writeable. I will wait for consensus of the project regarding proper fixing.
Comment 5 Sebastian Dröge (slomo) 2009-05-07 13:38:15 UTC
Ok, let's close this bug as WONTFIX then...