tis-pdfsam

5.2.9-6
PDFsam Basic or PDF Split and Merge is a free and open-source cross-platform desktop application to split, merge, extract pages, rotate and mix PDF documents.
14062 downloads
Download
See build result See VirusTotal scan
tis-pdfsam icon
  • package : tis-pdfsam
  • name : PDFsam Basic
  • version : 5.2.9-6
  • categories : Utilities,Office
  • maintainer : WAPT Team,Jimmy PELÉ
  • editor : Andrea Vacondio
  • licence : AGPLv3
  • locale : all
  • target_os : windows
  • impacted_process : javaw.exe
  • architecture : x64
  • signature_date : 2024-11-02 13:00
  • size : 82.65 Mo
  • installed_size : 131.71 Mo
  • homepage : https://pdfsam.org/
package           : tis-pdfsam
version           : 5.2.9-6
architecture      : x64
section           : base
priority          : optional
name              : PDFsam Basic
categories        : Utilities,Office
maintainer        : WAPT Team,Jimmy PELÉ
description       : PDFsam Basic or PDF Split and Merge is a free and open-source cross-platform desktop application to split, merge, extract pages, rotate and mix PDF documents.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://github.com/torakiki/pdfsam/releases
installed_size    : 131706880
impacted_process  : javaw.exe
description_fr    : PDFsam Basic ou PDF Split and Merge est un logiciel libre multiplateforme pour diviser, fusionner, extraire des pages, faire pivoter et associer des documents PDF.
description_pl    : PDFsam Basic lub PDF Split and Merge jest darmową i open-source cross-platformową aplikacją desktopową do dzielenia, łączenia, wyodrębniania stron, obracania i mieszania dokumentów PDF
description_de    : PDFsam Basic oder PDF Split and Merge ist eine kostenlose und quelloffene, plattformübergreifende Desktop-Anwendung zum Teilen, Zusammenführen, Extrahieren von Seiten, Drehen und Mischen von PDF-Dokumenten
description_es    : PDFsam Basic o PDF Split and Merge es una aplicación de escritorio multiplataforma gratuita y de código abierto para dividir, fusionar, extraer páginas, rotar y mezclar documentos PDF
description_pt    : PDFsam Basic ou PDF Split and Merge é uma aplicação de ambiente de trabalho livre e de código aberto para dividir, fundir, extrair páginas, rodar e misturar documentos PDF
description_it    : PDFsam Basic o PDF Split and Merge è un'applicazione desktop multipiattaforma gratuita e open-source per dividere, unire, estrarre pagine, ruotare e mescolare documenti PDF
description_nl    : PDFsam Basic of PDF Splitsen en Samenvoegen is een gratis en open-source cross-platform desktop toepassing om PDF-documenten te splitsen, samen te voegen, pagina's te extraheren, te roteren en te mengen
description_ru    : PDFsam Basic или PDF Split and Merge - это бесплатное кроссплатформенное настольное приложение с открытым исходным кодом для разделения, слияния, извлечения страниц, поворота и смешивания документов PDF
audit_schedule    : 
editor            : Andrea Vacondio
keywords          : pdfsam,pdf,sam,split,merge,basic,extract,page,pages,rotate,mix,document,documents
licence           : AGPLv3
homepage          : https://pdfsam.org/
package_uuid      : 2cd72de4-6fe2-4238-924e-fbd9601bf429
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.0
max_os_version    : 
icon_sha256sum    : 7332a01aa80f667ce3cd79545bc9d3974baabe25bc7bc476deaee6bf5df4ad11
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-11-02T13:00: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         : NNbis9SvhifB4DqxzSPLG0yIXjpPPSjgpHYnd2iA5E1cJpMQ8Yc566PadGD0DSXJcXEcDwDPx3ixJaQ8M+P/XtkRRcYRGRe0NviWwfcDcUjceGA/zc4s29GFPsnlKTxF0PJQU2KeO4M0WW4ZrQDyOrIsZtA8CwUJul41UMiVQHpa3aoKrbhPQE409I29vunUzDMZKKXrjz3M/7JSqpD1SPOMyxbWw0TSRT6/ghvmVMZbA8d/y07AZwZdwhaNDmviLQt3/EfShFHHD7Wphm87bxAxqB5EPH2F0W+vfXAt0XWTyH/GymH07CVcTsjIuVs//A2HVUPbfO7hjHTjOBJbzg==
# -*- coding: utf-8 -*-
from setuphelpers import *

# Installation procedure: https://github.com/torakiki/pdfsam/wiki/Properties-and-arguments


def install():
    # Initializing variables
    package_version = control.get_software_version()

    # Installing the package
    print("Installing: %s" % control.name)
    install_msi_if_needed(
        "pdfsam-%s.msi" % package_version,
        properties="PREMIUM_MODULES=false CHECK_FOR_NEWS=false CHECK_FOR_UPDATES=false SKIPTHANKSPAGE=true DONATE_NOTIFICATION=false PLAY_SOUNDS=false",
        min_version=package_version,
    )

    remove_desktop_shortcut("PDFsam Basic")
# -*- coding: utf-8 -*-
from setuphelpers import *
import json


def update_package():
    print("Downloading/Updating package content from upstream binary sources")

    # Initializing variables
    proxies = get_proxies()
    bin_name_string = "pdfsam-%s.msi"
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url_api = "https://api.github.com/repos/torakiki/pdfsam/releases/latest"

    # Getting latest informations from Github API
    json_load = json.loads(wgets(url_api, proxies=proxies))
    for download in json_load["assets"]:
        if download["browser_download_url"].endswith(".msi"):
            url_dl = download["browser_download_url"]
            break

    version = json_load["tag_name"].replace("v", "")
    latest_bin = bin_name_string % version

    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: " + latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

        # Changing version of the package
        control.version = "%s-%s" % (version, int(control.version.split("-")[-1]) + 1)
        control.save_control_to_wapt()
        print("Changing package version to: %s in WAPT\\control" % control.version)

    # Deleting outdated binaries
    remove_outdated_binaries(version)
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
808acf1e0137e4491a0729ec7177f53aa181e8f5f5d229af95df8e2cb575f7d5 : WAPT/control
7332a01aa80f667ce3cd79545bc9d3974baabe25bc7bc476deaee6bf5df4ad11 : WAPT/icon.png
4378f2f2208564b23cb372a3fc29bd5ede8cef95c3ecd9fc055e2ce393e87652 : luti.json
6c783236d1fb0acd9167dce637837c1ccf9b7b3a52bd5ccb03553273e0d6d3cb : pdfsam-5.2.9.msi
d60442dfab8319bbe0fcc842f98a66d22f1bfa87d9206842c11614b1d3f6cde1 : setup.py
3569c66debff02b920a9e8f8221642530cee7e3dddcd1347a0d38463dcbd47ae : update_package.py