652 Commits

Author SHA1 Message Date
Christian Hewitt
fe881fa7d3
Merge pull request #5165 from CvH/10.0/dvb-driver
DVB Addons Update
2021-03-08 16:44:25 +04:00
CvH
16f32a6a23
Merge pull request #5044 from lrusak/linux-required-config
linux: check for required config options before building
2021-03-05 18:11:11 +01:00
Matthias Reichl
745dd0cad3 remove tools/mkpkg/mkpkg_libretro-ppsspp
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-28 09:17:31 +01:00
Lukas Rusak
d33beeefed
scripts: add adjust_kernel_config to help adjust kernel options 2021-02-24 17:29:41 -08:00
Lukas Rusak
c1054355a1
scripts: add check_kernel_config to help enable kernel options per distro 2021-02-24 17:29:33 -08:00
CvH
9e1e24e1c4 mkpkg_pvr: update cc to new url 2021-02-20 16:42:26 +01:00
Matthias Reichl
255bea76b4 update_retroplayer-addons: check for orphaned addon packages
Report which game addon packages are only present in LE but not in
the kodi game binary addon repo.

These packages are not automatically bumped by the script and should
either be removed from LE or added to the kodi game binary repo.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-17 11:10:28 +01:00
Ian Leonard
c3e04b1a9d tools/packages-checker: initial commit
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-27 00:09:36 +00:00
Ian Leonard
5780d2a58a tools/download-cleaner: add new tool
This script selectively deletes files out of the specified download
directory to prune source tarballs that don't correspond with the
current version of its package in the tree according to the set
PROJECT, DEVICE and ARCH.

The script is also capable of building a new SOURCES dir to combine
different combinations of PROJECT, DEVICE and ARCH tarballs. This is
to move out known good tarballs to a new directory, and to delete the
old SOURCES dir once all desired tarballs have been moved.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-18 19:42:24 +00:00
Andre Heider
804807bed2 tools: add script to refresh patches
This script uses quilt to refresh patches, e.g.:
./tools/refresh-patches linux

It tries to detect already applied patches and removes those.
The rest is refreshed, which means updating the hunk line offsets and
removing junk (so that the result is the same for everyone).

This makes it easy to update packages with large patch sets. It's
usable as-is without any additional git clone to rebase patches.

Note that there're alot of patches in-tree that contain multiple patches
per file. While quilt doesn't have a problem applying those, the
resulting file is a combined patch.
2021-01-17 12:26:11 +01:00
Matthias Reichl
f5dff7ab01 tools/mkpkg/update_binary-addons: exclude vfs.sacd
vfs.sacd has been deprecated in favour of audiodecoder.sacd and
removed from official kodi binary repo.

Add it to the exclude list until we finally remove the package so
the update script won't switch the version from tag to githash.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-01-16 09:58:41 +01:00
Matthias Reichl
e2ca4f5e9d ffmpeg: update rpi patch
Patch created using revisions 922f5ee..fbcd774
from branch dev/4.3.1/drm_prime_1 of https://github.com/jc-kynesim/rpi-ffmpeg
2020-12-19 10:40:44 +01:00
Jonas Karlman
69fae8524b ffmpeg: update v4l2-request patch
Patch created using revisions 922f5ee..fa7165e
from branch v4l2-request-hwaccel-4.3.1 of https://github.com/Kwiboo/FFmpeg
2020-10-21 23:07:21 +02:00
Matthias Reichl
99b6f9c94e update_retroplayer-addons: match lastest tag with kodi branch in name
If no tag with the kodi branch name can be found, fall back to the
latest tag in the branch.

This fixes ambiguity if both a -Leia and a -Matrix tag point to the
same githash.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-10-19 23:19:38 +02:00
CvH
474ee0a7c4
Merge pull request #4481 from HiassofT/le10-ffmpeg43-patches
ffmpeg: update to 4.3, rework patchset and option handling
2020-07-19 09:51:04 +02:00
Ian Leonard
9566ef9c23 docker/eoan: remove as Eoan is EOL
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-07-14 17:09:26 +00:00
Matthias Reichl
1ff4329545 tools/ffmpeg: add gen-patches.sh script
This script creates or updates the ffmpeg patch files from
the various feature branches and record patch info (repo,
branch, gitrevs) where the changes came from in the commit
message.

The feature branch to process can be specified via command a
line argument, "all" will create/update all known branches.

By default the patches are updated to HEAD of the branches.

If only a single branch is processed the full githash to use
instead of HEAD can be specified as an optional second argument.
This can be used to drop some of the top-most commits in the
branch, eg if later changes cause issues.

The script has to be run in a local ffmpeg git tree. eg:

$ cd ~/ffmpeg-git
$ ~/libreelec-git/tools/ffmpeg/gen-patches.sh all

