- package: tis-xnview-classic
- name: XnView Classic
- version: 2.51.7-10
- categories: Utilities
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
- locale: all
- target_os: windows
- impacted_process: nconvert,xnview
- architecture: all
- signature_date:
- size: 21.83 Mo
- installed_size: 60.29 Mo
- conflicts :
package : tis-xnview-classic
version : 2.51.7-10
architecture : all
section : base
priority : optional
name : XnView Classic
categories : Utilities
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
description : XnView Classic is a Photo Viewer, Image Resizer & Batch Converter for Windows
depends :
conflicts : tis-xnview
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.1
sources : https://www.xnview.com/en/xnview/#downloads
installed_size : 60289510
impacted_process : nconvert,xnview
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 6be06f75-f2f1-4696-a87a-e11c96363271
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : c26f33277917b2c1e0ecf9853be3157a7cccc87faf9aa55db784c0529bfec2e0
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-09-16T08:03:17.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 : FjX050ANfMbO7H9Ve0h1nxuKdiA+eyddBTeUpVtPjxM9+p89oTpcG0hzLjPyOZqVF9NDbPK+DvRusjtzehV4o6inaaSJpOY2G6jBnfqUZTs+ABnUMT02iHrobKDAk4GjiSR+D3uh6ZVKroImncQ32RQe+TdN/2NE7/5MSIG3vLC72P1hzjp5JRmwiSsMCfPsSJqdlBH4YLcJqdMXGvE+1T55MJO93HHAwXiBXD53xNi+guZhYmW5HhDgArSJ9cbPlT9oxHxLw8yjYqyZYDUy4KMZzbQhT0zIuZDQ0VgmE3YXH73JqB3o7OL+pho59cyEhTuMlDwNjOMyaWb5/1g1Zg==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
install_exe_if_needed(
"XnView-win-full.exe",
silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
key="XnView_is1",
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()
download_url = "https://download.xnview.com/XnView-win-full.exe"
latest_bin = download_url.split("/")[-1]
# Deleting binaries
for f in glob.glob("*.exe") + glob.glob("*.msi"):
print("Removing: %s" % f)
remove_file(f)
# 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)
# Changing version of the package
version = get_version_from_binary(latest_bin)
if Version(version) > Version(control.get_software_version()):
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 or not update-package-sources
return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
676369b231ae98c0343de0ef660b5350087383156dc14b8de8762e4188112b5f : WAPT/control
c26f33277917b2c1e0ecf9853be3157a7cccc87faf9aa55db784c0529bfec2e0 : WAPT/icon.png
c4b38329f9a9eb40a1ff53c1005d63bd6905315c38f6a937c7e05abb27271743 : XnView-win-full.exe
4913a698d4d114bfda46730a8a56d135552d1fdddfb77cae5b0af770c7d4db82 : luti.json
0740fa4110805a2ea5b5ed2d19e20e93869d11d5a1ed09fec2cb4636c8ac06c7 : setup.py
122e043f1b184388934e9a602f616bb4767c7c76d97488b0208d64d79e022fc4 : update_package.py