Commit Graph

29823 Commits

Author SHA1 Message Date
Ian Leonard
2a12f77b6e functions: break check_config into its constituent parts; add check_distro
Take the opportunity to cleanup the check_foobar() too.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-19 17:44:27 +00:00
Ian Leonard
0727f4c685 config/functions: eliminate use of which; convert to using die
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-19 17:40:04 +00:00
Ian Leonard
bb8b8322c3 config/functions: add copyright statement
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-19 17:27:49 +00:00
Ian Leonard
aa00529d3a config/functions: add die() function
die is meant to be a more flexible exit, printing a message to go with
the exit call. It works like:

die -- same as "exit 1"
die "It just broke." -- echo statement, exit value 1
die "Tried to do the thing." "2" -- echo statement, exit value 2

Exit codes other than 1 require a message to go with it.

it would replace existing code that looks like:

echo "ERROR: Everything went wrong. Sorry!"
exit 1

or be more helpful in picking up the pieces when something unexpected
happens then:

do_something || exit 1

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-19 17:25:18 +00:00
Ian Leonard
f0c1537041 config/functions: reorganize
This reorganizes functions based on their purpose as well as strives to declare
a function prior to another function calling it. No changes in how any function
is implemented.

Purpose groupings:

Function - functions that make it easier to implement other functions
Buildsystem - functions around the build environment
Package - functions that work with packages or configure them
Kernel - functions for getting information on the kernel/firmware
Addon - functions around building kodi addons
Target Configuration - Functions that set something up on the target

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-19 17:22:15 +00:00
Matthias Reichl
86e23ee1ed Merge pull request #3039 from benpicco/master
linux: XBox DVD Remote uses 12 bits scancodes
2018-10-18 18:46:17 +02:00
Benjamin Valentin
2fdbd8a3bd media: rc: XBox DVD Remote uses 12 bits scancodes
Sean Young figured out that the Xbox Remote sends 24 bits, the first 12 bits are repeated
and inverted so only 12 bits are used. Turns out this is a modified nec protocol.

For increased accuracy and compliance with the upstream, replace the historic 8 bit report
values with the proper 12 bit values.

Signed-off-by: Benjamin Valentin <benpicco@googlemail.com>
Signed-off-by: Sean Young <sean@mess.org>
2018-10-18 15:47:18 +02:00
MilhouseVH
bde9f81d8a Merge pull request #3019 from CvH/9.0/kodi-remote
kodi: add kodi-remote script
2018-10-18 14:40:02 +01:00
CvH
e79b5215c9 kodi: add kodi-remote script 2018-10-18 15:20:41 +02:00
MilhouseVH
96642c2a08 Merge pull request #3030 from 5schatten/xorg-server-1.20.2
Xorg server 1.20.2
2018-10-18 08:50:03 +01:00
MilhouseVH
f4dff4ccc9 Merge pull request #3016 from antonlacon/housekeeping
Various: Scattered trivial cleanups
2018-10-17 18:53:03 +01:00
MilhouseVH
994ffb06ee Merge pull request #3025 from DaVukovic/libva-bump
graphics: update libva/libva-utils to 2.3.0
2018-10-17 18:49:26 +01:00
MilhouseVH
931c56f410 Merge pull request #3032 from lrusak/nvidia-version-script
xf86-video-nvidia: add script to compare card support between differe…
2018-10-17 18:35:56 +01:00
Lukas Rusak
9cec41edd2 xf86-video-nvidia: add script to compare card support between different driver versions 2018-10-17 10:18:09 -07:00
CvH
130528430e Merge pull request #3034 from 5schatten/libretro-pcsx_rearmed_fix_arch_x86_64
libretro-pcsx-rearmed: target ARCH is x86_64 not x86-64
2018-10-17 19:11:42 +02:00
5schatten
3be255e635 libretro-pcsx-rearmed: target ARCH is x86_64 not x86-64 2018-10-17 19:03:21 +02:00
CvH
1584557ede Merge pull request #3033 from 5schatten/pcsx_rearmed_arch_any
libretro-pcsx-rearmed: set PKG_ARCH to any since PCSX_reARMed performs
2018-10-17 18:41:38 +02:00
5schatten
583240bf47 game.libretro.pcsx-rearmed: set PKG_ARCH to "any" 2018-10-17 18:36:24 +02:00
5schatten
f0bfb63eec libretro-pcsx-rearmed: set PKG_ARCH to any since PCSX_reARMed performs on lowend generic systems better than beetle-psx / added correct GIT version 2018-10-17 18:25:36 +02:00
MilhouseVH
a5e3615b21 Merge pull request #3031 from 5schatten/windows_SFN
linux: removed the ":" of the patch name to comply with windows SFN
2018-10-16 20:35:35 +01:00
5schatten
444195313f linux: removed the ":" of the patch name to comply with windows file name convention 2018-10-16 20:37:59 +02:00
5schatten
527e31b5b0 xorg-server: update to xorg-server-1.20.2 2018-10-16 20:35:28 +02:00
Ian Leonard
8d4aff2243 gitignore: ignore lost+found
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-13 20:25:16 +00:00
Matthias Reichl
d8a34341ab Merge pull request #3015 from benpicco/master
linux: restore Xbox DVD Movie Playback Kit support
2018-10-13 12:20:49 +02:00
Benjamin Valentin
8367bf24b9 v4l-utils: add userspace keymap for xbox remote 2018-10-13 11:36:54 +02:00