Steve Lhomme
cd61b872fc
winvlc: use WCHAR instead of TCHAR
We were already using FromWide on this variable. It cannot work if TCHAR is
not wide.
7 years ago
David Fuhrmann
5b8554d5ea
darwinvlc: Set rpath appliciable for POSIX installation
This enables us to just run the vlc executable from an installed
directory like on any other POSIX installation. All modules should
work, apart the macOS interface module which requires the bundle
structure.
7 years ago
David Fuhrmann
e7120799cc
src: darwin/dirs: Implement fallbacks for posix style installations
For posix-style installations, use the defined directories
for libraries and data.
With that, running vlc from the install dirs works fine in principle.
What is left to do currently is to adapt the RPATH to find the
libvlc libraries.
8 years ago
David Fuhrmann
965c4a0294
src: darwin/dirs: Package libraries and modules into Frameworks directory
This is the correct place for bundling shared libraries (even if
they are not in the Framework structure).
8 years ago
Steve Lhomme
5363279805
remove the $Id$ in the source code
8 years ago
Marvin Scholz
d75d12bee2
darwinvlc: Use FromCFString
8 years ago
Martin Storsjö
9edf62844f
bin: win32: Link vlc.exe and vlc-cache-gen.exe with -static
This prevents these executables from linking to a shared
libssp-0.dll if both a static and shared version is available
of this library.
Since these refer to the dynamically linked libvlc via libvlc.la,
it will still pick up the correct shared version of those, instead
of refusing to link to a dynamic library (as it does for any
library specified via -l<name>).
The same use of -Wc,-static is present in a few other Makefile.am
already.
8 years ago
Steve Lhomme
769f745315
bin:override: fix unsigned format modifier
8 years ago
Rémi Denis-Courmont
902dd36bbd
configure: remove LIBPTHREAD
POSIX threads are always enabled implicitly.
8 years ago
Rémi Denis-Courmont
d78eef5211
winvlc: use exit handler
8 years ago
Rémi Denis-Courmont
31f34113ae
cachegen: remove wrong/misleading error message
8 years ago
Rémi Denis-Courmont
1d233ef6be
lib: remove unused libvlc_playlist_play() parameters
8 years ago
David Fuhrmann
724747fab5
darwinvlc: Print out if no interface can be found
Analog to 20bd2ef03b .
9 years ago
KO Myung-Hun
68c70c11a3
os2: fix crash and memory leaks at exit
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Marvin Scholz
a7611f68e6
winvlc: Move breakpad init completely in HAVE_BREAKPAD
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Rémi Denis-Courmont
20bd2ef03b
vlc: print an error if not starting any interface
Rather than failing and existing silently.
9 years ago
Rémi Denis-Courmont
d112b475eb
vlc: do not clobber argv, argc
Later patch wants to use argv[0].
9 years ago
Rémi Denis-Courmont
ba05ad6164
vlc-cache-gen: use correct install directory
pkglibexecdir is the pseudo-directory for internal executables.
vlc-qt-check already uses that. Indeed, PROGRAMS and SCRIPTS targets
are not allowed by automake in pkglibdir.
(libexecdir can be set to '${libdir}' in configure if/when the
distinction is unwanted.)
9 years ago
Rémi Denis-Courmont
ae6ecfb36e
bin: define VLC_LIB_PATH
...when running in build tree.
9 years ago
Felix Paul Kühne
9e12a2ca6e
bin: fix installation when compiling for macOS with the VLC executable disabled
9 years ago
Hugo Beauzée-Luyssen
38c1add4d1
bin/Makefile.am: Explicitely depend on libbreakpad_wrapper.la
9 years ago
Hugo Beauzée-Luyssen
87d76d7689
bin/Makefile.am: Simplify
9 years ago
Hugo Beauzée-Luyssen
9bca12c0b8
bin: Fix vlc CFLAGS on !WIN32
Reported-by: Alexandre Fernandez <nerf@boboop.fr>
9 years ago
Hugo Beauzée-Luyssen
80f61c8342
win32: Use breakpad for crash reporting
9 years ago
Hugo Beauzée-Luyssen
25f8fd2e20
winvlc: Remove old crash handling code
9 years ago
Hugo Beauzée-Luyssen
34d52c7081
Rework breakpad detection to enable it on windows as well
9 years ago
Rémi Denis-Courmont
5c5ebd199a
win32: call SetDllDirectort() directly
This looks like cargo cult. The function exists since XP SP1.
9 years ago
Rémi Denis-Courmont
4448d4d5c1
win32: use thread-safe error mode (only)
9 years ago
Thomas Guillem
4ef1d5a27b
winvlc: disable buffering on stderr
cf. discussion on the gdb project:
http://sourceware.org/ml/gdb-patches/2013-08/msg00422.html
stderr can be buffered on Windows when connected to a pipe.
9 years ago
Rémi Denis-Courmont
a93be48869
win32: only call SetErrorMode() if needed
This call is only necessary on Win2k8 and earlier.
9 years ago
Felix Paul Kühne
bb7e8b5a71
bin: fix build and install for non-macOS Darwin platforms
9 years ago
Rémi Denis-Courmont
77a7a060b5
bin: build vlc-cache-gen even w/ --disable-vlc
This is required if plugins are supported, regardless of whether the
VLC executable is built.
9 years ago
Rémi Denis-Courmont
60002d17b7
Makefile: reorder/gather rules by target
9 years ago
Rémi Denis-Courmont
72a7dcfe2d
Makefile: remove redundant variables
9 years ago
Rémi Denis-Courmont
ca91e23992
Makefile: remove redundant if/endif
9 years ago
Rémi Denis-Courmont
ac382c3b63
rootwrap: use fputs() where applicable
9 years ago
Rémi Denis-Courmont
334979d154
dbus: add command line option to disable MPRIS
9 years ago
Marvin Scholz
4fe5d6d3f5
darwinvlc: Clarify comment about PSN argument
9 years ago
Steve Lhomme
2c799b6fd7
bin: use a full path to build plugins.dat
This needed on Windows as LoadLibraryEx doesn't like relative pathes and thus
building on Windows doesn't go to the end.
The resulting pathes in plugins.dat are still relative and so are the ones
resulting from `make package-win-common` that can be distributed.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Hugo Beauzée-Luyssen
60429c9c8b
winvlc: Remove trailing whitespace
10 years ago
Hugo Beauzée-Luyssen
99db47431b
winvlc: Try to load DLLs from system32 before any other folder
10 years ago
Steve Lhomme
681866b760
win32: do not load wininet.dll on startup, it's not a Known DLL
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Jean-Baptiste Kempf
82326be1e9
Winvlc: add comments
10 years ago
Hugo Beauzée-Luyssen
083b4c517b
bin: win32 resources: Fix manifest embeding
RT_MANIFEST is a macro that wasn't being substituted
2 was the magic number that corresponds to
ISOLATIONAWARE_MANIFEST_RESOURCE_ID, which should be used for DLLs.
Instead, use CREATEPROCESS_MANIFEST_RESOURCE_ID as we are creating a
process
10 years ago
Hugo Beauzée-Luyssen
69d1dd35c4
bin: vlc_win32_rc depends on the manifest file
10 years ago
Jean-Baptiste Kempf
19c3247320
darwinvlc: check malloc return and free
10 years ago
Marvin Scholz
2b5baef57f
macOS buildsystem: Adjust rpath and install_name
10 years ago
Jean-Baptiste Kempf
af316abf68
macOS: factor out the Frameworks path definitions
10 years ago
Marvin Scholz
9fe1c7c2ca
macOS: Add initialization of breakpad crash reporter
10 years ago
Marvin Scholz
eec7a5f40c
macOS: Add breakpad to buildsystem
10 years ago