Additional git commit options (eg -s) can be set via the
GIT_COMMIT_ARGS environment variable

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-07-09 16:40:58 +02:00
Jonas Karlman
d7312385e0 tools/docker: update readme 2020-05-30 11:18:27 +00:00
Jonas Karlman
b1f259b9f3 tools/docker: add focal container 2020-05-30 10:18:24 +00:00
Jonas Karlman
73ac19dc70 tools/docker: add buster container 2020-05-29 20:57:32 +00:00
Jonas Karlman
9f0c84db12 tools/docker: add libparse-yapp-perl package 2020-05-29 20:57:09 +00:00
Matthias Reichl
0a1bd36597 update_binary-addons: drop vfs.nfs and vfs.sacd from exclude list
vfs.nfs has recently been removed from kodi's binary addon repo
and vfs.sacd is now included in LibreELEC

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-04-20 13:24:34 +02:00
Matthias Reichl
4dbd3c5196 update_binary-addons: drop kodi-platform bump
kodi-platform version is no longer managed in kodi's git tree and
needs to be updated manually, like p8-platform

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-03-13 10:51:34 +01:00
MilhouseVH
653298b18a buildsystem: allow onexit trap to be selectively ignored 2020-02-19 10:24:15 +00:00
CvH
e0f57797fe
Merge pull request #4163 from HiassofT/le10-mkpkg-retroplayer
update_retroplayer-addons: stop defaulting to retroplayer branch
2020-02-18 17:00:37 +01:00
Andre Heider
a6991f0aba pkg-config: add support for multiple sysroots 2020-02-10 08:53:39 +01:00
Matthias Reichl
46f0ad43d8 update_retroplayer-addons: stop defaulting to retroplayer branch
The kodi-game binary addon repo now contains Leia and Matrix,
like the kodi binary addon repo, so make the branch name a
mandatory option.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-01-30 10:55:55 +01:00
MilhouseVH
3c2dce4256 tools/dashboard: stop creating empty Generic build dir 2020-01-26 19:34:22 +00:00
Matthias Reichl
80f1b14da0
Merge pull request #4092 from MilhouseVH/le10_generator
buildsystem: switch to dynamic scheduler
2020-01-21 00:13:51 +01:00
MilhouseVH
3e1497b98d tools/mtstats.py: fix percentage calc; fix typos 2020-01-16 16:28:52 +00:00
Andre Heider
978cdeb5a6 build: use xargs to collect packages' json info 2020-01-15 18:49:15 +00:00
MilhouseVH
748befe904 scripts/genbuildplan.py: drop --reorder; cleanup args handling, and other processing. 2020-01-15 18:49:14 +00:00
MilhouseVH
d234b73a23
Merge pull request #4082 from HiassofT/le10-unofficial-bump-fix
update_binary-addons: fix unofficial addon bumping
2020-01-08 16:10:51 +00:00
MilhouseVH
06e0928840
Merge pull request #3140 from InuSasha/features/build-root
buildsystem: add possibility to move the build paths outside the git …
2020-01-08 15:21:22 +00:00
Jonas Karlman
757a9beb66 tools/docker: reorder to match checkdeps 2020-01-06 11:31:22 +00:00
MilhouseVH
6774e7731c tools/mtstats.py: refactor to give more detailed/accurate breakdowns 2019-12-31 13:49:53 +00:00
Matthias Reichl
80e2910726 update_binary-addons: allow specifying branch for unofficial addons
Since Kodi Matrix hasn't branched yet and is still developed in
master the kodi branch name (master) and the branch name used in
addons (Matrix) doesn't match.

Allow to optionally specify the addon branch name on the command line,
eg "./update_binary-addons master Matrix".

This fixes visualization.pictureit bumps for master which picked
up the master branch of the addon instead of the Matrix branch.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-12-29 19:10:54 +01:00
Matthias Reichl
6f7e62d67a update_binary-addons: prefer Kodi branch over HEAD for unofficial addons
This fixes bumping visualization.pictureit which has separate branches
for Leia and Matrix.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-12-29 14:04:01 +01:00
MilhouseVH
6105f67998 post_install_addon: new package function 2019-11-17 20:50:31 +00:00
MilhouseVH
ab30d350cb tools/docker: add eoan support 2019-11-10 02:49:58 +00:00
MilhouseVH
b11aa6a6e8 tools/docker: remove obsolete and duplicate packages 2019-11-10 02:49:55 +00:00
MilhouseVH
6eb226b1fb buildsystem: use /usr/bin/python3 in scripts 2019-11-07 10:33:47 +00:00
Christian Hewitt
708dbf91dd
Merge pull request #3935 from MilhouseVH/le10_checkunpack
tools/checkunpack: mass unpack tester
2019-10-29 09:37:48 +04:00
MilhouseVH
a28a9c9980 tools/checkunpack: mass unpack tester 2019-10-25 02:25:11 +01:00
MilhouseVH
8814747508 tools/fixlexcode.py: support embedded backtick comments as used by ffmpegx 2019-10-15 00:52:20 +01:00
MilhouseVH
0f2bb9d1bc tools/fixlecode.py: initial commit 2019-10-14 19:04:28 +01:00
MilhouseVH
4b568f8815 tools/dashboard: support THREADCOUNT=0 2019-08-10 22:33:11 +01:00
Matthias Reichl
db9b48abfe update_binary-addons: fix PKG_REV bump for unofficial addons
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-12 23:41:36 +02:00
Matthias Reichl
69a7660940 update_retroplayer-addons: drop loop over single item
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-12 16:29:02 +02:00
Matthias Reichl
38a137c923 addon update scripts: refactor repo fetching and package updating
Kodi binary and game addons always reference branches in the addon
repo. The only exception is the kodi-platform package which references
a githash.

This allows us to simplify remote repo fetch and tag / branch HEAD
resolving: we don't need named branches in the working copy but can
simply query remote branches or use a detached branch if we need the
actual contents.

With this change the same (out-of-tree) directory containing cloned
repos can be used to update both kodi Leia and master addon versions,
without needing another clone.

Also refactor the package update code, drop update_to_latest_tag from
common functions (it was only used by update_binary-addons,
update_retroplayer-addons needs slightly different logic) and use
update_pkg function. update_retroplayer-addons now also uses update_pkg
instead of duplicating nearly identical code.

Several variable names have been cleaned up to follow a common naming
pattern.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-12 16:29:02 +02:00