Flatten the macos bundle makefile
Jeremy Tan
4 years ago
652 | 652 | contrib/cidmap/src/Makefile |
653 | 653 | contrib/fonttools/Makefile |
654 | 654 | osx/Makefile |
655 | osx/FontForge.app/Makefile | |
656 | osx/FontForge.app/Contents/Makefile | |
657 | osx/FontForge.app/Contents/Resources/Makefile | |
658 | osx/FontForge.app/Contents/Resources/English.lproj/Makefile | |
659 | osx/FontForge.app/Contents/Resources/opt/Makefile | |
660 | osx/FontForge.app/Contents/Resources/opt/local/Makefile | |
661 | osx/FontForge.app/Contents/Resources/opt/local/etc/Makefile | |
662 | osx/FontForge.app/Contents/Resources/opt/local/etc/fonts/Makefile | |
663 | osx/FontForge.app/Contents/MacOS/Makefile | |
664 | 655 | |
665 | 656 | fontforge.pc |
666 | 657 | osx/FontForge.app/Contents/Info.plist |
0 | # Copyright (C) 2013 by Ben Martin | |
1 | # | |
2 | # Redistribution and use in source and binary forms, with or without | |
3 | # modification, are permitted provided that the following conditions are met: | |
4 | # | |
5 | # Redistributions of source code must retain the above copyright notice, this | |
6 | # list of conditions and the following disclaimer. | |
7 | # | |
8 | # Redistributions in binary form must reproduce the above copyright notice, | |
9 | # this list of conditions and the following disclaimer in the documentation | |
10 | # and/or other materials provided with the distribution. | |
11 | # | |
12 | # The name of the author may not be used to endorse or promote products | |
13 | # derived from this software without specific prior written permission. | |
14 | # | |
15 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED | |
16 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
17 | # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | |
18 | # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
19 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
20 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | |
21 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | |
22 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | |
23 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | |
24 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
25 | ||
26 | include $(top_srcdir)/mk/layout.am | |
27 | ||
28 | FFAPP_FILES = FontForge debug-script Attach-Debugger-to-running-FontForge | |
29 | EXTRA_DIST = $(FFAPP_FILES) | |
30 | ||
31 | if PLATFORM_OSX | |
32 | ffappdir = $(pkgdatadir)/osx/FontForge.app/Contents/MacOS | |
33 | ffapp_SCRIPTS = $(FFAPP_FILES) | |
34 | endif | |
35 | ||
36 | -include $(top_srcdir)/git.mk |
0 | # Copyright (C) 2013 by Ben Martin | |
1 | # | |
2 | # Redistribution and use in source and binary forms, with or without | |
3 | # modification, are permitted provided that the following conditions are met: | |
4 | # | |
5 | # Redistributions of source code must retain the above copyright notice, this | |
6 | # list of conditions and the following disclaimer. | |
7 | # | |
8 | # Redistributions in binary form must reproduce the above copyright notice, | |
9 | # this list of conditions and the following disclaimer in the documentation | |
10 | # and/or other materials provided with the distribution. | |
11 | # | |
12 | # The name of the author may not be used to endorse or promote products | |
13 | # derived from this software without specific prior written permission. | |
14 | # | |
15 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED | |
16 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
17 | # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | |
18 | # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
19 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
20 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | |
21 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | |
22 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | |
23 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | |
24 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
25 | ||
26 | include $(top_srcdir)/mk/layout.am | |
27 | ||
28 | SUBDIRS = Resources MacOS | |
29 | EXTRA_DIST = PkgInfo | |
30 | ||
31 | if PLATFORM_OSX | |
32 | ffappdir = $(pkgdatadir)/osx/FontForge.app/Contents | |
33 | ffapp_DATA = PkgInfo | |
34 | nodist_ffapp_DATA = Info.plist | |
35 | endif | |
36 | ||
37 | -include $(top_srcdir)/git.mk |
0 | # Copyright (C) 2013 by Ben Martin | |
1 | # | |
2 | # Redistribution and use in source and binary forms, with or without | |
3 | # modification, are permitted provided that the following conditions are met: | |
4 | # | |
5 | # Redistributions of source code must retain the above copyright notice, this | |
6 | # list of conditions and the following disclaimer. | |
7 | # | |
8 | # Redistributions in binary form must reproduce the above copyright notice, | |
9 | # this list of conditions and the following disclaimer in the documentation | |
10 | # and/or other materials provided with the distribution. | |
11 | # | |
12 | # The name of the author may not be used to endorse or promote products | |
13 | # derived from this software without specific prior written permission. | |
14 | # | |
15 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED | |
16 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
17 | # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | |
18 | # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
19 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
20 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | |
21 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | |
22 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | |
23 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | |
24 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
25 | ||
26 | include $(top_srcdir)/mk/layout.am | |
27 | ||
28 | FFAPP_FILES = InfoPlist.string | |
29 | EXTRA_DIST = $(FFAPP_FILES) | |
30 | ||
31 | if PLATFORM_OSX | |
32 | ffappdir = $(pkgdatadir)/osx/FontForge.app/Contents/Resources/English.lproj | |
33 | ffapp_DATA = $(FFAPP_FILES) | |
34 | endif | |
35 | ||
36 | -include $(top_srcdir)/git.mk |
0 | # Copyright (C) 2013 by Ben Martin | |
1 | # | |
2 | # Redistribution and use in source and binary forms, with or without | |
3 | # modification, are permitted provided that the following conditions are met: | |
4 | # | |
5 | # Redistributions of source code must retain the above copyright notice, this | |
6 | # list of conditions and the following disclaimer. | |
7 | # | |
8 | # Redistributions in binary form must reproduce the above copyright notice, | |
9 | # this list of conditions and the following disclaimer in the documentation | |
10 | # and/or other materials provided with the distribution. | |
11 | # | |
12 | # The name of the author may not be used to endorse or promote products | |
13 | # derived from this software without specific prior written permission. | |
14 | # | |
15 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED | |
16 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
17 | # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | |
18 | # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
19 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
20 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | |
21 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | |
22 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | |
23 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | |
24 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
25 | ||
26 | include $(top_srcdir)/mk/layout.am | |
27 | ||
28 | SUBDIRS = English.lproj opt | |
29 | FFAPP_FILES = buttonFF.icns fontforge_backup.icns fontforge_dfont.icns FontForge.icns \ | |
30 | fontforge_otf.icns fontforge_ps3.icns fontforge_ps.icns fontforge_sfd.icns \ | |
31 | fontforge_ttf.icns | |
32 | EXTRA_DIST = $(FFAPP_FILES) | |
33 | ||
34 | if PLATFORM_OSX | |
35 | ffappdir = $(pkgdatadir)/osx/FontForge.app/Contents/Resources | |
36 | ffapp_DATA = $(FFAPP_FILES) | |
37 | endif | |
38 | ||
39 | -include $(top_srcdir)/git.mk |
Binary diff not shown
0 | # Copyright (C) 2013 by Ben Martin | |
1 | # | |
2 | # Redistribution and use in source and binary forms, with or without | |
3 | # modification, are permitted provided that the following conditions are met: | |
4 | # | |
5 | # Redistributions of source code must retain the above copyright notice, this | |
6 | # list of conditions and the following disclaimer. | |
7 | # | |
8 | # Redistributions in binary form must reproduce the above copyright notice, | |
9 | # this list of conditions and the following disclaimer in the documentation | |
10 | # and/or other materials provided with the distribution. | |
11 | # | |
12 | # The name of the author may not be used to endorse or promote products | |
13 | # derived from this software without specific prior written permission. | |
14 | # | |
15 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED | |
16 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
17 | # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | |
18 | # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
19 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
20 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | |
21 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | |
22 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | |
23 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | |
24 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
25 | ||
26 | include $(top_srcdir)/mk/layout.am | |
27 | SUBDIRS = local | |
28 | -include $(top_srcdir)/git.mk |
0 | # Copyright (C) 2013 by Ben Martin | |
1 | # | |
2 | # Redistribution and use in source and binary forms, with or without | |
3 | # modification, are permitted provided that the following conditions are met: | |
4 | # | |
5 | # Redistributions of source code must retain the above copyright notice, this | |
6 | # list of conditions and the following disclaimer. | |
7 | # | |
8 | # Redistributions in binary form must reproduce the above copyright notice, | |
9 | # this list of conditions and the following disclaimer in the documentation | |
10 | # and/or other materials provided with the distribution. | |
11 | # | |
12 | # The name of the author may not be used to endorse or promote products | |
13 | # derived from this software without specific prior written permission. | |
14 | # | |
15 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED | |
16 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
17 | # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | |
18 | # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
19 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
20 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | |
21 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | |
22 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | |
23 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | |
24 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
25 | ||
26 | include $(top_srcdir)/mk/layout.am | |
27 | SUBDIRS = etc | |
28 | -include $(top_srcdir)/git.mk |
0 | # Copyright (C) 2013 by Ben Martin | |
1 | # | |
2 | # Redistribution and use in source and binary forms, with or without | |
3 | # modification, are permitted provided that the following conditions are met: | |
4 | # | |
5 | # Redistributions of source code must retain the above copyright notice, this | |
6 | # list of conditions and the following disclaimer. | |
7 | # | |
8 | # Redistributions in binary form must reproduce the above copyright notice, | |
9 | # this list of conditions and the following disclaimer in the documentation | |
10 | # and/or other materials provided with the distribution. | |
11 | # | |
12 | # The name of the author may not be used to endorse or promote products | |
13 | # derived from this software without specific prior written permission. | |
14 | # | |
15 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED | |
16 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
17 | # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | |
18 | # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
19 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
20 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | |
21 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | |
22 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | |
23 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | |
24 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
25 | ||
26 | include $(top_srcdir)/mk/layout.am | |
27 | SUBDIRS = fonts | |
28 | -include $(top_srcdir)/git.mk |
0 | # Copyright (C) 2013 by Ben Martin | |
1 | # | |
2 | # Redistribution and use in source and binary forms, with or without | |
3 | # modification, are permitted provided that the following conditions are met: | |
4 | # | |
5 | # Redistributions of source code must retain the above copyright notice, this | |
6 | # list of conditions and the following disclaimer. | |
7 | # | |
8 | # Redistributions in binary form must reproduce the above copyright notice, | |
9 | # this list of conditions and the following disclaimer in the documentation | |
10 | # and/or other materials provided with the distribution. | |
11 | # | |
12 | # The name of the author may not be used to endorse or promote products | |
13 | # derived from this software without specific prior written permission. | |
14 | # | |
15 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED | |
16 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
17 | # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | |
18 | # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
19 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
20 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | |
21 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | |
22 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | |
23 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | |
24 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
25 | ||
26 | include $(top_srcdir)/mk/layout.am | |
27 | ||
28 | FFAPP_FILES = fonts.conf | |
29 | EXTRA_DIST = $(FFAPP_FILES) | |
30 | ||
31 | if PLATFORM_OSX | |
32 | ffappdir = $(pkgdatadir)/osx/FontForge.app/Contents/Resources/opt/local/etc/fonts | |
33 | ffapp_DATA = $(FFAPP_FILES) | |
34 | endif | |
35 | ||
36 | -include $(top_srcdir)/git.mk |
0 | <?xml version="1.0"?> | |
1 | <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
2 | <!-- /etc/fonts/fonts.conf file to configure system font access --> | |
3 | <fontconfig><dir>/Applications/FontForge.app/Contents/Resources/opt/local/share/fontforge/pixmaps/</dir> | |
4 | ||
5 | <!-- | |
6 | DO NOT EDIT THIS FILE. | |
7 | IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED. | |
8 | LOCAL CHANGES BELONG IN 'local.conf'. | |
9 | ||
10 | The intent of this standard configuration file is to be adequate for | |
11 | most environments. If you have a reasonably normal environment and | |
12 | have found problems with this configuration, they are probably | |
13 | things that others will also want fixed. Please submit any | |
14 | problems to the fontconfig bugzilla system located at fontconfig.org | |
15 | ||
16 | Note that the normal 'make install' procedure for fontconfig is to | |
17 | replace any existing fonts.conf file with the new version. Place | |
18 | any local customizations in local.conf which this file references. | |
19 | ||
20 | Keith Packard | |
21 | --> | |
22 | ||
23 | <!-- Font directory list --> | |
24 | ||
25 | <dir>/Applications/FontForge.app/Contents/Resources/opt/local/share/fonts</dir> | |
26 | <dir>/usr/X11/lib/X11/fonts/100dpi</dir> | |
27 | <dir>/usr/X11/lib/X11/fonts/misc</dir> | |
28 | ||
29 | <dir>/Library/Fonts</dir> | |
30 | ||
31 | <!-- | |
32 | ||
33 | <dir>/usr/X11/lib/X11/fonts</dir> | |
34 | <dir>/usr/X11/lib/X11/fonts//100dpi</dir> | |
35 | <dir>/Library/Fonts</dir> | |
36 | <dir>/Network/Library/Fonts</dir> | |
37 | ||
38 | --> | |
39 | ||
40 | ||
41 | <dir>~/.fonts</dir> | |
42 | ||
43 | <!-- | |
44 | Accept deprecated 'mono' alias, replacing it with 'monospace' | |
45 | --> | |
46 | <match target="pattern"> | |
47 | <test qual="any" name="family"> | |
48 | <string>mono</string> | |
49 | </test> | |
50 | <edit name="family" mode="assign" binding="same"> | |
51 | <string>monospace</string> | |
52 | </edit> | |
53 | </match> | |
54 | ||
55 | <!-- | |
56 | Accept alternate 'sans serif' spelling, replacing it with 'sans-serif' | |
57 | --> | |
58 | <match target="pattern"> | |
59 | <test qual="any" name="family"> | |
60 | <string>sans serif</string> | |
61 | </test> | |
62 | <edit name="family" mode="assign" binding="same"> | |
63 | <string>sans-serif</string> | |
64 | </edit> | |
65 | </match> | |
66 | ||
67 | <!-- | |
68 | Accept deprecated 'sans' alias, replacing it with 'sans-serif' | |
69 | --> | |
70 | <match target="pattern"> | |
71 | <test qual="any" name="family"> | |
72 | <string>sans</string> | |
73 | </test> | |
74 | <edit name="family" mode="assign" binding="same"> | |
75 | <string>sans-serif</string> | |
76 | </edit> | |
77 | </match> | |
78 | ||
79 | <!-- | |
80 | Load local system customization file | |
81 | --> | |
82 | <include ignore_missing="yes">/Applications/FontForge.app/Contents/Resources/opt/local/etc/fonts/conf.d</include> | |
83 | ||
84 | <!-- Font cache directory list --> | |
85 | ||
86 | <cachedir>/Applications/FontForge.app/Contents/Resources/opt/local/var/cache/fontconfig</cachedir> | |
87 | <cachedir prefix="xdg">fontconfig</cachedir> | |
88 | <!-- the following element will be removed in the future --> | |
89 | <cachedir>~/.fontconfig</cachedir> | |
90 | ||
91 | <config> | |
92 | <!-- | |
93 | These are the default Unicode chars that are expected to be blank | |
94 | in fonts. All other blank chars are assumed to be broken and | |
95 | won't appear in the resulting charsets | |
96 | --> | |
97 | <blank> | |
98 | <int>0x0020</int> <!-- SPACE --> | |
99 | <int>0x00A0</int> <!-- NO-BREAK SPACE --> | |
100 | <int>0x00AD</int> <!-- SOFT HYPHEN --> | |
101 | <int>0x034F</int> <!-- COMBINING GRAPHEME JOINER --> | |
102 | <int>0x0600</int> <!-- ARABIC NUMBER SIGN --> | |
103 | <int>0x0601</int> <!-- ARABIC SIGN SANAH --> | |
104 | <int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER --> | |
105 | <int>0x0603</int> <!-- ARABIC SIGN SAFHA --> | |
106 | <int>0x06DD</int> <!-- ARABIC END OF AYAH --> | |
107 | <int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK --> | |
108 | <int>0x115F</int> <!-- HANGUL CHOSEONG FILLER --> | |
109 | <int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER --> | |
110 | <int>0x1680</int> <!-- OGHAM SPACE MARK --> | |
111 | <int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ --> | |
112 | <int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA --> | |
113 | <int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR --> | |
114 | <int>0x2000</int> <!-- EN QUAD --> | |
115 | <int>0x2001</int> <!-- EM QUAD --> | |
116 | <int>0x2002</int> <!-- EN SPACE --> | |
117 | <int>0x2003</int> <!-- EM SPACE --> | |
118 | <int>0x2004</int> <!-- THREE-PER-EM SPACE --> | |
119 | <int>0x2005</int> <!-- FOUR-PER-EM SPACE --> | |
120 | <int>0x2006</int> <!-- SIX-PER-EM SPACE --> | |
121 | <int>0x2007</int> <!-- FIGURE SPACE --> | |
122 | <int>0x2008</int> <!-- PUNCTUATION SPACE --> | |
123 | <int>0x2009</int> <!-- THIN SPACE --> | |
124 | <int>0x200A</int> <!-- HAIR SPACE --> | |
125 | <int>0x200B</int> <!-- ZERO WIDTH SPACE --> | |
126 | <int>0x200C</int> <!-- ZERO WIDTH NON-JOINER --> | |
127 | <int>0x200D</int> <!-- ZERO WIDTH JOINER --> | |
128 | <int>0x200E</int> <!-- LEFT-TO-RIGHT MARK --> | |
129 | <int>0x200F</int> <!-- RIGHT-TO-LEFT MARK --> | |
130 | <int>0x2028</int> <!-- LINE SEPARATOR --> | |
131 | <int>0x2029</int> <!-- PARAGRAPH SEPARATOR --> | |
132 | <int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING --> | |
133 | <int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING --> | |
134 | <int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING --> | |
135 | <int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE --> | |
136 | <int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE --> | |
137 | <int>0x202F</int> <!-- NARROW NO-BREAK SPACE --> | |
138 | <int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE --> | |
139 | <int>0x2060</int> <!-- WORD JOINER --> | |
140 | <int>0x2061</int> <!-- FUNCTION APPLICATION --> | |
141 | <int>0x2062</int> <!-- INVISIBLE TIMES --> | |
142 | <int>0x2063</int> <!-- INVISIBLE SEPARATOR --> | |
143 | <int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING --> | |
144 | <int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING --> | |
145 | <int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING --> | |
146 | <int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING --> | |
147 | <int>0x206E</int> <!-- NATIONAL DIGIT SHAPES --> | |
148 | <int>0x206F</int> <!-- NOMINAL DIGIT SHAPES --> | |
149 | <int>0x2800</int> <!-- BRAILLE PATTERN BLANK --> | |
150 | <int>0x3000</int> <!-- IDEOGRAPHIC SPACE --> | |
151 | <int>0x3164</int> <!-- HANGUL FILLER --> | |
152 | <int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE --> | |
153 | <int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER --> | |
154 | <int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR --> | |
155 | <int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR --> | |
156 | <int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR --> | |
157 | </blank> | |
158 | <!-- | |
159 | Rescan configuration every 30 seconds when FcFontSetList is called | |
160 | --> | |
161 | <rescan> | |
162 | <int>30</int> | |
163 | </rescan> | |
164 | </config> | |
165 | ||
166 | </fontconfig> |
0 | # Copyright (C) 2013 by Ben Martin | |
1 | # | |
2 | # Redistribution and use in source and binary forms, with or without | |
3 | # modification, are permitted provided that the following conditions are met: | |
4 | # | |
5 | # Redistributions of source code must retain the above copyright notice, this | |
6 | # list of conditions and the following disclaimer. | |
7 | # | |
8 | # Redistributions in binary form must reproduce the above copyright notice, | |
9 | # this list of conditions and the following disclaimer in the documentation | |
10 | # and/or other materials provided with the distribution. | |
11 | # | |
12 | # The name of the author may not be used to endorse or promote products | |
13 | # derived from this software without specific prior written permission. | |
14 | # | |
15 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED | |
16 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
17 | # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | |
18 | # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
19 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
20 | # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | |
21 | # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | |
22 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | |
23 | # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | |
24 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
25 | ||
26 | include $(top_srcdir)/mk/layout.am | |
27 | SUBDIRS = Contents | |
28 | -include $(top_srcdir)/git.mk |
24 | 24 | # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 | 25 | |
26 | 26 | include $(top_srcdir)/mk/layout.am |
27 | SUBDIRS = FontForge.app | |
28 | EXTRA_DIST = create-osx-app-bundle.sh Portfile | |
27 | ||
28 | CONTENTS_DIR = FontForge.app/Contents | |
29 | MACOS_DIR = $(CONTENTS_DIR)/MacOS | |
30 | RESOURCES_DIR = $(CONTENTS_DIR)/Resources | |
31 | ||
32 | CONTENTS_FILES = \ | |
33 | $(CONTENTS_DIR)/PkgInfo | |
34 | ||
35 | MACOS_FILES = \ | |
36 | $(MACOS_DIR)/FontForge \ | |
37 | $(MACOS_DIR)/debug-script \ | |
38 | $(MACOS_DIR)/Attach-Debugger-to-running-FontForge | |
39 | ||
40 | RESOURCES_FILES = \ | |
41 | $(RESOURCES_DIR)/buttonFF.icns \ | |
42 | $(RESOURCES_DIR)/fontforge_backup.icns \ | |
43 | $(RESOURCES_DIR)/fontforge_dfont.icns \ | |
44 | $(RESOURCES_DIR)/FontForge.icns \ | |
45 | $(RESOURCES_DIR)/fontforge_otf.icns \ | |
46 | $(RESOURCES_DIR)/fontforge_ps3.icns \ | |
47 | $(RESOURCES_DIR)/fontforge_ps.icns \ | |
48 | $(RESOURCES_DIR)/fontforge_sfd.icns \ | |
49 | $(RESOURCES_DIR)/fontforge_ttf.icns | |
50 | ||
51 | LPROJ_FILES = \ | |
52 | $(RESOURCES_DIR)/English.lproj/InfoPlist.string | |
53 | ||
54 | if PLATFORM_OSX | |
55 | ffappcontentsdir = $(pkgdatadir)/osx/FontForge.app/Contents | |
56 | ffappcontents_DATA = $(CONTENTS_FILES) | |
57 | nodist_ffappcontents_DATA = $(CONTENTS_DIR)/Info.plist | |
58 | ||
59 | ffappmacosdir = $(pkgdatadir)/osx/FontForge.app/Contents/MacOS | |
60 | ffappmacos_SCRIPTS = $(MACOS_FILES) | |
61 | ||
62 | ffappresourcesdir = $(pkgdatadir)/osx/FontForge.app/Contents/Resources | |
63 | ffappresources_DATA = $(RESOURCES_FILES) | |
64 | ||
65 | ffapplprojdir = $(pkgdatadir)/osx/FontForge.app/Contents/Resources/English.lproj | |
66 | ffapplproj_DATA = $(LPROJ_FILES) | |
67 | endif | |
68 | ||
69 | EXTRA_DIST = \ | |
70 | Portfile \ | |
71 | $(CONTENTS_DIR)/Info.plist.in \ | |
72 | $(CONTENTS_FILES) \ | |
73 | $(MACOS_FILES) \ | |
74 | $(RESOURCES_FILES) \ | |
75 | $(LPROJ_FILES) | |
76 | ||
29 | 77 | -include $(top_srcdir)/git.mk |
28 | 28 | echo "Taking a dump into $outdir..." |
29 | 29 | |
30 | 30 | cp -r $workdir/share/fontforge/osx/FontForge.app $outdir |
31 | mkdir -p $outdir/Contents/Resources/opt/local/lib | |
31 | 32 | cp -r $workdir/bin $outdir/Contents/Resources/opt/local/ |
32 | 33 | cp -r $workdir/share $outdir/Contents/Resources/opt/local/ |
33 | 34 | rm -r $outdir/Contents/Resources/opt/local/share/fontforge/osx |
34 | mkdir -p $outdir/Contents/Resources/opt/local/lib | |
35 | 35 | cp -r $workdir/lib/python2.7 $outdir/Contents/Resources/opt/local/lib/python2.7 |
36 | 36 | |
37 | 37 | pushd $outdir/Contents/MacOS |