[oe] [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build
Richard Leitner
richard.leitner at skidata.com
Thu Jun 18 06:38:24 UTC 2015
Hi,
any test results, comments or ideas for improvement on this?
regards,
Richard
On 06/03/2015 08:58 AM, Richard Leitner wrote:
> The icedtea-jdk-nio-use-host-cc.patch disabled the build of xawt.
> Therefore all awt based java application which were run on X11 failed
> starting the GUI with an java.awt.HeadlessException.
>
> This patch enables xawt again by adapting
> icedtea-jdk-nio-use-host-cc.patch.
>
> Signed-off-by: Richard Leitner <richard.leitner at skidata.com>
> ---
> This patch was only tested with yocto-1.6.3 (daisy) on an armv7a
> cortexa9 with vfpv3d16. Please test it on further platforms!
>
> This is my first patch to this mailinglist so hopefully I got everything
> right. If not please give me some feedback on what to improve for the
> next one ;-)
> ---
> .../icedtea-jdk-nio-use-host-cc.patch | 22
> ----------------------
> 1 file changed, 22 deletions(-)
>
> diff --git
> a/recipes-core/openjdk/openjdk-7-75b13/icedtea-jdk-nio-use-host-cc.patch
> b/recipes-core/openjdk/openjdk-7-75b13/icedtea-jdk-nio-use-host-cc.patch
> index f966093..db2fc87 100644
> --- a/recipes-core/openjdk/openjdk-7-75b13/icedtea-jdk-nio-use-host-cc.patch
> +++ b/recipes-core/openjdk/openjdk-7-75b13/icedtea-jdk-nio-use-host-cc.patch
> @@ -49,26 +49,4 @@ 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 gtk
> -+ 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
> -
> \ No newline at end of file
>
More information about the Openembedded-devel
mailing list