Re: [PATCH] gnu: gstreamer: Add search path specification for 'GST_PLUGIN_SYSTEM_PATH'.

2015-06-25 Thread Ludovic Courtès
宋文武  skribis:

> Ludovic Courtès  writes:
>
>> 宋文武  skribis:
>>
>>> This reverts commit e53fc0c8a, which add it wrongly to gst-plugins-base.
>>>
>>> * gnu/packages/gstreamer.scm (gstreamer)[native-search-paths]: New field.
>>>   (gst-plugins-base)[native-search-paths]: Remove.
>>
>> LGTM!
>>
>> I wonder, why is there the word “SYSTEM” in this variable name?  Does
>> that means there also exists GST_PLUGIN_PATH?
> Yes, you're right.  It has:
>
>   GST_PLUGIN_SYSTEM_PATH, GST_PLUGIN_SYSTEM_PATH_1_0
>   GST_PLUGIN_PATH, GST_PLUGIN_PATH_1_0
>
> I think any one is sufficent.
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gst-running.html

OK, thanks.

Ludo’.



Re: [PATCH] gnu: gstreamer: Add search path specification for 'GST_PLUGIN_SYSTEM_PATH'.

2015-06-24 Thread 宋文武
Ludovic Courtès  writes:

> 宋文武  skribis:
>
>> This reverts commit e53fc0c8a, which add it wrongly to gst-plugins-base.
>>
>> * gnu/packages/gstreamer.scm (gstreamer)[native-search-paths]: New field.
>>   (gst-plugins-base)[native-search-paths]: Remove.
>
> LGTM!
>
> I wonder, why is there the word “SYSTEM” in this variable name?  Does
> that means there also exists GST_PLUGIN_PATH?
Yes, you're right.  It has:

  GST_PLUGIN_SYSTEM_PATH, GST_PLUGIN_SYSTEM_PATH_1_0
  GST_PLUGIN_PATH, GST_PLUGIN_PATH_1_0

I think any one is sufficent.

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gst-running.html



Re: [PATCH] gnu: gstreamer: Add search path specification for 'GST_PLUGIN_SYSTEM_PATH'.

2015-06-24 Thread Ludovic Courtès
宋文武  skribis:

> This reverts commit e53fc0c8a, which add it wrongly to gst-plugins-base.
>
> * gnu/packages/gstreamer.scm (gstreamer)[native-search-paths]: New field.
>   (gst-plugins-base)[native-search-paths]: Remove.

LGTM!

I wonder, why is there the word “SYSTEM” in this variable name?  Does
that means there also exists GST_PLUGIN_PATH?

Thanks,
Ludo’.



[PATCH] gnu: gstreamer: Add search path specification for 'GST_PLUGIN_SYSTEM_PATH'.

2015-06-24 Thread 宋文武
This reverts commit e53fc0c8a, which add it wrongly to gst-plugins-base.

* gnu/packages/gstreamer.scm (gstreamer)[native-search-paths]: New field.
  (gst-plugins-base)[native-search-paths]: Remove.
---
 gnu/packages/gstreamer.scm | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 24dc41b..1832909 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -109,6 +109,10 @@ arrays of data.")
("perl" ,perl)
("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper)))
+(native-search-paths
+ (list (search-path-specification
+(variable "GST_PLUGIN_SYSTEM_PATH")
+(files '("lib/gstreamer-1.0")
 (home-page "http://gstreamer.freedesktop.org/";)
 (synopsis "Multimedia library")
 (description
@@ -171,10 +175,6 @@ This package provides the core library and elements.")
   ;; for g-ir-scanner.
   (setenv "CC" "gcc"))
 %standard-phases)))
-(native-search-paths
- (list (search-path-specification
-(variable "GST_PLUGIN_SYSTEM_PATH")
-(files '("lib/gstreamer-1.0")
 (home-page "http://gstreamer.freedesktop.org/";)
 (synopsis
  "Plugins for the GStreamer multimedia library")
-- 
2.2.1