git: 7cd43a7476f6 - main - graphics/gimmage: Remove expired port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 29 Feb 2024 12:08:33 UTC
The branch main has been updated by bofh:

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

commit 7cd43a7476f6c8153ad1dc3820bf3d4352682140
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-29 11:53:12 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-29 11:53:12 +0000

    graphics/gimmage: Remove expired port
    
    graphics/gimmage
---
 MOVED                                              |  1 +
 graphics/Makefile                                  |  1 -
 graphics/gimmage/Makefile                          | 40 ----------------------
 graphics/gimmage/distinfo                          |  3 --
 graphics/gimmage/files/patch-src__FileManager.cpp  | 35 -------------------
 .../gimmage/files/patch-src__ImageEventBox.cpp     | 38 --------------------
 graphics/gimmage/pkg-descr                         |  7 ----
 graphics/gimmage/pkg-plist                         |  9 -----
 8 files changed, 1 insertion(+), 133 deletions(-)

diff --git a/MOVED b/MOVED
index 30c8d5a3eff9..5b862470dbb3 100644
--- a/MOVED
+++ b/MOVED
@@ -3010,3 +3010,4 @@ dns/sheerdns||2024-02-29|Has expired: Abandonware, upstream dead and last update
 finance/cointop||2024-02-29|Has expired: Repo archived upstream Nov 18, 2023
 finance/xtrader||2024-02-29|Has expired: Abandoned upstream
 graphics/acidwarp||2024-02-29|Has expired: Unmaintained by upstream use acidwarp-sdl instead
+graphics/gimmage||2024-02-29|Has expired: Last release in 2007, depends on legacy libraries such as GTK2. Consider using graphics/geeqie or graphics/imv
diff --git a/graphics/Makefile b/graphics/Makefile
index 05d030b7c100..96962994cccd 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -242,7 +242,6 @@
     SUBDIR += gifski
     SUBDIR += giftool
     SUBDIR += gimageview
-    SUBDIR += gimmage
     SUBDIR += gimp
     SUBDIR += gimp-app
     SUBDIR += gimp-beautify-plugin
