Changeset 91846 in vbox for trunk/src/VBox/Installer/linux
- Timestamp:
- Oct 19, 2021 6:01:00 PM (3 years ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/Makefile.kmk
r90320 r91846 105 105 $(if $(VBOX_OSE),,$(VBOX_BRAND_LICENSE_TXT)=>LICENSE) \ 106 106 $(linux-misc_0_OUTDIR)/generated.sh=>scripts/generated.sh \ 107 $(if $(VBOX_WITH_QTGUI),$(linux-misc_0_OUTDIR)/virtualbox.desktop,) 107 $(if $(VBOX_WITH_QTGUI),$(linux-misc_0_OUTDIR)/virtualbox.desktop,) \ 108 $(if $(VBOX_WITH_QTGUI),$(linux-misc_0_OUTDIR)/virtualboxvm.desktop,) 108 109 ifeq ($(KBUILD_TYPE),asan) 109 110 linux-misc_SOURCES += $(foreach lib,$(VBOX_GCC_SANITIZER_SO_FILES) \ … … 112 113 linux-misc_CLEAN = \ 113 114 $(linux-misc_0_OUTDIR)/generated.sh \ 114 $(linux-misc_0_OUTDIR)/virtualbox.desktop 115 $(linux-misc_0_OUTDIR)/virtualbox.desktop \ 116 $(linux-misc_0_OUTDIR)/virtualboxvm.desktop 115 117 116 118 $$(linux-misc_0_OUTDIR)/generated.sh: $(VBOX_VERSION_STAMP) $(VBOX_LNX_INST_DEP_ON_MAKEFILE) | $$(dir $$@) … … 123 125 124 126 $$(linux-misc_0_OUTDIR)/virtualbox.desktop: $(VBOX_PATH_INST_COMMON_SRC)/virtualbox.desktop.in $(VBOX_VERSION_STAMP) | $$(dir $$@) 127 $(call MSG_GENERATE,,$@,$<) 128 $(QUIET)$(SED) -e "s+@VBOX_DOC_PATH@+$(VBOX_LNX_APP_DOCS)+" \ 129 -e "s+@VBOX_PRODUCT@+$(VBOX_PRODUCT)+" \ 130 --output $@ $< 131 $$(linux-misc_0_OUTDIR)/virtualboxvm.desktop: $(VBOX_PATH_INST_COMMON_SRC)/virtualboxvm.desktop.in $(VBOX_VERSION_STAMP) | $$(dir $$@) 125 132 $(call MSG_GENERATE,,$@,$<) 126 133 $(QUIET)$(SED) -e "s+@VBOX_DOC_PATH@+$(VBOX_LNX_APP_DOCS)+" \ … … 254 261 VBOX_LNX_NO_STRIP += \ 255 262 virtualbox.desktop \ 263 virtualboxvm.desktop \ 256 264 virtualbox.xml \ 257 265 $(VBOX_LICENSE_FILES) \ -
trunk/src/VBox/Installer/linux/debian/rules
r91701 r91846 181 181 for d in $(wildcard /lib/modules/*); do \ 182 182 if [ -L $$d/build ]; then \ 183 184 185 186 187 188 189 190 191 192 193 194 183 make -C $(builddir)/bin/src/vboxdrv KERN_VER=$$(basename $$d) clean && \ 184 make -C $(builddir)/bin/src/vboxdrv KBUILD_VERBOSE= KERN_VER=$$(basename $$d) all; \ 185 make -C $(builddir)/bin/src/vboxnetflt KERN_VER=$$(basename $$d) clean && \ 186 (cp $(builddir)/bin/src/vboxdrv/Module.symvers $(builddir)/bin/src/vboxnetflt || true) && \ 187 make -C $(builddir)/bin/src/vboxnetflt KBUILD_VERBOSE= KERN_VER=$$(basename $$d) KBUILD_EXTRA_SYMBOLS=$(builddir)/bin/src/vboxnetflt/Module.symvers all; \ 188 make -C $(builddir)/bin/src/vboxnetadp KERN_VER=$$(basename $$d) clean && \ 189 (cp $(builddir)/bin/src/vboxdrv/Module.symvers $(builddir)/bin/src/vboxnetadp || true) && \ 190 make -C $(builddir)/bin/src/vboxnetadp KBUILD_VERBOSE= KERN_VER=$$(basename $$d) KBUILD_EXTRA_SYMBOLS=$(builddir)/bin/src/vboxnetadp/Module.symvers all; \ 191 [ -d $(builddir)/bin/src/vboxpci ] && make -C $(builddir)/bin/src/vboxpci KERN_VER=$$(basename $$d) clean && \ 192 (cp $(builddir)/bin/src/vboxdrv/Module.symvers $(builddir)/bin/src/vboxpci || true) && \ 193 make -C $(builddir)/bin/src/vboxpci KBUILD_VERBOSE= KERN_VER=$$(basename $$d) KBUILD_EXTRA_SYMBOLS=$(builddir)/bin/src/vboxpci/Module.symvers all; \ 194 true; \ 195 195 fi; \ 196 196 done … … 233 233 $(if $(NOQT),,mv $(archdir)/virtualbox.desktop \ 234 234 $(prefix)/usr/share/applications/virtualbox.desktop) 235 $(if $(NOQT),,mv $(archdir)/virtualboxvm.desktop \ 236 $(prefix)/usr/share/applications/virtualboxvm.desktop) 235 237 install -d -g 0 -o 0 $(prefix)/usr/share/pixmaps 236 238 $(if $(NOQT),,install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor) … … 240 242 $(if $(NOQT),,cd $(archdir)/icons; for i in *; do \ 241 243 for j in $$i/virtualbox.*; do \ 242 243 244 245 246 247 244 if [ -f $$j ]; then \ 245 if [ ! -d $(prefix)/usr/share/icons/hicolor/$$i/apps ]; then \ 246 install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor/$$i/apps; \ 247 fi; \ 248 mv $$j $(prefix)/usr/share/icons/hicolor/$$i/apps; \ 249 fi; \ 248 250 done; \ 249 251 install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor/$$i/mimetypes; \ … … 270 272 $(if $(NOMODS),,for d in $(moddir)/*; do \ 271 273 if [ -f $$d/vboxdrv.ko -a -f $$d/vboxnetflt.ko -a -f $$d/vboxnetadp.ko ]; then \ 272 274 install -D -g 0 -o 0 -m 0644 \ 273 275 $$d/vboxdrv.ko $(prefix)/lib/modules/$$(basename $$d)/misc/vboxdrv.ko; \ 274 276 install -D -g 0 -o 0 -m 0644 \ 275 277 $$d/vboxnetflt.ko $(prefix)/lib/modules/$$(basename $$d)/misc/vboxnetflt.ko; \ 276 278 install -D -g 0 -o 0 -m 0644 \ 277 279 $$d/vboxnetadp.ko $(prefix)/lib/modules/$$(basename $$d)/misc/vboxnetadp.ko; \ 278 279 280 281 280 if [ -f $$d/vboxpci.ko ]; then \ 281 install -D -g 0 -o 0 -m 0644 \ 282 $$d/vboxpci.ko $(prefix)/lib/modules/$$(basename $$d)/misc/vboxpci.ko; \ 283 fi \ 282 284 fi \ 283 285 done) … … 289 291 if [ -f $(prefix)/usr/lib/$(package)/libQt5CoreVBox.so.5 ]; then \ 290 292 $(vboxroot)/tools/linux.$(chrarch)/bin/chrpath \ 291 292 293 294 295 296 297 293 --keepgoing --replace /usr/lib/$(package) \ 294 $(prefix)/usr/lib/$(package)/*.so.5 \ 295 $(prefix)/usr/lib/$(package)/plugins/platforms/*.so; \ 296 $(prefix)/usr/lib/$(package)/plugins/platformthemes/*.so; \ 297 $(prefix)/usr/lib/$(package)/plugins/sqldrivers/*.so; \ 298 $(prefix)/usr/lib/$(package)/plugins/styles/*.so; \ 299 $(prefix)/usr/lib/$(package)/plugins/xcbglintegrations/*.so; \ 298 300 echo "[Paths]" > $(prefix)/usr/lib/$(package)/qt.conf; \ 299 301 echo "Plugins = /usr/lib/$(package)/plugins" >> $(prefix)/usr/lib/$(package)/qt.conf; \ -
trunk/src/VBox/Installer/linux/deffiles
r90404 r91846 103 103 VBox.png \ 104 104 virtualbox.desktop \ 105 virtualboxvm.desktop \ 105 106 src/ \ 106 107 src/include/ \ -
trunk/src/VBox/Installer/linux/install.sh
r89672 r91846 339 339 ln -sf $INSTALLATION_DIR/icons/128x128/virtualbox.png /usr/share/pixmaps/virtualbox.png 340 340 ln -sf $INSTALLATION_DIR/virtualbox.desktop /usr/share/applications/virtualbox.desktop 341 ln -sf $INSTALLATION_DIR/virtualboxvm.desktop /usr/share/applications/virtualboxvm.desktop 341 342 ln -sf $INSTALLATION_DIR/virtualbox.xml /usr/share/mime/packages/virtualbox.xml 342 343 ln -sf $INSTALLATION_DIR/rdesktop-vrdp /usr/bin/rdesktop-vrdp -
trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
r90369 r91846 197 197 ln -s /usr/share/virtualbox/src/vboxhost $RPM_BUILD_ROOT/usr/src/vboxhost-%VER% 198 198 mv virtualbox.desktop $RPM_BUILD_ROOT/usr/share/applications/virtualbox.desktop 199 mv virtualboxvm.desktop $RPM_BUILD_ROOT/usr/share/applications/virtualboxvm.desktop 199 200 mv VBox.png $RPM_BUILD_ROOT/usr/share/pixmaps/VBox.png 200 201 %{!?is_ose: mv LICENSE $RPM_BUILD_ROOT%{VBOXDOCDIR}} -
trunk/src/VBox/Installer/linux/uninstall.sh
r90404 r91846 89 89 /usr/share/pixmaps/virtualbox.png \ 90 90 /usr/share/applications/virtualbox.desktop \ 91 /usr/share/applications/virtualboxvm.desktop \ 91 92 /usr/share/mime/packages/virtualbox.xml \ 92 93 /usr/bin/rdesktop-vrdp \
Note:
See TracChangeset
for help on using the changeset viewer.