7162162 Update liberation fonts to version 1.07.2
authorAlan Coopersmith <Alan.Coopersmith@Oracle.COM>
Tue, 17 Apr 2012 15:12:34 -0700
changeset 1271 4d5c437165db
parent 1270 d1685febb560
child 1272 cae6f95f4f19
7162162 Update liberation fonts to version 1.07.2
open-src/font/liberation/Makefile
pkg/manifests/system-font-truetype-liberation.p5m
--- a/open-src/font/liberation/Makefile	Tue Apr 10 21:23:33 2012 -0700
+++ b/open-src/font/liberation/Makefile	Tue Apr 17 15:12:34 2012 -0700
@@ -2,7 +2,7 @@
 #
 # Liberation Fonts Makefile
 #
-# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
 #
 # Permission is hereby granted, free of charge, to any person obtaining a
 # copy of this software and associated documentation files (the "Software"),
@@ -26,7 +26,7 @@
 #
 
 # Package name used in tarballs
-MODULE_NAME=liberation-fonts
+MODULE_NAME=liberation-fonts-ttf
 
 # Package metadata
 UPSTREAM	= Fedora Fonts SIG
@@ -38,11 +38,12 @@
 MODULE_LICENSE_PREPEND	= $(GPL_CHOICE_FILE)
 
 # Version number (used in path names)
-MODULE_VERSION=1.04
+MODULE_VERSION=1.07.2
 
 # Checksums for upstream tarball
-TARBALL_MD5  = 4846797ef0fc70b0cbaede2514677c58
-TARBALL_SHA1 = 097882c92e3260742a3dc3bf033792120d8635a3
+TARBALL_MD5   = 274ba7088e294d5dd27616aabbd88d34
+TARBALL_SHA1  = bf6314386793d99d4f86987ff86fd274e9a679e6
+TARBALL_SHA256= b1bbf2df80f388ca1748a41068fafebc8efdfdee7612afb78a7a7cd31004d50f
 
 # Source tarball
 SOURCE_TARBALL_NAME=$(MODULE_NAME)-$(MODULE_VERSION).tar.gz
@@ -69,6 +70,10 @@
 	LiberationSans-BoldItalic.ttf \
 	LiberationSans-Italic.ttf \
 	LiberationSans-Regular.ttf \
+	LiberationSansNarrow-Bold.ttf \
+	LiberationSansNarrow-BoldItalic.ttf \
+	LiberationSansNarrow-Italic.ttf \
+	LiberationSansNarrow-Regular.ttf \
 	LiberationSerif-Bold.ttf \
 	LiberationSerif-BoldItalic.ttf \
 	LiberationSerif-Italic.ttf \
@@ -78,6 +83,11 @@
 TTF_SUBDIR=liberation
 TTF_SUBDIR_SET=yes
 
+# Since normal package version includes a number starting with 0, which
+# pkg rules disallow, add a human-version to display that
+MODULE_ATTRDATA_COMMANDS = \
+	print 'set name=pkg.human-version value="$(MODULE_VERSION)"' >> $@
+
 ### Include common rulesets
 include ../Makefile.ttf
 
--- a/pkg/manifests/system-font-truetype-liberation.p5m	Tue Apr 10 21:23:33 2012 -0700
+++ b/pkg/manifests/system-font-truetype-liberation.p5m	Tue Apr 17 15:12:34 2012 -0700
@@ -1,4 +1,4 @@
-# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
 #
 # Permission is hereby granted, free of charge, to any person obtaining a
 # copy of this software and associated documentation files (the "Software"),
@@ -20,10 +20,10 @@
 # DEALINGS IN THE SOFTWARE.
 #
 set name=pkg.fmri \
-    value=pkg:/system/font/truetype/liberation@__version:liberation-fonts__
+    value=pkg:/system/font/truetype/liberation@__version:liberation-fonts-ttf__
 set name=pkg.summary value="Liberation fonts"
 set name=pkg.description \
-    value="TrueType font files for the Liberation family of open source fonts designed by Ascender and released by Red Hat.  The Liberation Fonts are intended to be open font replacements for the three most commonly used fonts on Microsoft systems: Times New Roman, Arial, and Courier New."
+    value="TrueType font files for the Liberation family of open source fonts designed by Ascender and released by Red Hat. The Liberation Fonts are intended to be open font replacements for the three most commonly used fonts on Microsoft systems: Times New Roman, Arial, and Courier New."
 link path=etc/X11/fontpath.d/liberation:pri=42 \
     target=../../../usr/share/fonts/TrueType/liberation
 dir  path=usr/share/fonts/TrueType/liberation
@@ -35,6 +35,10 @@
 file path=usr/share/fonts/TrueType/liberation/LiberationSans-BoldItalic.ttf
 file path=usr/share/fonts/TrueType/liberation/LiberationSans-Italic.ttf
 file path=usr/share/fonts/TrueType/liberation/LiberationSans-Regular.ttf
+file path=usr/share/fonts/TrueType/liberation/LiberationSansNarrow-Bold.ttf
+file path=usr/share/fonts/TrueType/liberation/LiberationSansNarrow-BoldItalic.ttf
+file path=usr/share/fonts/TrueType/liberation/LiberationSansNarrow-Italic.ttf
+file path=usr/share/fonts/TrueType/liberation/LiberationSansNarrow-Regular.ttf
 file path=usr/share/fonts/TrueType/liberation/LiberationSerif-Bold.ttf
 file path=usr/share/fonts/TrueType/liberation/LiberationSerif-BoldItalic.ttf
 file path=usr/share/fonts/TrueType/liberation/LiberationSerif-Italic.ttf