Commits on Source (7)
-
The VLC_LIB_PATH environment variable has been introduced in commit 75308a48 to override the path where to find the executables and other architecture-dependant files.
6a3c5ba3 -
Rename the implementation in platforms into platform_GetUserDir() and implement the config_GetUserDir function inside src/config/ as a common function between every platform. We will use this function to share common overriding behaviour between the different platforms.
3e32a4b9 -
If the variable VLC_USERDATA_PATH is set, completely override the output of config_GetUserDir for VLC_USERDATA_DIR to not output the platform path, but the specified path instead. This will allow overriding this variable in a VLC-specific manner, without relying on mechanism like XDG dir overrides that might not be implemented for every platforms. Refs #28343
49c0321c -
Like VLC_DATA_PATH AND VLC_LIB_PATH, but allows to override the path matching with ~/.local/share on Linux or ~/Library/Application\ Support on Darwin.
59a26376 -
38f4cee2
-
Darwin platforms are not using XDG_DATA_DIR. With the override done in src/config/dirs.c, every platform (now and then) will use the content of VLC_USERDATA_PATH instead to create files. Refs #28343
40164b90 -
Darwin platforms are not using XDG_DATA_DIR. With the override done in src/config/dirs.c, every platform (now and then) will use the content of VLC_USERDATA_PATH instead to create files. It also changes the way the Lua extension dir is set to be simpler to configure in buildsystem (TOP_SRCDIR is already forwarded) and resilient to working directory change. Refs #28343
7aeea12a
Showing
- doc/vlc.1 9 additions, 0 deletionsdoc/vlc.1
- src/Makefile.am 1 addition, 0 deletionssrc/Makefile.am
- src/android/specific.c 1 addition, 1 deletionsrc/android/specific.c
- src/config/dirs.c 48 additions, 0 deletionssrc/config/dirs.c
- src/darwin/dirs.m 1 addition, 1 deletionsrc/darwin/dirs.m
- src/meson.build 1 addition, 0 deletionssrc/meson.build
- src/os2/dirs.c 1 addition, 1 deletionsrc/os2/dirs.c
- src/posix/dirs.c 1 addition, 1 deletionsrc/posix/dirs.c
- src/win32/dirs-uap.c 1 addition, 1 deletionsrc/win32/dirs-uap.c
- src/win32/dirs.c 1 addition, 1 deletionsrc/win32/dirs.c
- test/Makefile.am 1 addition, 2 deletionstest/Makefile.am
- test/meson.build 1 addition, 0 deletionstest/meson.build
- test/modules/lua/extension.c 1 addition, 3 deletionstest/modules/lua/extension.c
- test/modules/meson.build 0 additions, 2 deletionstest/modules/meson.build
- test/modules/misc/medialibrary.c 2 additions, 2 deletionstest/modules/misc/medialibrary.c
src/config/dirs.c
0 → 100644