tis-ghostscript

10.0.0-3
Ghostscript is a software suite for processing PostScript and PDF file formats.
6858 downloads
Download
See build result See VirusTotal scan
tis-ghostscript icon
  • package : tis-ghostscript
  • name : Ghostscript
  • version : 10.0.0-3
  • categories : Office,Development
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau,Clément BAZIRET
  • installed_size : 54824960
  • editor : Artifex Software, Inc.
  • licence : proprietary_free,wapt_public
  • signature_date : 2024-02-25T12:00:08.417317
  • size : 42.80 Mo
  • locale : all
  • target_os : windows
  • impacted_process : uninstgs,gswin64,gswin64c,gswin32,gswin32c
  • architecture : x86
  • Homepage : https://www.ghostscript.com/
package           : tis-ghostscript
version           : 10.0.0-3
architecture      : x86
section           : base
priority          : optional
name              : Ghostscript
categories        : Office,Development
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau,Clément BAZIRET
description       : Ghostscript is a software suite for processing PostScript and PDF file formats.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://www.ghostscript.com/download/gsdnld.html
installed_size    : 54824960
impacted_process  : uninstgs,gswin64,gswin64c,gswin32,gswin32c
description_fr    : Ghostscript est une suite logicielle permettant le traitement des formats de fichiers PostScript et PDF.
description_pl    : Ghostscript to pakiet oprogramowania do przetwarzania plików w formatach PostScript i PDF
description_de    : Ghostscript ist eine Software-Suite zur Verarbeitung der Dateiformate PostScript und PDF
description_es    : Ghostscript es un paquete de software para procesar los formatos de archivo PostScript y PDF
description_pt    : Ghostscript é um conjunto de software para processar formatos de ficheiros PostScript e PDF
description_it    : Ghostscript è una suite software per l'elaborazione dei formati di file PostScript e PDF
description_nl    : Ghostscript is een softwarepakket voor het verwerken van PostScript- en PDF-bestandsformaten
description_ru    : Ghostscript - это программный пакет для обработки файлов форматов PostScript и PDF
audit_schedule    : 
editor            : Artifex Software, Inc.
keywords          : ghostscript,software,suite,processing,postscript,pdf,file,formats
licence           : proprietary_free,wapt_public
homepage          : https://www.ghostscript.com/
package_uuid      : 616f5805-b194-4d51-b9fa-cd99acf2ad5e
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.ghostscript.com/doc/current/History9.htm
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : c5e90abd856c7c8df420ce94daa99061936e5902b500e311668a32a254f9e57a
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : Q0uBTaGcZQPnrhlMX/2QuO48hgQJfUJA/fqMy4cH7iIbYtcEB3VZIyJZCINNoTrSdaA+AHrJYo+acVRpFhULucTT66L3KIK04b8JrQJSLwkk4XPlA73m6ASYEgNsSvDx25gglF4XV6qLwcEStnfmmQJmDUo7cpaVaNniC2RD1nmM/YcigBj/6C4Cmccm3tiqv7ESuGBOS6tMwIaj5RYnCTBKhG8nruFoZWnj299v5Me71mkW9JbUVSmM4G9AuKAeMfGOgz86amo2bFig2DRKLdDgud8uUxGkukxCv1D+HiUGgkJpnPZZuT5aEC17i+0UVDMi/OZoACwc6Jl2UoI6fw==
signature_date    : 2024-02-25T12:00:08.417317
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 *

"""
    Ghostscript doesn't have a silent installation anymore since version 10.0.1 so locked version to 10.0.0/
        https://artifex.com/news/ghostscript-10.01.0-disabling-silent-install-option

"""


def install():
    for gs in installed_softwares("Ghostscript"):
        if Version(gs["version"]) < Version(control.get_software_version()):
            killalltasks("gswin32.exe")
            cmd = uninstall_cmd(gs["key"])
            run(cmd)

    # Installing the package
    install_exe_if_needed(
        glob.glob("gs*w32.exe")[0],
        silentflags="/S",
        name="GPL Ghostscript",
        min_version=control.get_software_version(),
    )
# -*- coding: utf-8 -*-
from setuphelpers import *


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

    # Checking if 32 or 64 bit
    if control.architecture == "x64":
        binary_arch = "64"
    else:
        binary_arch = "32"

    # Providing fixed version information
    download_url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs1000/gs1000w%s.exe" % binary_arch
    version = "10.0.0"
    latest_bin = download_url.split("/")[-1]

    # 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)
    else:
        print("Binary is present: %s" % latest_bin)

    # Checking version from file
    # No version contained in the ghostscript exe
    # if get_os_name() == "Windows" and "windows" in control.target_os.lower():
    #     version_from_file = get_version_from_binary(latest_bin)
    #     if Version(version_from_file, 4) == Version(version, 4):
    #         print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
    #     else:
    #         error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated
36e5e3a9562a612a626a11f72bc9e13feb003577133ba7a9ec77bcce4f7b0b3c : setup.py
 : __pycache__
17bd4698bfe90c86f207988ceae4f4555c56c2274d6a781079ef5048be738a2e : update_package.py
7b7d6a2786ce2b8f91a5f0295d82f2678304bf0bf9aa5501b6f98f90cd98520f : gs1000w32.exe
c5e90abd856c7c8df420ce94daa99061936e5902b500e311668a32a254f9e57a : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
1feead178e29fb9f98983c3f9122afdd991de3ed45776e359f210173f26880cd : luti.json
fa7f65d341ce2511128b6598192d7bd50377d711b69074e44fc77568accf7788 : WAPT/control