tis-xournal

1.2.4-3
Xournal++ is an open source, cross-platform note-taking software that is fast, flexible and functional
819 downloads
Download
See build result See VirusTotal scan
tis-xournal icon
  • package : tis-xournal
  • name : Xournal++
  • version : 1.2.4-3
  • categories :
  • maintainer : Amel FRADJ
  • editor :
  • licence : open source
  • locale : all
  • target_os : windows
  • impacted_process : xournalpp
  • architecture : x64
  • signature_date : 2024-10-29 16:31
  • size : 80.24 Mo
  • installed_size : 242.59 Mo
  • homepage : https://xournalpp.github.io/
package           : tis-xournal
version           : 1.2.4-3
architecture      : x64
section           : base
priority          : optional
name              : Xournal++
categories        : 
maintainer        : Amel FRADJ
description       : Xournal++ is an open source, cross-platform note-taking software that is fast, flexible and functional
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://github.com/xournalpp/xournalpp
installed_size    : 242587474
impacted_process  : xournalpp
description_fr    : Xournal++ est un logiciel de prise de notes open source et multiplateforme rapide, flexible et fonctionnel
description_pl    : Xournal++ to otwarte, wieloplatformowe oprogramowanie do tworzenia notatek, które jest szybkie, elastyczne i funkcjonalne
description_de    : Xournal++ ist eine schnelle, flexible und funktionale Open-Source- und plattformübergreifende Notiz-Software
description_es    : Xournal++ es un software de código abierto y multiplataforma para tomar notas, rápido, flexible y funcional
description_pt    : O Xournal++ é um software de anotações de fonte aberta e multiplataforma que é rápido, flexível e funcional
description_it    : Xournal++ è un software open source multipiattaforma per prendere appunti, veloce, flessibile e funzionale
description_nl    : Xournal++ is een open source, cross-platform notitiesoftware die snel, flexibel en functioneel is
description_ru    : Xournal++ - это кроссплатформенное программное обеспечение для ведения заметок с открытым исходным кодом, быстрое, гибкое и функциональное
audit_schedule    : 
editor            : 
keywords          : 
licence           : open source
homepage          : https://xournalpp.github.io/
package_uuid      : b09bf257-ded9-40dd-81f7-3092c60f189d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/xournalpp/xournalpp/blob/master/CHANGELOG.md
min_os_version    : 10.0
max_os_version    : 
icon_sha256sum    : 9b5dc08f12257bc882402d80b81bfa11a67ac526d5d9b3e932dee13e6e5ea52b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-10-29T16:31:23.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         : e9aeQ/abcSOUpRj8MTrXao55vjfB2XlGd6/vT2NYwHoiRLMaPEZIWvNdS7k4zKfWK7QpZX0E1CeAkv9LE3Qci3/YwXq4/SW+3XcddQOnYrTjL2UXi5AOAm40pDNbpkeiamsQHqcnWl8Mj19m5j8EkphSqZPKek2xQlJkB9bPlsnBINfYmpB264/PD5UebObxbExe+pJa5b73ucmyzTuIfWOACDmL/pxFlYeU0EZTtgtzAGRADQpqESWM8ybypT0WTgVdw5KUHFQIFVFDuUwy7iTAGZX1TP3XEbM3ALzKN1HbTBvHo0j7iXdREsnkjH2Jx79TATwUNceIM9bEkqMUGg==
# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    # Declaring local variables
    bin_name = glob.glob('xournalpp-*-windows.exe')[0]
    path_to_xournal = makepath(programfiles,"Xournal++","bin","xournalpp.exe")

    if force or not isfile(path_to_xournal) or Version(get_file_properties(path_to_xournal)['ProductVersion']) < control.get_software_version(): 
        install_exe_if_needed(
            bin_name,
            silentflags='/S /allusers',
            min_version= control.get_software_version(),
        )
    else:
        print('Skip Xournal++ already install')

    if not isfile(path_to_xournal) or Version(get_file_properties(path_to_xournal)['ProductVersion']) < control.get_software_version(): 
        error("Xournal++ not install")
    
def uninstall():
    uninstall_exe_path =  makepath(programfiles,'Xournal++','Uninstall.exe')
    if isfile(uninstall_exe_path):
        run(f'"{uninstall_exe_path}" /S')

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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()

    api_url = "https://api.github.com/repos/xournalpp/xournalpp/releases/latest"
    releases_dict = wgets(api_url, proxies=proxies, as_json=True)

    for asset in releases_dict["assets"]:
        if asset["browser_download_url"].endswith("windows.zip"):
            url_download = asset["browser_download_url"]
            zip_file = url_download.rsplit('/')[-1]
            version = releases_dict["tag_name"][1:]
            break

    # Deleting binaries
    for f in glob.glob("*.zip"):
        if f != zip_file:
            remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % url_download )
    if not isfile(zip_file):
        print("Downloading: %s" % zip_file)
        wget(url_download , zip_file, proxies=proxies)
    else:
        print("ZIP file is present: %s" % zip_file)

    latest_bin = unzip(zip_file, basedir)[0]
    latest_bin = latest_bin.rsplit('\\', 1)[-1]
    latest_bin_extension = latest_bin.rsplit('.', 1)[-1]

    remove_file(zip_file)
           
    for f in glob.glob(f"*.{latest_bin_extension}"):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
0e322e58b2a48cca10b4c464671258d94e7e863ef7dd6e9ca86533af398ff221 : WAPT/control
9b5dc08f12257bc882402d80b81bfa11a67ac526d5d9b3e932dee13e6e5ea52b : WAPT/icon.png
829ff641470d40308d76017a6d390e43fc36b173fc85ca4656c05fcf661d222a : luti.json
e964a5c491a5743cefa0160617aa8cdaa2799df7c81412dec06963cdeca2ff51 : setup.py
4b608c736a1b66af2d7f08d445e2cf3dfe7e325b201b027cc7a3778bf48e9969 : update_package.py
d03e87c2e34996f6a3f07bb34b477d5d8269b353cf70207a9d147f0c5a526539 : xournalpp-1.2.4-windows.exe