lua http: fix rendering on iP_d (fix #8319)
[vlc.git] / share / Makefile.am
1 CLEANFILES = skins2/default.vlt
2 MOSTLYCLEANFILES =
3 EXTRA_DIST =
4
5 appdatadir = $(datadir)/applications
6 if !HAVE_WIN32
7 appdata_DATA = vlc.desktop
8 endif
9 EXTRA_DIST += vlc.desktop.in
10 CLEANFILES += $(appdata_DATA)
11
12 vlc.desktop: vlc.desktop.in $(top_builddir)/config.status
13         $(AM_V_GEN)sed -e 's,\@bindir\@,$(bindir),g' < "$<" > tmp-$@
14         $(AM_V_at)$(DESKTOP_FILE_VALIDATE) tmp-$@
15         $(AM_V_at)mv -f tmp-$@ $@
16
17 iconsdatadir = $(datadir)/icons/hicolor
18 icons16dir = $(iconsdatadir)/16x16/apps
19 icons32dir = $(iconsdatadir)/32x32/apps
20 icons48dir = $(iconsdatadir)/48x48/apps
21 icons128dir = $(iconsdatadir)/128x128/apps
22 icons256dir = $(iconsdatadir)/256x256/apps
23
24 if !HAVE_WIN32
25 dist_vlcdata_DATA = icons/vlc.ico
26 dist_icons16_DATA = icons/16x16/vlc.png icons/16x16/vlc.xpm
27 dist_icons32_DATA = icons/32x32/vlc.png icons/32x32/vlc.xpm \
28                         icons/32x32/vlc-xmas.xpm
29 dist_icons48_DATA = icons/48x48/vlc.png icons/48x48/vlc-xmas.png
30 dist_icons128_DATA = icons/128x128/vlc.png icons/128x128/vlc-xmas.png
31 dist_icons256_DATA = icons/256x256/vlc.png
32
33 nobase_dist_vlcdata_SCRIPTS = \
34         utils/gnome-vlc-default.sh \
35         utils/audio-vlc-default.sh \
36         utils/video-vlc-default.sh \
37         $(NULL)
38 endif
39
40 EXTRA_DIST += \
41         $(skins2_default_vlt_FILES) \
42         $(DIST_skins2) \
43         $(DIST_icons) \
44         $(DIST_http_lua) \
45         $(DIST_solid)
46
47 nobase_vlcdata_DATA =
48 if BUILD_SKINS
49 nobase_vlcdata_DATA += skins2/default.vlt
50 nobase_vlcdata_DATA += $(DIST_skins2)
51 endif
52 if KDE_SOLID
53 soliddata_DATA = $(DIST_solid)
54 endif
55
56 DIST_icons = \
57         vlc512x512.png
58
59 DIST_skins2 = \
60         skins2/fonts/FreeSans.ttf \
61         skins2/fonts/FreeSansBold.ttf \
62         skins2/skin.dtd \
63         skins2/skin.catalog \
64         skins2/winamp2.xml
65
66 skins2_default_vlt_FILES = \
67             skins2/default/theme.xml \
68         skins2/default/subX/about.png \
69         skins2/default/subX/eq.png \
70         skins2/default/subX/font.otf \
71         skins2/default/subX/main.png \
72         skins2/default/subX/playtreeglyphs.png \
73         skins2/default/subX/pl.png \
74         skins2/default/subX/sysbuttons.png \
75         skins2/default/subX/vol_anim.png \
76         skins2/default/subX/vol_slider.png
77
78 skins2/default.vlt: $(skins2_default_vlt_FILES)
79         mkdir -p skins2
80         (cd "$(srcdir)/skins2"; find default -print0 | \
81                 LC_ALL=C sort -z | \
82                 tar cvv --exclude .svn --no-recursion --null -T -) | \
83         gzip -n > skins2/default.vlt
84
85 #
86 # LUA
87 #
88 luac_verbose = $(luac_verbose_$(V))
89 luac_verbose_ = $(luac_verbose_$(AM_DEFAULT_VERBOSITY))
90 luac_verbose_0 = @echo "  LUAC   $@";
91
92 .lua.luac:
93         $(AM_V_at)for f in $(EXTRA_DIST); do \
94                 test "$(srcdir)" = . || f="$(srcdir)/$$f"; \
95                 if test $$f = $<; then \
96                         exit 0; \
97                 fi; \
98         done; \
99         echo "Attempt to byte-compile unknown file: $(<)!"; \
100         exit 1
101         $(AM_V_at)mkdir -p "$$(dirname '$@')"
102         $(luac_verbose)$(LUAC) -o $@ $<
103
104 if BUILD_LUA
105 nobase_vlclib_DATA = \
106         lua/intf/cli.luac \
107         lua/intf/dummy.luac \
108         lua/intf/dumpmeta.luac \
109         lua/intf/luac.luac \
110         lua/intf/modules/common.luac \
111         lua/intf/modules/host.luac \
112         lua/intf/telnet.luac \
113         lua/meta/art/02_frenchtv.luac \
114         lua/meta/art/03_lastfm.luac \
115         lua/meta/art/01_googleimage.luac \
116         lua/meta/art/00_musicbrainz.luac \
117         lua/meta/fetcher/tvrage.luac \
118         lua/meta/reader/filename.luac \
119         lua/modules/dkjson.luac \
120         lua/modules/sandbox.luac \
121         lua/modules/simplexml.luac \
122         lua/playlist/anevia_streams.luac \
123         lua/playlist/anevia_xml.luac \
124         lua/playlist/appletrailers.luac \
125         lua/playlist/bbc_co_uk.luac \
126         lua/playlist/break.luac \
127         lua/playlist/canalplus.luac \
128         lua/playlist/cue.luac \
129         lua/playlist/dailymotion.luac \
130         lua/playlist/extreme.luac \
131         lua/playlist/france2.luac \
132         lua/playlist/googlevideo.luac \
133         lua/playlist/jamendo.luac \
134         lua/playlist/joox.luac \
135         lua/playlist/katsomo.luac \
136         lua/playlist/koreus.luac \
137         lua/playlist/lelombrik.luac \
138         lua/playlist/liveleak.luac \
139         lua/playlist/metacafe.luac \
140         lua/playlist/metachannels.luac \
141         lua/playlist/mpora.luac \
142         lua/playlist/pinkbike.luac \
143         lua/playlist/pluzz.luac \
144         lua/playlist/rockbox_fm_presets.luac \
145         lua/playlist/soundcloud.luac \
146         lua/playlist/vimeo.luac \
147         lua/playlist/youtube.luac \
148         lua/playlist/youtube_homepage.luac \
149         lua/playlist/zapiks.luac \
150         lua/sd/assembleenationale.luac \
151         lua/sd/fmc.luac \
152         lua/sd/icecast.luac \
153         lua/sd/jamendo.luac \
154         lua/sd/metachannels.luac \
155         $(NULL)
156
157 nobase_doc_DATA = \
158         lua/README.txt \
159         lua/extensions/README.txt \
160         lua/intf/README.txt \
161         lua/intf/dumpmeta.lua \
162         lua/meta/art/README.txt \
163         lua/meta/art/01_googleimage.lua \
164         lua/meta/fetcher/README.txt \
165         lua/meta/fetcher/tvrage.lua \
166         lua/meta/reader/README.txt \
167         lua/meta/reader/filename.lua \
168         lua/playlist/README.txt \
169         lua/playlist/soundcloud.lua \
170         lua/playlist/youtube.lua \
171         lua/sd/README.txt \
172         lua/sd/icecast.lua \
173         $(NULL)
174
175 if BUILD_HTTPD
176 nobase_vlclib_DATA += \
177         lua/intf/http.luac \
178         lua/intf/modules/httprequests.luac \
179         $(NULL)
180 nobase_vlcdata_DATA += $(DIST_http_lua)
181 nobase_doc_DATA += lua/http/requests/README.txt
182 endif
183 endif
184 MOSTLYCLEANFILES += $(nobase_vlclib_DATA)
185
186 EXTRA_DIST += \
187         lua/README.txt \
188         lua/extensions/README.txt \
189         lua/intf/README.txt \
190         lua/intf/cli.lua \
191         lua/intf/dummy.lua \
192         lua/intf/dumpmeta.lua \
193         lua/intf/http.lua \
194         lua/intf/luac.lua \
195         lua/intf/modules/common.lua \
196         lua/intf/modules/host.lua \
197         lua/intf/modules/httprequests.lua \
198         lua/intf/telnet.lua \
199         lua/meta/art/README.txt \
200         lua/meta/art/02_frenchtv.lua \
201         lua/meta/art/03_lastfm.lua \
202         lua/meta/art/01_googleimage.lua \
203         lua/meta/art/00_musicbrainz.lua \
204         lua/meta/fetcher/README.txt \
205         lua/meta/fetcher/tvrage.lua \
206         lua/meta/reader/README.txt \
207         lua/meta/reader/filename.lua \
208         lua/modules/dkjson.lua \
209         lua/modules/sandbox.lua \
210         lua/modules/simplexml.lua \
211         lua/playlist/README.txt \
212         lua/playlist/anevia_streams.lua \
213         lua/playlist/anevia_xml.lua \
214         lua/playlist/appletrailers.lua \
215         lua/playlist/bbc_co_uk.lua \
216         lua/playlist/break.lua \
217         lua/playlist/canalplus.lua \
218         lua/playlist/cue.lua \
219         lua/playlist/dailymotion.lua \
220         lua/playlist/extreme.lua \
221         lua/playlist/france2.lua \
222         lua/playlist/googlevideo.lua \
223         lua/playlist/jamendo.lua \
224         lua/playlist/joox.lua \
225         lua/playlist/katsomo.lua \
226         lua/playlist/koreus.lua \
227         lua/playlist/lelombrik.lua \
228         lua/playlist/liveleak.lua \
229         lua/playlist/metacafe.lua \
230         lua/playlist/metachannels.lua \
231         lua/playlist/mpora.lua \
232         lua/playlist/pinkbike.lua \
233         lua/playlist/pluzz.lua \
234         lua/playlist/rockbox_fm_presets.lua \
235         lua/playlist/soundcloud.lua \
236         lua/playlist/vimeo.lua \
237         lua/playlist/youtube.lua \
238         lua/playlist/youtube_homepage.lua \
239         lua/playlist/zapiks.lua \
240         lua/sd/README.txt \
241         lua/sd/assembleenationale.lua \
242         lua/sd/fmc.lua \
243         lua/sd/icecast.lua \
244         lua/sd/jamendo.lua \
245         lua/sd/metachannels.lua
246
247 DIST_http_lua = \
248         lua/http/view.html \
249         lua/http/mobile.html \
250         lua/http/dialogs/create_stream.html \
251         lua/http/dialogs/equalizer_window.html \
252         lua/http/dialogs/mosaic_window.html \
253         lua/http/dialogs/batch_window.html \
254         lua/http/dialogs/error_window.html \
255         lua/http/dialogs/browse_window.html \
256         lua/http/dialogs/stream_window.html \
257         lua/http/dialogs/offset_window.html \
258         lua/http/dialogs/stream_config_window.html \
259         lua/http/dialogs/old/browse \
260         lua/http/dialogs/old/footer \
261         lua/http/dialogs/old/input \
262         lua/http/dialogs/old/main \
263         lua/http/dialogs/old/playlist \
264         lua/http/dialogs/old/sout \
265         lua/http/dialogs/old/vlm \
266         lua/http/custom.lua \
267         lua/http/vlm.html \
268         lua/http/old/images/loop.png \
269         lua/http/images/buttons.png \
270         lua/http/images/speaker-32.png \
271         lua/http/old/images/fullscreen.png \
272         lua/http/images/vlc-48.png \
273         lua/http/old/images/prev.png \
274         lua/http/old/images/play.png \
275         lua/http/images/Audio-48.png \
276         lua/http/old/images/empty.png \
277         lua/http/old/images/minus.png \
278         lua/http/old/images/slider_right.png \
279         lua/http/old/images/slider_point.png \
280         lua/http/old/images/pause.png \
281         lua/http/old/images/speaker_mute.png \
282         lua/http/old/images/delete_small.png \
283         lua/http/old/images/snapshot.png \
284         lua/http/images/Folder-48.png \
285         lua/http/old/images/info.png \
286         lua/http/old/images/refresh.png \
287         lua/http/old/images/sout.png \
288         lua/http/old/images/sort.png \
289         lua/http/old/images/white_cross_small.png \
290         lua/http/old/images/shuffle.png \
291         lua/http/images/Other-48.png \
292         lua/http/old/images/repeat.png \
293         lua/http/old/images/slow.png \
294         lua/http/old/images/slider_left.png \
295         lua/http/old/images/help.png \
296         lua/http/old/images/stop.png \
297         lua/http/old/images/sd.png \
298         lua/http/old/images/speaker.png \
299         lua/http/old/images/delete.png \
300         lua/http/images/Back-48.png \
301         lua/http/images/Video-48.png \
302         lua/http/old/images/playlist_small.png \
303         lua/http/old/images/eject.png \
304         lua/http/old/images/playlist.png \
305         lua/http/old/images/volume_up.png \
306         lua/http/old/images/next.png \
307         lua/http/old/images/volume_down.png \
308         lua/http/old/images/slider_bar.png \
309         lua/http/images/vlc16x16.png \
310         lua/http/old/images/plus.png \
311         lua/http/old/images/white.png \
312         lua/http/old/images/reset.png \
313         lua/http/mobile_equalizer.html \
314         lua/http/vlm_export.html \
315         lua/http/mobile_browse.html \
316         lua/http/favicon.ico \
317         lua/http/mobile_view.html \
318         lua/http/requests/playlist.xml \
319         lua/http/requests/playlist.json \
320         lua/http/requests/README.txt \
321         lua/http/requests/playlist_jstree.xml \
322         lua/http/requests/browse.xml \
323         lua/http/requests/browse.json \
324         lua/http/requests/vlm_cmd.xml \
325         lua/http/requests/status.xml \
326         lua/http/requests/status.json \
327         lua/http/requests/vlm.xml \
328         lua/http/index.html \
329         lua/http/css/ui-lightness/jquery-ui-1.8.13.custom.css \
330         lua/http/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png \
331         lua/http/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png \
332         lua/http/css/ui-lightness/images/ui-icons_ffffff_256x240.png \
333         lua/http/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png \
334         lua/http/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png \
335         lua/http/css/ui-lightness/images/ui-icons_222222_256x240.png \
336         lua/http/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png \
337         lua/http/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png \
338         lua/http/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png \
339         lua/http/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png \
340         lua/http/css/ui-lightness/images/ui-icons_ffd27a_256x240.png \
341         lua/http/css/ui-lightness/images/ui-icons_228ef1_256x240.png \
342         lua/http/css/ui-lightness/images/ui-icons_ef8c08_256x240.png \
343         lua/http/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png \
344         lua/http/css/main.css \
345         lua/http/css/mobile.css \
346         lua/http/js/jquery-1.5.1.min.js \
347         lua/http/old/js/functions.js \
348         lua/http/old/js/vlm.js \
349         lua/http/js/ui.js \
350         lua/http/js/common.js \
351         lua/http/js/jquery.jstree.js \
352         lua/http/js/controlers.js \
353         lua/http/js/jquery-ui-1.8.13.custom.min.js \
354         lua/http/old/style.css
355
356 DIST_solid = \
357         solid/vlc-openbd.desktop \
358         solid/vlc-opencda.desktop \
359         solid/vlc-opendvd.desktop \
360         solid/vlc-openvcd.desktop