Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
7dcac684
Commit
7dcac684
authored
Aug 30, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move src/control/ to lib/
parent
69ec0625
Changes
35
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
45 additions
and
119 deletions
+45
-119
Makefile.am
Makefile.am
+7
-6
bin/Makefile.am
bin/Makefile.am
+1
-2
configure.ac
configure.ac
+1
-0
include/vlc/libvlc_events.h
include/vlc/libvlc_events.h
+1
-1
lib/audio.c
lib/audio.c
+0
-0
lib/core.c
lib/core.c
+0
-0
lib/error.c
lib/error.c
+0
-0
lib/event.c
lib/event.c
+0
-0
lib/event_async.c
lib/event_async.c
+0
-0
lib/event_internal.h
lib/event_internal.h
+0
-0
lib/libvlc.pc.in
lib/libvlc.pc.in
+0
-0
lib/libvlc.sym
lib/libvlc.sym
+0
-0
lib/libvlc_internal.h
lib/libvlc_internal.h
+0
-0
lib/log.c
lib/log.c
+0
-0
lib/media.c
lib/media.c
+1
-1
lib/media_discoverer.c
lib/media_discoverer.c
+0
-0
lib/media_internal.h
lib/media_internal.h
+0
-0
lib/media_library.c
lib/media_library.c
+0
-0
lib/media_list.c
lib/media_list.c
+0
-0
lib/media_list_internal.h
lib/media_list_internal.h
+0
-0
lib/media_list_path.h
lib/media_list_path.h
+0
-0
lib/media_list_player.c
lib/media_list_player.c
+0
-0
lib/media_player.c
lib/media_player.c
+0
-2
lib/media_player_internal.h
lib/media_player_internal.h
+0
-0
lib/playlist.c
lib/playlist.c
+1
-1
lib/video.c
lib/video.c
+0
-0
lib/vlm.c
lib/vlm.c
+0
-0
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+1
-1
po/POTFILES.in
po/POTFILES.in
+16
-15
src/Makefile.am
src/Makefile.am
+12
-82
src/interface/interface.c
src/interface/interface.c
+0
-4
src/libvlc.c
src/libvlc.c
+1
-1
src/misc/exit.c
src/misc/exit.c
+1
-1
test/libvlc/media_list_player.c
test/libvlc/media_list_player.c
+1
-1
test/src/misc/variables.c
test/src/misc/variables.c
+1
-1
No files found.
Makefile.am
View file @
7dcac684
...
...
@@ -7,10 +7,8 @@
# which have makefiles with distribution information.
# - src (libvlc) is nedeed by modules
# - libs/* are needed by modules
DIST_SUBDIRS
=
\
m4 compat doc po share src
\
bin modules
test
SUBDIRS
=
compat doc po share src
DIST_SUBDIRS
=
m4 compat doc po share src modules lib bin
test
SUBDIRS
=
compat doc po share src lib
if
BUILD_VLC
SUBDIRS
+=
bin
endif
...
...
@@ -347,8 +345,11 @@ MAINTAINERCLEANFILES = ChangeLog
libcompat
:
cd
compat
&&
$(MAKE)
$(AM_MAKEFLAGS)
libvlc
:
libcompat
cd
src
&&
$(MAKE)
$(AM_MAKEFLAGS)
libvlc.la
libvlccore
:
libcompat
cd
src
&&
$(MAKE)
$(AM_MAKEFLAGS)
libvlccore.la
libvlc
:
libvlccore
cd
lib
&&
$(MAKE)
$(AM_MAKEFLAGS)
libvlc.la
core
:
libvlc vlc$(EXEEXT)
cd
bin
&&
$(MAKE)
$(AM_MAKEFLAGS)
vlc
$(EXEEXT)
vlc-static
$(EXEEXT)
...
...
bin/Makefile.am
View file @
7dcac684
...
...
@@ -31,7 +31,6 @@ endif
vlc_wrapper_SOURCES
=
rootwrap.c
vlc_wrapper_LDADD
=
$(SOCKET_LIBS)
vlc_DEPENDENCIES
=
../src/libvlc.sym
vlc_LDFLAGS
=
$(LDFLAGS_vlc)
vlc_LDADD
=
../src/libvlc.la ../src/libvlccore.la
$(LIBS_vlc)
...
...
@@ -46,7 +45,7 @@ vlc_static_LDFLAGS = $(vlc_LDFLAGS)
if
HAVE_WIN32
vlc_LDADD
+=
-lwininet
vlc_win32_rc.
$(OBJEXT)
vlc_DEPENDENCIES
+
=
vlc_win32_rc.
$(OBJEXT)
vlc_DEPENDENCIES
=
vlc_win32_rc.
$(OBJEXT)
else
vlc_LDADD
+=
$(LIBDL)
vlc_static_LDFLAGS
+=
-no-install
-static
...
...
configure.ac
View file @
7dcac684
...
...
@@ -4266,6 +4266,7 @@ AC_CONFIG_FILES([
compat/Makefile
src/Makefile
src/test/Makefile
lib/Makefile
bin/Makefile
test/Makefile
modules/access/Makefile
...
...
include/vlc/libvlc_events.h
View file @
7dcac684
...
...
@@ -45,7 +45,7 @@ extern "C" {
enum
libvlc_event_e
{
/* Append new event types at the end of a category.
* Do not remove, insert or re-order any entry.
* Keep this in sync with
src/control
/event.c:libvlc_event_type_name(). */
* Keep this in sync with
lib
/event.c:libvlc_event_type_name(). */
libvlc_MediaMetaChanged
=
0
,
libvlc_MediaSubItemAdded
,
libvlc_MediaDurationChanged
,
...
...
src/control
/audio.c
→
lib
/audio.c
View file @
7dcac684
File moved
src/control
/core.c
→
lib
/core.c
View file @
7dcac684
File moved
src/control
/error.c
→
lib
/error.c
View file @
7dcac684
File moved
src/control
/event.c
→
lib
/event.c
View file @
7dcac684
File moved
src/control
/event_async.c
→
lib
/event_async.c
View file @
7dcac684
File moved
src/control
/event_internal.h
→
lib
/event_internal.h
View file @
7dcac684
File moved
src
/libvlc.pc.in
→
lib
/libvlc.pc.in
View file @
7dcac684
File moved
src
/libvlc.sym
→
lib
/libvlc.sym
View file @
7dcac684
File moved
src/control
/libvlc_internal.h
→
lib
/libvlc_internal.h
View file @
7dcac684
File moved
src/control
/log.c
→
lib
/log.c
View file @
7dcac684
File moved
src/control
/media.c
→
lib
/media.c
View file @
7dcac684
...
...
@@ -38,7 +38,7 @@
#include <vlc_playlist.h>
/* For the preparser */
#include <vlc_url.h>
#include "libvlc.h"
#include "
../src/
libvlc.h"
#include "libvlc_internal.h"
#include "media_internal.h"
...
...
src/control
/media_discoverer.c
→
lib
/media_discoverer.c
View file @
7dcac684
File moved
src/control
/media_internal.h
→
lib
/media_internal.h
View file @
7dcac684
File moved
src/control
/media_library.c
→
lib
/media_library.c
View file @
7dcac684
File moved
src/control
/media_list.c
→
lib
/media_list.c
View file @
7dcac684
File moved
src/control
/media_list_internal.h
→
lib
/media_list_internal.h
View file @
7dcac684
File moved
src/control
/media_list_path.h
→
lib
/media_list_path.h
View file @
7dcac684
File moved
src/control
/media_list_player.c
→
lib
/media_list_player.c
View file @
7dcac684
File moved
src/control
/media_player.c
→
lib
/media_player.c
View file @
7dcac684
...
...
@@ -36,8 +36,6 @@
#include <vlc_vout.h>
#include <vlc_keys.h>
#include "libvlc.h"
#include "libvlc_internal.h"
#include "media_internal.h" // libvlc_media_set_state()
#include "media_player_internal.h"
...
...
src/control
/media_player_internal.h
→
lib
/media_player_internal.h
View file @
7dcac684
File moved
src/control
/playlist.c
→
lib
/playlist.c
View file @
7dcac684
...
...
@@ -26,7 +26,7 @@
#endif
#include "libvlc_internal.h"
#include "libvlc.h"
#include "
../src/
libvlc.h"
#include <vlc/libvlc_structures.h>
#include <vlc/libvlc.h>
...
...
src/control
/video.c
→
lib
/video.c
View file @
7dcac684
File moved
src/control
/vlm.c
→
lib
/vlm.c
View file @
7dcac684
File moved
modules/gui/qt4/qt4.cpp
View file @
7dcac684
...
...
@@ -322,7 +322,7 @@ static bool active = false;
#ifdef Q_WS_MAC
/* Used to abort the app.exec() on OSX after libvlc_Quit is called */
#include "../../../
src/control
/libvlc_internal.h"
/* libvlc_SetExitHandler */
#include "../../../
lib
/libvlc_internal.h"
/* libvlc_SetExitHandler */
static
void
Abort
(
void
*
obj
)
{
QVLCApp
::
triggerQuit
();
...
...
po/POTFILES.in
View file @
7dcac684
...
...
@@ -78,21 +78,6 @@ src/config/core.c
src/config/file.c
src/config/help.c
src/config/intf.c
src/control/audio.c
src/control/core.c
src/control/event.c
src/control/libvlc_internal.h
src/control/log.c
src/control/media.c
src/control/media_discoverer.c
src/control/media_library.c
src/control/media_list.c
src/control/media_list_path.h
src/control/media_list_player.c
src/control/media_player.c
src/control/playlist.c
src/control/video.c
src/control/vlm.c
src/extras/libc.c
src/extras/tdestroy.c
src/input/access.c
...
...
@@ -184,6 +169,22 @@ src/video_output/vout_internal.h
src/video_output/vout_intf.c
src/video_output/vout_subpictures.c
lib/audio.c
lib/core.c
lib/event.c
lib/libvlc_internal.h
lib/log.c
lib/media.c
lib/media_discoverer.c
lib/media_library.c
lib/media_list.c
lib/media_list_path.h
lib/media_list_player.c
lib/media_player.c
lib/playlist.c
lib/video.c
lib/vlm.c
# modules
modules/3dnow/memcpy.c
modules/access/alsa.c
...
...
src/Makefile.am
View file @
7dcac684
...
...
@@ -7,16 +7,11 @@ SUBDIRS = . test
NULL
=
EXTRA_DIST
=
\
libvlc.pc.in
\
vlc-plugin.pc.in
\
libvlc.sym
\
libvlccore.sym
\
revision.txt
\
../include/vlc/libvlc_version.h.in
revision.txt
BUILT_SOURCES
=
\
$(nodist_pkginclude_HEADERS)
\
$(nodist_pluginsinclude_HEADERS)
BUILT_SOURCES
=
$(nodist_pluginsinclude_HEADERS)
CLEANFILES
=
$(BUILT_SOURCES)
SUFFIXES
=
.pc.in .pc .rc.in .rc
...
...
@@ -27,22 +22,6 @@ SUFFIXES = .pc.in .pc .rc.in .rc
pluginsincludedir
=
$(pkgincludedir)
/plugins
pkginclude_HEADERS
=
\
../include/vlc/vlc.h
\
../include/vlc/deprecated.h
\
../include/vlc/libvlc.h
\
../include/vlc/libvlc_events.h
\
../include/vlc/libvlc_media.h
\
../include/vlc/libvlc_media_discoverer.h
\
../include/vlc/libvlc_media_library.h
\
../include/vlc/libvlc_media_list.h
\
../include/vlc/libvlc_media_list_player.h
\
../include/vlc/libvlc_media_player.h
\
../include/vlc/libvlc_structures.h
\
../include/vlc/libvlc_vlm.h
\
$(NULL)
nodist_pkginclude_HEADERS
=
../include/vlc/libvlc_version.h
pluginsinclude_HEADERS
=
\
../include/vlc_access.h
\
../include/vlc_acl.h
\
...
...
@@ -138,10 +117,6 @@ noinst_HEADERS = \
../include/vlc_windows_interfaces.h
\
$(NULL)
../include/vlc/libvlc_version.h
:
../include/vlc/libvlc_version.h.in $(top_builddir)/config.status
$(AM_V_GEN)
cd
"
$(top_builddir)
"
&&
\
$(SHELL)
./config.status
--file
=
"src/
$@
"
../include/vlc_about.h
:
Makefile.am $(top_srcdir)/COPYING $(top_srcdir)/THANKS $(top_srcdir)/AUTHORS
$(AM_V_at)
rm
-f
--
"
$@
.tmp"
$(AM_V_at)
mkdir
-p
--
../include
...
...
@@ -164,7 +139,7 @@ noinst_HEADERS = \
###############################################################################
pkgconfigdir
=
$(libdir)
/pkgconfig
pkgconfig_DATA
=
libvlc.pc
vlc-plugin.pc
pkgconfig_DATA
=
vlc-plugin.pc
CLEANFILES
+=
$(pkgconfig_DATA)
.pc.in.pc
:
$(top_builddir)/config.status
...
...
@@ -188,25 +163,20 @@ EXTRA_DIST += libvlc_win32_rc.rc.in
# Building libvlc
###############################################################################
lib_LTLIBRARIES
=
libvlccore.la libvlc.la
AM_LDFLAGS
=
-no-undefined
if
HAVE_WIN32
AM_LDFLAGS
+=
-avoid-version
endif
if
HAVE_WINCE
AM_LDFLAGS
+=
-avoid-version
endif
lib_LTLIBRARIES
=
libvlccore.la
libvlccore_la_SOURCES
=
$(SOURCES_libvlc)
libvlccore_la_CPPFLAGS
=
$(INCICONV)
\
AM_CPPFLAGS
=
$(INCICONV)
\
-DMODULE_STRING
=
\"
main
\"
\
-DLOCALEDIR
=
\"
$(localedir)
\"
\
-DSYSCONFDIR
=
\"
$(sysconfdir)
\"
\
-DDATA_PATH
=
\"
$(vlcdatadir)
\"
\
-DPKGLIBDIR
=
\"
$(vlclibdir)
\"
libvlccore_la_CFLAGS
=
$(CFLAGS_libvlccore)
libvlccore_la_LDFLAGS
=
$(LDFLAGS_libvlccore)
$(AM_LDFLAGS)
\
AM_CFLAGS
=
$(CFLAGS_libvlccore)
libvlccore_la_SOURCES
=
$(SOURCES_libvlc)
libvlccore_la_LDFLAGS
=
\
-no-undefined
\
$(LDFLAGS_libvlccore)
\
-no-undefined
\
-export-symbols
$(srcdir)
/libvlccore.sym
\
-version-info
5:0:0
...
...
@@ -217,27 +187,12 @@ libvlccore_la_LIBADD = $(LIBS_libvlccore) \
libvlccore_la_DEPENDENCIES
=
libvlccore.sym
if
HAVE_WIN32
libvlccore_la_DEPENDENCIES
+=
libvlc_win32_rc.
$(OBJEXT)
libvlccore_la_LDFLAGS
+=
-Wl
,libvlc_win32_rc.
$(OBJEXT)
libvlccore_la_LDFLAGS
+=
-Wl
,libvlc_win32_rc.
$(OBJEXT)
-avoid-version
endif
libvlc_win32_rc.$(OBJEXT)
:
libvlc_win32_rc.rc
$(WINDRES)
--include-dir
$(top_srcdir)
/share
-i
$<
-o
$@
libvlc_la_SOURCES
=
$(SOURCES_libvlc_control)
libvlc_la_LIBADD
=
$(LIBS_libvlc)
\
libvlccore.la ../compat/libcompat.la
libvlc_la_CPPFLAGS
=
-DMODULE_STRING
=
\"
libvlc
\"
libvlc_la_CFLAGS
=
$(CFLAGS_libvlc)
libvlc_la_LDFLAGS
=
$(AM_LDFLAGS)
$(LDFLAGS_libvlc)
\
-version-info
6:0:1
\
-export-symbols
$(srcdir)
/libvlc.sym
libvlc_la_DEPENDENCIES
=
libvlc.sym libvlccore.la
if
HAVE_WIN32
libvlc_la_DEPENDENCIES
+=
libvlc_win32_rc.
$(OBJEXT)
libvlc_la_LDFLAGS
+=
-Wl
,libvlc_win32_rc.
$(OBJEXT)
endif
EXTRA_libvlccore_la_SOURCES
=
\
$(SOURCES_libvlc_darwin)
\
$(SOURCES_libvlc_linux)
\
...
...
@@ -511,30 +466,6 @@ SOURCES_libvlc = \
$(SOURCES_libvlc_common)
\
$(NULL)
SOURCES_libvlc_control
=
\
revision.c
\
control/libvlc_internal.h
\
control/event_internal.h
\
control/media_internal.h
\
control/media_list_internal.h
\
control/media_player_internal.h
\
control/core.c
\
control/error.c
\
control/log.c
\
control/playlist.c
\
control/vlm.c
\
control/video.c
\
control/audio.c
\
control/event.c
\
control/event_async.c
\
control/media.c
\
control/media_player.c
\
control/media_list.c
\
control/media_list_path.h
\
control/media_list_player.c
\
control/media_library.c
\
control/media_discoverer.c
###############################################################################
# libvlc pulse
###############################################################################
...
...
@@ -593,7 +524,6 @@ check-local:
exit
1
;
\
fi
;
\
done
$(srcdir)
/check_headers
$(pkginclude_HEADERS)
$(srcdir)
/check_headers
$(pluginsinclude_HEADERS)
FORCE
:
...
...
src/interface/interface.c
View file @
7dcac684
...
...
@@ -41,10 +41,6 @@
#include <vlc_common.h>
#include <vlc_modules.h>
#include <vlc_interface.h>
#if defined( __APPLE__ ) || defined( WIN32 )
#include "../control/libvlc_internal.h"
#endif
#include "libvlc.h"
/*****************************************************************************
...
...
src/libvlc.c
View file @
7dcac684
...
...
@@ -37,7 +37,7 @@
#endif
#include <vlc_common.h>
#include "
control
/libvlc_internal.h"
#include "
../lib
/libvlc_internal.h"
#include <vlc_input.h>
#include "modules/modules.h"
...
...
src/misc/exit.c
View file @
7dcac684
...
...
@@ -25,7 +25,7 @@
#include <vlc_common.h>
#include <vlc_interface.h>
#include "libvlc.h"
#include "
control
/libvlc_internal.h"
#include "
../lib
/libvlc_internal.h"
void
vlc_ExitInit
(
vlc_exit_t
*
exit
)
{
...
...
test/libvlc/media_list_player.c
View file @
7dcac684
...
...
@@ -34,7 +34,7 @@
This allows for the direct addition of subitems in the playback options test.
This would not be necessary if there were an add subitems function.
*/
#include "../../
src/control
/media_internal.h"
#include "../../
lib
/media_internal.h"
struct
check_items_order_data
{
bool
done_playing
;
...
...
test/src/misc/variables.c
View file @
7dcac684
...
...
@@ -24,7 +24,7 @@
#include <limits.h>
#include "../../libvlc/test.h"
#include
<../src/control/libvlc_internal.h>
#include
"../lib/libvlc_internal.h"
const
char
*
psz_var_name
[]
=
{
"a"
,
"abcdef"
,
"abcdefg"
,
"abc123"
,
"abc-123"
,
"é€!!"
};
const
int
i_var_count
=
6
;
...
...
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