diff --git a/graphics/gimmage/Makefile b/graphics/gimmage/Makefile
deleted file mode 100644
index d0decc7989c2..000000000000
--- a/graphics/gimmage/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-PORTNAME=	gimmage
-PORTVERSION=	0.2.3
-PORTREVISION=	19
-CATEGORIES=	graphics
-MASTER_SITES=	BERLIOS
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Simple image viewer
-WWW=		https://sourceforge.net/projects/gimmage.berlios/
-
-LICENSE=	GPLv2+
-LICENSE_FILE=	${WRKSRC}/COPYING
-
-DEPRECATED=	Last release in 2007, depends on legacy libraries such as GTK2. Consider using graphics/geeqie or graphics/imv
-EXPIRATION_DATE=2024-02-29
-
-LIB_DEPENDS=	libcurl.so:ftp/curl \
-		libfontconfig.so:x11-fonts/fontconfig \
-		libfreetype.so:print/freetype2
-
-USES=		compiler:c++11-lang desktop-file-utils gettext gnome pkgconfig
-USE_GNOME=	gtkmm24 gdkpixbuf2
-GNU_CONFIGURE=	yes
-USE_CXXSTD=	c++11
-
-OPTIONS_DEFINE=		NLS
-NLS_USES=		gettext
-NLS_CONFIGURE_ENABLE=	gettext
-
-CONFIGURE_ARGS=	--with-libintl-prefix=${LOCALBASE}
-
-.include <bsd.port.pre.mk>
-
-.if ! ${CHOSEN_COMPILER_TYPE} == gcc
-CXXFLAGS+=	-Wc++11-extensions -Wc++11-long-long \
-		-Wunused-command-line-argument -Wreturn-type \
-		-Wwritable-strings -Wlogical-op-parentheses
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/graphics/gimmage/distinfo b/graphics/gimmage/distinfo
deleted file mode 100644
index 49ad4ef14f18..000000000000
--- a/graphics/gimmage/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1489181478
-SHA256 (gimmage-0.2.3.tar.gz) = 3d5ce3c3fd22efc9fd930e97e33e2c13a755e0a9cf099d12d5f7ecf92cab907b
-SIZE (gimmage-0.2.3.tar.gz) = 193777
diff --git a/graphics/gimmage/files/patch-src__FileManager.cpp b/graphics/gimmage/files/patch-src__FileManager.cpp
deleted file mode 100644
index 5607511ebfea..000000000000
--- a/graphics/gimmage/files/patch-src__FileManager.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
---- src/FileManager.cpp.orig	2007-06-26 13:51:15 UTC
-+++ src/FileManager.cpp
-@@ -23,12 +23,13 @@ Copyright 2006 Bartek Kostrzewa
- 
- #include "FileManager.h"
- #include "defines.h"
-+#define get_current_dir_name() getcwd(NULL, PATH_MAX)
- 
- #include "../config.h"
- 
- extern "C" {
- #include <libintl.h>
--// #include <unistd.h>
-+#include <unistd.h>
- #include <sys/stat.h>
- }
- 
-@@ -378,7 +379,7 @@ Glib::ustring FileManager::get_previous_file()
- 	// OR
- 	// we've hit the first picture going forwards and now want to go backwards
- 	// we display the last picture
--	if( last_op_previous && file_iterator == begin || last_op_next && file_iterator == begin )
-+	if( (last_op_previous && file_iterator == begin) || (last_op_next && file_iterator == begin) )
- 		{
- 		last_op_previous = true;
- 		last_op_next = false;
-@@ -466,7 +467,7 @@ bool FileManager::filter_filename(Glib::ustring filena
- 		result.find("PCX") != Glib::ustring::npos ||
- 		result.find("PGM") != Glib::ustring::npos	||
- 		result.find("PPM") != Glib::ustring::npos	||
--		result.find("TIFF") != Glib::ustring::npos && result.find("EPS") == Glib::ustring::npos	||
-+		result.find("TIFF") != Glib::ustring::npos & result.find("EPS") == Glib::ustring::npos	||
- 		result.find("X pixmap image text") != Glib::ustring::npos	||
- 		result.find("Targa") != Glib::ustring::npos	||
- 		result.find("PBM") != Glib::ustring::npos	||
diff --git a/graphics/gimmage/files/patch-src__ImageEventBox.cpp b/graphics/gimmage/files/patch-src__ImageEventBox.cpp
deleted file mode 100644
index 7b709e2fd7a0..000000000000
--- a/graphics/gimmage/files/patch-src__ImageEventBox.cpp
+++ /dev/null
@@ -1,38 +0,0 @@
---- src/ImageEventBox.cpp.orig	2007-06-26 13:51:16 UTC
-+++ src/ImageEventBox.cpp
-@@ -149,7 +149,7 @@ void ImageEventBox::LoadImage(	const Glib::ustring & f
- void ImageEventBox::ScaleImage( double scalefactor,
- 								Gdk::InterpType interp_type)
- 	{
--	if(ImagePixbuf_Original != 0 && loaded == true)
-+	if(ImagePixbuf_Original && loaded == true)
- 		{
- 		int new_width   = (int)(scalefactor * (double)ImagePixbuf_Original->get_width());
- 		int new_height  = (int)(scalefactor * (double)ImagePixbuf_Original->get_height());
-@@ -176,7 +176,7 @@ void ImageEventBox::ScaleImage(	int width,
- 								double * scalefactor,
- 								Gdk::InterpType interp_type)
- 	{
--	if(ImagePixbuf_Original != 0 && loaded == true)
-+	if(ImagePixbuf_Original && loaded == true)
- 		{
- 		double ratioh = (double)height/(double)ImagePixbuf_Original->get_height();
- 		double ratiow = (double)width/(double)ImagePixbuf_Original->get_width();
-@@ -206,7 +206,7 @@ void ImageEventBox::ScaleImage2(	int width,
- 								double * scalefactor,
- 								Gdk::InterpType interp_type)
- 	{
--	if(ImagePixbuf_Original != 0 && loaded == true)
-+	if(ImagePixbuf_Original && loaded == true)
- 		{
- 		if( width <= ImagePixbuf_Original->get_width() || height <= ImagePixbuf_Original->get_height() )
- 		    {
-@@ -242,7 +242,7 @@ void ImageEventBox::ScaleImage2(	int width,
- // the rotation of the image
- void ImageEventBox::RotateImage(Gdk::PixbufRotation rotateby)
- 	{
--	if(ImagePixbuf_Original != 0 && loaded == true)
-+	if(ImagePixbuf_Original && loaded == true)
- 		{
- 		try
- 			{
diff --git a/graphics/gimmage/pkg-descr b/graphics/gimmage/pkg-descr
deleted file mode 100644
index fb0e21d37725..000000000000
--- a/graphics/gimmage/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-Gimmage is a simple image viewer that aims to have a minimalist
-interface and tries to be keyboard operable for browsing through a
-large number of images quickly. It is appropriate for command line
-usage as it accepts directories and image filenames as arguments. It
-has an in-application file browser that allows users to select and
-drag images and directories into the image viewing area in order to
-have them displayed.
diff --git a/graphics/gimmage/pkg-plist b/graphics/gimmage/pkg-plist
deleted file mode 100644
index 169c96d1cc27..000000000000
--- a/graphics/gimmage/pkg-plist
+++ /dev/null
@@ -1,9 +0,0 @@
-bin/gimmage
-%%DATADIR%%/pixmaps/1to1.png
-%%DATADIR%%/pixmaps/anticlockwise.png
-%%DATADIR%%/pixmaps/clockwise.png
-%%DATADIR%%/pixmaps/unreadable.png
-share/applications/gimmage.desktop
-share/locale/de/LC_MESSAGES/gimmage.mo
-share/locale/fr/LC_MESSAGES/gimmage.mo
-share/pixmaps/gimmage.png