Re: [oe] [meta-java][PATCH] openjdk-8-common: Fix the issue of building failed adlc on host with gcc < 6

2018-08-09 Thread Maxin B. John
Hi Andre',

On Thu, Aug 09, 2018 at 12:04:01PM +0100, André Draszik wrote:
> Hi Maxin,
> 
> You reverted this patch, do you remember what the problem was? It looks
> useful, and I believe a solution similar to this one is actually needed...

IIRC, this patch caused build error on one machine with gcc version 5.1.1.

> Cheers,
> Andre'

Best Regards,
Maxin

> On Fri, 2017-09-29 at 19:24 -0700, fupan...@windriver.com wrote:
> > From: Fupan Li 
> > 
> > The patch recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-adlc-
> > flags.patch
> > had tried to fix this issue, and it tried to filter out the
> > TARGET_FLAGS/TARGET_
> > CXXFLGAS, but for the flags such as "-fno-lifetime-dse" was added to
> > CFLAGS/CXXFLAGS,
> > directly, thus that patch failed to filter it out.
> > 
> > To fix this issue, it's better to add those GCC version specific flags to
> > BUILD_CFLAGS/
> > BUILD_CXXFLAGS and TARGET_CFLAGS/TARGET_CXXFLAGS separatedly, thus that
> > patch can work
> > as expected.
> > 
> > Signed-off-by: Fupan Li 
> > ---
> >  recipes-core/openjdk/openjdk-8-common.inc | 36 
> > ---
> >  1 file changed, 24 insertions(+), 12 deletions(-)
> > 
> > diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-
> > core/openjdk/openjdk-8-common.inc
> > index 83828e1..c609232 100644
> > --- a/recipes-core/openjdk/openjdk-8-common.inc
> > +++ b/recipes-core/openjdk/openjdk-8-common.inc
> > @@ -231,27 +231,39 @@ FLAGS_GCC7 = "-fno-lifetime-dse -fno-delete-null-
> > pointer-checks"
> >  # version is and only add the flags that are appropriate for that GCC
> >  # version.
> >  
> > -def version_specific_cflags(d):
> > +def version_specific_cflags(d, toolchain):
> >  extraflags = None
> >  version = None
> >  
> > -if bb.data.inherits_class('native', d):
> > -from subprocess import Popen, PIPE
> > +from subprocess import Popen, PIPE
> > +cmd = d.expand('%s -dumpversion' % toolchain ).split()
> > +cc = Popen(cmd, stdout=PIPE, stderr=PIPE)
> > +version = cc.communicate()[0].decode('utf-8')[0]
> >  
> > -cmd = d.expand('${CC} -dumpversion').split()
> > -cc = Popen(cmd, stdout=PIPE, stderr=PIPE)
> > -version = cc.communicate()[0].decode('utf-8')[0]
> > +if version.isdigit():
> > +extraflags = d.getVar('FLAGS_GCC%d' % int(version), True) or ''
> > +return extraflags
> > +return ''
> > +
> > +python __anonymous() {
> > +if bb.data.inherits_class('native', d):
> > +toolchain = d.getVar('CC', True)
> > +extraflags = version_specific_cflags(d, toolchain)
> > +d.appendVar("CFLAGS", ' ' + extraflags) 
> > +d.appendVar("CXXFLAGS", ' ' + extraflags)
> >  else:
> >  # in the cross case, trust that GCCVERSION is correct. This won't
> >  # work if the native toolchain is Clang, but as of this writing
> > that
> >  # doesn't work anyway.
> >  version = d.getVar('GCCVERSION', expand=True)[0]
> > -
> > -if version.isdigit():
> >  extraflags = d.getVar('FLAGS_GCC%d' % int(version), True) or ''
> > -return extraflags
> > -return ''
> > +d.appendVar("TARGET_CFLAGS", ' ' + extraflags)
> > +d.appendVar("TARGET_CXXFLAGS", ' ' + extraflags)
> > +
> > +toolchain = d.getVar('BUILD_CC', True)
> > +extraflags = version_specific_cflags(d, toolchain)
> > +d.appendVar("BUILD_CFLAGS", ' ' + extraflags)
> > +d.appendVar("BUILD_CXXFLAGS", ' ' + extraflags)
> > +}
> >  
> > -CFLAGS_append = " ${@version_specific_cflags(d)}"
> > -CXXFLAGS_append = " ${@version_specific_cflags(d)}"
> >  CXX_append = " -std=gnu++98"
> > -- 
> > 2.11.0
> > 
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] Fwd: [yocto] [meta-java][PATCH 3/3] openjdk-8: use ca-certificates-java

2018-06-15 Thread Maxin B. John
Hi Richard,

On Fri, Jun 15, 2018 at 10:19:06AM +0200, 
prvs=6977bbb5e=richard.leit...@skidata.com wrote:
> fyi, as this was posted on yo...@yoctoproject.org
> 
> @Otavio/Maxin/Henning: is it OK to just force-push to
> master-next without this commit? Or should I push a
> "revert" commit?

I think it is ok to force-push to the master-next branch 
(obviously not ok to force push to other branches).

> regards;Richard.L

Best Regards,
Maxin

> 
>  Forwarded Message 
> Subject: Re: [yocto] [meta-java][PATCH 3/3] openjdk-8: use 
> ca-certificates-java
> Date: Fri, 15 Jun 2018 10:00:38 +0200
> From: Richard Leitner 
> To: André Draszik , yo...@yoctoproject.org
> CC: Richard Leitner 
> 
> Hi,
> this commit of yours breaks the build on meta-java's current
> mater-next branch (when building an image containing openjre-8
> or openjdk-8) with following message:
> 
> ERROR: openjre-8-test-image-1.0-r0 do_rootfs: [log_check] 
> openjre-8-test-image: found 1 error message in the logfile:
> [log_check] E: 
> /yocto/meta-java-test/build/tmp/work/qemuarm-poky-linux-gnueabi/openjre-8-test-image/1.0-r0/rootfs/etc/ca-certificates/update.d/ca-certificates-java-hook
>  exited with code 1.
> 
> ERROR: openjre-8-test-image-1.0-r0 do_rootfs: Function failed: do_rootfs
> ERROR: Logfile of failure stored in: 
> /yocto/meta-java-test/build/tmp/work/qemuarm-poky-linux-gnueabi/openjre-8-test-image/1.0-r0/temp/log.do_rootfs.19892
> ERROR: Task 
> (/yocto/meta-java-test/meta-java/recipes-images/images/openjre-8-test-image.bb:do_rootfs)
>  failed with exit code '1'
> 
> 
> The logfile contains following error:
> 
> Running hooks in 
> /yocto/meta-java-test/build/tmp/work/qemuarm-poky-linux-gnueabi/openjre-8-test-image/1.0-r0/rootfs/etc/ca-certificates/update.d...
> /yocto/meta-java-test/build/tmp/work/qemuarm-poky-linux-gnueabi/openjre-8-test-image/1.0-r0/rootfs/etc/ca-certificates/update.d/ca-certificates-java-hook:
>  no JVM_LIBDIR specified
> E: 
> /yocto/meta-java-test/build/tmp/work/qemuarm-poky-linux-gnueabi/openjre-8-test-image/1.0-r0/rootfs/etc/ca-certificates/update.d/ca-certificates-java-hook
>  exited with code 1.
> done.
> 
> 
> Therefore it will be removed from master-next.
> 
> It would be great if you could send an fixed version.
> 
> Thank you!
> 
> regards;Richard.L
> 
> 
> On 03/30/2018 10:40 AM, André Draszik wrote:
> > From: André Draszik 
> > 
> > The OpenJDK-8 package currently comes with a trustStore
> > that was generated at OpenJDK-8-native build time from
> > *all* certificates available in the system, not just from
> > those that are marked as trusted.
> > 
> > This isn't right...
> > 
> > openjdk-8 and openjre-8 now RDEPENDS on (and use) the CA
> > certificates as provided by the ca-certificates-java
> > package just added.
> > 
> > This makes sure that Java now uses the same trusted CA
> > certificates as the rest of the system.
> > 
> > Signed-off-by: André Draszik 
> > ---
> >  recipes-core/openjdk/openjdk-8-common.inc |  2 ++
> >  recipes-core/openjdk/openjdk-8-cross.inc  | 12 +++-
> >  2 files changed, 13 insertions(+), 1 deletion(-)
> > 
> > diff --git a/recipes-core/openjdk/openjdk-8-common.inc 
> > b/recipes-core/openjdk/openjdk-8-common.inc
> > index b2020c3..c8d157e 100644
> > --- a/recipes-core/openjdk/openjdk-8-common.inc
> > +++ b/recipes-core/openjdk/openjdk-8-common.inc
> > @@ -254,3 +254,5 @@ def version_specific_cflags(d):
> >  CFLAGS_append = " ${@version_specific_cflags(d)}"
> >  CXXFLAGS_append = " ${@version_specific_cflags(d)}"
> >  CXX_append = " -std=gnu++98"
> > +
> > +RDEPENDS_${PN} = "ca-certificates-java"
> > diff --git a/recipes-core/openjdk/openjdk-8-cross.inc 
> > b/recipes-core/openjdk/openjdk-8-cross.inc
> > index d70c946..6795c92 100644
> > --- a/recipes-core/openjdk/openjdk-8-cross.inc
> > +++ b/recipes-core/openjdk/openjdk-8-cross.inc
> > @@ -57,7 +57,6 @@ EXTRA_OECONF_append = "\
> >  --with-sys-root=${STAGING_DIR_HOST} \
> >  --with-tools-dir=${STAGING_DIR_NATIVE} \
> >  --with-boot-jdk=${STAGING_LIBDIR_NATIVE}/jvm/openjdk-8-native \
> > -
> > --with-cacerts-file=${STAGING_LIBDIR_NATIVE}/jvm/openjdk-8-native/jre/lib/security/cacerts
> >  \
> >  \
> >  --disable-precompiled-headers \
> >  --disable-zip-debug-info \
> > @@ -88,6 +87,17 @@ do_install_append() {
> >pack200 --repack --effort=9 --segment-limit=-1 
> > --modification-time=latest --strip-debug "$0"'
> >fi
> >  fi
> > +
> > +if [ -d ${D}${JDK_HOME} ] ; then
> > +  rm ${D}${JDK_HOME}/jre/lib/security/cacerts
> > +  ln -s ${@os.path.relpath("${sysconfdir}/ssl/certs/java/cacerts", 
> > "${JDK_HOME}/jre/lib/security/cacerts")} \
> > +${D}${JDK_HOME}/jre/lib/security/cacerts
> > +fi
> > +if [ -d ${D}${JRE_HOME} ] ; then
> > +  rm ${D}${JRE_HOME}/lib/security/cacerts
> > +  ln -s ${@os.path.relpath("${sysconfdir}/ssl/certs/java/cacerts", 
> > "${JRE_HOME}/lib/security/cacerts")} \
> > +

Re: [oe] [meta-java][PATCH 0/4] README: update to reflect current status

2018-06-12 Thread Maxin B. John
Hi Richard,

On Tue, Jun 12, 2018 at 04:51:49PM +0200, 
prvs=69472e970=richard.leit...@skidata.com wrote:
> Hi Maxin,
> 
> On 06/12/2018 04:38 PM, Maxin B. John wrote:
> > Hi Richard,
> > 
> > On Tue, Jun 12, 2018 at 04:33:27PM +0200, 
> > openembedded-devel-boun...@lists.openembedded.org wrote:
> >> Update the README file to reflect current maintainers, dependencies and 
> >> patch
> >> formatting/sending guidlines.
> >>
> >> Mario Domenech Goulart (1):
> >>   README: Remove Mario Goulart from the list of maintainers
> >>
> >> Richard Leitner (3):
> >>   README: fix dependent branch names
> >>   README: add note on how to send a patch series with cover-letter
> >>   README: add maintainer: Richard Leitner
> >>
> >>  README | 20 ++--
> >>  1 file changed, 14 insertions(+), 6 deletions(-)
> > 
> > For some reasons, the "Author" of patches are not clearly set. It shows up 
> > like - "openembedded-devel-boun...@lists.openembedded.org",
> > instead of your mail-id.
> 
> Just wrote you an email because of that. It's strange because the
> answer from Otavio to my [PATCH 3/4] parses the "From:" correctly.
> Also my "raw patches" which I passed to "git send-email" seem to be fine...

It seems something is wrong at my side, not yours :( 

> 
> Do you have any ideas what causes this problem?

Not yet. Probably some messup from the mail client.

> regards;Richard.L

Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH 0/4] README: update to reflect current status

2018-06-12 Thread Maxin B. John
Hi Richard,

On Tue, Jun 12, 2018 at 04:33:27PM +0200, 
openembedded-devel-boun...@lists.openembedded.org wrote:
> Update the README file to reflect current maintainers, dependencies and patch
> formatting/sending guidlines.
> 
> Mario Domenech Goulart (1):
>   README: Remove Mario Goulart from the list of maintainers
> 
> Richard Leitner (3):
>   README: fix dependent branch names
>   README: add note on how to send a patch series with cover-letter
>   README: add maintainer: Richard Leitner
> 
>  README | 20 ++--
>  1 file changed, 14 insertions(+), 6 deletions(-)

For some reasons, the "Author" of patches are not clearly set. It shows up like 
- "openembedded-devel-boun...@lists.openembedded.org",
instead of your mail-id.

Other than that, 
Acked-by: Maxin B. John 

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java] maintainer status

2018-06-11 Thread Maxin B. John
Hi Richard,

Sorry for my long silence here in the list ( was away due to a personal loss).


On Thu, Jun 07, 2018 at 04:32:36PM +0200, 
prvs=68935beb6=richard.leit...@skidata.com wrote:
> On 06/07/2018 03:56 PM, Otavio Salvador wrote:
> > On Thu, Jun 7, 2018 at 10:53 AM, Richard Leitner
> >  wrote:
> > 
> >> As I'm using this layer now for quite a few years I'll be glad to help you 
> >> with
> >> the maintainership of meta-java. Nonetheless I have to admit that I have no
> >> experience in maintaining an openembedded layer ;-)
> >> Therefore if you're still interested I'd have some questions regarding the
> >> "strategic" targets, workflows and stuff like that...
> > 
> > Awesome, new energy!

Great ! 

> > Sure, go ahead and ask :-D
> > 
> 
> Thanks :-)
> 
> So here are some question that currently came to my mind:
> 
>  * do you use some kind of patch management software (like patchwork)?

meta-java doesn't use patchwork till now.

>  * are there any "quality gate tests" for patches being applied to master or 
> stable branches?

At the moment, we dont have enough tests in meta-java (It will be good to have 
more selftests). Moving
from manual build/testing to a Jenkins based automated one was briefly tested 
in a personal setup.

>  * is there something like a build/test robot for patches and/or branches?
Not yet. Tested a travis based setup in github. Testing wasn't successful due 
to the resource restrictions
(mainly storage) there.

>  * should we use the master-next branch for staging new patches?

Preferably - yes.

>  * is there a reason for not having OpenJDK >8 recipes?

Nothing that I can remember :)

>  * if the above is answered with something like "because nobody submitted 
> them": Should we try to follow the current OpenJDK release model (a feature 
> release every six month)?

+1, That will be nice. 

>  * based on what scheduling are the stable branches created? Yocto Project 
> release dates I guess?

Yes.

>  * what kind of patches should be applied/backported to the stable branches?

Depends. Mostly security based patches and others, based on urgency/demand.

> 
> I think that's all for now (but presumably some more question will follow 
> during the next weeks) ;-)
>
> regards;Richard.L

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] opnejdk from meta-java for aarm64 ?

2018-04-09 Thread Maxin B. John
Hi,

On Mon, Apr 09, 2018 at 08:22:50AM +, Szczypta, Marek wrote:
> Hi ,
> 
> I tried to compile the openjdk from meta-java layer for aarm64  . The master 
> branch claims that is should work for u161b15 . But after I set up the build 
> it tries to build u162b12 for which it fail as there is no support for aarm64 
> . Do you know if this is working ? or how to set up it up correctly so I can 
> use the u161b15 ? I found there is 162b12.bb file but no 161b15 only 
> openjdk-8_16xbyy.bb ?

openjdk-8 was build/run tested on the latest meta-java master branch for 
qemuarm64. 
Can you please share the changes made to the local.conf?

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] ell: upgrade to version 0.4

2018-04-06 Thread Maxin B. John
1. Upgrade to version 0.4 and rename from _git to exact version _0.4
2. Fix build issues with musl libc

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../ell/0001-ell-fix-build-with-musl-libc.patch| 39 ++
 .../recipes-core/ell/{ell_git.bb => ell_0.4.bb}|  6 ++--
 2 files changed, 43 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-core/ell/ell/0001-ell-fix-build-with-musl-libc.patch
 rename meta-oe/recipes-core/ell/{ell_git.bb => ell_0.4.bb} (64%)

diff --git 
a/meta-oe/recipes-core/ell/ell/0001-ell-fix-build-with-musl-libc.patch 
b/meta-oe/recipes-core/ell/ell/0001-ell-fix-build-with-musl-libc.patch
new file mode 100644
index 000..a172a93
--- /dev/null
+++ b/meta-oe/recipes-core/ell/ell/0001-ell-fix-build-with-musl-libc.patch
@@ -0,0 +1,39 @@
+From 4f8c68757b05d12392cd1a8aed174cb8e56f80e3 Mon Sep 17 00:00:00 2001
+From: "Maxin B. John" <maxin.j...@intel.com>
+Date: Thu, 5 Apr 2018 17:19:44 +0300
+Subject: [PATCH] ell: fix build with musl libc
+
+musl libc doesn't implement TEMP_FAILURE_RETRY. Use the
+TEMP_FAILURE_RETRY from glibc to fix build.
+
+Upstream-Status: Submitted 
[https://lists.01.org/pipermail/ell/2018-April/001209.html]
+
+Signed-off-by: Maxin B. John <maxin.j...@intel.com>
+---
+ ell/dbus.h | 10 ++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/ell/dbus.h b/ell/dbus.h
+index a7c08d2..3ff5e0f 100644
+--- a/ell/dbus.h
 b/ell/dbus.h
+@@ -28,6 +28,16 @@
+ #include 
+ #include 
+ 
++/* taken from glibc unistd.h for musl support */
++#ifndef TEMP_FAILURE_RETRY
++#define TEMP_FAILURE_RETRY(expression) \
++  (__extension__   \
++({ long int __result;  \
++   do __result = (long int) (expression);  \
++   while (__result == -1L && errno == EINTR);  \
++   __result; }))
++#endif
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+-- 
+2.4.0
+
diff --git a/meta-oe/recipes-core/ell/ell_git.bb 
b/meta-oe/recipes-core/ell/ell_0.4.bb
similarity index 64%
rename from meta-oe/recipes-core/ell/ell_git.bb
rename to meta-oe/recipes-core/ell/ell_0.4.bb
index 4354974..1524bd6 100644
--- a/meta-oe/recipes-core/ell/ell_git.bb
+++ b/meta-oe/recipes-core/ell/ell_0.4.bb
@@ -7,8 +7,10 @@ SECTION = "libs"
 inherit autotools pkgconfig
 
 S = "${WORKDIR}/git"
-SRCREV = "8192131685be0f27d6f51b14b78ef93fa7f3c692"
-SRC_URI = "git://git.kernel.org/pub/scm/libs/ell/ell.git"
+SRCREV = "b4aea06fabb2af1af01f861f8f394c75950b6d47"
+SRC_URI = "git://git.kernel.org/pub/scm/libs/ell/ell.git \
+   file://0001-ell-fix-build-with-musl-libc.patch \
+  "
 
 do_configure_prepend () {
 mkdir ${S}/build-aux
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] Recent updates to meta-java (master)

2018-03-01 Thread Maxin B. John
Hi All,

Pushed the following updates to meta-java:

* dd5c43f :2018-03-01 - jdepend: give the downloaded file a reasonable name 

* 9ea2b2a :2018-02-28 - classpath: remove unused patch 
* fbe0b0e :2018-01-18 - (origin/rocko) openjdk-8: strip leading non digit chars 
from GCCVERSION 

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] BUG: openjre-8 won't compile on qemux86/ latest meta-java repo

2018-03-01 Thread Maxin B. John
Hi,

On Wed, Feb 28, 2018 at 12:58:09PM +, nick83ola wrote:
> $ bitbake openjre-8
 
> (virtual:native:/home/nicklunghi/src/yocto-openhab/sources/meta-java/recipes-core/classpathx/gnujaf_1.1.1.bb:do_compile)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 956 tasks of which 946 didn't need to be
> rerun and 2 failed.
> 
> Summary: 2 tasks failed:
> 
> virtual:native:/home/nicklunghi/src/yocto-openhab/sources/meta-java/recipes-core/xml-commons/jaxp1.3_1.4.01.bb:
> do_compile
> 
> virtual:native:/home/nicklunghi/src/yocto-openhab/sources/meta-java/recipes-core/classpathx/gnujaf_1.1.1.bb:
> do_compile

Please share details about the build machine and 
"PREFERRED_PROVIDER_virtual/java*" settings in your local.conf.
(fired an openjre-8 for qemux86 build on a fedora 22 and it was successful with 
meta-java master branch)

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 5/5] gst-ffmpeg: remove leftover patch

2018-02-28 Thread Maxin B. John
Remove the following left-over patch from gst-ffmpeg package which was removed
earlier:
lower-rank.diff

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../gstreamer-0.10/gst-ffmpeg-0.10.13/lower-rank.diff| 16 
 1 file changed, 16 deletions(-)
 delete mode 100644 
meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-ffmpeg-0.10.13/lower-rank.diff

diff --git 
a/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-ffmpeg-0.10.13/lower-rank.diff
 
b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-ffmpeg-0.10.13/lower-rank.diff
deleted file mode 100644
index 5f08afe..000
--- 
a/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-ffmpeg-0.10.13/lower-rank.diff
+++ /dev/null
@@ -1,16 +0,0 @@
-Lower the rank of ffmpeg plugin so codecs that hook into accelerated pieces 
(e.g. dsp or hw engines) can get picked over this
-Derived from OE by Dongxiao Xu <dongxiao...@intel.com>
-
-Upstream-Status: Inappropriate [embedded specific]
-
 /tmp/gstffmpegdec.c2009-03-05 09:31:15.0 +0100
