vscentrum / vsc-software-stack

Central repository of easyconfigs used in the software installations on VSC clusters.
2 stars 6 forks source link

Wine #72

Closed boegel closed 3 months ago

boegel commented 1 year ago
jfgrimm commented 1 year ago

draft EC that I started working on before (not really tested):

# Author: Jasper Grimm (UoY)
​
easyblock = 'ConfigureMake'
​
name = 'Wine'
version = '7.0.1'
​
homepage = 'https://www.winehq.org/'
description = """Wine (originally an acronym for "Wine Is Not an Emulator") is a compatibility layer
 capable of running Windows applications on several POSIX-compliant operating systems, such as
 Linux, macOS, & BSD. Instead of simulating internal Windows logic like a virtual machine or
 emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the
 performance and memory penalties of other methods and allowing you to cleanly integrate Windows
 applications into your desktop.
"""
​
toolchain = {'name': 'GCC', 'version': '11.3.0'}
​
source_urls = ['https://dl.winehq.org/wine/source/%(version_major_minor)s']
sources = [SOURCELOWER_TAR_XZ]
checksums = ['807caa78121b16250f240d2828a07ca4e3c609739e5524ef0f4cf89ae49a816c']
​
builddependencies = [
    ('Bison', '3.8.2'),
    ('flex', '2.6.4'),
]
​
dependencies = [
    ('X11', '20220504'),
    ('alsa-lib', '1.2.8'),
    ('DBus', '1.14.0'),
    ('fontconfig', '2.14.0'),
    ('freetype', '2.12.1'),
    ('gettext', '0.21'),
    ('GnuTLS', '3.7.8'),
    ('GStreamer', '1.20.2'),
    ('Mesa', '22.0.3'),
    ('SDL2', '2.0.22'),
    ('libunwind', '1.6.2'),
    ('Mono', '6.12.0.182'),
    # alsa
    # capi
    # coreaudio
    # cups
    # dbus
    # float-abi
    # fontconfig
    # freetype
    # gettext
    # gettextpo
    # gphoto
    # gnutls
    # gssapi
    # gstreamer
    # inotify
    # krb5
    # ldap
    # mingw
    # netapi
    # openal
    # opencl
    # opengl
    # osmesa
    # oss
    # pcap
    # pthread
    # pulse
    # sane
    # sdl
    # udev
    # unwind
    # usb
    # v4l2
    # vkd3d
    # vulkan
    # xcomposite
    # xcursor
    # xfixes
    # xinerama
    # xinput
    # xinput2
    # xrandr
    # xrender
    # xshape
    # xshm
    # xxf86vm
    #
    ('zlib', '1.2.12'),
    ('libxslt', '1.1.34'),
    # FAudio
    # JPEG
    # lcms2
    # mpg123
    # PNG
    # TIFF
    # XML2
    # ZLIB
    # XSLT
​
]
​
configopts = '--enable-win64'
​
sanity_check_paths = {
    'files': ['bin/wine64'],
    'dirs': [],
}
​
moduleclass = 'tools'
boegel commented 8 months ago

@pavelToman I suggest we try to disable as many features as possible via --without-* configure options, unless it's easy to add the corresponding dependency, and then see if we can get a minimal working build of Wine to start with...

boegel commented 3 months ago

I'm throwing the towel on this one, we simply don't have the resources (manpower) currently to support exotic setups like using Wine to run Windows software on Linux. I've closed the ancient installation request, and hence I'm also closing this.