tis-pidgin icon

Pidgin

Paquet d’installation silencieuse pour Pidgin

2.14.1-22

  • package: tis-pidgin
  • name: Pidgin
  • version: 2.14.1-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: 33.31 Mo
  • homepage : https://pidgin.im/

package           : tis-pidgin
version           : 2.14.1-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      : 12b55832-1e49-41ea-bfe1-24c8f994b0d7
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         : wttCpu65PkZicsLuij/UtyOlRgjxMfc4xjydxeLQRSVkf++n5ft7wE71R9nd4oqPwwXtKnDlCDlMjIaNfDMlozqvz1HhrvpOhJzVPONAKa0DgFdRWmnEWZ8W9/vBoWlAv5MvHg9KIAiLY1RpJ6Pg9OaOY7aaSIIdr2UK+f6KLiwrAqU/z0nke2WqlFsdpOGUlQTeWbf0oUUulgw8A/BbH93070owC8oC+RN0K4YJFbqvj0yQ1MRN8e1xabIPnXw0K2Z1EIpjcDvSgllcOPg8K56qtprAl2MGFa4LoVJV1KZvLl11zltZnmydZMdr7/RKf+oZ/zk/GZi2BlaGlqlajg==
signature_date    : 2022-08-02T02:35:56.193350
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

# -*- 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 *
import bs4 as BeautifulSoup
import json


def update_package():

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

    url_api = "https://sourceforge.net/projects/pidgin/best_release.json"

    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))
    for download in json_load["platform_releases"]:
        if "-offline.exe" in json_load["platform_releases"][download]["filename"]:
            url_dl = json_load["platform_releases"][download]["url"]
            version = json_load["platform_releases"][download]["filename"].split("/")[-2]
            latest_bin = json_load["platform_releases"][download]["filename"].split("/")[-1]
            break

    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)

        # 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

c24517c78e2fb1e4bb5b946e98aab799940ed33bd0dee4046646634b00735773 : setup.py
4252b2d15d908c82968a4818445d35aff6c818a628f87b138b794c150d961fbb : update_package.py
23dfe4d9d4a5853615d1b696aa578b7a7361d35965ed443cea3f648f5d08f60e : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
306112750bb23f5b74e8eaf3f5735c5b82a2a3b53e623f9d3376137d435b1b45 : luti.json
a9125e18ae7e219c01137a36e4c7379e1606f5db8fe7de223e3d67e8c1b533fc : pidgin-2.14.1-offline.exe
a5d7967e683ad2cfec62a0f28b3f0392b1a4d70918456ced2e1c7144f6411b36 : WAPT/control