-+++ gst-ffmpeg-0.10.6/ext/ffmpeg/gstffmpegdec.c2009-03-05 
09:33:09.0 +0100
-@@ -2588,7 +2588,7 @@
-   case CODEC_ID_MSMPEG4V3:
-   case CODEC_ID_H264:
-   case CODEC_ID_COOK:
--rank = GST_RANK_PRIMARY;
-+rank = GST_RANK_SECONDARY;
- break;
-   case CODEC_ID_DVVIDEO:
- /* we have a good dv decoder, fast on both ppc as well as x86. they 
say
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 4/5] libeigen: remove unused patch

2018-02-28 Thread Maxin B. John
Remove the following unused patch:
0001-CMakeLists.txt-install-FindEigen3.cmake-script.patch

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 ...Lists.txt-install-FindEigen3.cmake-script.patch | 28 --
 1 file changed, 28 deletions(-)
 delete mode 100644 
meta-oe/recipes-support/libeigen/libeigen/0001-CMakeLists.txt-install-FindEigen3.cmake-script.patch

diff --git 
a/meta-oe/recipes-support/libeigen/libeigen/0001-CMakeLists.txt-install-FindEigen3.cmake-script.patch
 
b/meta-oe/recipes-support/libeigen/libeigen/0001-CMakeLists.txt-install-FindEigen3.cmake-script.patch
deleted file mode 100644
index 761dadb..000
--- 
a/meta-oe/recipes-support/libeigen/libeigen/0001-CMakeLists.txt-install-FindEigen3.cmake-script.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From fd8bc66efac1059c1068f804746b01b90177c333 Mon Sep 17 00:00:00 2001
-From: Lukas Bulwahn <lukas.bulw...@oss.bmw-carit.de>
-Date: Sun, 18 Oct 2015 16:52:25 +0200
-Subject: [PATCH] CMakeLists.txt: install FindEigen3.cmake script
-
-Upstream-Status: Pending
-
-Signed-off-by: Lukas Bulwahn <lukas.bulw...@oss.bmw-carit.de>

- CMakeLists.txt | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 76a11b9..ec6c6ea 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -342,6 +342,8 @@ if(EIGEN_BUILD_PKGCONFIG)
- )
- endif(EIGEN_BUILD_PKGCONFIG)
- 
-+install(FILES "${PROJECT_SOURCE_DIR}/cmake/FindEigen3.cmake" DESTINATION 
"${CMAKE_INSTALL_PREFIX}/share/cmake/Modules")
-+
- add_subdirectory(Eigen)
- 
- add_subdirectory(doc EXCLUDE_FROM_ALL)
--- 
-1.9.3
-
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 2/5] breakpad: remove unused patch

2018-02-28 Thread Maxin B. John
Remove the following unused patch:
0005-Import-necessary-definitions-from-stab.h.patch

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 ...-Import-necessary-definitions-from-stab.h.patch | 199 -
 1 file changed, 199 deletions(-)
 delete mode 100644 
meta-oe/recipes-devtools/breakpad/breakpad/0005-Import-necessary-definitions-from-stab.h.patch

diff --git 
a/meta-oe/recipes-devtools/breakpad/breakpad/0005-Import-necessary-definitions-from-stab.h.patch
 
b/meta-oe/recipes-devtools/breakpad/breakpad/0005-Import-necessary-definitions-from-stab.h.patch
deleted file mode 100644
index 80de8c6..000
--- 
a/meta-oe/recipes-devtools/breakpad/breakpad/0005-Import-necessary-definitions-from-stab.h.patch
+++ /dev/null
@@ -1,199 +0,0 @@
-From fa7a3b7312307acad0045549d5f306e7fd117804 Mon Sep 17 00:00:00 2001
-From: Felix Janda <felix.ja...@posteo.de>
-Date: Sun, 1 Feb 2015 14:34:44 +0100
-Subject: [PATCH 5/6] Import necessary definitions from stab.h
-

- configure.ac|   1 -
- src/common/android/include/stab.h   | 100 
- src/common/common.gyp   |   1 -
- src/common/stabs_reader.cc  |   1 -
- src/common/stabs_reader.h   |  13 +++--
- src/common/stabs_reader_unittest.cc |   1 -
- 6 files changed, 10 insertions(+), 107 deletions(-)
- delete mode 100644 src/common/android/include/stab.h
-
-diff --git a/configure.ac b/configure.ac
-index 2223920..0e55cd9 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -73,7 +73,6 @@ AC_HEADER_STDC
- AC_SYS_LARGEFILE
- m4_include(m4/ax_pthread.m4)
- AX_PTHREAD
--AC_CHECK_HEADERS([a.out.h])
- 
- # Only build Linux client libs when compiling for Linux
- case $host in
-diff --git a/src/common/android/include/stab.h 
b/src/common/android/include/stab.h
-deleted file mode 100644
-index cd92902..000
 a/src/common/android/include/stab.h
-+++ /dev/null
-@@ -1,100 +0,0 @@
--// Copyright (c) 2012, Google Inc.
--// All rights reserved.
--//
--// Redistribution and use in source and binary forms, with or without
--// modification, are permitted provided that the following conditions are
--// met:
--//
--// * Redistributions of source code must retain the above copyright
--// notice, this list of conditions and the following disclaimer.
--// * Redistributions in binary form must reproduce the above
--// copyright notice, this list of conditions and the following disclaimer
--// in the documentation and/or other materials provided with the
--// distribution.
--// * Neither the name of Google Inc. nor the names of its
--// contributors may be used to endorse or promote products derived from
--// this software without specific prior written permission.
--//
--// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
--// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
--// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
--// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
--// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
--// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
--// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
--// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
--// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
--// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
--// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--
--#ifndef GOOGLE_BREAKPAD_COMMON_ANDROID_INCLUDE_STAB_H
--#define GOOGLE_BREAKPAD_COMMON_ANDROID_INCLUDE_STAB_H
--
--#include 
--
--#ifdef __BIONIC_HAVE_STAB_H
--#include 
--#else
--
--#ifdef __cplusplus
--extern "C" {
--#endif  // __cplusplus
--
--#define _STAB_CODE_LIST   \
--  _STAB_CODE_DEF(UNDF,0x00)   \
--  _STAB_CODE_DEF(GSYM,0x20)   \
--  _STAB_CODE_DEF(FNAME,0x22)  \
--  _STAB_CODE_DEF(FUN,0x24)\
--  _STAB_CODE_DEF(STSYM,0x26)  \
--  _STAB_CODE_DEF(LCSYM,0x28)  \
--  _STAB_CODE_DEF(MAIN,0x2a)   \
--  _STAB_CODE_DEF(PC,0x30) \
--  _STAB_CODE_DEF(NSYMS,0x32)  \
--  _STAB_CODE_DEF(NOMAP,0x34)  \
--  _STAB_CODE_DEF(OBJ,0x38)\
--  _STAB_CODE_DEF(OPT,0x3c)\
--  _STAB_CODE_DEF(RSYM,0x40)   \
--  _STAB_CODE_DEF(M2C,0x42)\
--  _STAB_CODE_DEF(SLINE,0x44)  \
--  _STAB_CODE_DEF(DSLINE,0x46) \
--  _STAB_CODE_DEF(BSLINE,0x48) \
--  _STAB_CODE_DEF(BROWS,0x48)  \
--  _STAB_CODE_DEF(DEFD,0x4a)   \
--  _STAB_CODE_DEF(EHDECL,0x50) \
--  _STAB_CODE_DEF(MOD2,0x50)   \
--  _STAB_CODE_DEF(CATCH,0x54)  \
--  _STAB_CODE_DEF(SSYM,0x60)   \
--  _STAB_CODE_DEF(SO,0x64) \
--  _STAB_CODE_DEF(LSYM,0x80)   \
--  _STAB_CODE_DEF(BINCL,0x82)  \
--  _STAB_CODE_DEF(SOL,0x84)\
--  _STAB_CODE_DEF(PSYM,0xa0)   \
--  _STAB_CODE_DEF(EINCL,0xa2)  \
--  _STAB_CODE_DEF(ENTRY,0xa4)  \
--  _STAB_CODE_DEF(LBRAC,0xc0)  \
--  _STAB_CODE_DEF(EXCL,0xc2)   \
--  _STAB_CODE_DEF(SCOPE,0

[oe] [PATCH 1/5] nautilus: remove unused patches

2018-02-28 Thread Maxin B. John
remove the following unused patch from nautilus and nautilus3:
no-try-run-strftime.diff

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../nautilus/nautilus/no-try-run-strftime.diff | 28 ---
 .../nautilus/nautilus3/no-try-run-strftime.diff| 41 --
 2 files changed, 69 deletions(-)
 delete mode 100644 
meta-gnome/recipes-gnome/nautilus/nautilus/no-try-run-strftime.diff
 delete mode 100644 
meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff

diff --git 
a/meta-gnome/recipes-gnome/nautilus/nautilus/no-try-run-strftime.diff 
b/meta-gnome/recipes-gnome/nautilus/nautilus/no-try-run-strftime.diff
deleted file mode 100644
index ccd2934..000
--- a/meta-gnome/recipes-gnome/nautilus/nautilus/no-try-run-strftime.diff
+++ /dev/null
@@ -1,28 +0,0 @@
 /tmp/configure.in  2009-04-13 11:26:43.0 +0200
-+++ nautilus-2.26.1/configure.in   2009-04-13 11:28:37.0 +0200
-@@ -375,25 +375,6 @@
- 
- dnl 
===
- 
--dnl strftime checks
--
--AC_TRY_RUN([#include 
--int main ()
--{
--  char buf[100];
--  struct tm tm = {0};
--  tm.tm_year = 99;
--  if (strftime(buf, 100, "%EY", ) == 4 &&
--strcmp (buf, "1999")==0)
--return 0;
--  return 1;
--}
--],
--  AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports 
%E and %O modifiers.])
--)
--
--dnl 
===
--
- #
- # Checks for Xft/XRender
- #
diff --git 
a/meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff 
b/meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff
deleted file mode 100644
index 56d2e15..000
--- a/meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff
+++ /dev/null
@@ -1,41 +0,0 @@
-From dc9c8cf2676c8c91ea0ae250cfedf863352f3ccd Mon Sep 17 00:00:00 2001
-From: Koen Kooi <k...@dominion.thruhere.net>
-Date: Fri, 24 Jun 2011 20:24:08 +0200
-Subject: [PATCH] hack out check that tries to run generated binaries
-
-Signed-off-by: Koen Kooi <k...@dominion.thruhere.net>

- configure.in |   17 +
- 1 files changed, 1 insertions(+), 16 deletions(-)
-
-diff --git a/configure.in b/configure.in
-index c3aa371..1d3ecdc 100644
 a/configure.in
-+++ b/configure.in
-@@ -251,22 +251,7 @@ AC_SUBST(WARNING_CFLAGS)
- 
- dnl 
===
- 
--dnl strftime checks
--
--AC_TRY_RUN([#include 
--int main ()
--{
--  char buf[100];
--  struct tm tm = {0};
--  tm.tm_year = 99;
--  if (strftime(buf, 100, "%EY", ) == 4 &&
--strcmp (buf, "1999")==0)
--return 0;
--  return 1;
--}
--],
--  AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports 
%E and %O modifiers.])
--)
-+AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O 
modifiers.])
- 
- dnl ==
-   
--- 
-1.6.6.1
-
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 0/5] remove unused patches

2018-02-28 Thread Maxin B. John
Some patches are unused and some were not removed during the cleanup process.
Detected using this silly python script:

import os
import subprocess

patches = subprocess.check_output(("git", "ls-files", 
"*.patch","*.diff")).decode("utf-8").split()
for patch in patches:
patchname=os.path.basename(patch)
result = subprocess.check_output(("git", "grep", 
patchname)).decode("utf-8").splitlines()
print(result)

Maxin B. John (5):
  nautilus: remove unused patches
  breakpad: remove unused patch
  flite: remove leftover patch
  libeigen: remove unused patch
  gst-ffmpeg: remove leftover patch

 .../nautilus/nautilus/no-try-run-strftime.diff |   28 -
 .../nautilus/nautilus3/no-try-run-strftime.diff|   41 -
 .../gst-ffmpeg-0.10.13/lower-rank.diff |   16 -
 ...-Import-necessary-definitions-from-stab.h.patch |  199 -
 .../flite-alsa-1.3/flite-1.3-alsa_support-1.2.diff | 6615 
 ...Lists.txt-install-FindEigen3.cmake-script.patch |   28 -
 6 files changed, 6927 deletions(-)
 delete mode 100644 
meta-gnome/recipes-gnome/nautilus/nautilus/no-try-run-strftime.diff
 delete mode 100644 
meta-gnome/recipes-gnome/nautilus/nautilus3/no-try-run-strftime.diff
 delete mode 100644 
meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-ffmpeg-0.10.13/lower-rank.diff
 delete mode 100644 
meta-oe/recipes-devtools/breakpad/breakpad/0005-Import-necessary-definitions-from-stab.h.patch
 delete mode 100644 
meta-oe/recipes-support/flite/flite-alsa-1.3/flite-1.3-alsa_support-1.2.diff
 delete mode 100644 
meta-oe/recipes-support/libeigen/libeigen/0001-CMakeLists.txt-install-FindEigen3.cmake-script.patch

-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python][PATCH] python-evdev: add python3 version of the recipe

2018-02-20 Thread Maxin B. John
Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta-python/recipes-devtools/python/python-evdev.inc| 15 +++
 .../recipes-devtools/python/python-evdev_0.7.0.bb   | 17 +
 .../recipes-devtools/python/python3-evdev_0.7.0.bb  |  2 ++
 3 files changed, 18 insertions(+), 16 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-evdev.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-evdev_0.7.0.bb

diff --git a/meta-python/recipes-devtools/python/python-evdev.inc 
b/meta-python/recipes-devtools/python/python-evdev.inc
new file mode 100644
index 000..ccd5077
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-evdev.inc
@@ -0,0 +1,15 @@
+SUMMARY = "Python evdev lib"
+HOMEPAGE = "https://github.com/gvalkov/python-evdev;
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2"
+
+SRC_URI[md5sum] = "c7e855ae9f97f869a59e75b29f05ce74"
+SRC_URI[sha256sum] = 
"57edafc469a414f58b51af1bfb9ee2babb9f626dd2df530d71c1176871850aa1"
+
+RDEPENDS_${PN} += "\
+${PYTHON_PN}-ctypes \
+${PYTHON_PN}-fcntl \
+${PYTHON_PN}-io \
+${PYTHON_PN}-shell \
+${PYTHON_PN}-stringold \
+"
diff --git a/meta-python/recipes-devtools/python/python-evdev_0.7.0.bb 
b/meta-python/recipes-devtools/python/python-evdev_0.7.0.bb
index 0875da4..6354136 100644
--- a/meta-python/recipes-devtools/python/python-evdev_0.7.0.bb
+++ b/meta-python/recipes-devtools/python/python-evdev_0.7.0.bb
@@ -1,17 +1,2 @@
-SUMMARY = "Python evdev lib"
-HOMEPAGE = "https://github.com/gvalkov/python-evdev;
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2"
-
-SRC_URI[md5sum] = "c7e855ae9f97f869a59e75b29f05ce74"
-SRC_URI[sha256sum] = 
"57edafc469a414f58b51af1bfb9ee2babb9f626dd2df530d71c1176871850aa1"
-
 inherit pypi setuptools
-
-RDEPENDS_${PN} += "\
-${PYTHON_PN}-ctypes \
-${PYTHON_PN}-fcntl \
-${PYTHON_PN}-io \
-${PYTHON_PN}-shell \
-${PYTHON_PN}-stringold \
-"
+require python-evdev.inc
diff --git a/meta-python/recipes-devtools/python/python3-evdev_0.7.0.bb 
b/meta-python/recipes-devtools/python/python3-evdev_0.7.0.bb
new file mode 100644
index 000..3a92b6e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-evdev_0.7.0.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-evdev.inc
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] classes/recipes: Convert SkipPackage -> SkipRecipe

2018-01-26 Thread Maxin B. John
Update following the SkipPackage -> SkipRecipe change in oe-core.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb | 2 +-
 meta-networking/recipes-support/nis/nis.inc  | 2 +-
 meta-oe/classes/gitver.bbclass   | 2 +-
 meta-oe/recipes-support/ne10/ne10_1.2.1.bb   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb 
b/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb
index 6b845bd..3a8d9f7 100644
--- a/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb
+++ b/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb
@@ -8,5 +8,5 @@ IMAGE_INSTALL = "kexecboot-klibc kexec-klibc ubiattach-klibc"
 
 python () {
 if d.getVar('TARGET_ARCH') == "nios2":
-raise bb.parse.SkipPackage("'nios2' not supported arch")
+raise bb.parse.SkipRecipe("'nios2' not supported arch")
 }
diff --git a/meta-networking/recipes-support/nis/nis.inc 
b/meta-networking/recipes-support/nis/nis.inc
index e027a1c..200eaf7 100644
--- a/meta-networking/recipes-support/nis/nis.inc
+++ b/meta-networking/recipes-support/nis/nis.inc
@@ -27,5 +27,5 @@ do_install() {
 python () {
 os = d.getVar("TARGET_OS", True)
 if os == "linux-uclibc":
-raise bb.parse.SkipPackage("NIS functionality requires rpcsvc/yp.h, 
uClibC does not provide this")
+raise bb.parse.SkipRecipe("NIS functionality requires rpcsvc/yp.h, 
uClibC does not provide this")
 }
diff --git a/meta-oe/classes/gitver.bbclass b/meta-oe/classes/gitver.bbclass
index 380374a..07f44c3 100644
--- a/meta-oe/classes/gitver.bbclass
+++ b/meta-oe/classes/gitver.bbclass
@@ -36,7 +36,7 @@ def get_git_pv(d, tagadjust=None):
 return "0.0"
 
 except Exception as exc:
-raise bb.parse.SkipPackage(str(exc))
+raise bb.parse.SkipRecipe(str(exc))
 
 if ver and tagadjust:
 ver = tagadjust(ver)
diff --git a/meta-oe/recipes-support/ne10/ne10_1.2.1.bb 
b/meta-oe/recipes-support/ne10/ne10_1.2.1.bb
index e5b50ce..76e0741 100644
--- a/meta-oe/recipes-support/ne10/ne10_1.2.1.bb
+++ b/meta-oe/recipes-support/ne10/ne10_1.2.1.bb
@@ -29,7 +29,7 @@ python () {
 d.setVar('NE10_TARGET_ARCH', 'aarch64')
 bb.debug(2, 'Building Ne10 for aarch64')
 else:
-raise bb.parse.SkipPackage("Incompatible with archs other than armv7 
and aarch64")
+raise bb.parse.SkipRecipe("Incompatible with archs other than armv7 
and aarch64")
 }
 
 do_install() {
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] openjdk-7: fix compile errors with current poky master (gcc6)

2018-01-08 Thread Maxin B. John
Hi,

On Mon, Jan 08, 2018 at 12:22:11PM +, Diaz de Grenu, Jose wrote:
> -Original Message-
> From: Mittal, Anuj [mailto:anuj.mit...@intel.com] 
> 
> > You can prefix your subject with branch name like [morty][PATCH] ...
> 
> Thanks!
> 
> Should I resend it?

No need to resend it. Pushed to morty branch now.

Thanks!

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] ell: Upgrade SRCREV

2018-01-05 Thread Maxin B. John
Upgrade to:
8192131 : dbus: Fix setup in l_dbus_proxy_method_call

This is a requirement for BTP client tool support in Bluez5.
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=f68235b2c03235695837abfb6d7ceebacbf14dd9

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta-oe/recipes-core/ell/ell_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-core/ell/ell_git.bb 
b/meta-oe/recipes-core/ell/ell_git.bb
index 10df6e1..4354974 100644
--- a/meta-oe/recipes-core/ell/ell_git.bb
+++ b/meta-oe/recipes-core/ell/ell_git.bb
@@ -7,7 +7,7 @@ SECTION = "libs"
 inherit autotools pkgconfig
 
 S = "${WORKDIR}/git"
-SRCREV = "7b7c15c2e5caff88fc45e7a8b874a47196a0eddd"
+SRCREV = "8192131685be0f27d6f51b14b78ef93fa7f3c692"
 SRC_URI = "git://git.kernel.org/pub/scm/libs/ell/ell.git"
 
 do_configure_prepend () {
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH 0/7] Several fixes for java/ant recipes

2018-01-03 Thread Maxin B. John
Hi,

On Wed, Jan 03, 2018 at 02:47:23AM +0100, liu.min...@gmail.com wrote:
> From: Ming Liu 
> 
> Ming Liu (7):
>   meta: drop redundant DEPENDS_virtcalss-native definitions
>   meta: drop deprecated virtclass-native
>   commons-cli: extend native bbclass
>   commons-codec: extend native bbclass

>   commons-httpclient: extend native bbclass

The above listed patch (PATCH 5/7) seems to be missing here. Please resend it.

>   jamvm: avoid checking x11 distro feature for native build
>   ant-contrib-native: add recipe
> 
>  .../ant-contrib/ant-contrib-native_1.0b3.bb| 37 
> ++
>  recipes-core/bcel/bcel_5.2.bb  |  2 --
>  recipes-core/cup/cup_0.10k.bb  |  2 +-
>  recipes-core/jakarta-commons/commons-cli_1.1.bb|  4 +--
>  recipes-core/jakarta-commons/commons-codec_1.3.bb  |  2 ++
>  .../jakarta-commons/commons-httpclient_3.1.bb  |  4 ++-
>  .../jakarta-commons/commons-logging_1.1.1.bb   |  1 -
>  recipes-core/jakarta-commons/commons-net_1.4.1.bb  |  3 +-
>  recipes-core/jakarta-libs/bsf_2.4.0.bb |  1 -
>  recipes-core/jakarta-libs/log4j1.2_1.2.17.bb   |  1 -
>  recipes-core/jakarta-libs/logkit_1.2.2.bb  |  1 -
>  recipes-core/jamvm/jamvm.inc   | 17 +-
>  recipes-core/jamvm/jamvm_git.bb|  4 ---
>  recipes-core/jcraft/jsch_0.1.40.bb |  3 +-
>  recipes-core/jikes/jikes_1.22.bb   |  4 +--
>  recipes-core/jlex/jlex_1.2.6.bb|  2 +-
>  recipes-core/rhino/rhino_1.7r4.bb  |  2 +-
>  recipes-core/xalan-j/xalan-j_2.7.1.bb  |  3 --
>  recipes-core/xerces-j/xerces-j_2.11.0.bb   |  3 +-
>  .../xml-commons/xml-commons-resolver1.1_1.2.bb |  1 -
>  20 files changed, 61 insertions(+), 36 deletions(-)
>  create mode 100644 recipes-core/ant-contrib/ant-contrib-native_1.0b3.bb
> 
> -- 

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH 2/2] openjdk-8-native: Fix sigsegv with gcc7

2017-09-26 Thread Maxin B. John
Hi,

On Tue, Sep 26, 2017 at 01:26:22PM +0200, Ricardo Ribalda Delgado wrote:
> Ping?

Pushed these 3 patches to master-next. Sorry for the delay.

Best Regards,
Maxin

> On Thu, Sep 7, 2017 at 10:51 AM, Ricardo Ribalda Delgado
>  wrote:
> > OpenJDK does not build properly with GCC7. Add the same workaround that
> > we have for GCC6.
> >
> > Without this patch:
> >
> > | #
> > | # A fatal error has been detected by the Java Runtime Environment:
> > | #
> > | #  SIGSEGV (0xb) at pc=0x7fcad0efcd5b, pid=17206, 
> > tid=0x7fcab264c700
> > | #
> > | # JRE version: OpenJDK Runtime Environment (8.0_102-b14) (build 
> > 1.8.0_102-internal-b14)
> > | # Java VM: OpenJDK 64-Bit Server VM (25.102-b14 mixed mode linux-amd64 
> > compressed oops)
> > | # Problematic frame:
> > | # V  [libjvm.so+0x78bd5b]  Node::Node(unsigned int)+0x2b
> > | #
> > | # Failed to write core dump. Core dumps have been disabled. To enable 
> > core dumping, try "ulimit -c unlimited" before starting Java again
> > | #
> > | # An error report file with more information is saved as:
> > | # 
> > /home/ricardo/curro/qt5022/build-qt5022-pyro/build/tmp/work/x86_64-linux/openjdk-8-native/102b14-r0/build/hs_err_pid17206.log
> > | [thread 140508549912320 also had an error]
> > |
> > | [error occurred during error reporting , id 0xb]
> > |
> > | #
> > | # If you would like to submit a bug report, please visit:
> > | #   http://bugreport.java.com/bugreport/crash.jsp
> > | #
> >
> > Signed-off-by: Ricardo Ribalda Delgado 
> > ---
> >  recipes-core/openjdk/openjdk-8-common.inc | 7 ---
> >  1 file changed, 4 insertions(+), 3 deletions(-)
> >
> > diff --git a/recipes-core/openjdk/openjdk-8-common.inc 
> > b/recipes-core/openjdk/openjdk-8-common.inc
> > index def779db4d59..0c5c2c3e3d2f 100644
> > --- a/recipes-core/openjdk/openjdk-8-common.inc
> > +++ b/recipes-core/openjdk/openjdk-8-common.inc
> > @@ -218,10 +218,11 @@ EXTRA_OECONF_append = "\
> >  --with-update-version=${OPENJDK_UPDATE_VERSION} \
> >  "
> >
> > -# GCC 6 sets the default C++ standard to C++14 and introduces dead store
> > -# elimination by default. OpenJDK 8 is not ready for either of these
> > -# changes.
> > +# Since v6, GCC sets the default C++ standard to C++14 and introduces
> > +# dead store elimination by default. OpenJDK 8 is not ready for either
> > +# of these changes.
> >  FLAGS_GCC6 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
> > +FLAGS_GCC7 = "-fno-lifetime-dse -fno-delete-null-pointer-checks"
> >
> >  # All supported cross compilers support the compiler flags that were
> >  # added to make compilation with gcc6 work. But the host compiler for
> > --
> > 2.14.1
> >
> 
> 
> 
> -- 
> Ricardo Ribalda
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] java-library.bbclass: compatibility with per-recipe sysroots

2017-07-21 Thread Maxin B. John
Hi,

On Wed, Jul 12, 2017 at 01:36:34AM -0700, S. Lockwood-Childs wrote:
> The removebinaries task was intended to remove pre-built .jar and .class files
> from the unpacked source, but when per-recipe sysroots were implemented and
> ended up under WORKDIR, .jar or .class in those sysroots inadvertently 
> started 
> getting killed as well.
> 
> For instance, 
> ${WORKDIR}/recipe-sysroot-native/usr/share/java/ecj-bootstrap.jar
> was deleted when attempting to build jlex-native... which made javac in
> that sysroot rather unhappy.
> 
> Solve by excluding both recipe-sysroot and recipe-sysroot-native dirs
> from the search-and-destroy operation.
> 
> Signed-off-by: S. Lockwood-Childs 
> ---
>  classes/java-library.bbclass | 6 --
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass
> index 58d5a40..ce1cd28 100644
> --- a/classes/java-library.bbclass
> +++ b/classes/java-library.bbclass
> @@ -50,8 +50,10 @@ ALTJARFILENAMES = "${BPN}.jar"
>  # Java "source" distributions often contain precompiled things
>  # we want to delete first.
>  do_removebinaries() {
> -  find ${WORKDIR} -name "*.jar" -exec rm {} \;
> -  find ${WORKDIR} -name "*.class" -exec rm {} \;
> +  find ${WORKDIR} ! -path "${RECIPE_SYSROOT}/*" ! -path 
> "${RECIPE_SYSROOT_NATIVE}/*" \
> +  -name "*.jar" -exec rm {} \;
> +  find ${WORKDIR} ! -path "${RECIPE_SYSROOT}/*" ! -path 
> "${RECIPE_SYSROOT_NATIVE}/*" \
> +  -name "*.class" -exec rm {} \;
>  }
>  
>  addtask removebinaries after do_unpack before do_patch
> -- 
> 1.9.4
>

Thanks, Pushed to master.

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] Intel: remove license file

2017-07-11 Thread Maxin B. John
This license was added to fix warnings with acpitests.

acpitests recipe was moved to oe-core with this commit:
OE-Core rev: 020f7ea3aa5c1f311841d4fb16bc525ae1dd5f11

Remove this file as it is not used anymore.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta-oe/licenses/Intel | 21 -
 1 file changed, 21 deletions(-)
 delete mode 100644 meta-oe/licenses/Intel

diff --git a/meta-oe/licenses/Intel b/meta-oe/licenses/Intel
deleted file mode 100644
index eb81dd7..000
--- a/meta-oe/licenses/Intel
+++ /dev/null
@@ -1,21 +0,0 @@
-License for Contributions to ACPICA
-
-Copyright (c) 2000 – 2015 Intel Corp.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this 
list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright notice, 
this list of conditions and the following disclaimer in the documentation 
and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINES
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] ser2net: upgrade to version 3.4

2017-07-03 Thread Maxin B. John
2.9.1 -> 3.4

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../recipes-connectivity/ser2net/{ser2net_2.9.1.bb => ser2net_3.4.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-connectivity/ser2net/{ser2net_2.9.1.bb => 
ser2net_3.4.bb} (71%)

diff --git a/meta-oe/recipes-connectivity/ser2net/ser2net_2.9.1.bb 
b/meta-oe/recipes-connectivity/ser2net/ser2net_3.4.bb
similarity index 71%
rename from meta-oe/recipes-connectivity/ser2net/ser2net_2.9.1.bb
rename to meta-oe/recipes-connectivity/ser2net/ser2net_3.4.bb
index 288c586..708650f 100644
--- a/meta-oe/recipes-connectivity/ser2net/ser2net_2.9.1.bb
+++ b/meta-oe/recipes-connectivity/ser2net/ser2net_3.4.bb
@@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=bae3019b4c6dc4138c217864bd04331f"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/project/ser2net/ser2net/ser2net-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "80011ac0e60bbdcb65f1d7a86251e3f3"
-SRC_URI[sha256sum] = 
"fdee1e69903cf409bdc6f32403a566cbc6006aa9e2a4d6f8f12b90dfd5ca0d0e"
+SRC_URI[md5sum] = "562274d783534276a9feac913b7d8c4e"
+SRC_URI[sha256sum] = 
"d846066e27c3072565990745d030357aa0c278f96b7d1d4f59023347c1db8824"
 
 inherit autotools pkgconfig
 
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] openjdk-7: fix compile errors with current poky master (gcc6)

2017-04-28 Thread Maxin B. John
Hi,

On Wed, Apr 26, 2017 at 03:39:12PM +0200, Richard Leitner wrote:
> Using the current poky master openjdk-7 wasn't buildable. This patch
> fixes those problems by adding three more patches to openjdk-7.
> 
> These patches basically add/fix GCC6 support. Furthermore the
> LDFLAGS_HASH_STYLE variable (which was removed by the
> icedtea-crosscompile-fix.patch) is re-introduced and set to "both" for
> compatibility reasons.
> 
> Following two patches were originally written by Abdur Rehman and taken
> from meta-mentor [1]:
>   icedtea-flags-to-compile-with-GCC-6.patch
>   icedtea-specify-overloaded-variant-of-fmod.patch
> 
> [1] https://github.com/MentorEmbedded/meta-mentor
> 
> Signed-off-by: Richard Leitner 
> ---

Pushed to master-next. Thanks !

Warm Regards,
Maxin

>  recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb  | 12 +++-
>  .../icedtea-crosscompile-fix.patch |  3 +-
>  .../icedtea-flags-to-compile-with-GCC-6.patch  | 74 
> ++
>  ...icedtea-hotspot-fix-string-literal-marcos.patch | 26 
>  ...cedtea-specify-overloaded-variant-of-fmod.patch | 28 
>  5 files changed, 141 insertions(+), 2 deletions(-)
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-7/icedtea-flags-to-compile-with-GCC-6.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-7/icedtea-hotspot-fix-string-literal-marcos.patch
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-7/icedtea-specify-overloaded-variant-of-fmod.patch
> 
> diff --git a/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb 
> b/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb
> index eba353e..aa165f5 100644
> --- a/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb
> +++ b/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb
> @@ -51,6 +51,9 @@ ICEDTEAPATCHES = "\
>  file://icedtea-xawt-crosscompile-fix.patch;apply=no \
>  file://icedtea-jdk-unzip.patch;apply=no \
>  file://icedtea-dtrace-std_h.patch;apply=no \
> +file://icedtea-hotspot-fix-string-literal-marcos.patch;apply=no \
> +file://icedtea-flags-to-compile-with-GCC-6.patch;apply=no \
> +file://icedtea-specify-overloaded-variant-of-fmod.patch;apply=no \
>  "
>  
>  DISTRIBUTION_PATCHES = "\
> @@ -61,10 +64,17 @@ DISTRIBUTION_PATCHES = "\
>  patches/icedtea-xawt-crosscompile-fix.patch \
>  patches/icedtea-jdk-unzip.patch \
>  patches/icedtea-dtrace-std_h.patch \
> +patches/icedtea-hotspot-fix-string-literal-marcos.patch \
> +patches/icedtea-flags-to-compile-with-GCC-6.patch \
> +patches/icedtea-specify-overloaded-variant-of-fmod.patch \
>  "
>  
>  export DISTRIBUTION_PATCHES
>  
>  # readdir_r was deprecated in glibc-2.24. Ignore the error for now
> +#
> +# Furthermore shifting negative values produces an error in current gcc 
> versions
> +# to avoid this error add -fpermissive
> +#
>  # NOTE: When updating the recipe, please check if this is still needed
> -CFLAGS_append = " -Wno-error=deprecated-declarations"
> +CFLAGS_append = " -Wno-error=deprecated-declarations -Wno-error=narrowing 
> -fpermissive"
> diff --git 
> a/recipes-core/openjdk/patches-openjdk-7/icedtea-crosscompile-fix.patch 
> b/recipes-core/openjdk/patches-openjdk-7/icedtea-crosscompile-fix.patch
> index e957d1e..5d93dbd 100644
> --- a/recipes-core/openjdk/patches-openjdk-7/icedtea-crosscompile-fix.patch
> +++ b/recipes-core/openjdk/patches-openjdk-7/icedtea-crosscompile-fix.patch
> @@ -53,7 +53,7 @@ index 6fe5191..765fc6d 100644
>   
>   # Hotspot uses very unstrict aliasing turn this optimization off
>   OPT_CFLAGS += -fno-strict-aliasing
> -@@ -208,15 +208,7 @@ LFLAGS += -Wl,-relax
> +@@ -208,15 +208,8 @@ LFLAGS += -Wl,-relax
>   endif
>   
>   # Enable linker optimization
> @@ -66,6 +66,7 @@ index 6fe5191..765fc6d 100644
>  -  LDFLAGS_HASH_STYLE = -Wl,--hash-style=both
>  -endif
>  -LFLAGS += $(LDFLAGS_HASH_STYLE)
> ++LDFLAGS_HASH_STYLE = -Wl,--hash-style=both
>  +LFLAGS += $(OE_LDFLAGS)
>   
>   # Use $(MAPFLAG:FILENAME=real_file_name) to specify a map file.
> diff --git 
> a/recipes-core/openjdk/patches-openjdk-7/icedtea-flags-to-compile-with-GCC-6.patch
>  
> b/recipes-core/openjdk/patches-openjdk-7/icedtea-flags-to-compile-with-GCC-6.patch
> new file mode 100644
> index 000..062c6bf
> --- /dev/null
> +++ 
> b/recipes-core/openjdk/patches-openjdk-7/icedtea-flags-to-compile-with-GCC-6.patch
> @@ -0,0 +1,74 @@
> +From 732aab80cb1505ef2f4d8a6e141f835aa9f6d985 Mon Sep 17 00:00:00 2001
> +From: Abdur Rehman 
> +Date: Mon, 24 Oct 2016 20:24:32 +0500
> +Subject: [PATCH] icedtea flags to compile with GCC 6
> +
> +Upstream bug filed here:
> +https://bugs.openjdk.java.net/browse/JDK-8163032
> +
> +This patch combines the changes introduced by following commits:
> +* http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/rev/e34324d73cd5
> +* http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/9e1264f51bae
> +
> +Upstream-Status: Backport
> +
> +Signed-off-by: Abdur Rehman 

Re: [oe] [meta-java][PATCH 0/5] Fix some issues of openjdk-8/openjre-8 headful build

2017-04-28 Thread Maxin B. John
Hi,

On Sun, Apr 23, 2017 at 08:54:51AM +0200, liu.min...@gmail.com wrote:
> From: Ming Liu 
> 
> This patch series fix some issues, so the openjdk-8/openjre-8 now can build
> with X11 system (headful).
> 
> Ming Liu (5):
>   openjdk-8-cross.inc: change a dependency alsa-lib-native to alsa-lib
>   openjdk-8-cross.inc: fix wrong sysroot path
>   openjdk-8-cross.inc: tweak PACKAGECONFIG default value
>   openjdk-8/openjre-8: merge some redundant code
>   openjdk-8-cross.inc: fix a libpng build issue
> 
>  recipes-core/openjdk/openjdk-8-cross.inc   | 32 
> +++---
>  recipes-core/openjdk/openjdk-8_102b14.bb   | 14 --
>  recipes-core/openjdk/openjre-8_102b14.bb   | 14 --
>  .../openjdk8-fix-libpng-neon-build.patch   | 29 
>  4 files changed, 57 insertions(+), 32 deletions(-)
>  create mode 100644 
> recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-libpng-neon-build.patch
>

Pushed to master-next. Thanks a lot !

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] openjdk-8-cross.inc: tweak PACKAGECONFIG default value

2017-04-19 Thread Maxin B. John
Hi,

On Wed, Apr 19, 2017 at 05:59:34AM +0200, liu.min...@gmail.com wrote:
> From: Ming Liu 
> 
> When x11, cups, alsa is being set in DISTRO_FEATURES, the users might
> expect openjdk build with the related options as well. For instance,
> they might be confused when the openjdk is still built as headless but
> x11 is actually enabled from system aspect.
> 
> With this patch, the end users still can choose build openjdk without
> these options by overriding PACKAGECONFIG.
>
> Signed-off-by: Ming Liu 
> ---
>  recipes-core/openjdk/openjdk-8-cross.inc | 7 +++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/recipes-core/openjdk/openjdk-8-cross.inc 
> b/recipes-core/openjdk/openjdk-8-cross.inc
> index 47fe35d..34e1de4 100644
> --- a/recipes-core/openjdk/openjdk-8-cross.inc
> +++ b/recipes-core/openjdk/openjdk-8-cross.inc
> @@ -16,6 +16,13 @@ PRIVATE_LIBS = "\
>  "

Please remove this line:

>  PACKAGECONFIG ??= "repack"
> +PACKAGECONFIG ?? = " \
> +repack \
> +${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
> +${@bb.utils.contains('DISTRO_FEATURES', 'cups', 'cups', '', d)} \

Is "cups" a valid distro feature in any reference distributions ? 

> +${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
> +"
> +
>  PACKAGECONFIG[x11] = "--with-x,,libx11 xproto libxt libxext libxrender"
>  PACKAGECONFIG[cups] = "--with-cups,,cups"
>  PACKAGECONFIG[alsa] = "--with-alsa,,alsa-lib-native"

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] jikes: fix absolute symlink error

2017-03-17 Thread Maxin B. John
Hi Dan,

On Thu, Mar 16, 2017 at 10:42:43AM -0600, Dan McGregor wrote:
> On 13 March 2017 at 03:22, Maxin B. John <maxin.j...@intel.com> wrote:
> > The following oe-core commit made asbolute symlink an error:
> >
> > commit 3eee8e99e114b3db8b718834ca52da8d2919b83f
> > sstate: Make absolute symlinks an error
> >
> > Fix this by inheritting relative_symlinks class:
> > ERROR: jikes-native-1.22-r0 do_populate_sysroot: sstate found an
> > absolute path symlink
> >
> > Signed-off-by: Maxin B. John <maxin.j...@intel.com>
> > ---
> >  recipes-core/jikes/jikes_1.22.bb | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/recipes-core/jikes/jikes_1.22.bb 
> > b/recipes-core/jikes/jikes_1.22.bb
> > index 0c33118..a35cfcf 100644
> > --- a/recipes-core/jikes/jikes_1.22.bb
> > +++ b/recipes-core/jikes/jikes_1.22.bb
> > @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = " \
> > "
> >  SRC_URI = "${SOURCEFORGE_MIRROR}/jikes/jikes-${PV}.tar.bz2"
> >
> > -inherit autotools update-alternatives
> > +inherit autotools update-alternatives relative_symlinks
> >
> >  BBCLASSEXTEND = "native"
> >
> > --
> > 2.4.0
> >
> 
> This change makes the layer depend on master, not krogoth or master
> like the README says. Should we add the relative_symlinks
> functionality locally, or update the README?

You are right. This functionality depends on the master branch. It also
reminds me that meta-java has been particularly bad in keeping up with 
branching of oe-core releases.

I have been testing some patches to remove "meta-oe" dependency for
"meta-java" layer (PACKAGECONFIG way). Will update README along that
patchset. Hope that is ok.

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-java][PATCH] jikes: fix absolute symlink error

2017-03-13 Thread Maxin B. John
The following oe-core commit made asbolute symlink an error:

commit 3eee8e99e114b3db8b718834ca52da8d2919b83f
sstate: Make absolute symlinks an error

Fix this by inheritting relative_symlinks class:
ERROR: jikes-native-1.22-r0 do_populate_sysroot: sstate found an
absolute path symlink

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 recipes-core/jikes/jikes_1.22.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/jikes/jikes_1.22.bb b/recipes-core/jikes/jikes_1.22.bb
index 0c33118..a35cfcf 100644
--- a/recipes-core/jikes/jikes_1.22.bb
+++ b/recipes-core/jikes/jikes_1.22.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = " \
"
 SRC_URI = "${SOURCEFORGE_MIRROR}/jikes/jikes-${PV}.tar.bz2"
 
-inherit autotools update-alternatives
+inherit autotools update-alternatives relative_symlinks
 
 BBCLASSEXTEND = "native"
 
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java] fails to fetch icedtea

2016-10-20 Thread Maxin B. John
Hi Joel,

On Thu, Oct 20, 2016 at 08:36:06AM +0200, Joël Guittet wrote:
> Hi,
> 
> I'm building an image with OpenJDK, but fetching icedtea fails. It was
> correctly done few weeks ago. Log indicates error on checksum, but I have
> reviewed changes on meta-java and I do not understand why. Anybody with the
> same issue?
> 

Apparently, there were some updates in the upstream servers and it resulted in
change in checksums (pretty bad)

Richard Leitner sent a fix for that yesterday and it is in master-next now:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/?h=master-next=8b028a5e67c8081a4ecd65d33fe52fed46416a1a

> Log:
> 
> WARNING: Checksum failure encountered with download of
> http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false
> - will attempt other sources if available
> WARNING: Renaming /home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2
> to
> /home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2_bad-checksum_2bc941373ca4b033c9a25f972eec7858
> ERROR: Fetcher failure for URL: '
> http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false'.
> Checksum mismatch!
> File: '/home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2' has md5
> checksum 2bc941373ca4b033c9a25f972eec7858 when
> c26bbb33addfaeb14d28a1329b4b5a3e was expected
> File: '/home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2' has sha256
> checksum 5efd8e66f18fcbf45527bcc74aa3e6ed11f66bc793c88e3841925c4acb4827ba
> when 54a0ef02b56b265b4122324e08a33c42ececbf2a300ada260611e7b6ccdba96d was
> expected
> If this change is expected (e.g. you have upgraded to a new version without
> updating the checksums) then you can use these lines within the recipe:
> SRC_URI[openjdk.md5sum] = "2bc941373ca4b033c9a25f972eec7858"
> SRC_URI[openjdk.sha256sum] =
> "5efd8e66f18fcbf45527bcc74aa3e6ed11f66bc793c88e3841925c4acb4827ba"
> Otherwise you should retry the download and/or check with upstream to
> determine if the file has become corrupted or otherwise unexpectedly
> modified.
> 
> ERROR: Function failed: Fetcher failure for URL: '
> http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false'.
> Unable to fetch URL from any source.
> ERROR: Logfile of failure stored in:
> /home/kubuntu/yocto/build/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/temp/log.do_fetch.10452
> ERROR: Task 1258
> (/home/kubuntu/yocto/build/../meta-java/recipes-core/icedtea/
> icedtea7-native_2.1.3.bb, do_fetch) failed with exit code '1'
> 
> Regards,
> Joel
> -- 

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 3/4] xtscal: move recipe from oe-core

2016-09-21 Thread Maxin B. John
Move xtscal recipe from oe-core layer

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../xtscal/xtscal/30xTs_Calibrate.sh   |  13 +
 .../xtscal/xtscal/change-cross.patch   |  18 +
 .../recipes-graphics/xtscal/xtscal/cleanup.patch   | 621 +
 .../xtscal/dso_linking_change_build_fix.patch  |  27 +
 meta-oe/recipes-graphics/xtscal/xtscal_0.6.3.bb|  33 ++
 5 files changed, 712 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
 create mode 100644 meta-oe/recipes-graphics/xtscal/xtscal/change-cross.patch
 create mode 100644 meta-oe/recipes-graphics/xtscal/xtscal/cleanup.patch
 create mode 100644 
meta-oe/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch
 create mode 100644 meta-oe/recipes-graphics/xtscal/xtscal_0.6.3.bb

diff --git a/meta-oe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh 
b/meta-oe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
new file mode 100644
index 000..fa43617
--- /dev/null
+++ b/meta-oe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+. /etc/formfactor/config
+
+if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
+   n=1
+   while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ] && [ $n -le 
5 ]
+   do
+  /usr/bin/xtscal
+  sleep 1
+  n=$(($n+1))
+   done
+fi
diff --git a/meta-oe/recipes-graphics/xtscal/xtscal/change-cross.patch 
b/meta-oe/recipes-graphics/xtscal/xtscal/change-cross.patch
new file mode 100644
index 000..1da7717
--- /dev/null
+++ b/meta-oe/recipes-graphics/xtscal/xtscal/change-cross.patch
@@ -0,0 +1,18 @@
+Upstream-Status: Pending
+
+--- tmp/main.c.orig2007-01-02 15:39:54.0 +
 tmp/main.c 2007-01-02 15:39:54.0 +
+@@ -131,9 +131,10 @@
+ {
+   XRenderFillRectangles (dpy, PictOpSrc, pict, _color, rectangles, 2);
+ 
+-  XFillArc (dpy, crosshair_w, crosshair_gc, (CROSSHAIR_SIZE / 2) - (WIDTH / 
2) - 1, 
+-  (CROSSHAIR_SIZE / 2) - (WIDTH / 2) - 1,
+-  WIDTH + 1, WIDTH + 1, 0, 360 * 64);
++  XFillRectangle (dpy, crosshair_w, crosshair_gc,
++(CROSSHAIR_SIZE / 2) - (WIDTH / 2),
++(CROSSHAIR_SIZE / 2) - (WIDTH / 2),
++WIDTH, WIDTH);
+ }
+ 
+ void
diff --git a/meta-oe/recipes-graphics/xtscal/xtscal/cleanup.patch 
b/meta-oe/recipes-graphics/xtscal/xtscal/cleanup.patch
new file mode 100644
index 000..f7b0854
--- /dev/null
+++ b/meta-oe/recipes-graphics/xtscal/xtscal/cleanup.patch
@@ -0,0 +1,621 @@
+---
+ Makefile.am  |9 --
+ configure.ac |3 
+ gpe-dist.am  |   12 ---
+ h3600_ts.h   |  216 
---
+ main.c   |  210 ++---
+ xtscal.in|   19 -
+ 6 files changed, 14 insertions(+), 455 deletions(-)
+
+Upstream-Status: Pending
+
+Index: xtscal-0.6.3/xtscal.in
+===
+--- xtscal-0.6.3.orig/xtscal.in2004-09-10 20:10:36.0 +0100
 /dev/null  1970-01-01 00:00:00.0 +
+@@ -1,19 +0,0 @@
+-#!/bin/sh
+-
+-module_id() {
+-# Get model name
+-echo `grep "^Hardware" /proc/cpuinfo | sed -e "s/.*: *//" | tr a-z A-Z`
+-}
+-
+-case `module_id` in
+-  "HP IPAQ H3100" | "HP IPAQ H3800" )
+-  ARGS="-rotate 90" ;;
+-  "HP IPAQ H3600" | "HP IPAQ H3700" | "HP IPAQ H3900" | *COLLIE | *POODLE)
+-  ARGS="-rotate 270" ;;
+-  # H2200: works without rotation
+-esac
+-
+-# the things we do for autoconf
+-prefix=@prefix@
+-exec_prefix=@exec_prefix@
+-exec @libexecdir@/xtscal.bin $ARGS $*
+Index: xtscal-0.6.3/main.c
+===
+--- xtscal-0.6.3.orig/main.c   2007-07-01 01:12:52.0 +0100
 xtscal-0.6.3/main.c2007-07-01 01:12:55.0 +0100
