687 Commits

Author SHA1 Message Date
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
Matthias Reichl
3e97dce6c5 addon update scripts: change PKG_REV update logic
When updating versioned / tagged addons reset PKG_REV to 1.

When updating unversioned / untagged addons always bump PKG_REV
as we don't know if the version has been changed or not.

If the "-b/--bump-pkg-rev" option is used PKG_REV will be bumped
on all addons that weren't updated. Use this to ensure all addons
will have a newer version than before.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-12 16:12:39 +02:00
Matthias Reichl
7cf95c6b99 addon update scripts: set modes via command line options
Use command line options to select PKG_REV bump and deleting
cloned git dis after update. git dirs are now kept by default,
deleting them has to be explicitly enabled via "-d".

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-07-12 16:12:39 +02:00
Christian Hewitt
67a5bc8ff3
Merge pull request #3661 from MilhouseVH/le10_abs_patch_dir
buildsystem: add absolute patch dirs, remove unecessary sub-process, other cleanup
2019-07-11 06:23:30 +01:00
MilhouseVH
5895dc069f buildsystem: add GETPKG history event 2019-07-09 00:05:25 +01:00
MilhouseVH
292154d9fd distro-tool: halve the time required to generate workload 2019-07-06 03:14:41 +01:00
Sascha Kuehndel (InuSasha)
4bd4f58dbe
buildsystem: allow to set BUILD_ROOT via BUILD_DIR 2019-06-26 19:54:28 +02:00
MilhouseVH
1d81d22225 buildsystem: add pre_configure() function that is not target specific 2019-05-26 19:17:08 +01:00
MilhouseVH
72cdeda49e distro-tool: handle garbage in error response 2019-05-25 13:59:07 +01:00
CvH
68b8b4adeb
Merge pull request #3472 from MilhouseVH/le10_pkginfo
tools/pkginfo: simple tool to dump a package.mk
2019-05-04 07:49:05 +02:00
MilhouseVH
d2f0502fb6 tools/pkginfo: simple tool to dump a package.mk 2019-05-04 06:42:38 +01:00
kszaq
5b43ef7cb1 tools: drop mkpkg_linux-amlogic 2019-05-04 00:02:46 +02:00
kszaq
9ad3fbe815 scripts, tools: drop amlpkg building 2019-05-04 00:01:55 +02:00
CvH
45de0f978a
Merge pull request #3406 from Kwiboo/docker-python3
tools/docker: install python3
2019-04-14 14:14:15 +02:00
chbmb
263d3b50ea
mkpkg_media_build
CrazyCat `linux_media` repository no longer exists on [Github](https://github.com/crazycat69/linux_media) but seems to have migrated and be active on [bitbucket](https://bitbucket.org/CrazyCat/linux_media).
2019-04-07 21:24:37 +01:00
Jonas Karlman
7a6112f11b tools/docker: install python3
Python 3.4 or later is required to build the GNU C Library version 2.29
2019-04-07 20:21:14 +00:00