Patchwork [13/26] js: Use bitbake default FILES for packaging

login
register
mail settings
Submitter Saul Wold
Date July 11, 2011, 11:13 p.m.
Message ID <da30f3b2645703da5e7d49e245d379ca82789989.1310425837.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/7379/
State New, archived
Headers show

Comments

Saul Wold - July 11, 2011, 11:13 p.m.
This will ensure correct -dev and -staticdev packging

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
Koen Kooi - July 12, 2011, 7:13 a.m.
Op 12 jul 2011, om 01:13 heeft Saul Wold het volgende geschreven:

> This will ensure correct -dev and -staticdev packging
> 
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
> meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb |    3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb b/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
> index a4423ab..d4e1e4d 100644
> --- a/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
> +++ b/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
> @@ -5,7 +5,7 @@ SECTION = "libs"
> # the package is licensed under either of the following
> LICENSE = "MPL-1 | GPLv2+ | LGPLv2.1+"
> LIC_FILES_CHKSUM = "file://jsapi.c;beginline=4;endline=39;md5=347c6bbf4fb4547de1fa5ad830030063"
> -PR = "r2"
> +PR = "r4"
> 
> SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/js-1.8.0-rc1.tar.gz \
>            file://link_with_gcc.patch \
> @@ -47,5 +47,4 @@ do_install() {
> }
> 
> FILES_${PN} = "${libdir}/lib*.so"

Not .so.*?

> -FILES_${PN}-dev = "${includedir} ${libdir}/lib*.a"
> 
> -- 
> 1.7.3.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Saul Wold - July 12, 2011, 6:48 p.m.
On 07/12/2011 12:13 AM, Koen Kooi wrote:
>
> Op 12 jul 2011, om 01:13 heeft Saul Wold het volgende geschreven:
>
>> This will ensure correct -dev and -staticdev packging
>>
>> Signed-off-by: Saul Wold<sgw@linux.intel.com>
>> ---
>> meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb |    3 +--
>> 1 files changed, 1 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb b/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
>> index a4423ab..d4e1e4d 100644
>> --- a/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
>> +++ b/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
>> @@ -5,7 +5,7 @@ SECTION = "libs"
>> # the package is licensed under either of the following
>> LICENSE = "MPL-1 | GPLv2+ | LGPLv2.1+"
>> LIC_FILES_CHKSUM = "file://jsapi.c;beginline=4;endline=39;md5=347c6bbf4fb4547de1fa5ad830030063"
>> -PR = "r2"
>> +PR = "r4"
>>
>> SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/js-1.8.0-rc1.tar.gz \
>>             file://link_with_gcc.patch \
>> @@ -47,5 +47,4 @@ do_install() {
>> }
>>
>> FILES_${PN} = "${libdir}/lib*.so"
>
> Not .so.*?
>
Correct, seems js only builds out a .so with no versioning, so it needs 
to be special cased here.

Sau!

>> -FILES_${PN}-dev = "${includedir} ${libdir}/lib*.a"
>>
>> --
>> 1.7.3.4
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

Patch

diff --git a/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb b/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
index a4423ab..d4e1e4d 100644
--- a/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
+++ b/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
@@ -5,7 +5,7 @@  SECTION = "libs"
 # the package is licensed under either of the following
 LICENSE = "MPL-1 | GPLv2+ | LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://jsapi.c;beginline=4;endline=39;md5=347c6bbf4fb4547de1fa5ad830030063"
-PR = "r2"
+PR = "r4"
 
 SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/js-1.8.0-rc1.tar.gz \
            file://link_with_gcc.patch \
@@ -47,5 +47,4 @@  do_install() {
 }
 
 FILES_${PN} = "${libdir}/lib*.so"
-FILES_${PN}-dev = "${includedir} ${libdir}/lib*.a"