Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2020 05:56:15 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r529861 - in head/graphics/nomacs: . files
Message-ID:  <202003300556.02U5uFD1036924@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Mon Mar 30 05:56:15 2020
New Revision: 529861
URL: https://svnweb.freebsd.org/changeset/ports/529861

Log:
  graphics/nomacs: Update to 3.14.2, take MAINTAINER
  
  ChangeLog: https://github.com/nomacs/nomacs/releases
  
  * Themes added (light and dark)
  	* RAW loader improvements
  	* Anti-aliasing improved
  	* Printing improved
  	* Batch cropping added
  	* Support for more file formats
  	* Start-up time reduced
  	* And various bug fixes
  
  Submitter requests maintainership
  
  PR:     245079
  Submitted by:   vidar@karlsen.tech

Added:
  head/graphics/nomacs/files/patch-ImageLounge_3rdparty_drif_drif__image.h   (contents, props changed)
Deleted:
  head/graphics/nomacs/files/patch-cmake_Unix.cmake
  head/graphics/nomacs/files/patch-cmake_UnixBuildTarget.cmake
  head/graphics/nomacs/files/patch-src_DkCore_DkMetaData.cpp
  head/graphics/nomacs/files/patch-src_DkCore_DkPluginManager.cpp
Modified:
  head/graphics/nomacs/Makefile
  head/graphics/nomacs/distinfo
  head/graphics/nomacs/pkg-plist

Modified: head/graphics/nomacs/Makefile
==============================================================================
--- head/graphics/nomacs/Makefile	Mon Mar 30 05:52:12 2020	(r529860)
+++ head/graphics/nomacs/Makefile	Mon Mar 30 05:56:15 2020	(r529861)
@@ -1,39 +1,46 @@
 # $FreeBSD$
 
 PORTNAME=	nomacs
-PORTVERSION=	3.6.1
-PORTREVISION=	9
+PORTVERSION=	3.14.2
 CATEGORIES=	graphics
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	vidar@karlsen.tech
 COMMENT=	Small, fast, and free image viewer
 
 LICENSE=	GPLv3
 
 LIB_DEPENDS=	libexiv2.so:graphics/exiv2 \
-		libsysinfo.so:devel/libsysinfo \
 		libopencv_highgui.so:graphics/opencv \
 		libopencv_core.so:graphics/opencv-core \
 		liblcms2.so:graphics/lcms2 \
-		libtbb.so:devel/tbb
+		libquazip5.so:archivers/quazip
 
-USES=		cmake compiler:c++11-lang desktop-file-utils dos2unix \
-		pkgconfig qt:5 tar:bzip2
+USES=		cmake compiler:c++11-lang desktop-file-utils \
+		pkgconfig qt:5
 USE_QT=		concurrent core gui network printsupport svg widgets \
 		buildtools_build linguisttools_build qmake_build
 
-DOS2UNIX_REGEX=	.*\.(cpp|h|txt)
+USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	RAW TIFF
-OPTIONS_DEFAULT=	RAW TIFF
+USE_GITHUB=	yes
 
+CMAKE_ARGS=		-DUSE_SYSTEM_QUAZIP=ON
+CMAKE_SOURCE_PATH=	${WRKSRC}/ImageLounge
+
+OPTIONS_DEFINE=		RAW TIFF TRANSLATIONS PLUGINS
+OPTIONS_DEFAULT=	RAW TIFF TRANSLATIONS PLUGINS
+OPTIONS_SUB=		yes
+
 RAW_LIB_DEPENDS=	libraw.so:graphics/libraw
 RAW_CMAKE_BOOL=		ENABLE_RAW
 
 TIFF_LIB_DEPENDS=	libtiff.so:graphics/tiff
-TIFF_CMAKE_BOOL=		ENABLE_TIFF
+TIFF_CMAKE_BOOL=	ENABLE_TIFF
 
-USE_GITHUB=	yes
-WRKSRC_SUBDIR=	ImageLounge
+TRANSLATIONS_CMAKE_BOOL=	ENABLE_TRANSLATIONS
+TRANSLATIONS_DESC=		Install translations
+
+PLUGINS_GH_TUPLE=	nomacs:nomacs-plugins:3.14:plugins/ImageLounge/plugins
+PLUGINS_CMAKE_ON=	ENABLE_PLUGINS
 
 .include <bsd.port.mk>

Modified: head/graphics/nomacs/distinfo
==============================================================================
--- head/graphics/nomacs/distinfo	Mon Mar 30 05:52:12 2020	(r529860)
+++ head/graphics/nomacs/distinfo	Mon Mar 30 05:56:15 2020	(r529861)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1503992141
-SHA256 (nomacs-nomacs-3.6.1_GH0.tar.gz) = 09b289cac51a5fdccc02aa4a60405bbbd4b5bfdb6b2a52ca5b0cb3b0f7a87068
-SIZE (nomacs-nomacs-3.6.1_GH0.tar.gz) = 28604636
+TIMESTAMP = 1585235191
+SHA256 (nomacs-nomacs-3.14.2_GH0.tar.gz) = 0e9e59fac5e369c1141692b723c2139ca28d59a9b0a909f0685bc437d3aa183f
+SIZE (nomacs-nomacs-3.14.2_GH0.tar.gz) = 2169504
+SHA256 (nomacs-nomacs-plugins-3.14_GH0.tar.gz) = df752bc57c0136a367553457452ee5b44b35524536e5fea1b51083d4ac09b76a
+SIZE (nomacs-nomacs-plugins-3.14_GH0.tar.gz) = 514472

