Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
cf84ed93
Commit
cf84ed93
authored
Feb 09, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
text_renderer: remove Makefile recursion
parent
8034e01d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
61 additions
and
30 deletions
+61
-30
configure.ac
configure.ac
+16
-21
modules/Makefile.am
modules/Makefile.am
+1
-1
modules/text_renderer/.gitignore
modules/text_renderer/.gitignore
+0
-1
modules/text_renderer/Makefile.am
modules/text_renderer/Makefile.am
+44
-0
modules/text_renderer/Modules.am
modules/text_renderer/Modules.am
+0
-7
No files found.
configure.ac
View file @
cf84ed93
...
@@ -516,7 +516,6 @@ AS_IF([test "${SYS}" = "mingw32"],[
...
@@ -516,7 +516,6 @@ AS_IF([test "${SYS}" = "mingw32"],[
vlc_winstore_app=1
vlc_winstore_app=1
VLC_ADD_LIBS([libvlccore], [-lole32 -lruntimeobject])
VLC_ADD_LIBS([libvlccore], [-lole32 -lruntimeobject])
],[
],[
VLC_ADD_LIBS([win32text],[-lgdi32])
VLC_ADD_LIBS([libvlccore],[-lwinmm])
VLC_ADD_LIBS([libvlccore],[-lwinmm])
])
])
])
])
...
@@ -700,7 +699,7 @@ AC_CHECK_FUNC(getopt_long,, [
...
@@ -700,7 +699,7 @@ AC_CHECK_FUNC(getopt_long,, [
AC_SUBST(GNUGETOPT_LIBS)
AC_SUBST(GNUGETOPT_LIBS)
AC_CHECK_LIB(m,cos,[
AC_CHECK_LIB(m,cos,[
VLC_ADD_LIBS([adjust wave ripple psychedelic gradient a52tofloat32 dtstofloat32 x264 goom noise grain scene chorus_flanger
freetype swscale postproc equalizer spatializer param_eq samplerate freetyp
e mpc qt4 compressor headphone_channel_mixer normvol audiobargraph_a audiobargraph_v mono colorthres extract ball hotkeys mosaic gaussianblur x262 x26410b hqdn3d anaglyph oldrc ncurses oldmovie glspectrum smooth],[-lm])
VLC_ADD_LIBS([adjust wave ripple psychedelic gradient a52tofloat32 dtstofloat32 x264 goom noise grain scene chorus_flanger
swscale postproc equalizer spatializer param_eq samplerat
e mpc qt4 compressor headphone_channel_mixer normvol audiobargraph_a audiobargraph_v mono colorthres extract ball hotkeys mosaic gaussianblur x262 x26410b hqdn3d anaglyph oldrc ncurses oldmovie glspectrum smooth],[-lm])
LIBM="-lm"
LIBM="-lm"
], [
], [
LIBM=""
LIBM=""
...
@@ -3154,15 +3153,15 @@ AC_ARG_WITH([default-monospace-font-family],
...
@@ -3154,15 +3153,15 @@ AC_ARG_WITH([default-monospace-font-family],
[AC_DEFINE_UNQUOTED([DEFAULT_MONOSPACE_FAMILY],
[AC_DEFINE_UNQUOTED([DEFAULT_MONOSPACE_FAMILY],
"$withval", [Default monospace font family])])
"$withval", [Default monospace font family])])
have_freetype="no"
have_fontconfig="no"
have_fribidi="no"
if test "${enable_freetype}" != "no"; then
if test "${enable_freetype}" != "no"; then
PKG_CHECK_MODULES(FREETYPE, freetype2, [
PKG_CHECK_MODULES(FREETYPE, freetype2, [
have_freetype=yes
have_freetype="yes"
VLC_ADD_PLUGIN([freetype])
VLC_ADD_CPPFLAGS([skins2],[${FREETYPE_CFLAGS}])
VLC_ADD_CPPFLAGS([freetype skins2],[${FREETYPE_CFLAGS}])
VLC_ADD_LIBS([skins2],[${FREETYPE_LIBS}])
if test "${SYS}" = "mingw32"; then
VLC_ADD_LIBS([freetype],[-liconv -lz])
fi
VLC_ADD_LIBS([freetype skins2],[${FREETYPE_LIBS}])
AC_CHECK_HEADERS(Carbon/Carbon.h,
AC_CHECK_HEADERS(Carbon/Carbon.h,
[VLC_ADD_LIBS([freetype],[-Wl,-framework,Carbon])])
[VLC_ADD_LIBS([freetype],[-Wl,-framework,Carbon])])
...
@@ -3171,32 +3170,30 @@ if test "${enable_freetype}" != "no"; then
...
@@ -3171,32 +3170,30 @@ if test "${enable_freetype}" != "no"; then
if test "${SYS}" != "mingw32"; then
if test "${SYS}" != "mingw32"; then
if test "${enable_fontconfig}" != "no"; then
if test "${enable_fontconfig}" != "no"; then
AC_CHECK_HEADERS(fontconfig/fontconfig.h, [
AC_CHECK_HEADERS(fontconfig/fontconfig.h, [
VLC_ADD_CPPFLAGS([freetype],[-DHAVE_FONTCONFIG])
have_fontconfig="yes"
VLC_ADD_LIBS([freetype],[-lfontconfig])
],[AC_MSG_WARN([library fontconfig not found. Styles will be disabled in freetype])])
],[AC_MSG_WARN([library fontconfig not found. Styles will be disabled in freetype])])
fi
fi
else
AS_IF([test "$vlc_winstore_app" != "1"],[
VLC_ADD_LIBS([freetype],[-lgdi32])
])
fi
fi
dnl fribidi support
dnl fribidi support
if test "${enable_fribidi}" != "no"; then
if test "${enable_fribidi}" != "no"; then
PKG_CHECK_MODULES(FRIBIDI, fribidi, [
PKG_CHECK_MODULES(FRIBIDI, fribidi, [
VLC_ADD_CPPFLAGS([freetype skins2], [${FRIBIDI_CFLAGS} -DHAVE_FRIBIDI])
have_fribidi="yes"
VLC_ADD_LIBS([freetype skins2], [${FRIBIDI_LIBS}])
VLC_ADD_CPPFLAGS([skins2], [${FRIBIDI_CFLAGS} -DHAVE_FRIBIDI])
VLC_ADD_LIBS([skins2], [${FRIBIDI_LIBS}])
],[AC_MSG_WARN([${FRIBIDI_PKG_ERRORS}. Bidirectional support will be disabled in FreeType.])])
],[AC_MSG_WARN([${FRIBIDI_PKG_ERRORS}. Bidirectional support will be disabled in FreeType.])])
fi
fi
],[
],[
have_freetype=no
AS_IF([test -n "${enable_freetype}"],[
AS_IF([test -n "${enable_freetype}"],[
AC_MSG_ERROR([${FREETYPE_PKG_ERRORS}. Install FreeType2 development or configure with --disable-freetype.])
AC_MSG_ERROR([${FREETYPE_PKG_ERRORS}. Install FreeType2 development or configure with --disable-freetype.])
])
])
])
])
fi
fi
AM_CONDITIONAL([HAVE_FREETYPE], [test "${have_freetype}" = "yes"])
AM_CONDITIONAL([HAVE_FONTCONFIG], [test "${have_fontconfig}" = "yes"])
AM_CONDITIONAL([HAVE_FRIBIDI], [test "${have_fribidi}" = "yes"])
dnl
dnl
dnl QuartzText vout module (iOS/Mac OS)
dnl QuartzText vout module (iOS/Mac OS)
...
@@ -3207,7 +3204,6 @@ if test "x${enable_macosx_quartztext}" != "xno" &&
...
@@ -3207,7 +3204,6 @@ if test "x${enable_macosx_quartztext}" != "xno" &&
(test "${SYS}" = "darwin" || test "${enable_macosx_quartztext}" = "yes")
(test "${SYS}" = "darwin" || test "${enable_macosx_quartztext}" = "yes")
then
then
VLC_ADD_PLUGIN([quartztext])
VLC_ADD_PLUGIN([quartztext])
VLC_ADD_LIBS([quartztext],[-Wl,-framework,ApplicationServices])
fi
fi
dnl
dnl
...
@@ -4151,7 +4147,6 @@ AC_CONFIG_FILES([
...
@@ -4151,7 +4147,6 @@ AC_CONFIG_FILES([
modules/gui/skins2/Makefile
modules/gui/skins2/Makefile
modules/mux/Makefile
modules/mux/Makefile
modules/stream_out/Makefile
modules/stream_out/Makefile
modules/text_renderer/Makefile
modules/video_filter/Makefile
modules/video_filter/Makefile
modules/visualization/Makefile
modules/visualization/Makefile
modules/hw/mmal/Makefile
modules/hw/mmal/Makefile
...
...
modules/Makefile.am
View file @
cf84ed93
...
@@ -7,7 +7,6 @@ BASE_SUBDIRS = \
...
@@ -7,7 +7,6 @@ BASE_SUBDIRS = \
audio_filter
\
audio_filter
\
control
\
control
\
gui
\
gui
\
text_renderer
\
video_filter
\
video_filter
\
visualization
visualization
EXTRA_SUBDIRS
=
\
EXTRA_SUBDIRS
=
\
...
@@ -48,6 +47,7 @@ include notify/Makefile.am
...
@@ -48,6 +47,7 @@ include notify/Makefile.am
include
packetizer/Makefile.am
include
packetizer/Makefile.am
include
services_discovery/Makefile.am
include
services_discovery/Makefile.am
include
stream_filter/Makefile.am
include
stream_filter/Makefile.am
include
text_renderer/Makefile.am
include
video_chroma/Makefile.am
include
video_chroma/Makefile.am
include
video_splitter/Makefile.am
include
video_splitter/Makefile.am
include
video_output/Makefile.am
include
video_output/Makefile.am
...
...
modules/text_renderer/.gitignore
deleted
100644 → 0
View file @
8034e01d
Makefile.am
modules/text_renderer/Makefile.am
0 → 100644
View file @
cf84ed93
textdir
=
$(pluginsdir)
/text_render
libtdummy_plugin_la_SOURCES
=
text_renderer/tdummy.c
text_LTLIBRARIES
=
libtdummy_plugin.la
libfreetype_plugin_la_SOURCES
=
\
text_renderer/text_renderer.c text_renderer/text_renderer.h
\
text_renderer/platform_fonts.c text_renderer/platform_fonts.h
\
text_renderer/freetype.c
libfreetype_plugin_la_CPPFLAGS
=
$(AM_CPPFLAGS)
$(FREETYPE_CFLAGS)
libfreetype_plugin_la_LIBADD
=
$(LIBM)
$(FREETYPE_LIBS)
if
HAVE_FREETYPE
text_LTLIBRARIES
+=
libfreetype_plugin.la
endif
if
HAVE_FONTCONFIG
libfreetype_plugin_la_CPPFLAGS
+=
-DHAVE_FONTCONFIG
libfreetype_plugin_la_LIBADD
+=
-lfontconfig
endif
if
HAVE_FRIBIDI
libfreetype_plugin_la_CPPFLAGS
+=
$(FRIBIDI_CFLAGS)
-DHAVE_FRIBIDI
libfreetype_plugin_la_LIBADD
+=
$(FRIBIDI_LIBS)
endif
libquartztext_plugin_la_SOURCES
=
text_renderer/quartztext.c
libquartztext_plugin_la_LDFLAGS
=
$(AM_LFLFAGS)
\
-Wl
,-framework,ApplicationServices
EXTRA_LTLIBRARIES
+=
libquartztext_plugin.la
text_LTLIBRARIES
+=
$(LTLIBquartztext)
libsvg_plugin_la_SOURCES
=
text_renderer/svg.c
libsvg_plugin_la_CPPFLAGS
=
$(AM_CPPFLAGS)
$(SVG_CFLAGS)
libsvg_plugin_la_LIBADD
=
$(SVG_LIBS)
EXTRA_LTLIBRARIES
+=
libsvg_plugin.la
text_LTLIBRARIES
+=
$(LTLIBsvg)
libwin32text_plugin_la_SOURCES
=
text_renderer/win32text.c
libwin32text_plugin_la_LIBADD
=
-lgdi32
if
HAVE_WIN32
libfreetype_plugin_la_LIBADD
+=
-liconv
-lz
if
!HAVE_WINSTORE
libfreetype_plugin_la_LIBADD
+=
-lgdi32
text_LTLIBRARIES
+=
libwin32text_plugin.la
endif
endif
modules/text_renderer/Modules.am
deleted
100644 → 0
View file @
8034e01d
SOURCES_freetype = freetype.c text_renderer.c text_renderer.h platform_fonts.c platform_fonts.h
SOURCES_quartztext = quartztext.c
SOURCES_svg = svg.c
SOURCES_tdummy = tdummy.c
SOURCES_win32text = win32text.c
text_renderer_LTLIBRARIES += libtdummy_plugin.la
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