[oe] [meta-java][PATCH] class/java-native: remove

Richard Leitner richard.leitner at skidata.com
Fri Dec 27 11:04:27 UTC 2019


Hi,
this is a note to let you know that I've just added this patch to the
master-next branch of the meta-java repository at
      git://git.yoctoproject.org/meta-java

As soon as it has gone through some more testing it will likely be
merged to the master branch.

If you have any questions, please let me know.

regards;Richard.L

On 06/12/2019 02:33, mohamad.noor.alim.hussin at intel.com wrote:
> From: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin at intel.com>
> 
> Java-native class used NATIVE_INSTALL_WORKS which was removed
> from oe-core around 2010. Also updated recipes that inherit
> java-native to native class.
> 
> Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin at intel.com>
> ---
>   classes/java-native.bbclass                          | 9 ---------
>   recipes-core/ant-contrib/ant-contrib-native_1.0b3.bb | 2 +-
>   recipes-core/ant/ant-native_1.8.1.bb                 | 2 +-
>   3 files changed, 2 insertions(+), 11 deletions(-)
>   delete mode 100644 classes/java-native.bbclass
> 
> diff --git a/classes/java-native.bbclass b/classes/java-native.bbclass
> deleted file mode 100644
> index cade7b1..0000000
> --- a/classes/java-native.bbclass
> +++ /dev/null
> @@ -1,9 +0,0 @@
> -# This is to be used by recipes which rely on java-library.bbclass
> -# infrastructure and are a *-native recipe which needs to install
> -# jar files into staging.
> -#
> -# This class has nothing to do with Java's JNI.
> -
> -inherit native
> -
> -NATIVE_INSTALL_WORKS = "1"
> diff --git a/recipes-core/ant-contrib/ant-contrib-native_1.0b3.bb b/recipes-core/ant-contrib/ant-contrib-native_1.0b3.bb
> index 2a44ea2..db79626 100644
> --- a/recipes-core/ant-contrib/ant-contrib-native_1.0b3.bb
> +++ b/recipes-core/ant-contrib/ant-contrib-native_1.0b3.bb
> @@ -12,7 +12,7 @@ DEPENDS = "ant-native commons-cli-native commons-codec-native \
>              oro-native bcel-native xerces-j-native \
>             "
>   
> -inherit java-library java-native
> +inherit java-library native
>   
>   SRC_URI = "${SOURCEFORGE_MIRROR}/ant-contrib/ant-contrib-${PV}-src.zip"
>   
> diff --git a/recipes-core/ant/ant-native_1.8.1.bb b/recipes-core/ant/ant-native_1.8.1.bb
> index 5a39f42..7839abd 100644
> --- a/recipes-core/ant/ant-native_1.8.1.bb
> +++ b/recipes-core/ant/ant-native_1.8.1.bb
> @@ -11,7 +11,7 @@ SRC_URI = "http://archive.apache.org/dist/ant/source/apache-ant-${PV}-src.tar.gz
>   
>   S = "${WORKDIR}/apache-ant-${PV}"
>   
> -inherit java-library java-native
> +inherit java-library native
>   
>   DEPENDS = " \
>   	jsch-native bsf-native xalan-j-native xerces-j-native \
> 


More information about the Openembedded-devel mailing list