git: adc793d0984f - main - graphics/gimp-gmic-plugin: Remove expired port:

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 12:51:47 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=adc793d0984fb5fa4bdb4e896ae418ff313f2750

commit adc793d0984fb5fa4bdb4e896ae418ff313f2750
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-21 12:51:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-21 12:51:24 +0000

    graphics/gimp-gmic-plugin: Remove expired port:
    
    2023-03-21 graphics/gimp-gmic-plugin: Broken since 2021
---
 MOVED                                              |  1 +
 graphics/Makefile                                  |  1 -
 graphics/gimp-gmic-plugin/Makefile                 | 75 ----------------------
 graphics/gimp-gmic-plugin/distinfo                 |  2 -
 graphics/gimp-gmic-plugin/files/patch-Makefile     | 56 ----------------
 .../gimp-gmic-plugin/files/patch-gmic__gimp.cpp    | 13 ----
 graphics/gimp-gmic-plugin/pkg-descr                | 10 ---
 7 files changed, 1 insertion(+), 157 deletions(-)

diff --git a/MOVED b/MOVED
index 347b0015c605..004c2da074a9 100644
--- a/MOVED
+++ b/MOVED
@@ -17819,3 +17819,4 @@ textproc/py-rstfmt||2023-03-20|Has expired: Broken since 2021
 graphics/rubygem-objectdetect||2023-03-20|Has expired: Broken since 2021
 graphics/p5-Image-ObjectDetect||2023-03-20|Has expired: Broken since 2021
 science/dcl||2023-03-20|Has expired: Broken since 2021
+graphics/gimp-gmic-plugin||2023-03-21|Has expired: Broken since 2021
diff --git a/graphics/Makefile b/graphics/Makefile
index 43391063b43e..1c971a89c668 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -261,7 +261,6 @@
     SUBDIR += gimp-app
     SUBDIR += gimp-beautify-plugin
     SUBDIR += gimp-data-extras
-    SUBDIR += gimp-gmic-plugin
     SUBDIR += gimp-jxl-plugin
     SUBDIR += gimp-lensfun-plugin
     SUBDIR += gimp-lqr-plugin
