pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fcft: remove, imported to pkgsrc



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Tue Apr 14 14:25:30 2026 +0200
Changeset:	7e9003d5eeb3d8d7a748c7ca11ed267a3ce61b4e

Modified Files:
	Makefile
Removed Files:
	fcft/DESCR
	fcft/Makefile
	fcft/PLIST
	fcft/buildlink3.mk
	fcft/distinfo
	fcft/patches/patch-fcft.c
	fcft/patches/patch-meson.build

Log Message:
fcft: remove, imported to pkgsrc

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7e9003d5eeb3d8d7a748c7ca11ed267a3ce61b4e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                       |  1 -
 fcft/DESCR                     |  5 -----
 fcft/Makefile                  | 21 --------------------
 fcft/PLIST                     | 28 --------------------------
 fcft/buildlink3.mk             | 18 -----------------
 fcft/distinfo                  |  7 -------
 fcft/patches/patch-fcft.c      | 45 ------------------------------------------
 fcft/patches/patch-meson.build | 24 ----------------------
 8 files changed, 149 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index ed1ad12474..63eccbce80 100644
--- a/Makefile
+++ b/Makefile
@@ -969,7 +969,6 @@ SUBDIR+=	fbpanel
 SUBDIR+=	fbsd2pkg
 SUBDIR+=	fc-browse
 SUBDIR+=	fceux
-SUBDIR+=	fcft
 SUBDIR+=	fcitx5-cskk
 SUBDIR+=	fdm_materials
 SUBDIR+=	feathercoin
