VirtualBox

Changeset 96841 in vbox


Ignore:
Timestamp:
Sep 23, 2022 9:39:14 AM (2 years ago)
Author:
vboxsync
Message:

Linux packaging: add dependency on packages containing libvulkan.so.1.

Across different Linux distributions that we support, libvulkan.so.1 is
provided by packages of different names. Here is the list:

Oracle Linux 7: vulkan (rpm)
Oracle Linux 8 and 9, Fedora 35-36: vulkan-loader (rpm)
openSUSE 15.3: libvulkan1 (rpm)

Ubuntu 18.04 - 22.04, Debian 10-11: libvulkan1 (deb)

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/control

    r90414 r96841  
    1111  libpulse-dev, libxml2-dev, python-dev, gsoap,
    1212  libcap2-dev, libgl1-mesa-dev, libglu1-mesa-dev, libxmu-dev,
    13   libxext-dev, libcurl-dev, libxrandr-dev, openjdk-6-jdk | sun-java6-jdk
     13  libxext-dev, libcurl-dev, libxrandr-dev, openjdk-6-jdk | sun-java6-jdk,
     14  libvulkan-dev
    1415XS-Python-Version: >= 2.4
    1516
     
    1718Architecture: i386 amd64
    1819Pre-Depends: debconf (>= 1.1) | debconf-2.0
    19 Depends: debconf (>= 0.5) | debconf-2.0, psmisc, adduser,
     20Depends: debconf (>= 0.5) | debconf-2.0, psmisc, adduser, libvulkan1,
    2021  ${shlibs:Depends},
    2122  ${misc:Depends}
  • trunk/src/VBox/Installer/linux/debian/control

    r95036 r96841  
    1111  libpulse-dev, libxml2-dev, python-dev, gsoap,
    1212  libcap2-dev, libgl1-mesa-dev, libglu1-mesa-dev, libxmu-dev,
    13   libxext-dev, libcurl-dev, libxrandr-dev, openjdk-6-jdk | sun-java6-jdk
     13  libxext-dev, libcurl-dev, libxrandr-dev, openjdk-6-jdk | sun-java6-jdk,
     14  libvulkan-dev
    1415XS-Python-Version: >= 2.4
    1516
     
    1718Architecture: i386 amd64
    1819Pre-Depends: debconf (>= 1.1) | debconf-2.0
    19 Depends: debconf (>= 0.5) | debconf-2.0, psmisc, adduser,
     20Depends: debconf (>= 0.5) | debconf-2.0, psmisc, adduser, libvulkan1,
    2021  ${shlibs:Depends},
    2122  ${misc:Depends}
  • trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec

    r96795 r96841  
    4444Vendor:    Oracle Corporation
    4545BuildRoot: %BUILDROOT%
    46 Requires:  %INITSCRIPTS% %LIBASOUND% %NETTOOLS%
     46Requires:  %INITSCRIPTS% %LIBASOUND% %NETTOOLS% %LIBVULKAN%
    4747
    4848%if %{?rpm_suse:1}%{!?rpm_suse:0}
  • trunk/src/VBox/Installer/linux/rpm/rules

    r96407 r96841  
    261261            -e 's|%INITSCRIPTS%|$(if $(filter fedora,$(rpmspec)),initscripts,)|g' \
    262262            -e 's|%NETTOOLS%|$(if $(filter fedora18 fedora19 fedora20 fedora21 el5 openSUSE110 openSUSE111 openSUSE112 openSUSE113 openSUSE114,$(rpmrel)),net-tools,iproute)|g' \
     263            -e 's|%LIBVULKAN%|$(if $(filter el7,$(rpmrel)),vulkan,%LIBVULKAN%)|g' \
     264            -e 's|%LIBVULKAN%|$(if $(findstring el,$(rpmrel)),vulkan-loader,%LIBVULKAN%)|g' \
     265            -e 's|%LIBVULKAN%|$(if $(findstring fedora,$(rpmrel)),vulkan-loader,%LIBVULKAN%)|g' \
     266            -e 's|%LIBVULKAN%|$(if $(filter openSUSE153,$(rpmrel)),libvulkan1,)|g' \
    263267            $(instlin)/rpm/VirtualBox.tmpl.spec > $(archdir)/VirtualBox.spec
    264268        mv $(bldbase)/VirtualBox-$(ver) $(bldbase)/$(rpmname)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette