git: 933693f4340d - main - graphics/jpgtn: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Dec 2025 12:02:24 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=933693f4340df12086bbd623153871f28464e0a1
commit 933693f4340df12086bbd623153871f28464e0a1
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-12-31 12:02:16 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-12-31 12:02:16 +0000
graphics/jpgtn: Remove expired port
2025-12-31 graphics/jpgtn: obsolete historical tool, use imagemagick instead
---
MOVED | 1 +
graphics/Makefile | 1 -
graphics/jpgtn/Makefile | 39 ----------------------------------
graphics/jpgtn/distinfo | 2 --
graphics/jpgtn/files/patch-src_jpgtn.c | 16 --------------
graphics/jpgtn/files/patch-src_jpgtn.h | 23 --------------------
graphics/jpgtn/pkg-descr | 7 ------
7 files changed, 1 insertion(+), 88 deletions(-)
diff --git a/MOVED b/MOVED
index e1a54011a3db..957d5d525417 100644
--- a/MOVED
+++ b/MOVED
@@ -4972,3 +4972,4 @@ misc/openhab2|misc/openhab|2025-12-31|Has expired: superseeded by misc/openhab
www/unit-java||2025-12-31|Has expired: Upstream repo archived on Oct 8 2025
deskutils/znotes||2025-12-31|Has expired: Abandonware, depends on legacy QT 5 and last release in 2011
devel/arachne-pnr|devel/nextpnr|2025-12-31|Has expired: Superseded by devel/nextpnr
+graphics/jpgtn||2025-12-31|Has expired: obsolete historical tool, use imagemagick instead
diff --git a/graphics/Makefile b/graphics/Makefile
index 9e0e1b7c4e02..c9cf3662b21b 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -398,7 +398,6 @@
SUBDIR += jpeg-turbo
SUBDIR += jpeginfo
SUBDIR += jpegoptim
- SUBDIR += jpgtn
SUBDIR += jslice
SUBDIR += kamera
SUBDIR += kamerka
diff --git a/graphics/jpgtn/Makefile b/graphics/jpgtn/Makefile
deleted file mode 100644
index 6c88a4c779eb..000000000000
--- a/graphics/jpgtn/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-PORTNAME= jpgtn
-PORTVERSION= 2.06
-PORTREVISION= 7
-CATEGORIES= graphics
-MASTER_SITES= SF SUNSITE/apps/graphics/misc
-
-MAINTAINER= fuz@FreeBSD.org
-COMMENT= Creates thumbnails of JPEG images
-WWW= https://jpgtn.sourceforge.net/
-
-LICENSE= GPLv2+
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-DEPRECATED= obsolete historical tool, use imagemagick instead
-EXPIRATION_DATE= 2025-12-31
-
-USES= jpeg
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
-CONFIGURE_ARGS= --with-libjpeg=${LOCALBASE}
-
-PLIST_FILES= bin/jpgtn \
- share/man/man1/jpgtn.1.gz
-
-WITH_MAXSIZE?= 2048
-WITH_MINSIZE?= 1
-WITH_DEFSIZE?= 128
-
-post-patch:
- @${ECHO_MSG} "Setting MAXSIZE to ${WITH_MAXSIZE}"
- @${REINPLACE_CMD} "s/define MAXSIZE[[:blank:]]*2048/define MAXSIZE ${WITH_MAXSIZE}/" ${WRKSRC}/src/jpgtn.h
- @${ECHO_MSG} "Setting MINSIZE to ${WITH_MINSIZE}"
- @${REINPLACE_CMD} "s/define MINSIZE[[:blank:]]*1/define MINSIZE ${WITH_MINSIZE}/" ${WRKSRC}/src/jpgtn.h
- @${ECHO_MSG} "Setting DEFAULTSIZE to ${WITH_DEFSIZE}"
- @${REINPLACE_CMD} "s/define DEFAULTSIZE[[:blank:]]*128/define DEFAULTSIZE ${WITH_DEFSIZE}/" ${WRKSRC}/src/jpgtn.h
- @${REINPLACE_CMD} "s/(2-2048) the size defaults to 128/(${WITH_MINSIZE}-${WITH_MAXSIZE}) the size defaults to ${WITH_DEFSIZE}/" \
- ${WRKSRC}/doc/jpgtn.1
-
-.include <bsd.port.mk>
diff --git a/graphics/jpgtn/distinfo b/graphics/jpgtn/distinfo
deleted file mode 100644
index ed361a9d3189..000000000000
--- a/graphics/jpgtn/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (jpgtn-2.06.tar.gz) = 4d542bf841fae2af0acd5e877d856d64d440403fb6f67ceecbca1da9c3308b8a
-SIZE (jpgtn-2.06.tar.gz) = 118413
diff --git a/graphics/jpgtn/files/patch-src_jpgtn.c b/graphics/jpgtn/files/patch-src_jpgtn.c
deleted file mode 100644
index eece8b6980c9..000000000000
--- a/graphics/jpgtn/files/patch-src_jpgtn.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/jpgtn.c.orig 2021-07-14 12:00:52 UTC
-+++ src/jpgtn.c
-@@ -30,6 +30,13 @@
- #include "common.h"
- #include "jpgtn.h"
-
-+unsigned char *outimage; /* The current thumbnail image */
-+unsigned char *palette; /* Global palette pointer */
-+int width; /* Original image width */
-+int height; /* Original image height */
-+int background; /* Index's background color */
-+long out_wide; /* Width of thumbnail image */
-+long out_high; /* Height of thumbnail image */
-
- /* Private */
- static void print_version(void);
diff --git a/graphics/jpgtn/files/patch-src_jpgtn.h b/graphics/jpgtn/files/patch-src_jpgtn.h
deleted file mode 100644
index ed1850edb63f..000000000000
--- a/graphics/jpgtn/files/patch-src_jpgtn.h
+++ /dev/null
@@ -1,23 +0,0 @@
---- src/jpgtn.h.orig 2021-07-14 12:00:47 UTC
-+++ src/jpgtn.h
-@@ -36,13 +36,13 @@
- #define RSZ_WIDTH 1
- #define RSZ_HEIGHT 2
-
--unsigned char *outimage; /* The current thumbnail image */
--unsigned char *palette; /* Global palette pointer */
--int width; /* Original image width */
--int height; /* Original image height */
--int background; /* Index's background color */
--long out_wide; /* Width of thumbnail image */
--long out_high; /* Height of thumbnail image */
-+extern unsigned char *outimage; /* The current thumbnail image */
-+extern unsigned char *palette; /* Global palette pointer */
-+extern int width; /* Original image width */
-+extern int height; /* Original image height */
-+extern int background; /* Index's background color */
-+extern long out_wide; /* Width of thumbnail image */
-+extern long out_high; /* Height of thumbnail image */
-
-
- /* resizepic.c */
diff --git a/graphics/jpgtn/pkg-descr b/graphics/jpgtn/pkg-descr
deleted file mode 100644
index 08c9d694f590..000000000000
--- a/graphics/jpgtn/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-"jpgtn" is based on "tnpic" by Russell Marks and on "gtnpic" by Willie
-Daniel. "tnpic" was originally distributed as a utility with Marks' "zgv"
-program. "gtnpic" was an attempt to clean up and expand upon the original
-tnpic program and "maybe add some new features along the way." Jpgtn
-differs from both "tnpic" and "gtnpic" in purpose. It is *not* an indexer
-of image files. It simply creates thumbnails of images stored in JPEG
-format.