diff --git a/fcft/DESCR b/fcft/DESCR
deleted file mode 100644
index 864b506d1b..0000000000
--- a/fcft/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-fcft is a small font loading and glyph rasterization library built on-top of
-FontConfig, FreeType2 and pixman.
-
-It can load and cache fonts from a fontconfig-formatted name string,
-e.g. Monospace:size=12, optionally with user configured fallback fonts.
diff --git a/fcft/Makefile b/fcft/Makefile
deleted file mode 100644
index baea5d724f..0000000000
--- a/fcft/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	fcft-3.3.3
-CATEGORIES=	fonts
-MASTER_SITES=	https://codeberg.org/dnkl/fcft/releases/download/${PKGVERSION_NOREV}/
-
-MAINTAINER=	bsiegert%NetBSD.org@localhost
-HOMEPAGE=	https://codeberg.org/dnkl/fcft/
-COMMENT=	Simple library for font loading and glyph rasterization
-LICENSE=	mit
-
-USE_TOOLS+=	pkg-config
-
-.include "../../fonts/fontconfig/buildlink3.mk"
-.include "../../fonts/harfbuzz/buildlink3.mk"
-.include "../../converters/utf8proc/buildlink3.mk"
-.include "../../x11/pixman/buildlink3.mk"
-.include "../../wip/tllist/buildlink3.mk"
-.include "../../devel/meson/build.mk"
-.include "../../textproc/scdoc/tool.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/fcft/PLIST b/fcft/PLIST
deleted file mode 100644
index d81ead3e1c..0000000000
--- a/fcft/PLIST
+++ /dev/null
@@ -1,28 +0,0 @@
-@comment $NetBSD$
-include/fcft/fcft.h
-include/fcft/stride.h
-lib/libfcft.so
-lib/libfcft.so.4
-lib/libfcft.so.4.3.3
-lib/pkgconfig/fcft.pc
-man/man3/fcft_capabilities.3
-man/man3/fcft_clone.3
-man/man3/fcft_destroy.3
-man/man3/fcft_fini.3
-man/man3/fcft_font_options_create.3
-man/man3/fcft_font_options_destroy.3
-man/man3/fcft_from_name.3
-man/man3/fcft_from_name2.3
-man/man3/fcft_init.3
-man/man3/fcft_kerning.3
-man/man3/fcft_log_init.3
-man/man3/fcft_precompose.3
-man/man3/fcft_rasterize_char_utf32.3
-man/man3/fcft_rasterize_grapheme_utf32.3
-man/man3/fcft_rasterize_text_run_utf32.3
-man/man3/fcft_set_emoji_presentation.3
-man/man3/fcft_set_scaling_filter.3
-man/man3/fcft_text_run_destroy.3
-share/doc/fcft/CHANGELOG.md
-share/doc/fcft/LICENSE
-share/doc/fcft/README.md
diff --git a/fcft/buildlink3.mk b/fcft/buildlink3.mk
deleted file mode 100644
index 13d9479d8f..0000000000
--- a/fcft/buildlink3.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	fcft
-
-.if !defined(FCFT_BUILDLINK3_MK)
-FCFT_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.fcft+=	fcft>=3.1.8
-BUILDLINK_PKGSRCDIR.fcft?=	../../wip/fcft
-
-.include "../../converters/utf8proc/buildlink3.mk"
-.include "../../fonts/fontconfig/buildlink3.mk"
-.include "../../fonts/harfbuzz/buildlink3.mk"
-.include "../../x11/pixman/buildlink3.mk"
-.include "../../wip/tllist/buildlink3.mk"
-.endif	# FCFT_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-fcft
diff --git a/fcft/distinfo b/fcft/distinfo
deleted file mode 100644
index 0e424d095a..0000000000
--- a/fcft/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD$
-
-BLAKE2s (fcft-3.3.3.tar.gz) = 545e5bfb82c493722002178d9b29ba8356ade84936400052c7bda03dff993e26
-SHA512 (fcft-3.3.3.tar.gz) = b1d0264d490ba95872301a949e8a79da947f77e3196c8299bfddb01e9931cce4100ebcd53930e73c9fa830cc3b52f04ff555777fc17d7bbdd0445a2c924d8c20
-Size (fcft-3.3.3.tar.gz) = 741107 bytes
-SHA1 (patch-fcft.c) = c6cae286f4a581326b9b575e0f70e62834689122
-SHA1 (patch-meson.build) = baf72b1fca5508a886b7451c5a20a50197275f31
diff --git a/fcft/patches/patch-fcft.c b/fcft/patches/patch-fcft.c
deleted file mode 100644
index 7ab4ce2284..0000000000
--- a/fcft/patches/patch-fcft.c
+++ /dev/null
@@ -1,45 +0,0 @@
-$NetBSD$
-
-* Define bswap_16 on NetBSD
-* Check for uselocale before using it
-
---- fcft.c.orig	2025-12-27 11:27:58.000000000 +0000
-+++ fcft.c
-@@ -1,7 +1,12 @@
- #include "fcft/fcft.h"
- 
- #include <assert.h>
-+#if defined(__NetBSD__)
-+#include <endian.h>
-+#define bswap_16(X) htole16(X)
-+#else
- #include <byteswap.h>
-+#endif
- #include <locale.h>
- #include <math.h>
- #include <stdbool.h>
-@@ -533,7 +538,7 @@ base_pattern_from_name(const char *name,
- {
-     /* Fontconfig fails to parse floating point values unless locale
-      * (LC_NUMERIC) is e.g C, or en_US.UTF-8 */
--
-+#if FCFT_HAVE_USELOCALE
-     locale_t c_locale = newlocale(LC_NUMERIC_MASK, "C", (locale_t)0);
-     if (c_locale == (locale_t)0) {
-         LOG_ERRNO("%s: failed to create temporary locale", name);
-@@ -546,12 +551,14 @@ base_pattern_from_name(const char *name,
-         freelocale(c_locale);
-         return NULL;
-     }
--
-+#endif
-     FcPattern *pattern = FcNameParse((const unsigned char *)name);
- 
-+#if FCFT_HAVE_USELOCALE
-     /* Restore locale */
-     uselocale(old_locale);
-     freelocale(c_locale);
-+#endif
- 
-     if (pattern == NULL) {
-         LOG_ERR("%s: failed to lookup font", name);
diff --git a/fcft/patches/patch-meson.build b/fcft/patches/patch-meson.build
deleted file mode 100644
index d55798407b..0000000000
--- a/fcft/patches/patch-meson.build
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD$
-
-* Check for uselocale before using it
-
---- meson.build.orig	2025-12-27 11:27:58.000000000 +0000
-+++ meson.build
-@@ -79,6 +79,7 @@ pixman = dependency('pixman-1')
- stdthreads = cc.find_library('stdthreads', required: false)
- system_nanosvg = cc.find_library('nanosvg', required: get_option('system-nanosvg'))
- system_nanosvgrast = cc.find_library('nanosvgrast', required: get_option('system-nanosvg'))
-+uselocale = cc.has_function('uselocale')
- 
- tllist = dependency('tllist', version: '>=1.0.1', fallback: 'tllist')
- 
-@@ -88,6 +89,9 @@ endif
- if utf8proc.found()
-   add_project_arguments('-DFCFT_HAVE_UTF8PROC', language: 'c')
- endif
-+if uselocale
-+  add_project_arguments('-DFCFT_HAVE_USELOCALE', language: 'c')
-+endif
- 
- if freetype.version().version_compare('>=24.2.18')  # 2.12.0, TODO: double-check...
-   if get_option('svg-backend') == 'librsvg'


Home | Main Index | Thread Index | Old Index