tis-tuxguitar

1.5.6-0
TuxGuitar is a free tablature editor, which includes features such as tablature editing, score editing, and import and export of Guitar Pro files.
1634 downloads
Download
See build result See VirusTotal scan
tis-tuxguitar icon
  • package : tis-tuxguitar
  • name : TuxGuitar
  • version : 1.5.6-0
  • categories : Educational
  • maintainer : Simon FONTENEAU, Tranquil IT
  • editor : Julián Gabriel Casadesús
  • licence : GNU LGPL
  • locale :
  • target_os : windows
  • impacted_process :
  • architecture : all
  • signature_date : 2022-05-04 13:02
  • size : 141.29 Mo
package           : tis-tuxguitar
version           : 1.5.6-0
architecture      : all
section           : base
priority          : optional
name              : TuxGuitar
categories        : Educational
maintainer        : Simon FONTENEAU, Tranquil IT
description       : TuxGuitar is a free tablature editor, which includes features such as tablature editing, score editing, and import and export of Guitar Pro files.
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : https://sourceforge.net/p/tuxguitar/code/HEAD/tree/
installed_size    : 
impacted_process  : 
description_fr    : TuxGuitar est un éditeur de tablatures libre, qui inclut des fonctionnalités telles que l'édition de tablatures, l'édition de partitions, l'importation et l'exportation de fichiers Guitar Pro.
description_pl    : TuxGuitar to darmowy i otwarty edytor tablatur, który zawiera takie funkcje jak edycja tablatur, edycja wyników oraz import i eksport plików Guitar Pro.
description_de    : TuxGuitar ist ein quelloffener Tabulatur-Editor, der Funktionen wie Tabulaturbearbeitung, Partiturbearbeitung sowie Import und Export von Guitar Pro-Dateien enthält.
description_es    : TuxGuitar es un editor de tablaturas de código abierto, que incluye funciones como edición de tablaturas, edición de partituras e importación y exportación de archivos de Guitar Pro.
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : Julián Gabriel Casadesús
keywords          : 
licence           : GNU LGPL
homepage          : 
package_uuid      : c5f7e072-ea38-4098-8da7-c248628f40c7
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 587ea0a176c8af3a4f90467a5d0e0f55fd0616fd27eac6d86409dccd042247a8
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : dLr3PafMGCaYiA9xZpL+GiZe0CDuRJscIgrwO2OqgLSK70u8cdrAZGdNMLvwRN9Va36+34f5w8msT9zc2Izo0JBsH1+HteYZCFZiutLIiPZuIB+4Ta/gL5rqlkorySaTYyI/Eh5GT0r1D8d5u6TrzuMAiXAOF9n3qioopAXGJDwX81suY3xjotu9CUtdd1Vmn7Z5iNpsfQRvQg7N25CRiQZirdzn2mvpLgMkI7Y3zNQgt3gIxsepyVAn/zaj7mHo9jNy8Vct5qTMMZJD3tDSXdaTdE/YPeaHNAi121z4skSpYHWgNjS6uaup70jEceS0hPGkw5EoqgiQcqtjl+InWw==
signature_date    : 2022-05-04T13:02:23.641052
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []


def install():
    versionpaquet = control["version"].split("-", 1)[0]

    # Uninstalling older versions of the software
    for to_uninstall in installed_softwares(name="TuxGuitar"):
        if Version(to_uninstall["version"]) < Version(versionpaquet) or force:
            print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
            killalltasks(control.impacted_process.split(","))
            run('"%s"' % uninstall_cmd(to_uninstall["key"])[0] + " --mode unattended")
            wait_uninstallkey_absent(to_uninstall["key"])

    print("installing tuxguitar")
    install_exe_if_needed(glob.glob("*.exe")[0], "--mode unattended", key="TuxGuitar %s" % versionpaquet, min_version=versionpaquet)
    uninstallkey.remove("TuxGuitar %s" % versionpaquet)
    remove_desktop_shortcut("TuxGuitar")


def uninstall():
    versionpaquet = control["version"].split("-", 1)[0]
    run('"%s"' % uninstall_cmd("TuxGuitar %s" % versionpaquet)[0] + " --mode unattended")


def update_package():
    import json

    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}

    windows_release = json.loads(wgets("https://sourceforge.net/projects/TuxGuitar/best_release.json", proxies=proxies))["platform_releases"][
        "windows"
    ]
    filename = windows_release["filename"].split("/")[-1]
    url_release = windows_release["url"]

    for exe in glob.glob("*.exe"):
        if exe != filename:
            remove_file(exe)

    if not isfile(filename):
        wget(url_release, filename, proxies=proxies)

    pe = PackageEntry()
    pe.load_control_from_wapt(os.getcwd())
    print("Last Version : %s" % get_file_properties(filename)["ProductVersion"])
    pe.version = get_file_properties(filename)["ProductVersion"] + "-0"
    pe.save_control_to_wapt(os.getcwd())


if __name__ == "__main__":
    update_package()
8ad2a6fdc7ce8ac26abb30efdf708ff527d3f3fee04f3e9a6e8fb9b0e71bd88c : setup.py
252b70e9f3a4939df417f84432ee839ac8069089be2041c45a7348db28fc2ea0 : WAPT/wapt.psproj
587ea0a176c8af3a4f90467a5d0e0f55fd0616fd27eac6d86409dccd042247a8 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
1652bd54654a05083e77915b7b24c260ea33f977e32f5fe2e326c92e076666ee : luti.json
42d7312406948c9c6f6002a5597e9e5fceb3920a6cc8e540231dc42b543116d1 : tuxguitar-1.5.6-windows-x86-installer.exe
023e2bdc94cd8e66d6dac9da416de955471e24dc1a41be416d0ee5979dbec5f2 : Jenkinsfile
8b9ae0da14a4a3442c813f018180f3616d2cfb03a3a5095a1a39ade3165855d6 : README.md
714d57e4ae26909edbfc9e5c9acb3b4f16658c6c727aa2e027d4b64ed579866b : WAPT/control