tis-tuxguitar

1.5.5-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.5-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-02-19 12:08
  • size : 141.13 Mo
package           : tis-tuxguitar
version           : 1.5.5-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      : 1986541e-4ce0-4426-aa75-d4a595482677
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 587ea0a176c8af3a4f90467a5d0e0f55fd0616fd27eac6d86409dccd042247a8
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : otP3q4bxrpBnQfrNiY9qHRgG+DKwQq+SExlB+JDqzp4/17ZtJEpOnHY7cuYmuohgwuArhkeCu1M7hpZEJWo9SbYuSDd5cquqy4UKcjOo9AjuhlNWj+YjdJd93IB0Bv6lCzrzsTgel8OEi56m1ovCxfXiaFi85aHblgl7YrgXn33CkFiWvvwSDbzx5aay37OQ3L1ROQdd8+1+y+hwDsXdw5r305wfeq5DIFEafbtOIn1zGpBi9klnt0+r8y8iWoiIzEfpq6NDk39rbvKoVI9lyApGSn1P6pE5Rh2YbvYlMgRCn4uBNZE9mouQhCrrkh1M+gii8zWE5YRxtcsgSqVQ3g==
signature_date    : 2022-02-19T12:08:44.120618
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
8158e1009b54f5718270d99e21219a441b9b9c1245d2669759ccdeab0211244a : tuxguitar-1.5.5-windows-x86-installer.exe
252b70e9f3a4939df417f84432ee839ac8069089be2041c45a7348db28fc2ea0 : WAPT/wapt.psproj
587ea0a176c8af3a4f90467a5d0e0f55fd0616fd27eac6d86409dccd042247a8 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
a5105435cf775349668c6db6f8dfaacf61c00272e2e4709b957ddf9cb927d106 : luti.json
023e2bdc94cd8e66d6dac9da416de955471e24dc1a41be416d0ee5979dbec5f2 : Jenkinsfile
8b9ae0da14a4a3442c813f018180f3616d2cfb03a3a5095a1a39ade3165855d6 : README.md
37227017d54d8a52012297be25b875064acbdc45625ea16e954d86a613db5729 : WAPT/control