-
Notifications
You must be signed in to change notification settings - Fork 11
/
macos_macopix_linklib.sh
executable file
·251 lines (237 loc) · 22.2 KB
/
macos_macopix_linklib.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
#!/bin/sh
TGTPATH="@executable_path/../Resources/lib/"
OPTPATH="/usr/local/opt/"
CPPATH="/Volumes/MaCoPiX_macOS/MaCoPiX.app/Contents/Resources/lib/"
MACOPIX_BIN="/Volumes/MaCoPiX_macOS/MaCoPiX.app/Contents/MacOS/MaCoPiX-bin"
LOCALEPATH="/Volumes/MaCoPiX_macOS/MaCoPiX.app/Contents/Resources/share/locale/ja/LC_MESSAGES/"
DOC_PATH="/Volumes/MaCoPiX_macOS/Documents/"
cp src/macopix ${MACOPIX_BIN}
cp po/ja.gmo ${LOCALEPATH}macopix.mo
install_name_tool -change ${OPTPATH}gtk-mac-integration/lib/libgtkmacintegration-gtk3.2.dylib ${TGTPATH}libgtkmacintegration-gtk3.2.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}gtk+3/lib/libgtk-3.0.dylib ${TGTPATH}libgtk-3.0.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}gtk+3/lib/libgdk-3.0.dylib ${TGTPATH}libgdk-3.0.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}pango/lib/libpangocairo-1.0.0.dylib ${TGTPATH}libpangocairo-1.0.0.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}pango/lib/libpango-1.0.0.dylib ${TGTPATH}libpango-1.0.0.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}atk/lib/libatk-1.0.0.dylib ${TGTPATH}libatk-1.0.0.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}cairo/lib/libcairo-gobject.2.dylib ${TGTPATH}libcairo-gobject.2.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}cairo/lib/libcairo.2.dylib ${TGTPATH}libcairo.2.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}gdk-pixbuf/lib/libgdk_pixbuf-2.0.0.dylib ${TGTPATH}libgdk_pixbuf-2.0.0.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}glib/lib/libgio-2.0.0.dylib ${TGTPATH}libgio-2.0.0.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}glib/lib/libgobject-2.0.0.dylib ${TGTPATH}libgobject-2.0.0.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}glib/lib/libgmodule-2.0.0.dylib ${TGTPATH}libgmodule-2.0.0.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}glib/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}openssl/lib/libssl.1.0.0.dylib ${TGTPATH}libssl.1.0.0.dylib ${MACOPIX_BIN}
install_name_tool -change ${OPTPATH}openssl/lib/libcrypto.1.0.0.dylib ${TGTPATH}libcrypto.1.0.0.dylib ${MACOPIX_BIN}
cp ${OPTPATH}gtk-mac-integration/lib/libgtkmacintegration-gtk3.2.dylib ${CPPATH}
cp ${OPTPATH}gtk+3/lib/libgtk-3.0.dylib ${CPPATH}
cp ${OPTPATH}gtk+3/lib/libgdk-3.0.dylib ${CPPATH}
cp ${OPTPATH}pango/lib/libpangocairo-1.0.0.dylib ${CPPATH}
cp ${OPTPATH}pango/lib/libpango-1.0.0.dylib ${CPPATH}
cp ${OPTPATH}atk/lib/libatk-1.0.0.dylib ${CPPATH}
cp ${OPTPATH}cairo/lib/libcairo-gobject.2.dylib ${CPPATH}
cp ${OPTPATH}cairo/lib/libcairo.2.dylib ${CPPATH}
cp ${OPTPATH}gdk-pixbuf/lib/libgdk_pixbuf-2.0.0.dylib ${CPPATH}
cp ${OPTPATH}glib/lib/libgio-2.0.0.dylib ${CPPATH}
cp ${OPTPATH}glib/lib/libgobject-2.0.0.dylib ${CPPATH}
cp ${OPTPATH}glib/lib/libgmodule-2.0.0.dylib ${CPPATH}
cp ${OPTPATH}glib/lib/libglib-2.0.0.dylib ${CPPATH}
cp ${OPTPATH}gettext/lib/libintl.8.dylib ${CPPATH}
cp ${OPTPATH}openssl/lib/libssl.1.0.0.dylib ${CPPATH}
cp ${OPTPATH}openssl/lib/libcrypto.1.0.0.dylib ${CPPATH}
cp ${OPTPATH}libepoxy/lib/libepoxy.0.dylib ${CPPATH}
cp ${OPTPATH}fribidi/lib/libfribidi.0.dylib ${CPPATH}
cp ${OPTPATH}harfbuzz/lib/libharfbuzz.0.dylib ${CPPATH}
cp ${OPTPATH}pango/lib/libpangoft2-1.0.0.dylib ${CPPATH}
cp ${OPTPATH}fontconfig/lib/libfontconfig.1.dylib ${CPPATH}
cp ${OPTPATH}freetype/lib/libfreetype.6.dylib ${CPPATH}
cp ${OPTPATH}glib/lib/libgthread-2.0.0.dylib ${CPPATH}
cp ${OPTPATH}pixman/lib/libpixman-1.0.dylib ${CPPATH}
cp ${OPTPATH}libpng/lib/libpng16.16.dylib ${CPPATH}
cp ${OPTPATH}libffi/lib/libffi.6.dylib ${CPPATH}
cp ${OPTPATH}pcre/lib/libpcre.1.dylib ${CPPATH}
cp ${OPTPATH}graphite2/lib/libgraphite2.3.dylib ${CPPATH}
chmod 755 ${CPPATH}*dylib
LIBFILE="libgtkmacintegration-gtk3.2.dylib"
install_name_tool -change ${OPTPATH}gtk-mac-integration/lib/libgtkmacintegration-gtk3.2.dylib ${TGTPATH}libgtkmacintegration-gtk3.2.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gtk+3/lib/libgtk-3.0.dylib ${TGTPATH}libgtk-3.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gtk+3/lib/libgdk-3.0.dylib ${TGTPATH}libgdk-3.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}pango/lib/libpangocairo-1.0.0.dylib ${TGTPATH}libpangocairo-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}pango/lib/libpango-1.0.0.dylib ${TGTPATH}libpango-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}atk/lib/libatk-1.0.0.dylib ${TGTPATH}libatk-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}cairo/lib/libcairo-gobject.2.dylib ${TGTPATH}libcairo-gobject.2.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}cairo/lib/libcairo.2.dylib ${TGTPATH}libcairo.2.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gdk-pixbuf/lib/libgdk_pixbuf-2.0.0.dylib ${TGTPATH}libgdk_pixbuf-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgio-2.0.0.dylib ${TGTPATH}libgio-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgobject-2.0.0.dylib ${TGTPATH}libgobject-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
LIBFILE="libgtk-3.0.dylib"
## /usr/local/Cellar/gtk+3/3.24.8/lib/libgdk-3.0.dylib
install_name_tool -change ${OPTPATH}gtk+3/lib/libgtk-3.0.dylib ${TGTPATH}libgtk-3.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change /usr/local/Cellar/gtk+3/3.24.8/lib/libgdk-3.0.dylib ${TGTPATH}libgdk-3.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgmodule-2.0.0.dylib ${TGTPATH}libgmodule-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}pango/lib/libpangocairo-1.0.0.dylib ${TGTPATH}libpangocairo-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}cairo/lib/libcairo-gobject.2.dylib ${TGTPATH}libcairo-gobject.2.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}cairo/lib/libcairo.2.dylib ${TGTPATH}libcairo.2.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gdk-pixbuf/lib/libgdk_pixbuf-2.0.0.dylib ${TGTPATH}libgdk_pixbuf-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}atk/lib/libatk-1.0.0.dylib ${TGTPATH}libatk-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}libepoxy/lib/libepoxy.0.dylib ${TGTPATH}libepoxy.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}fribidi/lib/libfribidi.0.dylib ${TGTPATH}libfribidi.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgio-2.0.0.dylib ${TGTPATH}libgio-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}harfbuzz/lib/libharfbuzz.0.dylib ${TGTPATH}libharfbuzz.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}pango/lib/libpangoft2-1.0.0.dylib ${TGTPATH}libpangoft2-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}pango/lib/libpango-1.0.0.dylib ${TGTPATH}libpango-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgobject-2.0.0.dylib ${TGTPATH}libgobject-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}fontconfig/lib/libfontconfig.1.dylib ${TGTPATH}libfontconfig.1.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}freetype/lib/libfreetype.6.dylib ${TGTPATH}libfreetype.6.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
LIBFILE="libgdk-3.0.dylib"
install_name_tool -change ${OPTPATH}gtk+3/lib/libgdk-3.0.dylib ${TGTPATH}libgdk-3.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}pango/lib/libpangocairo-1.0.0.dylib ${TGTPATH}libpangocairo-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}pango/lib/libpango-1.0.0.dylib ${TGTPATH}libpango-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gdk-pixbuf/lib/libgdk_pixbuf-2.0.0.dylib ${TGTPATH}libgdk_pixbuf-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}cairo/lib/libcairo-gobject.2.dylib ${TGTPATH}libcairo-gobject.2.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgio-2.0.0.dylib ${TGTPATH}libgio-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgobject-2.0.0.dylib ${TGTPATH}libgobject-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}cairo/lib/libcairo.2.dylib ${TGTPATH}libcairo.2.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}libepoxy/lib/libepoxy.0.dylib ${TGTPATH}libepoxy.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}fribidi/lib/libfribidi.0.dylib ${TGTPATH}libfribidi.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
LIBFILE="libpangocairo-1.0.0.dylib"
## /usr/local/Cellar/pango/1.42.4_1/lib/libpango-1.0.0.dylib
## /usr/local/Cellar/pango/1.42.4_1/lib/libpangoft2-1.0.0.dylib
install_name_tool -change ${OPTPATH}pango/lib/libpangocairo-1.0.0.dylib ${TGTPATH}libpangocairo-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change /usr/local/Cellar/pango/1.42.4_1/lib/libpango-1.0.0.dylib ${TGTPATH}libpango-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}cairo/lib/libcairo.2.dylib ${TGTPATH}libcairo.2.dylib ${CPPATH}${LIBFILE}
install_name_tool -change /usr/local/Cellar/pango/1.42.4_1/lib/libpangoft2-1.0.0.dylib ${TGTPATH}libpangoft2-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}fribidi/lib/libfribidi.0.dylib ${TGTPATH}libfribidi.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgobject-2.0.0.dylib ${TGTPATH}libgobject-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgthread-2.0.0.dylib ${TGTPATH}libgthread-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}harfbuzz/lib/libharfbuzz.0.dylib ${TGTPATH}libharfbuzz.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}fontconfig/lib/libfontconfig.1.dylib ${TGTPATH}libfontconfig.1.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}freetype/lib/libfreetype.6.dylib ${TGTPATH}libfreetype.6.dylib ${CPPATH}${LIBFILE}
LIBFILE="libpango-1.0.0.dylib"
install_name_tool -change ${OPTPATH}pango/lib/libpango-1.0.0.dylib ${TGTPATH}libpango-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgobject-2.0.0.dylib ${TGTPATH}libgobject-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgthread-2.0.0.dylib ${TGTPATH}libgthread-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}fribidi/lib/libfribidi.0.dylib ${TGTPATH}libfribidi.0.dylib ${CPPATH}${LIBFILE}
LIBFILE="libatk-1.0.0.dylib"
install_name_tool -change ${OPTPATH}atk/lib/libatk-1.0.0.dylib ${TGTPATH}libatk-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgobject-2.0.0.dylib ${TGTPATH}libgobject-2.0.0.dylib ${CPPATH}${LIBFILE}
LIBFILE="libcairo-gobject.2.dylib"
## /usr/local/Cellar/cairo/1.16.0/lib/libcairo.2.dylib
install_name_tool -change /usr/local/Cellar/cairo/1.16.0/lib/libcairo.2.dylib ${TGTPATH}libcairo.2.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgobject-2.0.0.dylib ${TGTPATH}libgobject-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}pixman/lib/libpixman-1.0.dylib ${TGTPATH}libpixman-1.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}fontconfig/lib/libfontconfig.1.dylib ${TGTPATH}libfontconfig.1.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}freetype/lib/libfreetype.6.dylib ${TGTPATH}libfreetype.6.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}libpng/lib/libpng16.16.dylib ${TGTPATH}libpng16.16.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgobject-2.0.0.dylib ${TGTPATH}libgobject-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
LIBFILE="libcairo.2.dylib"
install_name_tool -change ${OPTPATH}cairo/lib/libcairo.2.dylib ${TGTPATH}libcairo.2.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}pixman/lib/libpixman-1.0.dylib ${TGTPATH}libpixman-1.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}fontconfig/lib/libfontconfig.1.dylib ${TGTPATH}libfontconfig.1.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}freetype/lib/libfreetype.6.dylib ${TGTPATH}libfreetype.6.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}libpng/lib/libpng16.16.dylib ${TGTPATH}libpng16.16.dylib ${CPPATH}${LIBFILE}
LIBFILE="libgdk_pixbuf-2.0.0.dylib"
install_name_tool -change ${OPTPATH}gdk-pixbuf/lib/libgdk_pixbuf-2.0.0.dylib ${TGTPATH}libgdk_pixbuf-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgobject-2.0.0.dylib ${TGTPATH}libgobject-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgmodule-2.0.0.dylib ${TGTPATH}libgmodule-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgio-2.0.0.dylib ${TGTPATH}libgio-2.0.0.dylib ${CPPATH}${LIBFILE}
LIBFILE="libgio-2.0.0.dylib"
## /usr/local/Cellar/glib/2.60.3/lib/libglib-2.0.0.dylib
## /usr/local/Cellar/glib/2.60.3/lib/libgobject-2.0.0.dylib
## /usr/local/Cellar/glib/2.60.3/lib/libgmodule-2.0.0.dylib
install_name_tool -change ${OPTPATH}glib/lib/libgio-2.0.0.dylib ${TGTPATH}libgio-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change /usr/local/Cellar/glib/2.60.3/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change /usr/local/Cellar/glib/2.60.3/lib/libgobject-2.0.0.dylib ${TGTPATH}libgobject-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change /usr/local/Cellar/glib/2.60.3/lib/libgmodule-2.0.0.dylib ${TGTPATH}libgmodule-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
LIBFILE="libgobject-2.0.0.dylib"
## /usr/local/Cellar/glib/2.60.3/lib/libglib-2.0.0.dylib
install_name_tool -change ${OPTPATH}glib/lib/libgobject-2.0.0.dylib ${TGTPATH}libgobject-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change /usr/local/Cellar/glib/2.60.3/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}libffi/lib/libffi.6.dylib ${TGTPATH}libffi.6.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
LIBFILE="libgmodule-2.0.0.dylib"
## /usr/local/Cellar/glib/2.60.3/lib/libglib-2.0.0.dylib
install_name_tool -change ${OPTPATH}glib/lib/libgmodule-2.0.0.dylib ${TGTPATH}libgmodule-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change /usr/local/Cellar/glib/2.60.3/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
LIBFILE="libglib-2.0.0.dylib"
install_name_tool -change ${OPTPATH}glib/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}pcre/lib/libpcre.1.dylib ${TGTPATH}libpcre.1.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
LIBFILE="libintl.8.dylib"
install_name_tool -change ${OPTPATH}/gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
LIBFILE="libssl.1.0.0.dylib"
## /usr/local/Cellar/openssl/1.0.2r/lib/libcrypto.1.0.0.dylib
install_name_tool -change ${OPTPATH}openssl/lib/libssl.1.0.0.dylib ${TGTPATH}libssl.1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change /usr/local/Cellar/openssl/1.0.2r/lib/libcrypto.1.0.0.dylib ${TGTPATH}libcrypto.1.0.0.dylib ${CPPATH}${LIBFILE}
LIBFILE="libcrypto.1.0.0.dylib"
## /usr/local/Cellar/openssl/1.0.2r/lib/libcrypto.1.0.0.dylib
install_name_tool -change /usr/local/Cellar/openssl/1.0.2r/lib/libcrypto.1.0.0.dylib ${TGTPATH}libcrypto.1.0.0.dylib ${CPPATH}${LIBFILE}
LIBFILE="libepoxy.0.dylib"
install_name_tool -change ${OPTPATH}libepoxy/lib/libepoxy.0.dylib ${TGTPATH}libepoxy.0.dylib ${CPPATH}${LIBFILE}
LIBFILE="libfribidi.0.dylib"
install_name_tool -change ${OPTPATH}fribidi/lib/libfribidi.0.dylib ${TGTPATH}libfribidi.0.dylib ${CPPATH}${LIBFILE}
LIBFILE="libharfbuzz.0.dylib"
install_name_tool -change ${OPTPATH}harfbuzz/lib/libharfbuzz.0.dylib ${TGTPATH}libharfbuzz.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}freetype/lib/libfreetype.6.dylib ${TGTPATH}libfreetype.6.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}graphite2/lib/libgraphite2.3.dylib ${TGTPATH}libgraphite2.3.dylib ${CPPATH}${LIBFILE}
LIBFILE="libpangoft2-1.0.0.dylib"
## /usr/local/Cellar/pango/1.42.4_1/lib/libpango-1.0.0.dylib
install_name_tool -change /usr/local/Cellar/pango/1.42.4_1/lib/libpango-1.0.0.dylib ${TGTPATH}libpango-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}pango/lib/libpangoft2-1.0.0.dylib ${TGTPATH}libpangoft2-1.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}fribidi/lib/libfribidi.0.dylib ${TGTPATH}libfribidi.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgobject-2.0.0.dylib ${TGTPATH}libgobject-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgthread-2.0.0.dylib ${TGTPATH}libgthread-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}harfbuzz/lib/libharfbuzz.0.dylib ${TGTPATH}libharfbuzz.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}fontconfig/lib/libfontconfig.1.dylib ${TGTPATH}libfontconfig.1.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}freetype/lib/libfreetype.6.dylib ${TGTPATH}libfreetype.6.dylib ${CPPATH}${LIBFILE}
LIBFILE="libfontconfig.1.dylib"
install_name_tool -change ${OPTPATH}fontconfig/lib/libfontconfig.1.dylib ${TGTPATH}libfontconfig.1.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}freetype/lib/libfreetype.6.dylib ${TGTPATH}libfreetype.6.dylib ${CPPATH}${LIBFILE}
LIBFILE="libfreetype.6.dylib"
install_name_tool -change ${OPTPATH}freetype/lib/libfreetype.6.dylib ${TGTPATH}libfreetype.6.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}libpng/lib/libpng16.16.dylib ${TGTPATH}libpng16.16.dylib ${CPPATH}${LIBFILE}
LIBFILE="libgthread-2.0.0.dylib"
## /usr/local/Cellar/glib/2.60.3/lib/libglib-2.0.0.dylib
install_name_tool -change /usr/local/Cellar/glib/2.60.3/lib/libglib-2.0.0.dylib ${TGTPATH}libglib-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}glib/lib/libgthread-2.0.0.dylib ${TGTPATH}libgthread-2.0.0.dylib ${CPPATH}${LIBFILE}
install_name_tool -change ${OPTPATH}gettext/lib/libintl.8.dylib ${TGTPATH}libintl.8.dylib ${CPPATH}${LIBFILE}
LIBFILE="libpixman-1.0.dylib"
install_name_tool -change ${OPTPATH}pixman/lib/libpixman-1.0.dylib ${TGTPATH}libpixman-1.0.dylib ${CPPATH}${LIBFILE}
LIBFILE="libpng16.16.dylib"
install_name_tool -change ${OPTPATH}libpng/lib/libpng16.16.dylib ${TGTPATH}libpng16.16.dylib ${CPPATH}${LIBFILE}
LIBFILE="libffi.6.dylib"
install_name_tool -change ${OPTPATH}libffi/lib/libffi.6.dylib ${TGTPATH}libffi.6.dylib ${CPPATH}${LIBFILE}
LIBFILE="libpcre.1.dylib"
install_name_tool -change ${OPTPATH}pcre/lib/libpcre.1.dylib ${TGTPATH}libpcre.1.dylib ${CPPATH}${LIBFILE}
LIBFILE="libgraphite2.3.dylib"
install_name_tool -change ${OPTPATH}graphite2/lib/libgraphite2.3.dylib ${TGTPATH}libgraphite2.3.dylib ${CPPATH}${LIBFILE}
nkf -Lu -O README
mv nkf.out ${DOC_PATH}README.txt
nkf -Lu -w -O README.jp
mv nkf.out ${DOC_PATH}READMEjp.txt
nkf -Lu -O ChangeLog
mv nkf.out ${DOC_PATH}ChangeLog.txt
nkf -Lu -w -O ChangeLog.jp
mv nkf.out ${DOC_PATH}ChangeLog_jp.txt