All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build
@ 2015-06-03  6:58 Richard Leitner
  2015-06-18  6:38 ` Richard Leitner
  2015-07-07 13:57 ` Otavio Salvador
  0 siblings, 2 replies; 12+ messages in thread
From: Richard Leitner @ 2015-06-03  6:58 UTC (permalink / raw)
  To: openembedded-devel

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@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
-- 
2.1.4



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

* Re: [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build
  2015-06-03  6:58 [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build Richard Leitner
@ 2015-06-18  6:38 ` Richard Leitner
  2015-07-07 13:57 ` Otavio Salvador
  1 sibling, 0 replies; 12+ messages in thread
From: Richard Leitner @ 2015-06-18  6:38 UTC (permalink / raw)
  To: openembedded-devel

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@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
> 


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

* Re: [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build
  2015-06-03  6:58 [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build Richard Leitner
  2015-06-18  6:38 ` Richard Leitner
@ 2015-07-07 13:57 ` Otavio Salvador
  2015-07-20 11:10   ` Richard Leitner
  2015-07-20 12:42   ` Richard Leitner
  1 sibling, 2 replies; 12+ messages in thread
From: Otavio Salvador @ 2015-07-07 13:57 UTC (permalink / raw)
  To: OpenEmbedded Devel List

On Wed, Jun 3, 2015 at 3:58 AM, Richard Leitner
<richard.leitner@skidata.com> 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@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 ;-)
> ---

Sorry for the long time to get to this patch. I would like to ask if
you could run a test in master so we avoid surprises. If you confirm
it works I am fine in commiting it.

-- 
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] 12+ messages in thread

* Re: [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build
  2015-07-07 13:57 ` Otavio Salvador
@ 2015-07-20 11:10   ` Richard Leitner
  2015-07-20 12:42   ` Richard Leitner
  1 sibling, 0 replies; 12+ messages in thread
From: Richard Leitner @ 2015-07-20 11:10 UTC (permalink / raw)
  To: openembedded-devel

Hi,

On 07/07/2015 03:57 PM, Otavio Salvador wrote:
> On Wed, Jun 3, 2015 at 3:58 AM, Richard Leitner
> <richard.leitner@skidata.com> 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@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 ;-)
>> ---
> 
> Sorry for the long time to get to this patch. I would like to ask if
> you could run a test in master so we avoid surprises. If you confirm
> it works I am fine in commiting it.
> 

Thank you for your feedback. I will test that patch today with the
current master branches of meta-java, poky and meta-openembedded. I'll
get back to you as soon as I have any results.

best regards,
Richard L


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

* Re: [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build
  2015-07-07 13:57 ` Otavio Salvador
  2015-07-20 11:10   ` Richard Leitner
@ 2015-07-20 12:42   ` Richard Leitner
  2015-08-06  7:25     ` Richard Leitner
  1 sibling, 1 reply; 12+ messages in thread
From: Richard Leitner @ 2015-07-20 12:42 UTC (permalink / raw)
  To: openembedded-devel

Hello,

On 07/07/2015 03:57 PM, Otavio Salvador wrote:
> On Wed, Jun 3, 2015 at 3:58 AM, Richard Leitner
> <richard.leitner@skidata.com> 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@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 ;-)
>> ---
> 
> Sorry for the long time to get to this patch. I would like to ask if
> you could run a test in master so we avoid surprises. If you confirm
> it works I am fine in commiting it.
> 

I successfully compiled and tested openjdk with the patch on an armv7a
cortexa9 cpu with vfpv3d16 using following layers:

poky/meta{,-yocto}
	@ master (0f8d89ce66cfffccc9911d6c61470a585173b79d)

meta-java
	@ master (4aea395deed99b2725b56d4a86fb4712fcf504d7)
	+ my patch

meta-openembedded/meta-oe
	@ master (c12b9596afd236116b25ce26dbe0d793de9dc7ce)

best regards,
Richard L


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

* Re: [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build
  2015-07-20 12:42   ` Richard Leitner
@ 2015-08-06  7:25     ` Richard Leitner
  2015-08-06 13:02       ` Otavio Salvador
  0 siblings, 1 reply; 12+ messages in thread
From: Richard Leitner @ 2015-08-06  7:25 UTC (permalink / raw)
  To: openembedded-devel

Hello,
any updates on this patch?

best regards,
Richard L

On 07/20/2015 02:42 PM, Richard Leitner wrote:
> Hello,
> 
> On 07/07/2015 03:57 PM, Otavio Salvador wrote:
>> On Wed, Jun 3, 2015 at 3:58 AM, Richard Leitner
>> <richard.leitner@skidata.com> 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@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 ;-)
>>> ---
>>
>> Sorry for the long time to get to this patch. I would like to ask if
>> you could run a test in master so we avoid surprises. If you confirm
>> it works I am fine in commiting it.
>>
> 
> I successfully compiled and tested openjdk with the patch on an armv7a
> cortexa9 cpu with vfpv3d16 using following layers:
> 
> poky/meta{,-yocto}
> 	@ master (0f8d89ce66cfffccc9911d6c61470a585173b79d)
> 
> meta-java
> 	@ master (4aea395deed99b2725b56d4a86fb4712fcf504d7)
> 	+ my patch
> 
> meta-openembedded/meta-oe
> 	@ master (c12b9596afd236116b25ce26dbe0d793de9dc7ce)
> 
> best regards,
> Richard L
> 


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

* Re: [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build
  2015-08-06  7:25     ` Richard Leitner
@ 2015-08-06 13:02       ` Otavio Salvador
  2015-08-07  2:31         ` Khem Raj
  0 siblings, 1 reply; 12+ messages in thread
From: Otavio Salvador @ 2015-08-06 13:02 UTC (permalink / raw)
  To: OpenEmbedded Devel List

On Thu, Aug 6, 2015 at 4:25 AM, Richard Leitner
<richard.leitner@skidata.com> wrote:
> Hello,
> any updates on this patch?

The patch didn't apply so I asked you to rebase. Can you rebase and send?

-- 
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] 12+ messages in thread

* Re: [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build
  2015-08-06 13:02       ` Otavio Salvador
@ 2015-08-07  2:31         ` Khem Raj
  2015-08-07  5:28           ` Richard Leitner
  0 siblings, 1 reply; 12+ messages in thread
From: Khem Raj @ 2015-08-07  2:31 UTC (permalink / raw)
  To: openembeded-devel

On Thu, Aug 6, 2015 at 6:02 AM, Otavio Salvador
<otavio.salvador@ossystems.com.br> wrote:
> On Thu, Aug 6, 2015 at 4:25 AM, Richard Leitner
> <richard.leitner@skidata.com> wrote:
>> Hello,
>> any updates on this patch?
>
> The patch didn't apply so I asked you to rebase. Can you rebase and send?
>

in addition please build for FSL ppc since that was original
architecture where it failed when I did this patch

> --
> 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
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build
  2015-08-07  2:31         ` Khem Raj
@ 2015-08-07  5:28           ` Richard Leitner
  2015-08-07  7:19             ` Henning Heinold
  0 siblings, 1 reply; 12+ messages in thread
From: Richard Leitner @ 2015-08-07  5:28 UTC (permalink / raw)
  To: openembedded-devel

On 08/07/2015 04:31 AM, Khem Raj wrote:
> On Thu, Aug 6, 2015 at 6:02 AM, Otavio Salvador
> <otavio.salvador@ossystems.com.br> wrote:
>> On Thu, Aug 6, 2015 at 4:25 AM, Richard Leitner
>> <richard.leitner@skidata.com> wrote:
>>> Hello,
>>> any updates on this patch?
>>
>> The patch didn't apply so I asked you to rebase. Can you rebase and send?
>>
> 
> in addition please build for FSL ppc since that was original
> architecture where it failed when I did this patch
> 

Ok, thanks for the input. I'll rebase and test during the weekend.
Hopefully I have v2 patch at the beginning of next week.

regards,
Richard L


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

* Re: [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build
  2015-08-07  5:28           ` Richard Leitner
@ 2015-08-07  7:19             ` Henning Heinold
  2015-08-07  7:37               ` Richard Leitner
  0 siblings, 1 reply; 12+ messages in thread
From: Henning Heinold @ 2015-08-07  7:19 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Aug 07, 2015 at 07:28:58AM +0200, Richard Leitner wrote:
> On 08/07/2015 04:31 AM, Khem Raj wrote:
> > On Thu, Aug 6, 2015 at 6:02 AM, Otavio Salvador
> > <otavio.salvador@ossystems.com.br> wrote:
> >> On Thu, Aug 6, 2015 at 4:25 AM, Richard Leitner
> >> <richard.leitner@skidata.com> wrote:
> >>> Hello,
> >>> any updates on this patch?
> >>
> >> The patch didn't apply so I asked you to rebase. Can you rebase and send?
> >>
> > 
> > in addition please build for FSL ppc since that was original
> > architecture where it failed when I did this patch
> > 
> 
> Ok, thanks for the input. I'll rebase and test during the weekend.
> Hopefully I have v2 patch at the beginning of next week.
> 
> regards,
> Richard L
> -- 

If you have the time, it would be nice if you could update it to the latest 2.5.6 release.

Bye Henning
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build
  2015-08-07  7:19             ` Henning Heinold
@ 2015-08-07  7:37               ` Richard Leitner
  2015-08-07  7:54                 ` Henning Heinold
  0 siblings, 1 reply; 12+ messages in thread
From: Richard Leitner @ 2015-08-07  7:37 UTC (permalink / raw)
  To: openembedded-devel

On 08/07/2015 09:19 AM, Henning Heinold wrote:
> On Fri, Aug 07, 2015 at 07:28:58AM +0200, Richard Leitner wrote:
>>
>> Ok, thanks for the input. I'll rebase and test during the weekend.
>> Hopefully I have v2 patch at the beginning of next week.
>>
> 
> If you have the time, it would be nice if you could update it to the latest 2.5.6 release.
> 
According "Andrew's Blog" 2.5.6 was the last 2.5.x release [1]:
	There will be one further release of the 2.5.x series, 2.5.6,
	for the July 2015 security updates, in tandem with 2.6.1, both
	coming in the next few days. In October, the 2.5.x branch will
	be rendered obsolete, with only the 2.6.x series being updated
	for that security update. Please use the intervening period to
	transition to the 2.6.x series.

Due to this fact I planned to update it to IcedTea 2.6.1 (2015-07-21).
Are there any facts against the 2.6.x release?

regards,
Richard L

[1]
http://blog.fuseyism.com/index.php/2015/07/19/icedtea-2-6-0-for-openjdk-7-released/


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

* Re: [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build
  2015-08-07  7:37               ` Richard Leitner
@ 2015-08-07  7:54                 ` Henning Heinold
  0 siblings, 0 replies; 12+ messages in thread
From: Henning Heinold @ 2015-08-07  7:54 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Aug 07, 2015 at 09:37:36AM +0200, Richard Leitner wrote:
> On 08/07/2015 09:19 AM, Henning Heinold wrote:
> > On Fri, Aug 07, 2015 at 07:28:58AM +0200, Richard Leitner wrote:
> >>
> >> Ok, thanks for the input. I'll rebase and test during the weekend.
> >> Hopefully I have v2 patch at the beginning of next week.
> >>
> > 
> > If you have the time, it would be nice if you could update it to the latest 2.5.6 release.
> > 
> According "Andrew's Blog" 2.5.6 was the last 2.5.x release [1]:
> 	There will be one further release of the 2.5.x series, 2.5.6,
> 	for the July 2015 security updates, in tandem with 2.6.1, both
> 	coming in the next few days. In October, the 2.5.x branch will
> 	be rendered obsolete, with only the 2.6.x series being updated
> 	for that security update. Please use the intervening period to
> 	transition to the 2.6.x series.
> 
> Due to this fact I planned to update it to IcedTea 2.6.1 (2015-07-21).
> Are there any facts against the 2.6.x release?
> 
> regards,
> Richard L
> 
> [1]
> http://blog.fuseyism.com/index.php/2015/07/19/icedtea-2-6-0-for-openjdk-7-released/

Not from me.

Bye Henning


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

end of thread, other threads:[~2015-08-07  7:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-03  6:58 [meta-java][PATCH] openjdk-7: 75b13-2.5.4: fix xawt build Richard Leitner
2015-06-18  6:38 ` Richard Leitner
2015-07-07 13:57 ` Otavio Salvador
2015-07-20 11:10   ` Richard Leitner
2015-07-20 12:42   ` Richard Leitner
2015-08-06  7:25     ` Richard Leitner
2015-08-06 13:02       ` Otavio Salvador
2015-08-07  2:31         ` Khem Raj
2015-08-07  5:28           ` Richard Leitner
2015-08-07  7:19             ` Henning Heinold
2015-08-07  7:37               ` Richard Leitner
2015-08-07  7:54                 ` Henning Heinold

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.