+@@ -22,12 +22,10 @@
+ #include 
+ 
+ #include 
+-#include 
+ #include 
+ #include 
+ #include 
+ 
+-#include "h3600_ts.h"
+ #include "calibrate.h"
+ 
+ Display *dpy;
+@@ -45,15 +43,11 @@ XftColor xftcol;
+ XftDraw *xftdraw;
+ XftFont *xftfont;
+ int screen_x, screen_y;
+-int ts_fd;
+ int samples;
+ Pixmap bg_pixmap;
+ int flag_debug;
+-int rotation = 0;
+ int error_base, event_base;
+ 
+-int using_xcalibrate;
+-
+ int moving;
+ 
+ #define CROSSHAIR_SIZE25
+@@ -63,7 +57,6 @@ int moving;
+ #define ENOUGH 5
+ #define MAX_SAMPLES 40
+ 
+-#define RAW_DEVICE "/dev/h3600_tsraw"
+ #define FONTNAME "sans-10"
+ 
+ struct point 
+@@ -287,12 +280,8 @@ sort_by_y (const void* a, const void *b)
+ void
+ set_calibration (calibration *cal)
+ {
+-  TS_CAL tc;
+-  int xtrans, ytrans, xscale, yscale, xyscale, yxscale;
+   calibration ocal = *cal;
+ 
+-  if (using_xcalibrate)
+-{
+   FILE *fp;

[oe] [PATCH 4/4] tslib: move recipe from oe-core

2016-09-21 Thread Maxin B. John
Move tslib recipe from oe-core layer

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta-oe/recipes-graphics/tslib/tslib/ts.conf  | 25 +
 meta-oe/recipes-graphics/tslib/tslib/tslib.sh |  8 
 meta-oe/recipes-graphics/tslib/tslib_1.1.bb   | 53 +++
 3 files changed, 86 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/tslib/tslib/ts.conf
 create mode 100644 meta-oe/recipes-graphics/tslib/tslib/tslib.sh
 create mode 100644 meta-oe/recipes-graphics/tslib/tslib_1.1.bb

diff --git a/meta-oe/recipes-graphics/tslib/tslib/ts.conf 
b/meta-oe/recipes-graphics/tslib/tslib/ts.conf
new file mode 100644
index 000..1b0da93
--- /dev/null
+++ b/meta-oe/recipes-graphics/tslib/tslib/ts.conf
@@ -0,0 +1,25 @@
+# Uncomment if you wish to use the linux input layer event interface
+module_raw input
+
+# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
+# module_raw collie
+
+# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
+# module_raw corgi
+
+# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
+# module_raw ucb1x00
+
+# Uncomment if you're using an HP iPaq h3600 or similar
+# module_raw h3600
+
+# Uncomment if you're using a Hitachi Webpad
+# module_raw mk712
+
+# Uncomment if you're using an IBM Arctic II
+# module_raw arctic2
+
+module pthres pmin=1
+module variance delta=30
+module dejitter delta=100
+module linear
diff --git a/meta-oe/recipes-graphics/tslib/tslib/tslib.sh 
b/meta-oe/recipes-graphics/tslib/tslib/tslib.sh
new file mode 100644
index 000..7068e8d
--- /dev/null
+++ b/meta-oe/recipes-graphics/tslib/tslib/tslib.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ -e /dev/input/touchscreen0 ]; then
+TSLIB_TSDEVICE=/dev/input/touchscreen0
+
+export TSLIB_TSDEVICE
+fi
+
diff --git a/meta-oe/recipes-graphics/tslib/tslib_1.1.bb 
b/meta-oe/recipes-graphics/tslib/tslib_1.1.bb
new file mode 100644
index 000..502034a
--- /dev/null
+++ b/meta-oe/recipes-graphics/tslib/tslib_1.1.bb
@@ -0,0 +1,53 @@
+SUMMARY = "An abstraction layer for touchscreen panel events"
+DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \
+events, as well as a filter stack for the manipulation of those events. \
+Tslib is generally used on embedded devices to provide a common user \
+space interface to touchscreen functionality."
+HOMEPAGE = "http://tslib.berlios.de/;
+
+AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
+SECTION = "base"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
+
+SRC_URI = 
"https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar.xz;downloadfilename=tslib-${PV}.tar.xz
 \
+   file://ts.conf \
+   file://tslib.sh \
+"
+
+SRC_URI[md5sum] = "14771f8607b341bb4b297819d37e837d"
+SRC_URI[sha256sum] = 
"fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c"
+
+UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases;
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input --disable-corgi 
--disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00"
+
+do_install_prepend() {
+install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
+}
+
+do_install_append() {
+install -d ${D}${sysconfdir}/profile.d/
+install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
+}
+
+# People should consider using udev's /dev/input/touchscreen0 symlink
+# instead of detect-stylus
+#RDEPENDS_tslib-conf_weird-machine = "detect-stylus"
+RPROVIDES_tslib-conf = "libts-0.0-conf"
+
+PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate"
+DEBIAN_NOAUTONAME_tslib-conf = "1"
+DEBIAN_NOAUTONAME_tslib-tests = "1"
+DEBIAN_NOAUTONAME_tslib-calibrate = "1"
+
+RDEPENDS_${PN} = "tslib-conf"
+RRECOMMENDS_${PN} = "pointercal"
+
+FILES_${PN}-dev += "${libdir}/ts/*.la"
+FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh 
${datadir}/tslib"
+FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"
+FILES_tslib-calibrate += "${bindir}/ts_calibrate"
+FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print 
${bindir}/ts_print_raw ${bindir}/ts_test"
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 1/4] pointercal: move recipe from oe-core

2016-09-21 Thread Maxin B. John
Move pointercal recipe from oe-core layer

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../recipes-graphics/pointercal/pointercal/COPYING |   2 ++
 .../pointercal/pointercal/pointercal   |   0
 .../pointercal/pointercal/qemuarm/pointercal   |   1 +
 .../pointercal/pointercal/qemuarmv6/pointercal |   1 +
 .../pointercal/pointercal/qemuarmv7/pointercal |   1 +
 .../pointercal/pointercal/qemumips/pointercal  |   1 +
 .../pointercal/pointercal/qemuppc/pointercal   | Bin 0 -> 36 bytes
 .../pointercal/pointercal/qemux86-64/pointercal|   1 +
 .../pointercal/pointercal/qemux86/pointercal   |   1 +
 .../recipes-graphics/pointercal/pointercal_0.0.bb  |  22 +
 10 files changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/pointercal/pointercal/COPYING
 create mode 100644 meta-oe/recipes-graphics/pointercal/pointercal/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemuarm/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemuarmv6/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemuarmv7/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemumips/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemuppc/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemux86-64/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemux86/pointercal
 create mode 100644 meta-oe/recipes-graphics/pointercal/pointercal_0.0.bb

