Patchwork [meta-oe,09/11] glade3: disable html doc, fails to build

login
register
mail settings
Submitter Martin Jansa
Date Dec. 13, 2012, 10:41 p.m.
Message ID <438ebe8cfe643f3d82f3a825651693c4c90edb6f.1355438402.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/40947/
State Superseded, archived
Headers show

Comments

Martin Jansa - Dec. 13, 2012, 10:41 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-devtools/glade/glade3_3.8.2.bb | 6 ++++++
 1 file changed, 6 insertions(+)
Andreas Müller - Dec. 14, 2012, 8:26 a.m.
On Thu, Dec 13, 2012 at 11:41 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  meta-oe/recipes-devtools/glade/glade3_3.8.2.bb | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb b/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb
> index 8cd6a0e..049f7e3 100644
> --- a/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb
> +++ b/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb
> @@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \
>                      file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7"
>  DEPENDS = "gtk+ gnome-doc-utils-native"
>
> +PR = "r1"
> +
>  inherit autotools pkgconfig pythonnative
>
>  SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-${PV}.tar.xz \
> @@ -14,6 +16,10 @@ SRC_URI[sha256sum] = "f180a5018eee6e3fe574854cb025af897dd9962b01d17d5752e626876d
>
>  EXTRA_OECONF += "--disable-scrollkeeper"
>
> +do_configure_prepend() {
> +  sed -i 's/HAVE_GNOME_DOC_UTILS/HAVE_GNOME_DOC_UTILS_IGNORED/g' ${S}/Makefile.am
> +}
> +
>  FILES_${PN} += "${datadir}/icons"
>  FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug"
>  FILES_${PN}-dev += "${libdir}/glade3/modules/*.la"
> --
> 1.8.0.2
>
I am using the documentation from time to time. Don't misunderstand
me: For now I have no problem disabling it but could you send the
error information so we know what fails - maybe later there is a
chance for fixing it.

Andreas
Martin Jansa - Dec. 14, 2012, 11:19 a.m.
On Fri, Dec 14, 2012 at 9:26 AM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> On Thu, Dec 13, 2012 at 11:41 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
>> ---
>>  meta-oe/recipes-devtools/glade/glade3_3.8.2.bb | 6 ++++++
>>  1 file changed, 6 insertions(+)
>>
>> diff --git a/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb b/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb
>> index 8cd6a0e..049f7e3 100644
>> --- a/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb
>> +++ b/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb
>> @@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \
>>                      file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7"
>>  DEPENDS = "gtk+ gnome-doc-utils-native"
>>
>> +PR = "r1"
>> +
>>  inherit autotools pkgconfig pythonnative
>>
>>  SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-${PV}.tar.xz \
>> @@ -14,6 +16,10 @@ SRC_URI[sha256sum] = "f180a5018eee6e3fe574854cb025af897dd9962b01d17d5752e626876d
>>
>>  EXTRA_OECONF += "--disable-scrollkeeper"
>>
>> +do_configure_prepend() {
>> +  sed -i 's/HAVE_GNOME_DOC_UTILS/HAVE_GNOME_DOC_UTILS_IGNORED/g' ${S}/Makefile.am
>> +}
>> +
>>  FILES_${PN} += "${datadir}/icons"
>>  FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug"
>>  FILES_${PN}-dev += "${libdir}/glade3/modules/*.la"
>> --
>> 1.8.0.2
>>
> I am using the documentation from time to time. Don't misunderstand
> me: For now I have no problem disabling it but could you send the
> error information so we know what fails - maybe later there is a
> chance for fixing it.

Extended description in PATCHv2 and this bug is also related:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2416

Patch

diff --git a/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb b/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb
index 8cd6a0e..049f7e3 100644
--- a/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb
+++ b/meta-oe/recipes-devtools/glade/glade3_3.8.2.bb
@@ -5,6 +5,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \
                     file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7"
 DEPENDS = "gtk+ gnome-doc-utils-native"
 
+PR = "r1"
+
 inherit autotools pkgconfig pythonnative
 
 SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-${PV}.tar.xz \
@@ -14,6 +16,10 @@  SRC_URI[sha256sum] = "f180a5018eee6e3fe574854cb025af897dd9962b01d17d5752e626876d
 
 EXTRA_OECONF += "--disable-scrollkeeper"
 
+do_configure_prepend() {
+  sed -i 's/HAVE_GNOME_DOC_UTILS/HAVE_GNOME_DOC_UTILS_IGNORED/g' ${S}/Makefile.am
+}
+
 FILES_${PN} += "${datadir}/icons"
 FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug"
 FILES_${PN}-dev += "${libdir}/glade3/modules/*.la"