Patchwork [1/1] gst-plugins-good: correctly handle gconf schema

login
register
mail settings
Submitter Joshua Lock
Date Oct. 20, 2011, 6:40 p.m.
Message ID <64effb846c8f9b1e6fe57a7e213d24d046439b99.1319135920.git.josh@linux.intel.com>
Download mbox | patch
Permalink /patch/13627/
State Accepted
Commit 4c5064b3dc22eba610231819347bc029e1cf5af4
Headers show

Comments

Joshua Lock - Oct. 20, 2011, 6:40 p.m.
Add the shipped gconf schema to the gconfelements package and inherit the gconf
class so that schema processing is handled via post* scripts.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 .../gstreamer/gst-plugins-good_0.10.30.bb          |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
Martin Jansa - Oct. 20, 2011, 6:45 p.m.
On Thu, Oct 20, 2011 at 11:40:37AM -0700, Joshua Lock wrote:
> Add the shipped gconf schema to the gconfelements package and inherit the gconf
> class so that schema processing is handled via post* scripts.
> 
> Signed-off-by: Joshua Lock <josh@linux.intel.com>
> ---
>  .../gstreamer/gst-plugins-good_0.10.30.bb          |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.30.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.30.bb
> index 96855aa..728175b 100644
> --- a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.30.bb
> +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.30.bb
> @@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
>  
>  DEPENDS += "gst-plugins-base gconf cairo jpeg libpng gtk+ zlib libid3tag flac \
>  	    speex libsoup-2.4 pulseaudio"
> -PR = "r2"
> +PR = "r3"
>  
> -inherit gettext
> +inherit gettext gconf
>  
>  EXTRA_OECONF += "--disable-aalib --disable-esd --disable-shout2 --disable-libcaca --disable-hal --without-check"
>  
> @@ -20,3 +20,5 @@ do_configure_prepend() {
>  
>  SRC_URI[md5sum] = "62fd7a3ef187c4f99b3d7c352d58dae9"
>  SRC_URI[sha256sum] = "b12cba90b27d8423cd0a808939098d19db3996cfb9bf528507c6321782e095f6"
> +
> +FILES_${PN}-gconfelements += "${sysconfdir}/gconf/schemas/gstreamer-0.10.schemas"

where do we get ${PN}-gconfelements in PACKAGES?

Regards,
Joshua Lock - Oct. 20, 2011, 6:49 p.m.
On 10/20/2011 11:45 AM, Martin Jansa wrote:
> On Thu, Oct 20, 2011 at 11:40:37AM -0700, Joshua Lock wrote:
>> Add the shipped gconf schema to the gconfelements package and inherit the gconf
>> class so that schema processing is handled via post* scripts.
>>
>> Signed-off-by: Joshua Lock <josh@linux.intel.com>
>> ---
>>  .../gstreamer/gst-plugins-good_0.10.30.bb          |    6 ++++--
>>  1 files changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.30.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.30.bb
>> index 96855aa..728175b 100644
>> --- a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.30.bb
>> +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.30.bb
>> @@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
>>  
>>  DEPENDS += "gst-plugins-base gconf cairo jpeg libpng gtk+ zlib libid3tag flac \
>>  	    speex libsoup-2.4 pulseaudio"
>> -PR = "r2"
>> +PR = "r3"
>>  
>> -inherit gettext
>> +inherit gettext gconf
>>  
>>  EXTRA_OECONF += "--disable-aalib --disable-esd --disable-shout2 --disable-libcaca --disable-hal --without-check"
>>  
>> @@ -20,3 +20,5 @@ do_configure_prepend() {
>>  
>>  SRC_URI[md5sum] = "62fd7a3ef187c4f99b3d7c352d58dae9"
>>  SRC_URI[sha256sum] = "b12cba90b27d8423cd0a808939098d19db3996cfb9bf528507c6321782e095f6"
>> +
>> +FILES_${PN}-gconfelements += "${sysconfdir}/gconf/schemas/gstreamer-0.10.schemas"
> 
> where do we get ${PN}-gconfelements in PACKAGES?


The gst-plugins-package.inc modifies PACKAGES based on the built libraries.

Joshua
Richard Purdie - Oct. 24, 2011, 4:18 p.m.
On Thu, 2011-10-20 at 11:40 -0700, Joshua Lock wrote:
> Add the shipped gconf schema to the gconfelements package and inherit the gconf
> class so that schema processing is handled via post* scripts.
> 
> Signed-off-by: Joshua Lock <josh@linux.intel.com>
> ---
>  .../gstreamer/gst-plugins-good_0.10.30.bb          |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.30.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.30.bb
index 96855aa..728175b 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.30.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.30.bb
@@ -7,9 +7,9 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
 
 DEPENDS += "gst-plugins-base gconf cairo jpeg libpng gtk+ zlib libid3tag flac \
 	    speex libsoup-2.4 pulseaudio"
-PR = "r2"
+PR = "r3"
 
-inherit gettext
+inherit gettext gconf
 
 EXTRA_OECONF += "--disable-aalib --disable-esd --disable-shout2 --disable-libcaca --disable-hal --without-check"
 
@@ -20,3 +20,5 @@  do_configure_prepend() {
 
 SRC_URI[md5sum] = "62fd7a3ef187c4f99b3d7c352d58dae9"
 SRC_URI[sha256sum] = "b12cba90b27d8423cd0a808939098d19db3996cfb9bf528507c6321782e095f6"
+
+FILES_${PN}-gconfelements += "${sysconfdir}/gconf/schemas/gstreamer-0.10.schemas"