tis-digikam

8.5.0-2
digiKam is an open-source digital photo management application. The application provides a set of tools for importing, managing, editing, and sharing photos and raw files
1370 downloads
Download
See build result See VirusTotal scan
tis-digikam icon
  • package : tis-digikam
  • name : digiKam
  • version : 8.5.0-2
  • categories : Media
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor : The digiKam team
  • licence : opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
  • locale :
  • target_os : windows
  • impacted_process : digikam
  • architecture : x64
  • signature_date : 2024-11-23 08:02
  • size : 213.96 Mo
  • installed_size : 739.35 Mo
  • homepage : https://www.digikam.org/
package           : tis-digikam
version           : 8.5.0-2
architecture      : x64
section           : base
priority          : optional
name              : digiKam
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : digiKam is an open-source digital photo management application. The application provides a set of tools for importing, managing, editing, and sharing photos and raw files
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : https://www.digikam.org/download/
installed_size    : 739348150
impacted_process  : digikam
description_fr    : digiKam est une application open-source de gestion de photos numériques. L'application fournit un ensemble d'outils pour importer, gérer, éditer et partager des photos et des fichiers bruts
description_pl    : digiKam to aplikacja do zarządzania zdjęciami cyfrowymi o otwartym kodzie źródłowym. Aplikacja zapewnia zestaw narzędzi do importowania, zarządzania, edycji i udostępniania zdjęć i surowych plików
description_de    : digiKam ist eine Open-Source-Anwendung zur Verwaltung digitaler Fotos. Die Anwendung bietet eine Reihe von Werkzeugen zum Importieren, Verwalten, Bearbeiten und Teilen von Fotos und Rohdateien
description_es    : digiKam es una aplicación de gestión de fotografías digitales de código abierto. La aplicación ofrece un conjunto de herramientas para importar, gestionar, editar y compartir fotos y archivos RAW
description_pt    : O digiKam é uma aplicação de gestão de fotografias digitais de código aberto. A aplicação fornece um conjunto de ferramentas para importar, gerir, editar e partilhar fotografias e ficheiros em bruto
description_it    : digiKam è un'applicazione open-source per la gestione delle foto digitali. L'applicazione fornisce una serie di strumenti per importare, gestire, modificare e condividere foto e file raw
description_nl    : digiKam is een open-source toepassing voor het beheren van digitale foto's. De toepassing biedt een set gereedschappen voor het importeren, beheren, bewerken en delen van foto's en onbewerkte bestanden
description_ru    : digiKam - это приложение для управления цифровыми фотографиями с открытым исходным кодом. Приложение предоставляет набор инструментов для импорта, управления, редактирования и обмена фотографиями и необработанными файлами
audit_schedule    : 
editor            : The digiKam team
keywords          : 
licence           : opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
homepage          : https://www.digikam.org/
package_uuid      : fa12fc95-bb95-474e-b1ca-c1131599dd35
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.digikam.org/documentation/changelog/
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 0138946b9da6a2ef0438e7fbe0867d3a55f36eb10f87488e6f2ecc3e1455cae9
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-11-23T08:02:01.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         : OHT/OzGxTzTCDr9L4w6AJZrEiW+x7zujtb06E9JRfjWQixYHrebC8IgQj8MDN5V0sHSclP2sTDfb3S64beHGGeVwypUM5HNUUvnIe4foZsLTWzqLJLHTTJxvIAGe7LKvK12GqWmAFiieNxgFhl9UZ8NjLGZm7gCNGkK4wdbhKiCLVseCSMWKCnnFNPgoLUKRbyoDWEpiH5AqjmurbjWc4LxTZmBdd/1+Lv00fCGVkZKcUVVJkWlKebfPmg45w/p+cx39ysQ2o7Fb0LfJYlThfThQvIFdkqpSUTJXo3mw3qIbYnVR3pHuoAC+smf4iOmdlAnXnXLyl6Yh2ahVu5GOow==
# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("digiKam-*.exe")[0]
    install_exe_if_needed(
        bin_name,
        key="digiKam",
        min_version=control.get_software_version(),
        timeout=600,
    )
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {
        "bin_contains": {
            "windows-x64": "-Win64.exe",
            "mac-x64": "-MacOS-x86-64.pkg",
        },
    }
    url = "https://www.digikam.org/download/"

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", proxies=proxies):
        if update_dict["bin_contains"][f'{ensure_list(control.target_os)[0].split("(")[0]}-{ensure_list(control.architecture)[0]}'] in bs_search.get(
            "href", ""
        ):
            download_url = bs_search["href"].rsplit(".mirrorlist")[0]
            latest_bin = download_url.split("/")[-1]
            version = latest_bin.split("-")[1]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.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)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)
    # arch_list = ensure_list(control.architecture)
    # remove_outdated_binaries(version, filename_contains=("x64" if "x64" in arch_list else "x86" if "x86" in arch_list else []))

    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 4) == Version(version, 4):
            print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
        else:
            error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({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()

    # Validating or not update-package-sources
    return package_updated

    # # Changing version of the package and validating update-package-sources
    # return complete_control_version(control, version)
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
59c83ac4e21e92a9e943442e9523061d6566f7e06ab1dd580f18aeb26039f8c2 : WAPT/control
0138946b9da6a2ef0438e7fbe0867d3a55f36eb10f87488e6f2ecc3e1455cae9 : WAPT/icon.png
a1ad62f4dad7afdab83f964ff29344731a040242ab4bba440efa15b696dac562 : digiKam-8.5.0-Qt6-Win64.exe
61dd7ee0dfa44542eccc6429037809c4688f21e098c2f01c8ffea9a5acb3df53 : luti.json
5664d8df5cccd09590ae928c41e03f022ed2290cce8cd0f1b16b1cfe3bd59a27 : setup.py
ed041d81d4bce273c0a01cb522583ce357e1cc4e30603358f5588c5b2c791ec5 : update_package.py