Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/classpath: drop package
@ 2020-03-02 10:01 James Hilliard
  2020-03-02 13:31 ` Thomas Petazzoni
  2020-03-03 22:59 ` Peter Korsgaard
  0 siblings, 2 replies; 6+ messages in thread
From: James Hilliard @ 2020-03-02 10:01 UTC (permalink / raw)
  To: buildroot

This package has been abandoned by upstream since 2016 and has not
had a release since 2012. In addition the GNU Compiler for Java
that classpath was written to be used with has been removed as of
GCC 7.

It is no longer feasible to support classpath as it requires a java
compiler capable of producing java 1.5 compatible bytecode which is
not possible on hosts with a recent java compiler.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 Config.in.legacy                 |  8 +++++
 package/Config.in                |  1 -
 package/classpath/Config.in      | 19 -----------
 package/classpath/classpath.hash |  4 ---
 package/classpath/classpath.mk   | 55 --------------------------------
 5 files changed, 8 insertions(+), 79 deletions(-)
 delete mode 100644 package/classpath/Config.in
 delete mode 100644 package/classpath/classpath.hash
 delete mode 100644 package/classpath/classpath.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index 6a33ce9e1c..c18f3e63a2 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,14 @@ endif
 
 comment "Legacy options removed in 2020.02"
 
+config BR2_PACKAGE_CLASSPATH
+	bool "classpath removed"
+	select BR2_LEGACY
+	help
+	  GNU Classpath package was removed. The last upstream
+	  release was in 2012 and there hasn't been a commit
+	  since 2016.
+
 config BR2_PACKAGE_QT5_VERSION_5_6
 	bool "qt 5.6 support removed"
 	select BR2_LEGACY
diff --git a/package/Config.in b/package/Config.in
index 5be5f3726b..b29ea005fa 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1756,7 +1756,6 @@ menu "Other"
 	source "package/cereal/Config.in"
 	source "package/clang/Config.in"
 	source "package/clapack/Config.in"
-	source "package/classpath/Config.in"
 	source "package/cmocka/Config.in"
 	source "package/cppcms/Config.in"
 	source "package/cracklib/Config.in"
