Bug#877336: electric: Please check support for jython 2.7
Bastian Germann
bage at debian.org
Fri Apr 4 22:26:32 BST 2025
Control: tags -1 patch
Control: retitle -1 electric: Drop jython support
Please consider dropping jython support. The jython pkg has been RC buggy for a long time and should be removed.
I have attached a patch to demonstrate this can be done easily.
-------------- next part --------------
diff -Nru electric-9.07+dfsg/debian/bin/electric electric-9.07+dfsg/debian/bin/electric
--- electric-9.07+dfsg/debian/bin/electric 2022-05-28 19:25:17.000000000 +0000
+++ electric-9.07+dfsg/debian/bin/electric 2025-04-04 21:20:45.000000000 +0000
@@ -5,7 +5,7 @@
find_java_runtime java7
-find_jars bsh jython electric
+find_jars bsh electric
find_jars vecmath j3dcore j3dutils slf4j-simple
run_java com.sun.electric.Launcher "$@"
diff -Nru electric-9.07+dfsg/debian/changelog electric-9.07+dfsg/debian/changelog
--- electric-9.07+dfsg/debian/changelog 2022-05-28 19:25:17.000000000 +0000
+++ electric-9.07+dfsg/debian/changelog 2025-04-04 21:20:52.000000000 +0000
@@ -1,3 +1,10 @@
+electric (9.07+dfsg-7.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Drop jython.
+
+ -- Bastian Germann <bage at debian.org> Fri, 04 Apr 2025 21:20:52 +0000
+
electric (9.07+dfsg-7) unstable; urgency=medium
* Team upload.
diff -Nru electric-9.07+dfsg/debian/control electric-9.07+dfsg/debian/control
--- electric-9.07+dfsg/debian/control 2022-05-28 19:25:17.000000000 +0000
+++ electric-9.07+dfsg/debian/control 2025-04-04 21:20:45.000000000 +0000
@@ -11,7 +11,6 @@
debhelper-compat (= 13),
default-jdk,
javahelper,
- jython,
libjava3d-java,
libslf4j-java
Standards-Version: 4.6.1
diff -Nru electric-9.07+dfsg/debian/patches/build.patch electric-9.07+dfsg/debian/patches/build.patch
--- electric-9.07+dfsg/debian/patches/build.patch 2022-05-28 19:25:17.000000000 +0000
+++ electric-9.07+dfsg/debian/patches/build.patch 2025-04-04 21:20:45.000000000 +0000
@@ -46,7 +46,7 @@
+ <pathelement location="/usr/share/java/j3dutils.jar" />
+ <pathelement location="/usr/share/java/slf4j-api.jar" />
+ <pathelement location="/usr/share/java/scala-library.jar" />
-+ <pathelement location="/usr/share/java/jython.jar" />
++
</classpath>
</javac>
<copy todir="${antBuild}/com">
diff -Nru electric-9.07+dfsg/debian/rules electric-9.07+dfsg/debian/rules
--- electric-9.07+dfsg/debian/rules 2022-05-28 19:25:17.000000000 +0000
+++ electric-9.07+dfsg/debian/rules 2025-04-04 21:20:45.000000000 +0000
@@ -1,5 +1,5 @@
#!/usr/bin/make -f
-export CLASSPATH=/usr/share/java/bsh.jar:/usr/share/java/j3dcore.jar:/usr/share/java/j3dutils.jar:/usr/share/java/vecmath.jar:/usr/share/java/slf4j-simple.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/jython.jar
+export CLASSPATH=/usr/share/java/bsh.jar:/usr/share/java/j3dcore.jar:/usr/share/java/j3dutils.jar:/usr/share/java/vecmath.jar:/usr/share/java/slf4j-simple.jar:/usr/share/java/slf4j-api.jar
%:
dh $@ --with javahelper
More information about the pkg-java-maintainers
mailing list