Added: head/graphics/nomacs/files/patch-ImageLounge_3rdparty_drif_drif__image.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/nomacs/files/patch-ImageLounge_3rdparty_drif_drif__image.h	Mon Mar 30 05:56:15 2020	(r529861)
@@ -0,0 +1,11 @@
+--- ImageLounge/3rdparty/drif/drif_image.h.orig	2020-03-25 14:20:37 UTC
++++ ImageLounge/3rdparty/drif/drif_image.h
+@@ -26,7 +26,7 @@
+ #include <stdint.h>
+ #include <stdio.h>
+ 
+-#if defined(Q_OS_MAC) || defined(Q_OS_OPENBSD)
++#if defined(Q_OS_MAC) || defined(Q_OS_OPENBSD) || defined(Q_OS_FREEBSD)
+ #include <stdlib.h>
+ #else 
+ #include <malloc.h>

Modified: head/graphics/nomacs/pkg-plist
==============================================================================
--- head/graphics/nomacs/pkg-plist	Mon Mar 30 05:52:12 2020	(r529860)
+++ head/graphics/nomacs/pkg-plist	Mon Mar 30 05:56:15 2020	(r529861)
@@ -1,33 +1,63 @@
 bin/nomacs
 lib/libnomacsCore.so
 lib/libnomacsCore.so.3
-lib/libnomacsCore.so.3.6.0
-share/appdata/nomacs.appdata.xml
+lib/libnomacsCore.so.3.14.0
 share/applications/nomacs.desktop
 share/man/man1/nomacs.1.gz
-%%DATADIR%%/translations/nomacs_als.qm
-%%DATADIR%%/translations/nomacs_ar.qm
-%%DATADIR%%/translations/nomacs_az.qm
-%%DATADIR%%/translations/nomacs_bg.qm
-%%DATADIR%%/translations/nomacs_bs.qm
-%%DATADIR%%/translations/nomacs_cs.qm
-%%DATADIR%%/translations/nomacs_de.qm
-%%DATADIR%%/translations/nomacs_en.qm
-%%DATADIR%%/translations/nomacs_es.qm
-%%DATADIR%%/translations/nomacs_fr.qm
-%%DATADIR%%/translations/nomacs_hr.qm
-%%DATADIR%%/translations/nomacs_it.qm
-%%DATADIR%%/translations/nomacs_ja.qm
-%%DATADIR%%/translations/nomacs_ko.qm
-%%DATADIR%%/translations/nomacs_nl.qm
-%%DATADIR%%/translations/nomacs_pl.qm
-%%DATADIR%%/translations/nomacs_pt.qm
-%%DATADIR%%/translations/nomacs_ru.qm
-%%DATADIR%%/translations/nomacs_sk.qm
-%%DATADIR%%/translations/nomacs_sl.qm
-%%DATADIR%%/translations/nomacs_sr.qm
-%%DATADIR%%/translations/nomacs_sv.qm
-%%DATADIR%%/translations/nomacs_tr.qm
-%%DATADIR%%/translations/nomacs_uk.qm
-%%DATADIR%%/translations/nomacs_zh.qm
+share/metainfo/nomacs.appdata.xml
+%%DATADIR%%/Image Lounge/themes/Dark-Theme.css
+%%DATADIR%%/Image Lounge/themes/Light-Theme.css
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_af.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_als.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_ar.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_az.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_bg.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_br_pt.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_bs.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_ca.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_cs.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_da.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_de.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_el.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_en.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_es.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_et.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_fi.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_fr.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_he.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_hi.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_hr.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_hu.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_id.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_it.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_ja.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_ko.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_nl.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_no.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_pl.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_pt.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_ro.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_ru.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_sk.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_sl.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_sr.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_sv.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_tr.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_tw_zh.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_uk.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_vi.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_zh.qm
+%%TRANSLATIONS%%%%DATADIR%%/Image Lounge/translations/nomacs_zh_CN.qm
 share/pixmaps/nomacs.svg
+%%PLUGINS%%lib/nomacs-plugins/libaffineTransformPlugin.so
+%%PLUGINS%%lib/nomacs-plugins/libaffineTransformPlugin.so.3
+%%PLUGINS%%lib/nomacs-plugins/libaffineTransformPlugin.so.3.14.0
+%%PLUGINS%%lib/nomacs-plugins/libfakeMiniaturesPlugin.so
+%%PLUGINS%%lib/nomacs-plugins/libfakeMiniaturesPlugin.so.3
+%%PLUGINS%%lib/nomacs-plugins/libfakeMiniaturesPlugin.so.3.14.0
+%%PLUGINS%%lib/nomacs-plugins/libpageExtractionPlugin.so
+%%PLUGINS%%lib/nomacs-plugins/libpageExtractionPlugin.so.3
+%%PLUGINS%%lib/nomacs-plugins/libpageExtractionPlugin.so.3.14.0
+%%PLUGINS%%lib/nomacs-plugins/libpaintPlugin.so
+%%PLUGINS%%lib/nomacs-plugins/libpaintPlugin.so.3
+%%PLUGINS%%lib/nomacs-plugins/libpaintPlugin.so.3.14.0



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003300556.02U5uFD1036924>