diff --git a/meta-oe/recipes-graphics/pointercal/pointercal/COPYING 
b/meta-oe/recipes-graphics/pointercal/pointercal/COPYING
new file mode 100644
index 000..63f5293
--- /dev/null
+++ b/meta-oe/recipes-graphics/pointercal/pointercal/COPYING
@@ -0,0 +1,2 @@
+This is a blank COPYING file, and should be filled in by original author in 
future.
+
diff --git a/meta-oe/recipes-graphics/pointercal/pointercal/pointercal 
b/meta-oe/recipes-graphics/pointercal/pointercal/pointercal
new file mode 100644
index 000..e69de29
diff --git a/meta-oe/recipes-graphics/pointercal/pointercal/qemuarm/pointercal 
b/meta-oe/recipes-graphics/pointercal/pointercal/qemuarm/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-oe/recipes-graphics/pointercal/pointercal/qemuarm/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git 
a/meta-oe/recipes-graphics/pointercal/pointercal/qemuarmv6/pointercal 
b/meta-oe/recipes-graphics/pointercal/pointercal/qemuarmv6/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-oe/recipes-graphics/pointercal/pointercal/qemuarmv6/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git 
a/meta-oe/recipes-graphics/pointercal/pointercal/qemuarmv7/pointercal 
b/meta-oe/recipes-graphics/pointercal/pointercal/qemuarmv7/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-oe/recipes-graphics/pointercal/pointercal/qemuarmv7/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git a/meta-oe/recipes-graphics/pointercal/pointercal/qemumips/pointercal 
b/meta-oe/recipes-graphics/pointercal/pointercal/qemumips/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-oe/recipes-graphics/pointercal/pointercal/qemumips/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git a/meta-oe/recipes-graphics/pointercal/pointercal/qemuppc/pointercal 
b/meta-oe/recipes-graphics/pointercal/pointercal/qemuppc/pointercal
new file mode 100644
index 
..c2d6e37bf0c0d956ba17ba9955613c4cee5a147a
GIT binary patch
literal 36
mcmXpsFt#*Q&;=n=3lPgl!O+0i%uK=9!qiZ~%+%D_i~#_8+XjmO

literal 0
HcmV?d1

diff --git 
a/meta-oe/recipes-graphics/pointercal/pointercal/qemux86-64/pointercal 
b/meta-oe/recipes-graphics/pointercal/pointercal/qemux86-64/pointercal
new file mode 100644
index 000..640053d
--- /dev/null
+++ b/meta-oe/recipes-graphics/pointercal/pointercal/qemux86-64/pointercal
@@ -0,0 +1 @@
+1280 0 1002 0 960 328 65536
diff --git a/meta-oe/recipes-graphics/pointercal/pointercal/qemux86/pointercal 
b/meta-oe/recipes-graphics/pointercal/pointercal/qemux86/pointercal
new file mode 100644
index 000..640053d
--- /dev/null
+++ b/meta-oe/recipes-graphics/pointercal/pointercal/qemux86/pointercal
@@ -0,0 +1 @@
+1280 0 1002 0 960 328 65536
diff --git a/meta-oe/recipes-graphics/pointercal/pointercal_0.0.bb 
b/meta-oe/recipes-graphics/pointercal/pointercal_0.0.bb
new file mode 100644
index 000..fcfd038
--- /dev/null
+++ b/meta-oe/recipes-graphics/pointercal/pointercal_0.0.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Touchscreen calibration data"
+SECTION = "base"
+PR = "r11"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4b5fcfc87fb615860d398b5e38685edf"
+
+SRC_URI = "file://pointe

[oe] [PATCH 2/4] meta-oe: add pointercal to layer.conf

2016-09-21 Thread Maxin B. John
add pointercal to SIGGEN_EXCLUDERECIPES_ABISAFE in layer.conf

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta-oe/conf/layer.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf
index eba8ccd..bdc8210 100644
--- a/meta-oe/conf/layer.conf
+++ b/meta-oe/conf/layer.conf
@@ -37,6 +37,7 @@ SIGGEN_EXCLUDERECIPES_ABISAFE += " \
   gpsd-machine-conf \
   distro-feed-configs \
   ca-certificates \
+  pointercal \
 "
 
 SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH v3 0/4] move tslib, pointercal and xtscal recipes from oe-core

2016-09-21 Thread Maxin B. John
Move tslib, pointercal and xtscal recipes from oe-core. These recipes
are already removed from oe-core with these commits:

1. xtscal: remove recipe : 5bcdb9f0995474635789cf0774aba9b774277c53
2. tslib: remove recipe : d37f6b595fd9ce53c79ff9281f2e20df7fa0503d
3. pointercal: remove recipe: d56dffe629dfc86a8d3c7a043c8c2893004f803e

Changes in v2:
Addressed the review comments about indentation
Changes in v3:
Move to meta-oe instead of meta-gpe

Maxin B. John (4):
  pointercal: move recipe from oe-core
  meta-oe: add pointercal to layer.conf
  xtscal: move recipe from oe-core
  tslib: move recipe from oe-core

 meta-oe/conf/layer.conf|   1 +
 .../recipes-graphics/pointercal/pointercal/COPYING |   2 +
 .../pointercal/pointercal/pointercal   |   0
 .../pointercal/pointercal/qemuarm/pointercal   |   1 +
 .../pointercal/pointercal/qemuarmv6/pointercal |   1 +
 .../pointercal/pointercal/qemuarmv7/pointercal |   1 +
 .../pointercal/pointercal/qemumips/pointercal  |   1 +
 .../pointercal/pointercal/qemuppc/pointercal   | Bin 0 -> 36 bytes
 .../pointercal/pointercal/qemux86-64/pointercal|   1 +
 .../pointercal/pointercal/qemux86/pointercal   |   1 +
 .../recipes-graphics/pointercal/pointercal_0.0.bb  |  22 +
 meta-oe/recipes-graphics/tslib/tslib/ts.conf   |  25 +
 meta-oe/recipes-graphics/tslib/tslib/tslib.sh  |   8 +
 meta-oe/recipes-graphics/tslib/tslib_1.1.bb|  53 ++
 .../xtscal/xtscal/30xTs_Calibrate.sh   |  13 +
 .../xtscal/xtscal/change-cross.patch   |  18 +
 .../recipes-graphics/xtscal/xtscal/cleanup.patch   | 621 +
 .../xtscal/dso_linking_change_build_fix.patch  |  27 +
 meta-oe/recipes-graphics/xtscal/xtscal_0.6.3.bb|  33 ++
 19 files changed, 829 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/pointercal/pointercal/COPYING
 create mode 100644 meta-oe/recipes-graphics/pointercal/pointercal/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemuarm/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemuarmv6/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemuarmv7/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemumips/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemuppc/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemux86-64/pointercal
 create mode 100644 
meta-oe/recipes-graphics/pointercal/pointercal/qemux86/pointercal
 create mode 100644 meta-oe/recipes-graphics/pointercal/pointercal_0.0.bb
 create mode 100644 meta-oe/recipes-graphics/tslib/tslib/ts.conf
 create mode 100644 meta-oe/recipes-graphics/tslib/tslib/tslib.sh
 create mode 100644 meta-oe/recipes-graphics/tslib/tslib_1.1.bb
 create mode 100644 meta-oe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
 create mode 100644 meta-oe/recipes-graphics/xtscal/xtscal/change-cross.patch
 create mode 100644 meta-oe/recipes-graphics/xtscal/xtscal/cleanup.patch
 create mode 100644 
meta-oe/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch
 create mode 100644 meta-oe/recipes-graphics/xtscal/xtscal_0.6.3.bb

-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 3/4] xtscal: move recipe from oe-core

2016-09-16 Thread Maxin B. John
Move xtscal recipe from oe-core layer.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../xtscal/xtscal/30xTs_Calibrate.sh   |  13 +
 .../xtscal/xtscal/change-cross.patch   |  18 +
 .../recipes-graphics/xtscal/xtscal/cleanup.patch   | 621 +
 .../xtscal/dso_linking_change_build_fix.patch  |  27 +
 meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb   |  33 ++
 5 files changed, 712 insertions(+)
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch
 create mode 100644 
meta-gpe/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb

diff --git a/meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh 
b/meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
new file mode 100644
index 000..fa43617
--- /dev/null
+++ b/meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+. /etc/formfactor/config
+
+if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
+   n=1
+   while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ] && [ $n -le 
5 ]
+   do
+  /usr/bin/xtscal
+  sleep 1
+  n=$(($n+1))
+   done
+fi
diff --git a/meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch 
b/meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch
new file mode 100644
index 000..1da7717
--- /dev/null
+++ b/meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch
@@ -0,0 +1,18 @@
+Upstream-Status: Pending
+
+--- tmp/main.c.orig2007-01-02 15:39:54.0 +
 tmp/main.c 2007-01-02 15:39:54.0 +
+@@ -131,9 +131,10 @@
+ {
+   XRenderFillRectangles (dpy, PictOpSrc, pict, _color, rectangles, 2);
+ 
+-  XFillArc (dpy, crosshair_w, crosshair_gc, (CROSSHAIR_SIZE / 2) - (WIDTH / 
2) - 1, 
+-  (CROSSHAIR_SIZE / 2) - (WIDTH / 2) - 1,
+-  WIDTH + 1, WIDTH + 1, 0, 360 * 64);
++  XFillRectangle (dpy, crosshair_w, crosshair_gc,
++(CROSSHAIR_SIZE / 2) - (WIDTH / 2),
++(CROSSHAIR_SIZE / 2) - (WIDTH / 2),
++WIDTH, WIDTH);
+ }
+ 
+ void
diff --git a/meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch 
b/meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch
new file mode 100644
index 000..f7b0854
--- /dev/null
+++ b/meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch
@@ -0,0 +1,621 @@
+---
+ Makefile.am  |9 --
+ configure.ac |3 
+ gpe-dist.am  |   12 ---
+ h3600_ts.h   |  216 
---
+ main.c   |  210 ++---
+ xtscal.in|   19 -
+ 6 files changed, 14 insertions(+), 455 deletions(-)
+
+Upstream-Status: Pending
+
+Index: xtscal-0.6.3/xtscal.in
+===
+--- xtscal-0.6.3.orig/xtscal.in2004-09-10 20:10:36.0 +0100
 /dev/null  1970-01-01 00:00:00.0 +
+@@ -1,19 +0,0 @@
+-#!/bin/sh
+-
+-module_id() {
+-# Get model name
+-echo `grep "^Hardware" /proc/cpuinfo | sed -e "s/.*: *//" | tr a-z A-Z`
+-}
+-
+-case `module_id` in
+-  "HP IPAQ H3100" | "HP IPAQ H3800" )
+-  ARGS="-rotate 90" ;;
+-  "HP IPAQ H3600" | "HP IPAQ H3700" | "HP IPAQ H3900" | *COLLIE | *POODLE)
+-  ARGS="-rotate 270" ;;
+-  # H2200: works without rotation
+-esac
+-
+-# the things we do for autoconf
+-prefix=@prefix@
+-exec_prefix=@exec_prefix@
+-exec @libexecdir@/xtscal.bin $ARGS $*
+Index: xtscal-0.6.3/main.c
+===
+--- xtscal-0.6.3.orig/main.c   2007-07-01 01:12:52.0 +0100
 xtscal-0.6.3/main.c2007-07-01 01:12:55.0 +0100
+@@ -22,12 +22,10 @@
+ #include 
+ 
+ #include 
+-#include 
+ #include 
+ #include 
+ #include 
+ 
+-#include "h3600_ts.h"
+ #include "calibrate.h"
+ 
+ Display *dpy;
+@@ -45,15 +43,11 @@ XftColor xftcol;
+ XftDraw *xftdraw;
+ XftFont *xftfont;
+ int screen_x, screen_y;
+-int ts_fd;
+ int samples;
+ Pixmap bg_pixmap;
+ int flag_debug;
+-int rotation = 0;
+ int error_base, event_base;
+ 
+-int using_xcalibrate;
+-
+ int moving;
+ 
+ #define CROSSHAIR_SIZE25
+@@ -63,7 +57,6 @@ int moving;
+ #define ENOUGH 5
+ #define MAX_SAMPLES 40
+ 
+-#define RAW_DEVICE "/dev/h3600_tsraw"
+ #define FONTNAME "sans-10"
+ 
+ struct point 
+@@ -287,12 +280,8 @@ sort_by_y (const void* a, const void *b)
+ void
+ set_calibration (calibration *cal)
+ {
+-  TS_CAL tc;
+-  int xtrans, ytrans, xscale, yscale, xyscale, yxscale;
+   calibration ocal = *cal;
+ 
+-  if (using_xcalibrate)
+-{
+ 

[oe] [PATCH 2/4] meta-gpe: add pointercal to layer.conf

2016-09-16 Thread Maxin B. John
add pointercal to SIGGEN_EXCLUDERECIPES_ABISAFE in layer.conf

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta-gpe/conf/layer.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-gpe/conf/layer.conf b/meta-gpe/conf/layer.conf
index 00f3929..477e4a8 100644
--- a/meta-gpe/conf/layer.conf
+++ b/meta-gpe/conf/layer.conf
@@ -13,3 +13,5 @@ BBFILE_PRIORITY_gpe-layer = "7"
 LAYERVERSION_gpe-layer = "1"
 
 LAYERDEPENDS_gpe-layer = "core openembedded-layer"
+
+SIGGEN_EXCLUDERECIPES_ABISAFE += "pointercal"
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 4/4] tslib: move recipe from oe-core

2016-09-16 Thread Maxin B. John
Move tslib recipe from oe-core layer.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta-gpe/recipes-graphics/tslib/tslib/ts.conf  | 25 
 meta-gpe/recipes-graphics/tslib/tslib/tslib.sh |  8 
 meta-gpe/recipes-graphics/tslib/tslib_1.1.bb   | 53 ++
 3 files changed, 86 insertions(+)
 create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/ts.conf
 create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/tslib.sh
 create mode 100644 meta-gpe/recipes-graphics/tslib/tslib_1.1.bb

diff --git a/meta-gpe/recipes-graphics/tslib/tslib/ts.conf 
b/meta-gpe/recipes-graphics/tslib/tslib/ts.conf
new file mode 100644
index 000..1b0da93
--- /dev/null
+++ b/meta-gpe/recipes-graphics/tslib/tslib/ts.conf
@@ -0,0 +1,25 @@
+# Uncomment if you wish to use the linux input layer event interface
+module_raw input
+
+# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
+# module_raw collie
+
+# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
+# module_raw corgi
+
+# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
+# module_raw ucb1x00
+
+# Uncomment if you're using an HP iPaq h3600 or similar
+# module_raw h3600
+
+# Uncomment if you're using a Hitachi Webpad
+# module_raw mk712
+
+# Uncomment if you're using an IBM Arctic II
+# module_raw arctic2
+
+module pthres pmin=1
+module variance delta=30
+module dejitter delta=100
+module linear
diff --git a/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh 
b/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh
new file mode 100644
index 000..7068e8d
--- /dev/null
+++ b/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ -e /dev/input/touchscreen0 ]; then
+TSLIB_TSDEVICE=/dev/input/touchscreen0
+
+export TSLIB_TSDEVICE
+fi
+
diff --git a/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb 
b/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb
new file mode 100644
index 000..502034a
--- /dev/null
+++ b/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb
@@ -0,0 +1,53 @@
+SUMMARY = "An abstraction layer for touchscreen panel events"
+DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \
+events, as well as a filter stack for the manipulation of those events. \
+Tslib is generally used on embedded devices to provide a common user \
+space interface to touchscreen functionality."
+HOMEPAGE = "http://tslib.berlios.de/;
+
+AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
+SECTION = "base"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
+
+SRC_URI = 
"https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar.xz;downloadfilename=tslib-${PV}.tar.xz
 \
+   file://ts.conf \
+   file://tslib.sh \
+"
+
+SRC_URI[md5sum] = "14771f8607b341bb4b297819d37e837d"
+SRC_URI[sha256sum] = 
"fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c"
+
+UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases;
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input --disable-corgi 
--disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00"
+
+do_install_prepend() {
+install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
+}
+
+do_install_append() {
+install -d ${D}${sysconfdir}/profile.d/
+install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
+}
+
+# People should consider using udev's /dev/input/touchscreen0 symlink
+# instead of detect-stylus
+#RDEPENDS_tslib-conf_weird-machine = "detect-stylus"
+RPROVIDES_tslib-conf = "libts-0.0-conf"
+
+PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate"
+DEBIAN_NOAUTONAME_tslib-conf = "1"
+DEBIAN_NOAUTONAME_tslib-tests = "1"
+DEBIAN_NOAUTONAME_tslib-calibrate = "1"
+
+RDEPENDS_${PN} = "tslib-conf"
+RRECOMMENDS_${PN} = "pointercal"
+
+FILES_${PN}-dev += "${libdir}/ts/*.la"
+FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh 
${datadir}/tslib"
+FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"
+FILES_tslib-calibrate += "${bindir}/ts_calibrate"
+FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print 
${bindir}/ts_print_raw ${bindir}/ts_test"
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 1/4] pointercal: move recipe from oe-core

2016-09-16 Thread Maxin B. John
Move pointercal recipe from oe-core layer.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta-gpe/recipes-bsp/pointercal/pointercal/COPYING |   2 ++
 .../recipes-bsp/pointercal/pointercal/pointercal   |   0
 .../pointercal/pointercal/qemuarm/pointercal   |   1 +
 .../pointercal/pointercal/qemuarmv6/pointercal |   1 +
 .../pointercal/pointercal/qemuarmv7/pointercal |   1 +
 .../pointercal/pointercal/qemumips/pointercal  |   1 +
 .../pointercal/pointercal/qemuppc/pointercal   | Bin 0 -> 36 bytes
 .../pointercal/pointercal/qemux86-64/pointercal|   1 +
 .../pointercal/pointercal/qemux86/pointercal   |   1 +
 meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb  |  22 +
 10 files changed, 30 insertions(+)
 create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/COPYING
 create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuppc/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal
 create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb

diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/COPYING 
b/meta-gpe/recipes-bsp/pointercal/pointercal/COPYING
new file mode 100644
index 000..63f5293
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/COPYING
@@ -0,0 +1,2 @@
+This is a blank COPYING file, and should be filled in by original author in 
future.
+
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/pointercal
new file mode 100644
index 000..e69de29
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemuppc/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuppc/pointercal
new file mode 100644
index 
..c2d6e37bf0c0d956ba17ba9955613c4cee5a147a
GIT binary patch
literal 36
mcmXpsFt#*Q&;=n=3lPgl!O+0i%uK=9!qiZ~%+%D_i~#_8+XjmO

literal 0
HcmV?d1

diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal
new file mode 100644
index 000..640053d
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal
@@ -0,0 +1 @@
+1280 0 1002 0 960 328 65536
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal
new file mode 100644
index 000..640053d
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal
@@ -0,0 +1 @@
+1280 0 1002 0 960 328 65536
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb 
b/meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb
new file mode 100644
index 000..fcfd038
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Touchscreen calibration data"
+SECTION = "base"
+PR = "r11"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4b5fcfc87fb615860d398b5e38685edf"
+
+SRC_URI = "file://pointercal \
+   file://COPYING"
+
+S = "${WORKDIR}"
+
+do_install() {
+# Only install file if it has a contents
+if [ -s ${S}/poi

[oe] [PATCH v2 0/4] move tslib, pointercal and xtscal recipes from oe-core

2016-09-16 Thread Maxin B. John
Move tslib, pointercal and xtscal recipes from oe-core. These recipes
are already removed from oe-core with these commits:

1. xtscal: remove recipe : 5bcdb9f0995474635789cf0774aba9b774277c53
2. tslib: remove recipe : d37f6b595fd9ce53c79ff9281f2e20df7fa0503d
3. pointercal: remove recipe: d56dffe629dfc86a8d3c7a043c8c2893004f803e

Changes in v2:
Addressed the review comments about indentation.

Maxin B. John (4):
  pointercal: move recipe from oe-core
  meta-gpe: add pointercal to layer.conf
  xtscal: move recipe from oe-core
  tslib: move recipe from oe-core

 meta-gpe/conf/layer.conf   |   2 +
 meta-gpe/recipes-bsp/pointercal/pointercal/COPYING |   2 +
 .../recipes-bsp/pointercal/pointercal/pointercal   |   0
 .../pointercal/pointercal/qemuarm/pointercal   |   1 +
 .../pointercal/pointercal/qemuarmv6/pointercal |   1 +
 .../pointercal/pointercal/qemuarmv7/pointercal |   1 +
 .../pointercal/pointercal/qemumips/pointercal  |   1 +
 .../pointercal/pointercal/qemuppc/pointercal   | Bin 0 -> 36 bytes
 .../pointercal/pointercal/qemux86-64/pointercal|   1 +
 .../pointercal/pointercal/qemux86/pointercal   |   1 +
 meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb  |  22 +
 meta-gpe/recipes-graphics/tslib/tslib/ts.conf  |  25 +
 meta-gpe/recipes-graphics/tslib/tslib/tslib.sh |   8 +
 meta-gpe/recipes-graphics/tslib/tslib_1.1.bb   |  53 ++
 .../xtscal/xtscal/30xTs_Calibrate.sh   |  13 +
 .../xtscal/xtscal/change-cross.patch   |  18 +
 .../recipes-graphics/xtscal/xtscal/cleanup.patch   | 621 +
 .../xtscal/dso_linking_change_build_fix.patch  |  27 +
 meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb   |  33 ++
 19 files changed, 830 insertions(+)
 create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/COPYING
 create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuppc/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal
 create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb
 create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/ts.conf
 create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/tslib.sh
 create mode 100644 meta-gpe/recipes-graphics/tslib/tslib_1.1.bb
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch
 create mode 100644 
meta-gpe/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb

-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH 4/4] tslib: move recipe from oe-core

2016-09-16 Thread Maxin B. John
Hi Paul,

On Fri, Sep 16, 2016 at 10:19:50AM +1200, Paul Eggleton wrote:
> On Fri, 16 Sep 2016 10:17:11 Paul Eggleton wrote:
> > On Thu, 01 Sep 2016 14:40:43 Maxin B. John wrote:
> > > Move tslib recipe from oe-core layer.
> > > 
> > > Signed-off-by: Maxin B. John <maxin.j...@intel.com>
> > > ---
> > > 
> > >  meta-gpe/recipes-graphics/tslib/tslib/ts.conf  | 25 
> > >  meta-gpe/recipes-graphics/tslib/tslib/tslib.sh |  8 
> > >  meta-gpe/recipes-graphics/tslib/tslib_1.1.bb   | 53
> > > 

Apparently I missed to notice some replies to these patches (recently
my inbox has been behaving a bit strangely - missing or delaying some mails
for a day or two). Sorry for that!

> Also, is meta-gpe really an appropriate place for this?
> 
I am open to suggestions. xtscal had HOMEPAGE set as "http://gpe.linuxtogo.org;.
Since other packages were logically connected to that, moved them to meta-gpe
as well.

> Cheers,
> Paul

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH v2] xpp3: Fix bashism

2016-09-13 Thread Maxin B. John
Hi Ricardo,

On Tue, Sep 13, 2016 at 02:37:57PM +0200, Ricardo Ribalda Delgado wrote:
> findpath var must also be fixed on its second occurrence.
>

Good catch, Thanks! 

It seems that the test builder failed to catch this xpp3 specific error (mostly
related to build environment configuration).

