Commit Graph

28 Commits

Author SHA1 Message Date
Rudi Heitbaum
61d30343ea toolchain: add patchelf and pax-utils 2023-11-29 15:49:17 +00:00
Rudi Heitbaum
c2a52dc4ac toolchain: migrate from p7zip to 7-zip
The -l option to 7za is not included the 7-Zip 22.01 version,
it was an option added to the p7zip version:

  don't store symlinks; store the files/directories they point to
  (CAUTION : the scanning stage can never end because of recursive
  symlinks like 'ln -s .. ldir')

The default for p7zip 16.02 7za was to store symlinks.
The default for 7-zip 22.01 7za is not to store symlinks.

test output is below and the -l option has been dropped from scripts/install_addon

$ ls -l test
total 4
-rw-r--r-- 1 docker docker 4 Jan 29 10:35 abc
lrwxrwxrwx 1 docker docker 3 Jan 29 10:35 def -> abc

7-Zip (a) 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
 64-bit locale=en_US.UTF-8 Threads:16
$ 7za a -mx9 -bsp0 -bso0 -tzip test.zip test
$ unzip -v test.zip
Archive:  test.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2023-01-29 10:36 00000000  test/
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/abc
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/def
--------          -------  ---                            -------
       8                8   0%                            3 files

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)
$ 7za a -mx9 -bsp0 -bso0 -tzip test.zip test
$ unzip -v test.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2023-01-29 10:35 00000000  test/
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/abc
       3  Stored        3   0% 2023-01-29 10:35 352441c2  test/def
--------          -------  ---                            -------
       7                7   0%                            3 files

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs x64)
$ 7za a -l -mx9 -bsp0 -bso0 -tzip test.zip test
$ unzip -v test.zip
Archive:  test.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2023-01-29 10:35 00000000  test/
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/abc
       4  Stored        4   0% 2023-01-29 10:35 4788814e  test/def
--------          -------  ---                            -------
       8                8   0%                            3 files
2023-02-04 03:03:19 +00:00
Ian Leonard
79a4a5dd8c functions: add_user: replace python with openssl
python's crypt module is deprecated in 3.11 and to be removed in 3.13.
Replace its usage with openssl's passwd.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2022-11-21 22:21:13 +00:00
MilhouseVH
6abaa09ab0 cmake: needs pkg-config:host 2019-10-27 23:16:41 +00:00
Sascha Kuehndel (InuSasha)
c7c469431e buildsystem: host should not depend on cross-compiler 2019-10-18 19:41:00 +02:00
MilhouseVH
91dbd26d68 toolchain: build pigz:host 2019-06-26 20:04:08 +01:00
Ian Leonard
a3c001541e build: use nasm with x86_64 only
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-12-06 02:49:12 +00:00
Ian Leonard
18c87849dc generic: switch from yasm to nasm; update libass to 0.14.0 to support
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-12-04 20:16:11 +00:00
CvH
85e5b4dc1f cleanup: PKG_SHORTDESC 2018-10-22 15:06:12 +02:00
CvH
4cffa5fe6f cleanup: remove PKG_ARCH="any" 2018-10-22 15:06:12 +02:00
CvH
4d94b9ad49 spdx: packages/virtual 2018-07-18 22:37:47 +02:00
Matthias Reichl
25f254890f Revert "dash: add package, configure as CONFIG_SHELL"
This reverts commit 3b5986704e.

The config shell is set as an interpreter in libtool scripts
and as Linux has a hard limit of 127 bytes on the first line
in scripts (including the hashbang) this causes the build to
fail with a "bad interpreter" error if the path to the config
shell exceeds this limit.

These errors were first noticed on jenkins builds but can be
easily reproduced by building LibreELEC in a longer build dir.

eg RPi2 clean build failing on libtool invocation in kmod build:

./doltlibtool: /home/hias/rpi/libreelec-testing-with-a-long-directory-path-as-on-jenkins/build.LibreELEC-RPi2.arm-9.0-devel/kmod-24/.x86_64-linux-gnu/libtool: /home/hias/rpi/libreelec-testing-with-a-long-directory-path-as-on-jenkins/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/d: bad interpreter: No such file or directory

Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-30 12:31:22 +02:00
MilhouseVH
3b5986704e dash: add package, configure as CONFIG_SHELL 2018-06-17 18:17:42 +01:00
Sascha Kuehndel (InuSasha)
3846ec7dac buildsystem: replace PKG_AUTORECONF 2017-11-22 00:41:12 +01:00
Lukas Rusak
127a0ea45d virtual/toolchain: add meson:host 2017-10-20 14:19:00 -07:00
MilhouseVH
cfcb300e28 buildsystem: allow autoreconf on libtool
Running autoreconf on libtool is necessary after bumping to automake 1.15.1.

Build intltool before libtool.

Since libtool installs libtoolize, don't run --install whenever libtoolize isn't yet installed.
2017-10-16 19:07:14 +02:00
Lukas Rusak
66c84dd2be virtual/toolchain: add ninja:host 2017-10-13 15:01:52 -07:00
cvh
6b5ebac327 create_addon: use 7zip for addon.zip creation 2017-08-18 11:33:44 +02:00
cvh
04ab4a9143 toolchain: add xmlstarlet 2017-08-15 14:32:56 +02:00
awiouy
cf5d3a4579 decommission PKG_REV 2017-01-19 00:06:13 +01:00
awiouy
e0c2de9b39 Decommission PKG_PRIORITY 2016-09-24 11:57:39 +02:00
Stefan Saraev
c93ed64b82 configtools: move configtools to packages 2016-04-06 15:23:59 -07:00
Stephan Raue
f51faa070d packages: update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-01-02 17:29:56 +01:00
Stephan Raue
6912f505d1 remove package 'scons'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2015-09-22 10:06:24 +02:00
Stefan Saraev
641d6286d0 toolchain: remove nasm:host 2015-04-03 12:08:30 +03:00