diff --git a/package/classpath/Config.in b/package/classpath/Config.in
deleted file mode 100644
index 0385ccd431..0000000000
--- a/package/classpath/Config.in
+++ /dev/null
@@ -1,19 +0,0 @@
-config BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
-	bool
-	default y if BR2_arm || BR2_armeb || BR2_i386 || BR2_m68k \
-		|| BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el \
-		|| BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le \
-		|| BR2_sparc || BR2_sparc64 || BR2_sh || BR2_x86_64
-
-config BR2_PACKAGE_CLASSPATH
-	bool "classpath"
-	depends on BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
-	select BR2_NEEDS_HOST_JAR
-	select BR2_NEEDS_HOST_JAVAC
-	help
-	  GNU Classpath, Essential Libraries for Java, is a GNU
-	  project to create free core class libraries for use with
-	  virtual machines and compilers for the java programming
-	  language.
-
-	  http://classpath.org
diff --git a/package/classpath/classpath.hash b/package/classpath/classpath.hash
deleted file mode 100644
index 98a7f1eab0..0000000000
--- a/package/classpath/classpath.hash
+++ /dev/null
@@ -1,4 +0,0 @@
-# From https://www.gnu.org/software/classpath/announce/20120307.html
-sha256  f929297f8ae9b613a1a167e231566861893260651d913ad9b6c11933895fecc8  classpath-0.99.tar.gz
-# locally computed
-sha256  357bd31f17c7869a73cd159e46b3dafa2bbf434f022085a820c1f68d941a0b4c  COPYING
diff --git a/package/classpath/classpath.mk b/package/classpath/classpath.mk
deleted file mode 100644
index 7177bbfe06..0000000000
--- a/package/classpath/classpath.mk
+++ /dev/null
@@ -1,55 +0,0 @@
-################################################################################
-#
-# classpath
-#
-################################################################################
-
-CLASSPATH_VERSION = 0.99
-CLASSPATH_SITE = $(BR2_GNU_MIRROR)/classpath
-CLASSPATH_CONF_OPTS = \
-	--disable-examples \
-	--disable-rpath \
-	--disable-Werror \
-	--disable-gconf-peer \
-	--disable-gjdoc \
-	--disable-gstreamer-peer \
-	--enable-tools
-
-# classpath assumes qt runs on top of X11, but we
-# don't support qt4 on X11
-CLASSPATH_CONF_OPTS += --disable-qt-peer
-CLASSPATH_DEPENDENCIES = host-pkgconf
-CLASSPATH_LICENSE = GPL-2.0+ with exception
-CLASSPATH_LICENSE_FILES = COPYING
-
-# Needs ALSA pcm and sequencer (midi) support
-# pcm is always on for alsa-lib
-ifeq ($(BR2_PACKAGE_ALSA_LIB_SEQ),y)
-CLASSPATH_CONF_OPTS += --enable-alsa
-CLASSPATH_DEPENDENCIES += alsa-lib
-else
-CLASSPATH_CONF_OPTS += --disable-alsa
-endif
-
-ifeq ($(BR2_PACKAGE_GMP),y)
-CLASSPATH_CONF_OPTS += --enable-gmp --with-gmp="$(STAGING_DIR)/usr"
-CLASSPATH_DEPENDENCIES += gmp
-else
-CLASSPATH_CONF_OPTS += --disable-gmp
-endif
-
-ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_XORG7),yy)
-CLASSPATH_CONF_OPTS += --enable-gtk-peer
-CLASSPATH_DEPENDENCIES += libgtk2
-else
-CLASSPATH_CONF_OPTS += --disable-gtk-peer
-endif
-
-ifeq ($(BR2_PACKAGE_LIBXML2)$(BR2_PACKAGE_LIBXSLT)$(BR2_TOOLCHAIN_HAS_THREADS),yyy)
-CLASSPATH_CONF_OPTS += --enable-xmlj
-CLASSPATH_DEPENDENCIES += libxml2 libxslt
-else
-CLASSPATH_CONF_OPTS += --disable-xmlj
-endif
-
-$(eval $(autotools-package))
-- 
2.20.1

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

* [Buildroot] [PATCH 1/1] package/classpath: drop package
  2020-03-02 10:01 [Buildroot] [PATCH 1/1] package/classpath: drop package James Hilliard
@ 2020-03-02 13:31 ` Thomas Petazzoni
  2020-03-02 13:44   ` James Hilliard
  2020-03-03 22:59 ` Peter Korsgaard
  1 sibling, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2020-03-02 13:31 UTC (permalink / raw)
  To: buildroot

On Mon,  2 Mar 2020 03:01:46 -0700
James Hilliard <james.hilliard1@gmail.com> wrote:

> This package has been abandoned by upstream since 2016 and has not
> had a release since 2012. In addition the GNU Compiler for Java
> that classpath was written to be used with has been removed as of
> GCC 7.
> 
> It is no longer feasible to support classpath as it requires a java
> compiler capable of producing java 1.5 compatible bytecode which is
> not possible on hosts with a recent java compiler.
> 
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

package/jamvm is using classpath, so you can't remove classpath just
like that, without taking into account the presence of jamvm.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 1/1] package/classpath: drop package
  2020-03-02 13:31 ` Thomas Petazzoni
@ 2020-03-02 13:44   ` James Hilliard
  2020-03-02 13:52     ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: James Hilliard @ 2020-03-02 13:44 UTC (permalink / raw)
  To: buildroot

On Mon, Mar 2, 2020 at 2:31 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Mon,  2 Mar 2020 03:01:46 -0700
> James Hilliard <james.hilliard1@gmail.com> wrote:
>
> > This package has been abandoned by upstream since 2016 and has not
> > had a release since 2012. In addition the GNU Compiler for Java
> > that classpath was written to be used with has been removed as of
> > GCC 7.
> >
> > It is no longer feasible to support classpath as it requires a java
> > compiler capable of producing java 1.5 compatible bytecode which is
> > not possible on hosts with a recent java compiler.
> >
> > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
>
> package/jamvm is using classpath, so you can't remove classpath just
> like that, without taking into account the presence of jamvm.
Ah, not sure how I missed that, think it makes sense to drop that or try
and switch it to use openjdk(it appears it should support it)? It doesn't
looks like jamvm has had any releases since 2014 so dropping it may
make sense.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

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

* [Buildroot] [PATCH 1/1] package/classpath: drop package
  2020-03-02 13:44   ` James Hilliard
