1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1 |
#!/usr/bin/make -f
|
2 |
# -*- makefile -*-
|
|
3 |
||
4 |
# Uncomment this to turn on verbose mode.
|
|
5 |
#export DH_VERBOSE=1
|
|
6 |
||
7 |
unexport LANG LC_ALL |
|
8 |
||
9 |
SHELL = /bin/bash |
|
10 |
||
186
by Matthias Klose
* Allow configuration with --with-cacao. |
11 |
vafilt = $(subst $(2)=,,$(filter $(2)=%,$(1))) |
12 |
||
13 |
DPKG_VARS := $(shell dpkg-architecture) |
|
14 |
DEB_HOST_GNU_TYPE ?= $(call vafilt,$(DPKG_VARS),DEB_HOST_GNU_TYPE) |
|
15 |
DEB_BUILD_GNU_TYPE ?= $(call vafilt,$(DPKG_VARS),DEB_BUILD_GNU_TYPE) |
|
16 |
DEB_HOST_ARCH ?= $(call vafilt,$(DPKG_VARS),DEB_HOST_ARCH) |
|
17 |
||
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
18 |
# don't use it on 64bit archs
|
305.1.10
by Matthias Klose
* Update IcedTea build infrastructure (20081217). |
19 |
ifeq (,$(filter $(DEB_HOST_ARCH), alpha amd64 hppa ppc64 s390x)) |
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
20 |
PATH := $(CURDIR)/bin:$(PATH) |
21 |
export PATH |
|
22 |
endif
|
|
23 |
||
186
by Matthias Klose
* Allow configuration with --with-cacao. |
24 |
CHANGELOG_VARS := $(shell dpkg-parsechangelog | sed -n 's/ /_/g;/^[^_]/s/^\([^:]*\):_\(.*\)/\1=\2/p') |
25 |
PKGSOURCE := $(call vafilt,$(CHANGELOG_VARS),Source) |
|
298
by Matthias Klose
* openjdk-jre-headless: Depend on ca-certificates-java. |
26 |
PKGVERSION := $(call vafilt,$(CHANGELOG_VARS),Version) |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
27 |
|
305.1.53
by Matthias Klose
* Update to hotspot hs14b15. |
28 |
hotspot_archs = amd64 i386 lpia sparc |
29 |
shark_archs = amd64 i386 lpia |
|
30 |
shark_archs = |
|
31 |
no_bootstrap_archs = alpha armel |
|
32 |
||
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
33 |
VENDOR = openjdk |
34 |
Vendor = OpenJDK |
|
35 |
TOP = usr/lib/jvm |
|
36 |
jdirname = java-$(shortver)-$(origin) |
|
37 |
origin = openjdk |
|
38 |
basename = openjdk-$(shortver) |
|
39 |
ifneq (,$(filter $(DEB_HOST_ARCH), $(hotspot_archs))) |
|
40 |
priority = 1061 |
|
41 |
vm_name = Hotspot JIT |
|
42 |
else ifneq (,$(filter $(DEB_HOST_ARCH), $(shark_archs))) |
|
311
by Matthias Klose
* Merge debian packaging r205:362 from openjdk-6. |
43 |
priority = 1055 |
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
44 |
vm_name = Hotspot Shark |
45 |
else
|
|
311
by Matthias Klose
* Merge debian packaging r205:362 from openjdk-6. |
46 |
priority = 1053 |
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
47 |
vm_name = Hotspot Zero |
48 |
endif
|
|
49 |
p_lib_arch = all |
|
311
by Matthias Klose
* Merge debian packaging r205:362 from openjdk-6. |
50 |
jvmver = 1.7.0 |
51 |
shortver = 7 |
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
52 |
jdiralias = java-$(shortver)-$(origin) |
53 |
basedir = usr/lib/jvm/$(jdiralias) |
|
54 |
jreimg = openjdk/build/linux-$(jvmarch)/j2re-image |
|
55 |
sdkimg = openjdk/build/linux-$(jvmarch)/j2sdk-image |
|
56 |
security = etc/$(jdiralias)/security |
|
57 |
||
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
58 |
# Support parallel=<n> in DEB_BUILD_OPTIONS (see #209008)
|
59 |
COMMA=, |
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
60 |
SPACE = $(EMPTY) $(EMPTY) |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
61 |
ifneq (,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) |
147
by Matthias Klose
* Explicitely configure --with-parallel-jobs, needed by the updated IcedTea. |
62 |
NJOBS = $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) |
63 |
HOTSPOT_BUILD_JOBS = $(NJOBS) |
|
64 |
ALT_PARALLEL_COMPILE_JOBS = $(NJOBS) |
|
65 |
export HOTSPOT_BUILD_JOBS |
|
66 |
export ALT_PARALLEL_COMPILE_JOBS |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
67 |
endif
|
147
by Matthias Klose
* Explicitely configure --with-parallel-jobs, needed by the updated IcedTea. |
68 |
|
69 |
# make the build log comparable
|
|
70 |
#export HOTSPOT_BUILD_JOBS = 1
|
|
71 |
#export ALT_PARALLEL_COMPILE_JOBS = 1
|
|
72 |
||
34
by Matthias Klose
* Build-depend on mauve and xvfb; run some mauve tests (the list of |
73 |
with_check = $(if $(findstring nocheck, $(DEB_BUILD_OPTIONS)),,yes) |
196
by Matthias Klose
* debian/patches/const_strings.patch, debian/patches/issue-6659207.diff: |
74 |
with_docs = $(if $(findstring nodocs, $(DEB_BUILD_OPTIONS)),,yes) |
305.1.20
by Matthias Klose
- support the build of shark based packages |
75 |
ifneq (,$(findstring cacao shark, $(PKGSOURCE))) |
76 |
with_docs = disabled for cacao and shark |
|
210
by Matthias Klose
- cacao related updates |
77 |
endif
|
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
78 |
|
257
by Matthias Klose
* Move the plugin from the -jre package into the -plugin package. |
79 |
with_plugin_pkg = yes |
80 |
plugin_name = IcedTeaPlugin.so |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
81 |
|
15
by Matthias Klose
- Update IcedTea to 20080118, build using GCC-4.3, remove patch applied in IcedTea |
82 |
distribution := $(shell lsb_release --id --short) |
83 |
distrel := $(shell lsb_release --codename --short) |
|
84 |
||
305.1.54
by Matthias Klose
* Upload to unstable, based in 6b16 and IcedTea 1.5. |
85 |
with_wgy_zenhai = $(if $(filter $(distrel),hardy intrepid jaunty karmic squeeze sid),yes) |
132
by Matthias Klose
* Recommend the ttf-wqy-zenhei font instead of ttf-arphic-uming, if the |
86 |
|
305.1.10
by Matthias Klose
* Update IcedTea build infrastructure (20081217). |
87 |
arch_map := alpha=alpha arm=arm armel=arm amd64=amd64 hppa=parisc i386=i586 lpia=i586 m68k=m68k mips=mips mipsel=mipsel powerpc=ppc sparc=sparc s390=s390 ia64=ia64 |
88 |
archdir_map := alpha=alpha arm=arm armel=arm amd64=amd64 hppa=parisc i386=i386 lpia=i386 m68k=m68k mips=mips mipsel=mipsel powerpc=ppc sparc=sparc s390=s390 ia64=ia64 |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
89 |
|
90 |
jvmarch := $(strip $(patsubst $(DEB_HOST_ARCH)=%, %, \ |
|
91 |
$(filter $(DEB_HOST_ARCH)=%, $(arch_map)))) |
|
92 |
archdir := $(strip $(patsubst $(DEB_HOST_ARCH)=%, %, \ |
|
93 |
$(filter $(DEB_HOST_ARCH)=%, $(archdir_map)))) |
|
94 |
||
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
95 |
default_vm = $(if $(filter $(DEB_HOST_ARCH), $(hotspot_archs)),hotspot,zero) |
96 |
||
311
by Matthias Klose
* Merge debian packaging r205:362 from openjdk-6. |
97 |
#stage1_openjdk_archs = alpha amd64 armel i386 ia64 lpia powerpc m68k mips mipsel sparc s390
|
98 |
#stage1_gcj_archs = amd64 hppa i386 ia64 lpia powerpc m68k mips mipsel sparc s390
|
|
99 |
stage1_gcj_archs = hppa ia64 powerpc m68k mips mipsel sparc s390 |
|
100 |
stage1_openjdk_archs = alpha amd64 armel i386 lpia |
|
247
by Matthias Klose
* Update cacao based builds: |
101 |
stage1_cacao_archs = |
102 |
||
305.1.30
by Matthias Klose
- fix more problems building the additional cacao vm |
103 |
cacao_archs = alpha amd64 armel i386 lpia powerpc m68k mips mipsel s390 |
305.1.37
by Matthias Klose
- don't build altzero on sparc |
104 |
altzero_archs = $(filter-out sparc, $(hotspot_archs)) |
311
by Matthias Klose
* Merge debian packaging r205:362 from openjdk-6. |
105 |
altzero_archs = |
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
106 |
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
107 |
ifneq (,$(filter $(DEB_HOST_ARCH), $(cacao_archs))) |
108 |
alternate_vms += cacao |
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
109 |
endif
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
110 |
ifneq (,$(filter $(DEB_HOST_ARCH), $(altzero_archs))) |
111 |
ifneq (,$(filter $(DEB_HOST_ARCH), $(shark_archs))) |
|
112 |
alternate_vms += shark |
|
113 |
else
|
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
114 |
alternate_vms += zero |
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
115 |
endif
|
116 |
endif
|
|
117 |
||
247
by Matthias Klose
* Update cacao based builds: |
118 |
ifneq (,$(filter $(DEB_HOST_ARCH), $(stage1_gcj_archs))) |
119 |
STAGE1_JAVA = gcj |
|
120 |
STAGE1_HOME = /usr/lib/jvm/java-gcj |
|
121 |
else ifneq (,$(filter $(DEB_HOST_ARCH), $(stage1_openjdk_archs))) |
|
103.1.5
by Matthias Klose
* Enable bootstrap/normal builds per architecture. |
122 |
STAGE1_JAVA = openjdk |
247
by Matthias Klose
* Update cacao based builds: |
123 |
STAGE1_HOME = /usr/lib/jvm/java-6-openjdk |
124 |
else ifneq (,$(filter $(DEB_HOST_ARCH), $(stage1_cacao_archs))) |
|
125 |
STAGE1_JAVA = cacao |
|
126 |
STAGE1_HOME = /usr/lib/jvm/java-6-cacao |
|
103.1.5
by Matthias Klose
* Enable bootstrap/normal builds per architecture. |
127 |
else
|
247
by Matthias Klose
* Update cacao based builds: |
128 |
$(error unknown bootstrap method for architecture $(DEB_HOST_ARCH)) |
103.1.5
by Matthias Klose
* Enable bootstrap/normal builds per architecture. |
129 |
endif
|
247
by Matthias Klose
* Update cacao based builds: |
130 |
|
311
by Matthias Klose
* Merge debian packaging r205:362 from openjdk-6. |
131 |
OPENJDK_VERSION = b59 |
306
by Matthias Klose
* Build openjdk-7 snapshot (7b40). |
132 |
OPENJDK_SRC_ZIP = openjdk-7-ea-src-$(OPENJDK_VERSION)-20_nov_2008-dfsg.tar.gz |
110
by Matthias Klose
* Differentiate between the openjdk version required as dependency and |
133 |
# the version of the build dependency for non-bootstrap builds; only adjust if
|
134 |
# the package is installable on all these architectures.
|
|
305.1.42
by Matthias Klose
openjdk-6 (6b16~pre1-0ubuntu1) karmic; urgency=low |
135 |
req_openjdk_bd_ver = 6b14 |
311
by Matthias Klose
* Merge debian packaging r205:362 from openjdk-6. |
136 |
req_openjdk_ver = 7b59 |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
137 |
|
28
by Matthias Klose
openjdk-6 (6b06-0ubuntu1) hardy; urgency=low |
138 |
unexport CFLAGS CXXFLAGS CPPFLAGS FFLAGS LDFLAGS |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
139 |
|
142
by Matthias Klose
- Fix typo using wrong macro (distrelease -> distrel) |
140 |
ifneq (,$(filter $(distrel),hardy gutsy feisty edgy dapper)) |
135
by Matthias Klose
* Use GCC-4.3 on all platforms where available. |
141 |
ifneq (,$(filter $(DEB_HOST_ARCH), i386 lpia)) |
142 |
export GCC_SUFFIX = -4.1 |
|
143 |
GCJ_SUFFIX = -4.2 |
|
144 |
endif
|
|
149
by Matthias Klose
* Backport the linux-sparc patches, enable building on sparc. |
145 |
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 powerpc sparc)) |
135
by Matthias Klose
* Use GCC-4.3 on all platforms where available. |
146 |
export GCC_SUFFIX = -4.2 |
147 |
endif
|
|
305.1.54
by Matthias Klose
* Upload to unstable, based in 6b16 and IcedTea 1.5. |
148 |
else ifneq (,$(filter $(distrel),lenny intrepid jaunty squeeze sid)) |
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
149 |
export GCC_SUFFIX = -4.3 |
150 |
export GCJ_SUFFIX = -4.3 |
|
135
by Matthias Klose
* Use GCC-4.3 on all platforms where available. |
151 |
else
|
305.1.42
by Matthias Klose
openjdk-6 (6b16~pre1-0ubuntu1) karmic; urgency=low |
152 |
export GCC_SUFFIX = -4.4 |
153 |
export GCJ_SUFFIX = -4.4 |
|
305.1.46
by Matthias Klose
* Use GCC-4.3 on sparc, ICE with GCC-4.4. |
154 |
ifneq (,$(filter $(DEB_HOST_ARCH), sparc)) |
155 |
export GCC_SUFFIX = -4.3 |
|
156 |
export GCJ_SUFFIX = -4.3 |
|
157 |
endif
|
|
275
by Matthias Klose
- stop cacao builds early on ia64 and sparc |
158 |
endif
|
159 |
||
305.1.42
by Matthias Klose
openjdk-6 (6b16~pre1-0ubuntu1) karmic; urgency=low |
160 |
ifneq (,$(filter $(distrel),jaunty karmic unstable experimental sid)) |
305
by Matthias Klose
openjdk-6 (6b13~pre1-0ubuntu3) jaunty; urgency=low |
161 |
with_pulse = yes |
162 |
endif
|
|
265
by Matthias Klose
* Update IcedTea build infrastructure (20081011). |
163 |
|
305.1.54
by Matthias Klose
* Upload to unstable, based in 6b16 and IcedTea 1.5. |
164 |
ifneq (,$(filter $(distrel),karmic sid squeeze)) |
305.1.53
by Matthias Klose
* Update to hotspot hs14b15. |
165 |
with_jni_bridge = yes |
166 |
endif
|
|
167 |
||
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
168 |
#ifneq (,$(filter $(distrel),karmic unstable experimental sid))
|
169 |
# with_systemtap = yes
|
|
170 |
#endif
|
|
171 |
||
305.1.9
by Matthias Klose
* Build for intrepid with original hotspot. |
172 |
with_hotspot = new |
305.1.22
by Matthias Klose
- fix build with original hotspot |
173 |
ifneq (,$(filter $(distrel),gutsy feisty edgy dapper hardy intrepid)) |
305.1.9
by Matthias Klose
* Build for intrepid with original hotspot. |
174 |
with_hotspot = original |
175 |
endif
|
|
176 |
||
177 |
ifeq ($(with_hotspot),original) |
|
305.1.47
by Matthias Klose
* Remove patches integrated in IcedTea. |
178 |
# $(if $(filter $(distribution),Ubuntu),debian/patches/gcc-no-stack-protector-original.diff) \
|
179 |
||
305.1.9
by Matthias Klose
* Build for intrepid with original hotspot. |
180 |
DISTRIBUTION_PATCHES = \ |
181 |
debian/patches/ld-symbolic-functions-original.diff \ |
|
182 |
debian/patches/set-exec-name-original.diff |
|
183 |
else
|
|
305.1.47
by Matthias Klose
* Remove patches integrated in IcedTea. |
184 |
# FIXME: doesn't seem to be enough, the gcc-*-no-stack-protector patches below are needed.
|
185 |
# $(if $(filter $(distribution),Ubuntu),debian/patches/gcc-no-stack-protector.diff) \
|
|
186 |
||
305.1.9
by Matthias Klose
* Build for intrepid with original hotspot. |
187 |
DISTRIBUTION_PATCHES = \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
188 |
debian/patches/ld-symbolic-functions.diff \ |
200
by Matthias Klose
* Update IcedTea build infrastructure (20080720). |
189 |
debian/patches/set-exec-name.diff \ |
305.1.9
by Matthias Klose
* Build for intrepid with original hotspot. |
190 |
debian/patches/hotspot-warn-no-errformat.diff |
191 |
endif
|
|
305.1.5
by Matthias Klose
* Update IcedTea build infrastructure (20081203). |
192 |
|
193 |
DISTRIBUTION_PATCHES += \ |
|
79.1.7
by Torsten Werner
actually apply the shebang patch |
194 |
debian/patches/shebang.diff \ |
87
by Torsten Werner
Add patch jexec.diff to make the jexec binary without specifying an |
195 |
debian/patches/jexec.diff \ |
305.1.47
by Matthias Klose
* Remove patches integrated in IcedTea. |
196 |
$(if $(with_wgy_zenhai),,debian/patches/fontconfig-arphic-uming.diff) \ |
150
by Matthias Klose
* Don't use an absolute path calling the compiler. |
197 |
debian/patches/no-compiler-path.diff \ |
284
by Matthias Klose
* Don't configure --with-alt-jar=/usr/bin/fastjar on hotspot archs |
198 |
debian/patches/jdk-freetypeScaler-crash.diff \ |
294
by Matthias Klose
openjdk-6 (6b12-0) experimental; urgency=low |
199 |
debian/patches/icedtea-pretend-memory.diff \ |
305.1.10
by Matthias Klose
* Update IcedTea build infrastructure (20081217). |
200 |
debian/patches/default-jvm-cfg.diff \ |
305.1.15
by Matthias Klose
openjdk-6 (6b14-0ubuntu5) jaunty; urgency=low |
201 |
debian/patches/nonreparenting-wm.diff \ |
305.1.39
by Matthias Klose
* Merge changes from 6b14-1.4.1. |
202 |
debian/patches/java-access-bridge-security.patch \ |
203 |
debian/patches/accessible-toolkit.patch \ |
|
305.1.38
by Matthias Klose
* Fix build failure on armel. |
204 |
debian/patches/default-libpath.diff \ |
135
by Matthias Klose
* Use GCC-4.3 on all platforms where available. |
205 |
|
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
206 |
# debian/patches/gcc-mtune-generic.diff \
|
207 |
||
142
by Matthias Klose
- Fix typo using wrong macro (distrelease -> distrel) |
208 |
ifneq (,$(filter $(distrel),hardy gutsy feisty edgy dapper)) |
135
by Matthias Klose
* Use GCC-4.3 on all platforms where available. |
209 |
DISTRIBUTION_PATCHES += \ |
210 |
$(if $(filter $(DEB_HOST_ARCH), amd64), debian/patches/gcc-jdk-opt-O2.diff) \ |
|
138
by Matthias Klose
- Fix typos |
211 |
$(if $(filter $(DEB_HOST_ARCH), powerpc), debian/patches/gcc-opt-O2.diff) |
135
by Matthias Klose
* Use GCC-4.3 on all platforms where available. |
212 |
endif
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
213 |
|
30
by Matthias Klose
* debian/patches/openjdk-ubuntu-branding.patch: New patch. |
214 |
ifeq ($(distribution),Ubuntu) |
305.1.19
by Matthias Klose
* Add dependency on libjpeg62 for the -headless package. LP: #318383. |
215 |
DISTRIBUTION_PATCHES += \ |
216 |
debian/patches/openjdk-ubuntu-branding.patch \ |
|
305.1.22
by Matthias Klose
- fix build with original hotspot |
217 |
debian/patches/gcc-jdk-no-stack-protector.diff |
218 |
ifeq ($(with_hotspot),original) |
|
219 |
DISTRIBUTION_PATCHES += \ |
|
220 |
debian/patches/gcc-hotspot-no-stack-protector-original.diff |
|
221 |
else
|
|
222 |
DISTRIBUTION_PATCHES += \ |
|
305.1.19
by Matthias Klose
* Add dependency on libjpeg62 for the -headless package. LP: #318383. |
223 |
debian/patches/gcc-hotspot-no-stack-protector.diff |
305.1.22
by Matthias Klose
- fix build with original hotspot |
224 |
endif
|
305.1.38
by Matthias Klose
* Fix build failure on armel. |
225 |
endif
|
226 |
||
305.1.42
by Matthias Klose
openjdk-6 (6b16~pre1-0ubuntu1) karmic; urgency=low |
227 |
# FIXME: temporarily disabled
|
228 |
#ifneq (,$(filter $(DEB_HOST_ARCH),armel))
|
|
229 |
# DISTRIBUTION_PATCHES += \
|
|
230 |
# debian/patches/zero-hotspot-opt.diff
|
|
231 |
#endif
|
|
30
by Matthias Klose
* debian/patches/openjdk-ubuntu-branding.patch: New patch. |
232 |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
233 |
export DISTRIBUTION_PATCHES |
234 |
||
235 |
ifeq ($(STAGE1_JAVA),gcj) |
|
236 |
CONFIGURE_ARGS = \ |
|
247
by Matthias Klose
* Update cacao based builds: |
237 |
--with-gcj-home=$(STAGE1_HOME) \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
238 |
--with-ecj=/usr/bin/ecj \ |
247
by Matthias Klose
* Update cacao based builds: |
239 |
--with-java=$(STAGE1_HOME)/bin/java \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
240 |
--with-javah=/usr/bin/gjavah$(GCJ_SUFFIX) \ |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
241 |
--with-rmic=/usr/bin/grmic$(GCJ_SUFFIX) |
305.1.5
by Matthias Klose
* Update IcedTea build infrastructure (20081203). |
242 |
ifeq (,$(filter ia64, $(DEB_HOST_ARCH))) |
243 |
CONFIGURE_ARGS += \ |
|
244 |
--with-jar=/usr/bin/fastjar |
|
245 |
endif
|
|
43
by Matthias Klose
* Fix build infrastructure to bootstrap with OpenJDK instead of ecj. |
246 |
build_target = icedtea-against-icedtea |
23
by Matthias Klose
* First public OpenJDK upstream code drop (b05). |
247 |
else ifeq ($(STAGE1_JAVA),openjdk) |
248 |
CONFIGURE_ARGS = \ |
|
249 |
--with-icedtea \ |
|
291
by Matthias Klose
- fix typo |
250 |
--with-icedtea-home=$(STAGE1_HOME) |
43
by Matthias Klose
* Fix build infrastructure to bootstrap with OpenJDK instead of ecj. |
251 |
build_target = #icedtea-against-icedtea |
247
by Matthias Klose
* Update cacao based builds: |
252 |
else ifeq ($(STAGE1_JAVA),cacao) |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
253 |
CONFIGURE_ARGS = \ |
254 |
--with-icedtea \ |
|
291
by Matthias Klose
- fix typo |
255 |
--with-icedtea-home=$(STAGE1_HOME) |
43
by Matthias Klose
* Fix build infrastructure to bootstrap with OpenJDK instead of ecj. |
256 |
build_target = #icedtea-against-icedtea |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
257 |
endif
|
186
by Matthias Klose
* Allow configuration with --with-cacao. |
258 |
|
298
by Matthias Klose
* openjdk-jre-headless: Depend on ca-certificates-java. |
259 |
CONFIGURE_ARGS += --with-pkgversion="$(PKGVERSION)" |
260 |
||
284
by Matthias Klose
* Don't configure --with-alt-jar=/usr/bin/fastjar on hotspot archs |
261 |
# there are problems --with-alt-jar=/usr/bin/fastjar,
|
262 |
# see http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=217
|
|
263 |
# only use it for zero ports except powerpc (which we assume as
|
|
264 |
# fast enough to build.
|
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
265 |
ifeq (,$(filter $(DEB_HOST_ARCH), $(hotspot_archs) ia64 powerpc)) |
266 |
CONFIGURE_ARGS += --with-alt-jar=/usr/bin/fastjar |
|
284
by Matthias Klose
* Don't configure --with-alt-jar=/usr/bin/fastjar on hotspot archs |
267 |
endif
|
268 |
||
247
by Matthias Klose
* Update cacao based builds: |
269 |
CONFIGURE_ARGS += \ |
270 |
--with-xalan2-jar=/usr/share/java/xalan2.jar \ |
|
271 |
--with-xalan2-serializer-jar=/usr/share/java/serializer.jar \ |
|
272 |
--with-rhino=/usr/share/java/js.jar \ |
|
311
by Matthias Klose
* Merge debian packaging r205:362 from openjdk-6. |
273 |
--with-openjdk-src-zip=$(CURDIR)/openjdk.tar.gz \ |
274 |
--with-hotspot-src-zip=$(CURDIR)/hotspot.tar.gz \ |
|
275 |
--with-corba-src-zip=$(CURDIR)/corba.tar.gz \ |
|
276 |
--with-jaxp-src-zip=$(CURDIR)/jaxp.tar.gz \ |
|
277 |
--with-jaxws-src-zip=$(CURDIR)/jaxws.tar.gz \ |
|
278 |
--with-jdk-src-zip=$(CURDIR)/jdk-dfsg.tar.gz \ |
|
279 |
--with-langtools-src-zip=$(CURDIR)/langtools.tar.gz |
|
280 |
||
281 |
#CONFIGURE_ARGS += --disable-nimbus --disable-nimbus-generation
|
|
247
by Matthias Klose
* Update cacao based builds: |
282 |
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
283 |
ifneq (,$(filter $(DEB_HOST_ARCH), $(cacao_archs))) |
247
by Matthias Klose
* Update cacao based builds: |
284 |
CONFIGURE_ARGS += \ |
258
by Matthias Klose
- don't build the icedtea6-plugin from the cacao source |
285 |
--with-cacao-src-zip=$(firstword $(wildcard $(CURDIR)/cacao-*.tar.* /usr/src/cacao-*.tar.*)) |
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
286 |
ifneq (,$(filter $(DEB_HOST_ARCH), armel)) |
223
by Matthias Klose
- prepare for release |
287 |
EXTRA_BUILD_ENV = CACAO_CONFIGURE_ARGS='--enable-softfloat --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)' |
288 |
else
|
|
289 |
EXTRA_BUILD_ENV = CACAO_CONFIGURE_ARGS='--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)' |
|
187
by Matthias Klose
* Configure cacao builds with --enable-softfloat. |
290 |
endif
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
291 |
endif
|
292 |
||
293 |
ifeq (,$(filter $(DEB_HOST_ARCH), $(hotspot_archs))) |
|
294 |
CONFIGURE_ARGS += --enable-zero |
|
295 |
ifneq (,$(filter $(DEB_HOST_ARCH), $(shark_archs))) |
|
296 |
CONFIGURE_ARGS += --enable-shark |
|
305.1.9
by Matthias Klose
* Build for intrepid with original hotspot. |
297 |
endif
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
298 |
endif
|
299 |
||
300 |
ifeq ($(with_hotspot),original) |
|
301 |
CONFIGURE_ARGS += --without-hotspot-build |
|
143
by Matthias Klose
* Explicitely configure with --disable-zero on hotspot architectures. |
302 |
else
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
303 |
CONFIGURE_ARGS += --with-hotspot-build |
103.1.2
by Matthias Klose
* Configure with --enable-zero on all archs except amd64, i386, lpia. |
304 |
endif
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
305 |
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
306 |
EXTRA_BUILD_ENV += LIBFFI_LIBS=-lffi_pic |
307 |
||
146
by Matthias Klose
* Disable building the docs on powerpc and sparc, we don't build architecture |
308 |
# assume we don't build binary indep packages on these architectures
|
196
by Matthias Klose
* debian/patches/const_strings.patch, debian/patches/issue-6659207.diff: |
309 |
ifeq ($(with_docs),yes) |
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
310 |
ifeq (,$(filter $(DEB_HOST_ARCH), amd64 i386 lpia)) |
196
by Matthias Klose
* debian/patches/const_strings.patch, debian/patches/issue-6659207.diff: |
311 |
CONFIGURE_ARGS += --disable-docs |
312 |
endif
|
|
198
by Matthias Klose
* Support `nodocs' in DEB_BUILD_OPTIONS (configure with --disable-docs) |
313 |
else
|
314 |
CONFIGURE_ARGS += --disable-docs |
|
146
by Matthias Klose
* Disable building the docs on powerpc and sparc, we don't build architecture |
315 |
endif
|
316 |
||
147
by Matthias Klose
* Explicitely configure --with-parallel-jobs, needed by the updated IcedTea. |
317 |
ifneq (,$(NJOBS)) |
318 |
CONFIGURE_ARGS += --with-parallel-jobs=$(NJOBS) |
|
319 |
endif
|
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
320 |
|
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
321 |
ifeq ($(with_plugin_pkg),yes) |
308
by Matthias Klose
- more 6 -> 7 updates |
322 |
CONFIGURE_ARGS += --enable-liveconnect |
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
323 |
else
|
308
by Matthias Klose
- more 6 -> 7 updates |
324 |
CONFIGURE_ARGS += --disable-liveconnect |
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
325 |
endif
|
193
by Matthias Klose
* openjdk-6-jre-headless: Depend on ttf-dejavu-core instead of ttf-dejavu. |
326 |
|
268
by Matthias Klose
* Add support to build with pulseaudio support. |
327 |
ifeq ($(with_pulse),yes) |
328 |
CONFIGURE_ARGS += --enable-pulse-java |
|
265
by Matthias Klose
* Update IcedTea build infrastructure (20081011). |
329 |
endif
|
330 |
||
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
331 |
ifeq ($(with_systemtap),yes) |
332 |
CONFIGURE_ARGS += --enable-systemtap --with-abs-install-dir=/$(basedir) |
|
333 |
endif
|
|
334 |
||
335 |
ifneq (,$(alternate_vms)) |
|
336 |
CONFIGURE_ARGS += --with-additional-vms=$(subst $(SPACE),$(COMMA),$(alternate_vms)) |
|
337 |
endif
|
|
338 |
||
221
by Matthias Klose
* Configure with --host and --build. |
339 |
CONFIGURE_ARGS += --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) |
340 |
||
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
341 |
# (most) jre and jdk tools handled by the alternatives system.
|
342 |
# dups in heimdal-clients, krb5-user: kinit, klist, ktab, no alternatives
|
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
343 |
all_jre_tools = $(notdir $(wildcard build/$(jreimg)/bin/*)) |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
344 |
jre_tools = $(filter javaws pluginappletviewer policytool, $(all_jre_tools)) |
345 |
jre_hl_tools := $(filter-out $(jre_tools), $(all_jre_tools)) |
|
346 |
||
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
347 |
corba_tools = orbd servertool tnameserv |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
348 |
jre_hl_tools_alt= $(filter-out $(corba_tools), $(jre_hl_tools)) $(corba_tools) |
349 |
jre_tools_alt = $(filter-out kinit klist ktab, $(jre_tools)) |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
350 |
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
351 |
all_jdk_tools = $(notdir $(wildcard build/$(sdkimg)/bin/*)) |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
352 |
jdk_tools = $(filter-out $(all_jre_tools), $(all_jdk_tools)) |
41
by Matthias Klose
openjdk-6 (6b06-0ubuntu4) hardy; urgency=low |
353 |
jdk_tools_alt = $(filter-out java-rmi.cgi, $(jdk_tools)) |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
354 |
|
65
by Torsten Werner
Switch to bzip2 package compression in Debian but leave lzma compression |
355 |
ifeq ($(distribution),Ubuntu) |
356 |
pkg_compress = lzma |
|
357 |
else
|
|
358 |
pkg_compress = bzip2 |
|
359 |
endif
|
|
39
by Matthias Klose
* Compress packages using lzma. |
360 |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
361 |
# build dependencies
|
247
by Matthias Klose
* Update cacao based builds: |
362 |
bd_bootstrap = |
363 |
ifneq (,$(stage1_gcj_archs)) |
|
364 |
bd_bootstrap += \ |
|
305.1.42
by Matthias Klose
openjdk-6 (6b16~pre1-0ubuntu1) karmic; urgency=low |
365 |
ecj-gcj [$(strip $(foreach a,$(stage1_gcj_archs), $(a)))], |
366 |
ifneq (,$(filter $(distrel),karmic unstable experimental)) |
|
367 |
bd_bootstrap += \ |
|
368 |
gcj-jdk [$(strip $(foreach a,$(stage1_gcj_archs), $(a)))], |
|
369 |
else
|
|
370 |
bd_bootstrap += \ |
|
247
by Matthias Klose
* Update cacao based builds: |
371 |
gcj (>= 4:4.2.1) [$(strip $(foreach a,$(stage1_gcj_archs), $(a)))], \ |
372 |
java-gcj-compat-dev (>= 1.0.76-2ubuntu3) [$(strip $(foreach a,$(stage1_gcj_archs), $(a)))], |
|
305.1.42
by Matthias Klose
openjdk-6 (6b16~pre1-0ubuntu1) karmic; urgency=low |
373 |
endif
|
247
by Matthias Klose
* Update cacao based builds: |
374 |
endif
|
375 |
ifneq (,$(stage1_openjdk_archs)) |
|
376 |
bd_bootstrap += \ |
|
377 |
openjdk-6-jdk (>= $(req_openjdk_bd_ver)) [$(strip $(foreach a,$(stage1_openjdk_archs), $(a)))], |
|
378 |
endif
|
|
379 |
ifneq (,$(stage1_cacao_archs)) |
|
380 |
bd_bootstrap += \ |
|
381 |
cacao-oj6-jdk [$(strip $(foreach a,$(stage1_cacao_archs), $(a)))], |
|
382 |
endif
|
|
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
383 |
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
384 |
ifneq (,$(filter $(distrel),hardy gutsy feisty edgy dapper)) |
385 |
bd_gcc = g++-4.2 [amd64 powerpc sparc], g++-4.1 [i386 lpia], |
|
305.1.54
by Matthias Klose
* Upload to unstable, based in 6b16 and IcedTea 1.5. |
386 |
else ifneq (,$(filter $(distrel),lenny intrepid jaunty squeeze sid)) |
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
387 |
bd_gcc = g++-4.3, |
388 |
else
|
|
305.1.52
by Matthias Klose
openjdk-6 (6b16~pre2-0ubuntu3) karmic; urgency=low |
389 |
bd_gcc = g++-4.4 [!sparc], g++-4.3 [sparc], |
21
by Matthias Klose
- build using GCC-4.1/4.2 on hardy |
390 |
endif
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
391 |
bd_syslibs = \ |
182
by Matthias Klose
* Rebuild the upstream tar ball: |
392 |
libjpeg62-dev, libpng12-dev, libgif-dev$(if $(filter $(distrel),etch dapper edgy feisty gutsy), | libungif4-dev), zlib1g-dev, |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
393 |
bd_openjdk = \ |
305.1.4
by Matthias Klose
* Add build dependency on libxrender-dev. |
394 |
libxtst-dev, libxi-dev, libxt-dev, libxp-dev, libxaw7-dev, libxrender-dev, \ |
228
by Matthias Klose
* Fix cups (build) dependencies for older releases. |
395 |
$(if $(filter $(distrel), etch dapper edgy gutsy hardy),libcupsys2-dev,libcups2-dev), \ |
396 |
libasound2-dev, libfreetype6-dev, \ |
|
182
by Matthias Klose
* Rebuild the upstream tar ball: |
397 |
libxalan2-java, rhino, liblcms1-dev, libxinerama-dev, |
311
by Matthias Klose
* Merge debian packaging r205:362 from openjdk-6. |
398 |
bd_openjdk += \ |
399 |
libxpp3-java, libjibx-java, |
|
400 |
||
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
401 |
pkg_ffidev = $(if $(filter $(distribution),Ubuntu),$(if $(filter $(distrel),hardy),libffi4-dev,libffi-dev),libffi-dev) |
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
402 |
|
50
by Matthias Klose
* Build-depend on libffi4-dev on architectures other than amd64, i386, lpia. |
403 |
bd_zero = \ |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
404 |
$(pkg_ffidev) [$(foreach a,$(hotspot_archs),!$(a))], |
305.1.52
by Matthias Klose
openjdk-6 (6b16~pre2-0ubuntu3) karmic; urgency=low |
405 |
bd_zero = \ |
406 |
$(pkg_ffidev), |
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
407 |
|
408 |
ifneq (,$(shark_archs)) |
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
409 |
bd_zero = $(pkg_ffidev), |
410 |
bd_shark = llvm-dev (>= 2.5) [$(foreach a,$(shark_archs),$(a))], |
|
305.1.20
by Matthias Klose
- support the build of shark based packages |
411 |
endif
|
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
412 |
|
413 |
bd_cacao = libtool, |
|
305.1.56
by Matthias Klose
* Add missing build dependency on cacao-source. |
414 |
ifneq ($(distribution),Ubuntu) |
415 |
bd_cacao += cacao-source (>= 0.99.4-1), |
|
416 |
endif
|
|
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
417 |
|
305.1.48
by Matthias Klose
Remove GCJ Web Plugin support. |
418 |
bd_plugin = \ |
419 |
libgtk2.0-dev, $(if $(filter $(distribution),Debian),xulrunner-dev (>= 1.9.0),$(if $(filter $(distrel),hardy intrepid jaunty karmic),xulrunner-1.9-dev,firefox-dev)), |
|
254
by Matthias Klose
openjdk-6 (6b12~pre1-0ubuntu3) intrepid; urgency=low |
420 |
bd_netx = fastjar (>= 2:0.96-0ubuntu2), |
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
421 |
ifneq (,$(filter $(distrel),lenny sid experimental)) |
422 |
bd_netx = fastjar (>= 2:0.95-4), |
|
423 |
endif
|
|
424 |
ifneq (,$(filter $(distrel),hardy)) |
|
425 |
bd_netx = fastjar (>= 2:0.95-1ubuntu2), |
|
426 |
endif
|
|
99
by Torsten Werner
add b-d xfonts-base |
427 |
bd_mauve = mauve, xvfb, autoconf, automake, xauth, xfonts-base |
39
by Matthias Klose
* Compress packages using lzma. |
428 |
bd_compress = $(pkg_compress), |
268
by Matthias Klose
* Add support to build with pulseaudio support. |
429 |
pkg_pulseaudio = pulseaudio (>= 0.9.12) |
430 |
ifeq ($(with_pulse),yes) |
|
431 |
bd_pulsejava = libpulse-dev (>= 0.9.12), $(pkg_pulseaudio), |
|
265
by Matthias Klose
* Update IcedTea build infrastructure (20081011). |
432 |
endif
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
433 |
ifeq ($(with_systemtap),yes) |
434 |
bd_systemtap = systemtap-sdt-dev, |
|
435 |
endif
|
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
436 |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
437 |
dlopen_hl_depends = \ |
228
by Matthias Klose
* Fix cups (build) dependencies for older releases. |
438 |
$(if $(filter $(distrel), etch dapper edgy gutsy hardy),libcupsys2,libcups2), \ |
305.1.19
by Matthias Klose
* Add dependency on libjpeg62 for the -headless package. LP: #318383. |
439 |
liblcms1, libjpeg62 |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
440 |
dlopen_hl_recommends = \ |
441 |
dlopen_jre_depends = \ |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
442 |
libgtk2.0-0, libgnome2-0, libgnomevfs2-0, libgconf2-4, \ |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
443 |
libxrandr2, libxinerama1, libgl1-mesa-glx |
236
by Matthias Klose
- prepare for upload |
444 |
dlopen_jre_recommends = |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
445 |
|
305.1.15
by Matthias Klose
openjdk-6 (6b14-0ubuntu5) jaunty; urgency=low |
446 |
ifeq ($(distribution),Ubuntu) |
447 |
browser_plugin_dirs = xulrunner-addons firefox iceape iceweasel mozilla midbrowser xulrunner |
|
448 |
browser_plugin_dirs = xulrunner-addons |
|
449 |
else
|
|
450 |
browser_plugin_dirs = mozilla |
|
451 |
endif
|
|
23
by Matthias Klose
* First public OpenJDK upstream code drop (b05). |
452 |
|
193
by Matthias Klose
* openjdk-6-jre-headless: Depend on ttf-dejavu-core instead of ttf-dejavu. |
453 |
ifneq (,$(filter $(distrel),etch dapper feisty)) |
454 |
core_fonts = ttf-dejavu |
|
455 |
else
|
|
456 |
core_fonts = ttf-dejavu-core |
|
457 |
endif
|
|
132
by Matthias Klose
* Recommend the ttf-wqy-zenhei font instead of ttf-arphic-uming, if the |
458 |
cjk_fonts = ttf-baekmuk | ttf-unfonts | ttf-unfonts-core, |
459 |
cjk_fonts += ttf-kochi-gothic | ttf-sazanami-gothic, |
|
460 |
cjk_fonts += ttf-kochi-mincho | ttf-sazanami-mincho, |
|
461 |
cjk_fonts += $(if $(with_wgy_zenhai),ttf-wqy-zenhei,ttf-arphic-uming), |
|
190
by Matthias Klose
* Do recommends ttf-indic-fonts instead of ttf-indic-fonts-core for |
462 |
ifneq (,$(filter $(distrel),lenny sid)) |
463 |
cjk_fonts += ttf-indic-fonts, |
|
464 |
else
|
|
465 |
cjk_fonts += ttf-indic-fonts-core, ttf-telugu-fonts, ttf-oriya-fonts, |
|
466 |
cjk_fonts += ttf-kannada-fonts, ttf-bengali-fonts, |
|
467 |
endif
|
|
132
by Matthias Klose
* Recommend the ttf-wqy-zenhei font instead of ttf-arphic-uming, if the |
468 |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
469 |
p_jre = $(basename)-jre |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
470 |
p_jrehl = $(basename)-jre-headless |
311
by Matthias Klose
* Merge debian packaging r205:362 from openjdk-6. |
471 |
p_jrec = icedtea-$(shortver)-jre-cacao |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
472 |
p_jrez = $(basename)-jre-zero |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
473 |
p_lib = $(basename)-jre-lib |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
474 |
p_jdk = $(basename)-jdk |
475 |
p_demo = $(basename)-demo |
|
476 |
p_src = $(basename)-source |
|
477 |
p_doc = $(basename)-doc |
|
178
by Matthias Klose
* Build an openjdk-6-dbg package. |
478 |
p_dbg = $(basename)-dbg |
311
by Matthias Klose
* Merge debian packaging r205:362 from openjdk-6. |
479 |
p_plug = icedtea7-plugin |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
480 |
|
481 |
d = debian/tmp |
|
482 |
d_jre = debian/$(p_jre) |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
483 |
d_jrehl = debian/$(p_jrehl) |
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
484 |
d_jrec = debian/$(p_jrec) |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
485 |
d_jrez = debian/$(p_jrez) |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
486 |
d_lib = debian/$(p_lib) |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
487 |
d_jdk = debian/$(p_jdk) |
488 |
d_demo = debian/$(p_demo) |
|
489 |
d_src = debian/$(p_src) |
|
490 |
d_doc = debian/$(p_doc) |
|
178
by Matthias Klose
* Build an openjdk-6-dbg package. |
491 |
d_dbg = debian/$(p_dbg) |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
492 |
d_plug = debian/$(p_plug) |
493 |
||
494 |
control_vars = \ |
|
230
by Torsten Werner
newer versions of dpkg-gencontrol do not allow underscores in shlibvars: |
495 |
'-Vvm:Name=$(vm_name)' \
|
43
by Matthias Klose
* Fix build infrastructure to bootstrap with OpenJDK instead of ecj. |
496 |
'-Vbase:Version=$(req_openjdk_ver)' \
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
497 |
'-Vdlopenhl:Depends=$(dlopen_hl_depends)' \
|
498 |
'-Vdlopenhl:Recommends=$(dlopen_hl_recommends)' \
|
|
499 |
'-Vdlopenjre:Depends=$(dlopen_jre_depends)' \
|
|
500 |
'-Vdlopenjre:Recommends=$(dlopen_jre_recommends)' \
|
|
268
by Matthias Klose
* Add support to build with pulseaudio support. |
501 |
'-Vpkg:pulseaudio=$(pkg_pulseaudio)' \
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
502 |
|
39
by Matthias Klose
* Compress packages using lzma. |
503 |
ifeq ($(pkg_compress),lzma) |
504 |
bd_options = -- -Zlzma |
|
505 |
control_vars += '-Vdpkg:Depends=dpkg (>= 1.14.12ubuntu3)' |
|
506 |
else ifeq ($(pkg_compress),bzip2) |
|
507 |
bd_options = -- -Zbzip2 |
|
508 |
control_vars += '-Vdpkg:Depends=dpkg (>= 1.10.24)' |
|
509 |
endif
|
|
510 |
||
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
511 |
ifneq (,$(filter-out $(hotspot_archs), $(cacao_archs))) |
512 |
control_vars += '-Vcacao:Recommends=$(p_jrec) (= $${binary:Version})' |
|
513 |
endif
|
|
514 |
||
305.1.57
by Matthias Klose
* Don't install libaccess-bridge-java* symlinks until |
515 |
# FIXME, temporarily disabled
|
516 |
#ifeq ($(with_jni_bridge),yes)
|
|
517 |
# control_vars += '-Vdep:bridge=libaccess-bridge-java'
|
|
518 |
#else
|
|
519 |
# control_vars += '-Vdep:bridge=libaccess-bridge-java-jni'
|
|
520 |
#endif
|
|
305.1.53
by Matthias Klose
* Update to hotspot hs14b15. |
521 |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
522 |
debian/control: debian/control.in debian/rules |
523 |
@cp -p debian/control debian/control.old |
|
524 |
sed \
|
|
185
by Matthias Klose
- use and substitute @basename@ in debian/control.in |
525 |
-e 's/@basename@/$(basename)/g' \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
526 |
-e 's/@bd_bootstrap@/$(bd_bootstrap)/g' \ |
527 |
-e 's/@bd_openjdk@/$(bd_openjdk)/g' \ |
|
50
by Matthias Klose
* Build-depend on libffi4-dev on architectures other than amd64, i386, lpia. |
528 |
-e 's/@bd_zero@/$(bd_zero)/g' \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
529 |
-e 's/@bd_gcc@/$(bd_gcc)/g' \ |
530 |
-e 's/@bd_syslibs@/$(bd_syslibs)/g' \ |
|
531 |
-e 's/@bd_plugin@/$(bd_plugin)/g' \ |
|
14
by Matthias Klose
* Update IcedTea to 20080114. |
532 |
-e 's/@bd_netx@/$(bd_netx)/g' \ |
34
by Matthias Klose
* Build-depend on mauve and xvfb; run some mauve tests (the list of |
533 |
-e 's/@bd_mauve@/$(bd_mauve)/g' \ |
39
by Matthias Klose
* Compress packages using lzma. |
534 |
-e 's/@bd_compress@/$(pkg_compress)/g' \ |
256
by Matthias Klose
* Build depend on cacao-source for cacao-oj6 builds. |
535 |
-e 's/@bd_cacao@/$(bd_cacao)/g' \ |
268
by Matthias Klose
* Add support to build with pulseaudio support. |
536 |
-e 's/@bd_pulsejava@/$(bd_pulsejava)/g' \ |
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
537 |
-e 's/@bd_systemtap@/$(bd_systemtap)/g' \ |
305.1.5
by Matthias Klose
* Update IcedTea build infrastructure (20081203). |
538 |
-e 's/@bd_shark@/$(bd_shark)/g' \ |
193
by Matthias Klose
* openjdk-6-jre-headless: Depend on ttf-dejavu-core instead of ttf-dejavu. |
539 |
-e 's/@core_fonts@/$(core_fonts)/g' \ |
144
by Matthias Klose
* Make the cjk font packages configurable in the control file. |
540 |
-e 's/@cjk_fonts@/$(cjk_fonts)/g' \ |
269
by Matthias Klose
* Build a cacao-oj6-plugin package. |
541 |
-e 's/@pkg_plugin@/$(p_plug)/g' \ |
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
542 |
-e 's/@cacao_archs@/$(cacao_archs)/g' \ |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
543 |
-e 's/@hotspot_archs@/$(hotspot_archs)/g' \ |
305.1.37
by Matthias Klose
- don't build altzero on sparc |
544 |
-e 's/@altzero_archs@/$(altzero_archs)/g' \ |
182
by Matthias Klose
* Rebuild the upstream tar ball: |
545 |
-e 's,@pkg_version@,$(if $(filter $(distrel),etch dapper edgy feisty gutsy),$${Source-Version},$${binary:Version}),g' \ |
210
by Matthias Klose
- cacao related updates |
546 |
-e 's/@lib_arch@/$(p_lib_arch)/g' \ |
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
547 |
debian/control.in \ |
305.1.48
by Matthias Klose
Remove GCJ Web Plugin support. |
548 |
debian/control.plugin \ |
311
by Matthias Klose
* Merge debian packaging r205:362 from openjdk-6. |
549 |
$(if $(cacao_archs), debian/control.cacao-jre) \ |
550 |
$(if $(altzero_archs), debian/control.zero-jre) \ |
|
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
551 |
> debian/control |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
552 |
@if cmp -s debian/control debian/control.old; then \ |
553 |
rm -f debian/control.old; \ |
|
554 |
else \
|
|
555 |
diff -u debian/control.old debian/control; \ |
|
556 |
echo "debian/control did change, please restart the build"; \ |
|
557 |
rm -f debian/control.old; \ |
|
558 |
exit 1; \ |
|
559 |
fi
|
|
560 |
||
561 |
packaging-files: |
|
562 |
for f in debian/*.in; do \ |
|
563 |
case "$$f" in debian/control.in) continue; esac; \ |
|
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
564 |
case "$$f" in \ |
565 |
debian/PLUGIN.*.in) f2=$$(echo $$f | sed 's/PLUGIN/$(p_plug)/;s/\.in$$//');; \ |
|
566 |
*) f2=$$(echo $$f | sed 's/JB/$(basename)/;s/\.in$$//'); \ |
|
567 |
esac; \ |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
568 |
sed -e 's/@JRE@/$(p_jre)/g' \ |
569 |
-e 's/@JDK@/$(p_jdk)/g' \ |
|
570 |
-e 's/@vendor@/$(Vendor)/g' \ |
|
155
by Matthias Klose
* Replace the OpenJDK version in desktop and menu files. |
571 |
-e 's/@RELEASE@/$(shortver)/g' \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
572 |
-e 's/@basename@/$(basename)/g' \ |
573 |
-e 's,@TOP@,$(TOP),g' \ |
|
574 |
-e 's,@basedir@,$(basedir),g' \ |
|
575 |
-e 's,@basediralias@,$(TOP)/$(jdiralias),g' \ |
|
576 |
-e 's,@jdiralias@,$(jdiralias),g' \ |
|
577 |
-e 's,@jdirname@,$(jdirname),g' \ |
|
578 |
-e 's/@srcname@/$(srcname)/g' \ |
|
579 |
-e 's/@jvmarch@/$(jvmarch)/g' \ |
|
580 |
-e 's/@archdir@/$(archdir)/g' \ |
|
581 |
-e 's/@tag@/$(tag)/g' \ |
|
582 |
-e 's/@priority@/$(priority)/g' \ |
|
583 |
-e 's/@mantag@/$(mantag)/g' \ |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
584 |
-e 's/@jre_hl_tools@/$(jre_hl_tools_alt)/g' \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
585 |
-e 's/@jre_tools@/$(jre_tools_alt)/g' \ |
586 |
-e 's/@jdk_tools@/$(jdk_tools_alt)/g' \ |
|
587 |
-e 's/@corba_tools@/$(corba_tools)/g' \ |
|
588 |
-e 's,@j2se_lib@,$(j2se_lib),g' \ |
|
589 |
-e 's,@j2se_share@,$(j2se_share),g' \ |
|
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
590 |
-e 's,@plugin_name@,$(plugin_name),g' \ |
279
by Matthias Klose
* Fix some lintian warnings. |
591 |
-e 's/@pkg_plugin@/$(p_plug)/g' \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
592 |
-e 's,@browser_dirs@,$(browser_plugin_dirs),g' \ |
132
by Matthias Klose
* Recommend the ttf-wqy-zenhei font instead of ttf-arphic-uming, if the |
593 |
-e 's/@cjk_fonts@/$(cjk_fonts)/g' \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
594 |
$$f > $$f2; \ |
595 |
done
|
|
596 |
ifneq (,$(filter $(DEB_HOST_ARCH), i386 lpia)) |
|
10
by Matthias Klose
* New upstream snapshot (b24). |
597 |
# not yet in OpenJDK
|
157
by Matthias Klose
* Install menu files. |
598 |
# cat debian/$(p_jre)-i586.menu >> $(d_jre).menu
|
599 |
rm -f debian/$(p_jre)-i586.menu |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
600 |
endif
|
601 |
||
602 |
icedtea-configure: stamps/icedtea-configure |
|
603 |
stamps/icedtea-configure: |
|
305.1.52
by Matthias Klose
openjdk-6 (6b16~pre2-0ubuntu3) karmic; urgency=low |
604 |
rm -f rt/net/sourceforge/jnlp/runtime/InstallDialog.java |
605 |
||
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
606 |
mkdir -p bin |
607 |
( \
|
|
608 |
echo '#! /bin/sh'; \ |
|
609 |
echo 'if [ -x /usr/bin/linux32 ]; then'; \ |
|
610 |
echo ' exec /usr/bin/linux32 /bin/uname "$$@"'; \ |
|
611 |
echo 'else'; \ |
|
612 |
echo ' exec /bin/uname "$$@"'; \ |
|
613 |
echo 'fi'; \ |
|
614 |
) > bin/uname |
|
615 |
chmod +x bin/uname |
|
616 |
||
617 |
echo "UNAME checks" |
|
618 |
uname -a |
|
619 |
/bin/uname -a |
|
620 |
test -x /usr/bin/linux32 && linux32 uname -a || true |
|
621 |
test -x /usr/bin/linux32 &&linux32 /bin/uname -a || true |
|
622 |
||
305.1.42
by Matthias Klose
openjdk-6 (6b16~pre1-0ubuntu1) karmic; urgency=low |
623 |
# FIXME: temporarily disabled
|
624 |
# patch --verbose -p0 < debian/patches/zero-port-opt.diff
|
|
305.1.33
by Matthias Klose
- fix zero-port-opt patching |
625 |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
626 |
mkdir -p stamps |
305.1.28
by Matthias Klose
* Build in separate build directory. |
627 |
mkdir -p build |
196
by Matthias Klose
* debian/patches/const_strings.patch, debian/patches/issue-6659207.diff: |
628 |
chmod +x configure |
305.1.28
by Matthias Klose
* Build in separate build directory. |
629 |
cd build && $(EXTRA_BUILD_ENV) ../configure $(CONFIGURE_ARGS) |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
630 |
touch $@ |
631 |
||
305.1.28
by Matthias Klose
* Build in separate build directory. |
632 |
unpack: stamps/unpack |
633 |
stamps/unpack: stamps/icedtea-configure |
|
634 |
$(MAKE) -C build stamps/extract.stamp |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
635 |
ifeq ($(STAGE1_JAVA),gcj) |
311
by Matthias Klose
* Merge debian packaging r205:362 from openjdk-6. |
636 |
# $(MAKE) -C build stamps/extract-ecj.stamp
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
637 |
endif
|
638 |
touch $@ |
|
639 |
||
9
by Tom Marble
* Added build specific (b24) reference to upstream OpenJDK source |
640 |
dist-openjdk: $(OPENJDK_SRC_ZIP) |
641 |
@echo "downloading openjdk source from hg to create zipfile: $(OPENJDK_SRC_ZIP)" |
|
305.1.28
by Matthias Klose
* Build in separate build directory. |
642 |
$(MAKE) -C build $@ |
35
by Matthias Klose
* Keep a backup of the `generated' directory; some files are regenerated |
643 |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
644 |
patch: stamps/patch |
645 |
stamps/patch: stamps/unpack |
|
646 |
ifeq ($(STAGE1_JAVA),gcj) |
|
305.1.28
by Matthias Klose
* Build in separate build directory. |
647 |
$(MAKE) -C build stamps/patch-ecj.stamp |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
648 |
endif
|
305.1.28
by Matthias Klose
* Build in separate build directory. |
649 |
$(MAKE) -C build stamps/patch.stamp |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
650 |
touch $@ |
651 |
||
187
by Matthias Klose
* Configure cacao builds with --enable-softfloat. |
652 |
ifeq ($(with_check),yes) |
305.1.55
by Matthias Klose
- prepare for 6b16-1 |
653 |
ifneq (,$(filter $(DEB_HOST_ARCH), $(hotspot_archs) alpha armel ia64 mips mipsel powerpc s390)) |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
654 |
with_mauve_check = $(default_vm) |
223
by Matthias Klose
- prepare for release |
655 |
endif
|
305.1.55
by Matthias Klose
- prepare for 6b16-1 |
656 |
ifneq (,$(filter $(DEB_HOST_ARCH), $(hotspot_archs) alpha armel ia64 mips mipsel powerpc s390)) |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
657 |
with_jtreg_check = $(default_vm) |
658 |
endif
|
|
659 |
||
660 |
ifneq (,$(filter cacao, $(alternate_vms))) |
|
661 |
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386 lpia powerpc sparc)) |
|
662 |
# only activate after testing; problems on s390
|
|
663 |
with_mauve_check += cacao |
|
664 |
endif
|
|
665 |
ifneq (,$(filter $(DEB_HOST_ARCH), alpha amd64 armel i386 lpia mips mipsel powerpc s390)) |
|
666 |
# only activate after testing; hangs several tests.
|
|
667 |
with_jtreg_check += cacao |
|
668 |
endif
|
|
669 |
endif
|
|
670 |
||
671 |
ifneq (,$(filter zero, $(alternate_vms))) |
|
672 |
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386 lpia)) |
|
673 |
# only activate after testing
|
|
674 |
with_mauve_check += zero |
|
675 |
endif
|
|
676 |
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386 lpia)) |
|
677 |
# only activate after testing; hangs several tests.
|
|
678 |
with_jtreg_check += zero |
|
679 |
endif
|
|
680 |
endif
|
|
187
by Matthias Klose
* Configure cacao builds with --enable-softfloat. |
681 |
endif
|
682 |
||
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
683 |
build_stamps = stamps/build |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
684 |
build_stamps += stamps/mauve-check-default stamps/jtreg-check-default |
685 |
#build_stamps += $(if $(filter cacao, $(alternate_vms)),stamps/mauve-check-cacao stamps/jtreg-check-cacao)
|
|
305.1.50
by Matthias Klose
* Update IcedTea build infrastructure (20090510). |
686 |
build_stamps += $(if $(filter zero, $(alternate_vms)),stamps/mauve-check-zero stamps/jtreg-check-zero) |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
687 |
|
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
688 |
build: $(build_stamps) |
225
by Matthias Klose
* Include the name of the VM used in the package description. |
689 |
if [ -f buildwatch.pid ]; then \ |
690 |
pid=$$(cat buildwatch.pid); \ |
|
236
by Matthias Klose
- prepare for upload |
691 |
kill -1 $$pid || :; sleep 1; kill -9 $$pid || :; \ |
225
by Matthias Klose
* Include the name of the VM used in the package description. |
692 |
fi
|
693 |
rm -f buildwatch.pid |
|
694 |
||
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
695 |
stamps/build: stamps/patch |
240
by Matthias Klose
* Fix build issues on s390 (signed size_t). |
696 |
ifneq (,$(filter $(DEB_HOST_ARCH), alpha arm armel hppa ia64 m68k mips mipsel powerpc s390 sparc)) |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
697 |
sh -c 'sh debian/buildwatch.sh $(CURDIR)/build &' |
7
by Matthias Klose
* On powerpc keep the build alive using buildwatch script. |
698 |
endif
|
305.1.28
by Matthias Klose
* Build in separate build directory. |
699 |
if $(EXTRA_BUILD_ENV) $(MAKE) -C build $(build_target); then \ |
305.1.8
by Matthias Klose
* Fix build failure on sparc. |
700 |
: ; \ |
701 |
else \
|
|
702 |
if [ -f buildwatch.pid ]; then \ |
|
703 |
pid=$$(cat buildwatch.pid); \ |
|
704 |
kill -1 $$pid || :; sleep 1; kill -9 $$pid || :; \ |
|
705 |
fi; \ |
|
706 |
false; \ |
|
707 |
fi
|
|
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
708 |
touch $@ |
709 |
||
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
710 |
stamps/xvfb-check: |
711 |
mkdir -p bin |
|
712 |
echo 'xvfb-run -a -e xvfb-run.log -s "-extension GLX" "$$@"' > bin/my-xvfb-run |
|
305.1.52
by Matthias Klose
openjdk-6 (6b16~pre2-0ubuntu3) karmic; urgency=low |
713 |
if ! /bin/sh bin/my-xvfb-run true ; then \ |
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
714 |
echo "error running $$(cat bin/my-xvfb-run)"; \ |
715 |
cat xvfb-run.log; \ |
|
716 |
echo 'xvfb-run -a -e xvfb-run.log -s "$$@"' > bin/my-xvfb-run; \ |
|
305.1.52
by Matthias Klose
openjdk-6 (6b16~pre2-0ubuntu3) karmic; urgency=low |
717 |
if ! /bin/sh bin/my-xvfb-run true ; then \ |
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
718 |
echo "error running $$(cat bin/my-xvfb-run)"; \ |
719 |
cat xvfb-run.log; \ |
|
720 |
rm -f bin/my-xvfb-run; \ |
|
721 |
fi; \ |
|
722 |
fi
|
|
723 |
if [ -f bin/my-xvfb-run ]; then \ |
|
724 |
echo "using $$(cat bin/my-xvfb-run)"; \ |
|
725 |
fi
|
|
726 |
touch $@ |
|
727 |
||
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
728 |
stamps/mauve-check-default: stamps/build stamps/xvfb-check |
729 |
$(MAKE) -f debian/rules mauve-run-check VMNAME=$(default_vm) VMARGS= |
|
730 |
touch $@ |
|
731 |
||
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
732 |
stamps/mauve-check-cacao: stamps/xvfb-check |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
733 |
$(MAKE) -f debian/rules mauve-run-check VMNAME=cacao VMARGS='-vmarg -cacao' |
734 |
touch $@ |
|
735 |
||
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
736 |
stamps/mauve-check-zero: stamps/xvfb-check |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
737 |
$(MAKE) -f debian/rules mauve-run-check VMNAME=zero VMARGS='-vmarg -zero' |
738 |
touch $@ |
|
739 |
||
34
by Matthias Klose
* Build-depend on mauve and xvfb; run some mauve tests (the list of |
740 |
stamps/mauve-build: stamps/build |
305.1.28
by Matthias Klose
* Build in separate build directory. |
741 |
rm -rf build/mauve |
742 |
mkdir -p build/mauve |
|
238
by Matthias Klose
* debian/rules (stamps/mauve-build): Configure with --host and --build. |
743 |
ifeq ($(with_mauve_check),yes) |
305.1.28
by Matthias Klose
* Build in separate build directory. |
744 |
tar -x -C build -f /usr/src/mauve.tar.gz |
745 |
cd build/mauve \ |
|
34
by Matthias Klose
* Build-depend on mauve and xvfb; run some mauve tests (the list of |
746 |
&& aclocal \ |
747 |
&& automake \ |
|
748 |
&& autoconf \ |
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
749 |
&& PATH=$(CURDIR)/build/$(sdkimg)/bin:$$PATH \ |
750 |
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) |
|
305.1.28
by Matthias Klose
* Build in separate build directory. |
751 |
PATH=$(CURDIR)/build/$(sdkimg)/bin:$$PATH $(MAKE) -C build/mauve |
238
by Matthias Klose
* debian/rules (stamps/mauve-build): Configure with --host and --build. |
752 |
endif
|
34
by Matthias Klose
* Build-depend on mauve and xvfb; run some mauve tests (the list of |
753 |
touch $@ |
754 |
||
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
755 |
stamps/mauve-check: stamps/build stamps/mauve-build stamps/xvfb-check |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
756 |
|
757 |
mauve-run-check: |
|
758 |
rm -rf build/mauve build/mauve-$(VMNAME) |
|
759 |
ifneq (,$(filter $(VMNAME), $(with_mauve_check))) |
|
760 |
tar -x -C build -f /usr/src/mauve.tar.gz |
|
761 |
mv build/mauve build/mauve-$(VMNAME) |
|
762 |
cd build/mauve-$(VMNAME) \ |
|
763 |
&& aclocal \ |
|
764 |
&& automake \ |
|
765 |
&& autoconf \ |
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
766 |
&& PATH=$(CURDIR)/build/$(sdkimg)/bin:$$PATH ./configure \ |
767 |
--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) |
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
768 |
PATH=$(CURDIR)/build/$(sdkimg)/bin:$$PATH $(MAKE) -C build/mauve-$(VMNAME) |
769 |
||
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
770 |
if [ -f bin/my-xvfb-run ]; then \ |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
771 |
cd build/mauve-$(VMNAME) && \ |
305.1.28
by Matthias Klose
* Build in separate build directory. |
772 |
JAVA_HOME=$(CURDIR)/build/$(sdkimg) \ |
773 |
PATH=$(CURDIR)/build/$(sdkimg)/bin:$$PATH \ |
|
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
774 |
/bin/sh $(CURDIR)/bin/my-xvfb-run java Harness \ |
305.1.28
by Matthias Klose
* Build in separate build directory. |
775 |
-vm $(CURDIR)/build/$(sdkimg)/bin/java \ |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
776 |
$(VMARGS) \ |
34
by Matthias Klose
* Build-depend on mauve and xvfb; run some mauve tests (the list of |
777 |
-file $(CURDIR)/debian/mauve_tests \ |
778 |
-timeout 30000 2>&1 \ |
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
779 |
| tee mauve_output-$(VMNAME); \ |
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
780 |
else \
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
781 |
echo "mauve testsuite not run for this build (xvfb failures)" \ |
782 |
> build/mauve-$(VMNAME)/mauve_output-$(VMNAME); \ |
|
305.1.52
by Matthias Klose
openjdk-6 (6b16~pre2-0ubuntu3) karmic; urgency=low |
783 |
cat xvfb-run.log >> build/mauve-$(VMNAME)/mauve_output-$(VMNAME); \ |
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
784 |
fi
|
244
by Matthias Klose
- wait some time between the two xvfb-run calls |
785 |
@sleep 5 |
218
by Matthias Klose
* Fix build failure when not running the mauve testsuite. |
786 |
else
|
305.1.35
by Matthias Klose
openjdk-6 (6b14-1.5~pre1-3) unstable; urgency=low |
787 |
mkdir -p build/mauve-$(VMNAME) |
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
788 |
echo "mauve testsuite not run for this build" \ |
789 |
> build/mauve-$(VMNAME)/mauve_output-$(VMNAME) |
|
34
by Matthias Klose
* Build-depend on mauve and xvfb; run some mauve tests (the list of |
790 |
endif
|
791 |
||
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
792 |
jtreg_processes = ps x -ww -o pid,ppid,args \ |
793 |
| awk '$$2 == 1 && $$3 ~ /^$(subst /,\/,/scratch)/' \ |
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
794 |
| sed 's,$(CURDIR)/build/$(sdkimg),<sdkimg>,g;s,$(CURDIR),<pwd>,g' |
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
795 |
jtreg_pids = ps x --no-headers -ww -o pid,ppid,args \ |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
796 |
| awk '$$2 == 1 && $$3 ~ /^$(subst /,\/,$(CURDIR)/build/$(sdkimg))/ {print $$1}' |
797 |
||
798 |
stamps/jtreg-check-default: stamps/build stamps/xvfb-check |
|
799 |
$(MAKE) -f debian/rules jtreg-run-check VMNAME=$(default_vm) VMARGS= |
|
800 |
touch $@ |
|
801 |
||
802 |
stamps/jtreg-check-cacao: stamps/build stamps/xvfb-check |
|
803 |
$(MAKE) -f debian/rules jtreg-run-check VMNAME=cacao VMARGS='-vmoption:-cacao' |
|
804 |
touch $@ |
|
805 |
||
806 |
stamps/jtreg-check-zero: stamps/build stamps/xvfb-check |
|
807 |
$(MAKE) -f debian/rules jtreg-run-check VMNAME=zero VMARGS='-vmoption:-zero' |
|
808 |
touch $@ |
|
809 |
||
810 |
jtreg-run-check: |
|
811 |
ifneq (,$(filter $(VMNAME), $(with_jtreg_check))) |
|
162
by Matthias Klose
* In fontconfig.properties, fix Korean font names and add paths to the Luxi |
812 |
@echo "BEGIN jtreg" |
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
813 |
if [ -f bin/my-xvfb-run ]; then \ |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
814 |
/bin/sh bin/my-xvfb-run $(MAKE) -C build -k jtregcheck ICEDTEA_JTREG_OPTIONS='$(VMARGS)' \ |
815 |
2>&1 | tee jtreg_output-$(VMNAME); \ |
|
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
816 |
else \
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
817 |
echo "jtreg harness not run for this build" > jtreg_output-$(VMNAME); \ |
818 |
cat xvfb-run.log >> jtreg_output-$(VMNAME); \ |
|
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
819 |
fi
|
162
by Matthias Klose
* In fontconfig.properties, fix Korean font names and add paths to the Luxi |
820 |
@echo "END jtreg" |
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
821 |
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
822 |
for i in check-hotspot.log check-jdk.log check-langtools.log jtreg-summary.log; do \ |
305.1.52
by Matthias Klose
openjdk-6 (6b16~pre2-0ubuntu3) karmic; urgency=low |
823 |
if [ -f build/test/$$i ]; then \ |
824 |
mv build/test/$$i build/test/$${i%*.log}-$(VMNAME).log; \ |
|
825 |
else \
|
|
305.1.53
by Matthias Klose
* Update to hotspot hs14b15. |
826 |
mkdir -p build/test; \ |
305.1.52
by Matthias Klose
openjdk-6 (6b16~pre2-0ubuntu3) karmic; urgency=low |
827 |
cp jtreg_output-$(VMNAME) build/test/$${i%*.log}-$(VMNAME).log; \ |
828 |
fi; \ |
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
829 |
done
|
830 |
||
831 |
@echo "BEGIN jtreg-summary-$(VMNAME)" |
|
832 |
-cat build/test/jtreg-summary-$(VMNAME).log |
|
833 |
@echo "END jtreg-summary-$(VMNAME)" |
|
289
by Matthias Klose
openjdk-6 (6b12-0ubuntu3) intrepid; urgency=low |
834 |
|
835 |
: # kill testsuite processes still hanging |
|
836 |
@pids=$$($(jtreg_pids)); \ |
|
837 |
if [ -n "$$pids" ]; then \ |
|
838 |
echo "killing processes..."; \ |
|
839 |
$(jtreg_processes); \ |
|
840 |
kill -1 $$pids; \ |
|
841 |
sleep 2; \ |
|
842 |
pids=$$($(jtreg_pids)); \ |
|
843 |
if [ -n "$$pids" ]; then \ |
|
844 |
echo "trying harder..."; \ |
|
845 |
$(jtreg_processes); \ |
|
846 |
kill -9 $$pids; \ |
|
847 |
sleep 2; \ |
|
848 |
fi; \ |
|
849 |
else \
|
|
850 |
echo "nothing to cleanup"; \ |
|
851 |
fi; \ |
|
852 |
pids=$$($(jtreg_pids)); \ |
|
853 |
if [ -n "$$pids" ]; then \ |
|
854 |
echo "leftover processes..."; \ |
|
855 |
$(jtreg_processes); \ |
|
856 |
fi
|
|
305.1.18
by Matthias Klose
* Include jtr files of failed tests in the -jdk package. |
857 |
|
858 |
-for i in hotspot langtools jdk; do \ |
|
305.1.50
by Matthias Klose
* Update IcedTea build infrastructure (20090510). |
859 |
for t in $$(egrep '^(FAILED|Error)' build/test/check-$$i-$(VMNAME).log | sed 's/.* \(.*\)\.[^.][^.]*$$/\1/'); do \ |
305.1.18
by Matthias Klose
* Include jtr files of failed tests in the -jdk package. |
860 |
echo test/$$i/JTwork/$$t.jtr; \ |
861 |
done; \ |
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
862 |
done > build/test/failed_tests-$(VMNAME).list; \ |
863 |
tar -C build -c -z -f build/test/failed_tests-$(VMNAME).tar.gz -T build/test/failed_tests-$(VMNAME).list |
|
218
by Matthias Klose
* Fix build failure when not running the mauve testsuite. |
864 |
else
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
865 |
echo "jtreg harness not run for this build" > jtreg_output-$(VMNAME) |
162
by Matthias Klose
* In fontconfig.properties, fix Korean font names and add paths to the Luxi |
866 |
endif
|
867 |
||
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
868 |
clean: debian-clean |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
869 |
dh_testdir
|
870 |
dh_testroot
|
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
871 |
rm -rf stamps build build-* |
10
by Matthias Klose
* New upstream snapshot (b24). |
872 |
rm -rf autom4te.cache |
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
873 |
rm -rf bin |
305.1.36
by Matthias Klose
- debian/rules (clean): Remove log files. |
874 |
rm -f jtreg_output* xvfb-run.log |
225
by Matthias Klose
* Include the name of the VM used in the package description. |
875 |
rm -f buildwatch.pid |
162
by Matthias Klose
* In fontconfig.properties, fix Korean font names and add paths to the Luxi |
876 |
|
305.1.33
by Matthias Klose
- fix zero-port-opt patching |
877 |
if [ -f ports/hotspot/src/cpu/zero/vm/bytecodeInterpreter_arm.S ]; then \ |
305.1.37
by Matthias Klose
- don't build altzero on sparc |
878 |
patch --verbose -p0 -R < debian/patches/zero-port-opt.diff; \ |
305.1.33
by Matthias Klose
- fix zero-port-opt patching |
879 |
rm -f ports/hotspot/src/cpu/zero/vm/bytecodeInterpreter_arm.S; \ |
880 |
fi
|
|
881 |
||
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
882 |
dh_clean
|
883 |
||
884 |
debian-clean: |
|
885 |
dh_testdir
|
|
886 |
dh_testroot
|
|
887 |
dh_clean -k |
|
888 |
for f in debian/*.in; do \ |
|
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
889 |
case "$$f" in \ |
890 |
debian/PLUGIN.*.in) f2=$$(echo $$f | sed 's/PLUGIN/$(p_plug)/;s/\.in$$//');; \ |
|
891 |
*) f2=$$(echo $$f | sed 's/JB/$(basename)/;s/\.in$$//'); \ |
|
892 |
esac; \ |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
893 |
case "$$f2" in debian/control) continue; esac; \ |
894 |
rm -f $$f2; \ |
|
895 |
done
|
|
896 |
rm -f debian/*.install debian/*.links |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
897 |
|
898 |
install: packaging-files |
|
899 |
dh_testdir
|
|
900 |
dh_testroot
|
|
901 |
dh_clean -k |
|
902 |
rm -f debian/*.install debian/*.links |
|
903 |
dh_installdirs
|
|
904 |
||
905 |
: # install into temporary location |
|
906 |
mkdir -p $(d)/$(basedir) |
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
907 |
cp -a build/$(sdkimg)/* $(d)/$(basedir)/ |
908 |
cp -a build/$(jreimg)/man $(d)/$(basedir)/jre/ |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
909 |
chmod -R u+w $(d) |
910 |
||
305.1.10
by Matthias Klose
* Update IcedTea build infrastructure (20081217). |
911 |
: # install default jvm config file |
912 |
cp debian/jvm.cfg-default $(d)/$(basedir)/jre/lib/$(archdir)/ |
|
306
by Matthias Klose
* Build openjdk-7 snapshot (7b40). |
913 |
|
234
by Matthias Klose
* Add symlinks for header files found in JAVA_HOME/include/linux in |
914 |
: # add extra symlinks for header files |
915 |
ln -sf linux/jni_md.h $(d)/$(basedir)/include/jni_md.h |
|
916 |
ln -sf linux/jawt_md.h $(d)/$(basedir)/include/jawt_md.h |
|
917 |
||
284
by Matthias Klose
* Don't configure --with-alt-jar=/usr/bin/fastjar on hotspot archs |
918 |
ifneq (,$(filter --with-alt-jar=/usr/bin/fastjar, $(CONFIGURE_ARGS))) |
276
by Matthias Klose
* Update IcedTea build infrastructure (20081015). |
919 |
: # add javascript files to the archive |
920 |
if ! fastjar tf $(d)/$(basedir)/jre/lib/rt.jar | fgrep -q JSObject.class; then \ |
|
284
by Matthias Klose
* Don't configure --with-alt-jar=/usr/bin/fastjar on hotspot archs |
921 |
echo "FIXME: Adding class files for IcedTeaPlugin to rt.jar..."; \ |
922 |
fastjar -u -v -0 -f $(d)/$(basedir)/jre/lib/rt.jar \ |
|
923 |
-C lib/rt netscape/javascript; \ |
|
276
by Matthias Klose
* Update IcedTea build infrastructure (20081015). |
924 |
fi
|
925 |
endif
|
|
116
by Matthias Klose
* Compress the man pages, fixing the slave symlinks of the alternatives. |
926 |
: # compress manpages |
927 |
find $(d)/$(basedir)/man $(d)/$(basedir)/jre/man -type f ! -type l \ |
|
928 |
| xargs gzip -9v |
|
929 |
||
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
930 |
: # replace common files in jdk and jre by symlinks |
931 |
@cd $(d)/$(basedir); \ |
|
932 |
for i in `find jre -type f`; do \ |
|
933 |
i2=$${i#jre/*}; \ |
|
934 |
[ -f $$i2 ] && cmp -s $$i $$i2 || continue; \ |
|
935 |
d=$$(echo ./$$i2 | sed -r 's,[^/]+/,../,g;s,/[^/]+$$,,;s,\.\.$$,,'); \ |
|
936 |
echo " symlink $$i2 -> $$d$$i"; \ |
|
937 |
ln -sf $$d$$i $$i2; \ |
|
938 |
done
|
|
939 |
||
940 |
mkdir -p $(d)/etc/$(jdiralias)/security |
|
941 |
mkdir -p $(d)/etc/$(jdiralias)/management |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
942 |
mkdir -p $(d)/etc/$(jdiralias)/images/cursors |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
943 |
|
944 |
: # rename templates (comments only) to config files, |
|
945 |
: # and move to /etc/$(jdiralias) |
|
946 |
for i in \ |
|
947 |
management/jmxremote.password \ |
|
948 |
management/snmp.acl; \ |
|
949 |
do \
|
|
950 |
mv $(d)/$(basedir)/jre/lib/$$i.template $(d)/etc/$(jdiralias)/$$i; \ |
|
951 |
done
|
|
952 |
||
27
by Matthias Klose
* Remove java-access-bridge tarball, use an externally built package. |
953 |
cp -p debian/accessibility.properties $(d)/$(basedir)/jre/lib/ |
140
by Matthias Klose
* Install a config file swing.properties, allowing a user to change |
954 |
cp -p debian/swing.properties $(d)/$(basedir)/jre/lib/ |
27
by Matthias Klose
* Remove java-access-bridge tarball, use an externally built package. |
955 |
|
177
by Matthias Klose
- Do not include an empty cacerts file. |
956 |
rm -f $(d)/$(basedir)/jre/lib/security/cacerts |
957 |
||
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
958 |
: # move config files to etc/$(jdiralias) and symlink them. |
959 |
for i in \ |
|
960 |
accessibility.properties \ |
|
961 |
calendars.properties \ |
|
962 |
content-types.properties \ |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
963 |
images/cursors/cursors.properties \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
964 |
logging.properties \ |
965 |
sound.properties \ |
|
966 |
flavormap.properties \ |
|
967 |
net.properties \ |
|
968 |
psfontj2d.properties \ |
|
969 |
psfont.properties.ja \ |
|
153
by Matthias Klose
- make swing.properties a config file |
970 |
swing.properties \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
971 |
management/jmxremote.access \ |
972 |
management/management.properties \ |
|
973 |
security/java.policy \ |
|
974 |
security/java.security; \ |
|
975 |
do \
|
|
976 |
mv $(d)/$(basedir)/jre/lib/$$i $(d)/etc/$(jdiralias)/$$i; \ |
|
977 |
done
|
|
978 |
mv $(d)/$(basedir)/jre/lib/$(archdir)/jvm.cfg \ |
|
979 |
$(d)/etc/$(jdiralias)/ |
|
980 |
||
134
by Matthias Klose
add the fontconfig changes as a patch. |
981 |
mv $(d)/$(basedir)/jre/lib/fontconfig.Ubuntu.properties.src \ |
305.1.39
by Matthias Klose
* Merge changes from 6b14-1.4.1. |
982 |
$(d)/etc/$(jdiralias)/fontconfig.properties |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
983 |
mv $(d)/$(basedir)/jre/lib/fontconfig.Ubuntu.bfc \ |
984 |
$(d)/etc/$(jdiralias)/fontconfig.bfc |
|
985 |
||
986 |
: # remove files which we do not want to distribute |
|
987 |
rm -f $(d)/$(basedir)/jre/lib/fontconfig*.properties.src |
|
988 |
rm -f $(d)/$(basedir)/jre/lib/fontconfig*.bfc |
|
989 |
||
79
by Torsten Werner
* Allow executable stack in libjvm.so in lintian override. |
990 |
: # remove empty directories |
991 |
rmdir $(d)/$(basedir)/jre/lib/management |
|
992 |
rmdir $(d)/$(basedir)/jre/lib/applet |
|
279
by Matthias Klose
* Fix some lintian warnings. |
993 |
rmdir $(d)/$(basedir)/jre/lib/security |
79
by Torsten Werner
* Allow executable stack in libjvm.so in lintian override. |
994 |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
995 |
: # TODO: why do we provide a custom font.properties.ja? |
996 |
: # cp -p debian/font.properties.ja $(d_jbin)/etc/$(jdiralias)/. |
|
134
by Matthias Klose
add the fontconfig changes as a patch. |
997 |
# cp debian/font.properties.wgy_zenhai \
|
998 |
# $(d)/etc/$(jdiralias)/font.properties.ja
|
|
999 |
||
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1000 |
|
1001 |
: # now move things to the packages. it is so ****** to create |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1002 |
: # .install files first. dh_movefiles did do the job perfectly |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1003 |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1004 |
: # $(p_jrehl).install / $(p_jre).install |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1005 |
( \
|
1006 |
echo 'etc'; \ |
|
1007 |
echo '$(basedir)/jre/lib/jexec'; \ |
|
56
by Matthias Klose
* Move rt.jar into the openjdk-6-jre-headless package; sun/awt/X11 |
1008 |
echo '$(basedir)/jre/lib/rt.jar'; \ |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1009 |
echo '$(basedir)/jre/man/ja'; \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1010 |
echo '$(basedir)/man/ja'; \ |
103
by Torsten Werner
install README.Debian and java-rmi.cgi |
1011 |
echo '$(basedir)/bin/java-rmi.cgi'; \ |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1012 |
) > debian/$(p_jrehl).install |
90
by Torsten Werner
Update and install the lintian override files. |
1013 |
$(RM) debian/$(p_jre).install |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1014 |
|
1015 |
cd $(CURDIR)/$(d); \ |
|
1016 |
for i in $(basedir)/jre/{bin,man/man1,man/ja_JP.eucJP/man1}/*; do \ |
|
1017 |
case "$$i" in \ |
|
1018 |
*/javaws*|*/pluginappletviewer*|*/policytool*) echo $$i >> ../$(p_jre).install;; \ |
|
1019 |
*) echo $$i >> ../$(p_jrehl).install; \ |
|
1020 |
esac; \ |
|
1021 |
done
|
|
1022 |
||
1023 |
cd $(CURDIR)/$(d); \ |
|
1024 |
for i in $(basedir)/{bin,man/man1,man/ja_JP.eucJP/man1}/*; do \ |
|
1025 |
[ -h $$i ] || continue; \ |
|
1026 |
case "$$i" in \ |
|
1027 |
*/javaws*|*/pluginappletviewer*|*/policytool*) echo $$i >> ../$(p_jre).install;; \ |
|
1028 |
*) echo $$i >> ../$(p_jrehl).install; \ |
|
1029 |
esac; \ |
|
1030 |
done; \ |
|
1031 |
||
1032 |
cd $(CURDIR)/$(d); \ |
|
1033 |
for i in $(basedir)/jre/lib/$(archdir)/*; do \ |
|
1034 |
case "$$i" in \ |
|
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
1035 |
*/$(plugin_name)) continue;; \ |
268
by Matthias Klose
* Add support to build with pulseaudio support. |
1036 |
*/libsplashscreen.so|*/libjsoundalsa.so|$(if $(with_pulse),*/libpulse-java.so|)*/xawt) echo $$i >> ../$(p_jre).install;; \ |
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
1037 |
*/cacao) echo $$i >> ../$(p_jrec).install;; \ |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
1038 |
*/zero) echo $$i >> ../$(p_jrez).install;; \ |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1039 |
*) echo $$i >> ../$(p_jrehl).install; \ |
1040 |
esac; \ |
|
1041 |
done
|
|
1042 |
||
1043 |
: # $(p_lib).install |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1044 |
( \
|
1045 |
echo '$(basedir)/jre/ASSEMBLY_EXCEPTION'; \ |
|
1046 |
echo '$(basedir)/jre/THIRD_PARTY_README'; \ |
|
1047 |
cd $(d); \ |
|
1048 |
for i in $(basedir)/jre/lib/*; do \ |
|
56
by Matthias Klose
* Move rt.jar into the openjdk-6-jre-headless package; sun/awt/X11 |
1049 |
case "$$i" in */$(archdir)|*/jexec|*/rt.jar) continue; esac; \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1050 |
echo $$i; \ |
1051 |
done; \ |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1052 |
) > debian/$(p_lib).install |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1053 |
|
1054 |
: # $(p_jdk).install |
|
1055 |
( \
|
|
1056 |
echo '$(basedir)/include'; \ |
|
1057 |
echo '$(basedir)/lib'; \ |
|
1058 |
echo '$(basedir)/LICENSE'; \ |
|
1059 |
echo '$(basedir)/ASSEMBLY_EXCEPTION'; \ |
|
1060 |
echo '$(basedir)/THIRD_PARTY_README'; \ |
|
1061 |
cd $(d); \ |
|
1062 |
for i in $(basedir)/{bin,man/man1,man/ja_JP.eucJP/man1}/*; do \ |
|
108
by Torsten Werner
do not install java-rmi.cgi in jdk package |
1063 |
[ -h $$i -o "$$i" = $(basedir)/bin/java-rmi.cgi ] && continue; \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1064 |
echo $$i; \ |
1065 |
done; \ |
|
1066 |
) > debian/$(p_jdk).install |
|
1067 |
||
269
by Matthias Klose
* Build a cacao-oj6-plugin package. |
1068 |
ifeq ($(with_plugin_pkg),yes) |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1069 |
dh_installdirs -p$(p_plug) \ |
1070 |
$(foreach d, $(browser_plugin_dirs), usr/lib/$(d)/plugins) |
|
1071 |
||
1072 |
: # $(p_plug).install |
|
1073 |
( \
|
|
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
1074 |
echo '$(basedir)/jre/lib/$(archdir)/$(plugin_name)'; \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1075 |
) > debian/$(p_plug).install |
269
by Matthias Klose
* Build a cacao-oj6-plugin package. |
1076 |
else
|
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
1077 |
: # include the plugin in the $(p_jre) package |
1078 |
echo '$(basedir)/jre/lib/$(archdir)/$(plugin_name)' \ |
|
1079 |
>> debian/$(p_jre).install |
|
44
by Matthias Klose
* Do not build the gcjwebplugin from the OpenJDK source. |
1080 |
endif
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1081 |
|
1082 |
: # $(p_src).install |
|
1083 |
( \
|
|
1084 |
echo '$(basedir)/src.zip'; \ |
|
1085 |
) > debian/$(p_src).install |
|
1086 |
||
1087 |
: # move demos and samples, create symlinks for $(p_demo) |
|
1088 |
mkdir -p $(d)/usr/share/doc/$(p_jre)/demo |
|
1089 |
for i in $(d)/$(basedir)/demo/*; do \ |
|
1090 |
b=$$(basename $$i); \ |
|
1091 |
case "$$i" in \ |
|
1092 |
*/jvmti) \ |
|
1093 |
echo $(basedir)/demo/$$b usr/share/doc/$(p_jre)/demo/$$b >> $(d_demo).links;; \ |
|
1094 |
*) \ |
|
1095 |
mv $$i $(d)/usr/share/doc/$(p_jre)/demo/$$b; \ |
|
1096 |
echo usr/share/doc/$(p_jre)/demo/$$b $(basedir)/demo/$$b >> $(d_demo).links;; \ |
|
1097 |
esac; \ |
|
1098 |
done
|
|
1099 |
mv $(d)/$(basedir)/sample $(d)/usr/share/doc/$(p_jre)/examples |
|
1100 |
echo usr/share/doc/$(p_jre)/examples $(basedir)/sample >> $(d_demo).links |
|
96
by Torsten Werner
add symlink /usr/share/doc/$(p_demo) -> $(p_jre) |
1101 |
echo usr/share/doc/$(p_jre) usr/share/doc/$(p_demo) >> $(d_demo).links |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1102 |
|
1103 |
: # $(p_demo).install |
|
1104 |
( \
|
|
1105 |
echo '$(basedir)/demo'; \ |
|
1106 |
echo 'usr/share/doc/$(p_jre)/examples'; \ |
|
1107 |
echo 'usr/share/doc/$(p_jre)/demo'; \ |
|
1108 |
) > debian/$(p_demo).install |
|
1109 |
||
72
by Torsten Werner
ignore LICENSE file when calling dh_install |
1110 |
dh_install --sourcedir=debian/tmp --fail-missing -XLICENSE |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1111 |
|
1112 |
: # give all permissions to cross-VM extension directory |
|
1113 |
sed -i \ |
|
1114 |
-e '/permission java\.security\.AllPermission;/,/};/c\' \ |
|
1115 |
-e ' permission java.security.AllPermission;\' \ |
|
1116 |
-e '};\' \ |
|
1117 |
-e '\' \ |
|
1118 |
-e 'grant codeBase "file:/$(basedir)/ext/*" {\' \ |
|
1119 |
-e ' permission java.security.AllPermission;\' \ |
|
1120 |
-e '};\' \ |
|
1121 |
-e '\' \ |
|
1122 |
-e '// Comment this out if you want to give all permissions to the\' \ |
|
1123 |
-e '// Debian Java repository too:\' \ |
|
1124 |
-e '//grant codeBase "file:/usr/share/java/repository/-" {\' \ |
|
1125 |
-e '// permission java.security.AllPermission;\' \ |
|
1126 |
-e '//};\' \ |
|
1127 |
-e '' \ |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1128 |
$(d_jrehl)/$(security)/java.policy
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1129 |
# 'make Emacs Makefile mode happy
|
1130 |
||
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1131 |
dh_installdirs -p$(p_jrehl) \ |
106
by Matthias Klose
* binfmt-support: Handle /usr/share/binfmts/jar as a slave symlink of |
1132 |
usr/share/doc/$(p_jre) \ |
1133 |
usr/share/binfmts |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1134 |
|
1135 |
dh_installdirs -p$(p_jre) \ |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1136 |
usr/share/applications \ |
1137 |
usr/share/application-registry \ |
|
1138 |
usr/share/mime-info \ |
|
51
by Matthias Klose
* Install icons in /usr/share/pixmaps, not /usr/share/icons. |
1139 |
usr/share/pixmaps |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1140 |
|
1141 |
: # add GNOME stuff |
|
77
by Torsten Werner
Install openjdk-6-java.desktop into the correct binary package. |
1142 |
cp -p debian/$(basename)-{javaws,policytool}.desktop \ |
62
by Matthias Klose
openjdk-6 (6b08-0ubuntu1) hardy; urgency=low |
1143 |
$(d_jre)/usr/share/applications/ |
77
by Torsten Werner
Install openjdk-6-java.desktop into the correct binary package. |
1144 |
cp -p debian/$(basename)-java.desktop \ |
158
by Matthias Klose
* Install openjdk-6-java.desktop in -jre, instead of -jre-headless. |
1145 |
$(d_jre)/usr/share/applications/ |
10
by Matthias Klose
* New upstream snapshot (b24). |
1146 |
# not yet in OpenJDK
|
1147 |
# cp -p debian/$(basename)-controlpanel.desktop \
|
|
57
by Matthias Klose
* Install all desktop files in /usr/share/applications. |
1148 |
# $(d_jre)/usr/share/applications/
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1149 |
|
1150 |
for i in archive web-start; do \ |
|
1151 |
cp debian/$(basename)-$$i.applications \ |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1152 |
$(d_jre)/usr/share/application-registry/; \ |
1153 |
cp debian/$(basename)-$$i.keys $(d_jre)/usr/share/mime-info/; \ |
|
1154 |
cp debian/$(basename)-$$i.mime $(d_jre)/usr/share/mime-info/; \ |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1155 |
done
|
1156 |
||
1157 |
cp -p debian/sun_java.xpm \ |
|
51
by Matthias Klose
* Install icons in /usr/share/pixmaps, not /usr/share/icons. |
1158 |
$(d_jre)/usr/share/pixmaps/$(basename).xpm |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1159 |
|
51
by Matthias Klose
* Install icons in /usr/share/pixmaps, not /usr/share/icons. |
1160 |
mkdir -p $(d_demo)/usr/share/pixmaps |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1161 |
cp -p debian/sun_java_app.xpm \ |
51
by Matthias Klose
* Install icons in /usr/share/pixmaps, not /usr/share/icons. |
1162 |
$(d_demo)/usr/share/pixmaps/$(basename)-app.xpm |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1163 |
|
284
by Matthias Klose
* Don't configure --with-alt-jar=/usr/bin/fastjar on hotspot archs |
1164 |
: # install icons |
1165 |
for i in 16 24 32 48; do \ |
|
305.1.28
by Matthias Klose
* Build in separate build directory. |
1166 |
install -D -m 644 -p build/openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon$${i}.png \ |
284
by Matthias Klose
* Don't configure --with-alt-jar=/usr/bin/fastjar on hotspot archs |
1167 |
$(d_jre)/usr/share/icons/hicolor/$${i}x$${i}/apps/$(basename).png; \ |
1168 |
done
|
|
1169 |
||
86.1.1
by Matthias Klose
- revert r75. |
1170 |
: # create docdir symlinks for $(p_jrehl) |
1171 |
( \
|
|
1172 |
echo usr/share/doc/$(p_jre) usr/share/doc/$(p_jrehl); \ |
|
121
by Matthias Klose
* Add a `docs' symlink to point to /usr/share/doc/openjdk-6. |
1173 |
echo usr/share/doc/$(p_jre) $(basedir)/docs; \ |
86.1.1
by Matthias Klose
- revert r75. |
1174 |
) > $(d_jrehl).links |
1175 |
||
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
1176 |
ifneq (,$(filter zero, $(alternate_vms))) |
1177 |
: # create docdir symlinks for $(p_jrez) |
|
1178 |
( \
|
|
1179 |
echo usr/share/doc/$(p_jre) usr/share/doc/$(p_jrez); \ |
|
1180 |
) > $(d_jrez).links |
|
1181 |
endif
|
|
1182 |
||
86.1.1
by Matthias Klose
- revert r75. |
1183 |
: # create docdir symlinks for $(p_src) |
1184 |
( \
|
|
1185 |
echo usr/share/doc/$(p_jre) usr/share/doc/$(p_src); \ |
|
1186 |
) > $(d_src).links |
|
1187 |
||
1188 |
: # create docdir symlinks for $(p_jdk) |
|
1189 |
( \
|
|
1190 |
echo usr/share/doc/$(p_jre) usr/share/doc/$(p_jdk); \ |
|
1191 |
) > $(d_jdk).links |
|
1192 |
||
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
1193 |
ifeq ($(with_plugin_pkg),yes) |
86.1.1
by Matthias Klose
- revert r75. |
1194 |
: # create docdir symlinks for $(p_plug) |
1195 |
( \
|
|
1196 |
echo usr/share/doc/$(p_jre) usr/share/doc/$(p_plug); \ |
|
1197 |
) > $(d_plug).links |
|
1198 |
endif
|
|
1199 |
||
1200 |
: # create docdir symlinks for $(p_lib) |
|
1201 |
( \
|
|
1202 |
echo usr/share/doc/$(p_jre) usr/share/doc/$(p_lib); \ |
|
1203 |
) > $(d_lib).links |
|
1204 |
||
305.1.25
by Matthias Klose
openjdk-6 (6b14-0ubuntu17) jaunty; urgency=low |
1205 |
: # create docdir symlinks for $(p_dbg) |
178
by Matthias Klose
* Build an openjdk-6-dbg package. |
1206 |
( \
|
1207 |
echo usr/share/doc/$(p_jre) usr/share/doc/$(p_dbg); \ |
|
1208 |
) > $(d_dbg).links |
|
1209 |
||
305.1.57
by Matthias Klose
* Don't install libaccess-bridge-java* symlinks until |
1210 |
# FIXME: temporarily disabled
|
1211 |
# : # create links for the gnome accessibility bridge
|
|
1212 |
# echo "usr/share/java/gnome-java-bridge.jar $(basedir)/jre/lib/ext/gnome-java-bridge.jar" \
|
|
1213 |
# >> $(d_jre).links
|
|
1214 |
#ifeq ($(with_jni_bridge),yes)
|
|
1215 |
# echo "usr/lib/jni/libjava-access-bridge-jni.so $(basedir)/jre/lib/ext/libjava-access-bridge-jni.so" \
|
|
1216 |
# >> $(d_jre).links
|
|
1217 |
#endif
|
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1218 |
|
1219 |
: # create links for the config files |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1220 |
find $(d_jrehl)/etc/$(jdiralias) -type f ! -name jvm.cfg \ |
1221 |
-printf "etc/$(jdiralias)/%P $(basedir)/jre/lib/%P\n" >> $(d_jrehl).links |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1222 |
echo "etc/$(jdiralias)/jvm.cfg $(basedir)/jre/lib/$(archdir)/jvm.cfg" \ |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1223 |
>> $(d_jrehl).links |
175
by Matthias Klose
* Fix some lintian warnings. |
1224 |
echo "etc/ssl/certs/java/cacerts $(basedir)/jre/lib/security/cacerts" \ |
171
by Matthias Klose
* Use the certificates provided by the ca-certificates-java package. |
1225 |
>> $(d_jrehl).links |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1226 |
|
79.1.6
by Torsten Werner
Install /usr/bin/jexec via update-alternatives. |
1227 |
@echo JRE_HL_TOOLS: $(jre_hl_tools_alt) jexec |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1228 |
@echo JRE_TOOLS: $(jre_tools_alt) |
1229 |
@echo JDK_TOOLS: $(jdk_tools_alt) |
|
1230 |
( \
|
|
1231 |
echo 'name=$(jdirname)'; \ |
|
1232 |
echo 'alias=$(jdiralias)'; \ |
|
1233 |
echo 'priority=$(priority)'; \ |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1234 |
echo 'section=main'; \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1235 |
echo ''; \ |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1236 |
for i in $(jre_hl_tools_alt); do \ |
1237 |
echo "hl $$i /$(TOP)/$(jdiralias)/jre/bin/$$i"; \ |
|
1238 |
done; \ |
|
79.1.6
by Torsten Werner
Install /usr/bin/jexec via update-alternatives. |
1239 |
echo "hl jexec /$(TOP)/$(jdiralias)/jre/lib/jexec"; \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1240 |
for i in $(jre_tools_alt); do \ |
1241 |
echo "jre $$i /$(TOP)/$(jdiralias)/jre/bin/$$i"; \ |
|
1242 |
done; \ |
|
1243 |
for i in $(jdk_tools_alt); do \ |
|
1244 |
echo "jdk $$i /$(TOP)/$(jdiralias)/bin/$$i"; \ |
|
1245 |
done; \ |
|
130
by Matthias Klose
* Fix names for browser alternatives in jinfo file, set browser_plugin_dirs |
1246 |
for d in $(browser_plugin_dirs); do \ |
1247 |
case "$$d" in \ |
|
1248 |
xulrunner-addons) b=xulrunner-1.9;; \ |
|
1249 |
*) b=$$d;; \ |
|
1250 |
esac; \ |
|
255
by Matthias Klose
* Update IcedTea build infrastructure (20081006). |
1251 |
echo "plugin $$b-javaplugin.so /$(TOP)/$(jdiralias)/jre/lib/$(archdir)/$(plugin_name)"; \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1252 |
done; \ |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1253 |
) > $(d_jrehl)/$(TOP)/.$(jdiralias).jinfo |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1254 |
|
106
by Matthias Klose
* binfmt-support: Handle /usr/share/binfmts/jar as a slave symlink of |
1255 |
( \
|
1256 |
echo 'package $(basename)'; \ |
|
1257 |
echo 'interpreter /usr/bin/jexec'; \ |
|
1258 |
echo 'magic PK\x03\x04'; \ |
|
1259 |
) > $(d_jrehl)/$(basedir)/jre/lib/jar.binfmt |
|
1260 |
||
62
by Matthias Klose
openjdk-6 (6b08-0ubuntu1) hardy; urgency=low |
1261 |
: # install a wrapper for javaws |
1262 |
mv $(d_jre)/$(basedir)/jre/bin/javaws $(d_jre)/$(basedir)/jre/bin/javaws.real |
|
1263 |
install -m 755 debian/javaws-wrapper.sh $(d_jre)/$(basedir)/jre/bin/javaws |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1264 |
|
305.1.42
by Matthias Klose
openjdk-6 (6b16~pre1-0ubuntu1) karmic; urgency=low |
1265 |
: # another jvm symlink |
1266 |
ln -sf $(jdiralias) $(d_jrehl)/usr/lib/jvm/java-$(jvmver)-$(origin) |
|
1267 |
||
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
1268 |
ifeq ($(with_systemtap),yes) |
1269 |
: # systemtap support |
|
1270 |
mkdir -p $(d_jrehl)/usr/share/systemtap/tapset |
|
1271 |
cp -p build/tapset/hotspot.stp $(d_jrehl)/usr/share/systemtap/tapset/ |
|
1272 |
endif
|
|
1273 |
||
204
by Matthias Klose
* Install javazic.jar in the jre-lib package. |
1274 |
: # Install stuff to generate font config and timezone files. |
163
by Matthias Klose
* Install compilefontconfig.jar in openjdk-6-jre-lib package. |
1275 |
mkdir -p $(d_lib)/$(basedir)/jre/lib |
305.1.42
by Matthias Klose
openjdk-6 (6b16~pre1-0ubuntu1) karmic; urgency=low |
1276 |
cp -p build/openjdk/build/linux-$(jvmarch)/btjars/compilefontconfig.jar \ |
163
by Matthias Klose
* Install compilefontconfig.jar in openjdk-6-jre-lib package. |
1277 |
$(d_lib)/$(basedir)/jre/lib/ |
305.1.42
by Matthias Klose
openjdk-6 (6b16~pre1-0ubuntu1) karmic; urgency=low |
1278 |
cp -p build/openjdk/build/linux-$(jvmarch)/btjars/javazic.jar \ |
204
by Matthias Klose
* Install javazic.jar in the jre-lib package. |
1279 |
$(d_lib)/$(basedir)/jre/lib/ |
163
by Matthias Klose
* Install compilefontconfig.jar in openjdk-6-jre-lib package. |
1280 |
|
90
by Torsten Werner
Update and install the lintian override files. |
1281 |
: # install lintian overrides |
1282 |
for FILE in debian/*.overrides; do \ |
|
1283 |
PKG=`basename $$FILE .overrides`; \ |
|
1284 |
install -D -m644 $$FILE debian/$$PKG/usr/share/lintian/overrides/$$PKG; \ |
|
1285 |
done
|
|
1286 |
||
196
by Matthias Klose
* debian/patches/const_strings.patch, debian/patches/issue-6659207.diff: |
1287 |
nodocs = $(if $(findstring nodocs, $(DEB_BUILD_OPTIONS)),-N$(p_doc)) |
213
by Matthias Klose
- more cacao packaging fixes |
1288 |
nodemo = $(if $(findstring cacao, $(PKGSOURCE)),-N$(p_demo)) |
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
1289 |
nojrec = $(if $(filter cacao, $(alternate_vms)),,-N$(p_jrec)) |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
1290 |
nojrez = $(if $(filter zero, $(alternate_vms)),,-N$(p_jrez)) |
196
by Matthias Klose
* debian/patches/const_strings.patch, debian/patches/issue-6659207.diff: |
1291 |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1292 |
# Build architecture independant packages
|
1293 |
binary-indep: build install |
|
1294 |
dh_testdir
|
|
1295 |
dh_testroot
|
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
1296 |
ifeq ($(with_docs),yes) |
86.1.1
by Matthias Klose
- revert r75. |
1297 |
dh_installchangelogs -p$(p_doc) |
1298 |
dh_installdocs -p$(p_doc) |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1299 |
mkdir -p $(d_doc)/usr/share/doc/$(p_jre) |
305.1.42
by Matthias Klose
openjdk-6 (6b16~pre1-0ubuntu1) karmic; urgency=low |
1300 |
for i in build/openjdk/build/linux-$(jvmarch)/docs/*; do \ |
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1301 |
[ -e $$i ] || continue; \ |
1302 |
b=$$(basename $$i); \ |
|
1303 |
cp -a $$i $(d_doc)/usr/share/doc/$(p_jre)/; \ |
|
1304 |
ln -sf ../$(p_jre)/$$b $(d_doc)/usr/share/doc/$(p_doc)/$$b; \ |
|
1305 |
done
|
|
305.1.43
by Matthias Klose
* Update IcedTea build infrastructure (20090503). |
1306 |
endif
|
196
by Matthias Klose
* debian/patches/const_strings.patch, debian/patches/issue-6659207.diff: |
1307 |
dh_installmenu -i $(nodocs) |
1308 |
-dh_icons -i $(nodocs) || dh_iconcache -i $(nodocs) |
|
1309 |
# dh_installdebconf -i $(nodocs)
|
|
1310 |
dh_link -i $(nodocs) |
|
1311 |
dh_compress -i $(nodocs) -Xexamples -Xdemos |
|
1312 |
dh_fixperms -i $(nodocs) |
|
1313 |
dh_installdeb -i $(nodocs) |
|
1314 |
dh_gencontrol -i $(nodocs) -- $(control_vars) |
|
1315 |
dh_md5sums -i $(nodocs) |
|
1316 |
dh_builddeb -i $(nodocs) $(bd_options) |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1317 |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1318 |
absarchdir = $(CURDIR)/$(d_jrehl)/$(basedir)/jre/lib/$(archdir) |
182
by Matthias Klose
* Rebuild the upstream tar ball: |
1319 |
shlibdeps_ld_path =$(absarchdir):$(absarchdir)/client:$(absarchdir)/server:$(absarchdir)/native_threads |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1320 |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1321 |
# Build architecture dependant packages
|
1322 |
binary-arch: build install |
|
1323 |
dh_testdir
|
|
1324 |
dh_testroot
|
|
158
by Matthias Klose
* Install openjdk-6-java.desktop in -jre, instead of -jre-headless. |
1325 |
dh_installchangelogs -p$(p_jrehl) |
1326 |
dh_installdocs -p$(p_jrehl) \ |
|
86.1.1
by Matthias Klose
- revert r75. |
1327 |
debian/JAVA_HOME \ |
103
by Torsten Werner
install README.Debian and java-rmi.cgi |
1328 |
debian/README.alternatives \ |
1329 |
debian/README.Debian |
|
158
by Matthias Klose
* Install openjdk-6-java.desktop in -jre, instead of -jre-headless. |
1330 |
mv $(d_jrehl)/usr/share/doc/$(p_jrehl)/* $(d_jrehl)/usr/share/doc/$(p_jre) |
1331 |
rm -rf $(d_jrehl)/usr/share/doc/$(p_jrehl) |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1332 |
for i in AUTHORS NEWS README; do \ |
1333 |
cp -p $$i $(d_jrehl)/usr/share/doc/$(p_jre)/$$i.IcedTea; \ |
|
1334 |
done
|
|
34
by Matthias Klose
* Build-depend on mauve and xvfb; run some mauve tests (the list of |
1335 |
mkdir -p $(d_jdk)/usr/share/doc/$(p_jre) |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
1336 |
cp build/mauve-$(default_vm)/mauve_output-$(default_vm) \ |
1337 |
$(d_jdk)/usr/share/doc/$(p_jre)/mauve_output-$(default_vm).log |
|
1338 |
cp jtreg_output-$(default_vm) \ |
|
1339 |
$(d_jdk)/usr/share/doc/$(p_jre)/jtreg_output-$(default_vm).log |
|
1340 |
-cp build/test/jtreg-summary-$(default_vm).log build/test/check-*-$(default_vm).log \ |
|
1341 |
$(d_jdk)/usr/share/doc/$(p_jre)/ |
|
1342 |
-cp build/test/failed_tests-$(default_vm).tar.gz $(d_jdk)/usr/share/doc/$(p_jre)/ |
|
34
by Matthias Klose
* Build-depend on mauve and xvfb; run some mauve tests (the list of |
1343 |
|
305.1.27
by Matthias Klose
* Update hotspot to 14.0-b10. |
1344 |
ifneq (,$(filter cacao, $(alternate_vms))) |
1345 |
dh_installchangelogs -p$(p_jrec) |
|
1346 |
dh_installdocs -p$(p_jrec) |
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
1347 |
mkdir -p $(d_jrec)/usr/share/doc/$(p_jre) |
1348 |
-cp build/mauve-cacao/mauve_output-cacao \ |
|
1349 |
$(d_jrec)/usr/share/doc/$(p_jre)/mauve_output-cacao.log |
|
1350 |
-cp jtreg_output-cacao \ |
|
1351 |
$(d_jrec)/usr/share/doc/$(p_jre)/jtreg_output-cacao.log |
|
1352 |
-cp build/test/jtreg-summary-cacao.log build/test/check-*-cacao.log \ |
|
1353 |
$(d_jrec)/usr/share/doc/$(p_jre)/ |
|
1354 |
-cp build/test/failed_tests-cacao.tar.gz $(d_jrec)/usr/share/doc/$(p_jre)/ |
|
1355 |
endif
|
|
1356 |
ifneq (,$(filter zero, $(alternate_vms))) |
|
1357 |
mkdir -p $(d_jrez)/usr/share/doc/$(p_jre) |
|
1358 |
-cp build/mauve-zero/mauve_output-zero \ |
|
1359 |
$(d_jrez)/usr/share/doc/$(p_jre)/mauve_output-zero.log |
|
1360 |
-cp jtreg_output-zero \ |
|
1361 |
$(d_jrez)/usr/share/doc/$(p_jre)/jtreg_output-zero.log |
|
1362 |
-cp build/test/jtreg-summary-zero.log build/test/check-*-zero.log \ |
|
1363 |
$(d_jrez)/usr/share/doc/$(p_jre)/ |
|
1364 |
-cp build/test/failed_tests-zero.tar.gz $(d_jrez)/usr/share/doc/$(p_jre)/ |
|
1365 |
endif
|
|
1366 |
dh_desktop -s $(nodemo) $(nojrec) $(nojrez) |
|
1367 |
dh_installmenu -s $(nodemo) $(nojrec) $(nojrez) |
|
1368 |
-dh_icons -s $(nodemo) $(nojrec) $(nojrez) || dh_iconcache -s $(nodemo) $(nojrec) $(nojrez) |
|
1369 |
# dh_installdebconf -s $(nodemo) $(nojrec) $(nojrez)
|
|
1370 |
dh_link -s $(nodemo) $(nojrec) $(nojrez) |
|
1371 |
dh_strip -s $(nodemo) $(nojrec) $(nojrez) --dbg-package=$(p_dbg) |
|
1372 |
dh_compress -s $(nodemo) $(nojrec) $(nojrez) |
|
1373 |
dh_fixperms -s $(nodemo) $(nojrec) $(nojrez) |
|
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1374 |
dh_makeshlibs -p$(p_jrehl) -p$(p_jre) |
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
1375 |
dh_shlibdeps -s $(nodemo) $(nojrec) $(nojrez) -L $(p_jrehl) \ |
31
by Matthias Klose
* Split out a openjdk-6-jre-headless package, depend on java-common, |
1376 |
-l$(shlibdeps_ld_path) \ |
1377 |
--
|
|
305.1.34
by Matthias Klose
* Build the Zero/Shark VM as an additional JVM (call as `java -zero'). |
1378 |
dh_installdeb -s $(nodemo) $(nojrec) $(nojrez) |
1379 |
dh_gencontrol -s $(nodemo) $(nojrec) $(nojrez) -- $(control_vars) |
|
1380 |
dh_md5sums -s $(nodemo) $(nojrec) $(nojrez) |
|
1381 |
dh_builddeb -s $(nodemo) $(nojrec) $(nojrez) #$(bd_options) |
|
1
by Matthias Klose
Initial checkin (7~b23-1.5~20071124-3 package). |
1382 |
|
1383 |
binary: binary-arch binary-indep |
|
1384 |
.PHONY: build clean binary-indep binary-arch binary install |