78 Commits

Author SHA1 Message Date
MilhouseVH
0ef9bd02e5 buildsystem: consistently use braces 2019-06-22 21:01:46 +01:00
Ian Leonard
ef93ecf54b scripts/checkdeps: cleanup
Replace "which" with "command -v", which is part of POSIX.

Make offering to install packages contingent on having the sudo command.
Not every distro uses sudo. It is optional in Gentoo, for example.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-05 15:03:54 +00:00
Lucian Muresan
2fc46de348 host distro support: added sabayon, quite straightforward, as a flavour of gentoo 2018-09-23 22:16:33 +02:00
CvH
843051d0f7 spdx: scripts/ 2018-07-17 23:58:49 +02:00
MilhouseVH
eefa6ebee4 buildsystem: use single = for consistency 2018-04-02 10:09:11 +01:00
MilhouseVH
1c7b4786a3
Merge pull request #2318 from christophgysin/checkdeps
refactoring checkdeps
2018-02-25 14:15:09 +00:00
MilhouseVH
4e77097d23 buildsystem: set PKG_NAME and default PKG_*DESC only when sourcing a package 2017-12-20 06:24:59 +00:00
Christoph Gysin
6306c6a654 scripts/checkdeps: use bash native lowercase 2017-12-12 17:08:19 +02:00
Christoph Gysin
8268aa4928 scripts/checkdeps: expand short-circuits 2017-12-12 17:08:19 +02:00
Christoph Gysin
4d9c373906 scripts/checkdeps: replace all backticks 2017-11-23 08:52:33 +02:00
Christoph Gysin
26817d5880 scripts/checkdeps: add missing dependency
perl module XML::Parser is needed to build intltool
2017-11-23 00:37:21 +02:00
Christoph Gysin
0df9c0de64 scripts/checkdeps: simplify checking for perl modules 2017-11-23 00:32:16 +02:00
Christoph Gysin
1ed4316d76 scripts/checkdeps: support grouping dependencies 2017-11-23 00:19:03 +02:00
Christoph Gysin
a33d54695d scripts/checkdeps: use bash arrays 2017-11-23 00:17:04 +02:00
Christoph Gysin
6dd752a283 scripts/checkdeps: extract duplicate code 2017-11-22 23:53:36 +02:00
dolorosus
c712e33266
Add linuxmint to checkdeps 2017-10-31 10:54:26 +01:00
MilhouseVH
8df5e50fe8 scripts/checkdeps: add python 2017-10-28 17:01:06 +01:00
Alexander D. Kanevskiy
311a53a15e Fix perl/JSON.pm dependency on OpenSUSE and CentOS 2017-09-23 16:15:23 +03:00
sonique6784
ea8fa964c1 scripts: update checkdeps for openjdk and libjson-perl on Arch 2017-09-23 13:29:25 +04:00
MilhouseVH
426e8147a4 scripts/checkdeps: fix library test 2017-07-16 21:23:26 +01:00
MilhouseVH
c6aeb9f83f checkdeps: add libjson-perl 2017-07-06 19:28:19 +01:00
Alan
7487ed9f8e tex: changes to remove tex dependencies 2017-02-02 15:09:44 +04:00
Michael Torp Kaalund
d421848e19 Elementaryos (#904)
* added elementary-os to ubuntu/debian in checkdeps

* now it also can find elementary os in case for installing package
2017-01-29 02:06:42 -08:00
cvh
820a5a6e6b scripts/checkdeps: add patchutils as dependency
- lsdiff is needed to build media_build (included in patchutils)
2017-01-11 11:40:47 +01:00
Lukas Rusak
a686a4cc5b
scripts/checkdeps: check for distro specific packages 2016-11-17 23:21:58 -08:00
Alex Deryskyba
fff95904af scripts/checkdeps: Add lzop as a dependency, it is required to build kernel for WeTek Hub 2016-08-12 13:29:10 +02:00
Alexander D. Kanevskiy
8e186a23bb scripts/checkdeps: add support for OpenSUSE
Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
2016-06-05 10:54:16 +02:00
Stephan Raue
0260255dff scripts/checkdeps: we build our own 'xmlstarlet'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-04-12 22:06:39 -07:00
MilhouseVH
403653045a scripts/checkdeps: check for xmlstarlet 2016-03-25 14:41:45 +00:00
Stephan Raue
6481621d97 scripts: update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-01-02 17:26:58 +01:00
Stefan Saraev
b674670ed6 buildsys: do poor man's md5deep 2015-10-23 15:13:44 +03:00
vitalogy
29e8ecb3ad scripts/checkdeps: fix gentoo deps 2015-10-18 01:14:51 +02:00
Lukas Rusak
dc340f5374 scripts/checkdeps: fixup fedora / gentoo / arch 2015-10-05 00:38:40 +02:00
Stefan Saraev
fd31d5d958 buildsys: clean up checkdeps 2015-10-05 00:38:40 +02:00
Stefan Saraev
d690ffa4de scripts/checkdeps improvements
- when available, use etc/os-release
- on debian/ubuntu do not require aptitude
2015-10-05 00:38:40 +02:00
Stefan Saraev
5f6b9e46e8 scripts/checkdeps: add md5deep 2015-08-03 11:55:26 +03:00
Stefan Saraev
2867376073 scripts/checkdeps: cvs is no more ;) 2015-07-19 21:05:25 +03:00
Stefan Saraev
080bf124b2 scripts/checkdeps: allow project specific deps
projects can define EXTRA_DEPS and EXTRA_DEPS_PKG in projects/xxx/options
2015-01-11 22:29:17 +02:00
Stefan Saraev
3c730974fd scripts/checkdeps: fix deps_pkg 2015-01-11 22:23:15 +02:00
Stefan Saraev
ba9b247d74 Revert "scripts/checkdeps: require libxml-parser-perl"
This reverts commit e8b368ee0d2782c9259933bf27c1d2003fe8b679.