> Without this patch:
> 
> ERROR: xpp3-1.1.3.4.O-r0 do_compile: Function failed: do_compile (log
>   file is located at
>   
> /home/ricardo/curro/qt5022/build-qt5022-open/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/log.do_compile.14262)
> ERROR: Logfile of failure stored in:
> /home/ricardo/curro/qt5022/build-qt5022-open/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/log.do_compile.14262
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | --
> | 1. WARNING in src/java/api/org/xmlpull/v1/XmlPullParserException.java
> (at line 11)
> | public class XmlPullParserException extends Exception {
> |  ^^
> | The serializable class XmlPullParserException does not declare a static 
> final serialVersionUID field of type long
> 
> /home/ricardo/curro/qt5022/build-qt5022-open/build/tmp/work/all-poky-linux/xpp3/1.1.3.4.O-r0/temp/run.do_compile.14262:
> Bad substitution
> | WARNING: exit code 2 from a shell command.
> 
> Signed-off-by: Ricardo Ribalda Delgado 
> ---
>  recipes-core/xml-commons/xpp3_1.1.3.4.O.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb 
> b/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb
> index f264022ffe60..808a9372338f 100644
> --- a/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb
> +++ b/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb
> @@ -33,7 +33,7 @@ do_compile() {
>  mkdir -p build-xpath
>  
>  sourcepath="src/java/xpath"
> -findpath="${sourcepath//:/ }"
> +findpath=${sourcepath}
>  javac -sourcepath $sourcepath -cp build-oe -d build-xpath `find 
> $findpath -name "*.java"`
>  
>  fastjar -C build-xpath -c -f xpp3-xpath-${PV}.jar .
> -- 
> 2.9.3

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH 1/2] xpp2: Remove bashism

2016-09-13 Thread Maxin B. John
Hi Ricardo,

On Tue, Sep 13, 2016 at 02:17:48PM +0200, Ricardo Ribalda Delgado wrote:
> ERROR: xpp2-2.1.10-r0 do_compile: Function failed: do_compile (log file
>   is located at
> /var/lib/jenkins/workspace/qt5022-cesium/build/tmp/work/all-poky-linux/xpp2/2.1.10-r0/temp/log.do_compile.6694)
> ERROR: Logfile of failure stored in:
> /var/lib/jenkins/workspace/qt5022-cesium/build/tmp/work/all-poky-linux/xpp2/2.1.10-r0/temp/log.do_compile.6694
> Log data follows:
> | DEBUG: Executing shell function do_compile
> |
> /var/lib/jenkins/workspace/qt5022-cesium/build/tmp/work/all-poky-linux/xpp2/2.1.10-r0/temp/run.do_compile.6694:
> 109:
> /var/lib/jenkins/workspace/qt5022-cesium/build/tmp/work/all-poky-linux/xpp2/2.1.10-r0/temp/run.do_compile.6694:
> Bad substitution
> | WARNING: exit code 2 from a shell command.
> 
> Signed-off-by: Ricardo Ribalda Delgado 
> ---
>  recipes-core/xml-commons/xpp2_2.1.10.bb | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/recipes-core/xml-commons/xpp2_2.1.10.bb 
> b/recipes-core/xml-commons/xpp2_2.1.10.bb
> index d3baca436b60..32457ddf899c 100644
> --- a/recipes-core/xml-commons/xpp2_2.1.10.bb
> +++ b/recipes-core/xml-commons/xpp2_2.1.10.bb
> @@ -18,8 +18,7 @@ do_compile() {
>  mkdir -p build-oe
>  
>  
> sourcepath="src/java/drivers/jaxp11:src/java/drivers/sax2:src/java/impl/factory:src/java/impl/format:src/java/impl/node:src/java/impl/pullparser:src/java/impl/tag:src/java/intf"
> -
> -findpath="${sourcepath//:/ }"
> +findpath="src/java/drivers/jaxp11 src/java/drivers/sax2 
> src/java/impl/factory src/java/impl/format src/java/impl/node 
> src/java/impl/pullparser src/java/impl/tag src/java/intf"
>  
>  javac -sourcepath $sourcepath -d build-oe `find $findpath -name "*.java"`

Merged a similar fix yesterday.
http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/?id=aa3c79568dfaeb9c8747d49d12ac0396eaf6a4ea

Please pull the latest master branch and see if this happens again.

Thanks,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] xpp[23]: fix/remove bashism

2016-09-12 Thread Maxin B. John
Hi Sujith,

On Mon, Sep 12, 2016 at 03:17:34PM +0530, sujith h wrote:
> Hi,
> 
> Hope the patch looks ok. Else do let me know I can work on the same.

Yes, it looks good. Pushed to master.

> Thanks,
> Sujith H

Best Regards,
Maxin

> On Mon, Sep 12, 2016 at 1:44 PM, Sujith H  wrote:
> 
> > From: Christopher Larson 
> >
> > This was breaking on hosts with dash as /bin/sh.
> >
> > Signed-off-by: Christopher Larson 
> > ---
> >  recipes-core/xml-commons/xpp2_2.1.10.bb| 2 +-
> >  recipes-core/xml-commons/xpp3_1.1.3.4.O.bb | 2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/recipes-core/xml-commons/xpp2_2.1.10.bb
> > b/recipes-core/xml-commons/xpp2_2.1.10.bb
> > index d3baca4..c926722 100644
> > --- a/recipes-core/xml-commons/xpp2_2.1.10.bb
> > +++ b/recipes-core/xml-commons/xpp2_2.1.10.bb
> > @@ -19,7 +19,7 @@ do_compile() {
> >
> >  sourcepath="src/java/drivers/jaxp11:src/java/drivers/sax2:
> > src/java/impl/factory:src/java/impl/format:src/java/
> > impl/node:src/java/impl/pullparser:src/java/impl/tag:src/java/intf"
> >
> > -findpath="${sourcepath//:/ }"
> > +findpath="$(echo "$sourcepath" | tr : " ")"
> >
> >  javac -sourcepath $sourcepath -d build-oe `find $findpath -name
> > "*.java"`
> >
> > diff --git a/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb
> > b/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb
> > index bedb8a9..f264022 100644
> > --- a/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb
> > +++ b/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb
> > @@ -19,7 +19,7 @@ do_compile() {
> >  mkdir -p build-oe
> >
> >  sourcepath="src/java/api:src/java/builder:src/java/dom2_
> > builder:src/java/mxp1_min:src/java/mxp1_standard:src/java/
> > parser_pool:src/java/sax2_driver:src/java/serializer_
> > impl:src/java/util:src/java/wrapper"
> > -findpath="${sourcepath//:/ }"
> > +findpath="$(echo "$sourcepath" | tr : " ")"
> >
> >  javac -sourcepath $sourcepath -d build-oe `find $findpath -name
> > "*.java"`
> >
> > --
> > 1.9.1
> >
> >
> 
> 
> -- 
> സുജിത് ഹരിദാസന്
> Bangalore
> Contributor to KDE project
> Contributor to Yocto project
> http://fci.wikia.com/wiki/Anti-DRM-Campaign
>  http://sujithh.info
> C-x C-c
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 2/4] meta-gpe: add pointercal to layer.conf

2016-09-01 Thread Maxin B. John
add pointercal to SIGGEN_EXCLUDERECIPES_ABISAFE in layer.conf

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta-gpe/conf/layer.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-gpe/conf/layer.conf b/meta-gpe/conf/layer.conf
index 00f3929..477e4a8 100644
--- a/meta-gpe/conf/layer.conf
+++ b/meta-gpe/conf/layer.conf
@@ -13,3 +13,5 @@ BBFILE_PRIORITY_gpe-layer = "7"
 LAYERVERSION_gpe-layer = "1"
 
 LAYERDEPENDS_gpe-layer = "core openembedded-layer"
+
+SIGGEN_EXCLUDERECIPES_ABISAFE += "pointercal"
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 4/4] tslib: move recipe from oe-core

2016-09-01 Thread Maxin B. John
Move tslib recipe from oe-core layer.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta-gpe/recipes-graphics/tslib/tslib/ts.conf  | 25 
 meta-gpe/recipes-graphics/tslib/tslib/tslib.sh |  8 
 meta-gpe/recipes-graphics/tslib/tslib_1.1.bb   | 53 ++
 3 files changed, 86 insertions(+)
 create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/ts.conf
 create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/tslib.sh
 create mode 100644 meta-gpe/recipes-graphics/tslib/tslib_1.1.bb

diff --git a/meta-gpe/recipes-graphics/tslib/tslib/ts.conf 
b/meta-gpe/recipes-graphics/tslib/tslib/ts.conf
new file mode 100644
index 000..1b0da93
--- /dev/null
+++ b/meta-gpe/recipes-graphics/tslib/tslib/ts.conf
@@ -0,0 +1,25 @@
+# Uncomment if you wish to use the linux input layer event interface
+module_raw input
+
+# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
+# module_raw collie
+
+# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
+# module_raw corgi
+
+# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
+# module_raw ucb1x00
+
+# Uncomment if you're using an HP iPaq h3600 or similar
+# module_raw h3600
+
+# Uncomment if you're using a Hitachi Webpad
+# module_raw mk712
+
+# Uncomment if you're using an IBM Arctic II
+# module_raw arctic2
+
+module pthres pmin=1
+module variance delta=30
+module dejitter delta=100
+module linear
diff --git a/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh 
b/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh
new file mode 100644
index 000..7068e8d
--- /dev/null
+++ b/meta-gpe/recipes-graphics/tslib/tslib/tslib.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ -e /dev/input/touchscreen0 ]; then
+TSLIB_TSDEVICE=/dev/input/touchscreen0
+
+export TSLIB_TSDEVICE
+fi
+
diff --git a/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb 
b/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb
new file mode 100644
index 000..b0264c3
--- /dev/null
+++ b/meta-gpe/recipes-graphics/tslib/tslib_1.1.bb
@@ -0,0 +1,53 @@
+SUMMARY = "An abstraction layer for touchscreen panel events"
+DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \
+events, as well as a filter stack for the manipulation of those events. \
+Tslib is generally used on embedded devices to provide a common user \
+space interface to touchscreen functionality."
+HOMEPAGE = "http://tslib.berlios.de/;
+
+AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
+SECTION = "base"
+LICENSE = "LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
+
+SRC_URI = 
"https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}.tar.xz;downloadfilename=tslib-${PV}.tar.xz
 \
+   file://ts.conf \
+   file://tslib.sh \
+"
+
+SRC_URI[md5sum] = "14771f8607b341bb4b297819d37e837d"
+SRC_URI[sha256sum] = 
"fe35e5f710ea933b118f710e2ce4403ac076fe69926b570333867d4de082a51c"
+
+UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases;
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--enable-shared --disable-h3600 --enable-input --disable-corgi 
--disable-collie --disable-mk712 --disable-arctic2 --disable-ucb1x00"
+
+do_install_prepend() {
+   install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
+}
+
+do_install_append() {
+   install -d ${D}${sysconfdir}/profile.d/
+   install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
+}
+
+# People should consider using udev's /dev/input/touchscreen0 symlink
+# instead of detect-stylus
+#RDEPENDS_tslib-conf_weird-machine = "detect-stylus"
+RPROVIDES_tslib-conf = "libts-0.0-conf"
+
+PACKAGES =+ "tslib-conf tslib-tests tslib-calibrate"
+DEBIAN_NOAUTONAME_tslib-conf = "1"
+DEBIAN_NOAUTONAME_tslib-tests = "1"
+DEBIAN_NOAUTONAME_tslib-calibrate = "1"
+
+RDEPENDS_${PN} = "tslib-conf"
+RRECOMMENDS_${PN} = "pointercal"
+
+FILES_${PN}-dev += "${libdir}/ts/*.la"
+FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh 
${datadir}/tslib"
+FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"
+FILES_tslib-calibrate += "${bindir}/ts_calibrate"
+FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print 
${bindir}/ts_print_raw ${bindir}/ts_test"
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 3/4] xtscal: move recipe from oe-core

2016-09-01 Thread Maxin B. John
Move xtscal recipe from oe-core layer.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../xtscal/xtscal/30xTs_Calibrate.sh   |  13 +
 .../xtscal/xtscal/change-cross.patch   |  18 +
 .../recipes-graphics/xtscal/xtscal/cleanup.patch   | 621 +
 .../xtscal/dso_linking_change_build_fix.patch  |  27 +
 meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb   |  33 ++
 5 files changed, 712 insertions(+)
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch
 create mode 100644 
meta-gpe/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb

diff --git a/meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh 
b/meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
new file mode 100644
index 000..fa43617
--- /dev/null
+++ b/meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+. /etc/formfactor/config
+
+if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
+   n=1
+   while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ] && [ $n -le 
5 ]
+   do
+  /usr/bin/xtscal
+  sleep 1
+  n=$(($n+1))
+   done
+fi
diff --git a/meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch 
b/meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch
new file mode 100644
index 000..1da7717
--- /dev/null
+++ b/meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch
@@ -0,0 +1,18 @@
+Upstream-Status: Pending
+
+--- tmp/main.c.orig2007-01-02 15:39:54.0 +
 tmp/main.c 2007-01-02 15:39:54.0 +
+@@ -131,9 +131,10 @@
+ {
+   XRenderFillRectangles (dpy, PictOpSrc, pict, _color, rectangles, 2);
+ 
+-  XFillArc (dpy, crosshair_w, crosshair_gc, (CROSSHAIR_SIZE / 2) - (WIDTH / 
2) - 1, 
+-  (CROSSHAIR_SIZE / 2) - (WIDTH / 2) - 1,
+-  WIDTH + 1, WIDTH + 1, 0, 360 * 64);
++  XFillRectangle (dpy, crosshair_w, crosshair_gc,
++(CROSSHAIR_SIZE / 2) - (WIDTH / 2),
++(CROSSHAIR_SIZE / 2) - (WIDTH / 2),
++WIDTH, WIDTH);
+ }
+ 
+ void
diff --git a/meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch 
b/meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch
new file mode 100644
index 000..f7b0854
--- /dev/null
+++ b/meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch
@@ -0,0 +1,621 @@
+---
+ Makefile.am  |9 --
+ configure.ac |3 
+ gpe-dist.am  |   12 ---
+ h3600_ts.h   |  216 
---
+ main.c   |  210 ++---
+ xtscal.in|   19 -
+ 6 files changed, 14 insertions(+), 455 deletions(-)
+
+Upstream-Status: Pending
+
+Index: xtscal-0.6.3/xtscal.in
+===
+--- xtscal-0.6.3.orig/xtscal.in2004-09-10 20:10:36.0 +0100
 /dev/null  1970-01-01 00:00:00.0 +
+@@ -1,19 +0,0 @@
+-#!/bin/sh
+-
+-module_id() {
+-# Get model name
+-echo `grep "^Hardware" /proc/cpuinfo | sed -e "s/.*: *//" | tr a-z A-Z`
+-}
+-
+-case `module_id` in
+-  "HP IPAQ H3100" | "HP IPAQ H3800" )
+-  ARGS="-rotate 90" ;;
+-  "HP IPAQ H3600" | "HP IPAQ H3700" | "HP IPAQ H3900" | *COLLIE | *POODLE)
+-  ARGS="-rotate 270" ;;
+-  # H2200: works without rotation
+-esac
+-
+-# the things we do for autoconf
+-prefix=@prefix@
+-exec_prefix=@exec_prefix@
+-exec @libexecdir@/xtscal.bin $ARGS $*
+Index: xtscal-0.6.3/main.c
+===
+--- xtscal-0.6.3.orig/main.c   2007-07-01 01:12:52.0 +0100
 xtscal-0.6.3/main.c2007-07-01 01:12:55.0 +0100
+@@ -22,12 +22,10 @@
+ #include 
+ 
+ #include 
+-#include 
+ #include 
+ #include 
+ #include 
+ 
+-#include "h3600_ts.h"
+ #include "calibrate.h"
+ 
+ Display *dpy;
+@@ -45,15 +43,11 @@ XftColor xftcol;
+ XftDraw *xftdraw;
+ XftFont *xftfont;
+ int screen_x, screen_y;
+-int ts_fd;
+ int samples;
+ Pixmap bg_pixmap;
+ int flag_debug;
+-int rotation = 0;
+ int error_base, event_base;
+ 
+-int using_xcalibrate;
+-
+ int moving;
+ 
+ #define CROSSHAIR_SIZE25
+@@ -63,7 +57,6 @@ int moving;
+ #define ENOUGH 5
+ #define MAX_SAMPLES 40
+ 
+-#define RAW_DEVICE "/dev/h3600_tsraw"
+ #define FONTNAME "sans-10"
+ 
+ struct point 
+@@ -287,12 +280,8 @@ sort_by_y (const void* a, const void *b)
+ void
+ set_calibration (calibration *cal)
+ {
+-  TS_CAL tc;
+-  int xtrans, ytrans, xscale, yscale, xyscale, yxscale;
+   calibration ocal = *cal;
+ 
+-  if (using_xcalibrate)
+-{
+ 

[oe] [PATCH 1/4] pointercal: move recipe from oe-core

2016-09-01 Thread Maxin B. John
Move pointercal recipe from oe-core layer.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta-gpe/recipes-bsp/pointercal/pointercal/COPYING |   2 ++
 .../recipes-bsp/pointercal/pointercal/pointercal   |   0
 .../pointercal/pointercal/qemuarm/pointercal   |   1 +
 .../pointercal/pointercal/qemuarmv6/pointercal |   1 +
 .../pointercal/pointercal/qemuarmv7/pointercal |   1 +
 .../pointercal/pointercal/qemumips/pointercal  |   1 +
 .../pointercal/pointercal/qemuppc/pointercal   | Bin 0 -> 36 bytes
 .../pointercal/pointercal/qemux86-64/pointercal|   1 +
 .../pointercal/pointercal/qemux86/pointercal   |   1 +
 meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb  |  22 +
 10 files changed, 30 insertions(+)
 create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/COPYING
 create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuppc/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal
 create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb

diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/COPYING 
b/meta-gpe/recipes-bsp/pointercal/pointercal/COPYING
new file mode 100644
index 000..63f5293
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/COPYING
@@ -0,0 +1,2 @@
+This is a blank COPYING file, and should be filled in by original author in 
future.
+
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/pointercal
new file mode 100644
index 000..e69de29
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemuppc/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemuppc/pointercal
new file mode 100644
index 
..c2d6e37bf0c0d956ba17ba9955613c4cee5a147a
GIT binary patch
literal 36
mcmXpsFt#*Q&;=n=3lPgl!O+0i%uK=9!qiZ~%+%D_i~#_8+XjmO

literal 0
HcmV?d1

diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal
new file mode 100644
index 000..640053d
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal
@@ -0,0 +1 @@
+1280 0 1002 0 960 328 65536
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal 
b/meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal
new file mode 100644
index 000..640053d
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal
@@ -0,0 +1 @@
+1280 0 1002 0 960 328 65536
diff --git a/meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb 
b/meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb
new file mode 100644
index 000..df735a5
--- /dev/null
+++ b/meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Touchscreen calibration data"
+SECTION = "base"
+PR = "r11"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4b5fcfc87fb615860d398b5e38685edf"
+
+SRC_URI = "file://pointercal \
+   file://COPYING"
+
+S = "${WORKDIR}"
+
+do_install() {
+   # Only install file if it has a contents
+   if [ -s ${S}/point

[oe] [PATCH 0/4] move tslib, pointercal and xtscal recipes from oe-core

2016-09-01 Thread Maxin B. John
Move tslib tslib, pointercal and xtscal recipes from oe-core. These recipes
are already removed from oe-core with these commits:

1. xtscal: remove recipe : 5bcdb9f0995474635789cf0774aba9b774277c53
2. tslib: remove recipe : d37f6b595fd9ce53c79ff9281f2e20df7fa0503d
3. pointercal: remove recipe: d56dffe629dfc86a8d3c7a043c8c2893004f803e

Maxin B. John (4):
  pointercal: move recipe from oe-core
  meta-gpe: add pointercal to layer.conf
  xtscal: move recipe from oe-core
  tslib: move recipe from oe-core

 meta-gpe/conf/layer.conf   |   2 +
 meta-gpe/recipes-bsp/pointercal/pointercal/COPYING |   2 +
 .../recipes-bsp/pointercal/pointercal/pointercal   |   0
 .../pointercal/pointercal/qemuarm/pointercal   |   1 +
 .../pointercal/pointercal/qemuarmv6/pointercal |   1 +
 .../pointercal/pointercal/qemuarmv7/pointercal |   1 +
 .../pointercal/pointercal/qemumips/pointercal  |   1 +
 .../pointercal/pointercal/qemuppc/pointercal   | Bin 0 -> 36 bytes
 .../pointercal/pointercal/qemux86-64/pointercal|   1 +
 .../pointercal/pointercal/qemux86/pointercal   |   1 +
 meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb  |  22 +
 meta-gpe/recipes-graphics/tslib/tslib/ts.conf  |  25 +
 meta-gpe/recipes-graphics/tslib/tslib/tslib.sh |   8 +
 meta-gpe/recipes-graphics/tslib/tslib_1.1.bb   |  53 ++
 .../xtscal/xtscal/30xTs_Calibrate.sh   |  13 +
 .../xtscal/xtscal/change-cross.patch   |  18 +
 .../recipes-graphics/xtscal/xtscal/cleanup.patch   | 621 +
 .../xtscal/dso_linking_change_build_fix.patch  |  27 +
 meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb   |  33 ++
 19 files changed, 830 insertions(+)
 create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/COPYING
 create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarm/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv6/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuarmv7/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemumips/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemuppc/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86-64/pointercal
 create mode 100644 
meta-gpe/recipes-bsp/pointercal/pointercal/qemux86/pointercal
 create mode 100644 meta-gpe/recipes-bsp/pointercal/pointercal_0.0.bb
 create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/ts.conf
 create mode 100644 meta-gpe/recipes-graphics/tslib/tslib/tslib.sh
 create mode 100644 meta-gpe/recipes-graphics/tslib/tslib_1.1.bb
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch
 create mode 100644 
meta-gpe/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb

-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] Updates to meta-java (master, master-next) in 2016-08-30

2016-08-31 Thread Maxin B. John
Hi,

Merged the following commits to master and master-next branches:

commit 8c663efa4f8efccf50d094dbc61c7b78031b3b7d
Author: Kyle Russell <bkyleruss...@gmail.com>
Date:   Wed Aug 24 09:28:40 2016 -0400

Reimplement helper method for parallelizing JDK builds

Simplifies duplicated implementation across multiple recipes that all
inherited from java.bbclass.

Previously implementation was not flexible in supporting other make
job-limiting flags (like -l for load) that are typically passed in
through PARALLEL_MAKE.  (OpenJDK doesn't know about these other flags
that might have gotten tagged on after the value for -j.)

Signed-off-by: Kyle Russell <bkyleruss...@gmail.com>
Signed-off-by: Maxin B. John <maxin.j...@intel.com>

commit b2827bf00734331fa6776909e2bfee8f94790fda
Author: Kyle Russell <bkyleruss...@gmail.com>
Date:   Fri Aug 19 17:58:01 2016 -0400

rhino-native should depend on classpath-native
 
rhino's do_compile task passes
${STAGING_DATADIR_NATIVE}/classpath/glibj.zip to javac.  This glibj.zip
archive comes from the classpath-native package.

Signed-off-by: Kyle Russell <bkyleruss...@gmail.com>
Signed-off-by: Maxin B. John <maxin.j...@intel.com>

commit 7d9264ca45076b0a0e52e9072989003c0687bda4
Author: Richard Leitner <richard.leit...@skidata.com>
Date:   Tue Aug 16 16:51:28 2016 +0200
openjdk-7: update to IcedTea 2.6.5 OpenJDK 7u99b00

   
 OpenJDK 7 is updated from from 91b01 (IcedTea 2.6.2) to 99b00 (IcedTea
 2.6.5). This update introduces following security updates:
 * Mar 2016 (IcedTea 2.6.5, OpenJDK 7 u99)  [1]
 * Jan 2016 (IcedTea 2.6.4, OpenJDK 7 u95)  [2]
 * Oct 2015 (IcedTea 2.6.3, OpenJDK 7 u91)  [3]

   
 Due to the fact some "byte behavior improvements" were not ported to
 the ARM32-JIT in IcedTea 2.6.6 yet [6], [7]  we need to stick IcedTea
 2.6.5 for now.

  
 
[1]http://blog.fuseyism.com/index.php/2016/03/25/security-icedtea-2-6-5-for-openjdk-7-released/
 
[2]http://blog.fuseyism.com/index.php/2016/01/21/security-icedtea-2-6-4-for-openjdk-7-released/
 
[3]http://blog.fuseyism.com/index.php/2015/11/17/security-icedtea-2-6-3-for-openjdk-7-released/
 [6]http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2942
 
[7]http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot/rev/1c5c4564204e

  
 Signed-off-by: Richard Leitner <richard.leit...@skidata.com>
 Signed-off-by: Maxin B. John <maxin.j...@intel.com>

 Best Regards,
 Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java] Unify virtual java providers

2016-08-31 Thread Maxin B. John
Hi,

On Tue, Aug 30, 2016 at 04:37:53PM +0200, Pascal Bach wrote:
> Hello
> 
> 
> Because I'm experimenting with different java providers (OpenJDK, Oracle 
> Java, Azul Zulu) and thus had a look at different java layers (meta-java, 
> meta-oracle-java).
> 
> I noticed that there are many different PROVIDES statements among these 
> recipes, but nothing seems consistent.
> 
> My proposal is thus to introduce a consistent naming for these provides so 
> that recipes that depend on java can be written in a JRE/JDK independent way.
> The naming would be the following:
> 
> - virtual/java => recipes providing a java runtime for the target (used in 
> meta-oracle-java, replaces: java2-runtime, java2-vm)
> - virtual/java-native => provide a native java runtime (exists already)
> - virtual/javac => provide a jdk for the target (new, nothing like this 
> exists, might never be used but should be defined)
> - virtual/javac-native => provide a jdk for native (exists already)
> 
> It should be properly documented in the readme and the virtual packages 
> should be the preferred way for users to depend on java/jre resp javac/jdk
> 
> An alternative to the above would be:
> 
> - virtual/jre
> - virtual/jre-native
> - virtual/jdk
> - virtual/jdk-native
> But this would deviate more from the current naming.

+1 for the jre/jdk naming. 

> 
> Any feedback on this proposal?
> 
> Pascal

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] WARNING: QA Issue: openjdk-8 rdepends on openjre-8, but it isn't a build dependency? [build-deps]

2016-08-25 Thread Maxin B. John
Hi,

On Thu, Aug 25, 2016 at 07:58:30AM -0400, Robert P. J. Day wrote:
> 
>   while i'm getting the following QA warning with wind river linux 8,
> i'm assuming the same would be happening with the standard meta-java
> layer; if not, i apologize for posting to the wrong list.
> 
>   is this something i should file at YP bugzilla? elsewhere?

Is this still happening with the latest meta-java master branch ?

> rday

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] Reimplement helper method for parallelizing JDK builds

2016-08-24 Thread Maxin B. John
Hi,

On Wed, Aug 24, 2016 at 09:28:40AM -0400, Kyle Russell wrote:
> Simplifies duplicated implementation across multiple recipes that all
> inherited from java.bbclass.
> 
> Previously implementation was not flexible in supporting other make
> job-limiting flags (like -l for load) that are typically passed in
> through PARALLEL_MAKE.  (OpenJDK doesn't know about these other flags
> that might have gotten tagged on after the value for -j.)
> 
> Signed-off-by: Kyle Russell 
> ---
>  classes/java.bbclass  | 17 
>  recipes-core/icedtea/icedtea7-native.inc  | 23 +-
>  recipes-core/openjdk/openjdk-7-common.inc | 32 
> +--
>  recipes-core/openjdk/openjdk-8-common.inc | 21 
>  recipes-core/openjdk/openjdk-8-cross.inc  |  6 +++---
>  recipes-core/openjdk/openjdk-8-native.inc |  2 +-
>  6 files changed, 23 insertions(+), 78 deletions(-)

That was fast !

Pushed to master-next.

Thanks,
Maxin


-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH 2/2] Reimplement helper method for parallelizing JDK builds

2016-08-24 Thread Maxin B. John
Hi,

On Fri, Aug 19, 2016 at 05:58:02PM -0400, Kyle Russell wrote:
> Simplifies duplicated implementation across multiple recipes that all
> inherited from java.bbclass.
> 
> Previously implementation was not flexible in supporting other make
> job-limiting flags (like -l for load) that are typically passed in
> through PARALLEL_MAKE.  (OpenJDK doesn't know about these other flags
> that might have gotten tagged on after the value for -j.)
> 
> Signed-off-by: Kyle Russell 
> ---
>  classes/java.bbclass  | 17 
>  recipes-core/icedtea/icedtea7-native.inc  | 23 +-
>  recipes-core/openjdk/openjdk-7-common.inc | 32 
> +--
>  recipes-core/openjdk/openjdk-8-common.inc | 21 
>  recipes-core/openjdk/openjdk-8-cross.inc  |  6 +++---
>  recipes-core/openjdk/openjdk-8-native.inc |  2 +-
>  6 files changed, 23 insertions(+), 78 deletions(-)

Can you please rebase this on the latest master branch and resend?



Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH 1/2] rhino-native should depend on classpath-native

2016-08-24 Thread Maxin B. John
Hi Kyle,

