- package: tis-rednotebook
- name: RedNotebook
- version: 2.34-7
- categories: Utilities
- maintainer: Simon FONTENEAU, Tranquil IT
- licence: GPLv3+
- locale: all
- target_os: debian(>9),ubuntu(>20)
- impacted_process: rednotebook.exe
- architecture: all
- signature_date:
- size: 2.30 Mo
- installed_size: 1.38 Go
- homepage : https://rednotebook.sourceforge.io/
package : tis-rednotebook
version : 2.34-7
architecture : all
section : base
priority : optional
name : RedNotebook
categories : Utilities
maintainer : Simon FONTENEAU, Tranquil IT
description : RedNoteBook combines a calendar, a note-taking tool, and an annotations module, such as a calendar. You can enter different texts a day and navigate between different calendar dates.
depends :
conflicts :
maturity : PROD
locale : all
target_os : debian(>9),ubuntu(>20)
min_wapt_version : 2.3
sources :
installed_size : 1378177024
impacted_process : rednotebook.exe
description_fr : RedNoteBook combine un calendrier, un outil de prise de notes et un module d'annotations, comme un calendrier. Vous pouvez saisir différents textes par jour et naviguer entre différentes dates de calendrier.
description_pl : RedNoteBook łączy w sobie kalendarz, narzędzie do robienia notatek i moduł adnotacji, taki jak kalendarz. Można wprowadzać różne teksty w ciągu dnia i nawigować między różnymi datami kalendarzowymi.
description_de : RedNoteBook kombiniert einen Kalender, ein Notizbuch-Tool und ein Annotationsmodul, wie beispielsweise einen Kalender. Sie können pro Tag unterschiedliche Texte eingeben und zwischen verschiedenen Kalenderdaten navigieren.
description_es : RedNoteBook combina un calendario, una herramienta para tomar notas y un módulo de anotaciones, como un calendario. Puede introducir textos diferentes al día y navegar entre fechas de calendario diferentes.
description_pt : RedNoteBook combina um calendário, uma ferramenta para tomar notas, e um módulo de anotações, tal como um calendário. É possível introduzir diferentes textos por dia e navegar entre diferentes datas de calendário
description_it : RedNoteBook combina un calendario, uno strumento per prendere appunti e un modulo per le annotazioni, come un'agenda. È possibile inserire diversi testi al giorno e navigare tra le diverse date del calendario
description_nl : RedNoteBook combineert een kalender, een hulpmiddel om aantekeningen te maken en een annotatiemodule, zoals een kalender. U kunt per dag verschillende teksten invoeren en tussen verschillende kalenderdata navigeren
description_ru : RedNoteBook сочетает в себе календарь, инструмент для ведения заметок и модуль аннотаций, например, календарь. Вы можете вводить различные тексты в день и перемещаться между различными датами календаря
audit_schedule :
editor :
keywords : red,note,book
licence : GPLv3+
homepage : https://rednotebook.sourceforge.io/
package_uuid : b2bdd15f-98d3-4e8d-82cf-077d21424fe2
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 5.0
max_os_version :
icon_sha256sum : 0738d62aab3d90a7679b33fb0053fdd98ce37c9bd3ae9724123f7d04d41e575a
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-09-21T15:08:38.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 : q3eokcEcQdzu1hDRFmr8xrhCAWbubhL+oI9dqVJ5t5CbIci0P/2yffHYrwQxwMpSF+dJq2+1f7N507ZKEC8C11diNZ9lu9NQv4Czz6UqArrRrF9ON6KakiPPyHbutbVzYscecRntwuTlcMHX8xtzvrrY9JOthDodLymdSAJfTCDGiv8piS5j7yJXzr7E3jFWPcuPfbhYzPtIOPo4qYNKaCItUD6p1OvTDRaI8iqMgQn1MF2aLz9hyamFx/aEXq00Nvqn9MnPb6qyPTFPh3yfk7qt3ZfG01u2NN4MScRZ4LB/f3XKCjBEjcWyrCTXlED7mXj1IZUjEjwY9eyrhWJ7KA==
# -*- coding: utf-8 -*-
from setuphelpers import *
from waptpackage import control_to_dict
import codecs
def install():
run_notfatal("apt-get remove rednotebook -y")
version_red = control.version.split("-")[0]
run("tar -xf v%s.tar.gz" % version_red)
if isdir("/opt/rednotebook"):
remove_tree("/opt/rednotebook")
copytree2("rednotebook-%s" % version_red, "/opt/rednotebook")
run("chown -R root:root /opt/rednotebook")
install_apt("python3")
with codecs.open(r"/opt/rednotebook/debian/control", encoding="utf8") as f:
dict_control = control_to_dict(f.read().replace("\n\n", "\n"))
print("dict control : ")
print(dict_control)
for p in dict_control["depends"].replace("\n", "").split(","):
if "|" in p:
pkg_ok = False
for pkgtest in p.split('|'):
if pkg_ok:
continue
if not p.startswith("$"):
try:
install_apt(p.strip(" "))
pkg_ok=True
except:
pass
else:
print("p : " + p)
if not p.startswith("$"):
install_apt(p)
install_apt("python3-enchant")
filecopyto("rednotebook.desktop", "/usr/share/applications/rednotebook.desktop")
run("chown root:root /usr/share/applications/rednotebook.desktop")
def uninstall():
remove_tree("/opt/rednotebook")
remove_file("/usr/share/applications/rednotebook.desktop")
# -*- 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/jendrikseipp/rednotebook/releases/latest"
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = wgets(api_url, proxies=proxies, as_json=True)
for to_download in json_load["assets"]:
if ".exe" in to_download["name"]:
version = to_download["name"].split("-")[-1].strip(".exe")
download_url = "https://github.com/jendrikseipp/rednotebook/archive/v%s.tar.gz" % version
latest_bin = download_url.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)
# Checking version from file
if get_os_version() == "Windows":
version_from_file = get_version_from_binary(latest_bin)
if Version(version_from_file, 4) != Version(version, 4) and version_from_file != "":
print("ERROR: Binary file version do NOT corresponds to online version")
else:
print("INFO: Binary file version corresponds to online 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 update-package-sources
return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
4c2471d9a68148d44e65ec27c3d75e5ad866d950a059c3d8fd5812192f0a5a4f : WAPT/control
0738d62aab3d90a7679b33fb0053fdd98ce37c9bd3ae9724123f7d04d41e575a : WAPT/icon.png
6fa65e0c47b3d167d60186c8153c7f37ccb44696216fd4e067cbe3d5836f49bb : WAPT/wapt.psproj
1d4784e3f031f03461dc9d9a9923e6e1c238931cf89fd4243bce3853a2dc80dd : luti.json
0221673ebedac64d05e52e36770a70824b688d493db16c2003026310322f06df : rednotebook.desktop
705670aa174102c976f29c706fc673f8021c6661e2639650acd6e7f3d9172487 : setup.py
dcd80098765865ce76b3af512262c5ccbb090c525398c7c9673d858a03b8f2de : update_package.py
825cc7679edc9a3f31495e1b0af6049484719f07b3cff35714451fd518c5c0a6 : v2.34.tar.gz