[openjdk-8] 01/01: Include all source files in src.zip

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue May 20 13:39:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository openjdk-8.

commit 67f6b1e6929fb86695051f72a95b48c8349935bc
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue May 20 15:38:24 2014 +0200

    Include all source files in src.zip
---
 debian/patches/include-all-srcs.patch | 57 +++++++++++++++++++++++++++++++++++
 debian/rules                          |  1 +
 2 files changed, 58 insertions(+)

diff --git a/debian/patches/include-all-srcs.patch b/debian/patches/include-all-srcs.patch
new file mode 100644
index 0000000..989446d
--- /dev/null
+++ b/debian/patches/include-all-srcs.patch
@@ -0,0 +1,57 @@
+Description: Include all source files in src.zip
+Origin: vendor, http://pkgs.fedoraproject.org/cgit/java-1.8.0-openjdk.git/plain/include-all-srcs.patch
+Forwarded: not-needed
+--- a/jdk/make/CreateJars.gmk
++++ b/jdk/make/CreateJars.gmk
+@@ -569,38 +569,12 @@
+ ##########################################################################################
+ 
+ SRC_ZIP_INCLUDES = \
+-    com/sun/corba \
+-    com/sun/image/codec/jpeg \
+-    com/sun/imageio \
+-    com/sun/java_cup \
+-    com/sun/javadoc \
+-    com/sun/java/swing \
+-    com/sun/jmx \
+-    com/sun/naming \
+-    com/sun/org/apache \
+-    com/sun/security/auth \
+-    com/sun/security/jgss \
+-    com/sun/source \
++    com \
+     java \
+-    javax/accessibility \
+-    javax/annotation \
+-    javax/imageio \
+-    javax/lang \
+-    javax/management \
+-    javax/naming \
+-    javax/print \
+-    javax/rmi \
+-    javax/script \
+-    javax/security \
+-    javax/sound \
+-    javax/sql \
+-    javax/swing \
+-    javax/tools \
+-    javax/xml \
+-    org/ietf \
+-    org/omg \
+-    org/w3c/dom \
+-    org/xml/sax \
++    javax \
++    jdk \
++    org \
++    sun \
+     #
+ 
+ SRC_ZIP_SRCS = $(JDK_TOPDIR)/src/share/classes $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes
+@@ -632,7 +606,6 @@
+ $(eval $(call SetupZipArchive,BUILD_SRC_ZIP, \
+     SRC := $(SRC_ZIP_SRCS) $(IMAGES_OUTPUTDIR)/src, \
+     INCLUDES := $(SRC_ZIP_INCLUDES) launcher, \
+-    EXCLUDES := javax/swing/beaninfo, \
+     SUFFIXES := .java .c .h, \
+     ZIP := $(IMAGES_OUTPUTDIR)/src.zip, \
+     EXTRA_DEPS := $(LAUNCHER_ZIP_SRC)))
diff --git a/debian/rules b/debian/rules
index c19fca7..f6a8cc9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -313,6 +313,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH), sparc64))
 endif
 
 DISTRIBUTION_PATCHES += \
+	debian/patches/include-all-srcs.patch \
 	debian/patches/make4-compatibility.patch \
         debian/patches/fix-jtreg-location.patch \
 	debian/patches/system-libjpeg.patch \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/openjdk-8.git



More information about the pkg-java-commits mailing list