author | Alan Coopersmith <Alan.Coopersmith@Sun.COM> |
Wed, 24 Feb 2010 21:41:03 -0800 | |
changeset 911 | a3e7e197651c |
parent 907 | 3c35d611cdaa |
child 919 | 425233ae7236 |
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 |
# |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
5 |
# Copyright 2010 Sun Microsystems, Inc. All rights reserved. |
810
6f94d3da0552
6889793 enable parallel builds of the X consolidation
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
653
diff
changeset
|
6 |
# Use is subject to license terms. |
653
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
7 |
# |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
8 |
# Permission is hereby granted, free of charge, to any person obtaining a |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
9 |
# copy of this software and associated documentation files (the |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
10 |
# "Software"), to deal in the Software without restriction, including |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
11 |
# without limitation the rights to use, copy, modify, merge, publish, |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
12 |
# distribute, and/or sell copies of the Software, and to permit persons |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
13 |
# to whom the Software is furnished to do so, provided that the above |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
14 |
# copyright notice(s) and this permission notice appear in all copies of |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
15 |
# the Software and that both the above copyright notice(s) and this |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
16 |
# permission notice appear in supporting documentation. |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
17 |
# |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
18 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
19 |
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
20 |
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
21 |
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
22 |
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
23 |
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
24 |
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
25 |
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
26 |
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
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 |
# Except as contained in this notice, the name of a copyright holder |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
29 |
# shall not be used in advertising or otherwise to promote the sale, use |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
30 |
# or other dealings in this Software without prior written authorization |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
31 |
# of the copyright holder. |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
32 |
# |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
33 |
# |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
34 |
|
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
35 |
# Package name used in tarballs |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
36 |
MODULE_NAME=google-droid-fonts |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
37 |
|
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
38 |
# Version number (used in path names) |
911
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
39 |
MODULE_VERSION=2010.02.24 |
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
40 |
|
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
41 |
# Checksums for upstream tarball |
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
42 |
TARBALL_MD5 = 6ea3273ac2868f72499276a562838289 |
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
43 |
TARBALL_SHA1 = 4eef8d0fc11231350cb3fe59cdd19716f192e311 |
653
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
44 |
|
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
45 |
# Source tarball |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
46 |
SOURCE_TARBALL_NAME=$(MODULE_NAME)-$(MODULE_VERSION).tar.gz |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
47 |
SOURCE_TARBALL_NAME_SET=yes |
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 |
# Directory created when unpacking tarball |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
50 |
SOURCE_DIRNAME=base |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
51 |
SOURCE_DIRNAME_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 |
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
55 |
# to get consistent checksums - updates will come from snapshot link on |
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
56 |
# http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts;hb=HEAD |
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
57 |
# Current version was downloaded on 2/24/2010 from |
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
58 |
# http://android.git.kernel.org/?p=platform/frameworks/base.git;a=snapshot;h=54e235b011be9e1e38a2b9be787d0a196493d89e;sf=tgz |
a3e7e197651c
6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
907
diff
changeset
|
59 |
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
|
60 |
SOURCE_URL_SET=yes |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
61 |
SOURCE_UNCOMPRESS=gzcat |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
62 |
|
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
63 |
# Patches to apply to source after unpacking, in order |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
64 |
SOURCE_PATCHES= # None |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
65 |
|
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
66 |
# License file |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
67 |
LICENSE_FILE=NOTICE |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
68 |
LICENSE_FILE_SET=yes |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
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 |
$(LICENSE_FILE) \ |
653
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
72 |
DroidSans.ttf \ |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
73 |
DroidSans-Bold.ttf \ |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
74 |
DroidSerif-Regular.ttf \ |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
75 |
DroidSerif-Bold.ttf \ |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
76 |
DroidSerif-Italic.ttf \ |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
77 |
DroidSerif-BoldItalic.ttf \ |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
78 |
DroidSansMono.ttf \ |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
79 |
DroidSansFallback.ttf |
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
80 |
|
837
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
81 |
TTF_SUBDIR=google-droid |
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
82 |
TTF_SUBDIR_SET=yes |
653
99e8cbe3eca5
6803790 Add Google Droid fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff
changeset
|
83 |
|
837
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
84 |
### Include common rulesets |
ee480af8e87c
6896574 Font repackaging and upgrade to X11R7.5 fonts
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
810
diff
changeset
|
85 |
include ../Makefile.ttf |