summaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-11-21 22:03:48 +0000
committermarcus <marcus@FreeBSD.org>2004-11-21 22:03:48 +0000
commit62b9eb911cd9824cb435c7064b8feb42995d63ea (patch)
treeab69ff50b94e50d5eb1d6325ce0a498a346fb524 /x11-fonts
parent8be59db98c722f767a834687d79d6114cdaa3de6 (diff)
downloadFreeBSD-ports-62b9eb911cd9824cb435c7064b8feb42995d63ea.zip
FreeBSD-ports-62b9eb911cd9824cb435c7064b8feb42995d63ea.tar.gz
Add the Firefly font patchset. This patchset is mainly used to make
CJK TrueType fonts look prettier. Various enhancements like bold, italic, readability, and embedded bitmap font help a CJK X desktop a great deal. To enable this patchset, define WITH_CJK while building these ports (pango, fontconfig, libXft, and freetype2). PR: 73083 Submitted by: clive Obtained from: Hamigua <hamigua at cuc.cn> (I think)
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/fontconfig/Makefile10
-rw-r--r--x11-fonts/fontconfig/distinfo6
-rw-r--r--x11-fonts/libXft/Makefile5
-rw-r--r--x11-fonts/libXft/distinfo2
4 files changed, 23 insertions, 0 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile
index 9f4c120..588f5f9 100644
--- a/x11-fonts/fontconfig/Makefile
+++ b/x11-fonts/fontconfig/Makefile
@@ -157,6 +157,16 @@ MAN5= fonts-conf.5
.include <bsd.port.pre.mk>
+.if defined(WITH_CJK)
+PATCH_SITES= http://firefly.idv.tw/setfont-xft/patches/fontconfig/2.2.3/ \
+ http://download.linuxsir.org/fontconfig/ \
+ http://bsdchat.com/dist/firefly-cjk-patchset/
+PATCHFILES= fontconfig-2.2.3-default_config-20041114.patch \
+ fontconfig-2.2.3-include_CJK_charmaps-20041114.patch \
+ cjk-patch-fontconfig-20041115.diff.gz
+PATCH_DIST_STRIP= -p1:CJK_charmaps
+.endif
+
.if ${X_WINDOW_SYSTEM:L} == xfree86-3
MTREE_FILE= /etc/mtree/BSD.x11.dist
.else
diff --git a/x11-fonts/fontconfig/distinfo b/x11-fonts/fontconfig/distinfo
index c1ec683..848cf335 100644
--- a/x11-fonts/fontconfig/distinfo
+++ b/x11-fonts/fontconfig/distinfo
@@ -1,2 +1,8 @@
MD5 (fontconfig-2.2.3.tar.gz) = 2466a797d645cda5eb466080fdaec416
SIZE (fontconfig-2.2.3.tar.gz) = 750035
+MD5 (fontconfig-2.2.3-default_config-20041114.patch) = cca41e4e98b212c5a510fb606f250475
+SIZE (fontconfig-2.2.3-default_config-20041114.patch) = 2490
+MD5 (fontconfig-2.2.3-include_CJK_charmaps-20041114.patch) = 6e45ff7b7ae0b1eb86b6930ff3d3f015
+SIZE (fontconfig-2.2.3-include_CJK_charmaps-20041114.patch) = 1635485
+MD5 (cjk-patch-fontconfig-20041115.diff.gz) = 802d0ee4a44e772e2f885a5417afa5b0
+SIZE (cjk-patch-fontconfig-20041115.diff.gz) = 4983
diff --git a/x11-fonts/libXft/Makefile b/x11-fonts/libXft/Makefile
index 1a26bff..20ddaac 100644
--- a/x11-fonts/libXft/Makefile
+++ b/x11-fonts/libXft/Makefile
@@ -31,4 +31,9 @@ MAN3= Xft.3
IGNORE= Xft requires Render extension headers/library to build.
.endif
+.if defined(WITH_CJK)
+PATCH_SITES= http://bsdchat.com/dist/firefly-cjk-patchset/
+PATCHFILES+= cjk-patch-libXft-20041115.diff.gz
+.endif
+
.include <bsd.port.post.mk>
diff --git a/x11-fonts/libXft/distinfo b/x11-fonts/libXft/distinfo
index 304108d..7992569 100644
--- a/x11-fonts/libXft/distinfo
+++ b/x11-fonts/libXft/distinfo
@@ -1,2 +1,4 @@
MD5 (libXft-2.1.6.tar.gz) = 1ba6d9b1aec9a237b508663c46d8a979
SIZE (libXft-2.1.6.tar.gz) = 334803
+MD5 (cjk-patch-libXft-20041115.diff.gz) = a642c3e2cd08ac738a1be0aa4ba4e38d
+SIZE (cjk-patch-libXft-20041115.diff.gz) = 3261
OpenPOWER on IntegriCloud