aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorxmj <xmj@FreeBSD.org>2014-09-22 18:40:00 +0800
committerxmj <xmj@FreeBSD.org>2014-09-22 18:40:00 +0800
commitd39787ca07e42b7a91488f45cc6c58333ae10780 (patch)
treef0614b64c20d137667eadfbdc5663150937dc6c3 /x11-fonts
parent143e62b0f3ebf9f9c709e4c068013418325fc64c (diff)
downloadfreebsd-ports-gnome-d39787ca07e42b7a91488f45cc6c58333ae10780.tar.gz
freebsd-ports-gnome-d39787ca07e42b7a91488f45cc6c58333ae10780.tar.zst
freebsd-ports-gnome-d39787ca07e42b7a91488f45cc6c58333ae10780.zip
Update CentOS base to 6.5, add userland ports
The Fedora 10 infrastructure ports have been in use since June 2009 and, while having served a great deed, have become unsupported upstream and hence affected by unfixed security vulnerabilities. In addition to that, many recent Linux binaries need newer libc / stdlibc++ versions. This commit adds the linux-c6- userland as drop-in replacement for the -f10 infrastructure, as well as upgrading the linux_base-c6 port to CentOS 6.5. If you want to switch to linux-c6 ports, please define at /etc/make.conf: OVERRIDE_LINUX_BASE_PORT=c6 OVERRIDE_LINUX_NONBASE_PORTS=c6 Additionally, please add the following line to /etc/sysctl.conf: compat.linux.osrelease=2.6.18 Upgrading procedures are shown in /usr/ports/UPDATING. This work has been inspired by Artyom Mirgorodskiy's post to emulation@ in November 2013, using and extending mav@'s work. It has been tested extensively and most reported issues were already fixed. Please report any additional bug or "features" to the emulation mailing list. Many thanks to: mav@, rene@, allanjude@, netchild@, antoine@, everyone who's filed Issues and Pull requests on GitHub, PR: 186820 Differential Revision: https://reviews.freebsd.org/D793 Reviewed by: allanjude, antoine, bapt, rene Approved by: portmgr (antoine, bapt) Approved by: koobs (mentor) Sponsored by: Perceivon Hosting Inc.
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/linux-c6-fontconfig/Makefile35
-rw-r--r--x11-fonts/linux-c6-fontconfig/distinfo.i6864
-rw-r--r--x11-fonts/linux-c6-fontconfig/pkg-descr22
-rw-r--r--x11-fonts/linux-c6-fontconfig/pkg-plist22
-rw-r--r--x11-fonts/linux-f10-fontconfig/Makefile6
6 files changed, 87 insertions, 3 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index c7284e1f0c02..b69319e628fc 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -119,6 +119,7 @@
SUBDIR += libXft
SUBDIR += liberation-fonts-ttf
SUBDIR += libfontenc
+ SUBDIR += linux-c6-fontconfig
SUBDIR += linux-f10-fontconfig
SUBDIR += linuxlibertine
SUBDIR += linuxlibertine-g
diff --git a/x11-fonts/linux-c6-fontconfig/Makefile b/x11-fonts/linux-c6-fontconfig/Makefile
new file mode 100644
index 000000000000..4d55c6064b07
--- /dev/null
+++ b/x11-fonts/linux-c6-fontconfig/Makefile
@@ -0,0 +1,35 @@
+# Created by: Artyom Mirgorodskiy <artyom.mirgorodsky@gmail.com>
+# $FreeBSD$
+
+PORTNAME= fontconfig
+PORTVERSION= 2.8.0
+CATEGORIES= x11-fonts linux
+
+MAINTAINER= emulation@FreeBSD.org
+COMMENT= XML-based font configuration API for X Windows (Linux CentOS ${LINUX_DIST_VER})
+
+CONFLICTS= linux-fontconfig-[0-9]* linux-f8-fontconfig-[0-9]* linux-f10-fontconfig-[0-9]*
+
+ONLY_FOR_ARCHS= i386 amd64
+RPMVERSION= 3.el6
+USE_LINUX= c6
+USE_LINUX_APPS= expat
+
+USE_LINUX_RPM= yes
+BRANDELF_DIRS= usr/bin
+USE_LDCONFIG= yes
+
+# We will use some other configuration file, so delete a linux one
+# Don't let the linux fc-cache mess up the native cache file
+post-extract:
+ @${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/share/fonts ${WRKSRC}/var \
+ ${WRKSRC}/usr/bin/fc-cache \
+ ${WRKSRC}/usr/share/man/man1/fc-cache.1.gz
+
+post-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc
+ @${LN} -s ${LOCALBASE}/etc/fonts ${STAGEDIR}${PREFIX}/etc/
+
+DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/linux-c6-fontconfig/distinfo.i686 b/x11-fonts/linux-c6-fontconfig/distinfo.i686
new file mode 100644
index 000000000000..dee88fe55537
--- /dev/null
+++ b/x11-fonts/linux-c6-fontconfig/distinfo.i686
@@ -0,0 +1,4 @@
+SHA256 (rpm/i686/centos/6.5/fontconfig-2.8.0-3.el6.i686.rpm) = 86730c2bebd675c9fec8856c54112a18371eff52a307f88534800b3c844e729f
+SIZE (rpm/i686/centos/6.5/fontconfig-2.8.0-3.el6.i686.rpm) = 190816
+SHA256 (rpm/i686/centos/6.5/fontconfig-2.8.0-3.el6.src.rpm) = aac3289c48c430f1b563af790084c893d622ae58559923d9c7a35712606b6fb9
+SIZE (rpm/i686/centos/6.5/fontconfig-2.8.0-3.el6.src.rpm) = 1563078
diff --git a/x11-fonts/linux-c6-fontconfig/pkg-descr b/x11-fonts/linux-c6-fontconfig/pkg-descr
new file mode 100644
index 000000000000..6ba73f488307
--- /dev/null
+++ b/x11-fonts/linux-c6-fontconfig/pkg-descr
@@ -0,0 +1,22 @@
+This is a Linux/i386 binary port of the Fontconfig library and utilities.
+
+In the words of its author, Keith Packard:
+
+ Fontconfig can:
+ * discover new fonts when installed automatically, removing a common
+ source of configuration problems.
+ * perform font name substitution, so that appropriate alternative
+ fonts can be selected if fonts are missing.
+ * identify the set of fonts required to completely cover a set of
+ languages.
+ * have GUI configuration tools built as it uses an XML-based
+ configuration file (though with autodiscovery, we believe this need
+ is minimized).
+ * efficiently and quickly find the fonts you need among the set of
+ fonts you have installed, even if you have installed thousands of
+ fonts, while minimzing memory usage.
+ * be used in concert with the X Render Extension and FreeType to
+ implement high quality, anti-aliased and subpixel rendered text on a
+ display.
+
+WWW: http://freedesktop.org/software/fontconfig
diff --git a/x11-fonts/linux-c6-fontconfig/pkg-plist b/x11-fonts/linux-c6-fontconfig/pkg-plist
new file mode 100644
index 000000000000..abae0f054888
--- /dev/null
+++ b/x11-fonts/linux-c6-fontconfig/pkg-plist
@@ -0,0 +1,22 @@
+@comment file listing
+etc/fonts
+usr/bin/fc-cat
+usr/bin/fc-list
+usr/bin/fc-match
+usr/bin/fc-query
+usr/bin/fc-scan
+usr/lib/libfontconfig.so.1
+usr/lib/libfontconfig.so.1.4.4
+usr/share/doc/fontconfig-2.8.0/AUTHORS
+usr/share/doc/fontconfig-2.8.0/COPYING
+usr/share/doc/fontconfig-2.8.0/README
+usr/share/doc/fontconfig-2.8.0/fontconfig-user.html
+usr/share/doc/fontconfig-2.8.0/fontconfig-user.txt
+usr/share/man/man1/fc-cat.1.gz
+usr/share/man/man1/fc-list.1.gz
+usr/share/man/man1/fc-match.1.gz
+usr/share/man/man1/fc-query.1.gz
+usr/share/man/man1/fc-scan.1.gz
+usr/share/man/man5/fonts-conf.5.gz
+@comment non-empty directory listing in revers order
+@dirrm usr/share/doc/fontconfig-2.8.0
diff --git a/x11-fonts/linux-f10-fontconfig/Makefile b/x11-fonts/linux-f10-fontconfig/Makefile
index 62db8960e50d..84e0f0c5e522 100644
--- a/x11-fonts/linux-f10-fontconfig/Makefile
+++ b/x11-fonts/linux-f10-fontconfig/Makefile
@@ -3,10 +3,9 @@
PORTNAME= fontconfig
PORTVERSION= 2.6.0
+PORTREVISION= 1
CATEGORIES= x11-fonts linux
MASTER_SITES= CRITICAL/rpm/${LINUX_RPM_ARCH}/fedora/${LINUX_DIST_VER}
-PKGNAMEPREFIX= linux-f10-
-DISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION}
MAINTAINER= emulation@FreeBSD.org
COMMENT= XML-based font configuration API for X Windows (Linux Fedora 10)
@@ -14,9 +13,10 @@ COMMENT= XML-based font configuration API for X Windows (Linux Fedora 10)
CONFLICTS= linux-fontconfig-[0-9]* linux-f8-fontconfig-[0-9]*
ONLY_FOR_ARCHS= i386 amd64
+USE_LINUX= f10
USE_LINUX_RPM= yes
USE_LINUX_APPS= expat
-LINUX_DIST_VER= 10
+
RPMVERSION= 3.fc10
BRANDELF_DIRS= usr/bin
USE_LDCONFIG= yes