git: ab143a2f564b - main - graphics/comical: Cleanup EXPIRED ports

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 31 Dec 2022 01:39:01 UTC
The branch main has been updated by bofh:

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

commit ab143a2f564b5d4adc8e60347e91c7496156a890
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-12-31 01:33:16 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-12-31 01:38:32 +0000

    graphics/comical: Cleanup EXPIRED ports
    
    Approved by:    portmgr
---
 MOVED                                              |  1 +
 graphics/Makefile                                  |  1 -
 graphics/comical/Makefile                          | 53 ----------------------
 graphics/comical/distinfo                          |  2 -
 .../comical/files/patch-ComicalIcons_comical.xpm   | 14 ------
 graphics/comical/files/patch-Makefile              | 23 ----------
 graphics/comical/files/patch-src_ComicalApp.cpp    | 14 ------
 graphics/comical/files/patch-src_Makefile          | 12 -----
 graphics/comical/pkg-descr                         | 18 --------
 9 files changed, 1 insertion(+), 137 deletions(-)

diff --git a/MOVED b/MOVED
index 84127e657b53..98a383152517 100644
--- a/MOVED
+++ b/MOVED
@@ -17726,3 +17726,4 @@ security/fprint_demo||2022-12-31|Has expired: Depends on deprecated library libf
 security/fprintd||2022-12-31|Has expired: Very outdated, unsupported upstream which now have systemd as a non optional requirement
 cad/linux-eagle5||2022-12-31|Has expired: Deprecated upstream, superseded by Autodesk EAGLE 9
 net-p2p/amule-devel|net-p2p/amule|2022-12-31|Has expired: Superseded by non development port
+graphics/comical||2022-12-31|Has expired: Abandoned project and use deprecated wxgtk28
diff --git a/graphics/Makefile b/graphics/Makefile
index 1a6034c73440..720cea76078f 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -108,7 +108,6 @@
     SUBDIR += colmap
     SUBDIR += colord
     SUBDIR += colord-gtk
-    SUBDIR += comical
     SUBDIR += compupic
     SUBDIR += converseen
     SUBDIR += corrupter
