Bug 182414 - New port: x11-fonts/fira Sans-serif and monospaced typeface for small screens
Summary: New port: x11-fonts/fira Sans-serif and monospaced typeface for small screens
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rusmir Dusko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-26 17:20 UTC by Horia Racoviceanu
Modified: 2014-01-20 20:30 UTC (History)
0 users

See Also:


Attachments
file.shar (7.57 KB, text/plain)
2013-09-26 17:20 UTC, Horia Racoviceanu
no flags Details
fira.shar.txt (4.17 KB, text/plain; charset=US-ASCII)
2013-11-01 22:00 UTC, Horia Racoviceanu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Horia Racoviceanu 2013-09-26 17:20:00 UTC
The Fira font family was designed to cover the legibility needs for a
large range of handsets varying in screen quality and rendering. It
comes in a Sans Serif with 4 weights (light, regular, medium and bold)
all accompanied by italic styles. The package also includes a Mono
Spaced variant with 2 weights (regular and bold).

Available formats: Open Type, True Type, Web Font

WWW: http://www.mozilla.org/en-US/styleguide/products/firefox-os/typeface/

Fix: Patch attached with submission follows:
Comment 1 Rusmir Dusko freebsd_committer freebsd_triage 2013-10-23 02:16:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nemysis

I'll take it.
Comment 2 Horia Racoviceanu 2013-11-01 22:00:02 UTC
- Fix fc-cache STAGEDIR
- Add dist-sell and pkg-sell to LICENSE_PERMS
- Remove NEED_ROOT
- Remove TTF, OTF, and WEBFONT OPTIONS
- Remove bsd.port.options.mk
- Change BUILD_DEPENDS to
${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig
- Remove trailing / from install
- Remove SILENT
- Remove FONTSDIR_REL
- Change FONTSDIR to ${PREFIX}/lib/X11/fonts/${PORTNAME}

- Move WEBFONT to www/fira-webfont
http://www.freebsd.org/cgi/query-pr.cgi?pr=183573

- Change wording and WWW in pkg-descr to https://github.com/mozilla/Fira
- Replace @dirrmtry with @dirrm in pkg-plist
- Change wording in pkg-message

- Build Log
https://redports.org/buildarchive/20131101204431-94403/
https://redports.org/buildarchive/20131101204647-83218/
Comment 3 Rusmir Dusko freebsd_committer freebsd_triage 2014-01-20 20:20:18 UTC
State Changed
From-To: open->closed

New port added. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-01-20 20:22:04 UTC
Author: nemysis
Date: Mon Jan 20 20:21:50 2014
New Revision: 340463
URL: http://svnweb.freebsd.org/changeset/ports/340463
QAT: https://qat.redports.org/buildarchive/r340463/

Log:
  The Fira font family was designed to cover the legibility needs for a
  large range of handsets varying in screen quality and rendering. It
  comes in a Sans Serif with 4 weights (light, regular, medium and bold)
  all accompanied by italic styles. The package also includes a Mono
  Spaced variant with 2 weights (regular and bold).
  
  Available formats: Open Type, True Type
  
  WWW: http://mozilla.github.io/Fira/
  
  PR:		ports/182414
  Submitted by:	horia

Added:
  head/x11-fonts/fira/
  head/x11-fonts/fira/Makefile   (contents, props changed)
  head/x11-fonts/fira/distinfo   (contents, props changed)
  head/x11-fonts/fira/files/
  head/x11-fonts/fira/files/pkg-message.in   (contents, props changed)
  head/x11-fonts/fira/fonts.scale   (contents, props changed)
  head/x11-fonts/fira/pkg-descr   (contents, props changed)
  head/x11-fonts/fira/pkg-plist   (contents, props changed)
Modified:
  head/x11-fonts/Makefile

Modified: head/x11-fonts/Makefile
==============================================================================
--- head/x11-fonts/Makefile	Mon Jan 20 20:02:50 2014	(r340462)
+++ head/x11-fonts/Makefile	Mon Jan 20 20:21:50 2014	(r340463)
@@ -35,6 +35,7 @@
     SUBDIR += ecofont
     SUBDIR += encodings
     SUBDIR += farsifonts
+    SUBDIR += fira
     SUBDIR += fntsample
     SUBDIR += font-adobe-100dpi
     SUBDIR += font-adobe-75dpi

Added: head/x11-fonts/fira/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/fira/Makefile	Mon Jan 20 20:21:50 2014	(r340463)
@@ -0,0 +1,49 @@
+# Created by: Horia Racoviceanu <horia@racoviceanu.com>
+# $FreeBSD$
+
+PORTNAME=	fira
+PORTVERSION=	1.0
+CATEGORIES=	x11-fonts
+
+MAINTAINER=	horia@racoviceanu.com
+COMMENT=	Sans-serif and monospaced typeface for small screens
+
+LICENSE=	OFL
+LICENSE_NAME=	SIL OPEN FONT LICENSE Version 1.1
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
+
+BUILD_DEPENDS=	fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
+		mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	mozilla
+GH_PROJECT=	Fira
+GH_TAGNAME=	${GH_COMMIT}
+GH_COMMIT=	705ffff
+
+USE_XORG=	x11
+FONTLIBPATH=	lib/X11/fonts
+FONTROOTDIR=	${PREFIX}/${FONTLIBPATH}
+FONTDIR=	${FONTROOTDIR}/${PORTNAME}
+NO_BUILD=	yes
+
+SUB_LIST=	FONTDIR="${FONTDIR}"
+PLIST_SUB=	FONTDIR="${FONTDIR:S|${PREFIX}/||}"
+
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
+
+SUB_FILES=	pkg-message
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${FONTDIR}
+	${INSTALL_DATA} ${WRKSRC}/ttf/${GH_PROJECT}*.ttf ${STAGEDIR}${FONTDIR}
+	${INSTALL_DATA} ${WRKSRC}/otf/${GH_PROJECT}*.otf ${STAGEDIR}${FONTDIR}
+
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/x11-fonts/fira/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/fira/distinfo	Mon Jan 20 20:21:50 2014	(r340463)
@@ -0,0 +1,2 @@
+SHA256 (fira-1.0.tar.gz) = f87bd7d1380e5a93a3743edd3d038b44c7460ea14c204b152b750f5551fd2531
+SIZE (fira-1.0.tar.gz) = 3973356

Added: head/x11-fonts/fira/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/fira/files/pkg-message.in	Mon Jan 20 20:21:50 2014	(r340463)
@@ -0,0 +1,18 @@
+===============================================================================
+
+Fira has been installed.
+
+Make sure that the freetype module is loaded.  If it is not, add the following
+line to the "Modules" section of your X Windows configuration file:
+
+    Load "freetype"
+
+Add the following line to the "Files" section of X Windows configuration file:
+
+    FontPath "%%FONTDIR%%/"
+
+Note: your X Windows configuration file is typically /etc/X11/xorg.conf
+
+For Web Font please use www/fira-webfont port.
+
+===============================================================================

Added: head/x11-fonts/fira/fonts.scale
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/fira/fonts.scale	Mon Jan 20 20:21:50 2014	(r340463)
@@ -0,0 +1 @@
+0

Added: head/x11-fonts/fira/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/fira/pkg-descr	Mon Jan 20 20:21:50 2014	(r340463)
@@ -0,0 +1,9 @@
+The Fira font family was designed to cover the legibility needs for a
+large range of handsets varying in screen quality and rendering. It
+comes in a Sans Serif with 4 weights (light, regular, medium and bold)
+all accompanied by italic styles. The package also includes a Mono
+Spaced variant with 2 weights (regular and bold).
+
+Available formats: Open Type, True Type
+
+WWW: http://mozilla.github.io/Fira/

Added: head/x11-fonts/fira/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/fira/pkg-plist	Mon Jan 20 20:21:50 2014	(r340463)
@@ -0,0 +1,29 @@
+%%FONTDIR%%/FiraMono-Bold.ttf
+%%FONTDIR%%/FiraMono-Regular.ttf
+%%FONTDIR%%/FiraMonoOT-Bold.otf
+%%FONTDIR%%/FiraMonoOT-Regular.otf
+%%FONTDIR%%/FiraSans-Bold.ttf
+%%FONTDIR%%/FiraSans-BoldItalic.ttf
+%%FONTDIR%%/FiraSans-Light.ttf
+%%FONTDIR%%/FiraSans-LightItalic.ttf
+%%FONTDIR%%/FiraSans-Medium.ttf
+%%FONTDIR%%/FiraSans-MediumItalic.ttf
+%%FONTDIR%%/FiraSans-Regular.ttf
+%%FONTDIR%%/FiraSans-RegularItalic.ttf
+%%FONTDIR%%/FiraSansOT-Bold.otf
+%%FONTDIR%%/FiraSansOT-BoldItalic.otf
+%%FONTDIR%%/FiraSansOT-Light.otf
+%%FONTDIR%%/FiraSansOT-LightItalic.otf
+%%FONTDIR%%/FiraSansOT-Medium.otf
+%%FONTDIR%%/FiraSansOT-MediumItalic.otf
+%%FONTDIR%%/FiraSansOT-Regular.otf
+%%FONTDIR%%/FiraSansOT-RegularItalic.otf
+@exec fc-cache -s -v %D/%%FONTDIR%% 2>/dev/null || true
+@exec mkfontscale %D/%%FONTDIR%% 2>/dev/null || true
+@unexec mkfontscale %D/%%FONTDIR%% 2>/dev/null || true
+@unexec if [ -e %D/%%FONTDIR%%/fonts.scale -a "`stat -f '%%z' %D/%%FONTDIR%%/fonts.scale 2>/dev/null`" = '2' ]; then rm %D/%%FONTDIR%%/fonts.scale; fi
+@exec mkfontdir %D/%%FONTDIR%% 2>/dev/null || true
+@unexec mkfontdir %D/%%FONTDIR%% 2>/dev/null || true
+@unexec if [ -e %D/%%FONTDIR%%/fonts.dir -a "`stat -f '%%z' %D/%%FONTDIR%%/fonts.dir 2>/dev/null`" = '2' ]; then rm %D/%%FONTDIR%%/fonts.dir; fi
+@dirrm %%FONTDIR%%
+@unexec fc-cache -s -v %D/%%FONTDIR%% 2>/dev/null || true
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"