On Fri, Aug 19, 2016 at 05:58:01PM -0400, Kyle Russell wrote:
> rhino's do_compile task passes
> ${STAGING_DATADIR_NATIVE}/classpath/glibj.zip to javac.  This glibj.zip
> archive comes from the classpath-native package.
> 
> Signed-off-by: Kyle Russell 
> ---
>  recipes-core/rhino/rhino_1.7r4.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/recipes-core/rhino/rhino_1.7r4.bb 
> b/recipes-core/rhino/rhino_1.7r4.bb
> index 7898d23..30d5a62 100644
> --- a/recipes-core/rhino/rhino_1.7r4.bb
> +++ b/recipes-core/rhino/rhino_1.7r4.bb
> @@ -2,6 +2,8 @@ DESCRIPTION = "Lexical analyzer generator for Java"
>  LICENSE = "MPL-2.0"
>  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e2372bdbf22c99279ae4599a13cc458"
>  
> +DEPENDS_class-native += "classpath-native"
> +
>  BBCLASSEXTEND = "native"
>  
>  inherit java-library

Pushed to master-next. Thanks.

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] Updates to meta-java (master, master-next) in 2016-08-24

2016-08-24 Thread Maxin B. John
Hi,

I merged the following commits to master and master-next branches:

commit 216481ba09c187d0b0fc8f864944af6ae026ff73
Author: Erkka Kääriä <erkka.kaa...@intel.com>
Date:   Tue Aug 23 11:14:56 2016 +0300

openjdk-8: Fix QA error caused by a missing hash

EXTRA_LDFLAGS were not used when building certain shared objects. This
means that the Yocto specific linker flags were lost, which caused build
failures due to a bad hash style QA error.

Signed-off-by: Erkka Kääriä <erkka.kaa...@intel.com>
Signed-off-by: Maxin B. John <maxin.j...@intel.com>

commit 0f127a49696696ac48c394f84232e7f56b29fbe7
Author: Erkka Kääriä <erkka.kaa...@intel.com>
Date:   Mon Aug 15 12:36:20 2016 +0300

openjdk-8-release-102b14.inc: Ignore deprecation
   
readdir_r has been deprecated since glibc 2.24. As openjdk uses this
function, a warning is generated during build that gets turned into
an error when -Werror is used.

While the readdir function is suggested as an replacement, it has
slightly different API. The warning is ignored instead to prevent any
unexpected breakage from patching the offending functions.

Signed-off-by: Erkka Kääriä <erkka.kaa...@intel.com>
Signed-off-by: Maxin B. John <maxin.j...@intel.com>

commit 0eeeb059751c00042bd0341d17f5cceddef3c502
Author: Erkka Kääriä <erkka.kaa...@intel.com>
Date:   Tue Aug 9 10:32:17 2016 +0300

openjdk-8: Upgrade from u72 to u102


Openjdk is upgraded from u72 to u102. Two patches are dropped, as these
were backports and the fixes are present in the current version. One
patch was refreshed. One patch was backported from the upcoming u112 to
fix a zero mode crash.


Signed-off-by: Erkka Kääriä <erkka.kaa...@intel.com>
Signed-off-by: Maxin B. John <maxin.j...@intel.com>

commit 0d58a4fb4236edeeeb3f23a66c0c14279066c8bb
Author: Richard Leitner <richard.leit...@skidata.com>
Date:   Tue Aug 16 14:49:00 2016 +0200

openjdk-7: disable IcedTea's auto-downloading

Pass "--enable-downloading=no" to IcedTea's make. This ensures
IcedTea uses the versions and checksums we defined in the openjdk-7-jre
recipe for its "sub-modules".

Signed-off-by: Richard Leitner <richard.leit...@skidata.com>
Signed-off-by: Maxin B. John <maxin.j...@intel.com>

commit d41d541b4a3c570f6920d1bf44ab8cb651cfd4b7
Author: Maxin B. John <maxin.j...@intel.com>
Date:   Tue Aug 16 16:23:56 2016 +0300

README: mention master in supported branches

Along with krogoth, meta-java also works with master branches
of respective layers.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH v2 2/2] openjdk-8-release-102b14.inc: Ignore deprecation

2016-08-18 Thread Maxin B. John
Hi Erkka,

On Mon, Aug 15, 2016 at 12:36:20PM +0300, Erkka Kääriä wrote:
> readdir_r has been deprecated since glibc 2.24. As openjdk uses this
> function, a warning is generated during build that gets turned into
> an error when -Werror is used.

Yes, this fixes the build error that we got with the first version. Thank you!

However,we are getting another QA Error with the build:

ERROR: openjre-8-102b14-r0 do_package_qa: QA Issue: No GNU_HASH in the elf 
binary: 
'/media/poky/build/tmp/work/core2-64-poky-linux/openjre-8/102b14-r0/packages-split/openjre-8/usr/lib/jvm/openjre-8/lib/amd64/libjsig.so'
No GNU_HASH in the elf binary: 
'/media/poky/build/tmp/work/core2-64-poky-linux/openjre-8/102b14-r0/packages-split/openjre-8/usr/lib/jvm/openjre-8/lib/amd64/server/libjvm.so'
 [ldflags]
ERROR: openjre-8-102b14-r0 do_package_qa: QA run found fatal errors. Please 
consider fixing them.
ERROR: openjre-8-102b14-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: 
/media/poky/build/tmp/work/core2-64-poky-linux/openjre-8/102b14-r0/temp/log.do_package_qa.22839
ERROR: Task 
/home/maxin/clone/meta-java/recipes-core/openjdk/openjre-8_102b14.bb:do_package_qa
 
(/home/maxin/clone/meta-java/recipes-core/openjdk/openjre-8_102b14.bb:do_package_qa)
 failed with exit code '1'
NOTE: Tasks Summary: Attempted 1344 tasks of which 1332 didn't need to be rerun 
and 1 failed.
NOTE: Writing buildhistory



Could you please look into this ?

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] README: fix branches of openembedded layers we depend on

2016-08-15 Thread Maxin B. John
Hi Khem,

On Fri, Aug 12, 2016 at 08:04:38PM -0700, Khem Raj wrote:
> On 16-08-12 16:06:33, Maxin B. John wrote:
> > Hi,
> > 
> > On Fri, Aug 12, 2016 at 10:07:46AM +0200, Richard Leitner wrote:
> > > Since 33fbcd43 (rxtx: Add remove-libtool class to remove all .la files)
> > > rxtx requires the remove-libtool class. This class was introduced
> > > in the krogoth branch of openembedded-core and not backported.
> > > 
> > > Therefore update the branch names in the README to "krogoth".
> > > 
> > > Signed-off-by: Richard Leitner <richard.leit...@skidata.com>
> > > ---
> > >  README | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > 
> > > diff --git a/README b/README
> > > index 259fa75..f766869 100644
> > > --- a/README
> > > +++ b/README
> > > @@ -7,11 +7,11 @@ Yocto Project build systems.
> > >  This layer depends on:
> > >  
> > >  URI: git://git.openembedded.org/openembedded-core
> > > -branch: daisy
> > > +branch: krogoth
> > >  revision: HEAD
> > >  
> > >  URI: git://git.openembedded.org/meta-openembedded
> > > -branch: daisy
> > > +branch: krogoth
> > >  revision: HEAD
> > >  
> > >  Contributing
> > > -- 
> > > 2.1.4
> > 
> > README was a bit outdated. Thanks for updating it.
> > 
> > Pushed to master.
> 
> This should also reflect the fact that it also works
> with master branches of respective layers

Thanks for the suggestion. Will update it soon.

> > 

Warm Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] openjdk-8: Upgrade from u72 to u102y

2016-08-12 Thread Maxin B. John
Hi Erkka,

On Tue, Aug 09, 2016 at 10:32:17AM +0300, Erkka Kääriä wrote:
> Openjdk is upgraded from u72 to u102. Two patches are dropped, as these
> were backports and the fixes are present in the current version. One
> patch was refreshed. One patch was backported from the upcoming u112 to
> fix a zero mode crash.
> 
> Signed-off-by: Erkka Kääriä 
> ---
>  recipes-core/openjdk/openjdk-8-native_102b14.bb|2 +
>  recipes-core/openjdk/openjdk-8-native_72b05.bb |2 -
>  ...ease-72b05.inc => openjdk-8-release-102b14.inc} |   51 +-
>  .../{openjdk-8_72b05.bb => openjdk-8_102b14.bb}|4 +-
>  .../{openjre-8_72b05.bb => openjre-8_102b14.bb}|4 +-
>  .../openjdk8-avoid-early-ldflags-expansion.patch   |   53 -
>  .../openjdk8-fix-shark-stdc++11.patch  | 2623 
> ++--
>  .../openjdk8-fix-zero-mode-crash.patch |   49 +
>  ..._than_returning_address_of_local_variable.patch |   23 -


openjdk-8 build fails with the following error now:

| 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/os/linux/vm/os_linux.inline.hpp:127:42:
 error: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated 
[-Werror=deprecated-declarations]
|if((status = ::readdir_r(dirp, dbuf, )) != 0) {
|   ^
| In file included from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/os/linux/vm/jvm_linux.h:44:0,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/prims/jvm.h:30,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/utilities/debug.hpp:29,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/globals.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/memory/allocation.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/memory/iterator.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/memory/genOopClosures.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/oops/klass.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/handles.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/memory/universe.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/code/oopRecorder.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/asm/codeBuffer.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/code/codeBlob.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/code/nmethod.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/simpleThresholdPolicy.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/advancedThresholdPolicy.hpp:28,
|  from 
/media/poky/build/tmp/work/core2-64-poky-linux/openjdk-8/102b14-r0/jdk8u-bf0932d3e0f8/hotspot/src/share/vm/runtime/advancedThresholdPolicy.cpp:26:
| /media/poky/build/tmp/sysroots/qemux86-64/usr/include/dirent.h:183:12: note: 
declared here
|  extern int readdir_r (DIR *__restrict __dirp,
| ^
| cc1plus: all warnings being treated as errors

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] README: fix branches of openembedded layers we depend on

2016-08-12 Thread Maxin B. John
Hi,

On Fri, Aug 12, 2016 at 10:07:46AM +0200, Richard Leitner wrote:
> Since 33fbcd43 (rxtx: Add remove-libtool class to remove all .la files)
> rxtx requires the remove-libtool class. This class was introduced
> in the krogoth branch of openembedded-core and not backported.
> 
> Therefore update the branch names in the README to "krogoth".
> 
> Signed-off-by: Richard Leitner 
> ---
>  README | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/README b/README
> index 259fa75..f766869 100644
> --- a/README
> +++ b/README
> @@ -7,11 +7,11 @@ Yocto Project build systems.
>  This layer depends on:
>  
>  URI: git://git.openembedded.org/openembedded-core
> -branch: daisy
> +branch: krogoth
>  revision: HEAD
>  
>  URI: git://git.openembedded.org/meta-openembedded
> -branch: daisy
> +branch: krogoth
>  revision: HEAD
>  
>  Contributing
> -- 
> 2.1.4

README was a bit outdated. Thanks for updating it.

Pushed to master.

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] pointercal: move recipe to meta-oe

2016-08-03 Thread Maxin B. John
Hi Martin,

On Wed, Aug 03, 2016 at 02:52:22PM +0200, Martin Jansa wrote:
> On Wed, Aug 03, 2016 at 03:10:24PM +0300, Maxin B. John wrote:
> > xtscal is being replaced with xinput-calibrator in oe-core
> > and that made pointercal redundant. So, move it from oe-core to
> > meta-oe.
> 
> It's added to meta-gpe not meta-oe.
>
Sorry, will fix it.

> I'll wait with applying this to master-next until someone says he needs
> it, there is enough junk being moved from oe-core to meta-oe layers
> already.

Fair enough.

> You also forgot to migrate pointercal related changes in layer.conf.
 
Thanks for reminding it. Will do that.

> > Signed-off-by: Maxin B. John <maxin.j...@intel.com>
> > ---
> >  .../recipes-graphics/pointercal/pointercal/COPYING |   2 ++


Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] pointercal: move recipe to meta-oe

2016-08-03 Thread Maxin B. John
xtscal is being replaced with xinput-calibrator in oe-core
and that made pointercal redundant. So, move it from oe-core to
meta-oe.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../recipes-graphics/pointercal/pointercal/COPYING |   2 ++
 .../pointercal/pointercal/pointercal   |   0
 .../pointercal/pointercal/qemuarm/pointercal   |   1 +
 .../pointercal/pointercal/qemuarmv6/pointercal |   1 +
 .../pointercal/pointercal/qemuarmv7/pointercal |   1 +
 .../pointercal/pointercal/qemumips/pointercal  |   1 +
 .../pointercal/pointercal/qemuppc/pointercal   | Bin 0 -> 36 bytes
 .../pointercal/pointercal/qemux86-64/pointercal|   1 +
 .../pointercal/pointercal/qemux86/pointercal   |   1 +
 .../recipes-graphics/pointercal/pointercal_0.0.bb  |  22 +
 10 files changed, 30 insertions(+)
 create mode 100644 meta-gpe/recipes-graphics/pointercal/pointercal/COPYING
 create mode 100644 meta-gpe/recipes-graphics/pointercal/pointercal/pointercal
 create mode 100644 
meta-gpe/recipes-graphics/pointercal/pointercal/qemuarm/pointercal
 create mode 100644 
meta-gpe/recipes-graphics/pointercal/pointercal/qemuarmv6/pointercal
 create mode 100644 
meta-gpe/recipes-graphics/pointercal/pointercal/qemuarmv7/pointercal
 create mode 100644 
meta-gpe/recipes-graphics/pointercal/pointercal/qemumips/pointercal
 create mode 100644 
meta-gpe/recipes-graphics/pointercal/pointercal/qemuppc/pointercal
 create mode 100644 
meta-gpe/recipes-graphics/pointercal/pointercal/qemux86-64/pointercal
 create mode 100644 
meta-gpe/recipes-graphics/pointercal/pointercal/qemux86/pointercal
 create mode 100644 meta-gpe/recipes-graphics/pointercal/pointercal_0.0.bb

diff --git a/meta-gpe/recipes-graphics/pointercal/pointercal/COPYING 
b/meta-gpe/recipes-graphics/pointercal/pointercal/COPYING
new file mode 100644
index 000..63f5293
--- /dev/null
+++ b/meta-gpe/recipes-graphics/pointercal/pointercal/COPYING
@@ -0,0 +1,2 @@
+This is a blank COPYING file, and should be filled in by original author in 
future.
+
diff --git a/meta-gpe/recipes-graphics/pointercal/pointercal/pointercal 
b/meta-gpe/recipes-graphics/pointercal/pointercal/pointercal
new file mode 100644
index 000..e69de29
diff --git a/meta-gpe/recipes-graphics/pointercal/pointercal/qemuarm/pointercal 
b/meta-gpe/recipes-graphics/pointercal/pointercal/qemuarm/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-gpe/recipes-graphics/pointercal/pointercal/qemuarm/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git 
a/meta-gpe/recipes-graphics/pointercal/pointercal/qemuarmv6/pointercal 
b/meta-gpe/recipes-graphics/pointercal/pointercal/qemuarmv6/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-gpe/recipes-graphics/pointercal/pointercal/qemuarmv6/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git 
a/meta-gpe/recipes-graphics/pointercal/pointercal/qemuarmv7/pointercal 
b/meta-gpe/recipes-graphics/pointercal/pointercal/qemuarmv7/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-gpe/recipes-graphics/pointercal/pointercal/qemuarmv7/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git 
a/meta-gpe/recipes-graphics/pointercal/pointercal/qemumips/pointercal 
b/meta-gpe/recipes-graphics/pointercal/pointercal/qemumips/pointercal
new file mode 100644
index 000..abd84ca
--- /dev/null
+++ b/meta-gpe/recipes-graphics/pointercal/pointercal/qemumips/pointercal
@@ -0,0 +1 @@
+8313 4 -8526 7 8334 -82604 65536
diff --git a/meta-gpe/recipes-graphics/pointercal/pointercal/qemuppc/pointercal 
b/meta-gpe/recipes-graphics/pointercal/pointercal/qemuppc/pointercal
new file mode 100644
index 
..c2d6e37bf0c0d956ba17ba9955613c4cee5a147a
GIT binary patch
literal 36
mcmXpsFt#*Q&;=n=3lPgl!O+0i%uK=9!qiZ~%+%D_i~#_8+XjmO

literal 0
HcmV?d1

diff --git 
a/meta-gpe/recipes-graphics/pointercal/pointercal/qemux86-64/pointercal 
b/meta-gpe/recipes-graphics/pointercal/pointercal/qemux86-64/pointercal
new file mode 100644
index 000..640053d
--- /dev/null
+++ b/meta-gpe/recipes-graphics/pointercal/pointercal/qemux86-64/pointercal
@@ -0,0 +1 @@
+1280 0 1002 0 960 328 65536
diff --git a/meta-gpe/recipes-graphics/pointercal/pointercal/qemux86/pointercal 
b/meta-gpe/recipes-graphics/pointercal/pointercal/qemux86/pointercal
new file mode 100644
index 000..640053d
--- /dev/null
+++ b/meta-gpe/recipes-graphics/pointercal/pointercal/qemux86/pointercal
@@ -0,0 +1 @@
+1280 0 1002 0 960 328 65536
diff --git a/meta-gpe/recipes-graphics/pointercal/pointercal_0.0.bb 
b/meta-gpe/recipes-graphics/pointercal/pointercal_0.0.bb
new file mode 100644
index 000..df735a5
--- /dev/null
+++ b/meta-gpe/recipes-graphics/pointercal/pointercal_0.0.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Touchscreen calibration data"
+SECTION = "base"
+PR = "r11"
+LICENSE = &q

[oe] [PATCH] xtscal: move recipe to meta-oe

2016-08-03 Thread Maxin B. John
Since xtscal is being replaced with xinput-calibrator in oe-core,
move it from oe-core to meta-oe for those who want to use it.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../xtscal/xtscal/30xTs_Calibrate.sh   |  13 +
 .../xtscal/xtscal/change-cross.patch   |  18 +
 .../recipes-graphics/xtscal/xtscal/cleanup.patch   | 621 +
 .../xtscal/dso_linking_change_build_fix.patch  |  27 +
 meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb   |  33 ++
 5 files changed, 712 insertions(+)
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch
 create mode 100644 
meta-gpe/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch
 create mode 100644 meta-gpe/recipes-graphics/xtscal/xtscal_0.6.3.bb

diff --git a/meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh 
b/meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
new file mode 100644
index 000..fa43617
--- /dev/null
+++ b/meta-gpe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+. /etc/formfactor/config
+
+if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
+   n=1
+   while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ] && [ $n -le 
5 ]
+   do
+  /usr/bin/xtscal
+  sleep 1
+  n=$(($n+1))
+   done
+fi
diff --git a/meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch 
b/meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch
new file mode 100644
index 000..1da7717
--- /dev/null
+++ b/meta-gpe/recipes-graphics/xtscal/xtscal/change-cross.patch
@@ -0,0 +1,18 @@
+Upstream-Status: Pending
+
+--- tmp/main.c.orig2007-01-02 15:39:54.0 +
 tmp/main.c 2007-01-02 15:39:54.0 +
+@@ -131,9 +131,10 @@
+ {
+   XRenderFillRectangles (dpy, PictOpSrc, pict, _color, rectangles, 2);
+ 
+-  XFillArc (dpy, crosshair_w, crosshair_gc, (CROSSHAIR_SIZE / 2) - (WIDTH / 
2) - 1, 
+-  (CROSSHAIR_SIZE / 2) - (WIDTH / 2) - 1,
+-  WIDTH + 1, WIDTH + 1, 0, 360 * 64);
++  XFillRectangle (dpy, crosshair_w, crosshair_gc,
++(CROSSHAIR_SIZE / 2) - (WIDTH / 2),
++(CROSSHAIR_SIZE / 2) - (WIDTH / 2),
++WIDTH, WIDTH);
+ }
+ 
+ void
diff --git a/meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch 
b/meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch
new file mode 100644
index 000..f7b0854
--- /dev/null
+++ b/meta-gpe/recipes-graphics/xtscal/xtscal/cleanup.patch
@@ -0,0 +1,621 @@
+---
+ Makefile.am  |9 --
+ configure.ac |3 
+ gpe-dist.am  |   12 ---
+ h3600_ts.h   |  216 
---
+ main.c   |  210 ++---
+ xtscal.in|   19 -
+ 6 files changed, 14 insertions(+), 455 deletions(-)
+
+Upstream-Status: Pending
+
+Index: xtscal-0.6.3/xtscal.in
+===
+--- xtscal-0.6.3.orig/xtscal.in2004-09-10 20:10:36.0 +0100
 /dev/null  1970-01-01 00:00:00.0 +
+@@ -1,19 +0,0 @@
+-#!/bin/sh
+-
+-module_id() {
+-# Get model name
+-echo `grep "^Hardware" /proc/cpuinfo | sed -e "s/.*: *//" | tr a-z A-Z`
+-}
+-
+-case `module_id` in
+-  "HP IPAQ H3100" | "HP IPAQ H3800" )
+-  ARGS="-rotate 90" ;;
+-  "HP IPAQ H3600" | "HP IPAQ H3700" | "HP IPAQ H3900" | *COLLIE | *POODLE)
+-  ARGS="-rotate 270" ;;
+-  # H2200: works without rotation
+-esac
+-
+-# the things we do for autoconf
+-prefix=@prefix@
+-exec_prefix=@exec_prefix@
+-exec @libexecdir@/xtscal.bin $ARGS $*
+Index: xtscal-0.6.3/main.c
+===
+--- xtscal-0.6.3.orig/main.c   2007-07-01 01:12:52.0 +0100
 xtscal-0.6.3/main.c2007-07-01 01:12:55.0 +0100
