tis-miranda icon

Miranda

Paquet d’installation silencieuse pour Miranda

0.96.6-1

  • package: tis-miranda
  • name: Miranda
  • version: 0.96.6-1
  • categories: Messaging
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: opensource_free,wapt_public,cpe:/a:apache:license_2.0
  • target_os: windows
  • architecture: x86
  • signature_date:
  • size: 6.35 Mo

package           : tis-miranda
version           : 0.96.6-1
architecture      : x86
section           : base
priority          : optional
name              : Miranda
categories        : Messaging
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Miranda NG is the successor to the popular Miranda IM multiprotocol instant messaging client for Windows. Extremely fast and requiring very few system resources
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Miranda NG est le successeur d'un client de messagerie instantanée multiprotocole populaire pour Windows  Miranda IM. Très peu gourmand en ressources système et extrêmement rapide
description_pl    : Miranda NG jest następcą popularnego wieloprotokołowego klienta wiadomości błyskawicznych dla systemu Windows, Miranda IM. Wymaga bardzo niewielu zasobów systemowych i jest niezwykle szybka
description_de    : Miranda NG ist der Nachfolger des beliebten Multiprotokoll-Instant-Messaging-Clients für Windows Miranda IM. Sehr geringe Belastung der Systemressourcen und extrem schnell
description_es    : Miranda NG es el sucesor del popular cliente de mensajería instantánea multiprotocolo para Windows, Miranda IM. Requiere muy pocos recursos del sistema y es extremadamente rápido
description_pt    : O Miranda NG é o sucessor do popular cliente de mensagens instantâneas multi-protocolo para Windows, o Miranda IM. Requer muito poucos recursos do sistema e é extremamente rápido
description_it    : Miranda NG è il successore del popolare client di messaggistica istantanea multiprotocollo per Windows, Miranda IM. Richiede pochissime risorse di sistema ed è estremamente veloce
description_nl    : Miranda NG is de opvolger van de populaire multiprotocol instant messaging-client voor Windows, Miranda IM. Het vereist zeer weinig systeembronnen en is extreem snel
description_ru    : Miranda NG - это преемник популярного многопротокольного клиента обмена мгновенными сообщениями для Windows, Miranda IM. Он требует очень мало системных ресурсов и отличается высокой скоростью работы
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public,cpe:/a:apache:license_2.0
homepage          : 
package_uuid      : 9903c048-0ee4-49e6-82da-0b7935bbc970
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 2aec26817926d630ca0255340487dcb1cfe5001c21023665c2a1f771a4621a34
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-04-13T07:16:45.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         : Ks5FdDi9fGzHMXhwGvUm56HmoNZaBEnVIv0JFRHYybxTHhwXXcelNdKO+27+ykte2lIw5bFLEC8X7f5UvUdx7GR2cZh51F2ULiJVWbb/yS7Jp4DeJX7XA0XAmUIP/qBNRr13HRSwQxH9KBiw5FUfpCUcrPc/GsjpaGY3l4Xz0pT74mn3cfqp6yWUjJU2w9fD643zSihI40QKGzCUkhwmK0LiV7Lj5oSl9i8EY2lu1kquh40yZsCf2cMRz92H8JBIO5v9QXOj4NYo+LvqHDXh1H0EdaiXb4AVV0YdAexylZDNl9kZXF/iewaf6EhDRI7cEfYpRdQse1dnQqmeX74l7w==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('miranda-ng-*.exe')[0]
    # Installing the software
    
    # Uninstalling older version of the software that can remains
    for to_uninstall in installed_softwares(name="Miranda"):
      if Version(to_uninstall["version"]) < Version(control.get_software_version()):
        print(f"Removing: {to_uninstall['name']} ({to_uninstall['version']})")
        killalltasks(ensure_list(control.impacted_process))
        run(uninstall_cmd(to_uninstall["key"]))
        wait_uninstallkey_absent(to_uninstall["key"])

    install_exe_if_needed(bin_name,
        silentflags='/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',
        key='Miranda NG_is1',
        min_version=control.get_software_version(),
    )



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




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

    
    url_base = "https://www.miranda-ng.org/downloads/"
    response = requests.get(url_base,allow_redirects=True, proxies=proxies)
    # Extract the correct div using bs_find_all
    divs = bs_find_all(response.text, "td", proxies=proxies)
    exe_file = None
    for div in divs:
        if exe_file:
            break
        links = div.find_all('a', href=True)
        for link in links:
            if link['href'].endswith('.exe'):
                href = link['href']
                exe_file = href
                download_url ="https://www.miranda-ng.org" + exe_file
                latest_bin = exe_file.split('/')[-1]
                version = latest_bin.split('-')[-1].rsplit('.exe')[0].replace('v','')
                break


    # Downloading latest binaries
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
        package_updated = True
    else:
        print("Binary is present: %s" % latest_bin)


    # Deleting outdated binaries
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

          
    version = get_version_from_binary(latest_bin)
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
f740f11e098d9c2af4288af8e3cb95f512f3f903fbde8571fcce971c0dad4a93 : WAPT/control
2aec26817926d630ca0255340487dcb1cfe5001c21023665c2a1f771a4621a34 : WAPT/icon.png
c5513c3c5fc269c049d438342fae8bef0a92575dd4c7685954db1a5d6d243408 : luti.json
13a5aa9c6934775a12a9cede12220d6ff382581145ec9fad13848c0d61e95f78 : miranda-ng-v0.96.6.exe
af85fcf58b6a3b0593f0d9c38c6d1567d0dacc8d06f12400aaaa5e8836a9d6d6 : setup.py
5f4641b2a95aea2b152b503ebc97a5f2bbc05f3a5cb406f7c55818e84f863e44 : update_package.py