Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
Before this commit, shippable TexturePacker is not built at all if:
* the pre-built TexturePacker is supplied by -DWITH_TEXTUREPACKER
* build is KODI_DEPENDSBUILD
* building for Windows
This breaks generation of kodi-tools-texturepacker package on Linux
and FreeBSD if cross-compiling.
The new commit separates installable and executable TexturePackers.
Executable TexturePacker is executed on all platforms, but it can
be overriden by a binary specified by KODI_DEPENDSBUILD or
WITH_TEXTUREPACKER options on non-depends build.
Installable TexturePacker is shipped only on Linux and FreeBSD
platforms, and is executed only if the build is not a cross-compilation
and the executable TexturePacker not overridden by one of the options
above.
If external TexturePacker is specified WITH_TEXTUREPACKER but its
executable file can not be found, a warning is raised and the module
falls back to build internal TexturePacker if it can be executed
during the build.
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
|
|
Fixes broken handling of WITH_* CMake configuration options:
* find_program expects directory in PATHS and HINTS while
WITH_* option is an absolute path to file.
* PATHS in find_program is the last resort option which
declares hardcoded guesses utilized after all cached
paths, then directories specified by HINTS.
This commit splits the full pathname to directory and filename
then "searches" the filename in the directory, confirming file
exists there and is executable.
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
|
|
... to kodi-TexturePacker and kodi-JsonSchemaBuilder.
These names are less generic and will less likely cause conflicts
in /usr/bin.
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
|
|
[addons][binary] First automation support part
|
|
This commit automatic generated by script 'xbmc/addons/kodi-dev-kit/tools/code-generator.py'.
Used call options: {'force': False, 'debug': False, 'commit': True}
Generate cmake parts...
[26/10/2021 16:26:01] Generate CMakeLists.txt files in xbmc/addons/kodi-dev-kit/include/kodi dirs: See below
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/inputstream/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/peripheral/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/pvr/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/c-api/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/inputstream/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/pvr/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/controls/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/input/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/c-api/platform/CMakeLists.txt: Created new
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/c-api/platform/android/CMakeLists.txt: (Contains limited OS header: android) Created new
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/gui/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/gui/controls/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/gui/dialogs/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/gui/gl/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/gui/input/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/platform/CMakeLists.txt: Created new
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/platform/android/CMakeLists.txt: (Contains limited OS header: android) Created new
[26/10/2021 16:26:01] - Check xbmc/addons/kodi-dev-kit/include/kodi/tools/CMakeLists.txt: Updated
[26/10/2021 16:26:01] Check for cmake/treedata/common/addon_dev_kit.txt: Created new
Git update...
[26/10/2021 16:26:01] Perfom GIT update check: See below
[26/10/2021 16:26:01] - Changed file cmake/treedata/common/addon_dev_kit.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/inputstream/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/peripheral/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/addon-instance/pvr/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/c-api/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/inputstream/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/pvr/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/controls/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/dialogs/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/input/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/c-api/platform/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/c-api/platform/android/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/gui/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/gui/controls/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/gui/dialogs/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/gui/gl/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/gui/input/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/platform/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/platform/android/CMakeLists.txt: Updated
[26/10/2021 16:26:01] - Changed file xbmc/addons/kodi-dev-kit/include/kodi/tools/CMakeLists.txt: Updated
[26/10/2021 16:26:01] Perfom GIT commit:
|
|
This introduces the first part of the automated dev kit API update system.
The background is to concentrate the manual work in the end only on places which really need hand changes and to do everything else automatically with the script.
When the larger system comes in, it is extremely helpful by means of a script, because a lot of changes of the same kind come in when changes are made and then become tedious by hand.
This smaller commit comes to present my planned style to a manageable extent and hope is acceptable.
|
|
|
|
[cmake] split glu dependency into it's own module
|
|
Previously, "core_add_library" was used which, once referring to library by name, and on the other hand always had the path as "addons_kodi-dev-kit_include_ *" in it.
This adds a new CMake function with which it is done via "core_add_devkit_header". The difference is that this checks on "ENABLE_STATIC_LIBS" and always adds "addons_kodi-dev-kit_include_" as begin.
The following background is behind it:
- So that the kodi-dev-kit path is not set in its parts (here CMakeLists.txt) and the folder can simply be moved to another location.
- The "core_add_devkit_header" could possibly be replaced with another function if kodi-dev-kit were used independently of Kodi.
- Better to use with auto scripts
The other `if (HEADERS)` has the background if inline cmake calls were integrated into it and HEADERS would be given as empty.
|
|
[cmake] add support for riscv64 in ArchSetup.cmake
|
|
Upstreamed Debian patches
|
|
By default, ENABLE_INTERNAL_KISSFFT is ON for all architectures.
It is immutable on non-Unix systems because 'FindKissFFT.cmake'
relies on 'pkg-config' tool not available in Windows and Android.
If Kodi built with internal kissfft, the corresponding CMake search
module sets kissfft's include directory to the copied location
created by 'core_add_subdirs_from_filelist' macro expanded from
'cmake/treedata/common/externals.txt'.
If Kodi built with system kissfft, the module detects the presence
of header files and solib by 'pkg-config' and disables building the
'xbmc/contrib/kissfft' directory.
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
|
|
Fixes Flatpak manifest issue.
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
|
|
|
|
|
|
Fixes #19109
CMake detects the endianness using TestBigEndian.cmake module and
adds the -DWORDS_BIGENDIAN=${WORDS_BIGENDIAN} definition to
architecture-specific definitions.
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
|
|
Fix CMake warning about case-sensitive CWiid
|
|
CMake Warning (dev) at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (CWIID) does
not match the name of the calling package (CWiid). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cmake/modules/FindCWiid.cmake:28 (find_package_handle_standard_args)
cmake/scripts/linux/ExtraTargets.cmake:11 (find_package)
CMakeLists.txt:447 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found CWIID: /usr/lib/libcwiid.so (found version "0.6.00")
CMake Warning (dev) at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (CWIID) does
not match the name of the calling package (CWiid). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cmake/modules/FindCWiid.cmake:28 (find_package_handle_standard_args)
tools/EventClients/Clients/WiiRemote/CMakeLists.txt:4 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
|
|
|
|
|
|
[Subtitles] Implemented new subtitle features
|
|
[Windows] Enable /permissive- compiler option
|
|
|
|
|
|
groups and providers
|
|
|
|
Macros
There is a variation in a cmake generated project for using ENV vars in a generated shell
script. Handle this for both the new/legacy xcode build systems
|
|
cleanup - python related modules
|
|
linux: improve DRM format and modifier logging
|
|
If Kodi is being build for distro which has different python version
than host, PYTHON_EXECUTABLE must be overriden and point to distro
version. Otherwise, eventclients will be installed in wrong location and
be thus unusable.
Use case: Cross compiling Kodi for LibreELEC
|
|
|
|
|
|
relocates SDL implementations to a specific SDL folder
|
|
Header is generic, and will be used for nswindow based osx app
|
|
Relocate SDLMain to explicit SDL folder
|
|
I changed this as the "new" build system didnt play nice, but i later added a commit to default to the legacy system with xcode 12 still.
Because of that, roll this back to the "default" working code for the Legacy build system.
|
|
|
|
PLATFORM_DEFINES was introduced for the rbpi platform. Currently only ios/tvos use this
anymore, however the exact defines that are set are already added into ARCH_DEFINES.
Remove PLATFORM_DEFINES as superfluous for our needs at this point in time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Apple Silicon minors
|