diff --git a/graphics/comical/Makefile b/graphics/comical/Makefile
deleted file mode 100644
index ffcac1c4950d..000000000000
--- a/graphics/comical/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-PORTNAME=	comical
-PORTVERSION=	0.8
-PORTREVISION=	14
-CATEGORIES=	graphics
-MASTER_SITES=	SF
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Sequential image viewer
-WWW=		http://comical.sourceforge.net/
-
-DEPRECATED=	Abandoned project and use deprecated wxgtk28
-EXPIRATION_DATE=	2022-12-31
-
-LICENSE=	GPLv2+
-LICENSE_FILE=	${WRKSRC}/COPYING
-
-LIB_DEPENDS=	libunrar.so.6:archivers/libunrar6
-
-USES=		compiler:c++11-lang gmake minizip
-USE_WX=		2.8+
-
-MAKE_ENV=	WX_CONFIG=${WX_CONFIG}
-INSTALL_TARGET=	install-strip
-MAKE_JOBS_UNSAFE=	yes
-
-DESKTOP_ENTRIES="Comical" \
-		"Comic Book Viewer" \
-		"${PORTNAME}.png" \
-		"${PORTNAME}" \
-		"Graphics;Viewer;" \
-		false
-
-ICONS=		comical.png comical.xpm
-PLIST_FILES=	bin/comical \
-		share/pixmaps/comical.png \
-		share/pixmaps/comical.xpm
-
-.include <bsd.port.pre.mk>
-
-# 'make makepatch' doesn't like dirs with spaces
-pre-patch:
-	@${MV} ${WRKSRC}/Comical\ Icons ${WRKSRC}/ComicalIcons
-
-.if ${CHOSEN_COMPILER_TYPE} == gcc
-pre-configure:
-	${REINPLACE_CMD} -e 's|-Wno-unused-local-typedef||' ${WRKSRC}/src/Makefile
-.endif
-
-post-install:
-	cd ${WRKSRC}/ComicalIcons && \
-		${INSTALL_DATA} ${ICONS} ${STAGEDIR}${PREFIX}/share/pixmaps
-
-.include <bsd.port.post.mk>
diff --git a/graphics/comical/distinfo b/graphics/comical/distinfo
deleted file mode 100644
index e7531646cb16..000000000000
--- a/graphics/comical/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (comical-0.8.tar.gz) = 0b6527cc06b25a937041f1eb248d0fd881cf055362097036b939817f785ab85e
-SIZE (comical-0.8.tar.gz) = 480270
diff --git a/graphics/comical/files/patch-ComicalIcons_comical.xpm b/graphics/comical/files/patch-ComicalIcons_comical.xpm
deleted file mode 100644
index 4944b15f2b57..000000000000
--- a/graphics/comical/files/patch-ComicalIcons_comical.xpm
+++ /dev/null
@@ -1,14 +0,0 @@
-Avoid a boatload of warnings like this:
-In file included from ComicalApp.cpp:34:
-./../Comical Icons/comical.xpm:3:1: warning: conversion from string literal to 'char *' 
-is deprecated [-Wc++11-compat-deprecated-writable-strings]
-
---- ComicalIcons/comical.xpm.orig	2017-01-06 15:58:55 UTC
-+++ ComicalIcons/comical.xpm
-@@ -1,5 +1,5 @@
- /* XPM */
--static char *comical_xpm[]={
-+static const char *comical_xpm[]={
- "128 128 131 2",
- "Qt c None",
- ".8 c #080000",
diff --git a/graphics/comical/files/patch-Makefile b/graphics/comical/files/patch-Makefile
deleted file mode 100644
index 2ead48037c45..000000000000
--- a/graphics/comical/files/patch-Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
---- Makefile.orig	2006-03-05 03:27:10 UTC
-+++ Makefile
-@@ -1,8 +1,8 @@
--CC = `wx-config --cxx`
--LDFLAGS = `wx-config --libs` -Lunrar -lunrar -Lunzip -lminiunzip
-+CC = ${CXX}
-+LDFLAGS += `${WX_CONFIG} --libs` -L${LOCALBASE}/lib -lunrar -lminizip -lz
- INSTALL = install
- INSTALL_PROGRAM = $(INSTALL)
--prefix = /usr/local
-+prefix = ${PREFIX}
- exec_prefix = $(prefix)
- bindir = $(exec_prefix)/bin
- 
-@@ -12,7 +12,7 @@ OBJS = $(patsubst %.cpp,%.o,$(wildcard s
- 
- all: comical
- 
--comical: $(OBJS) unrar/libunrar.a unzip/libminiunzip.a
-+comical: $(OBJS)
- 	$(CC) -o $@ $(OBJS) $(LDFLAGS)
- 
- $(OBJS):
diff --git a/graphics/comical/files/patch-src_ComicalApp.cpp b/graphics/comical/files/patch-src_ComicalApp.cpp
deleted file mode 100644
index 365103c2d8a9..000000000000
--- a/graphics/comical/files/patch-src_ComicalApp.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-Add missing header and adjust location of icons
-
---- src/ComicalApp.cpp.orig	2006-03-03 04:23:15 UTC
-+++ src/ComicalApp.cpp
-@@ -30,7 +30,8 @@
- #include <wx/log.h>
- 
- #if !defined(__WXMAC__) && !defined(__WXCOCOA__) && !defined(__WXMSW__) && !defined(__WXPM__)
--#include "../Comical Icons/comical.xpm"
-+#include <wx/icon.h>
-+#include "../ComicalIcons/comical.xpm"
- #endif
- 
- // Create a new application object.
diff --git a/graphics/comical/files/patch-src_Makefile b/graphics/comical/files/patch-src_Makefile
deleted file mode 100644
index 65a0624537d6..000000000000
--- a/graphics/comical/files/patch-src_Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/Makefile.orig	2006-03-05 03:27:10 UTC
-+++ src/Makefile
-@@ -1,6 +1,6 @@
--INCLUDE = -I../unrar -I../unzip
--CFLAGS = -O2 -Wall -pipe
--CPPFLAGS = `wx-config --cxxflags` $(CFLAGS) -D_UNIX $(INCLUDE)
-+INCLUDE = -I${LOCALBASE}/include/libunrar6 -I${LOCALBASE}/include/minizip
-+CFLAGS += -Wall -Wno-unused-local-typedef -pipe ${CXXFLAGS}
-+CPPFLAGS += `${WX_CONFIG} --cxxflags` $(CFLAGS) -D_UNIX -DwxUSE_UNICODE $(INCLUDE)
- 
- .SUFFIXES: .cpp .png .h .d .o
- 
diff --git a/graphics/comical/pkg-descr b/graphics/comical/pkg-descr
deleted file mode 100644
index 3a6fa731f136..000000000000
--- a/graphics/comical/pkg-descr
+++ /dev/null
@@ -1,18 +0,0 @@
-Finally - a cross-platform, open-source CBR and CBZ reader!  Read your
-favorite scanned comic books and graphic novels with Comical's
-absurdly easy GUI and in-your-face double page display!
-
-Nifty Features:
-* Single-Page or Double-Page display modes.
-* Zoom modes: Fit, Fit-to-Width, Fit-to-Height, Original, Custom.
-* Crisp image scaling with algorithms adapted from FreeImage 3.
-* Detects double pages scanned together and displays it accordingly.
-* Page rotation.
-* Full-Screen mode.
-* Left-to-Right or Right-to-Left browsing.
-* Displays JPG, GIF, and PNG images.
-* Supports RAR(.cbr) and ZIP(.cbz) comic book archives
-* Supports all encrypted RAR archives as well as ZIP archives with
-  pkzip 2.04g encryption.
-
-LICENSE: GPL2 or later with exception to link with unrar