tis-rednotebook

2.25-0
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.
9726 downloads
Download
View on luti logo
tis-rednotebook icon

  Description 

  • package : tis-rednotebook
  • version : 2.25-0
  • architecture : all
  • 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.
  • locale : all
  • target_os : debian_based
  • min_wapt_version : 1.5
  • 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 :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence : GPLv3+
  • signature_date : 2022-05-22T00:13:22.087267
  • Homepage : https://rednotebook.sourceforge.io/

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *
from waptpackage import control_to_dict
import codecs

uninstallkey = []

def install():

    run_notfatal('apt-get remove rednotebook -y')
    print('installing Rednotebook')
    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'))
    for p in dict_control['depends'].replace('\n','').split(','):
        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')

def update_package():
    import re
    import json

    proxies = {}
    if isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxies = {'http':proxywapt,'https':proxywapt}

    v = [(str(p['browser_download_url'])) for p in json.loads(wgets('https://api.github.com/repos/jendrikseipp/rednotebook/releases/latest',proxies=proxies))['assets'] if '.exe' in p['name']][0].split('/')[-2]
    urlfile = 'https://github.com/jendrikseipp/rednotebook/archive/%s.tar.gz' % v
    filename = '%s.tar.gz' % v

    exes = glob.glob('*.tar.gz')
    for fn in exes:
        if fn != filename:
            remove_file(fn)

    if not isfile(filename):
        print('Downloading %s from %s'%(filename,urlfile))
        wget(urlfile,filename,proxies=proxies)
    else:
        print('Already up to date, skipped')

    control.version = v.strip('v') + '-0'
    control.save_control_to_wapt()

										

  Changelog 



No changelog.txt.
									
  manifest.sha256