changeset in /hg/icedtea: For pre-generated Nimbus, turn on DISA...

Andrew John Hughes ahughes at redhat.com
Thu May 21 08:53:49 PDT 2009


changeset f915b5bb3fc7 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=f915b5bb3fc7
description:
	For pre-generated Nimbus, turn on DISABLE_NIMBUS but patch it out
	for make/javax/swing/plaf.

	2009-05-21  Andrew John Hughes  <ahughes at redhat.com>

		* patches/icedtea-stop-nimbus-generation.patch:
		Renamed.
		* Makefile.am:
		Turn on DISABLE_NIMBUS unless generating files.
		To still build, apply the pregenerated-nimbus patch.
		* patches/icedtea-pregenerated-nimbus.patch:
		Turns the make/javax/swing/plaf/nimbus subdirectory
		back on.

diffstat:

4 files changed, 27 insertions(+), 16 deletions(-)
ChangeLog                                    |   11 +++++++++++
Makefile.am                                  |    4 ++--
patches/icedtea-pregenerated-nimbus.patch    |   14 ++++++++++++++
patches/icedtea-stop-nimbus-generation.patch |   14 --------------

diffs (75 lines):

diff -r 282bc825e2cb -r f915b5bb3fc7 ChangeLog
--- a/ChangeLog	Thu May 21 13:48:23 2009 +0100
+++ b/ChangeLog	Thu May 21 16:44:10 2009 +0100
@@ -1,3 +1,14 @@ 2009-05-21  Andrew John Hughes  <ahughes
+2009-05-21  Andrew John Hughes  <ahughes at redhat.com>
+
+	* patches/icedtea-stop-nimbus-generation.patch:
+	Renamed.
+	* Makefile.am:
+	Turn on DISABLE_NIMBUS unless generating files.
+	To still build, apply the pregenerated-nimbus patch.
+	* patches/icedtea-pregenerated-nimbus.patch:
+	Turns the make/javax/swing/plaf/nimbus subdirectory
+	back on.
+
 2009-05-21  Andrew John Hughes  <ahughes at redhat.com>
 
 	* Makefile.am:
diff -r 282bc825e2cb -r f915b5bb3fc7 Makefile.am
--- a/Makefile.am	Thu May 21 13:48:23 2009 +0100
+++ b/Makefile.am	Thu May 21 16:44:10 2009 +0100
@@ -1560,7 +1560,7 @@ ICEDTEA_ENV += \
 	"ALT_HOTSPOT_IMPORT_PATH=$(CACAO_IMPORT_PATH)"
 endif
 
-if !ENABLE_NIMBUS
+if !ENABLE_NIMBUS_GENERATION
 ICEDTEA_ENV += \
 	"DISABLE_NIMBUS=true"
 endif
@@ -2099,7 +2099,7 @@ endif
 endif
 
 if !ENABLE_NIMBUS_GENERATION
-ICEDTEA_PATCHES += patches/icedtea-stop-nimbus-generation.patch
+ICEDTEA_PATCHES += patches/icedtea-pregenerated-nimbus.patch
 endif
 
 stamps/extract.stamp: stamps/download.stamp
diff -r 282bc825e2cb -r f915b5bb3fc7 patches/icedtea-pregenerated-nimbus.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/icedtea-pregenerated-nimbus.patch	Thu May 21 16:44:10 2009 +0100
@@ -0,0 +1,14 @@
+diff -Nru openjdk.orig/jdk/make/javax/swing/plaf/Makefile openjdk/jdk/make/javax/swing/plaf/Makefile
+--- openjdk.orig/jdk/make/javax/swing/plaf/Makefile	2009-05-21 16:40:04.000000000 +0100
++++ openjdk/jdk/make/javax/swing/plaf/Makefile	2009-05-21 16:40:19.000000000 +0100
+@@ -34,9 +34,7 @@
+ #
+ include FILES.gmk
+ AUTO_FILES_JAVA_DIRS = javax/swing/plaf sun/swing com/sun/java/swing/plaf
+-ifndef DISABLE_NIMBUS
+-  SUBDIRS = nimbus
+-endif
++SUBDIRS = nimbus
+ 
+ # Nimbus is handled in its own directory
+ AUTO_JAVA_PRUNE = nimbus
diff -r 282bc825e2cb -r f915b5bb3fc7 patches/icedtea-stop-nimbus-generation.patch
--- a/patches/icedtea-stop-nimbus-generation.patch	Thu May 21 13:48:23 2009 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-diff -Nru openjdk.orig/jdk/make/tools/Makefile openjdk/jdk/make/tools/Makefile
---- openjdk.orig/jdk/make/tools/Makefile	2009-05-18 22:14:05.000000000 +0100
-+++ openjdk/jdk/make/tools/Makefile	2009-05-21 12:35:38.000000000 +0100
-@@ -53,10 +53,6 @@
-   spp                       \
-   CharsetMapping
- 
--ifndef DISABLE_NIMBUS
--  SUBDIRS += swing-nimbus
--endif
--
- all build clean clobber::
- 	$(SUBDIRS-loop)
- 



More information about the distro-pkg-dev mailing list