tis-pdfsam icon

PDFsam Basic

Paquet d’installation silencieuse pour PDFsam Basic

5.4.0-6

  • package: tis-pdfsam
  • name: PDFsam Basic
  • version: 5.4.0-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:
  • size: 86.72 Mo
  • installed_size: 131.71 Mo
  • homepage : https://pdfsam.org/

package           : tis-pdfsam
version           : 5.4.0-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      : 1c4c920c-cf2c-485e-8e6a-66c01bf0378c
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    : 2025-09-29T16:13:29.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         : UgVFwolHDjhnC1Rm14wn8/flFf8kL1iEpYD6p6WIVGHAK94IXjWCF5pDmao1K7ubwi3qKmTLCO3p1jRDtfLhmdLgu8iCuy/FgcPdb8kEBGIRf7GHoalEBYHVLtid0al2SDcd6jkNnGm9Dit19+nH74D/DRBb4nd2fRPenFthSZjjCvNrIZySHUo9IhJK6Ymeh9sjgHY9J0UF1uNK+vz7hDjO4poO5nGX2WJLAD7/ZGSqP0F5WmzWIRZhsp6ZfFaXE7wLZuD4BjOFZkDJ1nsbQ871BrUXHDXEqLjp2mxwiDYVgBUlThgABufE2kDI5tdg49dTHFg4df6XANJDLfWsOw==

# -*- 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
9b08aaf3b679c3e0c8a54354e6329eb04f7aeaacc2e958cc7985dc9fb69f5ced : WAPT/control
7332a01aa80f667ce3cd79545bc9d3974baabe25bc7bc476deaee6bf5df4ad11 : WAPT/icon.png
a227e80e8e9b62eb31d72b83832789b0040ccd3e58b98ca167f58f471f8d4e2a : luti.json
32bddcbaa8a1c53566851ef9394f465a5e9ec165ef314acdbd466db5dee508c1 : pdfsam-5.4.0.msi
d60442dfab8319bbe0fcc842f98a66d22f1bfa87d9206842c11614b1d3f6cde1 : setup.py
3569c66debff02b920a9e8f8221642530cee7e3dddcd1347a0d38463dcbd47ae : update_package.py