meh doesnt work at all. needs complete rework of checkdeps..
note to myself: dont push untested stuff
2014-11-02 13:10:52 +02:00
Stefan Saraev
e8b368ee0d scripts/checkdeps: require libxml-parser-perl
ref #3561
2014-11-02 13:01:45 +02:00
Stefan Saraev
221e8eae54 buildsys: we require bash 2014-03-27 15:17:36 +02:00
Philipp Felix Hoefler
a284c53c51 buildsystem: support for automated package installation for RedHat (and clones) 2014-01-29 17:35:48 +01:00
Stephan Raue
0f3e2d4ffa update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-21 21:51:48 +01:00
Stefan Saraev
e67b555c31 scripts/checkdeps: check for bdftopcf
closes #2644
2013-09-28 17:16:39 +03:00
Stefan Saraev
b278b3019e scripts/checkdeps: check for mkfontdir / xfonts-utils 2013-09-27 12:29:06 +03:00
Stephan Raue
aa418c190c scripts/checkdeps: check for bash
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-19 02:36:14 +02:00
Stephan Raue
afa0c91e0c scripts/checkdeps: add dependency 'bc', needed for building the kernel, see https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=70730bca1331fc50c3caacaea00439de1325bd6e
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-07-05 19:00:44 +02:00
Sascha Hofmann
58d674f49d scripts/checkdeps: minor changes
- shortened message if Aptitude is not installed
- automatic installation with Aptitude after user have chosen to install
Aptitude ("exit 1" was called before wich is quite stupid - sorry for
that)
2012-11-28 11:14:54 +01:00
Sascha Hofmann
56089c07e3 scripts\checkdeps: APT-Support and checks for "sudo" on Debian ... this fixes Issue #1482
Ubuntu:
Checks if Aptitude is installed. If not, the user will be asked if he
wants to install the packages with apt-get OR if he wants to install
Aptitude and start the process again.

Debian:
Sudo is not installed by default. So the script checks if sudo is
present (maybe installed by the user befor). If not "su -c <command>"
will be used.
2012-11-24 19:26:44 +01:00