tis-vcxsrv

1.20.8.1-1
VcXsrv is an open-source display server for Microsoft Windows
4414 downloads
Download
default icon

  Description 

  • package : tis-vcxsrv
  • version : 1.20.8.1-1
  • architecture : x86
  • categories : Utilities, System and network
  • maintainer : Alexandre GAUVRIT, Tranquil IT
  • description : VcXsrv is an open-source display server for Microsoft Windows
  • locale :
  • target_os : windows
  • min_wapt_version :
  • sources : https://github.com/mikofski/vcxsrv-code
  • installed_size :
  • impacted_process :
  • description_fr : VcXsrv est un serveur d'affichage open-source pour Microsoft Windows
  • description_pl : VcXsrv jest serwerem wyświetlacza z otwartym kodem źródłowym dla systemu Microsoft Windows
  • description_de : VcXsrv ist ein Open-Source-Display-Server für Microsoft Windows
  • description_es : VcXsrv es un servidor de pantalla de código abierto para Microsoft Windows
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Mark Mikofski
  • licence : GNU General Public License v3.0
  • signature_date : 2020-05-11T09:00:27.728000

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

def install():
    print('installing vcxsrv')
    versionsoft = control['version'].split('-')[0]
    install_exe_if_needed("vcxsrv.%s.installer.exe" % versionsoft,'/S',key='VcXsrv',min_version=versionsoft,force=True)
    run('netsh advfirewall firewall add rule name="vcxsrv" dir=in program="%s" action=allow remoteip=127.0.0.1,127.0.0.1' % installed_softwares('VcXsrv')[0]['uninstall_string'].replace('uninstall.exe','vcxsrv.exe').split('"')[1])
    remove_desktop_shortcut('XLaunch')

def update_package():

    import requests

    proxies = {}
    if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxies = {'http':proxywapt,'https':proxywapt}

    url = requests.head('https://sourceforge.net/projects/vcxsrv/files/latest/download?source=typ_redirect',proxies=proxies).headers['Location']
    dstexe = requests.head(url,proxies={}).headers['Location'].replace('vcxsrv-64','vcxsrv')
    filename = dstexe.rsplit('/',1)[1]

    exes = glob.glob('*.exe')
    for fn in exes:
        if fn != filename:
            remove_file(fn)

    if not isfile(filename):
        print('Downloading %s from %s'%(filename,dstexe))
        wget(dstexe,filename,proxies=proxies)
    else:
        print('Already up to date, skipped')

    vers = get_file_properties(filename)['ProductVersion']

    pe = PackageEntry()
    pe.load_control_from_wapt(os.getcwd())
    pe.version = vers + '-0'
    pe.save_control_to_wapt(os.getcwd())

										

  Changelog 



No changelog.txt.
									
  manifest.sha256