tis-tuxpaint icon

Tux Paint

Paquet d’installation silencieuse pour Tux Paint

0.9.35-3

  • package: tis-tuxpaint
  • name: Tux Paint
  • version: 0.9.35-3
  • categories: Utilities,Media
  • maintainer: WAPT Team,Tranquil IT,Hubert TOUVET,Jimmy PELÉ
  • locale: all
  • target_os: windows
  • impacted_process: tuxpaint
  • architecture: x86
  • signature_date:
  • size: 46.32 Mo
  • installed_size: 30.99 Mo

package           : tis-tuxpaint
version           : 0.9.35-3
architecture      : x86
section           : base
priority          : optional
name              : Tux Paint
categories        : Utilities,Media
maintainer        : WAPT Team,Tranquil IT,Hubert TOUVET,Jimmy PELÉ
description       : Tux Paint is a free drawing program, designed for young children aged 3 to 12 years
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://tuxpaint.org/download/
installed_size    : 30987952
impacted_process  : tuxpaint
description_fr    : Tux Paint est un programme de dessin gratuit, conçu pour les jeunes enfants de 3 à 12 ans
description_pl    : Tux Paint to darmowy program do rysowania, przeznaczony dla małych dzieci w wieku od 3 do 12 lat
description_de    : Tux Paint ist ein kostenloses Zeichenprogramm, das für Kinder im Alter von 3 bis 12 Jahren entwickelt wurde
description_es    : Tux Paint es un programa de dibujo gratuito, diseñado para niños de 3 a 12 años
description_pt    : Tux Paint é um programa de desenho gratuito, concebido para crianças pequenas com idades compreendidas entre os 3 e 12 anos
description_it    : Tux Paint è un programma di disegno gratuito, pensato per i bambini dai 3 ai 12 anni
description_nl    : Tux Paint is een gratis tekenprogramma, ontworpen voor jonge kinderen van 3 tot 12 jaar
description_ru    : Tux Paint - это бесплатная программа для рисования, предназначенная для детей в возрасте от 3 до 12 лет
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : 9db21371-3354-4669-97e3-9889c3a6eb4f
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://tuxpaint.org/latest/
min_os_version    : 
max_os_version    : 
icon_sha256sum    : b2e368daed84c8c05fa822b303aa485857830c8848597319cc5e8eb7d2d1ed35
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-06-12T05:00:15.000000
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
signature         : fc8L0NqxGvAm5a9e+aNXOzO5A+779tmVFEKvF2Js4hioF+1Tthb0/UwZ9JZfOJ7AdPH96CBe+Q5MpavSkKtoQpxq/uRKW6Jf7odf9a9t6rGVDOn+6rWQNYASmKWacfQwpFSEjd2XG27N1rZm0MCRnODC2+xZMLKK/Bwvuf7e4IYfKX2FELcgFw8938luqc7rmQpOAkIoYfxYXIteVS6qiBk+cS+iuf8VA+0fFfYMlFEFCDg2XBJfnw6oH6lXN96yvvXyCskdj0WPjT8Lt/CIE9f9S86hw8dYCaLTWXlMQMxxofdYrPkxbXHqwK6N4CPADAjyjuJ2HE7iP253R0UjGA==

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


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("*.exe")[0]

    # Uninstalling older versions of the software
    for to_uninstall in installed_softwares(name=r"\bTux Paint"):
        if Version(to_uninstall["version"]) < Version(package_version) or force:
            print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
            killalltasks(control.impacted_process.split(","))
            run(uninstall_cmd(to_uninstall["key"]))
            wait_uninstallkey_absent(to_uninstall["key"])
            time.sleep(5)

    # Installing the software
    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT",
        key="Tux Paint_is1",
        min_version=package_version,
    )

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://sourceforge.net/projects/tuxpaint/best_release.json"
    arch_dict = {"x64": "x86_64", "x86": "i686"}

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["platform_releases"]:
        latest_bin = json_load["platform_releases"][download]["filename"].split("/")[-1].replace("x86_64", arch_dict[control.architecture])
        if ".exe" in latest_bin:
            download_url = json_load["platform_releases"][download]["url"].rsplit("/", 1)[0] + "/" + latest_bin
            version = json_load["platform_releases"][download]["filename"].split("/")[-2]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Checking version from file
    version_from_file = get_version_from_binary(latest_bin)
    if Version(version_from_file, 4) != Version(version, 4) and version_from_file != "":
        print("Changing version to the version number of the binary")
        # os.rename(latest_bin, latest_bin.replace(version, version_from_file))
        version = version_from_file
    else:
        print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c03e8cd1e8233a22367ab6b290c1c7ded9c478b3f8617c60bb7b434c5a0691e2 : WAPT/control
b2e368daed84c8c05fa822b303aa485857830c8848597319cc5e8eb7d2d1ed35 : WAPT/icon.png
2e085f550fb4eb647181f56f3206da155b867a0badc1a99c46f8a5d233c8a4cb : luti.json
4c3a0f4a711ded26e139bcb546a5b0cb1d05ed2899ac1b94d407d95fd222ce70 : setup.py
d1fe00e7ab5ff08d05b3de4b54c760ce38f86c34c0c6aa9bb054cc2c33c38d7b : tuxpaint-0.9.35-windows-i686-installer.exe
9bad00b64894f532abc781145d75f5d0f0ee4d0b81e1543ca452925502af83d5 : update_package.py