Commit Graph

306 Commits

Author SHA1 Message Date
Rémi Denis-Courmont d2ef799a6f override: use X_DISPLAY_MISSING 2022-04-17 02:55:02 +00:00
Marvin Scholz ffaadb57c6 macosx: add rpath for Frameworks
The Frameworks folder was missing in the rpath, leading to Frameworks
like Sparkle requiring change of the install_name after it was built
instead of just using rpath properly.
2022-01-04 19:40:24 +00:00
KO Myung-Hun e3f60a38d4 bin: fix linkage on OS/2
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2021-01-29 15:53:43 +01:00
Tristan Matthews 53b73bede0 rootwrap: make setsockopt 1 usage consistent 2020-11-22 15:13:29 -05:00
Rémi Denis-Courmont c96462163e xcb/global: use autorun to start 2020-11-21 16:51:38 +02:00
Rémi Denis-Courmont 0c2d3c673d hotkeys: use autorun to start 2020-11-21 16:51:38 +02:00
Marvin Scholz 8aadaf3db1 macosx: move breakpad initialization and allow opt-out
Move the breakpad initialization right to the start of the program
and do not initialize breakpad if the VLC_DISABLE_BREAKPAD env variable
is set.
2020-05-26 14:41:52 +02:00
Alexandre Janniaux 81c60915f7 winvlc: silence unused warnings
If breakpad is not used, the crash_handling variable is not used too,
but as it's used otherwise this should be silenced.
2020-03-30 09:10:13 +02:00
Marvin Scholz b39f2f1c52 macosx: check type of preference entry before using 2020-03-25 13:46:54 +01:00
Marvin Scholz 565e21f4d0 macosx: remove support for the language argument 2020-03-25 13:46:54 +01:00
David Fuhrmann 358a3be3b0 macOS packaging: Use DESTDIR install for packaging
This gets rid of a prefix inside our build dir, and uses DESTDIR
when installing the content. This way, the install directory
can be reused for further packaging introduced in the next commits.
2019-12-10 23:17:41 +01:00
Steve Lhomme 260ee399c5 winvlc: fix warnings 2019-06-03 09:25:37 +02:00
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.
2019-04-03 09:55:32 +02:00
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.
2019-03-27 19:28:09 +01:00
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.
2019-03-27 18:16:50 +01:00
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).
2019-03-20 18:51:20 +01:00
Steve Lhomme 5363279805 remove the $Id$ in the source code 2019-01-17 12:21:18 +01:00
Marvin Scholz d75d12bee2 darwinvlc: Use FromCFString 2018-10-20 19:42:10 +02:00
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.
2018-09-13 13:27:51 +03:00
Steve Lhomme 769f745315 bin:override: fix unsigned format modifier 2018-07-11 15:35:04 +02:00
Rémi Denis-Courmont 902dd36bbd configure: remove LIBPTHREAD
POSIX threads are always enabled implicitly.
2018-06-18 20:08:17 +03:00
Rémi Denis-Courmont d78eef5211 winvlc: use exit handler 2018-05-11 20:56:30 +03:00
Rémi Denis-Courmont 31f34113ae cachegen: remove wrong/misleading error message 2018-05-09 21:05:39 +03:00
Rémi Denis-Courmont 1d233ef6be lib: remove unused libvlc_playlist_play() parameters 2018-05-09 21:05:37 +03:00
David Fuhrmann 724747fab5 darwinvlc: Print out if no interface can be found
Analog to 20bd2ef03b.
2018-03-24 16:58:00 +01:00
KO Myung-Hun 68c70c11a3 os2: fix crash and memory leaks at exit
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-03-23 09:46:16 +01:00
Marvin Scholz a7611f68e6 winvlc: Move breakpad init completely in HAVE_BREAKPAD
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2018-03-15 19:27:10 +01:00
Rémi Denis-Courmont 20bd2ef03b vlc: print an error if not starting any interface
Rather than failing and existing silently.
2018-03-11 02:09:16 +02:00
Rémi Denis-Courmont d112b475eb vlc: do not clobber argv, argc
Later patch wants to use argv[0].
2018-03-11 02:09:16 +02:00
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.)
2018-03-06 20:55:50 +02:00
Rémi Denis-Courmont ae6ecfb36e bin: define VLC_LIB_PATH
...when running in build tree.
2018-02-08 21:55:40 +02:00
Felix Paul Kühne 9e12a2ca6e bin: fix installation when compiling for macOS with the VLC executable disabled 2018-02-02 14:47:49 +01:00
Hugo Beauzée-Luyssen 38c1add4d1 bin/Makefile.am: Explicitely depend on libbreakpad_wrapper.la 2017-12-27 15:57:50 +01:00
Hugo Beauzée-Luyssen 87d76d7689 bin/Makefile.am: Simplify 2017-12-27 15:26:22 +01:00
Hugo Beauzée-Luyssen 9bca12c0b8 bin: Fix vlc CFLAGS on !WIN32
Reported-by: Alexandre Fernandez <nerf@boboop.fr>
2017-12-26 14:14:00 +01:00
Hugo Beauzée-Luyssen 80f61c8342 win32: Use breakpad for crash reporting 2017-12-23 21:41:43 +01:00
Hugo Beauzée-Luyssen 25f8fd2e20 winvlc: Remove old crash handling code 2017-12-23 17:02:45 +01:00
Hugo Beauzée-Luyssen 34d52c7081 Rework breakpad detection to enable it on windows as well 2017-12-23 17:02:45 +01:00
Rémi Denis-Courmont 5c5ebd199a win32: call SetDllDirectort() directly
This looks like cargo cult. The function exists since XP SP1.
2017-12-10 18:04:10 +02:00
Rémi Denis-Courmont 4448d4d5c1 win32: use thread-safe error mode (only) 2017-12-03 18:06:55 +02:00
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.
2017-11-28 16:12:38 +01:00
Rémi Denis-Courmont a93be48869 win32: only call SetErrorMode() if needed
This call is only necessary on Win2k8 and earlier.
2017-11-02 18:50:41 +02:00
Felix Paul Kühne bb7e8b5a71 bin: fix build and install for non-macOS Darwin platforms 2017-09-24 15:06:48 +02:00
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.
2017-09-20 21:08:08 +03:00
Rémi Denis-Courmont 60002d17b7 Makefile: reorder/gather rules by target 2017-09-20 21:08:08 +03:00
Rémi Denis-Courmont 72a7dcfe2d Makefile: remove redundant variables 2017-09-20 21:08:08 +03:00
Rémi Denis-Courmont ca91e23992 Makefile: remove redundant if/endif 2017-09-20 21:08:08 +03:00
Rémi Denis-Courmont ac382c3b63 rootwrap: use fputs() where applicable 2017-06-19 21:08:15 +03:00
Rémi Denis-Courmont 334979d154 dbus: add command line option to disable MPRIS 2017-06-18 17:51:41 +03:00
Marvin Scholz 4fe5d6d3f5 darwinvlc: Clarify comment about PSN argument 2017-05-07 19:36:41 +02:00