author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Wed, 10 Aug 2016 21:49:25 -0700 | |
changeset 1653 | 9fcb30a2102b |
parent 1551 | 73fac33fe172 |
permissions | -rw-r--r-- |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
1 |
############################################################################### |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
2 |
# |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
3 |
# Deja Vu Fonts Makefile |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
4 |
# |
1653
9fcb30a2102b
24443559 Update deja-vu fonts to version 2.37
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
5 |
# Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved. |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
6 |
# |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
7 |
# Permission is hereby granted, free of charge, to any person obtaining a |
919
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
8 |
# copy of this software and associated documentation files (the "Software"), |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
9 |
# to deal in the Software without restriction, including without limitation |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
10 |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
11 |
# and/or sell copies of the Software, and to permit persons to whom the |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
12 |
# Software is furnished to do so, subject to the following conditions: |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
13 |
# |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
14 |
# The above copyright notice and this permission notice (including the next |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
15 |
# paragraph) shall be included in all copies or substantial portions of the |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
16 |
# Software. |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
17 |
# |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
18 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
19 |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
20 |
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
21 |
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
22 |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
23 |
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
425233ae7236
6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
911
diff
changeset
|
24 |
# DEALINGS IN THE SOFTWARE. |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
25 |
# |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
26 |
# |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
27 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
365
diff
changeset
|
28 |
# Package name used in tarballs |
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
365
diff
changeset
|
29 |
MODULE_NAME=dejavu-fonts-ttf |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
30 |
|
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
31 |
# Package metadata |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
32 |
UPSTREAM = DejaVu fonts |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
33 |
UPSTREAM_URL = http://dejavu-fonts.org/ |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
34 |
UPSTREAM_SET = yes |
1551
73fac33fe172
21299212 X packages should use com.oracle.info.consolidation.repository-* tags
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1456
diff
changeset
|
35 |
GIT_URL = https://github.com/dejavu-fonts/dejavu-fonts.git |
73fac33fe172
21299212 X packages should use com.oracle.info.consolidation.repository-* tags
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1456
diff
changeset
|
36 |
GIT_URL_SET = yes |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
37 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
38 |
MODULE_LICENSE = Bitstream Vera Fonts License |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
39 |
MODULE_LICENSE_SET = yes |
1356
73c3eb360de2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1164
diff
changeset
|
40 |
MODULE_DESC = the DejaVu fonts |
1653
9fcb30a2102b
24443559 Update deja-vu fonts to version 2.37
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
41 |
ORACLE_TPNO = 30836 |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
935
diff
changeset
|
42 |
|
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
43 |
# Version number (used in path names) |
1653
9fcb30a2102b
24443559 Update deja-vu fonts to version 2.37
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
44 |
MODULE_VERSION=2.37 |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
45 |
|
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
46 |
# Checksums for upstream tarball |
1653
9fcb30a2102b
24443559 Update deja-vu fonts to version 2.37
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
47 |
TARBALL_MD5 = d0efec10b9f110a32e9b8f796e21782c |
9fcb30a2102b
24443559 Update deja-vu fonts to version 2.37
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
48 |
TARBALL_SHA1 = 7fa15e7b9676fc3915338c41e76ad454c344fff5 |
9fcb30a2102b
24443559 Update deja-vu fonts to version 2.37
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
49 |
TARBALL_SHA256 = fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7 |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
50 |
|
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
51 |
# Download site for source |
1042
d0172f4fafac
7001277 Update SourceForge & X.Org URLs for source downloads
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
999
diff
changeset
|
52 |
SOURCE_URL=$(SF_DOWNLOADS_URL)/dejavu/dejavu/$(MODULE_VERSION)/$(SOURCE_TARBALL_NAME) |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
53 |
SOURCE_URL_SET=yes |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
54 |
|
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
55 |
# Patches to apply to source after unpacking, in order |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
56 |
SOURCE_PATCHES= # None |
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
57 |
|
493
f43507b5737d
6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
365
diff
changeset
|
58 |
# What to install |
837
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
59 |
MODULE_ADD_INSTALL_TARGETS=install_fonts_conf |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
60 |
|
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
61 |
# Directory to install to |
837
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
62 |
TTF_SUBDIR=dejavu |
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
63 |
TTF_SUBDIR_SET=yes |
365
7b1fa8e8728b
6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
361
diff
changeset
|
64 |
FONTCONF_DEST_DIR=$(PROTODIR)/etc/fonts |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
65 |
|
355
a3a81e9c227d
6672824 Copyright/license notices from X.Org software should be included in SVR4 package copyrights
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
222
diff
changeset
|
66 |
# License file |
a3a81e9c227d
6672824 Copyright/license notices from X.Org software should be included in SVR4 package copyrights
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
222
diff
changeset
|
67 |
LICENSE_FILE=LICENSE |
a3a81e9c227d
6672824 Copyright/license notices from X.Org software should be included in SVR4 package copyrights
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
222
diff
changeset
|
68 |
LICENSE_FILE_SET=yes |
a3a81e9c227d
6672824 Copyright/license notices from X.Org software should be included in SVR4 package copyrights
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
222
diff
changeset
|
69 |
|
837
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
70 |
TTF_FONT_FILES= \ |
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
71 |
README \ |
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
72 |
$(LICENSE_FILE) \ |
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
73 |
ttf/*.ttf |
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
74 |
|
935
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
919
diff
changeset
|
75 |
# Subdir of $(SOURCE_DIR) containing *.ttf files |
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
919
diff
changeset
|
76 |
TTF_SOURCE_SUBDIR=ttf/ |
f812f9863e75
6941861 Collected X gate build fixes
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
919
diff
changeset
|
77 |
|
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
78 |
### Include common rulesets |
837
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
79 |
include ../Makefile.ttf |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
80 |
|
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
81 |
### Rules specific to this directory: |
1653
9fcb30a2102b
24443559 Update deja-vu fonts to version 2.37
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
82 |
$(SOURCE_DIR)/README: $(SOURCE_TARGETS) |
9fcb30a2102b
24443559 Update deja-vu fonts to version 2.37
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1551
diff
changeset
|
83 |
grep -v travis-ci.org $(SOURCE_DIR)/README.md > $@ |
222
73975f82276f
6470670 Include DejaVu fonts in Solaris
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
84 |
|
837
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
85 |
install_fonts_conf: $(SOURCE_TARGETS) |
561
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
86 |
mkdir -p $(FONTCONF_DEST_DIR)/conf.avail \ |
365
7b1fa8e8728b
6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
361
diff
changeset
|
87 |
$(FONTCONF_DEST_DIR)/conf.d |
851
d428083dbbdd
6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
837
diff
changeset
|
88 |
@( cd $(SOURCE_DIR)/fontconfig ; $(START_CMD_ECHO) ; \ |
837
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
89 |
for f in *.conf ; do \ |
365
7b1fa8e8728b
6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
361
diff
changeset
|
90 |
rm -f $(FONTCONF_DEST_DIR)/conf.avail/$$f \ |
7b1fa8e8728b
6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
361
diff
changeset
|
91 |
$(FONTCONF_DEST_DIR)/conf.d/$$f ; \ |
7b1fa8e8728b
6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
361
diff
changeset
|
92 |
cp -p $$f $(FONTCONF_DEST_DIR)/conf.avail/ ; \ |
7b1fa8e8728b
6673505 Update deja vu fonts to 2.24
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
361
diff
changeset
|
93 |
ln -s ../conf.avail/$$f $(FONTCONF_DEST_DIR)/conf.d/ ; \ |
837
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
94 |
done ) |
561
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
95 |
|
3c2df35483af
6756343 Split FSWxorg-fonts into smaller packages & integrate to Nevada gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
540
diff
changeset
|
96 |