All of lore.kernel.org
 help / color / mirror / Atom feed
* [OE-core][RFC] openjdk-7: enable xawt
@ 2015-02-16 22:27 Max Krummenacher
  2015-02-16 22:27 ` Max Krummenacher
  0 siblings, 1 reply; 5+ messages in thread
From: Max Krummenacher @ 2015-02-16 22:27 UTC (permalink / raw)
  To: openembedded-devel; +Cc: koen

Hi all

Currently xawt is disabled when building openjdk-7-jre for all architectures.
I'd like to reenable this. The attached patch works fine for armv7.
My guess is that the patches which disabled xawt were applied because of
qemu failing to executed and thus making the whole build fail. I guess
that recent changes to the way binaries are built for and executed by qemu
in meta-java makes openjdk-7 build again.

This has been done in a first step for the ppc architecture by commit
http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/?id=f03d3e5bbb6a096960a781547884015f50be96da
and then extended to all architectures with:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/?id=4e862f09394dccc15d26c6e8768072cf98cb013f

Henning, Koen do you have any comments what additionally needs to be tested
from your original work on the patches?

Regards
Max

Max Krummenacher (1):
  openjdk-7: enable xawt

 .../icedtea-jdk-nio-use-host-cc.patch              | 22 ----------------------
 1 file changed, 22 deletions(-)

-- 
1.9.3



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [OE-core][RFC] openjdk-7: enable xawt
  2015-02-16 22:27 [OE-core][RFC] openjdk-7: enable xawt Max Krummenacher
@ 2015-02-16 22:27 ` Max Krummenacher
  2015-02-17 12:57   ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Max Krummenacher @ 2015-02-16 22:27 UTC (permalink / raw)
  To: openembedded-devel; +Cc: koen

The build of xawt has been disabled as its build seemed to fail during a qemu
call to generate a file with information on variable sizes.

qemu is now called with the relevant path into sysroot and thus works.

This patch enables xawt again.

Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
---
 .../icedtea-jdk-nio-use-host-cc.patch              | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-nio-use-host-cc.patch b/recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-nio-use-host-cc.patch
index 94416bb..8e5da82 100644
--- a/recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-nio-use-host-cc.patch
+++ b/recipes-core/openjdk/openjdk-7-25b30/icedtea-jdk-nio-use-host-cc.patch
@@ -49,25 +49,3 @@ Index: openjdk/jdk/make/java/nio/Makefile
 -endif
  
  .PHONY: sources 
-Index: openjdk/jdk/make/sun/Makefile
-===================================================================
---- openjdk/jdk/make/sun/Makefile	2013-07-25 09:10:09.000000000 -0700
-+++ openjdk/jdk/make/sun/Makefile	2013-10-01 21:32:01.625839149 -0700
-@@ -55,7 +55,7 @@
-     endif
-   endif
-   HEADLESS_SUBDIR = headless
--  XAWT_SUBDIR     = xawt
-+  XAWT_SUBDIR     =
- endif
- 
- ifeq ($(PLATFORM), macosx)
-@@ -87,7 +87,7 @@
- endif
- SUBDIRS_desktop    = audio $(RENDER_SUBDIR) image \
-                      $(LWAWT_PRE_SUBDIR) $(DISPLAY_LIBS) $(DGA_SUBDIR) $(LWAWT_SUBDIR) \
--                     jawt font jpeg cmm $(DISPLAY_TOOLS) beans
-+                     font jpeg cmm $(DISPLAY_TOOLS) beans
- SUBDIRS_management = management
- SUBDIRS_misc       = $(ORG_SUBDIR) rmi $(JDBC_SUBDIR) tracing
- SUBDIRS_tools      = native2ascii serialver tools jconsole
-- 
1.9.3



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [OE-core][RFC] openjdk-7: enable xawt
  2015-02-16 22:27 ` Max Krummenacher
@ 2015-02-17 12:57   ` Otavio Salvador
  2015-02-17 18:19     ` Max Krummenacher
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2015-02-17 12:57 UTC (permalink / raw)
  To: OpenEmbedded Devel List; +Cc: Koen Kooi

On Mon, Feb 16, 2015 at 8:27 PM, Max Krummenacher <max.oss.09@gmail.com> wrote:
> The build of xawt has been disabled as its build seemed to fail during a qemu
> call to generate a file with information on variable sizes.
>
> qemu is now called with the relevant path into sysroot and thus works.
>
> This patch enables xawt again.
>
> Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>

I am fine with this change the only remark I may have is force X11
dependency. Would be easy to put this in a PACKAGECONFIG?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core][RFC] openjdk-7: enable xawt
  2015-02-17 12:57   ` Otavio Salvador
