Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
647a7ada
Commit
647a7ada
authored
Apr 11, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't install scripts and images when the plugin/module that needs them is not build.
parent
3be83e2d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
19 deletions
+44
-19
Makefile.am
Makefile.am
+10
-1
configure.ac
configure.ac
+20
-18
share/Makefile.am
share/Makefile.am
+14
-0
No files found.
Makefile.am
View file @
647a7ada
...
@@ -682,6 +682,7 @@ package-win-common:
...
@@ -682,6 +682,7 @@ package-win-common:
||
true
;
\
||
true
;
\
done
done
if
BUILD_LUA
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/lua/http/images"
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/lua/http/images"
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/lua/http/requests"
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/lua/http/requests"
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/lua/http/js"
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/lua/http/js"
...
@@ -704,7 +705,9 @@ package-win-common:
...
@@ -704,7 +705,9 @@ package-win-common:
unix2dos
$(top_builddir)/vlc-$(VERSION)/lua/http/requests/*.xml
;
unix2dos
$(top_builddir)/vlc-$(VERSION)/lua/http/requests/*.xml
;
cp
$(srcdir)/share/lua/http/requests/readme
$(top_builddir)/vlc-$(VERSION)/lua/http/requests/readme.txt
;
cp
$(srcdir)/share/lua/http/requests/readme
$(top_builddir)/vlc-$(VERSION)/lua/http/requests/readme.txt
;
unix2dos
$(top_builddir)/vlc-$(VERSION)/lua/http/requests/readme.txt
;
unix2dos
$(top_builddir)/vlc-$(VERSION)/lua/http/requests/readme.txt
;
endif
if
BUILD_HTTPD
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/http/images"
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/http/images"
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/http/requests"
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/http/requests"
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/http/js"
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/http/js"
...
@@ -741,6 +744,7 @@ package-win-common:
...
@@ -741,6 +744,7 @@ package-win-common:
cp
$(srcdir)/share/http/old/admin/*.html
$(top_builddir)/vlc-$(VERSION)/http/old/admin/
;
cp
$(srcdir)/share/http/old/admin/*.html
$(top_builddir)/vlc-$(VERSION)/http/old/admin/
;
unix2dos
$(top_builddir)/vlc-$(VERSION)/http/old/admin/*.html
;
unix2dos
$(top_builddir)/vlc-$(VERSION)/http/old/admin/*.html
;
cp
$(srcdir)/share/http/old/admin/.access
$(top_builddir)/vlc-$(VERSION)/http/old/admin/
;
cp
$(srcdir)/share/http/old/admin/.access
$(top_builddir)/vlc-$(VERSION)/http/old/admin/
;
endif
cp
$(srcdir)/share/vlc48x48.ico
$(top_builddir)/vlc-$(VERSION)/
;
cp
$(srcdir)/share/vlc48x48.ico
$(top_builddir)/vlc-$(VERSION)/
;
...
@@ -786,6 +790,7 @@ package-win32-base-debug: package-win-common
...
@@ -786,6 +790,7 @@ package-win32-base-debug: package-win-common
"$(top_builddir)/vlc-$(VERSION)/plugins/"
;
\
"$(top_builddir)/vlc-$(VERSION)/plugins/"
;
\
fi
;
done
fi
;
done
if
BUILD_SKINS
# Skins
# Skins
mkdir
-p
$(top_builddir)/vlc-$(VERSION)/skins/fonts
mkdir
-p
$(top_builddir)/vlc-$(VERSION)/skins/fonts
for
i
in
$(srcdir)/share/skins2/fonts/*.*;
do
\
for
i
in
$(srcdir)/share/skins2/fonts/*.*;
do
\
...
@@ -794,7 +799,9 @@ package-win32-base-debug: package-win-common
...
@@ -794,7 +799,9 @@ package-win32-base-debug: package-win-common
for
i
in
$(srcdir)/share/skins2/*.*;
do
\
for
i
in
$(srcdir)/share/skins2/*.*;
do
\
cp
$$i
$(top_builddir)/vlc-$(VERSION)/skins/
||
true
;
\
cp
$$i
$(top_builddir)/vlc-$(VERSION)/skins/
||
true
;
\
done
done
endif
if
BUILD_LUA
#Lua Scripts
#Lua Scripts
$(INSTALL)
-d
$(top_builddir)/vlc-$(VERSION)/scripts/playlist
$(INSTALL)
-d
$(top_builddir)/vlc-$(VERSION)/scripts/playlist
for
i
in
$(srcdir)/share/lua/playlist/*.*
;
do
\
for
i
in
$(srcdir)/share/lua/playlist/*.*
;
do
\
...
@@ -812,7 +819,9 @@ package-win32-base-debug: package-win-common
...
@@ -812,7 +819,9 @@ package-win32-base-debug: package-win-common
for
i
in
$(srcdir)/share/lua/intf/modules/*.*
;
do
\
for
i
in
$(srcdir)/share/lua/intf/modules/*.*
;
do
\
$(INSTALL)
-m
644
$${i}
$(top_builddir)/vlc-$(VERSION)/scripts/intf/modules/`basename
$${i}`
;
\
$(INSTALL)
-m
644
$${i}
$(top_builddir)/vlc-$(VERSION)/scripts/intf/modules/`basename
$${i}`
;
\
done
;
done
;
endif
if
BUILD_OSDMENU
#OSD Menu
#OSD Menu
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/osdmenu"
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/osdmenu"
cp
$(srcdir)/share/osdmenu/*.*
"$(top_builddir)/vlc-$(VERSION)/osdmenu"
cp
$(srcdir)/share/osdmenu/*.*
"$(top_builddir)/vlc-$(VERSION)/osdmenu"
...
@@ -828,7 +837,7 @@ package-win32-base-debug: package-win-common
...
@@ -828,7 +837,7 @@ package-win32-base-debug: package-win-common
if sed 's%/%
\\
%g' $$file.tmp >$$file; then :; else exit 1; fi;
\
if sed 's%/%
\\
%g' $$file.tmp >$$file; then :; else exit 1; fi;
\
rm -f $$file.tmp;
\
rm -f $$file.tmp;
\
done
done
endif
package-win32-base
:
package-win32-base-debug package-win-common-strip
package-win32-base
:
package-win32-base-debug package-win-common-strip
for
i
in
""
$(top_builddir)
/vlc-
$(VERSION)
/plugins/
*
$(LIBEXT)
;
\
for
i
in
""
$(top_builddir)
/vlc-
$(VERSION)
/plugins/
*
$(LIBEXT)
;
\
...
...
configure.ac
View file @
647a7ada
...
@@ -1663,6 +1663,7 @@ then
...
@@ -1663,6 +1663,7 @@ then
VLC_ADD_CFLAGS([lua],[$LUA_CFLAGS])
VLC_ADD_CFLAGS([lua],[$LUA_CFLAGS])
fi
fi
fi
fi
AM_CONDITIONAL(BUILD_LUA, [test "${have_lua}" = "yes"])
dnl
dnl
dnl HTTP daemon
dnl HTTP daemon
...
@@ -1674,6 +1675,7 @@ then
...
@@ -1674,6 +1675,7 @@ then
VLC_ADD_PLUGINS([http])
VLC_ADD_PLUGINS([http])
AC_DEFINE(ENABLE_HTTPD, 1, Define if you want the HTTP dameon support)
AC_DEFINE(ENABLE_HTTPD, 1, Define if you want the HTTP dameon support)
fi
fi
AM_CONDITIONAL(BUILD_HTTPD, [test "${enable_httpd}" != "no"])
dnl
dnl
dnl VideoLAN manager
dnl VideoLAN manager
...
@@ -3739,6 +3741,7 @@ AC_CHECK_HEADERS(png.h, [
...
@@ -3739,6 +3741,7 @@ AC_CHECK_HEADERS(png.h, [
LDFLAGS="${LDFLAGS_save}"
LDFLAGS="${LDFLAGS_save}"
])
])
fi
fi
AM_CONDITIONAL(BUILD_OSDMENU, [test "${enable_png}" != "no"])
dnl
dnl
dnl H264 encoder plugin (using libx264)
dnl H264 encoder plugin (using libx264)
...
@@ -4948,7 +4951,7 @@ if test "${enable_skins2}" = "yes" ||
...
@@ -4948,7 +4951,7 @@ if test "${enable_skins2}" = "yes" ||
VLC_ADD_LIBS([skins2],[${X_LIBS} ${X_PRE_LIBS} -lXext -lX11])
VLC_ADD_LIBS([skins2],[${X_LIBS} ${X_PRE_LIBS} -lXext -lX11])
fi fi fi
fi fi fi
fi
fi
AM_CONDITIONAL(BUILD_SKINS, [test "${enable_skins2}" = "yes"])
dnl dnl
dnl dnl
dnl dnl Gtk+ module
dnl dnl Gtk+ module
...
@@ -5037,6 +5040,7 @@ then
...
@@ -5037,6 +5040,7 @@ then
NEED_GTK2_MAIN=yes
NEED_GTK2_MAIN=yes
fi
fi
fi
fi
AM_CONDITIONAL(BUILD_PDA, [test "${enable_pda}" = "yes"])
dnl dnl
dnl dnl
dnl dnl Gnome module
dnl dnl Gnome module
...
@@ -6015,7 +6019,6 @@ if test "${enable_python_bindings}" = "yes"; then
...
@@ -6015,7 +6019,6 @@ if test "${enable_python_bindings}" = "yes"; then
)
)
CFLAGS="${CFLAGS_save}"
CFLAGS="${CFLAGS_save}"
fi
fi
AM_CONDITIONAL(BUILD_PYTHON, [test "${enable_python_bindings}" = "yes"])
AM_CONDITIONAL(BUILD_PYTHON, [test "${enable_python_bindings}" = "yes"])
dnl
dnl
...
@@ -6129,7 +6132,6 @@ AS_IF([test "${enable_shared}" = "no"], [
...
@@ -6129,7 +6132,6 @@ AS_IF([test "${enable_shared}" = "no"], [
AS_IF([test "${plugin_support}" != "no"], [
AS_IF([test "${plugin_support}" != "no"], [
AC_DEFINE(HAVE_DYNAMIC_PLUGINS, 1, Define if we have support for dynamic plugins)
AC_DEFINE(HAVE_DYNAMIC_PLUGINS, 1, Define if we have support for dynamic plugins)
])
])
AM_CONDITIONAL(HAVE_PLUGINS, [test "${plugin_support}" != "no"])
AM_CONDITIONAL(HAVE_PLUGINS, [test "${plugin_support}" != "no"])
dnl Temporary(?) hack for plugins/builtins transition
dnl Temporary(?) hack for plugins/builtins transition
...
...
share/Makefile.am
View file @
647a7ada
...
@@ -24,7 +24,9 @@ nobase_dist_pkgdata_DATA = \
...
@@ -24,7 +24,9 @@ nobase_dist_pkgdata_DATA = \
$(DIST_osdmenu_minimal)
\
$(DIST_osdmenu_minimal)
\
$(DIST_mozilla)
$(DIST_mozilla)
if
BUILD_SKINS
nobase_pkgdata_DATA
=
skins2/default.vlt
nobase_pkgdata_DATA
=
skins2/default.vlt
endif
nobase_dist_data_DATA
=
applications/vlc.desktop
nobase_dist_data_DATA
=
applications/vlc.desktop
...
@@ -35,6 +37,7 @@ DIST_rsrc = \
...
@@ -35,6 +37,7 @@ DIST_rsrc = \
vlc_beos.rsrc
\
vlc_beos.rsrc
\
vlc_win32_rc.rc
vlc_win32_rc.rc
if
BUILD_PDA
DIST_pda
=
\
DIST_pda
=
\
pda-forwardb16x16.xpm
\
pda-forwardb16x16.xpm
\
pda-openb16x16.xpm
\
pda-openb16x16.xpm
\
...
@@ -44,6 +47,7 @@ DIST_pda = \
...
@@ -44,6 +47,7 @@ DIST_pda = \
pda-preferencesb16x16.xpm
\
pda-preferencesb16x16.xpm
\
pda-rewindb16x16.xpm
\
pda-rewindb16x16.xpm
\
pda-stopb16x16.xpm
pda-stopb16x16.xpm
endif
DIST_icons16
=
vlc16x16.png vlc16x16.xpm
DIST_icons16
=
vlc16x16.png vlc16x16.xpm
...
@@ -53,6 +57,7 @@ DIST_icons48 = vlc48x48.ico vlc48x48.png vlc48x48-christmas.png
...
@@ -53,6 +57,7 @@ DIST_icons48 = vlc48x48.ico vlc48x48.png vlc48x48-christmas.png
DIST_icons128
=
vlc128x128.png vlc128x128-christmas.png
DIST_icons128
=
vlc128x128.png vlc128x128-christmas.png
if
BUILD_SKINS
DIST_skins2
=
\
DIST_skins2
=
\
skins2/fonts/FreeSans.ttf
\
skins2/fonts/FreeSans.ttf
\
skins2/fonts/FreeSansBold.ttf
\
skins2/fonts/FreeSansBold.ttf
\
...
@@ -93,7 +98,9 @@ skins2_default_vlt_FILES = \
...
@@ -93,7 +98,9 @@ skins2_default_vlt_FILES = \
skins2/default.vlt
:
$(skins2_default_vlt_FILES)
skins2/default.vlt
:
$(skins2_default_vlt_FILES)
mkdir
-p
skins2
mkdir
-p
skins2
tar
cvvzf skins2/default.vlt
--exclude
.svn
-C
$(srcdir)
/skins2 default/
tar
cvvzf skins2/default.vlt
--exclude
.svn
-C
$(srcdir)
/skins2 default/
endif
if
BUILD_HTTPD
DIST_http
=
\
DIST_http
=
\
http/.hosts
\
http/.hosts
\
http/dialogs/.hosts
\
http/dialogs/.hosts
\
...
@@ -173,7 +180,9 @@ DIST_http = \
...
@@ -173,7 +180,9 @@ DIST_http = \
http/vlm.html
\
http/vlm.html
\
http/vlm_export.html
\
http/vlm_export.html
\
http/flash.html
http/flash.html
endif
if
BUILD_OSDMENU
DIST_osdmenu_default
=
\
DIST_osdmenu_default
=
\
osdmenu/default.cfg
\
osdmenu/default.cfg
\
osdmenu/default/unselected.png
\
osdmenu/default/unselected.png
\
...
@@ -247,7 +256,9 @@ DIST_osdmenu_minimal = \
...
@@ -247,7 +256,9 @@ DIST_osdmenu_minimal = \
osdmenu/minimal/fs_panel_volume_min.png
\
osdmenu/minimal/fs_panel_volume_min.png
\
osdmenu/minimal/fs_panel.png
\
osdmenu/minimal/fs_panel.png
\
osdmenu/minimal/fs_panel_mockup.png
osdmenu/minimal/fs_panel_mockup.png
endif
if
BUILD_LUA
DIST_lua
=
\
DIST_lua
=
\
lua/meta/README.txt
\
lua/meta/README.txt
\
lua/meta/googleimage.lua
\
lua/meta/googleimage.lua
\
...
@@ -339,7 +350,9 @@ DIST_http_lua = \
...
@@ -339,7 +350,9 @@ DIST_http_lua = \
lua/http/vlm.html
\
lua/http/vlm.html
\
lua/http/vlm_export.html
\
lua/http/vlm_export.html
\
lua/http/flash.html
lua/http/flash.html
endif
if
BUILD_MOZILLA
DIST_mozilla
=
\
DIST_mozilla
=
\
mozilla/fullscreen.xpm
\
mozilla/fullscreen.xpm
\
mozilla/pause.xpm
\
mozilla/pause.xpm
\
...
@@ -353,3 +366,4 @@ DIST_mozilla = \
...
@@ -353,3 +366,4 @@ DIST_mozilla = \
mozilla/volume_max.xpm
\
mozilla/volume_max.xpm
\
mozilla/volume_mute.xpm
\
mozilla/volume_mute.xpm
\
mozilla/volume_slider_bar.xpm
mozilla/volume_slider_bar.xpm
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment