コード例 #1
0
ファイル: __main__.py プロジェクト: ujjwal3067/kitty
def binary_includes():
    return tuple(
        map(get_dll_path, (
            'expat',
            'sqlite3',
            'ffi',
            'z',
            'lzma',
            'png16',
            'lcms2',
            'crypt',
            'iconv',
            'pcre',
            'graphite2',
            'glib-2.0',
            'freetype',
            'harfbuzz',
            'xkbcommon',
            'xkbcommon-x11',
            'ncursesw',
            'readline',
        ))) + (
            get_dll_path('bz2', 2),
            get_dll_path('ssl', 2),
            get_dll_path('crypto', 2),
            get_dll_path('python' + py_ver, 2),
        )
コード例 #2
0
def binary_includes():
    return [
        j(PREFIX, 'bin', x)
        for x in ('pdftohtml', 'pdfinfo', 'pdftoppm', 'optipng', 'JxrDecApp')
    ] + [
        j(PREFIX, 'private', 'mozjpeg', 'bin', x)
        for x in ('jpegtran', 'cjpeg')
    ] + [] + list(
        map(get_dll_path, (
            'usb-1.0 mtp expat sqlite3 ffi z lzma openjp2 poppler dbus-1 iconv xml2 xslt jpeg png16'
            ' webp webpmux webpdemux exslt ncursesw readline chm hunspell-1.7 hyphen'
            ' icudata icui18n icuuc icuio stemmer gcrypt gpg-error'
            ' gobject-2.0 glib-2.0 gthread-2.0 gmodule-2.0 gio-2.0 dbus-glib-1'
        ).split())
    ) + [
        get_dll_path('podofo', 3),
        get_dll_path('bz2', 2),
        j(PREFIX, 'lib', 'libunrar.so'),
        get_dll_path('ssl', 2),
        get_dll_path('crypto', 2),
        get_dll_path('python' + py_ver, 2),
        # We dont include libstdc++.so as the OpenGL dlls on the target
        # computer fail to load in the QPA xcb plugin if they were compiled
        # with a newer version of gcc than the one on the build computer.
        # libstdc++, like glibc is forward compatible and I dont think any
        # distros do not have libstdc++.so.6, so it should be safe to leave it out.
        # https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html (The current
        # debian stable libstdc++ is  libstdc++.so.6.0.17)
    ] + list(map(qt_get_dll_path, QT_DLLS))
コード例 #3
0
ファイル: __main__.py プロジェクト: loveencounterflow/kitty
def binary_includes():
    return tuple(
        map(
            get_dll_path,
            (
                'expat',
                'sqlite3',
                'ffi',
                'z',
                'lzma',
                'png16',

                # dont include freetype because fontconfig is closely coupled to it
                # and also distros often patch freetype
                # 'iconv.so.2', 'pcre.so.1', 'graphite2.so.3', 'glib-2.0.so.0', 'freetype.so.6',
                'harfbuzz',
                'xkbcommon',
                'xkbcommon-x11',
                'ncursesw',
                'readline',
            ))) + (
                get_dll_path('bz2', 2),
                get_dll_path('ssl', 3),
                get_dll_path('crypto', 3),
                get_dll_path('python' + py_ver, 2),
            )
コード例 #4
0
ファイル: __main__.py プロジェクト: cbhaley/calibre
def binary_includes():
    return [
        j(PREFIX, 'bin', x) for x in ('pdftohtml', 'pdfinfo', 'pdftoppm', 'optipng', 'JxrDecApp')] + [

        j(PREFIX, 'private', 'mozjpeg', 'bin', x) for x in ('jpegtran', 'cjpeg')] + [
        ] + list(map(
            get_dll_path,
            ('usb-1.0 mtp expat sqlite3 ffi z poppler dbus-1 iconv xml2 xslt jpeg png16'
             ' webp exslt ncursesw readline chm icudata icui18n icuuc icuio gcrypt gpg-error'
             ' gobject-2.0 glib-2.0 gthread-2.0 gmodule-2.0 gio-2.0 dbus-glib-1').split()
        )) + [
            get_dll_path('podofo', 3), get_dll_path('bz2', 2), j(PREFIX, 'lib', 'libunrar.so'),
            get_dll_path('ssl', 3), get_dll_path('crypto', 3), get_dll_path('python' + py_ver, 2),
            # We dont include libstdc++.so as the OpenGL dlls on the target
            # computer fail to load in the QPA xcb plugin if they were compiled
            # with a newer version of gcc than the one on the build computer.
            # libstdc++, like glibc is forward compatible and I dont think any
            # distros do not have libstdc++.so.6, so it should be safe to leave it out.
            # https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html (The current
            # debian stable libstdc++ is  libstdc++.so.6.0.17)
    ] + list(map(qt_get_dll_path, QT_DLLS))
コード例 #5
0
def binary_includes():
    return tuple(
        map(
            get_dll_path,
            (
                'expat',
                'sqlite3',
                'ffi',
                'z',
                'lzma',
                'png16',
                'lcms2',
                'crypt',
                'iconv',
                'pcre',
                'graphite2',
                'glib-2.0',
                'freetype',
                'rsync',
                'harfbuzz',
                'xkbcommon',
                'xkbcommon-x11',
                # fontconfig is not bundled because in typical brain dead Linux
                # distro fashion, different distros use different default config
                # paths for fontconfig.
                'ncursesw',
                'readline',
                'brotlicommon',
                'brotlienc',
                'brotlidec',
                'wayland-client',
                'wayland-cursor',
            ))) + (
                get_dll_path('bz2', 2),
                get_dll_path('ssl', 2),
                get_dll_path('crypto', 2),
                get_dll_path(f'python{py_ver}', 2),
            )