tis-pidgin icon

Pidgin

Silent install package for Pidgin

2.14.14-22

  • package: tis-pidgin
  • name: Pidgin
  • version: 2.14.14-22
  • categories: Messaging
  • maintainer: WAPT Team,Tranquil IT,Simon Fonteneau
  • editor: Mark Spencer et Sean Egan
  • licence: GNUV2
  • locale: all
  • target_os: windows
  • impacted_process: pidgin.exe
  • architecture: all
  • signature_date:
  • size: 32.32 Mo
  • homepage : https://pidgin.im/

package           : tis-pidgin
version           : 2.14.14-22
architecture      : all
section           : base
priority          : optional
name              : Pidgin
categories        : Messaging
maintainer        : WAPT Team,Tranquil IT,Simon Fonteneau
description       : Instant Messaging for Jabber, AIM, Sametime, XMPP, GTK libraries and Rocket.chat plugin
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://sourceforge.net/projects/pidgin/files/Pidgin/
installed_size    : 
impacted_process  : pidgin.exe
description_fr    : Messagerie instantanee pour Jabber, AIM, Sametime, XMPP, inclus les librairies GTK et le plugin Rocket.chat
description_pl    : Instant Messaging dla Jabbera, AIM, Sametime, XMPP, biblioteki GTK i wtyczka Rocket
description_de    : Instant Messaging für Jabber, AIM, Sametime, XMPP, GTK-Bibliotheken und Rocket
description_es    : Mensajería instantánea para Jabber, AIM, Sametime, XMPP, bibliotecas GTK y plugin Rocket
description_pt    : Mensagens Instantâneas para Jabber, AIM, Sametime, XMPP, bibliotecas GTK e plugin Rocket
description_it    : Messaggistica istantanea per Jabber, AIM, Sametime, XMPP, librerie GTK e plugin Rocket
description_nl    : Instant Messaging voor Jabber, AIM, Sametime, XMPP, GTK bibliotheken en Rocket
description_ru    : Мгновенный обмен сообщениями для Jabber, AIM, Sametime, XMPP, библиотеки GTK и плагин Rocket
audit_schedule    : 
editor            : Mark Spencer et Sean Egan
keywords          : 
licence           : GNUV2
homepage          : https://pidgin.im/
package_uuid      : 79d7a6e2-59f5-4e17-968a-a5c73c779dd4
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://pidgin.im/post/
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 23dfe4d9d4a5853615d1b696aa578b7a7361d35965ed443cea3f648f5d08f60e
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-01-28T04:12:08.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         : m3n3mKZU6e2oaTa1kpW511oppFfh51qi3u8e9tojX200Wow8qXCs/FVzEzmKZKOMbaBoCAUHUmzRp5dz86JJ1Yi+jmABXExqiUnIDy+KQ0+oy6+6vUVMFMlfvDRwGbSKp10L0zDTyIyLCA/vHnKCNYdMoUcCggXPm31nc1JGdznnbfOkzn0z1dH88PC692gs4hl2aXCuJQSanLShT+yX9skRmun2OfPmCAo2xonPZvWlV3ou6OfHMNq/fh6JuYWiyihOsYbJrNMwqkVDngQAvJT9QfOejh2mHYLC2e4ax5fO0Nbts/LDoER5TjFPAuf+SBM7lIClXiJi8wuGVRK1jg==

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


def install():
    # Declaring local variables
    bin_name = glob.glob("pidgin-*-offline.exe")[0]

    # Installing the package
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags="/S",
        key="Pidgin",
        min_version=control.get_software_version(),
    )

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import bs4 as BeautifulSoup


def update_package():

    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name

    html_source = wgets("https://pidgin.im/install",proxies=proxies).splitlines()
    for line in html_source:
        if "-offline.exe" in line:
            version = line.split('-')[-2]
            latest_bin = f'pidgin-{version}-offline.exe'
            url_dl = f'https://sourceforge.net/projects/pidgin/files/Pidgin/{version}/pidgin-{version}-offline.exe'

    # Getting latest version information from official sources

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % url_dl)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies, connect_timeout=30)

        # Checking version from file
        version_from_file = get_version_from_binary(latest_bin)
        if version != version_from_file and version_from_file != "":
            print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
            os.rename(latest_bin, latest_bin.replace(version, version_from_file))
            version = version_from_file
    else:
        print("Already up to date, skipped")

    # Changing version of the package
    if Version(version) != control.get_software_version():
        print("Software updated to version: %s" % Version(version))
        result = True
    control.version = "%s-%s" % (version, control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return True

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
14dd8933b5b9ef1a3e03e86a20b79d205e59b03460c873727079d7643493c753 : WAPT/control
23dfe4d9d4a5853615d1b696aa578b7a7361d35965ed443cea3f648f5d08f60e : WAPT/icon.png
1d3d2ea43a6ee9cd38bbe368b8568defbf0651a12743a47d9de4593277710283 : luti.json
7551389982bd9a85991df7436ca1776e68bdc057374c03e8018173e95162bc84 : pidgin-2.14.14-offline.exe
c24517c78e2fb1e4bb5b946e98aab799940ed33bd0dee4046646634b00735773 : setup.py
d7666d2671da109eb1ad3b1888a5b54a62d3740eb9b64c1f345720ea0ab8c295 : update_package.py