@ 2020-03-02 13:52     ` Thomas Petazzoni
  2020-03-02 17:02       ` Thomas De Schampheleire
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2020-03-02 13:52 UTC (permalink / raw)
  To: buildroot

Hello,

+Thomas DS in Cc.

On Mon, 2 Mar 2020 14:44:09 +0100
James Hilliard <james.hilliard1@gmail.com> wrote:

> > package/jamvm is using classpath, so you can't remove classpath just
> > like that, without taking into account the presence of jamvm.  
> Ah, not sure how I missed that, think it makes sense to drop that or try
> and switch it to use openjdk(it appears it should support it)? It doesn't
> looks like jamvm has had any releases since 2014 so dropping it may
> make sense.

Thomas DS bumped this package back in 2014. Thomas, are you still using
JamVM in your projects ?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH 1/1] package/classpath: drop package
  2020-03-02 13:52     ` Thomas Petazzoni
@ 2020-03-02 17:02       ` Thomas De Schampheleire
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas De Schampheleire @ 2020-03-02 17:02 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, Mar 2, 2020, 14:52 Thomas Petazzoni <thomas.petazzoni@bootlin.com>
wrote:

> Hello,
>
> +Thomas DS in Cc.
>
> On Mon, 2 Mar 2020 14:44:09 +0100
> James Hilliard <james.hilliard1@gmail.com> wrote:
>
> > > package/jamvm is using classpath, so you can't remove classpath just
> > > like that, without taking into account the presence of jamvm.
> > Ah, not sure how I missed that, think it makes sense to drop that or try
> > and switch it to use openjdk(it appears it should support it)? It doesn't
> > looks like jamvm has had any releases since 2014 so dropping it may
> > make sense.
>
> Thomas DS bumped this package back in 2014. Thomas, are you still using
> JamVM in your projects ?
>

Thanks for checking with me.

No, I have no interest in jamvm or classpath, I don't object the removal.

Best regards,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200302/b8e54bb8/attachment.html>

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

* [Buildroot] [PATCH 1/1] package/classpath: drop package
  2020-03-02 10:01 [Buildroot] [PATCH 1/1] package/classpath: drop package James Hilliard
  2020-03-02 13:31 ` Thomas Petazzoni
@ 2020-03-03 22:59 ` Peter Korsgaard
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2020-03-03 22:59 UTC (permalink / raw)
  To: buildroot

>>>>> "James" == James Hilliard <james.hilliard1@gmail.com> writes:

 > This package has been abandoned by upstream since 2016 and has not
 > had a release since 2012. In addition the GNU Compiler for Java
 > that classpath was written to be used with has been removed as of
 > GCC 7.

 > It is no longer feasible to support classpath as it requires a java
 > compiler capable of producing java 1.5 compatible bytecode which is
 > not possible on hosts with a recent java compiler.

 > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

Committed, thanks.

 > -config BR2_PACKAGE_CLASSPATH
 > -	bool "classpath"
 > -	depends on BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
 > -	select BR2_NEEDS_HOST_JAR
 > -	select BR2_NEEDS_HOST_JAVAC

This was the only use of these symbols, so I've also removed them and
the corresponding logic.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2020-03-03 22:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-02 10:01 [Buildroot] [PATCH 1/1] package/classpath: drop package James Hilliard
2020-03-02 13:31 ` Thomas Petazzoni
2020-03-02 13:44   ` James Hilliard
2020-03-02 13:52     ` Thomas Petazzoni
2020-03-02 17:02       ` Thomas De Schampheleire
2020-03-03 22:59 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox