[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

j2re1.4 and j2sdk1.4 packages for gcc3.2



After manually installing the gcc3.2 j2sdk (to support mozilla plugin in
sid) I said I never wanted to do that again, and decided to make my own
debian packages. In the meanwhile someone beated me into it (
http://lists.debian.org/debian-user/2003/debian-user-200305/msg00885.html
) but after having the work done I decided to announce it here anyway.

These were based on the sources to the j2se1.4-i386-1.4.0.99beta
sources, in
ftp://mirror.ac.uk/sites/ftp.blackdown.org/java-linux/debian/pool/non-free/j/j2se1.4-i386/j2se1.4-i386_1.4.0.99beta-1.diff.gz
, and the patch with the (minimal) differences I've made is attached.

The packages are available from an apt-get repository in deb
http://jrfonseca.dyndns.org/debian ./

I hope you find this useful.

José Fonseca


PS: Please CC'm if you have any comments as I'm not currently
subscribed.  (I just take a peek to the list archives once in a while).
diff -ur j2se1.4-i386-1.4.0.99beta/debian/changelog j2se1.4-i386-1.4.1.01/debian/changelog
--- j2se1.4-i386-1.4.0.99beta/debian/changelog	2003-05-03 12:27:43.000000000 +0100
+++ j2se1.4-i386-1.4.1.01/debian/changelog	2003-05-03 18:51:25.000000000 +0100
@@ -1,3 +1,10 @@
+j2se1.4-i386 (1.4.1.01-1) unstable; urgency=low
+
+  * Adapted to the release.
+
+ -- José Fonseca <j_r_fonseca@yahoo.co.uk>  Sat,  3 May 2003 18:50:05 +0100
+
+
 j2se1.4-i386 (1.4.0.99beta-1) unstable; urgency=low
 
   * Initial packaging.  This is a beta release so I refuse to label 1.4.1.
diff -ur j2se1.4-i386-1.4.0.99beta/debian/j2re1.4.docs j2se1.4-i386-1.4.1.01/debian/j2re1.4.docs
--- j2se1.4-i386-1.4.0.99beta/debian/j2re1.4.docs	2003-05-03 12:27:44.000000000 +0100
+++ j2se1.4-i386-1.4.1.01/debian/j2re1.4.docs	2003-05-12 23:53:45.000000000 +0100
@@ -1,5 +1,5 @@
-LICENSE.JRE
 debian/README.alternatives
 j2sdk1.4.1/INSTALL
+j2sdk1.4.1/jre/LICENSE
 j2sdk1.4.1/README
 j2sdk1.4.1/README.html
diff -ur j2se1.4-i386-1.4.0.99beta/debian/j2re1.4.links j2se1.4-i386-1.4.1.01/debian/j2re1.4.links
--- j2se1.4-i386-1.4.0.99beta/debian/j2re1.4.links	2003-05-03 12:27:44.000000000 +0100
+++ j2se1.4-i386-1.4.1.01/debian/j2re1.4.links	2003-05-12 23:53:45.000000000 +0100
@@ -4,13 +4,13 @@
 etc/j2se/1.4/content-types.properties usr/lib/j2se/1.4/jre/lib/content-types.properties
 etc/j2se/1.4/flavormap.properties usr/lib/j2se/1.4/jre/lib/flavormap.properties
 etc/j2se/1.4/font.properties usr/lib/j2se/1.4/jre/lib/font.properties
-etc/j2se/1.4/font.properties.Redhat6.1 usr/lib/j2se/1.4/jre/lib/font.properties.Redhat6.1
 etc/j2se/1.4/font.properties.ja usr/lib/j2se/1.4/jre/lib/font.properties.ja
 etc/j2se/1.4/font.properties.ja.Redhat6.1 usr/lib/j2se/1.4/jre/lib/font.properties.ja.Redhat6.1
 etc/j2se/1.4/font.properties.ja.Redhat6.2 usr/lib/j2se/1.4/jre/lib/font.properties.ja.Redhat6.2
 etc/j2se/1.4/font.properties.ja.Turbo usr/lib/j2se/1.4/jre/lib/font.properties.ja.Turbo
 etc/j2se/1.4/font.properties.ja.Turbo6.0 usr/lib/j2se/1.4/jre/lib/font.properties.ja.Turbo6.0
+etc/j2se/1.4/font.properties.Redhat6.1 usr/lib/j2se/1.4/jre/lib/font.properties.Redhat6.1
 etc/j2se/1.4/font.properties.zh.Turbo usr/lib/j2se/1.4/jre/lib/font.properties.zh.Turbo
 etc/j2se/1.4/logging.properties usr/lib/j2se/1.4/jre/lib/logging.properties
-etc/j2se/1.4/psfont.properties.ja usr/lib/j2se/1.4/jre/lib/psfont.properties.ja
 etc/j2se/1.4/psfontj2d.properties usr/lib/j2se/1.4/jre/lib/psfontj2d.properties
+etc/j2se/1.4/psfont.properties.ja usr/lib/j2se/1.4/jre/lib/psfont.properties.ja
diff -ur j2se1.4-i386-1.4.0.99beta/debian/j2re1.4.postinst j2se1.4-i386-1.4.1.01/debian/j2re1.4.postinst
--- j2se1.4-i386-1.4.0.99beta/debian/j2re1.4.postinst	2003-05-03 12:27:44.000000000 +0100
+++ j2se1.4-i386-1.4.1.01/debian/j2re1.4.postinst	2003-05-03 19:07:50.000000000 +0100
@@ -61,8 +61,8 @@
         ${tag}11
 
     update-alternatives --install \
-        /usr/lib/mozilla-cvs/plugins/javaplugin_oji.so \
-        javaplugin_oji-mozilla-cvs.so \
+        /usr/lib/mozilla-snapshot/plugins/javaplugin_oji.so \
+        javaplugin_oji-mozilla-snapshot.so \
         ${j2se_lib}/jre/plugin/${arch}/mozilla/javaplugin_oji.so \
         ${tag}11
 
diff -ur j2se1.4-i386-1.4.0.99beta/debian/j2sdk1.4.docs j2se1.4-i386-1.4.1.01/debian/j2sdk1.4.docs
--- j2se1.4-i386-1.4.0.99beta/debian/j2sdk1.4.docs	2003-05-03 12:27:44.000000000 +0100
+++ j2se1.4-i386-1.4.1.01/debian/j2sdk1.4.docs	2003-05-12 23:53:52.000000000 +0100
@@ -1,4 +1,4 @@
-LICENSE.JDK
 j2sdk1.4.1/INSTALL
+j2sdk1.4.1/LICENSE
 j2sdk1.4.1/README
 j2sdk1.4.1/README.html
diff -ur j2se1.4-i386-1.4.0.99beta/debian/README.alternatives j2se1.4-i386-1.4.1.01/debian/README.alternatives
--- j2se1.4-i386-1.4.0.99beta/debian/README.alternatives	2003-05-03 12:27:43.000000000 +0100
+++ j2se1.4-i386-1.4.1.01/debian/README.alternatives	2003-05-03 19:06:42.000000000 +0100
@@ -16,7 +16,7 @@
 
 for i in java keytool policytool rmid rmiregistry tnameserv \
          JavaPluginControlPanel javaplugin.so javaplugin_oji.so \
-         javaplugin_oji-mozilla-cvs.so
+         javaplugin_oji-mozilla-snapshot.so
 do
     update-alternatives --auto $i
 done
diff -ur j2se1.4-i386-1.4.0.99beta/debian/rules j2se1.4-i386-1.4.1.01/debian/rules
--- j2se1.4-i386-1.4.0.99beta/debian/rules	2003-05-03 12:27:44.000000000 +0100
+++ j2se1.4-i386-1.4.1.01/debian/rules	2003-05-04 11:20:03.000000000 +0100
@@ -19,7 +19,11 @@
 arch	:= sparc
 endif
 
+ifeq ($(DEB_HOST_ARCH),i386)
+source_archive	:= $(wildcard j2sdk-*i?86*bz2 j2sdk-*i?86*bin)
+else
 source_archive	:= $(wildcard j2sdk-*$(arch)*bz2 j2sdk-*$(arch)*bin)
+endif
 
 new_packaging	:= $(filter bin,$(subst ., ,$(source_archive)))
 
@@ -79,7 +83,7 @@
 build-stamp:
 ifdef new_packaging
 	ln -sf /bin/cat debian/more
-	echo y|PATH=debian:$$PATH DISPLAY= $(SHELL) $(source_archive) > /dev/null
+	echo y|PATH=debian:$$PATH DISPLAY= $(SHELL) $(source_archive) > /dev/null || [ $$? -ge 3 ]
 else
 	tar -jxf $(source_archive)
 endif
@@ -185,7 +189,7 @@
 		$(d_jre)/$(lintian_overrides)/$(p_jre)
 
 # generate any dh_* config files
-	ls $(source)/INSTALL $(source)/README* LICENSE.JRE \
+	ls $(source)/INSTALL $(source)/README* $(source)/jre/LICENSE \
 		debian/README.alternatives > $(d_jre).docs
 	find $(source)/man -type f \
 	  | egrep '/($(manpages_re))\.' > $(d_jre).manpages
@@ -247,7 +251,7 @@
 		$(d_sdk)/$(lintian_overrides)/$(p_sdk)
 
 # generate any dh_* config files
-	ls $(source)/INSTALL $(source)/README* LICENSE.JDK > $(d_sdk).docs
+	ls $(source)/INSTALL $(source)/README* $(source)/LICENSE > $(d_sdk).docs
 	find $(source)/man -type f \
 	  | egrep -v '/($(manpages_re))\.' > $(d_sdk).manpages
 	echo "arch='$(arch)'" > $(d_sdk).debhelper
@@ -352,15 +356,14 @@
 	dh_installchangelogs -k $(wildcard $(source)/CHANGES) -a
 	dh_installdocs -a
 	dh_installman -a
-	dh_undocumented -a
 	dh_link -a
 	dh_compress -a
 	dh_fixperms -a
 	dh_installdeb -a
-	cat LICENSE.JRE >> $(d_jre)/DEBIAN/preinst
-	cat LICENSE.JDK >> $(d_sdk)/DEBIAN/preinst
-	cat LICENSE.JDK >> $(d_src)/DEBIAN/preinst
-	cat LICENSE.JDK >> $(d_demo)/DEBIAN/preinst
+	cat $(source)/jre/LICENSE >> $(d_jre)/DEBIAN/preinst
+	cat $(source)/LICENSE >> $(d_sdk)/DEBIAN/preinst
+	cat $(source)/LICENSE >> $(d_src)/DEBIAN/preinst
+	cat $(source)/LICENSE >> $(d_demo)/DEBIAN/preinst
 	dh_gencontrol -a
 	dh_md5sums -a
 	dh_builddeb -a

Reply to: