Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2016 00:42:27 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424798 - in head/x11-fonts/roboto-fonts-ttf: . files
Message-ID:  <201610280042.u9S0gRVk053254@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Fri Oct 28 00:42:27 2016
New Revision: 424798
URL: https://svnweb.freebsd.org/changeset/ports/424798

Log:
  x11-fonts/roboto-fonts-ttf: Update to 2.134
  
  - Update roboto-fonts-ttf to 2.134
  - Fix fontconfing incompatibilities
  - Pass maintainership to submitter
  
  PR:		213514
  Submitted by:	Vladimir Kondratyev <wulf@cicgroup.ru>
  Approved by:	koobs (mentor)

Added:
  head/x11-fonts/roboto-fonts-ttf/files/64-google-roboto-condensed.conf   (contents, props changed)
  head/x11-fonts/roboto-fonts-ttf/files/64-google-roboto.conf   (contents, props changed)
Modified:
  head/x11-fonts/roboto-fonts-ttf/Makefile
  head/x11-fonts/roboto-fonts-ttf/distinfo
  head/x11-fonts/roboto-fonts-ttf/pkg-plist

Modified: head/x11-fonts/roboto-fonts-ttf/Makefile
==============================================================================
--- head/x11-fonts/roboto-fonts-ttf/Makefile	Fri Oct 28 00:03:30 2016	(r424797)
+++ head/x11-fonts/roboto-fonts-ttf/Makefile	Fri Oct 28 00:42:27 2016	(r424798)
@@ -2,12 +2,12 @@
 # $FreeBSD$
 
 PORTNAME=	roboto-fonts-ttf
-PORTVERSION=	2.131
+PORTVERSION=	2.134
 DISTVERSIONPREFIX=v
 PORTEPOCH=	1
 CATEGORIES=	x11-fonts
 
-MAINTAINER=	winston@ml1.net
+MAINTAINER=	wulf@cicgroup.ru
 COMMENT=	Roboto typeface family
 
 LICENSE=	APACHE20
@@ -23,8 +23,15 @@ GH_PROJECT=	roboto
 
 SUB_FILES=	pkg-message
 
+PLIST_SUB=	FCDIR=${FCDIR} FCDIR_LINKS=${FCDIR_LINKS}
+FCDIR?=		etc/fonts/conf.avail
+FCDIR_LINKS=	${FCDIR:S|conf.avail|conf.d|}
+
 do-install:
 	${MKDIR} ${STAGEDIR}${FONTSDIR}
 	${INSTALL_DATA} ${WRKSRC}/hinted/*.ttf ${STAGEDIR}${FONTSDIR}
+	${MKDIR} ${STAGEDIR}${PREFIX}/${FCDIR}/ ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/
+	${INSTALL_DATA} ${FILESDIR}/*.conf ${STAGEDIR}${PREFIX}/${FCDIR}/
+	cd ${STAGEDIR}${PREFIX}/${FCDIR_LINKS}/ && ${LN} -fs ../conf.avail/*.conf .
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/roboto-fonts-ttf/distinfo
==============================================================================
--- head/x11-fonts/roboto-fonts-ttf/distinfo	Fri Oct 28 00:03:30 2016	(r424797)
+++ head/x11-fonts/roboto-fonts-ttf/distinfo	Fri Oct 28 00:42:27 2016	(r424798)
@@ -1,2 +1,3 @@
-SHA256 (google-roboto-v2.131_GH0.tar.gz) = 34b32fdc37d935ec3e723b9d5895c0a2e1d1070e8f8d8821eac1c8a7c84aff7b
-SIZE (google-roboto-v2.131_GH0.tar.gz) = 6264167
+TIMESTAMP = 1476726519
+SHA256 (google-roboto-v2.134_GH0.tar.gz) = 01f998e9e904d3c57ad363b6337f078fdac647fa5971b6159ad0d100a4e1edb1
+SIZE (google-roboto-v2.134_GH0.tar.gz) = 6288240

Added: head/x11-fonts/roboto-fonts-ttf/files/64-google-roboto-condensed.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/roboto-fonts-ttf/files/64-google-roboto-condensed.conf	Fri Oct 28 00:42:27 2016	(r424798)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+        <alias>
+          <family>sans-serif</family>
+            <prefer>
+              <family>Roboto Condensed</family>
+            </prefer>
+        </alias>
+        <alias>
+          <family>Roboto Condensed</family>
+            <default>
+              <family>sans-serif</family>
+            </default>
+        </alias>
+	<match target="scan">
+		<test name="family">
+			<string>Roboto Condensed</string>
+		</test>
+		<edit name="width">
+			<const>condensed</const>
+		</edit>
+	</match>
+</fontconfig>
+

Added: head/x11-fonts/roboto-fonts-ttf/files/64-google-roboto.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/roboto-fonts-ttf/files/64-google-roboto.conf	Fri Oct 28 00:42:27 2016	(r424798)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+        <alias>
+          <family>sans-serif</family>
+            <prefer>
+              <family>Roboto</family>
+            </prefer>
+        </alias>
+        <alias>
+          <family>Roboto</family>
+            <default>
+              <family>sans-serif</family>
+            </default>
+        </alias>
+	<match target="scan">
+		<test name="style">
+			<string>Thin</string>
+		</test>
+		<edit name="weight">
+			<const>thin</const>
+		</edit>
+	</match>
+	<match target="scan">
+		<test name="style">
+			<string>Thin Italic</string>
+		</test>
+		<edit name="weight">
+			<const>thin</const>
+		</edit>
+	</match>
+	<match target="scan">
+		<test name="style">
+			<string>Black</string>
+		</test>
+		<edit name="weight">
+			<const>black</const>
+		</edit>
+	</match>
+	<match target="scan">
+		<test name="style">
+			<string>Black Italic</string>
+		</test>
+		<edit name="weight">
+			<const>black</const>
+		</edit>
+	</match>
+</fontconfig>
+

Modified: head/x11-fonts/roboto-fonts-ttf/pkg-plist
==============================================================================
--- head/x11-fonts/roboto-fonts-ttf/pkg-plist	Fri Oct 28 00:03:30 2016	(r424797)
+++ head/x11-fonts/roboto-fonts-ttf/pkg-plist	Fri Oct 28 00:42:27 2016	(r424798)
@@ -1,3 +1,7 @@
+%%FCDIR%%/64-google-roboto-condensed.conf
+%%FCDIR%%/64-google-roboto.conf
+%%FCDIR_LINKS%%/64-google-roboto-condensed.conf
+%%FCDIR_LINKS%%/64-google-roboto.conf
 %%FONTSDIR%%/Roboto-Black.ttf
 %%FONTSDIR%%/Roboto-BlackItalic.ttf
 %%FONTSDIR%%/Roboto-Bold.ttf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610280042.u9S0gRVk053254>