@ 2015-02-17 18:19     ` Max Krummenacher
  2015-02-17 18:26       ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Max Krummenacher @ 2015-02-17 18:19 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

Am Dienstag, den 17.02.2015, 10:57 -0200 schrieb Otavio Salvador:
> On Mon, Feb 16, 2015 at 8:27 PM, Max Krummenacher <max.oss.09@gmail.com> wrote:
> > The build of xawt has been disabled as its build seemed to fail during a qemu
> > call to generate a file with information on variable sizes.
> >
> > qemu is now called with the relevant path into sysroot and thus works.
> >
> > This patch enables xawt again.
> >
> > Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
> 
> I am fine with this change the only remark I may have is force X11
> dependency. Would be easy to put this in a PACKAGECONFIG?

I thought about this. As it is not simply a configure option it's not
straight forward using the PACKAGECONFIG system.

On second thought one could probably make it a PACKAGECONFIG option,
even conditionally set it with DISTRO_FEATURES but then use some python
magic to conditionally apply a patch removing xawt if headless is
configured.

I'm a bit loaded with work at the moment, so it will take some weeks to
come up with a tested v2 of the patch.

Regards
Max

> -- 
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core][RFC] openjdk-7: enable xawt
  2015-02-17 18:19     ` Max Krummenacher
@ 2015-02-17 18:26       ` Otavio Salvador
  0 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2015-02-17 18:26 UTC (permalink / raw)
  To: OpenEmbedded Devel List; +Cc: Koen Kooi

On Tue, Feb 17, 2015 at 4:19 PM, Max Krummenacher <max.oss.09@gmail.com> wrote:
> Am Dienstag, den 17.02.2015, 10:57 -0200 schrieb Otavio Salvador:
>> On Mon, Feb 16, 2015 at 8:27 PM, Max Krummenacher <max.oss.09@gmail.com> wrote:
>> > The build of xawt has been disabled as its build seemed to fail during a qemu
>> > call to generate a file with information on variable sizes.
>> >
>> > qemu is now called with the relevant path into sysroot and thus works.
>> >
>> > This patch enables xawt again.
>> >
>> > Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
>>
>> I am fine with this change the only remark I may have is force X11
>> dependency. Would be easy to put this in a PACKAGECONFIG?
>
> I thought about this. As it is not simply a configure option it's not
> straight forward using the PACKAGECONFIG system.
>
> On second thought one could probably make it a PACKAGECONFIG option,
> even conditionally set it with DISTRO_FEATURES but then use some python
> magic to conditionally apply a patch removing xawt if headless is
> configured.
>
> I'm a bit loaded with work at the moment, so it will take some weeks to
> come up with a tested v2 of the patch.

Yes. You can take a look how we did in meta-fsl-arm for Chromium
patches. It has some conditional patching.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-17 18:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-16 22:27 [OE-core][RFC] openjdk-7: enable xawt Max Krummenacher
2015-02-16 22:27 ` Max Krummenacher
2015-02-17 12:57   ` Otavio Salvador
2015-02-17 18:19     ` Max Krummenacher
2015-02-17 18:26       ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.