- Timestamp:
- Jul 5, 2021 7:29:55 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145532
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/rules
r84968 r90038 29 29 # either the subversion rev [if available] or the build date) 30 30 # NODOCS=1 don't build docs, use precompiled UserManual.pdf and 31 # maybe VirtualBox. chmfrom $(vboxroot)/prebuild31 # maybe VirtualBox.qch and VirtualBox.qhc from $(vboxroot)/prebuild 32 32 # NOMODS=1 don't build any module 33 33 # NOQT=1 don't build the Qt GUI … … 38 38 # NOWEBSVC=1 don't build the webservice API, default for OSE 39 39 # STAGEDISO=<path> don't build the VBoxAdditions, use the precompiled .iso 40 # STAGED CHM=<path> use VirtualBox*.chmfrom this directory40 # STAGEDQHELP=<path> use VirtualBox*.qch and VirtualBox*.qhc from this directory 41 41 # PKGDIR=<path> where to store the final package(s) 42 42 # 43 43 # NODOCS will be set if UserManual*.pdf is placed in $(vboxroot)/prebuild. 44 44 # STAGEDISO will be set if VBoxGuestAdditions.iso is placed there. 45 # STAGEDCHM will be set if VirtualBox*.chm is placed there. 46 # VirtualBox*.chm is used if it is provided, but never attempted to be built. 45 # STAGEDQHELP will be set if VirtualBox*.qch and VirtualBox*.qhc is placed there. 46 # VirtualBox*.qch and VirtualBox*.qhc are used if they are provided, but never 47 # attempted to be built. 47 48 # 48 49 # Wine will not be required if either NODOCS or STAGEDISO are set. … … 66 67 NODOCS ?= $(if $(wildcard $(vboxroot)/prebuild/UserManual*.pdf),1,) 67 68 STAGEDISO ?= $(if $(wildcard $(vboxroot)/prebuild/VBoxGuestAdditions.iso),$(vboxroot)/prebuild,) 68 STAGED CHM ?= $(if $(wildcard $(vboxroot)/prebuild/VirtualBox*.chm),$(vboxroot)/prebuild,)69 STAGEDQHELP ?= $(if $(and $(wildcard $(vboxroot)/prebuild/VirtualBox*.qch),$(wildcard $(vboxroot)/prebuild/VirtualBox*.qhc)),$(vboxroot)/prebuild,) 69 70 NOWINE := $(if $(NODOCS),1,$(if $(STAGEDISO),1,$(ose))) 70 71 PYTHON := $(firstword $(shell which python) $(shell which python3)) … … 102 103 VBOX_DO_STRIP= \ 103 104 VBOX_PATH_PACKAGE_DOCS="\"/usr/share/doc/$(verpkg)\"" \ 104 $(if $(STAGED CHM),VBOX_WITH_DOCS_CHM=1,VBOX_WITH_KCHMVIEWER=) \105 $(if $(STAGEDQHELP),VBOX_WITH_DOCS_QHELP=1,) \ 105 106 $(if $(svnrev),VBOX_SVN_REV=$(svnrev),) \ 106 107 $(if $(NODOCS),VBOX_WITH_DOCS= ,) \ … … 119 120 . debian/env.sh && kmk -C $(vboxroot) $(bld_flags) $(if $(NOPARALLEL),-j1,) all 120 121 $(if $(NODOCS),cp $(vboxroot)/prebuild/UserManual*.pdf $(builddir)/bin,) 121 $(if $(STAGED CHM),cp $(STAGEDCHM)/VirtualBox*.chm$(builddir)/bin,)122 $(if $(STAGEDQHELP),cp $(STAGEDQHELP)/VirtualBox*.qch $(STAGEDQHELP)/VirtualBox*.qhc $(builddir)/bin,) 122 123 $(if $(EFI),cp $(vboxroot)/prebuild/VBoxEFI32.fd $(builddir)/bin,) 123 124 $(if $(EFI),cp $(vboxroot)/prebuild/VBoxEFI64.fd $(builddir)/bin,) … … 236 237 ifeq ($(ose),) 237 238 dh_installdocs \ 238 $(a rchdir)/UserManual*.pdf $(archdir)/VirtualBox*.chm\239 $(addprefix $(archdir)/,LICENSE)240 rm $(addprefix $(archdir)/,UserManual*.pdf VirtualBox*. chm\239 $(addprefix $(archdir)/,UserManual*.pdf VirtualBox*.qch VirtualBox*.qhc \ 240 LICENSE) 241 rm $(addprefix $(archdir)/,UserManual*.pdf VirtualBox*.qch VirtualBox*.qhc \ 241 242 LICENSE) 242 243 for i in rdesktop-vrdp.tar.gz additions/VBoxGuestAdditions.iso; do \ … … 307 308 endif 308 309 $(firstword $(shell which dh_python2) $(shell which dh_python3)) 309 dh_compress -X.pdf -X .chm -XLICENSE -X.py310 dh_compress -X.pdf -X LICENSE -X.py 310 311 dh_fixperms 311 312 dh_makeshlibs -
trunk/src/VBox/Installer/linux/debian/rules
r89486 r90038 34 34 # either the subversion rev [if available] or the build date) 35 35 # NODOCS=1 don't build docs, use precompiled UserManual.pdf and 36 # maybe VirtualBox. chmfrom $(vboxroot)/prebuild36 # maybe VirtualBox.qch and VirtualBox.qhc from $(vboxroot)/prebuild 37 37 # NOMODS=1 don't build any module 38 38 # NOQT=1 don't build the Qt GUI … … 44 44 # NOWEBSVC=1 don't build the webservice API, default for OSE 45 45 # STAGEDISO=<path> don't build the VBoxAdditions, use the precompiled .iso 46 # STAGED CHM=<path> use VirtualBox*.chmfrom this directory46 # STAGEDQHELP=<path> use VirtualBox*.qch and VirtualBox*.qhc from this directory 47 47 # PKGDIR=<path> where to store the final package(s) 48 48 # 49 49 # NODOCS will be set if UserManual*.pdf is placed in $(vboxroot)/prebuild. 50 50 # STAGEDISO will be set if VBoxGuestAdditions.iso is placed there. 51 # STAGEDCHM will be set if VirtualBox*.chm is placed there. 52 # VirtualBox*.chm is used if it is provided, but never attempted to be built. 51 # STAGEDQHELP will be set if VirtualBox*.qch and VirtualBox*.qhc is placed there. 52 # VirtualBox*.qch and VirtualBox*.qhc are used if they are provided, but never 53 # attempted to be built. 53 54 # 54 55 # Wine will not be required if either NODOCS or STAGEDISO are set. … … 75 76 NODOCS ?= $(if $(wildcard $(vboxroot)/prebuild/UserManual*.pdf),1,) 76 77 STAGEDISO ?= $(if $(wildcard $(vboxroot)/prebuild/VBoxGuestAdditions.iso),$(vboxroot)/prebuild,) 77 STAGED CHM ?= $(if $(wildcard $(vboxroot)/prebuild/VirtualBox*.chm),$(vboxroot)/prebuild,)78 STAGEDQHELP ?= $(if $(and $(wildcard $(vboxroot)/prebuild/VirtualBox*.qch),$(wildcard $(vboxroot)/prebuild/VirtualBox*.qhc)),$(vboxroot)/prebuild,) 78 79 NOWINE := $(if $(NODOCS),1,$(if $(STAGEDISO),1,$(ose))) 79 80 PYTHON := $(firstword $(shell which python) $(shell which python3)) … … 124 125 VBOX_DO_STRIP= \ 125 126 VBOX_PATH_PACKAGE_DOCS="\"/usr/share/doc/$(verpkg)\"" \ 126 $(if $(STAGED CHM),VBOX_WITH_DOCS_CHM=1,VBOX_WITH_KCHMVIEWER=) \127 $(if $(STAGEDQHELP),VBOX_WITH_DOCS_QHELP=1,) \ 127 128 VBOX_PACKAGE_DIST=$(debdist) \ 128 129 $(if $(svnrev),VBOX_SVN_REV=$(svnrev),) \ … … 142 143 . debian/env.sh && kmk -C $(vboxroot) $(bld_flags) $(if $(NOPARALLEL),-j1,) all 143 144 $(if $(NODOCS),cp $(vboxroot)/prebuild/UserManual*.pdf $(builddir)/bin,) 144 $(if $(STAGED CHM),cp $(STAGEDCHM)/VirtualBox*.chm$(builddir)/bin,)145 $(if $(STAGEDQHELP),cp $(STAGEDQHELP)/VirtualBox*.qch $(STAGEDQHELP)/VirtualBox*.qhc $(builddir)/bin,) 145 146 $(if $(EFI),cp $(vboxroot)/prebuild/VBoxEFI32.fd $(builddir)/bin,) 146 147 $(if $(EFI),cp $(vboxroot)/prebuild/VBoxEFI64.fd $(builddir)/bin,) … … 260 261 ifeq ($(ose),) 261 262 dh_installdocs \ 262 $(a rchdir)/UserManual*.pdf $(archdir)/VirtualBox*.chm\263 $(addprefix $(archdir)/,LICENSE)264 rm $(addprefix $(archdir)/,UserManual*.pdf VirtualBox*. chm\263 $(addprefix $(archdir)/,UserManual*.pdf VirtualBox*.qch VirtualBox*.qhc \ 264 LICENSE) 265 rm $(addprefix $(archdir)/,UserManual*.pdf VirtualBox*.qch VirtualBox*.qhc \ 265 266 LICENSE) 266 267 for i in rdesktop-vrdp.tar.gz additions/VBoxGuestAdditions.iso; do \ … … 339 340 endif 340 341 $(firstword $(shell which dh_python2) $(shell which dh_python3)) 341 dh_compress -X.pdf -X .chm -XLICENSE -X.py342 dh_compress -X.pdf -X LICENSE -X.py 342 343 dh_fixperms 343 344 dh_makeshlibs -
trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
r89669 r90038 19 19 %define %OSE% 1 20 20 %define %PYTHON% 1 21 %define % CHM% 121 %define %QHELP% 1 22 22 %define VBOXDOCDIR %{_defaultdocdir}/%NAME% 23 23 %global __requires_exclude_from ^/usr/lib/virtualbox/VBoxPython.*$|^/usr/lib/python.*$|^.*\\.py$ … … 192 192 %{!?is_ose: mv LICENSE $RPM_BUILD_ROOT%{VBOXDOCDIR}} 193 193 mv UserManual*.pdf $RPM_BUILD_ROOT%{VBOXDOCDIR} 194 %{?with_ chm: mv VirtualBox*.chm$RPM_BUILD_ROOT%{VBOXDOCDIR}}194 %{?with_qhelp: mv VirtualBox*.qch VirtualBox*.qhc $RPM_BUILD_ROOT%{VBOXDOCDIR}} 195 195 install -m 755 -d $RPM_BUILD_ROOT/usr/lib/debug/usr/lib/virtualbox 196 196 %if %{?rpm_suse:1}%{!?rpm_suse:0} -
trunk/src/VBox/Installer/linux/rpm/rules
r88293 r90038 26 26 # either the subversion rev [if available] or the build date) 27 27 # NODOCS=1 don't build docs, use precompiled UserManual.pdf and 28 # maybe VirtualBox. chmfrom $(vboxroot)/prebuild28 # maybe VirtualBox.qch and VirtualBox.qhc from $(vboxroot)/prebuild 29 29 # NOMODS=1 don't build any module 30 30 # NOQT=1 don't build the Qt GUI … … 36 36 # NOWEBSVC=1 don't build the webservice API, default for OSE 37 37 # STAGEDISO=<path> don't build the VBoxAdditions, use the precompiled .iso 38 # STAGED CHM=<path> use VirtualBox*.chmfrom this directory38 # STAGEDQHELP=<path> use VirtualBox*.qch and VirtualBox*.qhc from this directory 39 39 # PKGDIR=<path> where to store the final package(s) 40 40 # svn_revision=xxx do not depend on subversion being available, but use this … … 43 43 # NODOCS will be set if UserManual*.pdf is placed in $(vboxroot)/prebuild. 44 44 # STAGEDISO will be set if VBoxGuestAdditions.iso is placed there. 45 # STAGEDCHM will be set if VirtualBox*.chm is placed there. 46 # VirtualBox*.chm is used if it is provided, but never attempted to be built. 45 # STAGEDQHELP will be set if VirtualBox*.qch and VirtualBox*.qhc is placed there. 46 # VirtualBox*.qch and VirtualBox*.qhc are used if they are provided, but never 47 # attempted to be built. 47 48 # 48 49 # Wine will not be required if either NODOCS or STAGEDISO are set. … … 71 72 NODOCS ?= $(if $(wildcard $(vboxroot)/prebuild/UserManual*.pdf),1,) 72 73 STAGEDISO ?= $(if $(wildcard $(vboxroot)/prebuild/VBoxGuestAdditions.iso),$(vboxroot)/prebuild,) 73 STAGED CHM ?= $(if $(wildcard $(vboxroot)/prebuild/VirtualBox*.chm),$(vboxroot)/prebuild,)74 STAGEDQHELP ?= $(if $(and $(wildcard $(vboxroot)/prebuild/VirtualBox*.qch),$(wildcard $(vboxroot)/prebuild/VirtualBox*.qhc)),$(vboxroot)/prebuild,) 74 75 NOWINE := $(if $(NODOCS),1,$(if $(STAGEDISO),1,$(ose))) 75 76 … … 183 184 $(wildcard /usr/bin/python2.6) $(wildcard /usr/bin/python2) $(wildcard /usr/bin/python))),) \ 184 185 $(doc_dir) \ 185 $(if $(STAGED CHM),VBOX_WITH_DOCS_CHM=1,VBOX_WITH_KCHMVIEWER=) \186 $(if $(STAGEDQHELP),VBOX_WITH_DOCS_QHELP=1,) \ 186 187 VBOX_PACKAGE_DIST=$(rpmdist) \ 187 188 $(if $(svnrev),VBOX_SVN_REV=$(svnrev),) \ … … 199 200 . $(bldbase)/env.sh && kmk -C $(vboxroot) $(bld_flags) $(if $(NOPARALLEL),-j1,) all 200 201 $(if $(NODOCS),cp $(vboxroot)/prebuild/UserManual*.pdf $(builddir)/bin,) 201 $(if $(STAGED CHM),cp $(STAGEDCHM)/VirtualBox*.chm$(builddir)/bin,)202 $(if $(STAGEDQHELP),cp $(STAGEDQHELP)/VirtualBox*.qch $(STAGEDQHELP)/VirtualBox*.qhc $(builddir)/bin,) 202 203 $(if $(EFI),cp $(vboxroot)/prebuild/VBoxEFI32.fd $(builddir)/bin,) 203 204 $(if $(EFI),cp $(vboxroot)/prebuild/VBoxEFI64.fd $(builddir)/bin,) … … 239 240 -e 's|%OSE%|$(if $(ose),is_ose,not_ose)|g' \ 240 241 -e 's|%SPEC%|$(rpmspec)|g' \ 241 -e 's|% CHM%|$(if $(STAGEDCHM),with_chm,without_chm)|g' \242 -e 's|%QHELP%|$(if $(STAGEDQHELP),with_qhelp,without_qhelp)|g' \ 242 243 -e 's|%PYTHON%|$(if $(filter el5,$(rpmrel)),without_python,with_python)|g' \ 243 244 -e 's|%MACROSPYTHON%|$(if $(wildcard /usr/lib/rpm/macros.d/macros.python3),,$(if $(wildcard /usr/lib/rpm/macros.python),%include /usr/lib/rpm/macros.python,))|g' \
Note:
See TracChangeset
for help on using the changeset viewer.