[packages/unifont] - updated to 18.0.01
qboosh
qboosh at pld-linux.org
Sat Nov 7 09:12:35 CET 2026
commit 2d27e4960fbab9b317eb360fcf932b5bd981a229
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Nov 7 09:13:31 2026 +0100
- updated to 18.0.01
unifont-ttf.patch | 11 +++++++++++
unifont.spec | 13 +++++++++----
2 files changed, 20 insertions(+), 4 deletions(-)
---
diff --git a/unifont.spec b/unifont.spec
index 3c7f976..f3aaca0 100644
--- a/unifont.spec
+++ b/unifont.spec
@@ -6,13 +6,14 @@
Summary: GNU Unifont - Unicode bitmap font
Summary(pl.UTF-8): GNU Unifont - font bitmapowy Unicode
Name: unifont
-Version: 17.0.03
+Version: 18.0.01
Release: 1
License: GPL v2+ (tools), SIL Open Font License v1.1 or GPL v2+ with GNU font embedding exception (fonts)
Group: Fonts
Source0: https://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 06ef8ff7317c97219ffd75b9f20c0d1b
+# Source0-md5: fcea11f51a4a68fd4537753c8454caac
Patch0: %{name}-info.patch
+Patch1: %{name}-ttf.patch
URL: http://czyborra.com/unifont/
BuildRequires: fontforge
BuildRequires: rpm-build >= 4.6
@@ -191,6 +192,7 @@ Przeglądarka GNU Unifont oparta na interfejsie Perla do wxWidgets.
%prep
%setup -q
%patch -P0 -p1
+%patch -P1 -p1
%{__sed} -i -e '1s,/usr/bin/env perl,%{__perl},' src/{hexdraw,johab2ucs2}
@@ -208,7 +210,7 @@ touch doc/unifont.pdf
%if %{with ttf}
%{__make} -C font -j1 truetype
# no need to rebuild other formats
-cp -p font/precompiled/*.{bmp,hex,otf,pcf.gz,psf.gz} font/compiled
+cp -p font/precompiled/*.{png,hex,otf,pcf.gz,psf.gz} font/compiled
%endif
%install
@@ -272,6 +274,8 @@ fontpostinst TTF
%doc COPYING ChangeLog NEWS README
%{_fontsdir}/misc/unifont.pcf.gz
%{_fontsdir}/misc/unifont_csur.pcf.gz
+%{_fontsdir}/misc/unifont_jp.pcf.gz
+%{_fontsdir}/misc/unifont_t.pcf.gz
%{_mandir}/man5/unifont.5*
%files -n fonts-OTF-unifont
@@ -280,6 +284,7 @@ fontpostinst TTF
%{_fontsdir}/OTF/unifont.otf
%{_fontsdir}/OTF/unifont_csur.otf
%{_fontsdir}/OTF/unifont_jp.otf
+%{_fontsdir}/OTF/unifont_t.otf
%{_fontsdir}/OTF/unifont_upper.otf
%if %{with ttf}
@@ -301,7 +306,7 @@ fontpostinst TTF
%doc COPYING ChangeLog NEWS README
%dir %{_datadir}/unifont
%{_datadir}/unifont/plane00-combining.txt
-%{_datadir}/unifont/unifont.bmp.gz
+%{_datadir}/unifont/unifont.png.gz
%{_datadir}/unifont/unifont.hex
%{_datadir}/unifont/unifont_all.hex
%{_datadir}/unifont/unifont_jp.hex
diff --git a/unifont-ttf.patch b/unifont-ttf.patch
new file mode 100644
index 0000000..ae51aed
--- /dev/null
+++ b/unifont-ttf.patch
@@ -0,0 +1,11 @@
+File is removed from font/Makefile afterwards
+--- unifont-18.0.01/font/ttfsrc/Makefile.orig 2026-08-01 22:22:27.000000000 +0200
++++ unifont-18.0.01/font/ttfsrc/Makefile 2026-11-06 22:19:39.668767266 +0100
+@@ -125,7 +125,6 @@ sbit: $(FONTFILE).bdf
+ Generate($$2, "ttf"); \
+ Close()' \
+ $(FONTFILE).bdf $(FONTFILE).ttf
+- rm -f $(FONTFILE).bdf
+
+ #
+ # Delete files copied into this directory to build TTF fonts.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/unifont.git/commitdiff/2d27e4960fbab9b317eb360fcf932b5bd981a229
More information about the pld-cvs-commit
mailing list