tis-krita icon

Krita

Paquet d’installation silencieuse pour Krita

5.2.10-4

  • package: tis-krita
  • name: Krita
  • version: 5.2.10-4
  • categories: Utilities, Media
  • maintainer: WAPT Team,Tranquil IT,Simon Fonteneau,Jimmy PELÉ,Gaëtan SEGAT
  • editor: Foundation Krita,KDE
  • licence: GNU General Public License 3
  • locale: all
  • target_os: windows
  • impacted_process: krita
  • architecture: x64
  • signature_date:
  • size: 156.96 Mo
  • installed_size: 510.61 Mo
  • homepage : https://krita.org

package           : tis-krita
version           : 5.2.10-4
architecture      : x64
section           : base
priority          : optional
name              : Krita
categories        : Utilities, Media
maintainer        : WAPT Team,Tranquil IT,Simon Fonteneau,Jimmy PELÉ,Gaëtan SEGAT
description       : Krita is a point-to-point image processing software. It is aimed at the professional graphic design, illustration of comics and texture creation.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://krita.org/download/krita-desktop/
installed_size    : 510611456
impacted_process  : krita
description_fr    : Krita est un logiciel de traitement d'image point à point. Il s'adresse au professionnel du graphisme, de l'illustration de la bande dessinée et de la création de texture.
description_pl    : Krita to program do punktowej obróbki zdjęć. Skierowany jest do profesjonalnego projektowania graficznego, ilustrowania komiksów i tworzenia tekstur
description_de    : Krita ist eine Punkt-zu-Punkt-Bildbearbeitungssoftware. Sie richtet sich an das professionelle Grafikdesign, die Illustration von Comics und die Erstellung von Texturen
description_es    : Krita es un software de procesamiento de imágenes punto a punto. Está dirigido al diseño gráfico profesional, la ilustración de cómics y la creación de texturas
description_pt    : Krita é um software de processamento de imagem ponto-a-ponto. Destina-se ao desenho gráfico profissional, à ilustração de banda desenhada e à criação de textura
description_it    : Krita è un software di elaborazione delle immagini punto a punto. È destinato alla progettazione grafica professionale, all'illustrazione di fumetti e alla creazione di texture
description_nl    : Krita is een point-to-point beeldbewerkingssoftware. Het is gericht op professioneel grafisch ontwerp, illustratie van strips en het maken van texturen
description_ru    : Krita - это программа для обработки изображений по принципу "точка-точка". Она предназначена для профессионального графического дизайна, иллюстрирования комиксов и создания текстур
audit_schedule    : 
editor            : Foundation Krita,KDE
keywords          : 
licence           : GNU General Public License 3
homepage          : https://krita.org
package_uuid      : 9f877da4-0581-4655-a112-e8b1b53a9667
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://krita.org/en/item/krita-4-4-2-released/
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 30bc39a3441fc93e5064bb122955d04e8ef0f073e142f8e15c81af2d84d40583
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-07-14T10:10:53.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         : BiztyWCebaQ2bE9aFKapw5yIdbC4pDBLu/C5TAxW4pNo20b6WEmLO5v92LoulEfkQlcdS0j+6xTu+rwIy+XccOORXxakjScGBDVadtep1++t2SzZNvk+hwUZ7Kmwwyjl0rz1XSShaDsdRswOWxtLlITrs7rZFWJM/aR/6mnNkd/KW7/5WYY6pYRvGvsb7ZN2NbVAJW5Bpjpj0nqt70vhH2r0GLUfkoe3RPkOnZDcmlVH+PAbB0k7gHIL0HZcXWKGznzhOzQ2oSODHHfcGFQ6lSprTgKmOy3wqNtFlIx0tR16Ea1xx9n2C4BPBqbFItWCeu4rZVCXGDq62WBv3ocUUA==

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



def install():
    # Initializing variables
    package_version = control.version.split("-")[0]
    processes_to_kill = control.impacted_process.split(",")
    bin_name = "krita-x64-%s-setup.exe" % package_version

    # Installing the package
    print("Installing: %s" % bin_name)
    install_exe_if_needed(bin_name, silentflags="/S", key="Krita_x64", min_version=package_version)
    remove_desktop_shortcut("Krita")



def session_setup():
    bin_shortcut = makepath(programfiles, "Krita (x64)", "bin", "krita.exe")
    # create_user_desktop_shortcut("Krita", bin_shortcut)

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


def update_package():
    # Initializing variables
    bin_name_string = "krita-x64-%s-setup.exe"
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://krita.org/en/download/"
    bin_end = bin_name_string.split("%s")[-1]
    # bin_start = bin_name_string.split('%s')[0]

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", "id", "windows-download", proxies=proxies):
        if bs_search["href"].split("/")[-1].endswith(bin_end):
            version = bs_search["href"].split("/")[-2]
            latest_bin = bs_search["href"].split("/")[-1]
            url_dl = bs_search["href"]
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download url is: %s" % url_dl)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

        # Checking version from file
        version_from_file = get_version_from_binary(latest_bin)
        # if not version_from_file.startswith(version) and version_from_file != '':
        if Version(version_from_file) != Version(version) 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
        control.version = "%s-%s" % (version, int(control.version.split("-")[-1]) + 1)
        control.save_control_to_wapt()
        print("Changing package version to: %s in WAPT\\control" % control.version)

    # Deleting outdated binaries
    remove_outdated_binaries(version)

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
88a102f76a52edd58ee789d644462d97d7414f5959fcce6d46fe8ce6504ea91d : WAPT/control
30bc39a3441fc93e5064bb122955d04e8ef0f073e142f8e15c81af2d84d40583 : WAPT/icon.png
8e3395eab5172e6a046548a62c25d1dcbf90c9bbe529ee11c91e69da07cbe347 : krita-x64-5.2.10-setup.exe
ee3e1eb40505d976e2beae8762490d1c4a224500e6dcfc6a5d599ce6562e5cc3 : luti.json
371876e1dedd3afba892e752b9c6cc39c8c1d7b2599a6eacdf6f7e4199f2d170 : setup.py
ec0499d614861d11db62bdebede6f534fbf871d939d827dd0364b21bcbefab3e : update_package.py