tis-digikam

8.4.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.4.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-07-21 06:00
  • size : 198.87 Mo
  • installed_size : 739.35 Mo
  • homepage : https://www.digikam.org/
package           : tis-digikam
version           : 8.4.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      : 7daa9b9f-15cf-4a1d-b86b-bfa0f73228d7
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         : sBwYoE6SliGvjLZWhDi9jyXclYKjq0h8kt0EFNA35YLnQ0H3R8EDKdak0RohD/+0lxP59sLMhCp5o0aZkODRQkkkaqzi2YgtxS+2Qc1G+Z3Pi6hoWeTT9cz+SHjia1pPxX8gVhUHpj35AzFAInXXbeph1H8vYoRPQ2u/+L+2JA8Lzob7GC9h0ztHDjWmgW6tDf5yI7pnmUE/T4H4ZZzUd/CkpZjwAy1bLhecfDWM83tVnLiRXRe9JLyFLcxdfCzJGXP2s9cJ80Bc1e3GK1q0XL8f33WExxZlnToJisgwj+XZmbRb+0mUmq0SXjGJMkrJhUL5kixuX7ADAhjd8Ird3Q==
signature_date    : 2024-07-21T06:00:12.248700
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 *


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)
5664d8df5cccd09590ae928c41e03f022ed2290cce8cd0f1b16b1cfe3bd59a27 : setup.py
 : __pycache__
ed041d81d4bce273c0a01cb522583ce357e1cc4e30603358f5588c5b2c791ec5 : update_package.py
5a84d705e7725c25820927ed98d4bb32b838b0a4f1c112c69ec24a562a00056f : digiKam-8.4.0-Qt6-Win64.exe
0138946b9da6a2ef0438e7fbe0867d3a55f36eb10f87488e6f2ecc3e1455cae9 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
8a110d6762eeda7a2479b0bb41c6fe5388074b843b16a8321ecaf97a5d9ea0ce : luti.json
5d0a41fb21e9cfde051ab31d392f48d2fd44a8cabc5bf97f969cf461f906696d : WAPT/control