diff --git a/graphics/gimp-gmic-plugin/Makefile b/graphics/gimp-gmic-plugin/Makefile
deleted file mode 100644
index 9a18fdf9faed..000000000000
--- a/graphics/gimp-gmic-plugin/Makefile
+++ /dev/null
@@ -1,75 +0,0 @@
-PORTNAME=	gmic
-PORTVERSION=	1.6.9
-PORTREVISION=	37
-CATEGORIES=	graphics
-MASTER_SITES=	http://gmic.eu/files/source/
-PKGNAMEPREFIX=	gimp-
-PKGNAMESUFFIX=	-plugin
-DISTNAME=	${PORTNAME}_${PORTVERSION}
-
-MAINTAINER=	rm@FreeBSD.org
-COMMENT=	GREYC's Magic Image Converter
-WWW=		https://gmic.eu/
-
-BROKEN=		OpenCV4 no longer ships OpencCV-1.0 headers
-DEPRECATED=	Broken since 2021
-EXPIRATION_DATE=	2023-03-21
-
-LIB_DEPENDS=	libGraphicsMagick++.so:graphics/GraphicsMagick \
-		libOpenEXR.so:graphics/openexr \
-		libopencv_video.so:graphics/opencv \
-		libavcodec.so:multimedia/ffmpeg \
-		libfftw3.so:math/fftw3 \
-		libgimp-2.0.so:graphics/gimp-app \
-		libcurl.so:ftp/curl
-
-OPTIONS_DEFINE=	BASH EXAMPLES
-OPTIONS_SUB=	yes
-BASH_RUN_DEPENDS=	bash:shells/bash
-
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
-
-USES=		dos2unix gmake gnome localbase magick:6 pkgconfig xorg
-USE_GCC=	yes
-USE_GNOME=	gtk20
-USE_XORG=	x11 xext xrandr
-DOS2UNIX_FILES=	Makefile
-
-PLUGIN_DIR?=	libexec/gimp/2.2/plug-ins
-PLIST_SUB+=	PLUGIN_DIR=${PLUGIN_DIR}
-
-CFLAGS:=	${CFLAGS:N-O*:N-pipe}
-CXXFLAGS:=	${CXXFLAGS:N-O*:N-pipe}
-DOTLESS_VER=	${PORTVERSION:S/.//g}
-
-PLIST_FILES=	bin/gmic \
-		man/man1/gmic.1.gz \
-		%%BASH%%etc/bash_completion.d/gmic \
-		%%PLUGIN_DIR%%/gmic_gimp \
-		%%PLUGIN_DIR%%/cli_update${DOTLESS_VER}.gmic \
-		%%PLUGIN_DIR%%/gimp_update${DOTLESS_VER}.gmic
-
-EXAMPLESDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
-PORTEXAMPLES=	gmic_in_script.scm gmic_use_lib.cpp
-
-post-patch:
-	@${REINPLACE_CMD} -e 's#/usr/X11R6#${PREFIX}#g' \
-		-e 's#/usr/local#${LOCALBASE}#g' \
-		${WRKSRC}/Makefile
-
-do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/gmic_gimp ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
-	${INSTALL_DATA} ${WRKSRC}/../resources/cli_update${DOTLESS_VER}.gmic \
-		${WRKSRC}/../resources/gimp_update${DOTLESS_VER}.gmic \
-		${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/gmic ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/../man/gmic.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
-do-install-BASH-on:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
-	${INSTALL_SCRIPT} ${WRKSRC}/../resources/gmic_bashcompletion.sh \
-		${STAGEDIR}${PREFIX}/etc/bash_completion.d/gmic
-
-.include <bsd.port.mk>
diff --git a/graphics/gimp-gmic-plugin/distinfo b/graphics/gimp-gmic-plugin/distinfo
deleted file mode 100644
index c1095e3d2ad2..000000000000
--- a/graphics/gimp-gmic-plugin/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (gmic_1.6.9.tar.gz) = 8b836b4ac02a2d3963384951b6e00f2d8e19ede0b49ee93b041ef227cf9dd794
-SIZE (gmic_1.6.9.tar.gz) = 3278273
diff --git a/graphics/gimp-gmic-plugin/files/patch-Makefile b/graphics/gimp-gmic-plugin/files/patch-Makefile
deleted file mode 100644
index 1ffd23a5cb91..000000000000
--- a/graphics/gimp-gmic-plugin/files/patch-Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
---- Makefile.orig	2016-03-22 21:02:38 UTC
-+++ Makefile
-@@ -158,14 +158,14 @@ OPENMP_LIBS = -lgomp
- # This requires the presence of the X11 include and library files.
- ifneq ($(OS),Darwin)
- X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" `pkg-config --cflags x11 || echo -I/usr/X11R6/include` #-Dcimg_use_xrandr
--X11_LIBS = `pkg-config --libs x11 || echo -L/usr/X11R6/lib -lX11` -lpthread #`pkg-config --libs xrandr || echo -lXrandr`
-+X11_LIBS = `pkg-config --libs x11 || echo -L/usr/X11R6/lib -lX11` $(PTHREAD_LIBS) #`pkg-config --libs xrandr || echo -lXrandr`
- else
- ifeq (,$(wildcard /usr/X11R6))
- X11_CFLAGS = -Dcimg_display=0 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr
--X11_LIBS = -lpthread #`pkg-config --libs xrandr || echo -lXrandr`
-+X11_LIBS = $(PTHREAD_LIBS) #`pkg-config --libs xrandr || echo -lXrandr`
- else
- X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" `pkg-config --cflags x11 || echo -I/usr/X11R6/include` #-Dcimg_use_xrandr
--X11_LIBS = -L/usr/X11R6/lib -lX11 -lpthread #`pkg-config --libs xrandr || echo -lXrandr`
-+X11_LIBS = -L/usr/X11R6/lib -lX11 $(PTHREAD_LIBS) #`pkg-config --libs xrandr || echo -lXrandr`
- endif
- endif
- # Flags to enable fast display, using XShm.
-@@ -287,7 +287,7 @@ STD_GIMP_CFLAGS += $(PARALLEL_CFLAGS) $(
- STD_GIMP_LIBS += $(PARALLEL_LIBS) $(X11_LIBS)
- else # Windows.
- STD_GIMP_CFLAGS += $(PARALLEL_CFLAGS) $(OPENMP_CFLAGS) $(GDI32_CFLAGS)
--STD_GIMP_LIBS += -mwindows $(PARALLEL_LIBS) $(OPENMP_LIBS) $(GDI32_LIBS) -lpthread -DPSAPI_VERSION=1 -lpsapi
-+STD_GIMP_LIBS += -mwindows $(PARALLEL_LIBS) $(OPENMP_LIBS) $(GDI32_LIBS) $(PTHREAD_LIBS) -DPSAPI_VERSION=1 -lpsapi
- endif
- endif
- 
-@@ -323,7 +323,7 @@ ifeq ($(OS),Unix)
- 	@echo "**"
- 	@echo "** Start building G'MIC with default Unix configuration."
- 	@echo "**"
--	$(MAKE) cli gimp lib zart
-+	$(MAKE) cli gimp
- else
- ifeq ($(OS),Darwin)
- 	@echo "**"
-@@ -339,7 +339,7 @@ endif
- endif
- 
- cli:
--	$(MAKE) "CFLAGS+=$(STD_CLI_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_CLI_LIBS)" gmic
-+	$(MAKE) "CFLAGS+=$(STD_CLI_CFLAGS)" "LIBS+=$(STD_CLI_LIBS)" gmic
- 	$(STRIP) gmic$(EXE)
- 
- cli_s:
-@@ -349,7 +349,7 @@ ifeq ($(OS),Darwin)
- endif
- 
- gimp:
--	$(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_GIMP_LIBS)" gmic_gimp
-+	$(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS)" "LIBS+=$(STD_GIMP_LIBS)" gmic_gimp
- 
- lib:
- 	$(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_LIB_LIBS)" libgmic
diff --git a/graphics/gimp-gmic-plugin/files/patch-gmic__gimp.cpp b/graphics/gimp-gmic-plugin/files/patch-gmic__gimp.cpp
deleted file mode 100644
index 2e4cfeaced44..000000000000
--- a/graphics/gimp-gmic-plugin/files/patch-gmic__gimp.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- gmic_gimp.cpp.orig	2016-02-05 13:45:21 UTC
-+++ gmic_gimp.cpp
-@@ -2724,10 +2724,6 @@ void process_image(const char *const com
-         PROCESS_MEMORY_COUNTERS pmc;
-         if (GetProcessMemoryInfo(GetCurrentProcess(),&pmc,sizeof(pmc)))
-           used_memory = (unsigned long)(pmc.WorkingSetSize/1024/1024);
--#elif cimg_OS==1 // #if cimg_OS==2
--        CImg<char> st; st.load_raw("/proc/self/status",512); st.back() = 0;
--        const char *const s = std::strstr(st,"VmRSS:");
--        if (s && cimg_sscanf(s + 7,"%u",&used_memory)==1) used_memory/=1024;
- #endif // #if cimg_OS==2
-       }
- 
diff --git a/graphics/gimp-gmic-plugin/pkg-descr b/graphics/gimp-gmic-plugin/pkg-descr
deleted file mode 100644
index 4e62421e9d44..000000000000
--- a/graphics/gimp-gmic-plugin/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-G'MIC stands for GREYC's Magic Image Converter. This project aims to:
-
-  * Define a minimal but powerful script language (G'MIC) dedicated to the
-    design of image processing pipelines.
-  * Provide an interpreter of this language (in C++), distributed as an
-    open-source module/library embeddable in third-party applications.
-  * Propose two binary tools embedding this interpreter :
-    o The command-line executable gmic to use the G'MIC framework from a shell.
-    o The interactive plug-in gmic_gimp to bring G'MIC capabilities to the image
-      retouching software GIMP.