1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

graphics/gmic: Update 3.0.1 -> 3.1.2

This commit is contained in:
Yuri Victorovich 2022-05-16 22:20:09 -07:00
parent b021ddea8b
commit 27089289ec
7 changed files with 22 additions and 38 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= darktable
PORTVERSION= 3.8.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/

View File

@ -1,5 +1,5 @@
PORTNAME= gmic
DISTVERSION= 3.0.1
DISTVERSION= 3.1.2
CATEGORIES= graphics
MASTER_SITES= https://gmic.eu/files/source/
DISTNAME= ${PORTNAME}_${DISTVERSION}
@ -14,6 +14,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BROKEN_i386= error: "c++ crashes, clang-5 and 6 fail: undefined reference to `__atomic_load'"
BUILD_DEPENDS= gimptool-2.0:graphics/gimp-app
LIB_DEPENDS= libcurl.so:ftp/curl \
libfftw3.so:math/fftw3 \
libGraphicsMagick++.so:graphics/GraphicsMagick \
@ -23,24 +24,18 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libpng.so:graphics/png \
libtiff.so:graphics/tiff
USES= cmake compiler:c++11-lang jpeg localbase:ldflags pkgconfig
USES= compiler:c++11-lang gmake jpeg localbase:ldflags pkgconfig
USE_LDCONFIG= yes
CMAKE_OFF= BUILD_LIB_STATIC
CMAKE_ON= ENABLE_DYNAMIC_LINKING
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= OPENMP X11
OPTIONS_DEFAULT= OPENMP X11
OPTIONS_SUB= yes
MAKE_JOBS_UNSAFE= yes
OPENMP_CMAKE_BOOL= ENABLE_OPENMP
X11_CMAKE_BOOL= ENABLE_X
X11_USES= xorg
X11_USE= XORG=ice,sm,x11,xext
ALL_TARGET= lib
PORTSCOUT= limit:[0-9]\..* # not v.220 and similar
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgmic.so.312
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1642176210
SHA256 (gmic_3.0.1.tar.gz) = 6cc20a20e3ab53ce485ccf6e044a30141b3d62cf7743b83bb04906ff29453035
SIZE (gmic_3.0.1.tar.gz) = 10457923
TIMESTAMP = 1652739109
SHA256 (gmic_3.1.2.tar.gz) = d5070c559c75161a225d74a99c19faf2485a3983139290f998cc6359bb318ba4
SIZE (gmic_3.1.2.tar.gz) = 10694085

View File

@ -1,11 +0,0 @@
--- CMakeLists.txt.orig 2021-12-09 09:25:45 UTC
+++ CMakeLists.txt
@@ -100,7 +100,7 @@ list(APPEND GMIC_CXX_COMPILE_FLAGS -Dgmic_build -Dcimg
if(APPLE)
list(APPEND GMIC_CXX_COMPILE_FLAGS -mmacosx-version-min=10.8 -stdlib=libc++ -Wno-error=c++11-narrowing -Wc++11-extensions -fpermissive)
else()
- list(APPEND GMIC_CXX_COMPILE_FLAGS -Wno-error=narrowing -fno-ipa-sra -fpermissive)
+ list(APPEND GMIC_CXX_COMPILE_FLAGS -Wno-error=narrowing -fpermissive)
endif()
if(NOT "${PRERELEASE_TAG}" STREQUAL "")

View File

@ -1,6 +1,6 @@
--- src/gmic.cpp.orig 2020-06-10 13:43:16 UTC
--- src/gmic.cpp.orig 2022-05-11 08:15:20 UTC
+++ src/gmic.cpp
@@ -2320,7 +2320,7 @@ double gmic::mp_setname(const unsigned int ind, const
@@ -2516,7 +2516,7 @@ double gmic::mp_store(const Ts *const ptr, const unsig
// Manage correspondence between abort pointers and thread ids.
CImgList<void*> gmic::list_p_is_abort = CImgList<void*>();
bool *gmic::abort_ptr(bool *const p_is_abort) {
@ -9,7 +9,7 @@
void* tid = (void*)(cimg_ulong)getpid();
#elif cimg_OS==1
void* tid = (void*)(cimg_ulong)syscall(SYS_gettid);
@@ -2660,7 +2660,7 @@ gmic::~gmic() {
@@ -2858,7 +2858,7 @@ gmic::~gmic() {
cimg::exception_mode(cimg_exception_mode);
cimg_forX(display_windows,l) delete &display_window(l);
cimg::mutex(21);

View File

@ -1,9 +1,9 @@
bin/gmic
include/gmic.h
lib/cmake/gmic/GmicConfig.cmake
lib/cmake/gmic/GmicTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/gmic/GmicTargets.cmake
include/gmic_libc.h
lib/libgmic.so
lib/libgmic.so.1
lib/libgmic.so.3
lib/libgmic.so.312
libexec/gimp/2.2/plug-ins/gmic_cluts.gmz
libexec/gimp/2.2/plug-ins/gmic_denoise_cnn.gmz
share/man/fr/man1/gmic.1.gz
share/man/man1/gmic.1.gz
share/bash-completion/completions/gmic

View File

@ -1,6 +1,6 @@
PORTNAME= zart
PORTVERSION= g20191124
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= https://gmic.eu/files/source/:gmic
DISTFILES= gmic_${GMIC_VERSION}.tar.gz:gmic