git: ab55ed40c97e - main - graphics/libsvg: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 Sep 2024 22:11:58 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ab55ed40c97ed3bbc834e8b9345fa9e934f8cba6
commit ab55ed40c97ed3bbc834e8b9345fa9e934f8cba6
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-09-14 22:11:45 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-09-14 22:11:45 +0000
graphics/libsvg: Remove expired port
2024-07-31 graphics/libsvg: Abandoned upstream, obsolete and fails to build with newer versions of libxml2. Consider migrating to librsvg or (lib)resvg
---
MOVED | 1 +
graphics/Makefile | 1 -
graphics/libsvg/Makefile | 30 ------------------------------
graphics/libsvg/distinfo | 2 --
graphics/libsvg/files/patch-svg_image.c | 20 --------------------
graphics/libsvg/pkg-descr | 1 -
6 files changed, 1 insertion(+), 54 deletions(-)
diff --git a/MOVED b/MOVED
index 54e570f45d66..57ea37a13d19 100644
--- a/MOVED
+++ b/MOVED
@@ -3475,3 +3475,4 @@ textproc/rubygem-static_holmes|textproc/rubygem-charlock_holmes|2024-09-11|Has e
textproc/rubygem-elasticsearch713|textproc/rubygem-elasticsearch|2024-09-11|Has expired: Use textproc/rubygem-elasticsearch instead
graphics/svg2png||2024-09-14|Has expired: Depends on deprecated library graphics/libsvg-cairo, please consider using ImageMagick or librsvg
graphics/libsvg-cairo||2024-09-14|Has expired: Depends on deprecated library graphics/libsvg
+graphics/libsvg||2024-09-14|Has expired: Abandoned upstream, obsolete and fails to build with newer versions of libxml2. Consider migrating to librsvg or (lib)resvg
diff --git a/graphics/Makefile b/graphics/Makefile
index 9142fe6ee8d8..f67b23bc5d26 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -507,7 +507,6 @@
SUBDIR += libsixel
SUBDIR += libspiro
SUBDIR += libspng
- SUBDIR += libsvg
SUBDIR += libsvgtiny
SUBDIR += libvisual
SUBDIR += libvisual04
diff --git a/graphics/libsvg/Makefile b/graphics/libsvg/Makefile
deleted file mode 100644
index e8ca39b21ca6..000000000000
--- a/graphics/libsvg/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-PORTNAME= libsvg
-PORTVERSION= 0.1.4
-PORTREVISION= 11
-CATEGORIES= graphics
-MASTER_SITES= http://cairographics.org/snapshots/
-
-MAINTAINER= gnome@FreeBSD.org
-COMMENT= Parser for SVG content in files or buffers
-WWW= http://cairographics.org/libsvg
-
-DEPRECATED= Abandoned upstream, obsolete and fails to build with newer versions of libxml2. Consider migrating to librsvg or (lib)resvg
-EXPIRATION_DATE=2024-07-31
-
-LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
- libpng.so:graphics/png
-
-GNU_CONFIGURE= yes
-USE_GNOME= libxml2
-USES= gnome iconv jpeg libtool pathfix pkgconfig
-USE_LDCONFIG= yes
-CFLAGS+= -I${LOCALBASE}/include
-
-PLIST_FILES= include/svg.h \
- lib/libsvg.a \
- lib/libsvg.so \
- lib/libsvg.so.1 \
- lib/libsvg.so.1.0.0 \
- libdata/pkgconfig/libsvg.pc
-
-.include <bsd.port.mk>
diff --git a/graphics/libsvg/distinfo b/graphics/libsvg/distinfo
deleted file mode 100644
index 889a0f998e92..000000000000
--- a/graphics/libsvg/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (libsvg-0.1.4.tar.gz) = 4c3bf9292e676a72b12338691be64d0f38cd7f2ea5e8b67fbbf45f1ed404bc8f
-SIZE (libsvg-0.1.4.tar.gz) = 366688
diff --git a/graphics/libsvg/files/patch-svg_image.c b/graphics/libsvg/files/patch-svg_image.c
deleted file mode 100644
index 8b6a66a1ee90..000000000000
--- a/graphics/libsvg/files/patch-svg_image.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/svg_image.c.orig 2005-04-11 17:45:32.000000000 +0200
-+++ src/svg_image.c 2010-03-29 20:41:38.000000000 +0200
-@@ -228,7 +228,7 @@
- return SVG_STATUS_FILE_NOT_FOUND;
-
- sig_bytes = fread (png_sig, 1, PNG_SIG_SIZE, file);
-- if (png_check_sig (png_sig, sig_bytes) == 0) {
-+ if (!png_sig_cmp (png_sig, 0, sig_bytes) == 0) {
- fclose (file);
- return SVGINT_STATUS_IMAGE_NOT_PNG;
- }
-@@ -271,7 +271,7 @@
-
- /* expand gray bit depth if needed */
- if (color_type == PNG_COLOR_TYPE_GRAY && depth < 8)
-- png_set_gray_1_2_4_to_8 (png);
-+ png_set_expand_gray_1_2_4_to_8 (png);
-
- /* transform transparency to alpha */
- if (png_get_valid(png, info, PNG_INFO_tRNS))
diff --git a/graphics/libsvg/pkg-descr b/graphics/libsvg/pkg-descr
deleted file mode 100644
index e52bb2da5637..000000000000
--- a/graphics/libsvg/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-A parser for SVG content in files or buffers