+@@ -22,12 +22,10 @@
+ #include 
+ 
+ #include 
+-#include 
+ #include 
+ #include 
+ #include 
+ 
+-#include "h3600_ts.h"
+ #include "calibrate.h"
+ 
+ Display *dpy;
+@@ -45,15 +43,11 @@ XftColor xftcol;
+ XftDraw *xftdraw;
+ XftFont *xftfont;
+ int screen_x, screen_y;
+-int ts_fd;
+ int samples;
+ Pixmap bg_pixmap;
+ int flag_debug;
+-int rotation = 0;
+ int error_base, event_base;
+ 
+-int using_xcalibrate;
+-
+ int moving;
+ 
+ #define CROSSHAIR_SIZE25
+@@ -63,7 +57,6 @@ int moving;
+ #define ENOUGH 5
+ #define MAX_SAMPLES 40
+ 
+-#define RAW_DEVICE "/dev/h3600_tsraw"
+ #define FONTNAME "sans-10"
+ 
+ struct point 
+@@ -287,12 +280,8 @@ sort_by_y (const void* a, const void *b)
+ void
+ set_calibration (calibration *cal)
+ {
+-  TS_CAL tc;
+-  int xtrans, ytrans, xscale, yscale, 

Re: [oe] [PATCH] directfb: move recipe to meta-oe

2016-07-12 Thread Maxin B. John
Hi Martin,

On Mon, Jul 11, 2016 at 04:35:37PM +0200, Martin Jansa wrote:
> On Mon, Jul 04, 2016 at 04:45:53PM +0300, Maxin B. John wrote:
> > directfb.org has been down for about a year now. Since there
> > are active users for this recipe, it makes sense to move this
> > from oe-core to meta-oe.
> 
> Fails to apply:
> 
> OE @ ~/meta-openembedded $ pwam 126087
> 2016-07-11 15:29:51 URL:https://patchwork.openembedded.org/patch/126087/mbox/ 
> [33428] -> "pw-am-126087.patch" [1]
> Applying: directfb: move recipe to meta-oe
> .git/rebase-apply/patch:51: trailing whitespace.
>  
> .git/rebase-apply/patch:53: trailing whitespace.
>  
> .git/rebase-apply/patch:56: space before tab in indent.
> AC_MSG_ERROR([$DIRECTFB_PKG_ERRORS
> .git/rebase-apply/patch:59: trailing whitespace.
> -- 
> .git/rebase-apply/patch:207: trailing whitespace.
>  
> fatal: corrupt patch at line 401
> Patch failed at 0001 directfb: move recipe to meta-oe
> The copy of the patch that failed is found in: .git/rebase-apply/patch
> When you have resolved this problem, run "git am --continue".
> If you prefer to skip this patch, run "git am --skip" instead.
> To restore the original branch and stop patching, run "git am --abort".
> OE @ ~/meta-openembedded $ patch -p1 < pw-am-126087.patch 
> patching file 
> meta-oe/recipes-graphics/directfb/directfb-examples/configure.in-Fix-string-argument-syntax.patch
> patching file meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb
> patching file meta-oe/recipes-graphics/directfb/directfb.inc
> patching file 
> meta-oe/recipes-graphics/directfb/directfb/0001-gfx-direct-Aboid-usng-VLAs-and-printf-formats.patch
> patching file meta-oe/recipes-graphics/directfb/directfb/bashism.patch
> patching file meta-oe/recipes-graphics/directfb/directfb/compar_fn_t.patch
> patching file meta-oe/recipes-graphics/directfb/directfb/configurefix.patch
> patch:  malformed patch at line 360:  
> ages-split/directfb/usr/bin/dfbscreen contains probably-redundant RPATH 
> /usr/libWARNING: QA Issue: directfb: 
> /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/mkdgiff
>  contains probably-redundant RPATH /usr/libWARNING: QA Issue: directfb: 
> /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/dfbinspector
>  contains probably-redundant RPATH /usr/lib
> 
> Because there is extra line feed in
> meta-oe/recipes-graphics/directfb/directfb/configurefix.patch
> (very long line), please check your sender configuration to prevent mangling 
> the patches in future.

Sorry for that. I had to send the patch with "--no-validate" option because it
contained lines longer than 998 characters.

> This time I've fixed and applied it manually.

Thank you very much.

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] directfb: move recipe to meta-oe

2016-07-04 Thread Maxin B. John
directfb.org has been down for about a year now. Since there
are active users for this recipe, it makes sense to move this
from oe-core to meta-oe.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../configure.in-Fix-string-argument-syntax.patch  |  28 +
 .../directfb/directfb-examples_1.7.0.bb|  21 
 meta-oe/recipes-graphics/directfb/directfb.inc |  80 ++
 ...direct-Aboid-usng-VLAs-and-printf-formats.patch |  61 +++
 .../directfb/directfb/bashism.patch|  18 
 .../directfb/directfb/compar_fn_t.patch|  62 +++
 .../directfb/directfb/configurefix.patch   |  60 +++
 .../fix-client-gfx_state-initialisation.patch  |  38 +++
 .../directfb/directfb/fusion.patch |  36 +++
 .../directfb/directfb/union-sigval.patch   |  19 
 .../directfb/use-PTHREAD_MUTEX_RECURSIVE.patch | 116 +
 .../recipes-graphics/directfb/directfb_1.7.7.bb|   8 ++
 12 files changed, 547 insertions(+)
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb-examples/configure.in-Fix-string-argument-syntax.patch
 create mode 100644 meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb
 create mode 100644 meta-oe/recipes-graphics/directfb/directfb.inc
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb/0001-gfx-direct-Aboid-usng-VLAs-and-printf-formats.patch
 create mode 100644 meta-oe/recipes-graphics/directfb/directfb/bashism.patch
 create mode 100644 meta-oe/recipes-graphics/directfb/directfb/compar_fn_t.patch
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb/configurefix.patch
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb/fix-client-gfx_state-initialisation.patch
 create mode 100644 meta-oe/recipes-graphics/directfb/directfb/fusion.patch
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb/union-sigval.patch
 create mode 100644 
meta-oe/recipes-graphics/directfb/directfb/use-PTHREAD_MUTEX_RECURSIVE.patch
 create mode 100644 meta-oe/recipes-graphics/directfb/directfb_1.7.7.bb

diff --git 
a/meta-oe/recipes-graphics/directfb/directfb-examples/configure.in-Fix-string-argument-syntax.patch
 
b/meta-oe/recipes-graphics/directfb/directfb-examples/configure.in-Fix-string-argument-syntax.patch
new file mode 100644
index 000..0717ea6
--- /dev/null
+++ 
b/meta-oe/recipes-graphics/directfb/directfb-examples/configure.in-Fix-string-argument-syntax.patch
@@ -0,0 +1,28 @@
+From 88077ed156a714f32bb408f422278d61611ffd41 Mon Sep 17 00:00:00 2001
+From: Otavio Salvador <ota...@ossystems.com.br>
+Date: Sat, 26 Jul 2014 16:57:46 -0300
+Subject: [PATCH] configure.in: Fix string argument syntax
+
+Upstream-Status: Submitted
+
+Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
+---
+ configure.in |2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.in b/configure.in
+index bfe1b82..e939bbd 100644
+--- a/configure.in
 b/configure.in
+@@ -65,7 +65,7 @@ fi)
+ 
+ DIRECTFB_REQUIRED_VERSION=1.4.14
+ 
+-PKG_CHECK_MODULES(DIRECTFB, directfb >= $DIRECTFB_REQUIRED_VERSION,[ 
WATER=`$PKG_CONFIG --variable=water directfb` ],
++PKG_CHECK_MODULES([DIRECTFB], directfb >= $DIRECTFB_REQUIRED_VERSION,[ 
WATER=`$PKG_CONFIG --variable=water directfb` ],
+   AC_MSG_ERROR([$DIRECTFB_PKG_ERRORS
+ *** DirectFB $DIRECTFB_REQUIRED_VERSION or newer is required. The latest 
version
+ *** of DirectFB is available from http://www.directfb.org/.]))
+-- 
+1.7.10.4
+
diff --git a/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb 
b/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb
new file mode 100644
index 000..7907c5c
--- /dev/null
+++ b/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb
@@ -0,0 +1,21 @@
+SUMMARY = "Example DirectFB applications"
+DESCRIPTION = "The DirectFB-examples package contains a set of simple DirectFB 
\
+  applications that can be used to test and demonstrate various DirectFB \
+  features"
+DEPENDS = "directfb"
+SECTION = "libs"
+LICENSE = "MIT"
+
+SRC_URI = " \
+   
http://downloads.yoctoproject.org/mirror/sources/DirectFB-examples-${PV}.tar.gz 
\
+   file://configure.in-Fix-string-argument-syntax.patch \
+  "
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=ecf6fd2b19915afc4da56043926ca18f"
+
+S = "${WORKDIR}/DirectFB-examples-${PV}"
+
+inherit autotools pkgconfig
+
+SRC_URI[md5sum] = "8b60c867af295481c32a8c7fc5802307"
+SRC_URI[sha256sum] = 
"9a2104cc4da8123c8371813551b66b943198979f745cbebc034bb5e10844122a"
diff --git a/meta-oe/recipes-graphics/directfb/directfb.inc 
b/meta-oe/recipes-graphics/directfb/directfb.inc
new file mode 100644
index 000..46e0838
--- /dev/null
+++ b/meta-oe/recipes-graphics/directfb/directfb.inc
@@ -0,0 +1,80 @@
+SUMMARY = "Graphics abstraction library for the Lin

Re: [oe] [meta-java][PATCH] javasqlite: add support

2016-06-01 Thread Maxin B. John
Hi,

On Wed, Jun 01, 2016 at 09:43:42AM +0800, Feng Mu wrote:
> Javasqlite is a Java wrapper including a basic JDBC driver
> for SQLite 2/3.
> 
> Signed-off-by: Feng Mu 
> ---
>  .../0001-fix-errors-during-cross-compile.patch | 533 
> +
>  recipes-core/javasqlite/javasqlite_20150419.bb |  41 ++
>  2 files changed, 574 insertions(+)
>  create mode 100644 
> recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
>  create mode 100644 recipes-core/javasqlite/javasqlite_20150419.bb
> 
> diff --git 
> a/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch 
> b/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
> new file mode 100644
> index 000..d9f85e4
> --- /dev/null
> +++ b/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
> @@ -0,0 +1,533 @@
> +From 7714a4c0e589f8b654e1270575512555ea4ad6c7 Mon Sep 17 00:00:00 2001
> +From: Feng Mu 
> +Date: Fri, 27 May 2016 16:44:33 +0800
> +Subject: [PATCH] fix errors during cross compile

Missing upstream-status

> +Signed-off-by: Feng Mu 
> +---
> + Makefile.in  |  56 +++--
> + configure.in | 382 
> ++-
> + 2 files changed, 423 insertions(+), 14 deletions(-)
> +



> +
> +SRC_URI[md5sum] = "242e384c1cd863d6996a35cf8c1c1e97"
> +SRC_URI[sha256sum] = 
> "b6b26e2c1a2174f5525d904eb3ff698c3f7089f0d4b4c84cf6121da08c8d801f"
> +
> +EXTRA_OECONF = " \
> +--with-sqlite3=${STAGING_DIR_NATIVE}/usr \
> +--with-sqlite3-target=${STAGING_DIR_TARGET}/usr \
> +--with-jdk=${STAGING_DIR_NATIVE}/usr/lib/jvm/icedtea7-native/ \
> +"
> +
> +EXTRA_OEMAKE = "DESTDIR=${D}"
> +

It will be better if we have a comment explaining the reason for using 
INSANE_SKIP.

> +INSANE_SKIP_${PN}-dev = "dev-elf"
> +
> +do_configure_append (){
> + cp ${S}/*-libtool ${S}/libtool
> +}

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] OE Changelog since 2016-05-15 until 2016-05-22

2016-05-24 Thread Maxin B. John
Hi,

On Mon, May 23, 2016 at 06:50:51PM -0700, cliff.br...@gmail.com wrote:
> Changelog since 2016-05-15 until 2016-05-22.  Projects included in this 
> report:
> 
> bitbake: git://git.openembedded.org/bitbake
> openembedded-core: git://git.openembedded.org/openembedded-core
> meta-openembedded: git://git.openembedded.org/meta-openembedded
> meta-angstrom: git://github.com/Angstrom-distribution/meta-angstrom.git
> meta-arago: git://arago-project.org/git/meta-arago.git
> meta-atmel: https://github.com/linux4sam/meta-atmel.git
> meta-beagleboard: git://github.com/beagleboard/meta-beagleboard.git
> meta-browser: git://github.com/OSSystems/meta-browser.git
> meta-bug: git://github.com/buglabs/meta-bug.git
> meta-chicken: git://github.com/OSSystems/meta-chicken
> meta-efikamx: git://github.com/kraj/meta-efikamx.git
> meta-ettus: http://github.com/koenkooi/meta-ettus.git
> meta-fsl-arm: git://git.yoctoproject.org/meta-fsl-arm
> meta-fsl-arm-extra: git://github.com/Freescale/meta-fsl-arm-extra.git
> meta-fsl-ppc: git://git.yoctoproject.org/meta-fsl-ppc
> meta-guacamayo: git://github.com/Guacamayo/meta-guacamayo.git
> meta-gumstix: git://github.com/gumstix/meta-gumstix.git
> meta-gumstix-community: 
> https://github.com/schnitzeltony/meta-gumstix-community.git
> meta-handheld: git://git.openembedded.org/meta-handheld
> meta-igep: http://github.com/ebutera/meta-igep.git
> meta-intel: git://git.yoctoproject.org/meta-intel
> meta-ivi: git://git.yoctoproject.org/meta-ivi
> meta-java: git://github.com/woglinde/meta-java

meta-java repo was moved to:
git://git.yoctoproject.org/meta-java 

Is it possible to update the list with that info?

> meta-jetson-tk1: https://github.com/cubicool/meta-jetson-tk1.git
> meta-kde: git://gitorious.org/openembedded-core-layers/meta-kde.git
> meta-micro: git://git.openembedded.org/meta-micro
> meta-mono: git://git.yoctoproject.org/meta-mono.git
> meta-netbookpro: git://github.com/tworaz/meta-netbookpro
> meta-nodejs: https://github.com/imyller/meta-nodejs.git
> meta-nslu2: git://github.com/kraj/meta-nslu2
> meta-opie: git://git.openembedded.org/meta-opie
> meta-qt3: git://git.yoctoproject.org/meta-qt3

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH v2 1/3] java-bootstrapping: Do not rely on hardcoded paths

2016-04-29 Thread Maxin B. John
Hi,

On Fri, Apr 29, 2016 at 09:48:19AM +0300, Erkka Kääriä wrote:
> Various paths to files are hardcoded in either helper scripts or the
> resulting binaries (like path to Java class libraries). While this works
> well when using the files on the build machine, things start breaking
> down when the sstate gets shared between multiple workers in CI, as
> the paths between workers can differ.
> 
> Instead of using these hardcoded paths, form the paths at runtime and pass 
> them as parameters when required.
> 
> Signed-off-by: Erkka Kääriä 
> ---
>  ...cacao-1.6.1-do-not-rely-on-absolute-paths.patch | 41 
> ++
>  recipes-core/cacao/cacao-initial-native_0.98.bb|  1 +
>  recipes-core/cacao/cacao_1.6.1.bb  | 21 ---
>  ...cacao-0.9.8-do-not-rely-on-absolute-paths.patch | 33 +
>  recipes-core/ecj/ecj-bootstrap-native.bb   |  8 -
>  recipes-core/ecj/ecj-initial-native.bb |  9 -
>  6 files changed, 96 insertions(+), 17 deletions(-)
>  create mode 100644 
> recipes-core/cacao/cacao-1.6.1/cacao-1.6.1-do-not-rely-on-absolute-paths.patch
>  create mode 100644 
> recipes-core/cacao/files/cacao-0.9.8-do-not-rely-on-absolute-paths.patch

Pushed to master. Thank you!

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH 1/3] java-bootstrapping: Do not rely on hardcoded paths

2016-04-28 Thread Maxin B. John
Hi Erkka,

Have a couple of comments about this patch-set:

1. Upstream-Status is missing
2. cacao build fails after applying this patch. 

On Fri, Apr 22, 2016 at 01:48:26PM +0300, Erkka Kääriä wrote:
> Various paths to files are hardcoded in either helper scripts or the
> resulting binaries (like path to Java class libraries). While this works
> well when using the files on the build machine, things start breaking
> down when the sstate gets shared between multiple workers in CI, as
> the paths between workers can differ.
> 
> Instead of using these hardcoded paths, form the paths at runtime and pass 
> them as parameters when required.
> 



> -do_install_append () {
> -rm ${D}/${bindir}/java
> -}
> -
> -do_install_append_class-native () {
> -ln -sf cacao ${D}/${bindir}/java
> -}

# bitbake cacao 
...
NOTE: Executing RunQueue Tasks
ERROR: cacao-1.6.1-r0 do_package: QA Issue: cacao: Files/directories were 
installed but not shipped in any package:
  /usr/bin/java
  Please set FILES such that these items are packaged. Alternatively if they 
are unneeded, avoid installing them or delete them within do_install.
  cacao: 1 installed and not shipped files. [installed-vs-shipped]
  ERROR: cacao-1.6.1-r0 do_package: Fatal QA errors found, failing task.
  ERROR: cacao-1.6.1-r0 do_package: Function failed: do_package

Please fix it.

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] icedtea7-native: skip the already-stripped test

2016-04-28 Thread Maxin B. John

On Fri, Apr 22, 2016 at 05:36:14PM +0800, jackie.hu...@windriver.com wrote:
> From: Jackie Huang 
> 
> libfreetype.so.6 is copied from STAGING_LIBDIR and
> binaries/libraries in sysroot are already stripped
> since the following commit in oe-core:
> "30f3774 staging: Strip files in sysroot"
> 
> Signed-off-by: Jackie Huang 
> ---
>  recipes-core/icedtea/icedtea7-native.inc | 4 
>  1 file changed, 4 insertions(+)
> 
> diff --git a/recipes-core/icedtea/icedtea7-native.inc 
> b/recipes-core/icedtea/icedtea7-native.inc
> index 0ffe5d5..2dad84d 100644
> --- a/recipes-core/icedtea/icedtea7-native.inc
> +++ b/recipes-core/icedtea/icedtea7-native.inc
> @@ -43,6 +43,10 @@ B = "${S}/build"
>  export ALT_FREETYPE_HEADERS_PATH = "${STAGING_INCDIR}/freetype2"
>  export ALT_FREETYPE_LIB_PATH = "${STAGING_LIBDIR}"
>  
> +# libfreetype.so.6 is copied from STAGING_LIBDIR
> +# which is already stripped.
> +INSANE_SKIP_${PN} = "already-stripped"
> +
>  # OpenJDK supports parallel compilation but uses a plain number for this.
>  # In OE we have PARALLEL_MAKE which is the actual option passed to make,
>  # e.g. "-j 4".
> --

Pushed, Thanks!

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH 1/2] openjdk-8: make jar repacking optional

2016-04-28 Thread Maxin B. John
Hi,

On Wed, Apr 20, 2016 at 02:09:52PM -0600, Dan McGregor wrote:
> From: Daniel McGregor 
> 
> Repacking the runtime jar files takes a long time, and is only done
> to save some space. Make it optional to speed up builds that don't
> need it.
> 
> Signed-off-by: Daniel McGregor 
> ---
>  recipes-core/openjdk/openjdk-8-cross.inc | 21 -
>  recipes-core/openjdk/openjdk-8_72b05.bb  |  7 +--
>  recipes-core/openjdk/openjre-8_72b05.bb  |  7 +--
>  3 files changed, 22 insertions(+), 13 deletions(-)

Pushed these two patches. Thanks!

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH 2/2] Openjdk-8: Fix build flags for adlc

2016-03-22 Thread Maxin B. John
Hi Erkka,

On Mon, Mar 21, 2016 at 01:39:12PM +0200, Erkka Kääriä wrote:
> Adlc is a native tool that openjdk builds and uses during its build process.
> Bitbake however passes target machine specific CFLAGS and CXXFLAGS because we
> are crosscompiling openjdk for the target architecture. This can cause issues,
> if these flags contains values, that work for the Yocto provided crosscompiler
> but not for the system compiler.
> 
> As an example, compilation will fail on Ubuntu 14.04 if
> -fstack-protector-strong is specified in the distro security flags. Ubuntu
> 14.04 ships with GCC 4.8, whereas this flag is only supported by GCC 4.9+.

Pushed both these fixes to master-next. Thanks !

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] gpsd: Fix build when static libs disabled

2016-03-01 Thread Maxin B. John
Hi Chris,

On Tue, Mar 01, 2016 at 08:12:30AM +, Chris Trobridge wrote:
> 
> 
> [oe] [PATCH] gpsd: Fix build when static libs disabled
> 
> Chris Trobridge  07:58 
> To: openembedded-c...@lists.openembedded.org
> 
> http://lists.openembedded.org/pipermail/openembedded-devel/2016-February/106230.html
> 
> > Fix this build error:
> > SCons Error: no such option: --disable-static
> > Signed-off-by: Maxin B. John 
> > ---
> >  meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb | 1 +
> >  1 file changed, 1 insertion(+)
> > diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb 
> >b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
> > index ff268b3..a300595 100644
> > --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
> > +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
> > @@ -47,6 +47,7 @@ EXTRA_OESCONS = " \
> >      systemd='${SYSTEMD_OESCONS}' \
> >      ${EXTRA_OECONF} \
> >  "
> > +DISABLE_STATIC = ""
> >  & this cannot be used, because then chrpath is not found and only static 
> >lib is built
> >  & target=${HOST_SYS}
> >  
> > -- 
> > 2.4.0
> 
> While this fixes the build, is it just fixing the symptom?
> 
> I have a patch that copies the fix in:
> 
> http://lists.openembedded.org/pipermail/openembedded-devel/2016-February/106251.html
> 
> That is: use EXTRA_CONF_PACKAGECONFIG instead of EXTRA_OECONF, as mentioned 
> the above diff.
> 
> This prevents the option being pulled in in the first place, which ought to 
> be a more general solution.
>

Once that EXTRA_CONF_PACKAGECONFIG related patch merged in oe-core, please drop 
my fix
and go ahead with this patch.

> Regards,
> Chris

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] gpsd: Fix build when static libs disabled

2016-02-26 Thread Maxin B. John
Fix this build error:
SCons Error: no such option: --disable-static

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb 
b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
index ff268b3..a300595 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
@@ -47,6 +47,7 @@ EXTRA_OESCONS = " \
 systemd='${SYSTEMD_OESCONS}' \
 ${EXTRA_OECONF} \
 "
+DISABLE_STATIC = ""
 # this cannot be used, because then chrpath is not found and only static lib 
is built
 # target=${HOST_SYS}
 
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH 0/5] Fix several license issues

2016-02-05 Thread Maxin B. John
Hi,

On Fri, Feb 05, 2016 at 10:16:56AM +0800, jackie.hu...@windriver.com wrote:
> From: Jackie Huang 
> 
> Fixed the following license issues:
> WARNING: jikes-native: No generic license file exists for: IBM in any provider
> WARNING: cup-native: No generic license file exists for: CUP in any provider
> WARNING: jacl-native: No generic license file exists for: JACL in any provider
> WARNING: jlex-native: No generic license file exists for: JLEX in any provider
> WARNING: classpath: No generic license file exists for: Classpath in any 
> provider
> 
> --
> The following changes since commit b7fe60a8e23664b3c637fa913ccdcfd0c122487e:
> 
>   cacao: remove invalid configure options (2016-01-29 11:37:51 +0200)
> 
> are available in the git repository at:
> 
>   git://git.pokylinux.org/poky-contrib.git jhuang0/d_java-licenses_160205-0
>   http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/d_java-licenses_160205-0
> 
> Jackie Huang (5):
>   jikes: fix the license name
>   cup: add the license file
>   jacl: fix license and add license files
>   jlex: fix the license and add JLEX license file
>   classpath: fix the license
> 
>  licenses/AMD | 50 ++
>  licenses/CDS | 83 
> 
>  licenses/CUP | 20 +
>  licenses/JLEX| 19 +
>  licenses/SUN | 31 ++
>  recipes-core/classpath/classpath.inc |  2 +-
>  recipes-core/jacl/jacl_1.4.1.bb  |  5 ++-
>  recipes-core/jikes/jikes_1.22.bb |  2 +-
>  recipes-core/jlex/jlex_1.2.6.bb  |  4 +-
>  9 files changed, 209 insertions(+), 7 deletions(-)
>  create mode 100644 licenses/AMD
>  create mode 100644 licenses/CDS
>  create mode 100644 licenses/CUP
>  create mode 100644 licenses/JLEX
>  create mode 100644 licenses/SUN
>
Pushed these changes to the repo. Thank you!

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] libjpeg-turbo: remove recipe

2016-01-21 Thread Maxin B. John
Hi,

gentle ping.
(libjpeg-turbo was moved to oe-core on 2016-01-07)

On Mon, Nov 30, 2015 at 11:13:43AM +0200, Maxin B. John wrote:
> Remove libjpeg-turbo package from meta-oe as it will be moved to oe-core
> to replace libjpeg package.
> 
> Signed-off-by: Maxin B. John <maxin.j...@intel.com>
> ---
>  .../recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb| 40 
> --
>  1 file changed, 40 deletions(-)
>  delete mode 100644 meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
> 
> diff --git a/meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb 
> b/meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
> deleted file mode 100644
> index e79f800..000
> --- a/meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
> +++ /dev/null
> @@ -1,40 +0,0 @@
> -DESCRIPTION = "libjpeg-turbo is a derivative of libjpeg that uses SIMD 
> instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and 
> decompression"
> -HOMEPAGE = "http://libjpeg-turbo.org/;
> -
> -LICENSE = "BSD-3-Clause"
> -LIC_FILES_CHKSUM = 
> "file://cdjpeg.h;endline=12;md5=cad955d15145c3fdceec6855e078e953 \
> -
> file://jpeglib.h;endline=14;md5=dfc803dc51ae21178d1376ec73c4454d \
> -
> file://djpeg.c;endline=9;md5=e93a8f2061e8a0ac71c7a485c10489e2 \
> -"
> -
> -DEPENDS = "nasm-native"
> -
> -BASEPV = "${@d.getVar('PV',True).split('+')[1]}"
> -
> -SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${BASEPV}.tar.gz"
> -SRC_URI[md5sum] = "b1f6b84859a16b8ebdcda951fa07c3f2"
> -SRC_URI[sha256sum] = 
> "4bf5bad4ce85625bffbbd9912211e06790e00fb982b77724af7211034efafb08"
> -
> -S = "${WORKDIR}/${BPN}-${BASEPV}"
> -
> -# Drop-in replacement for jpeg
> -PROVIDES = "jpeg"
> -RPROVIDES_${PN} += "jpeg"
> -RREPLACES_${PN} += "jpeg"
> -RCONFLICTS_${PN} += "jpeg"
> -
> -inherit autotools pkgconfig
> -
> -EXTRA_OECONF = "--with-jpeg8 "
> -
> -PACKAGES =+ "jpeg-tools libturbojpeg"
> -
> -DESCRIPTION_jpeg-tools = "The jpeg-tools package includes client programs to 
> access libjpeg functionality.  These tools allow for the compression, 
> decompression, transformation and display of JPEG files and benchmarking of 
> the libjpeg library."
> -FILES_jpeg-tools = "${bindir}/*"
> -
> -FILES_libturbojpeg = "${libdir}/libturbojpeg.so"
> -INSANE_SKIP_libturbojpeg = "dev-so"
> -
> -BBCLASSEXTEND = "native"
> -
> -LEAD_SONAME = "libjpeg.so.8"
> -- 
> 2.4.0
>
Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] meta-java Workflow

2016-01-14 Thread Maxin B. John
Hi Jens,

On Wed, Jan 13, 2016 at 07:03:51PM +0100, Jens Rehsack wrote:
> Hi,
> 
> to avoid such a problem as it occurred with ec7b984f, 04d5d0bf and dfb21b44, 
> I strongly suggest that meta-java follows the merge-workflow from other 
> meta-layers:
> 
> cherry-pick new stuff into master-next, when settled - merge to master

Agree with this suggestion. Current state of meta-java isn't that great 
mostly because of the absence of a Continuous Integration process. 

I have briefly tried to incorporate automated testing for meta-java layer
in github using travic CI. However, it is not yet completed due to space 
limitation and timeout problems in Travis CI. Hoping to fix that soon.

https://github.com/maxinbjohn/meta-java/blob/master/.travis.yml

> Branch releases as other layers do and same, push back-ported patches into 
> ${rel_branch}-next and merge the behaving ones into ${rel_branch}.
> 
> The current way - pushing to master and live only there result in the 
> happened revert - and to continue my work I would have to revert the reverts 
> without any nice word in the commit message as I did in reverting 24b98ac3 
> with a88718b6.
> 
> Cheers
> Jens Rehsack - rehs...@gmail.com

Best Regards,
Maxin


-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] gnumail: Fix race condition in makefile

2015-12-11 Thread Maxin B. John
Hi Erkka,

On Thu, Dec 10, 2015 at 10:45:45AM +0200, Erkka Kääriä wrote:
> Parallel make does not handle multiple javac invocations correctly, as javac
> compiles any uncompiled dependencies on its own. This leads to a race 
> condition
> where make may see incomplete class files and incorrectly assume that the
> class files has already been compiled. This ultimately causes incomplete class
> files to be included in one of the jars, causing build failures later one when
> javac attempts to use such class file.
> 
> This issue is fixed by patching the makefile so that only one instance of 
> javac
> is invoked, which compiles all the java files in one go.
> 
> Signed-off-by: Erkka Kääriä 
> ---
>  .../fix_makefile_race_condition.patch  | 129 
> +
>  recipes-core/classpathx/gnumail_1.1.2.bb   |   1 +

Pushed to master with the fix for encoding weirdness which caused some troubles.
Thanks for these fixes.

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH v7 2/2] openjdk-8: add recipes for openjdk-8 and openjre-8

2015-12-09 Thread Maxin B. John
Hi Jens,

On Tue, Dec 08, 2015 at 02:52:51PM +0100, Jens Rehsack wrote:
> 
> This adds openjdk-8 for native and target builds and allows a stripped
> openjre-8 being built as well instead of trying to cherry-pick jre
> components from jdk-image.
> 
> The recipes allow building openjdk-8 with or without:
> * x11
> * cups
> * alsa/pulseaudio
> and let packager enable unlimited-crypto, if desired.
> 
> To support certificate based java libraries, cacerts is created based on
> ca-certificates from OE-core.
> 
> Since there can be only one PROVIDES for virtual/java-native and 
> virtual/javac-native,
> move the provides to openjdk-8-native (I think everyone agrees it's a better
> choice than ecj-bootstrap-native).
> 
> Plus: Applying a fix from openjdk-9 repository which fixes build issues using 
> gcc5
> 
> Signed-off-by: Jens Rehsack 


I have pushed these two patches to the master branch. Thanks a lot for this 
work.

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] libjpeg-turbo: remove recipe

2015-11-30 Thread Maxin B. John
Remove libjpeg-turbo package from meta-oe as it will be moved to oe-core
to replace libjpeg package.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb| 40 --
 1 file changed, 40 deletions(-)
 delete mode 100644 meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb

diff --git a/meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb 
b/meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
deleted file mode 100644
index e79f800..000
--- a/meta-oe/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
+++ /dev/null
@@ -1,40 +0,0 @@
-DESCRIPTION = "libjpeg-turbo is a derivative of libjpeg that uses SIMD 
instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and 
decompression"
-HOMEPAGE = "http://libjpeg-turbo.org/;
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = 
"file://cdjpeg.h;endline=12;md5=cad955d15145c3fdceec6855e078e953 \
-
file://jpeglib.h;endline=14;md5=dfc803dc51ae21178d1376ec73c4454d \
-
file://djpeg.c;endline=9;md5=e93a8f2061e8a0ac71c7a485c10489e2 \
-"
-
-DEPENDS = "nasm-native"
-
-BASEPV = "${@d.getVar('PV',True).split('+')[1]}"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${BASEPV}.tar.gz"
-SRC_URI[md5sum] = "b1f6b84859a16b8ebdcda951fa07c3f2"
-SRC_URI[sha256sum] = 
"4bf5bad4ce85625bffbbd9912211e06790e00fb982b77724af7211034efafb08"
-
-S = "${WORKDIR}/${BPN}-${BASEPV}"
-
-# Drop-in replacement for jpeg
-PROVIDES = "jpeg"
-RPROVIDES_${PN} += "jpeg"
-RREPLACES_${PN} += "jpeg"
-RCONFLICTS_${PN} += "jpeg"
-
-inherit autotools pkgconfig
-
-EXTRA_OECONF = "--with-jpeg8 "
-
-PACKAGES =+ "jpeg-tools libturbojpeg"
-
-DESCRIPTION_jpeg-tools = "The jpeg-tools package includes client programs to 
access libjpeg functionality.  These tools allow for the compression, 
decompression, transformation and display of JPEG files and benchmarking of the 
libjpeg library."
-FILES_jpeg-tools = "${bindir}/*"
-
-FILES_libturbojpeg = "${libdir}/libturbojpeg.so"
-INSANE_SKIP_libturbojpeg = "dev-so"
-
-BBCLASSEXTEND = "native"
-
-LEAD_SONAME = "libjpeg.so.8"
-- 
2.4.0

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] cacao: fix configure error

2015-11-03 Thread Maxin B. John
Hi Jens,

On Tue, Nov 03, 2015 at 11:15:01AM +0100, Jens Rehsack wrote:
> 
> This patch fixes the nowadays occuring configure error:
>   rm: cannot remove 'src/mm/boehm-gc/ltmain.sh': No such file or directory
> 
> Signed-off-by: Jens Rehsack 
> ---
>  recipes-core/cacao/cacao_1.6.1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-core/cacao/cacao_1.6.1.bb 
> b/recipes-core/cacao/cacao_1.6.1.bb
> index f88293b..8e212af 100644
> --- a/recipes-core/cacao/cacao_1.6.1.bb
> +++ b/recipes-core/cacao/cacao_1.6.1.bb
> @@ -54,7 +54,7 @@ EXTRA_OECONF = "\
>  do_configure_prepend () {
>  # upgrade m4 macros in source tree
>  libtoolize --force --copy --install
> -rm  src/mm/boehm-gc/ltmain.sh
> +rm  -f src/mm/boehm-gc/ltmain.sh
>  mkdir -p src/mm/boehm-gc/m4
>  }
>  
> --

Pushed, Thanks!

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] icedtea7-native: Fix memory leak when compiled with GCC 5.0+

2015-10-26 Thread Maxin B. John
Hi,

On Fri, Oct 23, 2015 at 12:50:01PM +0300, Erkka Kääriä wrote:
> 
> Hotspot compiler has a bug where signed integers could overflow. This is
> undefined behaviour, and causes massive memory leak when compiled with GCC 
> 5.0+,
> causing the build to fail.
> 
> This is fixed by backporting patch from
> https://bugs.openjdk.java.net/browse/JDK-8078666 where it was fixed by
> Severin Gehwolf.
>

Pushed to master, Thanks!


> Signed-off-by: Erkka Kääriä 
> ---
> diff --git 
> a/recipes-core/icedtea/openjdk-7-03b147/icedtea-hotspot-fix-undefined-behaviour.patch
>  
> b/recipes-core/icedtea/openjdk-7-03b147/icedtea-hotspot-fix-undefined-behaviour.patch
> new file mode 100644
> index 000..56513a0
> --- /dev/null
> +++ 
> b/recipes-core/icedtea/openjdk-7-03b147/icedtea-hotspot-fix-undefined-behaviour.patch
> @@ -0,0 +1,49 @@
> +Upstream-Status: Backport
> +
> +Hotspot compiler has a bug where signed integers could overflow. This is 
> +undefined behaviour, and causes massive memory leak when compiled with GCC 
> 5.0+, 
> +causing the build to fail.
> +
> +This is fixed by backporting patch from 
> +https://bugs.openjdk.java.net/browse/JDK-8078666 where it was fixed by 
> +Severin Gehwolf.
> +
> +Signed-off-by: Erkka Kääriä 
> +
> +--- openjdk/hotspot/src/share/vm/opto/type.cpp
>  openjdk/hotspot/src/share/vm/opto/type.cpp
> +@@ -1077,11 +1077,11 @@ static int normalize_int_widen( jint lo, jint hi, 
> int w ) {
> +   // Certain normalizations keep us sane when comparing types.
> +   // The 'SMALLINT' covers constants and also CC and its relatives.
> +   if (lo <= hi) {
> +-if ((juint)(hi - lo) <= SMALLINT)  w = Type::WidenMin;
> +-if ((juint)(hi - lo) >= max_juint) w = Type::WidenMax; // TypeInt::INT
> ++if (((juint)hi - lo) <= SMALLINT)  w = Type::WidenMin;
> ++if (((juint)hi - lo) >= max_juint) w = Type::WidenMax; // TypeInt::INT
> +   } else {
> +-if ((juint)(lo - hi) <= SMALLINT)  w = Type::WidenMin;
> +-if ((juint)(lo - hi) >= max_juint) w = Type::WidenMin; // dual 
> TypeInt::INT
> ++if (((juint)lo - hi) <= SMALLINT)  w = Type::WidenMin;
> ++if (((juint)lo - hi) >= max_juint) w = Type::WidenMin; // dual 
> TypeInt::INT  
> +   }
> +   return w;
> + }
> +@@ -1332,11 +1332,11 @@ static int normalize_long_widen( jlong lo, jlong hi, 
> int w ) {
> +   // Certain normalizations keep us sane when comparing types.
> +   // The 'SMALLINT' covers constants.
> +   if (lo <= hi) {
> +-if ((julong)(hi - lo) <= SMALLINT)   w = Type::WidenMin;
> +-if ((julong)(hi - lo) >= max_julong) w = Type::WidenMax; // 
> TypeLong::LONG
> ++if (((julong)hi - lo) <= SMALLINT)   w = Type::WidenMin;
> ++if (((julong)hi - lo) >= max_julong) w = Type::WidenMax; // 
> TypeLong::LONG  
> +   } else {
> +-if ((julong)(lo - hi) <= SMALLINT)   w = Type::WidenMin;
> +-if ((julong)(lo - hi) >= max_julong) w = Type::WidenMin; // dual 
> TypeLong::LONG
> ++if (((julong)lo - hi) <= SMALLINT)   w = Type::WidenMin;
> ++if (((julong)lo - hi) >= max_julong) w = Type::WidenMin; // dual 
> TypeLong::LONG
> +   }
> +   return w;
> + }
> +-- 
> +2.1.4
> +
> diff --git a/recipes-core/icedtea/openjdk-7-release-03b147.inc 
> b/recipes-core/icedtea/openjdk-7-release-03b147.inc
> index 98266f7..b1cf6e9 100644
> --- a/recipes-core/icedtea/openjdk-7-release-03b147.inc
> +++ b/recipes-core/icedtea/openjdk-7-release-03b147.inc
> @@ -84,6 +84,7 @@ OPENJDK_PATCHES = " \
>   file://icedtea-change-to-gdb-debug-format.patch;apply=no \
>   file://icedtea-disable-x11-in-headless.patch;apply=no \
>   file://icedtea-disable-sun.applet-for-tools-in-headless.patch;apply=no \
> + file://icedtea-hotspot-fix-undefined-behaviour.patch;apply=no \
>  "
>  
>  OPENJDK_HEADLESS_PATCHES = " \
> @@ -102,5 +103,6 @@ export DISTRIBUTION_PATCHES = " \
>   patches/icedtea-flags.patch \
>   patches/icedtea-openjdk-remove-currency-data-generation-expi.patch \
>   patches/icedtea-change-to-gdb-debug-format.patch \
> + patches/icedtea-hotspot-fix-undefined-behaviour.patch \
>   ${CLEAN_X11_DISTRIBUTION_PATCH} \
>

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] cacao-initial-native: Fix undefined behaviour in gc

2015-10-23 Thread Maxin B. John
Hi Erkka,

On Wed, Oct 21, 2015 at 12:41:49PM +0300, Erkka Kääriä wrote:
> Upstream-Status: Backport
> 
> Fixes undefined behaviour in boehm GC used by cacao-initial-native
> as suggested at
> https://github.com/ivmai/bdwgc/commit/16780405c899f01119bc45167122b4242f6b34fb.
> 
> The undefined behaviour at very least causes a segmentation fault during
> classpath-native configure step with Fedora 22.

Thanks for fixing it. Pushed to master.

> Signed-off-by: Erkka Kääriä 
> ---
>  recipes-core/cacao/cacao-initial-native_0.98.bb|  1 +
>  ...-0.9.8-initial-fix-gc-undefined-behaviour.patch | 35 
> ++
>  2 files changed, 36 insertions(+)
>  create mode 100644 
> recipes-core/cacao/files/cacao-0.9.8-initial-fix-gc-undefined-behaviour.patch
> 
> diff --git a/recipes-core/cacao/cacao-initial-native_0.98.bb 
> b/recipes-core/cacao/cacao-initial-native_0.98.bb
> index ec7fbdb..2a8ced5 100644
> --- a/recipes-core/cacao/cacao-initial-native_0.98.bb
> +++ b/recipes-core/cacao/cacao-initial-native_0.98.bb
> @@ -14,6 +14,7 @@ SRC_URI = "\
>  
> http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2;
>  \
>  file://cacao-0.98-initial.patch \
>  file://disable_hw_exceptions.patch \
> +file://cacao-0.9.8-initial-fix-gc-undefined-behaviour.patch \
>  "
>  
>  # libjvm disabled - it would conflict with cacao-native installations
> diff --git 
> a/recipes-core/cacao/files/cacao-0.9.8-initial-fix-gc-undefined-behaviour.patch
>  
> b/recipes-core/cacao/files/cacao-0.9.8-initial-fix-gc-undefined-behaviour.patch
> new file mode 100644
> index 000..ccc35cb
> --- /dev/null
> +++ 
> b/recipes-core/cacao/files/cacao-0.9.8-initial-fix-gc-undefined-behaviour.patch
> @@ -0,0 +1,35 @@
> +Upstream-Status: Backport
> +
> +This fixes undefined behaviour in boehm GC as suggested at
> +https://github.com/ivmai/bdwgc/commit/16780405c899f01119bc45167122b4242f6b34fb.
> +
> +The undefined behaviour at very least causes a segmentation fault during
> +classpath-native configure step.
> +
> +Signed-off-by: Erkka Kääriä 
> +
> +--- cacao-0.98/src/mm/boehm-gc/mark_rts.c
>  cacao-0.98/src/mm/boehm-gc/mark_rts.c
> +@@ -371,18 +371,7 @@ ptr_t p;
> + 
> + ptr_t GC_approx_sp()
> + {
> +-VOLATILE word dummy;
> +-
> +-dummy = 42; /* Force stack to grow if necessary.Otherwise the   
> */
> +-/* later accesses might cause the kernel to think we're 
> */
> +-/* doing something wrong.   
> */
> +-#   ifdef _MSC_VER
> +-# pragma warning(disable:4172)
> +-#   endif
> +-return((ptr_t)());
> +-#   ifdef _MSC_VER
> +-# pragma warning(default:4172)
> +-#   endif
> ++return __builtin_frame_address(0);
> + }
> + 
> + /*
> +-- 
> +2.1.4
> +
> -- 
> 2.1.4
>

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java] update email address

2015-10-19 Thread Maxin B. John
Hi Otavio,

On Fri, Oct 16, 2015 at 12:26:46PM -0300, Otavio Salvador wrote:
> On Fri, Oct 16, 2015 at 1:16 AM, Maxin B. John <maxin.j...@intel.com> wrote:
> >  Hi,
> >
> >  Updated my email address in README:
> >
> >  README: update contact info
> >  Signed-off-by: Maxin B. John <maxin.j...@intel.com>
> 
> Can you send a formal patch for it?

Since it was a miscellaneous change in README file, I have pushed that change 
before sending out this mail as an update. I am sorry, if that is not an
acceptable approach.

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-java] update email address

2015-10-16 Thread Maxin B. John
 Hi,
  
 Updated my email address in README:
 
 README: update contact info
 Signed-off-by: Maxin B. John <maxin.j...@intel.com>

  diff --git a/README b/README
  index 7a48f14..f031021 100644
  --- a/README
  +++ b/README
  @@ -46,7 +46,7 @@ Main layer maintainers:
   
 Henning Heinold <henn...@itconsulting-heinold.de>
 Mario Domenech Goulart <ma...@ossystems.com.br>
  -  Maxin John <maxin.j...@enea.com>
  +  Maxin John <maxin.j...@intel.com>
 Otavio Salvador <ota...@ossystems.com.br>
  
   
  Best Regards,
  Maxin  
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] cacao-initial-native: Fix sed matching

2015-10-15 Thread Maxin B. John
Hi,

On Thu, Oct 15, 2015 at 01:46:07PM +0300, Erkka Kääriä wrote:
> The recipe uses sed to patch src/scripts/java.in so that it execs 
> cacao-initial
> instead of cacao. However, if configure step is run again, -initial is 
> appended
> again to the string, leading to 'exec cacao-initial-initial'. This causes the
> build to fail.
> 
> This is fixed by changing the sed command to consider larger portion of the
> source string. This ensures that the -initial is only appended once.
> 
> Signed-off-by: Erkka Kääriä 
> ---
>  recipes-core/cacao/cacao-initial-native_0.98.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-core/cacao/cacao-initial-native_0.98.bb 
> b/recipes-core/cacao/cacao-initial-native_0.98.bb
> index 72c6246..ec7fbdb 100644
> --- a/recipes-core/cacao/cacao-initial-native_0.98.bb
> +++ b/recipes-core/cacao/cacao-initial-native_0.98.bb
> @@ -35,7 +35,7 @@ export JAR="fastjar"
>  
>  do_configure_append() {
># Fix the executable name in the wrapper script.
> -  sed -i -e "s|exec cacao|exec cacao-initial|" src/scripts/java.in
> +  sed -i -e "s|exec cacao \\$|exec cacao-initial \\$|" src/scripts/java.in
>  }
>  
>  SRC_URI[md5sum] = "8b8907c8b925761c9410bcadb9705346"
> -- 
> 2.1.4

Good catch. Pushed, Thanks!

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java] Commit duplication

2015-10-01 Thread Maxin B. John
Hi Erkka,

On Wed, Sep 23, 2015 at 08:37:40AM +, Kaaria, Erkka wrote:
> Hi,
> 
> There seem to have been a bad merge commit made December 17 2014 
> (http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/?id=12a0b10b35b1829eec11ea653af53d127a8b6fd1).
>  This commit introduced duplicate commits into the git history (for example, 
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/?id=8042dd1f8e3ccee2ddb31e792e3f88c6e2583847
>  and 
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/?id=7b66b4940804b72150b33248b16b582ae6a48751).
>  These duplications are causing issues with certain tools.
>

Yes, those commits looks really weird. However, fixing those commits 
to make it work with tools like "combo-layer" might require some git 
related work and a "force push".

Would that be acceptable for all to do a force push on the upstream 
repository ?

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH 1/2] OpenJDK-8u: For x86 and arm

2015-08-18 Thread Maxin B. John
Hi,

On Fri, Aug 14, 2015 at 12:35:03PM -0700, Vinay K. Awasthi wrote:
 From: Vinay K. Awasthi vinay.k.awas...@intel.com
 
 OpenJDK-8 Update Build 40b27:
 
 This package enables OpenJDK-8 update for x86 and arm in following vm 
 configurations.
 
 x86: hotspot VM
 arm: interpreter mode (zero vm)
 
 Openjdk-8u also supports compact profiles (see 
 http://openjdk.java.net/jeps/161 for
 more details). These compact profiles can also be built by going over the 
 comments.
 
 oe_runmake profiles will build compact profile one two and three java 
 runtimes (jre)
 oe_runmake images profiles will build compact profile JDKs
 
 Signed-off-by: Vinay K. Awasthi vinay.k.awas...@intel.com
 ---

#  bitbake java-test-image

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'openjdk-8-jre' (but
/media/data/fb/majo/test/poky/meta-java/recipes-images/images/java-test-image.bb
RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'openjdk-8-jre' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['openjdk-8-jre']
ERROR: Required build target 'java-test-image' has no buildable
providers.
Missing or unbuildable dependency chain was: ['java-test-image',
'openjdk-8-jre']

Please fix this build error.

Best Regards,
Maxin

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH 2/2] Openjdk-8u: Added bootstrap JDK option

2015-08-18 Thread Maxin B. John
Hi,

On Fri, Aug 14, 2015 at 12:35:22PM -0700, Vinay K. Awasthi wrote:
 From: Vinay K. Awasthi vinay.k.awas...@intel.com
 
 Added --with-boot-jdk option that allows icedtea7-native to be used as 
 bootstrap jdk.
 
 Signed-off-by: Vinay K. Awasthi vinay.k.awas...@intel.com
 ---
  recipes-core/openjdk/openjdk-8u_40b27-2.5.4.bb | 1 +
  1 file changed, 1 insertion(+)
 
 diff --git a/recipes-core/openjdk/openjdk-8u_40b27-2.5.4.bb 
 b/recipes-core/openjdk/openjdk-8u_40b27-2.5.4.bb
 index 594a6b4..c9af1a4 100644
 --- a/recipes-core/openjdk/openjdk-8u_40b27-2.5.4.bb
 +++ b/recipes-core/openjdk/openjdk-8u_40b27-2.5.4.bb
 @@ -179,6 +179,7 @@ OPENJDK_OECONF =  \
   --mandir=/usr/share/man\
   --disable-headful  \
   --with-sys-root=${STAGING_DIR_TARGET} \
 + --with-boot-jdk=${STAGING_LIBDIR_JVM_NATIVE}/icedtea7-native \
   CFLAGS=--sysroot=${STAGING_DIR_TARGET}  \
   CXXFLAGS=--sysroot=${STAGING_DIR_TARGET}  \
   LDFLAGS=--sysroot=${STAGING_DIR_TARGET}  \
 -- 

Also please squash this with the previous openjdk version-up patch and send it 
as a
single patch.

Best Regards,
Maxin


-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java] [Openjdk-8 enabling patch]

2015-08-06 Thread Maxin B. John
Hi,

On Wed, Aug 05, 2015 at 07:29:00PM +, Awasthi, Vinay K wrote:
 diff --git recipes-core/openjdk/openjdk-8-8u40b27/cacao-arm-ucontext.patch
 
 +return LIBFFI_LIBS=-lffi
 
 +else:
 
 +return 


Agree with Otavio and Paul here. Please re-do the patch as described
in the README with a reasonable commit message and we will be happy to
review it :)

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-java][PATCH] openjdk-7: fix icedtea-crosscompile-fix.patch

2015-06-24 Thread Maxin B. John
Hi,

On Tue, Jun 23, 2015 at 10:29:24AM -0400, Amy Fong wrote:
 From ed2cca0045c597a28ce4ea3f9ce220c97a2a05fe Mon Sep 17 00:00:00 2001
 From: Amy Fong amy.f...@windriver.com
 Date: Mon, 22 Jun 2015 14:50:20 -0400
 Subject: [PATCH] openjdk-7: fix patch
 
 Fixing what looks like a hand edited patch error
 
 Signed-off-by: Amy Fong amy.f...@windriver.com
 ---
  recipes-core/openjdk/openjdk-7-75b13/icedtea-crosscompile-fix.patch | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git 
 a/recipes-core/openjdk/openjdk-7-75b13/icedtea-crosscompile-fix.patch 
 b/recipes-core/openjdk/openjdk-7-75b13/icedtea-crosscompile-fix.patch
 index 250f8a4..5e8e479 100644
 --- a/recipes-core/openjdk/openjdk-7-75b13/icedtea-crosscompile-fix.patch
 +++ b/recipes-core/openjdk/openjdk-7-75b13/icedtea-crosscompile-fix.patch
 @@ -139,7 +139,7 @@ index 69e1177..dc7f8e6 100644
   CFLAGS_REQUIRED_hppa+=
   CFLAGS_REQUIRED_i586+= -fno-omit-frame-pointer -D_LITTLE_ENDIAN
   CFLAGS_REQUIRED_ia64+= -fno-omit-frame-pointer -D_LITTLE_ENDIAN
 - @@ -359,7 +337,7 @@ LDFLAGS_COMMON  += $(LDFLAGS_DEFS_OPTION)
 +@@ -359,7 +337,7 @@ LDFLAGS_COMMON  += $(LDFLAGS_DEFS_OPTION)
   #
   # -L paths for finding and -ljava
   #
 -- 

Pushed to master. Thanks!

Best Regards,
Maxin
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] fuse-exfat: upgrade to 1.1.0

2015-01-15 Thread Maxin B. John
Bump to 1.1.0
1. Updated LICENSE from GPLv3 to GPLv2 or later
2. Misc. spelling fix

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 .../fuse-exfat/{fuse-exfat_1.0.1.bb = fuse-exfat_1.1.0.bb}  | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)
 rename meta-filesystems/recipes-filesystems/fuse-exfat/{fuse-exfat_1.0.1.bb = 
fuse-exfat_1.1.0.bb} (60%)

diff --git 
a/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.0.1.bb 
b/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.1.0.bb
similarity index 60%
rename from meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.0.1.bb
rename to meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.1.0.bb
index f984c4b..6a83ab2 100644
--- a/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.0.1.bb
+++ b/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.1.0.bb
@@ -1,12 +1,12 @@
 SUMMARY = read and write exFAT driver for FUSE
 DESCRIPTION = fuse-exfat is a read and write driver implementing the \
 extended file allocation table as a filesystem in userspace. A mounthelper \
-is provided unter the name mount.exfat-fuse. \
+is provided under the name mount.exfat-fuse. \
 
 HOMEPAGE = http://code.google.com/p/exfat/;
 SECTION = universe/otherosfs
-LICENSE = GPLv3
-LIC_FILES_CHKSUM = file://COPYING;md5=d32239bcb673463ab874e80d47fae504
+LICENSE = GPLv2+
+LIC_FILES_CHKSUM = file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
 SRC_URI = ${DEBIAN_MIRROR}/main/f/fuse-exfat/fuse-exfat_${PV}.orig.tar.gz \
 
 DEPENDS = fuse virtual/libc
@@ -14,11 +14,11 @@ RRECOMMENDS_${PN} = util-linux-mount
 
 inherit scons
 
-SRC_URI[md5sum] = 7988a5111841593231f20af22153362d
-SRC_URI[sha256sum] = 
12ac1ba1b7d4343bef64e7898176705a41cfe3b5a7a179e28549d242e2854758
+SRC_URI[md5sum] = b2a23c032661cb1c1da4514e7af33916
+SRC_URI[sha256sum] = 
198c520e417e955dc5c08687c278e63eefa56719da4452aa4a605be0327f953e
 
 EXTRA_OESCONS =  \
-DESTDIR=${D}/${base_sbindir} \
+CCFLAGS='${CCFLAGS} -std=c99' DESTDIR=${D}/${base_sbindir} \
 
 
 do_install_prepend() {
-- 
1.9.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] sqlite3: update to version 3.8.0.1

2013-09-02 Thread Maxin B. John
 On Mon, Sep 02, 2013 at 01:22:42PM +0200, maxin.j...@enea.com wrote:
  From: Maxin B. John maxin.j...@enea.com
 
  Upgrade to latest version 3.8.0.1
 Please resend to openembedded-core ML
Resent to openembedded-core ML. Sorry about this.

Best Regards,
Maxin
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe] [PATCH] log4cplus: add recipe

2013-08-27 Thread Maxin B. John
On Mon, Aug 26, 2013 at 07:59:57PM +0100, Paul Eggleton wrote:

Hi Paul,

 Hi Maxin,
 On Monday 26 August 2013 13:06:19 maxin.j...@enea.com wrote:
  From: Maxin B. John maxin.j...@enea.com
  log4cplus provides a simple C++ logging API for log management.
  Signed-off-by: Maxin B. John maxin.j...@enea.com
  ---
   .../recipes-devtools/log4cplus/log4cplus_1.1.1.bb|   18
  ++ 1 file changed, 18 insertions(+)
snip
 If you're setting a short description only, please set it in SUMMARY rather·
 than DESCRIPTION.
Ok, I will set it in SUMMARY.

  +SECTION = libs
  +HOMEPAGE = http://sourceforge.net/projects/liblog4cplus/;
 This HOMEPAGE value is incorrect.
ouch. Will correct it.

Thank you very much for reviewing this. I will send the updated
version soon.
 Cheers,
 Paul

Thanks and Regards,
Maxin
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel