tis-freeplane icon

Freeplane

Silent install package for Freeplane

1.12.15-13
Utilities
Utilities

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-freeplane
  • name: Freeplane
  • version: 1.12.15-13
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Simon Fonteneau,Jimmy PELÉ,Jordan ARNAUD
  • editor: Dimitry Polivaev, et al.
  • licence: opensource_free,wapt_public
  • locale: all
  • target_os: darwin
  • impacted_process: freeplane,freeplaneConsole
  • architecture: arm
  • signature_date:
  • size: 133.70 Mo
  • installed_size: 209.32 Mo
  • homepage : https://docs.freeplane.org/

package           : tis-freeplane
version           : 1.12.15-13
architecture      : arm
section           : base
priority          : optional
name              : Freeplane
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Simon Fonteneau,Jimmy PELÉ,Jordan ARNAUD
description       : Freeplane is a free and open source software application that supports thinking, sharing information, getting things done at work, in school and at home. It provides you a set of tools for mind mapping
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : darwin
min_wapt_version  : 2.3
sources           : https://sourceforge.net/projects/freeplane/
installed_size    : 209323766
impacted_process  : freeplane,freeplaneConsole
description_fr    : Freeplane est un logiciel libre et gratuit qui aide à réfléchir, à partager des informations et à faire avancer les choses au travail, à l'école et à la maison. Il fournit un ensemble d'outils pour la cartographie mentale
description_pl    : Freeplane to darmowa aplikacja o otwartym kodzie źródłowym, która wspiera myślenie, dzielenie się informacjami, załatwianie spraw w pracy, w szkole i w domu. Zapewnia zestaw narzędzi do tworzenia map myśli
description_de    : Freeplane ist eine freie und quelloffene Softwareanwendung, die das Denken, den Austausch von Informationen und das Erledigen von Aufgaben bei der Arbeit, in der Schule und zu Hause unterstützt. Es bietet Ihnen eine Reihe von Werkzeugen für Mindmapping
description_es    : Freeplane es una aplicación de software libre y de código abierto que ayuda a pensar, compartir información y hacer cosas en el trabajo, en la escuela y en casa. Le proporciona un conjunto de herramientas para la creación de mapas mentales
description_pt    : O Freeplane é uma aplicação de software gratuita e de código aberto que apoia o pensamento, a partilha de informações e a realização de tarefas no trabalho, na escola e em casa. Fornece-lhe um conjunto de ferramentas para mapas mentais
description_it    : Freeplane è un'applicazione software gratuita e open source che supporta il pensiero, la condivisione di informazioni e la realizzazione di attività al lavoro, a scuola e a casa. Fornisce una serie di strumenti per la mappatura della mente
description_nl    : Freeplane is een gratis en open source softwaretoepassing die het denken ondersteunt, informatie deelt en dingen gedaan krijgt op het werk, op school en thuis. Het biedt een set hulpmiddelen voor mindmapping
description_ru    : Freeplane - это бесплатное программное приложение с открытым исходным кодом, которое помогает думать, обмениваться информацией, добиваться результатов на работе, в школе и дома. Оно предоставляет вам набор инструментов для составления карт ума
audit_schedule    : 
editor            : Dimitry Polivaev, et al.
keywords          : freeplane,mind,maps,idea,ideas,electronic,outlines,outline
licence           : opensource_free,wapt_public
homepage          : https://docs.freeplane.org/
package_uuid      : b723b110-78a3-497d-ad6e-88da327833a1
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.freeplane.org/info/history/history_en.txt
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 85f385cea79a373d7dd5e18e2357c2b038653f8d15425d2145591ee29cbb1607
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-01-04T14:02:50.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         : XpjjISgvZpS7rz4hr86v3lzhauV68y5hEowrLGfhkERRMyQKigQYDkTLVpKZOAOxAnWYObC/IO4cmxwhlDl2USNbinoYNr49GbOgjYj9DKfP9QZh6m50iyjQKlwsw7HoJMyo/+BTefiL87yN/zk7WPQWxUxwKAWpEn4JYekrNErE1cpvsEzdnSb6m1DSH7RjGsY+uKrdFHI1uwLaI4ymNY5t7lMFyffOdyNETYLyULJwZ01q4oswxcj65T/0loRI9y/3/Ru+hSPsu9FxwaktfcHNmWt5TkeA5Fk6zSSctxdt9IA+TQ4Kp9y2TGh8D9vFuvOcASy6LtYF6K6vEk920A==

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    install_dmg(glob.glob("Freeplane-*-apple.dmg")[0])


def uninstall():
    remove_tree("/Applications/Freeplane.app")

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

def table_to_dict(table):
    return {
        a.get_text(strip=True): a.get("href")
        for row in table.find("tbody").find_all("tr")[1:]
        for th in row.find_all("th")
        for a in [th.find("a")] if a
    }

def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    base_url = "https://sourceforge.net/projects/freeplane/files/freeplane%20stable/"
    user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"
    
    source_forge_releases = table_to_dict(bs_find(base_url, 'table', user_agent=user_agent))
    
    history_filename = next(item for item in source_forge_releases if "history_en" in item)
    version = history_filename.split('-')[-1].removesuffix('.txt')
    
    download_dict = {
        'windows-all': f'Freeplane-Setup-{version}.exe',
        'debian_based-all': f'freeplane_{version}~upstream-1_all.deb',
        'darwin-x64': f'Freeplane-{version}-intel.dmg',
        'darwin-arm': f'Freeplane-{version}-apple.dmg'
    }

    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]
    latest_bin = next(item for item in source_forge_releases if download_dict[os_type] == item)
    
    download_url = source_forge_releases[latest_bin]
    latest_bin_extension = latest_bin.rsplit(".", 1)[-1]

    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, target=latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    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

d66ed57cf7b66fdc40f84278fb10c5e0ce7ba7c34b7705af04ed46767d7a0b68 : Freeplane-1.12.15-apple.dmg
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
2ba621b98ccbd5a59769eda737226dc33986f4ab286ba858390f3d48b2c743d9 : WAPT/control
85f385cea79a373d7dd5e18e2357c2b038653f8d15425d2145591ee29cbb1607 : WAPT/icon.png
99ac2bb243f33767ad5142169d7980edb5f3aadac300442e9671fc9e562bf50c : luti.json
eba2448a5c273212a51542b8b3df73676c33b385068dd446e93839d247e354ae : setup.py
af4f4f4e7a409f8a3a6acb5553fe3f2b91eee2c3a0e640bd5277504ea7efdc78 : update_package.py