author | Alan Coopersmith <Alan.Coopersmith@Oracle.COM> |
Wed, 10 Aug 2016 21:49:25 -0700 | |
changeset 1653 | 9fcb30a2102b |
parent 1385 | 0f063bf5cafa |
permissions | -rw-r--r-- |
653
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
1 |
############################################################################### |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
2 |
# |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
3 |
# Droid Fonts Makefile |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
4 |
# |
1356
73c3eb360de2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
5 |
# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. |
653
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
6 |
# |
99e8cbe3eca5
6803790 Add Google Droid fonts
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. |
653
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
25 |
# |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
26 |
# |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
27 |
|
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
28 |
# Package name used in tarballs |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
29 |
MODULE_NAME=google-droid-fonts |
99e8cbe3eca5
6803790 Add Google Droid fonts
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:
943
diff
changeset
|
31 |
# Package metadata |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
32 |
UPSTREAM = Google Android |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
33 |
UPSTREAM_URL = http://www.droidfonts.com/ |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
34 |
UPSTREAM_SET = yes |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
35 |
|
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
36 |
MODULE_LICENSE = Apache License, Version 2.0 |
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
37 |
MODULE_LICENSE_SET = yes |
1356
73c3eb360de2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
38 |
MODULE_DESC = the Droid font families |
73c3eb360de2
16167547 Update copyright & license display & metadata in X packages
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1228
diff
changeset
|
39 |
ORACLE_TPNO = 12030 |
970
272328fe1b4a
6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
943
diff
changeset
|
40 |
|
653
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
41 |
# Version number (used in path names) |
1385
0f063bf5cafa
16956607 Update droid fonts to a June 2013 snapshot
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1356
diff
changeset
|
42 |
MODULE_VERSION=2013.06.07 |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
43 |
|
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
44 |
# Checksums for upstream tarball |
1385
0f063bf5cafa
16956607 Update droid fonts to a June 2013 snapshot
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1356
diff
changeset
|
45 |
TARBALL_MD5 = 05d2a6da4cacf5b294d65ea981861cf8 |
0f063bf5cafa
16956607 Update droid fonts to a June 2013 snapshot
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1356
diff
changeset
|
46 |
TARBALL_SHA1 = 50f649133d0f75b889058261f625ae14e89fa09f |
0f063bf5cafa
16956607 Update droid fonts to a June 2013 snapshot
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1356
diff
changeset
|
47 |
TARBALL_SHA256= 61bb7b67050efcdbf5d434085c9cbe7570ed31d97a5ffa920401132bde0f07b1 |
653
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
48 |
|
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
49 |
# Source tarball |
1385
0f063bf5cafa
16956607 Update droid fonts to a June 2013 snapshot
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1356
diff
changeset
|
50 |
SOURCE_TARBALL_NAME=$(SOURCE_DIRNAME).tar.xz |
653
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
51 |
SOURCE_TARBALL_NAME_SET=yes |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
52 |
|
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
53 |
# Download site for source |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
54 |
# Upstream doesn't have a stable download tarball, so we use our mirror |
1385
0f063bf5cafa
16956607 Update droid fonts to a June 2013 snapshot
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1356
diff
changeset
|
55 |
# to get consistent checksums - updates will come from snapshot of |
0f063bf5cafa
16956607 Update droid fonts to a June 2013 snapshot
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1356
diff
changeset
|
56 |
# https://android.googlesource.com/platform/frameworks/base.git |
0f063bf5cafa
16956607 Update droid fonts to a June 2013 snapshot
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1356
diff
changeset
|
57 |
# via "make upstream" target below |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
58 |
SOURCE_URL=http://dlc.sun.com/osol/x/downloads/mirrors/$(SOURCE_TARBALL_NAME) |
653
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
59 |
SOURCE_URL_SET=yes |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
60 |
|
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
61 |
# Patches to apply to source after unpacking, in order |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
62 |
SOURCE_PATCHES= # None |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
63 |
|
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
64 |
# License file |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
65 |
LICENSE_FILE=NOTICE |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
66 |
LICENSE_FILE_SET=yes |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
67 |
|
837
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
68 |
TTF_FONT_FILES = \ |
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
69 |
$(LICENSE_FILE) \ |
1385
0f063bf5cafa
16956607 Update droid fonts to a June 2013 snapshot
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1356
diff
changeset
|
70 |
*.ttf |
653
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
71 |
|
837
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
72 |
TTF_SUBDIR=google-droid |
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
73 |
TTF_SUBDIR_SET=yes |
653
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
74 |
|
837
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
75 |
### Include common rulesets |
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
76 |
include ../Makefile.ttf |
1385
0f063bf5cafa
16956607 Update droid fonts to a June 2013 snapshot
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1356
diff
changeset
|
77 |
|
0f063bf5cafa
16956607 Update droid fonts to a June 2013 snapshot
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1356
diff
changeset
|
78 |
# Download latest sources from upstream & make new tarball |
0f063bf5cafa
16956607 Update droid fonts to a June 2013 snapshot
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1356
diff
changeset
|
79 |
upstream: |
0f063bf5cafa
16956607 Update droid fonts to a June 2013 snapshot
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
1356
diff
changeset
|
80 |
/bin/bash ./getdroid.sh |