Disable "XDG standard for the runtime dir" 59/45659/1 submit/tizen/20150810.080551
authorSeungbae Shin <seungbae.shin@samsung.com>
Mon, 10 Aug 2015 08:02:04 +0000 (17:02 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Mon, 10 Aug 2015 08:02:04 +0000 (17:02 +0900)
Change-Id: I0e1174dde0e8a75a611ab0b5ca8de0a708d5f02e

packaging/pulseaudio.spec
src/pulsecore/core-util.c

index aa1be2f..b002950 100644 (file)
@@ -11,7 +11,7 @@
 Name:             pulseaudio
 Summary:          Improved Linux sound server
 Version:          5.0
-Release:          29
+Release:          30
 Group:            Multimedia/Audio
 License:          GPL-2.0+ and LGPL-2.1+
 URL:              http://pulseaudio.org
index dbe9ec1..95dd5f1 100644 (file)
@@ -1861,6 +1861,7 @@ char *pa_get_runtime_dir(void) {
         return pa_xstrdup(d);
     }
 
+#ifndef __TIZEN__
     /* Use the XDG standard for the runtime directory. */
     d = getenv("XDG_RUNTIME_DIR");
     if (d) {
@@ -1873,6 +1874,7 @@ char *pa_get_runtime_dir(void) {
 
         return k;
     }
+#endif
 
     /* XDG_RUNTIME_DIR wasn't set, use the old legacy fallback */
     d = get_pulse_home();