tis-poedit icon

Poedit

Silent install package for Poedit

3.4.4.6941-4

  • package: tis-poedit
  • name: Poedit
  • version: 3.4.4.6941-4
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Václav Slavík
  • licence: MIT
  • locale: all
  • target_os: windows
  • impacted_process: Poedit
  • architecture: all
  • signature_date:
  • size: 18.25 Mo
  • installed_size: 66.49 Mo
  • homepage : https://poedit.net/

package           : tis-poedit
version           : 3.4.4.6941-4
architecture      : all
section           : base
priority          : optional
name              : Poedit
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Poedit (formerly poEdit) is a shareware and cross-platform gettext catalog (.po file) editor to aid in the process of language localisation.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://poedit.net/download
installed_size    : 66494000
impacted_process  : Poedit
description_fr    : Poedit (anciennement poEdit) est un logiciel éditeur libre de catalogues gettext textuels (fichiers .po) multi-plateforme.
description_pl    : Poedit (dawniej poEdit) to shareware'owy i cross-platformowy edytor katalogu gettext (.po file) wspomagający proces lokalizacji języka
description_de    : Poedit (früher poEdit) ist ein plattformübergreifender Shareware-Editor für Gettext-Kataloge (.po-Dateien), der den Prozess der Sprachlokalisierung unterstützt
description_es    : Poedit (antes poEdit) es un editor de catálogos de texto (archivos .po) shareware y multiplataforma para ayudar en el proceso de localización de idiomas
description_pt    : Poedit (anteriormente poEdit) é um editor de catálogo gettext (ficheiro.po) shareware e cross-platform para ajudar no processo de localização linguística
description_it    : Poedit (ex poEdit) è un editor shareware e multipiattaforma di cataloghi gettext (file .po) che aiuta nel processo di localizzazione linguistica
description_nl    : Poedit (voorheen poEdit) is een shareware en cross-platform gettext catalogus (.po bestand) editor om te helpen bij het proces van taal lokalisatie
description_ru    : Poedit (ранее poEdit) - это shareware и кросс-платформенный редактор gettext каталога (файла .po) для помощи в процессе языковой локализации
audit_schedule    : 
editor            : Václav Slavík
keywords          : poedit,po,edit,gettext,get,text,catalog,.po,file,editor,language,localisation,translation
licence           : MIT
homepage          : https://poedit.net/
package_uuid      : 533034a6-00fa-4bac-9076-c293f03b4a83
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/vslavik/poedit/releases
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : c7681dffb4faaca8cba76befeeab75e18c37a7755d0fe06ca3b4e77e52ea90de
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : tX8n4M2mroPxqjOzkkceqllOcDU7x9ook+lP9KivGyJQH6ASiGBjy0cX8nQbtx3YaC5AFjCOmX4+IloK93aHpD6tf4P0MgVbnv3jmSNbeFYISgxoJkj7LNHmCWUQ9zYNZ4hB54KBbzs4miKsppANlq8ixTNYFXJmRnzuyxSQsxx5plIRTSvfZEiMSrdvty3js+2/jvqoC9xDCwBxJEoNMkVmVpRnRpDNqC5ImkTvzNqhN6uXJvl/ccoGNFJK842JqP7c3W6UX9XM6s5F0BePrfl9zO7zXOGTjl1OFSU/OlK5kVQG77TiLCa+AUsH/oHmfhncFH1kqoNdhjlrM8vv9w==
signature_date    : 2024-05-16T10:00:10.098508
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 *

# 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("*Poedit*.exe")[0]
    app_path = makepath(programfiles32, "Poedit", "Poedit.exe")

    def get_app_version(key):
        return get_file_properties(app_path)["ProductVersion"] + "." + get_file_properties(app_path)["FileVersion"].split(".")[-1]

    # Installing the software
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags="/verysilent /norestart",
        key="{68EB2C37-083A-4303-B5D8-41FA67E50B8F}_is1",
        min_version=control.get_software_version(),
        get_version=get_app_version,
    )

    print("Disabling: Auto-update check")
    registry_setstring(HKEY_LOCAL_MACHINE, r"SOFTWARE\Vaclav Slavik\Poedit\WinSparkle", "CheckForUpdates", "0")


def session_setup():
    print("Disabling: Auto-update check")
    registry_setstring(HKEY_CURRENT_USER, r"Software\Vaclav Slavik\Poedit\WinSparkle", "CheckForUpdates", "0")

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

# 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
bin_contains = "Poedit-"


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 = "https://poedit.net/download"

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all('https://poedit.net/download', "a","class","btn btn-secondary w5", proxies=proxies):
        if bin_contains in bs_search["href"]:
            url_dl = bs_search["href"]
            latest_bin = url_dl.split("/")[-1]
            version = latest_bin.split("-")[-2]
            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)

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

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return result

4c919425cbcca67ecb944b54d3401f40785be90c4ea7444287f6a5c89e4504d0 : setup.py
a27efd3ce1bd4b18892e894a53de60b65f13892fa3ba8b8b1c146702a54a26ee : Poedit-3.4.4-setup.exe
a7d1ebfdcd251b1e9a2b52d29ff2ca960b16955222df468a9c9bf0e13ba4c07f : update_package.py
c7681dffb4faaca8cba76befeeab75e18c37a7755d0fe06ca3b4e77e52ea90de : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
b7f03bf9dda411e6edee205e63c123e86e1570a390099c76dd31d649a7562217 : luti.json
e990e3e16f747a33a1053c080e8386eab0b497318bb03e77bcb5ae232577e235 : WAPT/control