<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-java.git/classes/java-library.bbclass, branch master</title>
<subtitle>[no description]</subtitle>
<id>https://git.enea.com/cgit/linux/meta-java.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-java.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/'/>
<updated>2021-08-11T05:19:38+00:00</updated>
<entry>
<title>all: manual fixes for new override syntax</title>
<updated>2021-08-11T05:19:38+00:00</updated>
<author>
<name>AJ Bagwell</name>
<email>anthony.bagwell@hivehome.com</email>
</author>
<published>2021-08-09T13:09:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=a1eb2b9788ed48508bbe87acf0fd9269aa3585f4'/>
<id>urn:sha1:a1eb2b9788ed48508bbe87acf0fd9269aa3585f4</id>
<content type='text'>
Signed-off-by: AJ Bagwell &lt;anthony.bagwell@hivehome.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>all: run convert-overrides (0.9.3) script to convert to new override format</title>
<updated>2021-08-11T05:19:27+00:00</updated>
<author>
<name>AJ Bagwell</name>
<email>anthony.bagwell@hivehome.com</email>
</author>
<published>2021-08-09T13:09:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=b71a9866abfd5292650ef0afc5ecb9ab5e29b887'/>
<id>urn:sha1:b71a9866abfd5292650ef0afc5ecb9ab5e29b887</id>
<content type='text'>
Signed-off-by: AJ Bagwell &lt;anthony.bagwell@hivehome.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>java-library: inherit python native</title>
<updated>2020-01-27T09:00:26+00:00</updated>
<author>
<name>Kraag Gorim</name>
<email>kraaggorim@gmail.com</email>
</author>
<published>2020-01-24T16:22:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=ac5a9dc7113d06cc2900b5c71a4beb342f950d66'/>
<id>urn:sha1:ac5a9dc7113d06cc2900b5c71a4beb342f950d66</id>
<content type='text'>
Several components make use of python in their build process. To not
rely on python being part of the HOSTTOOLS python should be inherited.

Signed-off-by: Kraag Gorim &lt;kraaggorim@gmail.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>remove True option to getVar calls</title>
<updated>2019-12-27T11:05:54+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2019-01-13T11:13:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=7a3a8322a747c8803dbfbf3aa4912cf9f8158695'/>
<id>urn:sha1:7a3a8322a747c8803dbfbf3aa4912cf9f8158695</id>
<content type='text'>
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() calls with a regex search and replace.

Search &amp; replace made using the following command:
    sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
        -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
             | cut -d':' -f1 \
             | sort -u)

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>java-library: make packages overriding PACKAGE_ARCH work again</title>
<updated>2018-12-18T15:05:15+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-11-17T09:57:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=b0c74493af1415dfd3b6caf77ebc677ed4e0fdaa'/>
<id>urn:sha1:b0c74493af1415dfd3b6caf77ebc677ed4e0fdaa</id>
<content type='text'>
Recent changes is OE have caused the traditional approach of inheriting
allarch and setting PACKAGE_ARCH not work anymore. Once allarch is
inherited, PACKAGE_ARCH can not be overridden afterwards.
See commit a23c482cab4f ("allarch: only enable allarch when multilib
is not used") d9ba0219b2f6 in poky.
    http://git.openembedded.org/openembedded-core/commit/?id=a23c482cab4f874f4a6a6889716123569eb5ece9

The error manifests itself with configure trying to
   --host=allarch-poky-linux --target=allarch-poky-linux
which fails.

To work around this we can make java-library's allarch inherit
conditional, as is done e.g. in OE-core for packagegroup.bbclass
    http://git.openembedded.org/openembedded-core/commit/?id=9c826962ec8fa45c2b035427442b90a41517144e
    http://git.openembedded.org/openembedded-core/commit/?id=2c9b1d304daade7b0907320aeb9c522e7ab9dcab

So this commit does exactly that, and fixes the two users of this to
follow the new approach.

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>java-library.bbclass: compatibility with per-recipe sysroots</title>
<updated>2017-07-21T09:04:01+00:00</updated>
<author>
<name>S. Lockwood-Childs</name>
<email>sjl@vctlabs.com</email>
</author>
<published>2017-07-12T08:36:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=c4b9b97c7c60ad5c0c3392ccf143b2e4e6c7df24'/>
<id>urn:sha1:c4b9b97c7c60ad5c0c3392ccf143b2e4e6c7df24</id>
<content type='text'>
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 &lt;sjl@vctlabs.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>move from bb.data.getVar(x, d, 1) to d.getVar(x, True)</title>
<updated>2016-12-06T18:25:08+00:00</updated>
<author>
<name>Cody P Schafer</name>
<email>dev@codyps.com</email>
</author>
<published>2016-11-29T16:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=2a3cd732ce7efea9f372862be7ef70ff5ecb50d9'/>
<id>urn:sha1:2a3cd732ce7efea9f372862be7ef70ff5ecb50d9</id>
<content type='text'>
bb.data.getVar was removed, need to use the modern mechanism.

Signed-off-by: Cody P Schafer &lt;dev@codyps.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>Revert "meta-java: rely on well known bootstrap-path"</title>
<updated>2016-01-04T11:21:06+00:00</updated>
<author>
<name>Jackie Huang</name>
<email>jackie.huang@windriver.com</email>
</author>
<published>2015-12-23T06:26:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=ec7b984fbd0662b7aa1707f229ab09c555bb2cf6'/>
<id>urn:sha1:ec7b984fbd0662b7aa1707f229ab09c555bb2cf6</id>
<content type='text'>
This reverts commit 04d5d0bf414c05ca59618d77f17ff9898aa1c566.

Detail reason is in the following commit.

Signed-off-by: Jackie Huang &lt;jackie.huang@windriver.com&gt;
</content>
</entry>
<entry>
<title>meta-java: rely on well known bootstrap-path</title>
<updated>2015-12-08T15:43:35+00:00</updated>
<author>
<name>Jens Rehsack</name>
<email>rehsack@gmail.com</email>
</author>
<published>2015-12-08T13:51:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=04d5d0bf414c05ca59618d77f17ff9898aa1c566'/>
<id>urn:sha1:04d5d0bf414c05ca59618d77f17ff9898aa1c566</id>
<content type='text'>
Instead of potential circular depending virtual/javac-native (even this
recipe provides such a useable java-native), rely on well known path
via cacao-native to build up to icedtea7-native in reliable manner.

virtual/javac-native should be used by parts not belonging to the bootstrap
phase.

Signed-off-by: Jens Rehsack &lt;sno@netbsd.org&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>java-library: inherit allarch</title>
<updated>2015-02-17T12:53:34+00:00</updated>
<author>
<name>Max Krummenacher</name>
<email>max.oss.09@gmail.com</email>
</author>
<published>2015-02-17T09:57:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=c7f2b7dd60bff9092eeae6b7df7f8cae16994a21'/>
<id>urn:sha1:c7f2b7dd60bff9092eeae6b7df7f8cae16994a21</id>
<content type='text'>
Use the allarch class to make every packages in the 'all' ARCH.
Recipes inheriting java-library which build additional packages which
don't belong in to all ARCH must manually setting PACKAGE_ARCH after
inheritting java-library.

This fixes the following error when building e.g. rhino for a second
machine of different architecture in the same build directory:
    ERROR: The recipe rhino is trying to install files into a
    shared area when those files already exist. Those files and their
    manifest location are:
       /.../ipk/all/librhino-java_1.7r4-r0_all.ipk
    Matched in manifest-armv7at2hf-vfp-rhino-package_write_ipk

Signed-off-by: Max Krummenacher &lt;max.oss.09@gmail.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
</feed>
