tis-xournal
1.2.3-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

- package : tis-xournal
- name : Xournal++
- version : 1.2.3-3
- categories :
- maintainer : Jordan ARNAUD
- editor :
- licence : open source
- locale :
- target_os : linux
- impacted_process :
- architecture : x64
- signature_date : 2024-09-30 10:07
- size : 39.30 Mo
- homepage : https://xournalpp.github.io/
package : tis-xournal
version : 1.2.3-3
architecture : x64
section : base
priority : optional
name : Xournal++
categories :
maintainer : Jordan ARNAUD
description : Xournal++ is an open source, cross-platform note-taking software that is fast, flexible and functional
depends :
conflicts :
maturity : PROD
locale :
target_os : linux
min_wapt_version :
sources : https://github.com/xournalpp/xournalpp
installed_size :
impacted_process :
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 : 624eed71-3e2c-403e-b28f-c01446a74e3b
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-09-30T10:07:14.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 : ao/bBvG7eqwidcA6lohTsqXzjMFBe3/7LyppbH9pQHkLUldcqphW1U6oK6GObht4ealY6nt3noCwGCli3ljK46ifMB0Ui3HZWW5kRTtvpCoA7geVhHktNpwZPimSNOJrE2OAXUq0TusbJljM38/oGDTPKDpdOV85LlP8VJCJGUxcagjMFqW0vfIqsuny0yadBSHR9aX2H6eo0nuHtMbxpHk9T4f7TbIZsDmwMpYSek7DC/1lhitZ375hMSeEKsYvtit4pwTo2PJmL8GU+KJS/xddHfm2D8kHuU7Xlf9bxYW+nCINfsmYBjC59I6SvfZ93x8PDU2foR2tltPVmw33dg==
# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2024
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
from iniparse import ConfigParser
import os
def install():
install_dir = makepath('/','opt',control.package.split('-',1)[1])
appimage = glob.glob("*.AppImage")[0]
install_appimage(appimage,install_dir)
def uninstall():
install_dir = makepath('/','opt',control.package.split('-',1)[1])
uninstall_appimage(install_dir)
def install_appimage(appimage,install_dir,binaliasname=None):
run('chmod a+x ./' + appimage)
if isdir(install_dir):
uninstall_appimage(install_dir)
mkdirs(install_dir)
name_appimage = appimage.split('/')[-1]
filecopyto(appimage, makepath(install_dir, name_appimage))
run('"./%s" --appimage-extract' % appimage)
for desktop in glob.glob(makepath('squashfs-root','*.desktop')):
desktop_cp = ConfigParser()
desktop_cp.optionxform = str
desktop_file = open(desktop, encoding="utf-8")
desktop_cp.readfp(desktop_file)
bin_path = desktop_cp.get('Desktop Entry',"Exec")
newbin_path = install_dir + '/' + name_appimage
if ' %' in bin_path:
newbin_path = newbin_path + ' %' + bin_path.split(' %',1)[1]
icon_path = desktop_cp.get('Desktop Entry',"Icon")
srcicon = makepath('squashfs-root',icon_path +'.svg')
if not isfile(srcicon):
srcicon = makepath('squashfs-root',icon_path +'.png')
if not isfile(srcicon):
lstglob = glob.glob(makepath('squashfs-root','*.svg'))
if lstglob :
srcicon=lstglob[0]
if not isfile(srcicon):
lstglob = glob.glob(makepath('squashfs-root','*.png'))
if lstglob :
srcicon=lstglob[0]
else:
srcicon = None
if srcicon:
new_icon = install_dir + '/' + srcicon.split('/')[-1]
filecopyto(srcicon,new_icon)
desktop_cp.set('Desktop Entry',"Icon",new_icon)
desktop_cp.set('Desktop Entry',"Exec",newbin_path)
with open(desktop, 'w', encoding="utf-8") as f:
desktop_cp.write(f)
pathdesk = makepath(install_dir,desktop.split('/')[-1])
filecopyto(desktop, pathdesk)
run('chown root:root "%s" ' % pathdesk)
for f in glob.glob(makepath(install_dir,'*.desktop')):
run('ln -sf "%s" "/usr/share/applications/%s"' % (f,f.split('/')[-1]))
if binaliasname :
run(f"ln -sf {install_dir}/{name_appimage} /usr/bin/{binaliasname}")
remove_tree('squashfs-root')
def uninstall_appimage(install_dir):
if not glob.glob(makepath(install_dir,'*.desktop')):
error('.desktop not found')
for f in glob.glob(makepath(install_dir,'*.desktop')):
deskfile = f.split('/')[-1]
system_desktop = makepath("/","usr","share","applications",deskfile)
if isfile(system_desktop):
remove_file(system_desktop)
remove_tree(install_dir)
# -*- coding: utf-8 -*-
from setuphelpers import *
import re
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"
# Get data from API
releases_dict = wgets(api_url, proxies=proxies, as_json=True)
zip_found = False # Flag pour indiquer la découverte d'un fichier .zip
#target_extension = control.target_os + ".zip"
for release in releases_dict:
if zip_found:
break
for asset in releases_dict["assets"]:
if asset["browser_download_url"].endswith("AppImage"):
url_download = asset["browser_download_url"]
latest_bin = url_download.split('/')[-1]
last_version = releases_dict["name"][10:]
zip_found = True # Mettre à jour le flag pour indiquer qu'un .zip a été trouvé
break
# Deleting binaries
for f in glob.glob("*.AppImage"):
if f != latest_bin:
remove_file(f)
# Downloading latest binaries
print("Download URL is: %s" % url_download )
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(url_download , latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
# Updating the package
control.set_software_version(last_version)
control.save_control_to_wapt()
return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
847d53c0106a5fe0520651d4b09006cd69e9308a3feca2df514377c1c1fa02f4 : WAPT/control
9b5dc08f12257bc882402d80b81bfa11a67ac526d5d9b3e932dee13e6e5ea52b : WAPT/icon.png
3b9962a53e8e8d95c6a1086b5336da195f58c3f3217c941af3dd5360f07f677a : luti.json
223fa6ca0b4ed15f7d1a2e29893619511e043c7907d145e8c8991405677bb4e1 : setup.py
9d9aff702e7a847faceb4bfa4a9ed427655a5472dd8ab9f2c841c846a3c11fef : update_package.py
99c2e385cdfef2eb59ac367214fc37c31855779e0910990b0f1612d7ad339f8b : xournalpp-1.2.3-x86_64.AppImage