Compare commits

..

454 Commits
5.0.1 ... 4.0.0

Author SHA1 Message Date
Stephan Raue
91de6a70c0 config/version: set version to 4.0.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-05 18:07:52 +02:00
Stephan Raue
265568da70 xbmc: add PR4653
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-05 18:07:52 +02:00
Stephan Raue
98bb6e8957 projects/RPi/linux: enable CMA support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-05 14:53:15 +02:00
Stephan Raue
b86ee200ec xbmc: revert PR4642
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-05 14:48:11 +02:00
Stephan Raue
bdaceee408 projects/RPi/patches/linux: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-05 13:15:38 +02:00
Stephan Raue
16573216de linux: add upstream patch, this should fix #3080, thanks to Anssi Hannula
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-05 01:44:05 +02:00
Stephan Raue
e83618d39c xbmc: add PR4650
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-05 01:44:05 +02:00
Stephan Raue
b03f058f73 xbmc: add PR4649
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-05 01:44:05 +02:00
jenkins101
e4cee7c88f lircd_helper: lircd needs to start if there is a .config/lircd.conf
else we need every working remote in udev, 98-lircd.rules.
I dont think we want to maintane this. :-)

Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-04 15:06:10 +02:00
Stephan Raue
4adbf4f08e xbmc: add PR4647
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-04 14:44:27 +02:00
Stephan Raue
ffbc33a64a xbmc-pvr-addons: update to xbmc-pvr-addons-f38b2eb
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-04 14:44:26 +02:00
Stephan Raue
62c2b52a0c xbmc: update to xbmc-13-0d1d803
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-04 12:59:23 +02:00
Stephan Raue
3c0eaec162 bluez: update to bluez-5.18
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-04 12:59:23 +02:00
Stephan Raue
022ca91a6e projects/RPi/patches/linux: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-04 02:27:56 +02:00
Stephan Raue
54c9505cb4 bcm2835-bootloader: update to bcm2835-bootloader-680ac93
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-04 02:26:23 +02:00
Stephan Raue
512c595e88 bcm2835-driver: update to bcm2835-driver-680ac93
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-04 02:26:23 +02:00
Stephan Raue
b00e8011f4 projects/RPi/xbmc: update advancedsettings.xml, this fixes #3079
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-03 19:34:52 +02:00
andreasmn
89ee8cc204 init: optimized wake-on-lan script 2014-05-03 18:26:53 +02:00
Stephan Raue
a2b61f7c1c projects/RPi/patches/xbmc: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-03 17:58:46 +02:00
Stephan Raue
0a80bf3131 xbmc: add PR4642
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-03 17:58:46 +02:00
Stephan Raue
2cddc473ee xbmc: update to xbmc-13-60bd97b
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-03 17:58:46 +02:00
Stephan Raue
25c9b41d0b xbmc: add PR4641
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-03 16:19:47 +02:00
Peter Smorada
3f28eaef94 iptables - adds state and iprange moduls
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-03 12:47:51 +02:00
Stephan Raue
1dcb88e1c2 libdrm: update to libdrm-2.4.54
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-03 02:08:06 +02:00
Stephan Raue
8b85b8345d plymouth-lite: update splash, thanks to 'klojum'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-03 02:08:06 +02:00
Stephan Raue
428cddc4ea plymouth-lite: remove old splash files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-03 02:08:06 +02:00
fritsch
ecd049c42a Linux: Revert 47f467ac740ebf0475a5176ddb1741acba6aad4e - it causes pixelation for USB tuners 2014-05-03 02:08:06 +02:00
Stefan Saraev
0fad3c88e4 libsmbclient: Wrap more function calls in talloc_stackframe() to protect against talloc_tos() calls
see https://bugzilla.samba.org/show_bug.cgi?id=8449
2014-05-02 15:34:32 +02:00
Stephan Raue
31552a2169 gettext: update to gettext-0.18.3.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-05-01 18:19:52 +02:00
Stephan Raue
1b89dae25d projects/*/linux: add TiVO Slide Bluetooth support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-30 23:44:44 +02:00
Stephan Raue
5e57bf92bf xbmc: add PR4624
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-30 23:02:18 +02:00
Stephan Raue
50ecbe0b50 projects/Cuboxi/patches/linux: update to linux-3.10.38
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-30 15:36:54 +02:00
Stephan Raue
cd9c15bc2c linux: add CEC upstream fix
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-30 15:36:54 +02:00
Stephan Raue
2ec8b1bc94 linux: update CEC support patch from 74fc2e85c0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-30 15:36:54 +02:00
Stephan Raue
998146fc2d xf86-input-evdev: update to xf86-input-evdev-2.8.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-30 15:36:53 +02:00
jenkins101
9c02a8dd2b projects/Cuboxi: added patches from wolfgar and mk1. fixing CEC on Cuboxi 2014-04-30 15:36:53 +02:00
Stephan Raue
a29c5fba5e tools/mkpkg: move mkpkg_xbmc script to mkpkg_xbmc-gotham, add mkpkg_xbmc which checks out xbmc master
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-29 13:19:09 +02:00
Stephan Raue
93267e3e28 projects/Cuboxi/options: dont build with 'RTL8812AU' driver support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-29 13:19:09 +02:00
Stephan Raue
cc0cae480a xbmc: add upstream patch, this fixes #3148, thanks to 'JoseAntonioRodriguez' and 'fernetmenta'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-29 13:19:09 +02:00
Stephan Raue
85721b2b0b util-linux: update to util-linux-2.24.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-29 13:19:09 +02:00
Sören Beye
e701d06a52 Fixed a typo 2014-04-29 13:17:34 +02:00
Stephan Raue
a847567948 config/version: set version back to devel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-29 00:36:27 +02:00
Stephan Raue
beb7ba7faf config/version: set version to 3.95.7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 18:40:29 +02:00
Stephan Raue
694cb782dc scripts/image: update /etc/os-release
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 18:08:53 +02:00
Stephan Raue
e4408091ad RTL8188EU: add patch to support build with gcc-4.9
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 18:08:53 +02:00
Stephan Raue
f15e666c8b Revert "projects/*: switch to kernel R8188EU driver"
This reverts commit 277991c44b.

Conflicts:
	projects/ATV/options
	projects/Generic/options
	projects/RPi/options

Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 18:08:53 +02:00
Stephan Raue
65880ff902 projects/RPi/patches/xbmc: update RPi patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 17:22:43 +02:00
Stephan Raue
cb4c45ae66 linux: move patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 17:22:43 +02:00
Stephan Raue
5b78d785ea xbmc: update to xbmc-13-482ccd3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 15:45:46 +02:00
Stephan Raue
cda8078ad7 bcm2835-bootloader: update to bcm2835-bootloader-cd50136
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 15:45:46 +02:00
Stephan Raue
a2b7aefff6 bcm2835-driver: update to bcm2835-driver-cd50136
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 15:45:46 +02:00
Stephan Raue
4a6689da57 projects/RPi/patches/xbmc: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 15:45:46 +02:00
Stephan Raue
6c4eea25e3 projects/RPi/patches/linux: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 15:45:46 +02:00
Stephan Raue
29f6fbe958 linux: add upstream patch to Work around BIOS defects in Intel MCH area reporting
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 15:45:45 +02:00
Stephan Raue
e820574a12 service.openelec.settings: update to service.openelec.settings-0.3.15
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 15:45:45 +02:00
eidottermihi
aec1da246c provide a /etc/os-release file (see http://0pointer.de/blog/projects/os-release) 2014-04-28 15:45:45 +02:00
Matt DeVillier
56592bf95e mceusb xhci fix 2014-04-28 15:45:45 +02:00
Stefan Saraev
42a5476386 linux: firmware: add BONAIRE_vce.bin
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-28 15:45:45 +02:00
Stefan Saraev
043e532bb9 linux: update radeon PLL patch 2014-04-28 01:15:37 +02:00
Prashant Somashekar
68d6051696 linux: update to linux-3.14.2 2014-04-28 01:15:31 +02:00
Stefan Saraev
86df4d695a pciutils: build with lto 2014-04-27 08:50:48 +02:00
Stefan Saraev
09b28bb171 wpa_supplicant: build with lto 2014-04-27 08:50:48 +02:00
Stefan Saraev
2d6fa0cef8 openssh: build with lto 2014-04-27 08:50:48 +02:00
Stefan Saraev
9828485c47 glib: build with lto 2014-04-27 08:50:48 +02:00
Stefan Saraev
ee81551b11 elfutils: build with lto 2014-04-27 08:50:48 +02:00
Stefan Saraev
1d5b082907 flac: build with lto 2014-04-27 08:50:48 +02:00
Stephan Raue
fd13a921a6 gcc: update to gcc-4.9.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-27 08:49:52 +02:00
Stephan Raue
c08f4a5fc6 e2fsprogs: fails to build with LTO support on gcc-4.9
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-27 08:49:36 +02:00
Stephan Raue
ad5f45de0c zlib: remove 'init' target
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-26 18:55:11 +02:00
Stefan Saraev
54126994c3 eglibc:init: dont install libm 2014-04-26 18:55:11 +02:00
Stefan Saraev
a725f3e11d plymouth-lite: link libm/libz static
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-26 18:55:11 +02:00
Stephan Raue
0a78159c94 projects/*/linux: enable 'CONFIG_DRM_LOAD_EDID_FIRMWARE'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-26 14:33:35 +02:00
Stephan Raue
30f1853321 libcec: cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-26 14:33:35 +02:00
Stephan Raue
0adfa62f70 projects/Cuboxi/linux: cleanup kernel config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-26 14:33:35 +02:00
Stephan Raue
fdab1262bf config/optimize: dont build with '-ffast-math'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-25 23:12:20 +02:00
andreasmn
f9bfc5f916 init: added wake-on-lan script 2014-04-25 23:10:26 +02:00
andreasmn
2e770ba9f4 busybox (initramfs): add 'ping' and 'ether-wake' applet 2014-04-25 23:10:26 +02:00
Stefan Saraev
c7aa19e3ba fluxbox: avoid potential SIGFPE in Menu::updateMenu() 2014-04-25 23:09:56 +02:00
Stefan Saraev
de188e8cfd fluxbox: disable xft/xpm/fribidi. not used anyway 2014-04-25 23:09:56 +02:00
adlerre
b0e1d29cac fix compile on enabeld data-time check 2014-04-25 18:09:04 +02:00
Stefan Saraev
06df6fd2ac scripts/mkimage: set 'installer' as default boot option
some people dont enable "usb legacy support" in bios (or dont know how)
thus they can't access installer at all. live mode is non-important
2014-04-25 17:19:22 +02:00
Stefan Saraev
ea4e3d8240 remove package: autoconf-2.64 2014-04-24 22:14:31 +02:00
Stefan Saraev
10126efe5c remove package: autoconf-2.68 2014-04-24 22:14:31 +02:00
Stefan Saraev
f07e60233c gcc: dont require autoconf-2.64 2014-04-24 22:14:31 +02:00
Stefan Saraev
1ff8736146 eglibc: dont require autoconf-2.68 2014-04-24 22:14:31 +02:00
Stephan Raue
4c264fa0af projects/Cuboxi: add bootloader update script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-24 19:52:12 +02:00
Stephan Raue
c8113901e5 linux: install bootloaderfiles to /usr/share/bootloader
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-24 19:52:12 +02:00
Stephan Raue
03e09eff66 u-boot: install bootloaderfiles to /usr/share/bootloader
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-24 19:52:12 +02:00
Stephan Raue
ee7f996b38 busybox (initramfs): add applet 'basename'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-24 19:52:12 +02:00
Georgi Georgiev
cb33cc5e35 Remove a duplicate check
This seems to be caused by a merge gone wrong: 77031582ee
2014-04-24 13:52:29 +02:00
Stephan Raue
c5ba98fcd7 linux: add patch to enable Nuvoton CIR driver on probing, see https://patchwork.linuxtv.org/patch/22339/
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-24 13:19:05 +02:00
Stephan Raue
aac56ddf36 projects/Cuboxi/patches/xbmc: remove unneeded patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-24 13:19:05 +02:00
Stephan Raue
80f22e4c11 xbmc: add PR4592
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-24 13:19:05 +02:00
Stephan Raue
62716648d6 projects/Cuboxi/patches/xbmc: update IMX6 support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-24 13:19:05 +02:00
Stephan Raue
3920d4e15d RTL8192CU: add patch to support build with gcc-4.9
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-23 12:53:48 +02:00
Stephan Raue
69be6f1e71 linux: update DVBSky patch to support build with gcc-4.9
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-23 12:53:48 +02:00
Stephan Raue
bf6eae1e4b fuse: fails to build with GOLD support with building with gcc-4.9
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-23 12:53:48 +02:00
Stephan Raue
04a58d139b wpa_supplicant: force linking against libm, needed for upcoming gcc-4.9 support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-23 12:53:48 +02:00
Stephan Raue
703b50e051 libxshmfence: build with '-fPIC -DPIC'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-23 12:53:48 +02:00
Stephan Raue
dad9226ad2 libxcb: build with '-fPIC -DPIC'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-23 12:53:48 +02:00
Stephan Raue
da3414e4dc libXxf86vm: build with '-fPIC -DPIC'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-23 12:53:48 +02:00
Stephan Raue
4a7674e9a0 libXmu: build with '-fPIC -DPIC'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-23 12:53:48 +02:00
Stephan Raue
4c26ac03cd libXau: build with '-fPIC -DPIC'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-23 12:53:48 +02:00
Stephan Raue
a4311e1310 lockdev: build with '-fPIC -DPIC'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-23 12:53:48 +02:00
Stephan Raue
af943fd39f libftdi: build with '-fPIC -DPIC'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-23 12:53:48 +02:00
Stephan Raue
f4480b7ed6 dbus-glib: build with '-fPIC -DPIC'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-23 12:53:48 +02:00
Stefan Saraev
058c9ab61b xf86-video-nvidia: update to xf86-video-nvidia-331.67 2014-04-23 12:53:48 +02:00
Stephan Raue
9d438da095 projects/RPi/patches/xbmc: update RPi patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-22 18:16:26 +02:00
Stefan Saraev
20f47fe3ed connman: loopback.service: remove ExecStartPre.. 2014-04-22 13:38:16 +02:00
Stephan Raue
400327862e dvb-firmware: update to dvb-firmware-0.0.40
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-22 13:38:16 +02:00
Stephan Raue
b05b850443 eventlircd: change delayrate to 200ms for 'gpio-rc-recv'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-21 22:23:50 +02:00
Stephan Raue
822dff55c4 projects/Cuboxi/patches/linux: add patch to specify the rc-rc6-mce as the default keymap used with 'gpio-ir-receiver'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-21 22:23:50 +02:00
Stephan Raue
26ba8822bd projects/Cuboxi/linux: compile RC Maps in kernel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-21 22:23:50 +02:00
Stephan Raue
c4eb30e2c3 projects/Cuboxi/linux: sync kernel config with other projects, disable build INPUT_POLLDEV support together with MMA8450 accelerometer and MMA8451 hwmon support.
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-21 22:23:50 +02:00
Stephan Raue
8fdee1dfef projects/Cuboxi/linux: build MC13xxx regulator drivers as modules, build SPDIF sound driver as modules (this forces to load the SPDIF as second audio driver, so HDMI Audio will be the default device), add SGTL5000 sound driver
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-21 22:23:31 +02:00
Manuel Grob
261855b09e Modified before units of systemd in xbmc-(halt|poweroff|reboot) services. 2014-04-21 18:52:24 +02:00
Stephan Raue
81010268c8 wlan-firmware: update to wlan-firmware-0.0.20
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-21 14:04:01 +02:00
Stephan Raue
774f9d51f8 projects/Cuboxi/linux: switch to 'ondemand', cleanup kernel config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-21 14:04:01 +02:00
Stephan Raue
2980d9ad03 libcec: temporary disable imx6 support, needs a fixed kernel driver
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-21 14:04:01 +02:00
Stephan Raue
e87f98f1f8 config/noobs: update partition and file size
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-20 21:24:02 +02:00
Stephan Raue
c3cf0ef3b4 projects/Cuboxi/patches/xbmc: add upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-20 21:23:40 +02:00
Stephan Raue
651372d503 Mesa: update to Mesa-10.1.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-19 16:58:14 +02:00
Stephan Raue
afd05eed2c config/version: set version back to devel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-19 16:56:15 +02:00
Stephan Raue
5b9bb12894 config/version: set version to 3.95.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-19 02:41:55 +02:00
Stephan Raue
4f18d6c536 xbmc: update to xbmc-13-482ccd3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-19 02:41:28 +02:00
Stephan Raue
9b8715ec57 projects/RPi/patches/linux: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-18 20:47:19 +02:00
Stephan Raue
91785e09fb xorg-server: add support for 4k output
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-18 15:10:22 +02:00
Stephan Raue
77cf33ca92 xorg-server: remove old script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-18 15:10:22 +02:00
Stephan Raue
0eabe8d2ac xbmc: update to xbmc-13-4540f80
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-18 15:10:22 +02:00
fritsch
c4d708cb69 Radeon: More PLL finetuning 2014-04-18 15:09:58 +02:00
Stephan Raue
d9b91c7a1e xbmc: update to xbmc-13-0a5b020
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-16 12:58:27 +02:00
Stephan Raue
542ec5a67b bcm2835-bootloader: update to bcm2835-bootloader-29dca67
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-16 11:09:23 +02:00
Stephan Raue
9de0e6f614 bcm2835-driver: update to bcm2835-driver-29dca67
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-16 11:09:23 +02:00
Stephan Raue
f6ccd7a44b openvpn: update to openvpn-2.3.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-15 17:28:15 +02:00
Stephan Raue
d2fb9ec8ea libva-driver-intel: update to libva-driver-intel-1.3.0 2014-04-15 17:28:15 +02:00
Stephan Raue
b59a02a51a libva: update to libva-1.3.0 2014-04-15 17:28:15 +02:00
Stephan Raue
839a03fdcd projects/Cuboxi/linux: remove rfkill support, add PCF8523 RTC driver
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-15 17:28:15 +02:00
guyldn
99380b68ae SAMSUNG remote keymap update
EXIT and RETURN key codes swapped
2014-04-15 06:08:37 +02:00
Stephan Raue
c158f374bd projects/Cuboxi/patches/linux: add kernel upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-15 06:05:50 +02:00
Stephan Raue
7b81850c50 projects/RPi/patches/xbmc: update RPi backport patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-15 06:05:50 +02:00
Stephan Raue
c4309ed2c7 xbmc: add PR4562
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-15 06:05:50 +02:00
Stephan Raue
2b9fa76413 xbmc: add upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-15 06:05:50 +02:00
Stephan Raue
ce7acbd33e xorg-server: update to xorg-server-1.15.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-15 06:05:49 +02:00
Stephan Raue
58f13d591c xproto: update to xproto-7.0.26
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-15 06:05:49 +02:00
Stephan Raue
b9dc833ceb linux: update to linux-3.14.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-15 06:05:49 +02:00
Stephan Raue
982f94d84e xbmc: move RPi project specific patch to projects folder
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 18:48:22 +02:00
Stephan Raue
6727205fce u-boot: install bootloader configs to image and release dir
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 18:48:05 +02:00
Stephan Raue
ccbab20fbf projects/Cuboxi/bootloader: update bootloader config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 18:47:43 +02:00
Stephan Raue
959da55bdf libcec: remove unneeded patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 18:47:17 +02:00
Stephan Raue
a29909a816 projects/Cuboxi/patches/libcec: update imx6 patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 15:34:38 +02:00
Stephan Raue
4c2a944928 projects/Cuboxi/patches/linux: add some upstream patches, found on openbricks.org
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 15:20:37 +02:00
Stephan Raue
dee56e767f RTL8192DU: remove overlapping usbid's
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 15:20:37 +02:00
Stephan Raue
29a02d71e9 projects/Cuboxi/linux: update kernel config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 15:20:37 +02:00
Stephan Raue
8f75ede7de remove package 'libfslcodec'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 15:20:37 +02:00
Stephan Raue
b653fc80be remove package 'libfslparser'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 15:20:37 +02:00
Stephan Raue
af458da091 remove package 'imx-lib'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 15:20:37 +02:00
Stephan Raue
ff34f71f2c wlan-firmware: update to wlan-firmware-0.0.19
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 15:20:37 +02:00
Stephan Raue
dfd2d26ba4 projects/Cuboxi/options: enable bluetooth support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 15:20:36 +02:00
Stephan Raue
e78b94daa7 projects/Cuboxi/linux: update kernel config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 15:20:36 +02:00
Stephan Raue
a0206ba829 projects/Cuboxi/linux: update kernel config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 02:55:09 +02:00
Stephan Raue
e3a821a1df libfslvpuwrap: dont install /usr/share
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 02:55:09 +02:00
Stephan Raue
656142fad5 libfslparser: seperate between hardfp and softfp install
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 02:55:09 +02:00
Stephan Raue
2e2705c1f9 imx-vpu: depends on 'firmware-imx'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-14 02:55:08 +02:00
Stephan Raue
ffb291cf48 projects/Cuboxi/patches/xbmc: update imx patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 21:34:19 +02:00
Stephan Raue
ec2a339fce libfslvpuwrap: update to libfslvpuwrap-3.10.9-1.0.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:02:26 +02:00
Stephan Raue
6e9e7869ff libfslparser: update to libfslparser-3.10.9-1.0.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:02:26 +02:00
Stephan Raue
727e267a67 libfslcodec: update to libfslcodec-3.10.9-1.0.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:02:26 +02:00
Stephan Raue
5a82523ae1 gpu-viv-bin-mx6q: update to gpu-viv-bin-mx6q-3.10.17-1.0.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:02:26 +02:00
Stephan Raue
b62d98c82a imx-lib: update to imx-lib-3.10.17-1.0.0_beta
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:02:26 +02:00
Stephan Raue
77884ecbcb new package: add package 'imx-vpu'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:02:26 +02:00
Stephan Raue
8fa76b050f projects/Cuboxi/patches/xbmc: remove old patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:02:26 +02:00
Stephan Raue
f884e001af linux: remove old patches and 3.13 support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:02:26 +02:00
jenkins101
30b16a37fd linux: update cubox kernel to 3.10.30
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:01:07 +02:00
jenkins101
2abad30bbc Cuboxi: updated bootenv files 2014-04-13 20:01:07 +02:00
jenkins101
88e8443d9f Cuboxi: u-boot enable zImage boot test 2014-04-13 20:01:07 +02:00
jenkins101
d59526e9af Cuboxi: added uEnv.txt 2014-04-13 20:01:07 +02:00
jenkins101
345024e40a Cuboxi: added u-boot zImage patch 2014-04-13 20:01:07 +02:00
jenkins101
f7d216ae10 u-boot: update to u-boot-imx6-ed888a1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:01:07 +02:00
Stephan Raue
02b19de50e projects/RPi/options: enable experimental ALSA support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:01:07 +02:00
Stephan Raue
fa6cd55383 linux: update PLL numbers patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:01:07 +02:00
Stephan Raue
35c991c604 xbmc: add RPi backports patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:01:07 +02:00
Stephan Raue
bee7e1edac elfutils: update to elfutils-0.158
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-13 20:01:07 +02:00
Stephan Raue
e6af4972b5 remove package 'RTL8723AU', seems to be not needed actually
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-12 03:30:43 +02:00
Stephan Raue
87c0aee3f3 projects/*/options: enable RTL8812AU driver
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-12 03:30:43 +02:00
Stephan Raue
3e89fa35db new package: add package 'RTL8812AU'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-12 03:30:43 +02:00
Stephan Raue
550add0500 Revert "gcc: add patch to workaround aginst bug GCC-49423" not more needed if we dont build RTL8723AU
This reverts commit 46b8216871.
2014-04-12 03:30:42 +02:00
Stephan Raue
3af07bbf04 projects/*/options: dont build RTL8723AU anymore, it dont contains the requested drivers and will be avaible in kernel 3.15 if needed
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-12 03:30:42 +02:00
Stephan Raue
df1ee6ee19 xbmc: update to xbmc-13-7f24c56
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-12 03:30:42 +02:00
Stephan Raue
dd56a8f658 libdrm: update to libdrm-2.4.53
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-12 03:30:42 +02:00
Stephan Raue
f76cb9a6dd alsa-utils: add upstream patches, thanks to Anssi
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-12 03:30:42 +02:00
Stephan Raue
37dc490d20 bluez: update to bluez-5.17
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-12 03:30:42 +02:00
Stephan Raue
a8e9261c81 projects/*/linux: disable CONFIG_EARLY_PRINTK
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-12 03:30:42 +02:00
Stephan Raue
c22581f948 projects/*: switch to kernel R8188EU driver
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-12 03:30:42 +02:00
Wiktor Stasiak
01ade933db xf86-video-nvidia: fix acpi support 2014-04-12 02:41:33 +02:00
Stephan Raue
156e6d86d0 Mesa: depends on package 'presentproto'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-10 11:51:51 +02:00
Stephan Raue
28430fe379 xbmc-pvr-addons: add PR288
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-10 11:36:58 +02:00
Stephan Raue
b58d4c2db7 xbmc-pvr-addons: update to xbmc-pvr-addons-82dd3c4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-10 10:57:14 +02:00
Stephan Raue
7c9945c983 linux: update upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-10 10:57:14 +02:00
Stephan Raue
efbcdb6087 RTL8192CU: add 050D:21F2 device id, this should fix #3081
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-09 04:29:30 +02:00
Stephan Raue
00ab9d1574 projects/*/linux: (re)enable userspace firmware loader support, this should fix #3083
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-09 04:29:29 +02:00
Stephan Raue
2ff789c071 dvb-firmware: update to dvb-firmware-0.0.39
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-09 04:29:29 +02:00
Stephan Raue
9df93e241a config/version: set version back to devel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-08 21:06:27 +02:00
Stephan Raue
690b76ee7e config/version: set version to 3.95.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-08 18:39:17 +02:00
Stephan Raue
ff6765de16 bcm2835-bootloader: update to bcm2835-bootloader-3ade415
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-08 17:55:28 +02:00
Stephan Raue
0368c98ae2 bcm2835-driver: update to bcm2835-driver-3ade415
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-08 17:55:28 +02:00
Stefan Saraev
24c8cea759 linux: pm: disable async suspend/resume by default
fixes some (not all) suspend/resume issues.
tested in irc by Desmoss900

ref #2862
2014-04-08 17:27:56 +02:00
Stephan Raue
2dbffe4a67 openssl: update to openssl-1.0.1g
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-08 17:27:56 +02:00
Stephan Raue
42c6fd2ed9 kmod: update to kmod-17
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-08 04:10:34 +02:00
Stephan Raue
7415fec141 pcre: update to pcre-8.35
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-08 04:10:33 +02:00
Stephan Raue
d218b9d9b5 linux: add patch to fix audio on AMD APUs, thanks to 'Anssi' and 'anykey_'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-07 22:37:19 +02:00
Philippe Gaultier
06c4810f80 eventlircd: Add Igorplug USB support, this fixes #2716
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-07 22:37:19 +02:00
Stefan Saraev
36d116036c buildsys: cosmetics 2014-04-07 22:37:19 +02:00
Stephan Raue
ecd9d523a0 projects/RPi/options: add RTL8723AU driver support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-07 22:37:19 +02:00
Stephan Raue
a54f4f5359 gcc: add patch to workaround aginst bug GCC-49423
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-07 22:37:19 +02:00
Stephan Raue
586296b91d make: update to make-4.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-07 22:37:19 +02:00
Stephan Raue
7215b3c422 simplejson: update to simplejson-3.4.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-07 22:37:18 +02:00
Stephan Raue
5d62ee13b8 busybox: add applet 'pgrep'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-07 22:37:18 +02:00
Stephan Raue
02258e9790 sqlite: update to sqlite-autoconf-3080403
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-07 22:37:18 +02:00
Stefan Saraev
a566e7421b xf86-video-intel: dont install /usr/share/polkit 2014-04-07 18:56:00 +02:00
Stefan Saraev
ac2d229eac nano: dont install /usr/share/nano 2014-04-07 18:56:00 +02:00
fritsch
2e2a9e860c Linux (Radeon): Take care that post and ref divider don't grow too large 2014-04-07 18:46:34 +02:00
Stephan Raue
1ac36de7e1 xbmc: update to xbmc-13-ca6c289
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-05 20:23:11 +02:00
Stephan Raue
9ced960bd2 xbmc: add PR4489
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-05 18:54:21 +02:00
Stephan Raue
97230bafa8 curl: update to curl-7.36.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-05 18:54:21 +02:00
Stephan Raue
9eb6834a85 curl: downgrade to curl-7.34.0, add notes about recent releases
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-05 18:54:21 +02:00
Stephan Raue
67bad75f60 gmp: update to gmp-6.0.0a
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-05 18:54:21 +02:00
Stephan Raue
edf58f7c3e xbmc: add PR4519
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-05 18:54:21 +02:00
Stephan Raue
f99f986d5d xbmc: add PR4518
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-05 18:54:21 +02:00
Stephan Raue
f37e08a901 libass: update to libass-0.11.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-05 18:54:21 +02:00
Stephan Raue
bba617498f Revert "libass: add some notes for newer releases"
This reverts commit 960b3b57e2.
2014-04-05 18:54:21 +02:00
Stephan Raue
64de652b3d config/version: set version back to devel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-04 22:35:54 +02:00
Stephan Raue
60cd61a353 config/version: set version to 3.95.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-04 17:53:52 +02:00
Stephan Raue
36ad994a85 xbmc: add PR4491
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-04 12:56:30 +02:00
Stephan Raue
f281210e58 bcm2835-bootloader: update to bcm2835-bootloader-4016cb2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-04 12:56:11 +02:00
Stephan Raue
ecaed7d472 bcm2835-driver: update to bcm2835-driver-4016cb2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-04 12:55:52 +02:00
Stephan Raue
5047cc4149 projects/RPi/linux: disable FIQ
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-03 20:52:16 +02:00
Stephan Raue
21bddff129 xbmc: update to xbmc-13-14b7a12
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-03 20:52:16 +02:00
Stephan Raue
33362d37ce Revert "xbmc: init takes care of reboot and shutdown"
This reverts commit cdb586ad15.
2014-04-03 16:39:50 +02:00
Stephan Raue
adfdfa46df libnfs: add some notes about recent releases
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-03 06:48:31 +02:00
Stephan Raue
9c33641014 Revert "libnfs: update to libnfs-1.9.3"
This reverts commit 5d750ffab7.
2014-04-03 06:48:31 +02:00
Stefan Saraev
a88fcf772d vdr-addon: clean up leftovers 2014-04-02 21:17:48 +03:00
Stephan Raue
70906c5e5f libass: add some notes for newer releases
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-02 12:49:49 +02:00
Stephan Raue
1ace10874c Revert "libass: update to libass-0.11.1"
This reverts commit 7e197ad93c.
2014-04-02 12:49:19 +02:00
Stephan Raue
453ff1b24f libssh: add some notes about recent releases
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-02 02:40:45 +02:00
Stephan Raue
73b2c3d75e freetype: update to freetype-2.5.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-02 02:40:45 +02:00
Stephan Raue
4522348ad4 rpcbind: update to rpcbind-0.2.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-02 02:40:45 +02:00
Stephan Raue
dd163ce00c pptp: update to pptp-1.8.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-02 02:40:45 +02:00
Stephan Raue
b3b701f004 wpa_supplicant: update to wpa_supplicant-2.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-02 02:40:45 +02:00
Stephan Raue
830b010428 ppp: update to ppp-2.4.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-02 02:40:45 +02:00
Stephan Raue
dbc0cf602d libnl: update to libnl-3.2.24
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-02 02:40:44 +02:00
Stephan Raue
0507010679 RTL8192CU: update to RTL8192CU-v4.0.2_9000.20130911
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 20:29:14 +02:00
Matteo Rolla
b954755b0e Added missing vdpau libs for the nvidia legacy driver. 2014-04-01 18:57:32 +02:00
Stefan Saraev
a3f36ebd51 binutils: fox typo 2014-04-01 18:57:05 +02:00
Stephan Raue
5d750ffab7 libnfs: update to libnfs-1.9.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 18:09:57 +02:00
Stephan Raue
809a944f10 ethtool: update to ethtool-3.13
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 18:09:57 +02:00
Stephan Raue
7e197ad93c libass: update to libass-0.11.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 18:09:57 +02:00
Stephan Raue
90ae63264c nasm: update to nasm-2.11.02
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 04:06:01 +02:00
Stephan Raue
6c678095a0 glew: update to glew-1.10.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 04:06:01 +02:00
Stephan Raue
9ac315b339 vdpauinfo: update to vdpauinfo-0.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 04:06:01 +02:00
Stephan Raue
571dd39880 mysql: update to mysql-5.1.73
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 04:06:01 +02:00
Stephan Raue
f5820f2666 taglib: update to taglib-1.9.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 03:32:14 +02:00
Stephan Raue
73f8b82035 libvorbis: update to libvorbis-1.3.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 03:32:14 +02:00
Stephan Raue
99773aa196 libogg: update to libogg-1.3.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 03:32:14 +02:00
Stephan Raue
1ac6856edf libmodplug: update to libmodplug-0.8.8.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 03:32:14 +02:00
Stephan Raue
7f220abfff libcdio: update to libcdio-0.92
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 03:32:14 +02:00
Stephan Raue
0cdcb24cb3 flac: update to flac-1.3.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 03:32:14 +02:00
Stephan Raue
1b251bddc1 projects/RPi/patches: update RPi kernel patch for kernel 3.14, switch to kernel 3.14
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-04-01 03:32:13 +02:00
Stefan Saraev
dd79047240 linux: update to linux-3.14 2014-03-31 15:38:36 +02:00
Stefan Saraev
7ec38173c4 xf86-video-nvidia: add patch to compile with kernel 3.14 2014-03-31 15:38:36 +02:00
Stephan Raue
4bd73b8d06 curl: update to curl-7.35.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-31 15:38:36 +02:00
Stephan Raue
ea5ac087c7 flex: update to flex-2.5.39
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-31 15:38:36 +02:00
Stephan Raue
af52b93347 file: update to file-5.18
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-31 15:38:36 +02:00
Stephan Raue
6be03c99fa sqlite: update to sqlite-autoconf-3080402
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-31 15:38:36 +02:00
Stephan Raue
d8f6a11148 xbmc: update to xbmc-13-74ec17d
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-31 15:38:36 +02:00
Stefan Saraev
b03200f0c9 vdr-addon: bump (4.1.6) 2014-03-30 13:54:20 +03:00
Stefan Saraev
bd746ac207 vdr-plugin-dvbapi: update to vdr-plugin-dvbapi-bf11f9e 2014-03-30 13:54:17 +03:00
Stefan Saraev
0ace87b1fc vdr-satip: update to vdr-satip-0.2.0 2014-03-30 13:54:14 +03:00
Stefan Saraev
2153e073e5 taglib: fix taglib-config 2014-03-30 13:08:28 +03:00
Stefan Saraev
f9c227201d SDL: fix sdl-config 2014-03-30 13:08:25 +03:00
Stefan Saraev
c6bcaeb78d freetype: fix freetype-config 2014-03-30 13:08:21 +03:00
Stephan Raue
45de7e1b30 config/version: set version back to devel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-29 19:02:13 +01:00
Stephan Raue
cadfde96f0 config/version: set version to 3.95.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-29 16:28:03 +01:00
Stefan Saraev
6ef33e1091 curl: rtsp: parse "Session:" header properly 2014-03-29 13:40:50 +02:00
Stephan Raue
a01376b71d util-macros: update to util-macros-1.19.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-29 08:06:39 +01:00
Stephan Raue
d74d2dd554 xrandr: update to xrandr-1.4.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-29 08:04:48 +01:00
Stephan Raue
62c1750ad4 xbmc: add upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-29 08:04:19 +01:00
Stephan Raue
863f66efa7 Revert "libva: update to libva-1.3.0"
This reverts commit 3241fae1ce.
2014-03-29 04:10:36 +01:00
Stephan Raue
475e0e9959 Revert "libva-driver-intel: update to libva-driver-intel-1.3.0"
This reverts commit 16f05c6ca3.
2014-03-29 04:10:22 +01:00
Stephan Raue
d685ca7bed xbmc: add upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-29 03:16:47 +01:00
Stephan Raue
095d2336ed bcm2835-bootloader: update to bcm2835-bootloader-9c7c2cd
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-29 03:06:06 +01:00
Stephan Raue
c91274c465 bcm2835-driver: update to bcm2835-driver-9c7c2cd
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-29 03:05:48 +01:00
Stephan Raue
835a49ff92 projects/RPi/patches: update RPi kernel patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-29 02:55:53 +01:00
Stephan Raue
777241d5dd xbmc: add PR4473
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-29 02:25:55 +01:00
Stephan Raue
d35f9cd4f8 xbmc: add PR4475
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-29 02:25:47 +01:00
Stephan Raue
b2d1a5580a xbmc: add upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-29 02:25:31 +01:00
Stephan Raue
c1d03046eb xbmc: update PR4445
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-29 02:25:10 +01:00
Stefan Saraev
320230748c xbmc: update to xbmc-13-ce52900 2014-03-29 01:16:41 +02:00
Stefan Saraev
1dda3a99dd Revert "vdr: disable locale support"
This reverts commit 3cc17f4deb.

errors in journal are fine. nothing fatal

if people start to whine about it: vdr.bin --localedir=/path/to/some/empty/dir
2014-03-29 01:08:47 +02:00
Stefan Saraev
d05b5722a1 xbmc-addon-xvdr: strip 2014-03-28 16:42:43 +02:00
Stefan Saraev
79f8b7fc14 xbmc-pvr-addons: strip 2014-03-28 16:42:40 +02:00
Stefan Saraev
a247c895e7 mysql: mysql_config: dont include LDFLAGS in "mysql_config --libs" output
including "$ldflags" with --libs is not an intended behaviour.
this fixes the case where one must rebuild mysql with
DEBUG in order to have xbmc DEBUG build.
2014-03-28 16:42:35 +02:00
Steeve Morin
add8285e38 RTL8192CU: Fix compilation (typo in patch) 2014-03-28 11:45:35 +02:00
Stephan Raue
55232622e3 Revert "projects/*: enable in-kernel RTL8192CU driver"
This reverts commit 2c595ceef9.

Conflicts:
	projects/RPi/options
2014-03-27 23:06:19 +01:00
Stephan Raue
814ce348f0 Revert "projects/RPi/linux: fix kernel config"
This reverts commit e3ea5ec446.
2014-03-27 23:04:15 +01:00
Stefan Saraev
f3eac4364a vdr-plugin-dvbapi: update to vdr-plugin-dvbapi-2b1bacd 2014-03-27 22:19:19 +02:00
Stefan Saraev
7dc87c3c32 buildsys: we require bash 2014-03-27 15:33:45 +02:00
Stefan Saraev
bb3a9b335f xbmc: update to xbmc-13-342c737 2014-03-27 15:33:42 +02:00
Stefan Saraev
16f05c6ca3 libva-driver-intel: update to libva-driver-intel-1.3.0 2014-03-27 15:33:38 +02:00
Stefan Saraev
3241fae1ce libva: update to libva-1.3.0 2014-03-27 15:33:36 +02:00
Stephan Raue
cd75c3b449 libshairplay: add upstream patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-26 20:46:05 +01:00
Stephan Raue
f6fd7d1ee7 systemd: remove not more needed patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-26 15:02:21 +01:00
Stephan Raue
ed74935322 automake: dont install 3rdparty m4 files from here, fix the packages who need them
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-26 15:02:21 +01:00
Stephan Raue
606493827d systemd: update to systemd-212
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-26 15:02:00 +01:00
Stefan Saraev
8b96f46ba2 busybox: add ddbridge to suspendmodules 2014-03-26 13:46:06 +02:00
Stephan Raue
6df81f61c8 projects/RPi/options: disable build of RTL8723AU driver
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-25 20:08:11 +01:00
Stephan Raue
e3ea5ec446 projects/RPi/linux: fix kernel config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-25 20:08:11 +01:00
Stephan Raue
2c595ceef9 projects/*: enable in-kernel RTL8192CU driver
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-25 19:22:19 +01:00
Stephan Raue
7978fad22f wlan-firmware: update to wlan-firmware-0.0.18
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-25 16:07:31 +01:00
Stephan Raue
0998ffa8f1 new package: add package 'RTL8192DU'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-25 16:07:31 +01:00
Stephan Raue
443a4b8d25 new package: add package 'RTL8723AU'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-25 16:07:31 +01:00
Stephan Raue
e0cae7384d RTL8188EU: update to RTL8188EU-fcc9034
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-25 16:07:31 +01:00
Stefan Saraev
6b2573d1dc Mesa: fix crash on exit with amd + vdpau
thanks @fritsch credits to @koying for the patch
2014-03-24 21:17:37 +02:00
Stephan Raue
9b1fd2a588 linux: update to linux-3.13.7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-24 16:02:18 +01:00
Stefan Saraev
007b8b98ad disable suspend if booting from removable storage 2014-03-24 13:02:37 +02:00
Stefan Saraev
a542ecf3de vdr-addon: libtntnet.so.11 is enough 2014-03-23 21:56:14 +02:00
Stefan Saraev
f8d3de4001 remove package: vdr-sc 2014-03-23 21:56:10 +02:00
Stefan Saraev
786fed55b3 vdr-addon: remove vdr-sc 2014-03-23 21:56:07 +02:00
Stefan Saraev
35b70e919a xbmc: update to xbmc-13-745067f 2014-03-23 17:27:23 +02:00
Stefan Saraev
3db63ac4c6 bye bye dwm. we dont need you anymore 2014-03-23 00:16:05 +02:00
Stefan Saraev
87dedc2cf8 xf86-video-nvidia: downgrade to xf86-video-nvidia-331.49
... because I am stupid and I fail to read
2014-03-22 23:28:51 +02:00
Stefan Saraev
1bfeffafcf xbmc: remove WM hacks. WM detection is fine now. dont set _NET_WM_STATE_FULLSCREEN 2014-03-22 22:40:44 +02:00
Stefan Saraev
082202f76b fluxbox: enable extended windowmanager hints
.. or gtk_window_maximize silently fails
2014-03-22 22:40:36 +02:00
Stephan Raue
14bbc0b3ca xbmc: update PR4445
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-21 17:46:34 +01:00
Stephan Raue
42b8b360f1 bcm2835-bootloader: update to bcm2835-bootloader-18a7921
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-21 17:46:03 +01:00
Stephan Raue
cc586cba21 bcm2835-driver: update to bcm2835-driver-18a7921
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-21 17:46:03 +01:00
Stephan Raue
46d1f3de49 xbmc: add PR4445
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-21 17:46:03 +01:00
Stephan Raue
b11556d2aa xbmc: rename patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-21 17:46:03 +01:00
Stephan Raue
2b4fdf0687 projects/RPi/patches/linux: update RPi patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-21 17:46:03 +01:00
Stephan Raue
7595fbb1af xf86-video-intel: update to xf86-video-intel-2.99.911
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-21 17:46:03 +01:00
Stephan Raue
7488d7591c linux: add patch to add support for TechniSat CableStar Combo HDCI DVB device
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-21 17:46:03 +01:00
Stefan Saraev
b2dc78c9af vdr-addon: settings cosmetics 2014-03-20 21:49:40 +02:00
Stefan Saraev
0268958fbc vdr-plugin-vnsiserver: update to vdr-plugin-vnsiserver-a3f7ac5 2014-03-20 21:49:36 +02:00
Stefan Saraev
477b1215ee mkpkg: vdr-plugin-vnsiserver: moved to separate repository 2014-03-20 21:49:34 +02:00
Stefan Saraev
b6a0bb75f1 curl: re-enable rtsp 2014-03-19 22:22:10 +02:00
Kai Sommerfeld
4f8c2af8c9 Fixed lcdd dependencies. 2014-03-19 22:10:37 +02:00
Stefan Saraev
21fb75ef73 vdr-addon: add vdr-satip plugin 2014-03-19 22:10:37 +02:00
Stefan Saraev
bc09fd58ea new package: vdr-satip
ref #2982
2014-03-19 22:10:37 +02:00
Stefan Saraev
ba69934851 vdr-addon: add dummydevice to depends 2014-03-19 22:10:37 +02:00
Stefan Saraev
2f3643a4f6 vdr-iptv: update to vdr-iptv-2.1.2 2014-03-19 22:10:37 +02:00
Stefan Saraev
d53cc0896f vdr: update to vdr-2.1.6 2014-03-19 22:10:37 +02:00
Stefan Saraev
f930c10b86 update TODO 2014-03-19 12:03:04 +02:00
Christian Hewitt
3217abe6fa atv: add ModeDebug back to xorg.conf
we no longer support /storage/.config/xorg.debug so this commend needs
to be added back
2014-03-19 12:03:01 +02:00
Stefan Saraev
a8ff08ac2b xbmc: revert last FM patch
spotimc broken...
2014-03-18 23:46:22 +02:00
Stefan Saraev
0a4df2da0f make: create release tarbals by default 2014-03-18 13:41:45 +02:00
Christian Hewitt
73b2ac73d2 changelog udpate
update this to provide generic info on how to find change information
..else we’re bundling this very-out-of-date file in each .tar downloaded
2014-03-18 12:02:52 +01:00
Steeve Morin
1ed97dc19d bcm2835-bootloader create_sdcard: create the storage partition aligned on 4mb 2014-03-18 11:41:03 +01:00
Steeve Morin
c02f928cb2 bcm2835-bootloader: create flash/sdcard optimized ext4 filesystem
See http://blogofterje.wordpress.com/2012/01/14/optimizing-fs-on-sd-card/ for
reference:
- disable journaling
- set stride and stripe-width
- set block size to 4k
2014-03-18 11:41:03 +01:00
Stephan Raue
70391fbdf0 new package: add package 'espeak' (initial)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-18 11:40:03 +01:00
Stephan Raue
b5a9271e03 bcm2835-bootloader: update initial config.txt, dont change gpu_mem values anymore on update
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-18 11:40:03 +01:00
Stephan Raue
ed6c301e05 bcm2835-bootloader: use 128MB as GPU MEM, even on 256MB RPis
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-18 11:40:03 +01:00
Stephan Raue
c1c444db63 xbmc: readd PR4414
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-18 11:40:03 +01:00
Stephan Raue
4d8e2bfd8d ntfs-3g_ntfsprogs: update to ntfs-3g_ntfsprogs-2014.2.15
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-18 11:40:03 +01:00
Stephan Raue
fda08977bc openssh: update to openssh-6.6p1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-18 11:40:03 +01:00
Stephan Raue
c7923eb55a libpng: update to libpng-1.6.10
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-18 11:40:03 +01:00
Stephan Raue
b14da755fd sqlite: update to sqlite-autoconf-3080401
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-18 11:40:03 +01:00
Stefan Saraev
e2e0ec3c85 fluxbox: remove decorations 2014-03-17 23:16:49 +02:00
Christian Hewitt
31ae25452b atvboot: cleanup
changes to put all the boot/installer files in one place instead of
scattering them over multiple packages, and removing the 3rdparty
folder from the .tar file as it’s +12MB and nobody is ever going to use
them
2014-03-17 23:16:46 +02:00
Stefan Saraev
89911c0f37 xbmc: update FM patch 2014-03-17 20:33:40 +02:00
Stefan Saraev
5e008012f4 vdr-addon: add dummydevice plugin 2014-03-17 20:33:40 +02:00
Stefan Saraev
c464c29fb9 vdr-plugin-xvdr: update to vdr-plugin-xvdr-7f49bfa 2014-03-17 20:33:40 +02:00
Stefan Saraev
13459fd50a new package: vdr-dummydevice 2014-03-17 20:33:39 +02:00
Stefan Saraev
4834bc1c75 fluxbox: usability fixes. move/resize.. 2014-03-17 20:33:39 +02:00
Stefan Saraev
a9ecf85da8 xbmc: skip WM check 2014-03-17 20:33:39 +02:00
Stefan Saraev
0fb810cb03 fluxbox: tweak config. start by default 2014-03-17 20:33:39 +02:00
Christian Hewitt
49bebdc5fa scripts: mkimage-atv
fixes to make this script work .. ping me on irc if you want to debate
anything
2014-03-17 20:33:39 +02:00
Stefan Saraev
022680f493 service.openelec.settings: update to 0.3.14 2014-03-17 00:52:03 +02:00
Stefan Saraev
c95cf9a231 Revert "xbmc: add PR4414"
This reverts commit 2bbee7ca90.

crash with clean profile as soon I enter system->settings

3  0x00007f6e421f2aa2 in __assert_fail () from /lib/libc.so.6
4  0x00007f6e4471ce06 in avahi_entry_group_update_service_txt_strlst () from /usr/lib/libavahi-client.so.3
5  0x00000000010fd9f8 in CZeroconfAvahi::doForceReAnnounceService(std::string const&) ()
6  0x0000000000b704bb in handleZeroconfAnnouncement() ()

happy broken beta2, newcomers!
2014-03-16 22:29:50 +02:00
Stefan Saraev
359e49626a service.openelec.settings: update to service.openelec.settings-0.3.13 2014-03-16 16:53:55 +02:00
Stefan Saraev
02293ef864 lcdproc: add wrapper script to start 2014-03-16 16:52:02 +02:00
Stefan Saraev
c0cf56004c libXrender: build with -fPIC 2014-03-16 16:10:12 +02:00
Stefan Saraev
d0575271fc libXfixes: build with -fPIC 2014-03-16 16:08:44 +02:00
Stefan Saraev
bd64bbba2f libXdamage: build with -fPIC 2014-03-16 16:08:41 +02:00
Stefan Saraev
391de0a17a libXcomposite: build with -fPIC 2014-03-16 16:08:37 +02:00
Stefan Saraev
b646193917 fluxbox: install fluxbox-update_configs 2014-03-16 16:08:33 +02:00
Stefan Saraev
d124bd561a windowmanagers: systemd: also export /root 2014-03-16 16:01:21 +02:00
Stefan Saraev
ec361b5ea3 RPi: cleanup. thanks @popcornmix 2014-03-16 14:22:48 +02:00
Stephan Raue
80376d3e6a config/version: set version back to devel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-15 14:36:43 +01:00
Stephan Raue
67d84187b0 config/version: set version to 3.95.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-15 04:15:06 +01:00
Stephan Raue
7babb495e3 xbmc: add PR4414
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-15 04:13:01 +01:00
Stephan Raue
ea1ceaa46f xbmc-theme-Confluence: update to xbmc-theme-Confluence-13-a1cab7a
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-15 04:12:40 +01:00
Stephan Raue
68e9c5428f xbmc: update to xbmc-13-a1cab7a
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-15 04:12:21 +01:00
Andy Botting
540169148a Fix ffmpeg build to include SSL support
The XBMC package didn't depend on gnutls, therefore it would be build
before gnutls. Because of this, XBMC's ffmpeg would be built without
and TLS/SSL support and break streaming from some secure streams.

In my case, it broke HLS streaming via a HTTPS url.
2014-03-14 22:45:42 +01:00
Stephan Raue
913cf458ed xf86-video-nvidia-legacy: update to xf86-video-nvidia-legacy-304.121
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-14 21:10:11 +01:00
Stephan Raue
b6d13595ac bcm2835-bootloader: update to bcm2835-bootloader-11886b8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-14 20:25:59 +01:00
Stephan Raue
29bfd8ad51 bcm2835-driver: update to bcm2835-driver-11886b8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-14 20:25:39 +01:00
Stephan Raue
3ec0384725 xbmc-theme-Confluence: update to xbmc-theme-Confluence-13-86de5b5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-14 16:29:00 +01:00
Stephan Raue
d7612dee66 xbmc: update to xbmc-13-86de5b5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-14 16:28:36 +01:00
Stefan Saraev
2c80d5d0ed Revert "connman: update to connman-1.22"
This reverts commit b429799b79.
2014-03-14 13:54:15 +02:00
Stefan Saraev
f595b4be79 xbmc: oh damn fix c75b77c :( 2014-03-13 14:37:53 +02:00
Stefan Saraev
39ed3fc17c xbmc: update to xbmc-13-ef4d0c8 2014-03-13 14:20:10 +02:00
Stefan Saraev
730bffa8c2 Revert "xbmc: add upstream patch"
This reverts commit 8b0cd8daf3.

not mainline. ref #2994
2014-03-13 14:20:05 +02:00
Stefan Saraev
56f49f178e xbmc: fix optional libssh support
thanks @pimvullers
2014-03-13 14:12:54 +02:00
Stefan Saraev
54b3b675c3 libhdhomerun: update to libhdhomerun-20140121 2014-03-13 11:30:55 +02:00
Pim Vullers
175f0ca2c9 Disable curses support for cmake 2014-03-13 11:30:49 +02:00
Stefan Saraev
3d49ebd4a3 vdr-addon: bump (4.1.5) 2014-03-12 21:43:07 +02:00
Stefan Saraev
ac3018fd13 tvheadend: bump (4.1.2) 2014-03-12 21:43:07 +02:00
Stefan Saraev
8015822f52 vdr-addon: cehcking for frontend0 is enough
... or sh** happens with multi-frontend adapter (digital-devices for example)
2014-03-12 21:43:07 +02:00
Stefan Saraev
f1314d5d8c tvheadend: cehcking for frontend0 is enough
... or sh** happens with multi-frontend adapter (digital-devices for example)
2014-03-12 21:43:07 +02:00
Stefan Saraev
cb4f8e233e vdr-addon: xbmc allows 'numeric' setting to be empty. fix 2014-03-12 21:43:07 +02:00
Stefan Saraev
5321a58a20 tvheadend: xbmc allows 'numeric' setting to be empty. fix 2014-03-12 21:43:07 +02:00
Stephan Raue
4d1a74cede dvb-firmware: update to dvb-firmware-0.0.38
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-12 17:05:02 +01:00
Stephan Raue
1f32acedb8 samba: update to samba-3.6.23
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-12 17:04:12 +01:00
Stefan Saraev
357873e1e6 alsa-utils: dont install systemd services 2014-03-12 13:21:15 +02:00
Stefan Saraev
9496c2c80c connman: update to connman-1.22 2014-03-12 13:21:09 +02:00
Stefan Saraev
535b0a8cb2 systemd: fix systemd 211 build on non-fedora hosts 2014-03-12 13:07:16 +02:00
Stephan Raue
fd0b4bd192 linux: disable wakeup for 'ehci_pci' and 'xhci_hcd' devices, this should fix some more standby issues
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-12 02:48:24 +01:00
Stephan Raue
297db961ba systemd: update to systemd-211
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-12 02:48:24 +01:00
Stephan Raue
9971be4c18 bluez: update to bluez-5.16
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-12 00:05:42 +01:00
Stephan Raue
087766fe21 lirc: dont start lircd if 'lircd_driver' and/or 'lircd_conf' is empty, thanks to user 'gda'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-11 23:41:05 +01:00
Stephan Raue
28d38c295a wlan-firmware: update to wlan-firmware-0.0.17
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-11 23:10:58 +02:00
Stephan Raue
c2f62cfaba pulseaudio: update to pulseaudio-5.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-11 23:10:55 +02:00
Stefan Saraev
6c8b869279 xbmc-addon-xvdr: update to xbmc-addon-xvdr-77a27f8 2014-03-11 21:13:50 +02:00
Stefan Saraev
6fb9f7705c vdr-addon: bump (4.1.4) 2014-03-11 20:35:36 +02:00
Stefan Saraev
5f519dd7f7 vdr-plugin-xvdr: update to vdr-plugin-xvdr-4a9d95e 2014-03-11 20:35:12 +02:00
Stefan Saraev
372a148f60 vdr-plugin-dvbapi: update to vdr-plugin-dvbapi-a9b738e 2014-03-11 20:34:52 +02:00
Stefan Saraev
23820c0447 vdr-plugin-eepg: fuxup. dont touch DEFINES
uh I missed that one ;)
2014-03-11 20:23:04 +02:00
Alasdair Campbell
ac766edd14 add vdr-plugin-eepg
closes #3002
2014-03-11 20:23:04 +02:00
Stephan Raue
a749513c10 misc-firmware: update to misc-firmware-0.0.9
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-11 15:46:31 +02:00
Stefan Saraev
f00a7d3ba2 xbmc: 5 seconds to exit. no more
5 seconds should be enough to store settings, if
pvrmanager / random addon / service is not yet stopped, we dont care
2014-03-11 15:46:31 +02:00
Stefan Saraev
cdb586ad15 xbmc: init takes care of reboot and shutdown
when one decides to reboot/shutdown via xbmc GUI, he/she
expects it to happen immediately or with minimal delay.

there are addons (trakt, watchdog) that are known to cause high
(1+ minute) shutdown.

----
16:19:15 T:140287759476608   DEBUG: CAnnouncementManager - Announcement: OnQuit from xbmc
16:19:15 T:140287759476608   DEBUG: GOT ANNOUNCEMENT, type: 8, from xbmc, message OnQuit
16:19:15 T:140287759476608  NOTICE: Storing total System Uptime
16:19:15 T:140287759476608  NOTICE: Saving settings
16:19:15 T:140287759476608  NOTICE: stop all
^^ CJobManager::GetInstance().CancelJobs() comes in
16:19:15 T:140286952978176   DEBUG: Thread JobWorker 140286952978176 terminating (autodelete)
16:19:15 T:140286978156288   DEBUG: Thread JobWorker 140286978156288 terminating (autodelete)
16:19:15 T:140286676150016   DEBUG: Thread JobWorker 140286676150016 terminating (autodelete)
16:19:19 T:140286676150016  NOTICE: Thread FileCache start, auto delete: false
^^ so far so good but this should never happen once CApplication::Stop is called. but it does
16:19:30 T:140286676150016   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
16:19:30 T:140286676150016  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
16:19:50 T:140286676150016   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
16:19:50 T:140286676150016  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 2
16:20:10 T:140286676150016   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
16:20:10 T:140286676150016   ERROR: CCurlFile::FillBuffer - Reconnect failed!
16:20:10 T:140286676150016    INFO: CFileCache::Process - Hit eof.
16:20:10 T:140286676150016   DEBUG: Thread FileCache 140286676150016 terminating
^^ 1 minute shutdown delay..
----

with this patch now xbmc can handle SIGTERM and attempt clean exit, systemd
will take care of the rest if xbmc fails to exit.
2014-03-11 15:46:31 +02:00
Stephan Raue
e9ff6f4d2d lirc: fix leftover from testing
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-09 22:57:41 +01:00
Stephan Raue
15a5ae6ce4 lircd: start lircd via systemd, rework lircd_helper and udev rules, this should fix #2991, this should fix #2968
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-09 22:28:30 +01:00
Stephan Raue
07a6125d1e eventlircd: seperate udev rules and scripts and move to package 'lirc'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-09 22:28:30 +01:00
Stefan Saraev
3a0b0544d8 sundtek-mediatv: dont touch /storage/.profile 2014-03-09 23:17:39 +02:00
Stephan Raue
66c678419d Revert "xbmc: add PR3677"
This reverts commit 12768a5a5b.
2014-03-09 23:17:32 +02:00
Stefan Saraev
670a175206 RPi//advancedsettings.xml: dont force omxplayer as default audio player 2014-03-09 20:22:40 +02:00
Stefan Saraev
79623f2eb3 samba: autoshare is enabled by default. ...on new installs too 2014-03-09 20:08:50 +02:00
Stefan Saraev
e43b9b6f75 xbmc: update to xbmc-13-887db48 2014-03-09 00:52:24 +02:00
Stefan Saraev
31bc54ef13 mkpkg: update mkpkg_xbmc for gotham. cleanup 2014-03-09 00:52:24 +02:00
Lukas Rusak
3db640d681 Updated default fluxbox config files 2014-03-09 00:52:24 +02:00
Stefan Saraev
b8d228e228 config/path: unset PYTHONSTARTUP/PYTHONPATH
tryfix #2964
2014-03-09 00:52:24 +02:00
Stephan Raue
090aa9b441 Merge branch 'openelec-4.0' of https://github.com/OpenELEC/OpenELEC.tv into openelec-4.0 2014-03-08 00:02:43 +01:00
Stefan Saraev
5f5b177c59 misc-firmware: update to misc-firmware-0.0.8 2014-03-07 20:15:15 +02:00
Stephan Raue
4add89cab2 projects/RPi/filesystem: move /etc/modules to /usr/lib/modules-load.d/
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-07 16:27:47 +01:00
Stephan Raue
b1133fc9b8 eventlircd: use /run/lirc instead /var/run/lirc for lircs pid and socket files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-07 15:35:59 +01:00
Stephan Raue
4c9178d948 linux: update to linux-3.13.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-07 11:43:25 +01:00
Stefan Saraev
2aa9d968b6 fluxbox: dont build with imlib2 2014-03-07 10:22:24 +02:00
Stefan Saraev
4034e52c6d service.openelec.settings: update to service.openelec.settings-0.3.12
closes #2974
2014-03-06 23:57:31 +02:00
Stefan Saraev
406400de43 fix radeonsi/radeon typo
closes #2874
2014-03-06 12:22:06 +02:00
Stephan Raue
f9fbfc8e62 config/version: set version back to devel
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-06 11:20:36 +01:00
Stephan Raue
3496da6625 config/version: set version to 3.95.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-06 10:21:32 +01:00
Stephan Raue
31b8ef7afb projects/RPi/linux: update kernel config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-03-06 10:21:03 +01:00
Stephan Raue
a5d64f255a Merge branch 'master' of https://github.com/OpenELEC/OpenELEC.tv into openelec-4.0 2014-03-05 19:02:27 +01:00
Joachim Breuer
f2e593a8c0 Enable auto-repeat for all non-qualifier keys 2014-03-05 17:35:07 +01:00
1012 changed files with 162723 additions and 531486 deletions

View File

@@ -35,12 +35,6 @@ Feature requests are great, but they usually end up lying around the issue
tracker indefinitely. Sending a pull request is a much better way of getting a
particular feature into OpenELEC.
Please dont ask us to add 3rdparty drivers unless you are the maintainer/developer of the driver,
we have no manpower to support a non-mainlined kernel driver for your hardware.
However, OpenELEC comes with minimal set of kernel drivers enabled, if you are sure that your hardware
is supported in mainline kernel, feel free to send us a Pull Request to enable it in our
kernel defconfigs. We are always happy to support known-working hardware.
### Reporting build failures
As buildsystem / core packages (toolchain) / random libraries change from time to time, it is required

View File

@@ -64,6 +64,8 @@ providing cutting edge hardware support to deliver a set-top box experience.
SSH allows command line access to your openelec.tv machine for configuration
and file transfer. Linux/Mac clients can natively use SSH, while Windows
users might want to try PuTTY for their terminal access.
Starting with OpenELEC 2.0, SSH is disabled by default but all that is needed
is an empty “ssh_enable” file to exist in /storage/.config to enable it.
* $HOME is mounted on /storage (the second ext4 partition on the drive).
All data transfered to the machine will go here, the rest of the system is
read-only with the exception of /var (containing runtime configuration data).

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="@PKG_ADDON_ID@"
name="@ADDON_NAME@"
name="@PKG_NAME@"
version="@ADDON_VERSION@"
provider-name="@PROVIDER_NAME@">
<requires>
@@ -8,7 +8,9 @@
<import addon="xbmc.python" version="2.1.0"/>
@REQUIRES@
</requires>
<extension point="xbmc.python.module" library="lib/">
<extension point="@PKG_ADDON_TYPE@"
library="default.py">
<provides>executable</provides>
</extension>
<extension point="xbmc.addon.metadata">
<summary>@PKG_SHORTDESC@</summary>

View File

@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="@PKG_ADDON_ID@"
name="@ADDON_NAME@"
version="@ADDON_VERSION@"
provider-name="@PROVIDER_NAME@">
<requires>
<import addon="os.openelec.tv" version="@OS_VERSION@"/>
<import addon="xbmc.python" version="2.1.0"/>
@REQUIRES@
</requires>
<extension point="xbmc.python.script" library="default.py">
<provides>executable</provides>
</extension>
<extension point="xbmc.addon.metadata">
<summary>@PKG_SHORTDESC@</summary>
<description>
@PKG_LONGDESC@
</description>
<disclaimer>
@PKG_DISCLAIMER@
</disclaimer>
<platform>all</platform>
</extension>
</addon>

View File

@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="@PKG_ADDON_ID@"
name="@ADDON_NAME@"
version="@ADDON_VERSION@"
provider-name="@PROVIDER_NAME@">
<requires>
<import addon="os.openelec.tv" version="@OS_VERSION@"/>
<import addon="xbmc.python" version="2.1.0"/>
@REQUIRES@
</requires>
<extension point="xbmc.service" library="default.py">
<provides>executable</provides>
</extension>
<extension point="xbmc.addon.metadata">
<summary>@PKG_SHORTDESC@</summary>
<description>
@PKG_LONGDESC@
</description>
<disclaimer>
@PKG_DISCLAIMER@
</disclaimer>
<platform>all</platform>
</extension>
</addon>

View File

@@ -1,9 +1,12 @@
setup_toolchain() {
if [ "$1" = "--optimize" ]; then
OPTIMIZE=yes
shift
fi
if [ "$1" = target ]; then
export DESTIMAGE="target"
unset CPP
export CC=$TARGET_CC
export CXX=$TARGET_CXX
export LD=$TARGET_LD
@@ -28,8 +31,6 @@ setup_toolchain() {
elif [ "$1" = host ]; then
export DESTIMAGE="host"
unset CPP
export AWK=$HOST_AWK
export CC=$HOST_CC
export CXX=$HOST_CXX
@@ -55,22 +56,12 @@ setup_toolchain() {
}
kernel_path() {
if [ -e $ROOT/projects/$PROJECT/packages/linux/package.mk ]; then
. $ROOT/projects/$PROJECT/packages/linux/package.mk
else
. $ROOT/packages/linux/package.mk
fi
. $ROOT/packages/linux/package.mk
echo $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
}
kernel_version() {
if [ -e $ROOT/projects/$PROJECT/packages/linux/package.mk ]; then
. $ROOT/projects/$PROJECT/packages/linux/package.mk
else
. $ROOT/packages/linux/package.mk
fi
. $ROOT/packages/linux/package.mk
echo ${PKG_VERSION}
}
@@ -82,16 +73,10 @@ get_module_dir() {
# get package's build dir
get_build_dir() {
if [ ! -z $1 ] ; then
local _PKG_DIR=$(find $ROOT/projects/$PROJECT/packages -name $1 2>/dev/null)
if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
local _PKG_DIR=$(find $ROOT/packages -name $1)
if [ -d $_PKG_DIR -a -f $_PKG_DIR/package.mk ] ; then
. $_PKG_DIR/package.mk
else
local _PKG_DIR=$(find $ROOT/packages -name $1 2>/dev/null)
if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
. $_PKG_DIR/package.mk
fi
fi
echo $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
fi
}
@@ -185,13 +170,14 @@ do_autoreconf() {
strip_lto() {
# strip out LTO optimization from *FLAGS
if [ -n "$GCC_OPTIM_LTO" ] ; then
CFLAGS=`echo $CFLAGS | sed -e "s|$GCC_OPTIM_LTO||g"`
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|$GCC_OPTIM_LTO||g"`
fi
if [ -n "$LD_OPTIM_LTO" ] ; then
LDFLAGS=`echo $LDFLAGS | sed -e "s|$LD_OPTIM_LTO||g"`
fi
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||g"`
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||g"`
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||g"`
}
strip_linker_plugin() {
# strip out usage from linker plugin
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||g"`
}
strip_gold() {
@@ -277,9 +263,6 @@ dashes="==========================="
}
show_config() {
# load graphic configuration
get_graphicdrivers
dashes="==========================="
config_message="$config_message\n $dashes$dashes$dashes"
config_message="$config_message\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "unofficial"))"
@@ -315,16 +298,16 @@ show_config() {
config_message="$config_message\n - OpenGLES support (provider):\t\t $OPENGLES_SUPPORT ($OPENGLES)"
config_message="$config_message\n - WindowManager:\t\t\t $WINDOWMANAGER"
config_message="$config_message\n - Xorg Graphic Drivers:\t\t $GRAPHIC_DRIVERS"
config_message="$config_message\n - uvesafb support:\t\t\t $UVESAFB_SUPPORT"
# Hardware decoder support
config_message="$config_message\n\n Hardware decoder configuration:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - Kodi Player driver:\t\t\t $KODIPLAYER_DRIVER"
config_message="$config_message\n - VAAPI Support:\t\t\t $VAAPI_SUPPORT"
config_message="$config_message\n - VDPAU Support:\t\t\t $VDPAU_SUPPORT"
config_message="$config_message\n - Broadcom CrystalHD Decoder:\t\t $CRYSTALHD"
config_message="$config_message\n - XBMC Player driver:\t\t\t $XBMCPLAYER_DRIVER"
config_message="$config_message\n - VAAPI Support:\t\t\t $VAAPI"
config_message="$config_message\n - VDPAU Support:\t\t\t $VDPAU"
# Input device configuration
@@ -335,7 +318,7 @@ show_config() {
config_message="$config_message\n - ATV Remote support:\t\t\t $ATVCLIENT_SUPPORT"
config_message="$config_message\n - CEC Adapter support:\t\t\t $CEC_SUPPORT"
config_message="$config_message\n - IRTrans support:\t\t\t $IRSERVER_SUPPORT"
config_message="$config_message\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT"
config_message="$config_message\n - XBMC Joystick support:\t\t $JOYSTICK_SUPPORT"
# Misc. hardware configuration
@@ -344,6 +327,7 @@ show_config() {
config_message="$config_message\n - ALSA support:\t\t\t $ALSA_SUPPORT"
config_message="$config_message\n - Pulseaudio support:\t\t\t $PULSEAUDIO_SUPPORT"
config_message="$config_message\n - Blu-Ray support:\t\t\t $BLURAY_SUPPORT"
config_message="$config_message\n - Bluetooth support:\t\t\t $BLUETOOTH_SUPPORT"
config_message="$config_message\n - Hardware Sensors support:\t\t $SENSOR_SUPPORT"
config_message="$config_message\n - LCD drivers:\t\t\t\t $LCD_DRIVER"
@@ -356,22 +340,22 @@ show_config() {
config_message="$config_message\n - Include firmware:\t\t\t $config_firmware"
done
for config_modules in $INITRAMFS_MODULES; do
config_message="$config_message\n - Initramfs modules:\t\t\t $config_modules"
done
# Network service configuration
config_message="$config_message\n\n Network service configuration:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - Avahi (Zeroconf) support:\t\t $AVAHI_DAEMON"
config_message="$config_message\n - NFS mounting support:\t\t $NFS_SUPPORT"
config_message="$config_message\n - SAMBA mounting support:\t\t $SAMBA_SUPPORT"
config_message="$config_message\n - SAMBA server support:\t\t $SAMBA_SERVER"
config_message="$config_message\n - SFTP server support:\t\t\t $SFTP_SERVER"
config_message="$config_message\n - PPTP support:\t\t\t $PPTP_SUPPORT"
config_message="$config_message\n - OpenVPN support:\t\t\t $OPENVPN_SUPPORT"
config_message="$config_message\n - XBMC Airplay support:\t\t $AIRPLAY_SUPPORT"
config_message="$config_message\n - XBMC Airtunes support:\t\t $AIRTUNES_SUPPORT"
config_message="$config_message\n - XBMC AFP support:\t\t\t $AFP_SUPPORT"
config_message="$config_message\n - XBMC NFS support:\t\t\t $NFS_SUPPORT"
config_message="$config_message\n - XBMC SAMBA client support:\t\t $SAMBA_SUPPORT"
config_message="$config_message\n - XBMC Webserver support:\t\t $WEBSERVER"
# OS configuration
@@ -401,37 +385,24 @@ fi
config_message="$config_message\n - NTFS Support (via Fuse):\t\t $NTFS3G"
config_message="$config_message\n - Install HFS Tools:\t\t\t $HFSTOOLS"
# Kodi configuration
# XBMC configuration
config_message="$config_message\n\n Kodi configuration:"
config_message="$config_message\n\n XBMC configuration:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - Kodi version:\t\t\t $MEDIACENTER"
config_message="$config_message\n - Kodi nonfree support:\t\t $KODI_NONFREE_SUPPORT"
config_message="$config_message\n - Kodi Blu-Ray support:\t\t $KODI_BLURAY_SUPPORT"
config_message="$config_message\n - Bluray BD+ support:\t\t\t $BLURAY_BDPLUS_SUPPORT"
config_message="$config_message\n - Bluray AACS support:\t\t\t $BLURAY_AACS_SUPPORT"
config_message="$config_message\n - Kodi DVDCSS support:\t\t\t $KODI_DVDCSS_SUPPORT"
config_message="$config_message\n - Kodi Airplay support:\t\t $KODI_AIRPLAY_SUPPORT"
config_message="$config_message\n - Kodi Airtunes support:\t\t $KODI_AIRTUNES_SUPPORT"
config_message="$config_message\n - Kodi NFS support:\t\t\t $KODI_NFS_SUPPORT"
config_message="$config_message\n - Kodi MySQL support:\t\t\t $KODI_MYSQL_SUPPORT"
config_message="$config_message\n - Kodi Optical Drive support:\t\t $KODI_OPTICAL_SUPPORT"
config_message="$config_message\n - Kodi SAMBA client support:\t\t $KODI_SAMBA_SUPPORT"
config_message="$config_message\n - Kodi SSH client support:\t\t $KODI_SSHLIB_SUPPORT"
config_message="$config_message\n - Kodi UPNP support:\t\t\t $KODI_UPNP_SUPPORT"
config_message="$config_message\n - Kodi Webserver support:\t\t $KODI_WEBSERVER_SUPPORT"
config_message="$config_message\n - XBMC version:\t\t\t $MEDIACENTER"
config_message="$config_message\n - XBMC nonfree support:\t\t $NONFREE_SUPPORT"
config_message="$config_message\n - XBMC DVDCSS support:\t\t\t $DVDCSS_SUPPORT"
for config_skin in $SKINS; do
config_message="$config_message\n - Include Skin:\t\t\t $config_skin"
done
config_message="$config_message\n - Default Skin:\t\t\t $SKIN_DEFAULT"
config_message="$config_message\n - Include extra fonts:\t\t\t $KODI_EXTRA_FONTS"
config_message="$config_message\n - Include RSXS Screensaver:\t\t $KODI_SCR_RSXS"
config_message="$config_message\n - Include ProjectM Visualization:\t $KODI_VIS_PROJECTM"
config_message="$config_message\n - Include Goom Visualization:\t\t $KODI_VIS_GOOM"
config_message="$config_message\n - Include extra fonts:\t\t\t $XBMC_EXTRA_FONTS"
config_message="$config_message\n - Include RSXS Screensaver:\t\t $XBMC_SCR_RSXS"
config_message="$config_message\n - Include ProjectM Visualization:\t $XBMC_VIS_PROJECTM"
config_message="$config_message\n - Include Goom Visualization:\t\t $XBMC_VIS_GOOM"
config_message="$config_message\n"
config_message="$config_message\n $dashes$dashes$dashes"

View File

@@ -21,14 +21,14 @@ if [ "$SDL_SUPPORT" = no ]; then
fi
if [ "$OPENGL_SUPPORT" = no ]; then
KODI_SCR_RSXS="no"
KODI_VIS_PROJECTM="no"
KODI_VIS_GOOM="no"
XBMC_SCR_RSXS="no"
XBMC_VIS_PROJECTM="no"
XBMC_VIS_GOOM="no"
fi
get_graphicdrivers() {
if [ "$GRAPHIC_DRIVERS" = "all" ]; then
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 nvidia"
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 nvidia vmware virtualbox"
fi
for drv in $GRAPHIC_DRIVERS; do
@@ -40,14 +40,14 @@ get_graphicdrivers() {
DRI_DRIVERS="$DRI_DRIVERS,i915"
XORG_DRIVERS="$XORG_DRIVERS intel"
COMPOSITE_SUPPORT="yes"
VAAPI_SUPPORT="yes"
LIBVA="$LIBVA libva-driver-intel"
fi
if [ "$drv" = "i965" ]; then
DRI_DRIVERS="$DRI_DRIVERS,i965"
XORG_DRIVERS="$XORG_DRIVERS intel"
COMPOSITE_SUPPORT="yes"
VAAPI_SUPPORT="yes"
LIBVA="$LIBVA libva-driver-intel"
fi
if [ "$drv" = "nouveau" ]; then
@@ -58,16 +58,20 @@ get_graphicdrivers() {
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,nouveau"
XORG_DRIVERS="$XORG_DRIVERS nouveau"
COMPOSITE_SUPPORT="yes"
# LLVM_SUPPORT="yes"
fi
if [ "$drv" = "nvidia" ]; then
XORG_DRIVERS="$XORG_DRIVERS nvidia"
VDPAU_SUPPORT="yes"
fi
if [ "$drv" = "nvidia-legacy" ]; then
XORG_DRIVERS="$XORG_DRIVERS nvidia-legacy"
VDPAU_SUPPORT="yes"
fi
if [ "$drv" = "virtualbox" ]; then
DRI_DRIVERS="$DRI_DRIVERS,swrast"
XORG_DRIVERS="$XORG_DRIVERS virtualbox"
fi
if [ "$drv" = "r200" ]; then
@@ -81,7 +85,6 @@ get_graphicdrivers() {
XORG_DRIVERS="$XORG_DRIVERS ati"
LLVM_SUPPORT="yes"
COMPOSITE_SUPPORT="yes"
VDPAU_SUPPORT="yes"
fi
if [ "$drv" = "r600" ]; then
@@ -89,7 +92,6 @@ get_graphicdrivers() {
XORG_DRIVERS="$XORG_DRIVERS ati"
LLVM_SUPPORT="yes"
COMPOSITE_SUPPORT="yes"
VDPAU_SUPPORT="yes"
fi
if [ "$drv" = "radeonsi" ]; then
@@ -97,7 +99,13 @@ get_graphicdrivers() {
XORG_DRIVERS="$XORG_DRIVERS ati"
LLVM_SUPPORT="yes"
COMPOSITE_SUPPORT="yes"
VDPAU_SUPPORT="yes"
fi
if [ "$drv" = "vmware" ]; then
DRI_DRIVERS="$DRI_DRIVERS,swrast"
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,svga"
XORG_DRIVERS="$XORG_DRIVERS vmware"
# LLVM_SUPPORT="yes"
fi
done

View File

@@ -1,7 +1,7 @@
{
"partitions": [
{
"label": "@DISTRONAME@System",
"label": "System",
"filesystem_type": "FAT",
"partition_size_nominal": 160,
"want_maximised": false,
@@ -9,7 +9,7 @@
"mkfs_options": ""
},
{
"label": "@DISTRONAME@Storage",
"label": "Storage",
"filesystem_type": "ext4",
"partition_size_nominal": 864,
"want_maximised": true,

View File

@@ -30,7 +30,7 @@ fi
TARGET_CPPFLAGS=
TARGET_CFLAGS="$TARGET_CFLAGS -Wall -pipe $GCC_OPTIM $GCC_OPTIM_LTO $PROJECT_CFLAGS"
TARGET_CXXFLAGS="$TARGET_CFLAGS"
TARGET_LDFLAGS="$TARGET_LDFLAGS $LD_OPTIM $LD_OPTIM_GOLD $LD_OPTIM_LTO"
TARGET_LDFLAGS="$TARGET_LDFLAGS $LD_OPTIM $LD_OPTIM_GOLD $LD_OPTIM_LTO $GCC_OPTIM"
TARGET_LIBDIR="$SYSROOT_PREFIX/lib $SYSROOT_PREFIX/usr/lib"
TARGET_INCDIR="$SYSROOT_PREFIX/include $SYSROOT_PREFIX/usr/include"

View File

@@ -1,14 +1,6 @@
# set default language for buildsystem
export LC_ALL=C
# determines DISTRO, if not forced by user
# default is OpenELEC
if [ -z "$DISTRO" ]; then
DISTRO="OpenELEC"
else
DISTRO="$DISTRO"
fi
# determines PROJECT, if not forced by user
# default is Generic
if [ -z "$PROJECT" ]; then
@@ -26,28 +18,23 @@ else
fi
ROOT=`pwd`
DISTRO_DIR="$ROOT/distributions"
PROJECT_DIR="$ROOT/projects"
LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/packages/linux/package.mk"
# include versioning
. config/version
# read distro versioning if available
if [ -f "$DISTRO_DIR/$DISTRO/version" ]; then
. $DISTRO_DIR/$DISTRO/version
fi
# read distro options if available
if [ -f "$DISTRO_DIR/$DISTRO/options" ]; then
. $DISTRO_DIR/$DISTRO/options
fi
# read project options if available
if [ -f "$PROJECT_DIR/$PROJECT/options" ]; then
. $PROJECT_DIR/$PROJECT/options
fi
# Target system library C (eglibc)
TARGET_LIBC="eglibc"
# Library strip
LIBSTRIP="yes"
# Need to point to your actual cc
# If you have ccache installed, take care that LOCAL_CC don't point to it
LOCAL_CC=`which gcc`
@@ -65,9 +52,7 @@ LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/package
# Concurrency make level (-j option)
# Try value 1 (default) to 4 on single CPU computer, or more on
# multi-processor computer (like hyperthreading SMP CPU)
if test -z "${CONCURRENCY_MAKE_LEVEL}"; then
CONCURRENCY_MAKE_LEVEL=`cat /proc/cpuinfo | grep -c '^processor[[:cntrl:]]*:'`
fi
CONCURRENCY_MAKE_LEVEL=`cat /proc/cpuinfo | grep -c '^processor[[:cntrl:]]*:'`
# cache size for ccache
# Set the maximum size of the files stored in the cache. You can specify a
@@ -92,10 +77,5 @@ LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/package
. $HOME/.openelec/$PROJECT/options
fi
# read distro options from $HOME if available
if [ -f "$HOME/.openelec/options.$DISTRO" ]; then
. $HOME/.openelec/options.$DISTRO
fi
. config/graphic
. config/path $1

View File

@@ -20,10 +20,6 @@ HOST_NAME=`$LOCAL_CC -dumpmachine`
TARGET_NAME=$(echo $TARGET_SUBARCH | sed -e "s,-,,")-openelec-linux-gnu${TARGET_ABI}
BUILD=$BUILD_BASE.$DISTRONAME-$PROJECT.$TARGET_ARCH-$OPENELEC_VERSION
if [ -n "$BUILD_SUFFIX" ]; then
BUILD=$BUILD-$BUILD_SUFFIX
fi
TARGET_IMG=$ROOT/$TARGET
TARGET_ADDONS="$TARGET_IMG/$ADDONS/$ADDON_PATH"
ADDON_BUILD="$BUILD/$ADDONS/$1"
@@ -68,46 +64,26 @@ SED="sed -i"
PKG_IS_ADDON="no"
if [ -n "$1" ]; then
_PKG_ROOT_NAME=$(echo $1 | cut -d: -f1)
_ALL_DIRS=""
_FOUND=0
PKG_DIR=""
# first check project folder for a package
for DIR in $(find $ROOT/projects/$PROJECT/packages -type d -name $_PKG_ROOT_NAME 2>/dev/null); do
if [ -r "$DIR/package.mk" ]; then
# found first, set $PKG_DIR
FOUND=0
for DIR in $ROOT/`find $PACKAGES -type d -name $(echo $1| awk -F : '{print $1}') ! -wholename \*\/source\/\* 2>/dev/null` ; do
# keep track of dirs with meta for debugging
if [ -z "$ALL_DIRS" ] ; then
ALL_DIRS="$DIR"
else
ALL_DIRS="$ALL_DIRS\\n$DIR"
fi
if [ -f "$DIR/package.mk" ] ; then
FOUND=$((FOUND+1))
# found first. set $PKG_DIR
PKG_DIR="$DIR"
# keep track of dirs with package.mk for detecting multiple folders
_ALL_DIRS="${_ALL_DIRS}${DIR}\\n"
_FOUND=$((_FOUND+1))
if [ $_FOUND -gt 1 ]; then
# _FOUND more ? fail
if [ $FOUND -gt 1 ] ; then
# found more ? fail
echo "Error - multiple package folders:"
echo -e "$_ALL_DIRS"
echo -e "$ALL_DIRS"
exit 1
fi
fi
done
# then check packages folder if not found already
if [ $_FOUND -eq 0 ]; then
for DIR in $(find $ROOT/$PACKAGES -type d -name $_PKG_ROOT_NAME 2>/dev/null); do
if [ -r "$DIR/package.mk" ]; then
# found first, set $PKG_DIR
PKG_DIR="$DIR"
# keep track of dirs with package.mk for detecting multiple folders
_ALL_DIRS="${_ALL_DIRS}${DIR}\\n"
_FOUND=$((_FOUND+1))
if [ $_FOUND -gt 1 ]; then
# found more ? fail
echo "Error - multiple package folders:"
echo -e "$_ALL_DIRS"
exit 1
fi
fi
done
fi
fi
if [ -r $PKG_DIR/package.mk ]; then
@@ -132,8 +108,6 @@ SSL_CERTIFICATES="/etc/pki/tls"
TOOLCHAIN_LANGUAGES=c
[ "$TOOLCHAIN_CXX" = yes ] && TOOLCHAIN_LANGUAGES=${TOOLCHAIN_LANGUAGES},c++
unset TARGET_CPP
TARGET_CC=${TARGET_PREFIX}gcc
TARGET_CXX=${TARGET_PREFIX}g++
TARGET_LD=${TARGET_PREFIX}ld
@@ -151,8 +125,6 @@ TARGET_PKG_CONFIG_PATH=""
TARGET_PKG_CONFIG_LIBDIR="$SYSROOT_PREFIX/usr/lib/pkgconfig:$SYSROOT_PREFIX/usr/share/pkgconfig"
TARGET_PKG_CONFIG_SYSROOT_DIR="$SYSROOT_PREFIX"
unset HOST_CPP
HOST_AWK=gawk
HOST_CC=$ROOT/$TOOLCHAIN/bin/host-gcc
HOST_CXX=$ROOT/$TOOLCHAIN/bin/host-g++

View File

@@ -1,9 +1,9 @@
# VERSION: set full version, use "devel" for development version
OPENELEC_VERSION="5.0.1"
OPENELEC_VERSION="4.0.0"
# OS_VERSION: OS Version
OS_VERSION="5.0"
OS_VERSION="4.0"
# ADDON_VERSION: Addon version
ADDON_VERSION="4.3"
ADDON_VERSION="4.1"

View File

@@ -1,236 +0,0 @@
# Name of the Distro to build (full name, without special characters)
DISTRONAME="OpenELEC"
# short project description
DESCRIPTION="OpenELEC is a fast and userfriendly Kodi Entertainment Center distribution."
# Welcome Message for e.g. SSH Server (up to 5 Lines)
GREETING0="##############################################"
GREETING1="# OpenELEC - The living room PC for everyone #"
GREETING2="# ...... visit http://www.openelec.tv ...... #"
GREETING3="##############################################"
GREETING4=""
# Root password to integrate in the target system
ROOT_PASSWORD="openelec"
# Mediacenter to use (kodi / no)
MEDIACENTER="kodi"
# Skins to install (Confluence)
# Space separated list is supported,
# e.g. SKINS="Confluence"
SKINS="Confluence"
# Default Skin (Confluence)
SKIN_DEFAULT="Confluence"
# install extra subtitle Fonts for KODI (yes / no)
KODI_EXTRA_FONTS="yes"
# build and install 'RSXS' Screensaver (yes / no)
KODI_SCR_RSXS="yes"
# build and install 'ProjectM' Visualization (yes / no)
KODI_VIS_PROJECTM="yes"
# build and install 'GOOM' Visualization (yes / no)
KODI_VIS_GOOM="yes"
# build and install 'Waveform' Visualization (yes / no)
KODI_VIS_WAVEFORM="yes"
# build and install 'Spectrum' Visualization (yes / no)
KODI_VIS_SPECTRUM="yes"
# build and install 'FishBMC' Visualization (yes / no)
# does not work on RPi
KODI_VIS_FISHBMC="yes"
# build and install PulseAudio support (yes / no)
PULSEAUDIO_SUPPORT="no"
# build and install espeak support (yes / no)
ESPEAK_SUPPORT="yes"
# build and install with non-free support
# (RAR compression support in KODI) (yes / no)
KODI_NONFREE_SUPPORT="yes"
# build and install with BluRay support (yes / no)
KODI_BLURAY_SUPPORT="yes"
# build and install with BD+ support
# (BD+ decryption support in KODI) (yes / no)
BLURAY_BDPLUS_SUPPORT="yes"
# build and install with AACS support
# (BD decryption support in KODI) (yes / no)
BLURAY_AACS_SUPPORT="yes"
# build and install with DVDCSS support
# (DVD decryption support in KODI) (yes / no)
KODI_DVDCSS_SUPPORT="yes"
# additional drivers to install:
# for a list of additinoal drivers see packages/linux-drivers
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8188EU RTL8812AU dvbhdhomerun"
# build and install bluetooth support (yes / no)
BLUETOOTH_SUPPORT="yes"
# build and install with KODI webfrontend (yes / no)
KODI_WEBSERVER_SUPPORT="yes"
# build and install Avahi (Zeroconf) daemon (yes / no)
AVAHI_DAEMON="yes"
# build with UPnP support (yes / no)
KODI_UPNP_SUPPORT="yes"
# build with MySQL support (yes / no)
KODI_MYSQL_SUPPORT="yes"
# build xbmc with sshlib support (yes / no)
KODI_SSHLIB_SUPPORT="yes"
# build xbmc with optical drive support (yes / no)
KODI_OPTICAL_SUPPORT="yes"
# KODI Audio encoders for usage with optical drive support
# Space separated list is supported,
# e.g. KODI_AUDIOENCODER_ADDONS="ENCODER1 ENCODER2"
KODI_AUDIOENCODER_ADDONS="flac lame vorbis wav"
# build with AirPlay support (stream videos from iDevices to KODI) (yes / no)
KODI_AIRPLAY_SUPPORT="yes"
# build with AirTunes support (stream music from iDevices to KODI) (yes / no)
KODI_AIRTUNES_SUPPORT="yes"
# build with libnfs support (mounting nfs shares with KODI) (yes / no)
KODI_NFS_SUPPORT="yes"
# build with Samba Client support (mounting SAMBA shares with KODI) (yes / no)
KODI_SAMBA_SUPPORT="yes"
# build with NFS support (mounting nfs shares via the OS) (yes / no)
NFS_SUPPORT="yes"
# build with Samba Client support (mounting samba shares via the OS) (yes / no)
SAMBA_SUPPORT="yes"
# build and install Samba Server (yes / no)
SAMBA_SERVER="yes"
# build and install SFTP Server (yes / no)
SFTP_SERVER="yes"
# build and install PPP support (yes / no)
PPTP_SUPPORT="yes"
# build and install OpenVPN support (yes / no)
OPENVPN_SUPPORT="yes"
# build and install diskmounter support (udevil)
# this service provide auto mounting support for external drives in the
# mediacenter also automount internally drives at boottime via udev (yes / no)
UDEVIL="yes"
# build and install exFAT fuse support (yes / no)
EXFAT="yes"
# build and install NTFS-3G fuse support (yes / no)
NTFS3G="yes"
# build and install hfs filesystem utilities (yes / no)
HFSTOOLS="yes"
# Windowmanager to use (ratpoison / fluxbox / none)
WINDOWMANAGER="fluxbox"
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia,nouveau)
# Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia nouveau"
if [ "$TARGET_ARCH" = "i386" ]; then
# TODO: create Legacy build with OpenELEC-4.2
# install legacy drivers to i386 ARCH
GRAPHIC_DRIVERS="r200 r300 r600 i915 i965 nvidia-legacy"
elif [ "$TARGET_ARCH" = "x86_64" ]; then
GRAPHIC_DRIVERS="r300 r600 radeonsi i915 i965 nvidia"
fi
# build and install remote support (yes / no)
REMOTE_SUPPORT="yes"
# build and install ATV IR remote support (yes / no)
ATVCLIENT_SUPPORT="yes"
# build and install IRServer IR/LCD support (yes / no)
IRSERVER_SUPPORT="yes"
# build and install Joystick support (yes / no)
JOYSTICK_SUPPORT="yes"
# build and install CEC adapter support (yes / no)
CEC_SUPPORT="yes"
# build and install iSCSI support - iscsistart (yes / no)
ISCSI_SUPPORT="yes"
# LCD driver to Use - Possible drivers are ( Comma seperated:
# bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx,dm140,
# ea65,EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd,
# icp_a106,imon,imonlcd,IOWarrior,irman,irtrans,
# joy,lb216,lcdm001,lcterm,lirc,lis,MD8800,mdm166a,
# ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD,
# picolcd,pyramid,sed1330,sed1520,serialPOS,
# serialVFD,shuttleVFD,sli,stv5730,SureElec,svga,vlsys_m428
# 'all' compiles all drivers;
# 'all,!xxx,!yyy' de-selects previously selected drivers
# "none" for disable LCD support
LCD_DRIVER="irtrans,imon,imonlcd,mdm166a,MtxOrb,lis,dm140,hd44780,CFontz,SureElec,vlsys_m428,serialVFD,shuttleVFD"
# Support for partitioning and formating disks in initramfs (yes / no)
# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
INITRAMFS_PARTED_SUPPORT="no"
# build with swap support (yes / no)
SWAP_SUPPORT="no"
# swap support enabled per default (yes / no)
SWAP_ENABLED_DEFAULT="no"
# swapfile size if SWAP_SUPPORT=yes in MB
SWAPFILESIZE="256"
# build with installer (yes / no)
INSTALLER_SUPPORT="yes"
# Testpackages for development (yes / no)
TESTING="no"
# OEM packages for OEM's (yes / no)
OEM_SUPPORT="no"
# build and install nano text editor (yes / no)
NANO_EDITOR="yes"
# cron support (yes / no)
CRON_SUPPORT="yes"
# Perf support in development builds (yes / no)
PERF_SUPPORT="yes"
# Distribution Specific source location
DISTRO_MIRROR="http://sources.openelec.tv/mirror"
DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION"
# Addon Server Url
ADDON_SERVER_URL="http://addons.openelec.tv"
# set the addon dirs
ADDON_PATH="$ADDON_VERSION/$PROJECT/$TARGET_ARCH"
ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="cxxtools"
PKG_VERSION="2.2.1"
PKG_VERSION="2.2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL-2"

View File

@@ -22,7 +22,7 @@ PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.vdr-wiki.de/wiki/index.php/Dummydevice-plugin"
PKG_URL="$DISTRO_MIRROR/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tgz"
PKG_URL="http://phivdr.dyndns.org/vdr/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tgz"
PKG_SOURCE_DIR="dummydevice-${PKG_VERSION}"
PKG_DEPENDS_TARGET="toolchain vdr"
PKG_PRIORITY="optional"

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="vdr-iptv"
PKG_VERSION="2.1.3"
PKG_VERSION="2.1.2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@@ -17,13 +17,13 @@
################################################################################
PKG_NAME="vdr-plugin-dvbapi"
PKG_VERSION="36a6b1d"
PKG_VERSION="bf11f9e"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/manio/vdr-plugin-dvbapi"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain vdr libdvbcsa"
PKG_DEPENDS_TARGET="toolchain vdr openssl libdvbcsa"
PKG_PRIORITY="optional"
PKG_SECTION="multimedia"
PKG_SHORTDESC="TV"

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="vdr-plugin-eepg"
PKG_VERSION="d7dc614"
PKG_VERSION="69b47ba"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@@ -23,7 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://projects.vdr-developer.org/projects/show/plg-streamdev"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain vdr libressl"
PKG_DEPENDS_TARGET="toolchain vdr openssl"
PKG_PRIORITY="optional"
PKG_SECTION="multimedia"
PKG_SHORTDESC="TV"

View File

@@ -17,11 +17,11 @@
################################################################################
PKG_NAME="vdr-plugin-vnsiserver"
PKG_VERSION="b887bc8"
PKG_VERSION="a3f7ac5"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/FernetMenta/vdr-plugin-vnsiserver"
PKG_SITE="https://github.com/opdenkamp/xbmc-pvr-addons/tree/master/addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain vdr"
PKG_PRIORITY="optional"
@@ -30,6 +30,7 @@ PKG_SHORTDESC="TV"
PKG_LONGDESC="TV"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
pre_configure_target() {

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="vdr-plugin-xvdr"
PKG_VERSION="b300fc3"
PKG_VERSION="7f49bfa"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="vdr-satip"
PKG_VERSION="1.0.2"
PKG_VERSION="0.2.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@@ -18,7 +18,7 @@
################################################################################
PKG_NAME="vdr"
PKG_VERSION="2.1.7"
PKG_VERSION="2.1.6"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@@ -0,0 +1,12 @@
diff -Nru vdr-1.7.15-vanilla/eitscan.c vdr-1.7.15-disable_eitscan/eitscan.c
--- vdr-1.7.15-vanilla/eitscan.c 2010-06-06 19:11:14.000000000 +0300
+++ vdr-1.7.15-disable_eitscan/eitscan.c 2010-06-06 20:44:07.000000000 +0300
@@ -146,7 +146,7 @@
if (Device) {
for (cScanData *ScanData = scanList->First(); ScanData; ScanData = scanList->Next(ScanData)) {
const cChannel *Channel = ScanData->GetChannel();
- if (Channel) {
+ if (Channel && !cSource::IsType(Channel->Source(), 'I')) {
if (!Channel->Ca() || Channel->Ca() == Device->DeviceNumber() + 1 || Channel->Ca() >= CA_ENCRYPTED_MIN) {
if (Device->ProvidesTransponder(Channel)) {
if (!Device->Receiving()) {

View File

@@ -50,6 +50,10 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-unittest \
--with-ssl=no \
--with-stressjob=no"
pre_configure_target() {
strip_lto
}
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
rm -rf $INSTALL/usr/share

View File

@@ -1,9 +1,3 @@
4.3.2
allow running scripts from addon settings
4.3.1
rebuild for addon api bump
4.3.0
rebuild for addon api bump
4.1.2
clean up
4.1.0

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="hdhomerun"
PKG_VERSION="4.3"
PKG_VERSION="4.1"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@@ -32,8 +32,8 @@ unlock() { flock -u $HDHR_LOCKFD; flock -xn $HDHR_LOCKFD && rm -f "$HDHR_LOCKFIL
# exclusive lock
exlock
HDHR_ADDON_DIR="$HOME/.kodi/addons/driver.dvb.hdhomerun"
HDHR_ADDON_HOME="$HOME/.kodi/userdata/addon_data/driver.dvb.hdhomerun"
HDHR_ADDON_DIR="$HOME/.xbmc/addons/driver.dvb.hdhomerun"
HDHR_ADDON_HOME="$HOME/.xbmc/userdata/addon_data/driver.dvb.hdhomerun"
HDHR_ADDON_SETTINGS="$HDHR_ADDON_HOME/settings.xml"
# modules are not automatically loaded

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2009-2013 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -15,3 +15,18 @@
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
import os
import sys
import xbmcaddon
__settings__ = xbmcaddon.Addon(id = 'driver.dvb.hdhomerun')
__cwd__ = __settings__.getAddonInfo('path')
__resources_lib__ = xbmc.translatePath(os.path.join(__cwd__, 'resources', 'lib'))
__settings_xml__ = xbmc.translatePath(os.path.join(__cwd__, 'resources', 'settings.xml'))
if __name__ == "__main__" and len(sys.argv) == 2 and sys.argv[1] == 'refresh_tuners':
sys.path.append(__resources_lib__)
from functions import refresh_hdhomerun_tuners
refresh_hdhomerun_tuners(__settings_xml__)
__settings__.openSettings()

View File

@@ -1,32 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
import os
import sys
import xbmcaddon
__settings__ = xbmcaddon.Addon(id = 'driver.dvb.hdhomerun')
__cwd__ = __settings__.getAddonInfo('path')
__resources_lib__ = xbmc.translatePath(os.path.join(__cwd__, 'resources', 'lib'))
__settings_xml__ = xbmc.translatePath(os.path.join(__cwd__, 'resources', 'settings.xml'))
if len(sys.argv) == 2 and sys.argv[1] == 'refresh_tuners':
sys.path.append(__resources_lib__)
from functions import refresh_hdhomerun_tuners
refresh_hdhomerun_tuners(__settings_xml__)
__settings__.openSettings()

View File

@@ -24,7 +24,7 @@ import shutil
import xmlpp
from xml.dom import minidom
__sundtek_userspace__ = '/storage/.kodi/userdata/addon_data/driver.dvb.sundtek-mediatv/'
__sundtek_userspace__ = '/storage/.xbmc/userdata/addon_data/driver.dvb.sundtek-mediatv/'
######################################################################################################
# backup setting.xml file only if backup doesn't exist

View File

@@ -37,39 +37,36 @@ def _usage(this_file):
return """SYNOPSIS: pretty print an XML document
USAGE: python %s <filename> \n""" % this_file
def _pprint_line(indent_level, line, width=100, output=_sys.stdout, ignore_contents = False):
def _pprint_line(indent_level, line, width=100, output=_sys.stdout):
if line.strip():
start = ""
number_chars = 0
for l in range(indent_level):
start = start + " "
number_chars = number_chars + 1
if not ignore_contents:
try:
elem_start = _re.findall("(\<\W{0,1}\w+:\w+) ?", line)[0]
elem_finished = _re.findall("([?|\]\]/|\-\-]*\>)", line)[0]
#should not have *
attrs = _re.findall("(\S*?\=\".*?\")", line)
output.write(start + elem_start)
number_chars = len(start + elem_start)
for attr in attrs:
if (attrs.index(attr) + 1) == len(attrs):
number_chars = number_chars + len(elem_finished)
if (number_chars + len(attr) + 1) > width:
output.write("\n")
for i in range(len(start + elem_start) + 1):
output.write(" ")
number_chars = len(start + elem_start) + 1
else:
try:
elem_start = _re.findall("(\<\W{0,1}\w+:\w+) ?", line)[0]
elem_finished = _re.findall("([?|\]\]/]*\>)", line)[0]
#should not have *
attrs = _re.findall("(\S*?\=\".*?\")", line)
output.write(start + elem_start)
number_chars = len(start + elem_start)
for attr in attrs:
if (attrs.index(attr) + 1) == len(attrs):
number_chars = number_chars + len(elem_finished)
if (number_chars + len(attr) + 1) > width:
output.write("\n")
for i in range(len(start + elem_start) + 1):
output.write(" ")
number_chars = number_chars + 1
output.write(attr)
number_chars = number_chars + len(attr)
output.write(elem_finished + "\n")
except IndexError:
#give up pretty print this line
output.write(start + line + "\n")
else:
number_chars = len(start + elem_start) + 1
else:
output.write(" ")
number_chars = number_chars + 1
output.write(attr)
number_chars = number_chars + len(attr)
output.write(elem_finished + "\n")
except IndexError:
#give up pretty print this line
output.write(start + line + "\n")
@@ -83,8 +80,7 @@ def _get_next_elem(data):
start_pos = data.find("<")
end_pos = data.find(">") + 1
retval = data[start_pos:end_pos]
stopper = retval.rfind("/")
ignore_contents = False
stopper = retval.rfind("/")
if stopper < retval.rfind("\""):
stopper = -1
single = (stopper > -1 and ((retval.find(">") - stopper) < (stopper - retval.find("<"))))
@@ -93,19 +89,11 @@ def _get_next_elem(data):
ignore_question = retval.find("<?") > -1
if ignore_excl:
ignore_contents = True
cdata = retval.find("<![CDATA[") > -1
if cdata:
end_pos = data.find("]]>")
if end_pos > -1:
end_pos = end_pos + len("]]>")
stopper = end_pos
else:
end_pos = data.find("-->")
if end_pos > -1:
end_pos = end_pos + len("-->")
stopper = end_pos
retval = data[start_pos:end_pos]
elif ignore_question:
end_pos = data.find("?>") + len("?>")
@@ -113,12 +101,11 @@ def _get_next_elem(data):
no_indent = ignore or single
#print retval, end_pos, start_pos, stopper > -1, no_indent
return start_pos, \
end_pos, \
stopper > -1, \
no_indent, \
ignore_contents
no_indent
def get_pprint(xml, indent=4, width=80):
"""Returns the pretty printed xml """
@@ -129,8 +116,6 @@ def get_pprint(xml, indent=4, width=80):
self.output += string
out = out()
pprint(xml, output=out, indent=indent, width=width)
return out.output
@@ -141,7 +126,7 @@ def pprint(xml, output=_sys.stdout, indent=4, width=80):
Use indent to select indentation level. Default is 4 """
data = xml
indent_level = 0
start_pos, end_pos, is_stop, no_indent, ignore_contents = _get_next_elem(data)
start_pos, end_pos, is_stop, no_indent = _get_next_elem(data)
while ((start_pos > -1 and end_pos > -1)):
_pprint_elem_content(indent_level, data[:start_pos].strip(),
output=output)
@@ -151,8 +136,7 @@ def pprint(xml, output=_sys.stdout, indent=4, width=80):
_pprint_line(indent_level,
data[:end_pos - start_pos],
width=width,
output=output,
ignore_contents=ignore_contents)
output=output)
data = data[end_pos - start_pos:]
if not is_stop and not no_indent :
indent_level = indent_level + indent
@@ -160,7 +144,7 @@ def pprint(xml, output=_sys.stdout, indent=4, width=80):
if not data:
break
else:
start_pos, end_pos, is_stop, no_indent, ignore_contents = _get_next_elem(data)
start_pos, end_pos, is_stop, no_indent = _get_next_elem(data)
if __name__ == "__main__":

View File

@@ -11,6 +11,6 @@
<category label="9000">
<setting type="sep" />
<setting id="ENABLE_TUNER_TYPES" type="bool" label="9005" default="true" />
<setting label="9010" option="close" type="action" id="refresh_tuners" action="RunScript($CWD/resources/actions.py, refresh_tuners)" />
<setting label="9010" option="close" type="action" action="RunScript($ID, refresh_tuners)" />
</category>
</settings>

View File

@@ -1,21 +1,11 @@
4.3.1
fix keymaps path
4.3.0
rebuild for addon api bump
4.1.0
rebuild for addon api bump
4.0.1
rebuild
4.0.0
rebuild for OpenELEC-4.0
3.1.1
rebuild for OpenELEC-3.2
3.0.1
- bump addon version

View File

@@ -17,8 +17,8 @@
################################################################################
PKG_NAME="imon-mce"
PKG_VERSION="4.3"
PKG_REV="1"
PKG_VERSION="4.1"
PKG_REV="0"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.openelec.tv"

View File

@@ -21,4 +21,4 @@
. /etc/profile
sleep 1 && \
ir-keytable -p rc6 -w /usr/lib/udev/rc_keymaps/imon_mce &
ir-keytable -p rc6 -w /etc/rc_keymaps/imon_mce &

View File

@@ -1,15 +1,3 @@
4.3.4
fixed xbmc/kodi rebranding error
some fixes
4.3.3
addon transformed to service addon
new addon settings option to enable to check for new driver at boot
4.3.2
new addon settings option to enable to update driver from web with latest version
4.3.1
update driver
4.3.0
rebuild for addon api bump
4.1.5
dont touch /storage/.profile
4.1.4

View File

@@ -17,19 +17,19 @@
################################################################################
PKG_NAME="sundtek-mediatv"
PKG_VERSION="4.3"
PKG_REV="4"
PKG_VERSION="4.1"
PKG_REV="5"
PKG_ARCH="any"
PKG_LICENSE="nonfree"
PKG_SITE="http://support.sundtek.com/"
PKG_URL=""
PKG_DEPENDS_TARGET=""
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="driver/dvb"
PKG_SHORTDESC="Sundtek USB Stick DVB userspace driver"
PKG_LONGDESC="Driver for Sundtek MediaTV Pro (DVB-C, DVB-T, AnalogTV, Composite, S-Video, FM-Radio USB Stick) and Sundtek SkyTV Ultimate (DVB-S/S2 USB)."
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="xbmc.service"
PKG_ADDON_TYPE="xbmc.python.script"
PKG_AUTORECONF="no"
make_target() {
@@ -47,18 +47,11 @@ make_target() {
INSTALLER_URL="http://sundtek.de/media/netinst/armsysvhf/installer.tar.gz"
;;
esac
wget -O installer.tar.gz $INSTALLER_URL
tar -xzf installer.tar.gz
chmod -R 755 opt/ etc/
rm -f opt/bin/getinput.sh
rm -f opt/bin/lirc.sh
rm -fr opt/lib/pm/
wget -O version.used http://sundtek.de/media/latest.phtml
# we run this via wrapper
mv opt/bin/mediaclient opt/bin/mediaclient.bin
chmod 755 opt/bin/*
}
makeinstall_target() {
@@ -71,5 +64,4 @@ addon() {
cp -P $PKG_DIR/settings-default.xml $ADDON_BUILD/$PKG_ADDON_ID/
cp -Pa $PKG_BUILD/opt/bin $ADDON_BUILD/$PKG_ADDON_ID/
cp -Pa $PKG_BUILD/opt/lib $ADDON_BUILD/$PKG_ADDON_ID/
cp $PKG_BUILD/version.used $ADDON_BUILD/$PKG_ADDON_ID/
}

View File

@@ -17,5 +17,4 @@
<setting id="DEVICE4_NUM" value="1" />
<setting id="DEVICE5_IP" value="" />
<setting id="DEVICE5_NUM" value="1" />
<setting id="CHECK_BOOT" value="false" />
</settings>

View File

@@ -0,0 +1,2 @@
#!/bin/sh
LD_PRELOAD=/storage/.xbmc/addons/driver.dvb.sundtek-mediatv/lib/libmediaclient.so exec mediaclient.bin "$@"

View File

@@ -1,247 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
. /etc/profile
net_tuner_num_fix() {
local num=$1
[ -z "$num" ] && num=1
num=$(( $num *1 ))
[ $num -lt 1 ] && num=1
num=$(( $num -1 ))
echo $num
}
SUNDTEK_ADDON_DIR="$HOME/.kodi/addons/driver.dvb.sundtek-mediatv"
SUNDTEK_ADDON_HOME="$HOME/.kodi/userdata/addon_data/driver.dvb.sundtek-mediatv"
SUNDTEK_ADDON_SETTINGS="$SUNDTEK_ADDON_HOME/settings.xml"
mkdir -p $SUNDTEK_ADDON_HOME
if [ ! -f "$SUNDTEK_ADDON_HOME/sundtek.conf" ]; then
cp $SUNDTEK_ADDON_DIR/config/* $SUNDTEK_ADDON_HOME/
else
# in case of missing entries in addon home's sundtek.conf
entry_set="$(grep use_hwpidfilter $SUNDTEK_ADDON_HOME/sundtek.conf 2>/dev/null)"
if [ -z "$entry_set" ]; then
sed -i 's|^device_attach=.*|# device_attach not used anymore\n\n# enable HW PID filter\nuse_hwpidfilter=off\n\n# enable listening on network\nenablenetwork=off|g' $SUNDTEK_ADDON_HOME/sundtek.conf
sed -i 's|^#first_adapter=.*|first_adapter=0|g' $SUNDTEK_ADDON_HOME/sundtek.conf
sed -i 's|.*network tuner IP address (OpenELEC specific).*||g' $SUNDTEK_ADDON_HOME/sundtek.conf
sed -i 's|.*network_tuner_ip=.*||g' $SUNDTEK_ADDON_HOME/sundtek.conf
fi
fi
if [ ! -f "$SUNDTEK_ADDON_SETTINGS" ]; then
cp $SUNDTEK_ADDON_DIR/settings-default.xml $SUNDTEK_ADDON_SETTINGS
fi
[ ! -f $SUNDTEK_ADDON_HOME/rc_key_enter.map ] && mv $SUNDTEK_ADDON_HOME/rc_key_enter $SUNDTEK_ADDON_HOME/rc_key_enter.map
[ ! -f $SUNDTEK_ADDON_HOME/rc_key_ok.map ] && mv $SUNDTEK_ADDON_HOME/rc_key_ok $SUNDTEK_ADDON_HOME/rc_key_ok.map
mkdir -p /var/config
cat "$SUNDTEK_ADDON_SETTINGS" | awk -F\" '{print $2"=\""$4"\""}' | sed '/^=/d' > /var/config/sundtek-addon.conf
. /var/config/sundtek-addon.conf
# check if there is new driver on web
if [ "$CHECK_BOOT" = "true" ]; then
if [ ! -f /var/run/sundtek.checked ]; then
# only once after boot
touch /var/run/sundtek.checked
(
# wait some time before checking
sleep 20
cd $SUNDTEK_ADDON_DIR
wget -O version.latest http://sundtek.de/media/latest.phtml
version_used=$(cat version.used)
version_latest=$(cat version.latest)
if [ "$version_used" != "$version_latest" ]; then
# new version exist
kodi-send -a "Notification(Sundtek, \"New driver version exist, update manually\", 4000, $SUNDTEK_ADDON_DIR/icon.png)"
fi
)&
fi
fi
if [ -z "$(pidof mediasrv)" ]; then
rm -f /var/log/mediasrv.log
rm -f /var/log/mediaclient.log
SUNDTEK_CONF_TMP=/tmp/sundtek.conf
cp $SUNDTEK_ADDON_HOME/sundtek.conf $SUNDTEK_CONF_TMP
[ -z "$LOWEST_ADAPTER_NUM" ] && LOWEST_ADAPTER_NUM=0
sed -i "s|^first_adapter=.*|first_adapter=$LOWEST_ADAPTER_NUM|g" $SUNDTEK_CONF_TMP
# enable HW PID filter
if [ "$ENABLE_HW_PID_FILTER" = "true" ]; then
sed -i 's|^use_hwpidfilter=.*|use_hwpidfilter=on|g' $SUNDTEK_CONF_TMP
else
sed -i 's|^use_hwpidfilter=.*|use_hwpidfilter=off|g' $SUNDTEK_CONF_TMP
fi
# enable IR receiver
if [ "$ENABLE_IR_RECEIVER" = "true" ]; then
sed -i 's|^ir_disabled=.*|ir_disabled=0|g' $SUNDTEK_CONF_TMP
else
sed -i 's|^ir_disabled=.*|ir_disabled=1|g' $SUNDTEK_CONF_TMP
fi
if [ "$ALLOW_NET_USE" = "true" ]; then
sed -i 's|^enablenetwork=.*|enablenetwork=on|g' $SUNDTEK_CONF_TMP
else
sed -i 's|^enablenetwork=.*|enablenetwork=off|g' $SUNDTEK_CONF_TMP
fi
[ "$DEVICE1_IP" = "0.0.0.0" ] && DEVICE1_IP=""
[ "$DEVICE2_IP" = "0.0.0.0" ] && DEVICE2_IP=""
[ "$DEVICE3_IP" = "0.0.0.0" ] && DEVICE3_IP=""
[ "$DEVICE4_IP" = "0.0.0.0" ] && DEVICE4_IP=""
[ "$DEVICE5_IP" = "0.0.0.0" ] && DEVICE5_IP=""
DEVICE1_NUM=$(net_tuner_num_fix $DEVICE1_NUM)
DEVICE2_NUM=$(net_tuner_num_fix $DEVICE2_NUM)
DEVICE3_NUM=$(net_tuner_num_fix $DEVICE3_NUM)
DEVICE4_NUM=$(net_tuner_num_fix $DEVICE4_NUM)
DEVICE5_NUM=$(net_tuner_num_fix $DEVICE5_NUM)
if [ "$USE_NET_TUNERS" = "true" -a -n "$DEVICE1_IP" ]; then
# delete all network tuner entries
awk '/^\[NETWORK\]/{flag=1; next} /^device=|^#|^$/{if (flag==1) next} /.*/{flag=0; print}' $SUNDTEK_CONF_TMP >${SUNDTEK_CONF_TMP}-net
mv ${SUNDTEK_CONF_TMP}-net $SUNDTEK_CONF_TMP
echo "" >>$SUNDTEK_CONF_TMP
# remove empty lines at the end of file
sed -i -e ':a' -e '/^\n*$/{$d;N;};/\n$/ba' $SUNDTEK_CONF_TMP
# add entries
echo -e "\n[NETWORK]" >>$SUNDTEK_CONF_TMP
for dev in $(seq 0 $DEVICE1_NUM); do
echo "device=$DEVICE1_IP:$dev" >>$SUNDTEK_CONF_TMP
done
if [ -n "$DEVICE2_IP" ]; then
for dev in $(seq 0 $DEVICE2_NUM); do
echo "device=$DEVICE2_IP:$dev" >>$SUNDTEK_CONF_TMP
done
if [ -n "$DEVICE3_IP" ]; then
for dev in $(seq 0 $DEVICE3_NUM); do
echo "device=$DEVICE3_IP:$dev" >>$SUNDTEK_CONF_TMP
done
if [ -n "$DEVICE4_IP" ]; then
for dev in $(seq 0 $DEVICE4_NUM); do
echo "device=$DEVICE4_IP:$dev" >>$SUNDTEK_CONF_TMP
done
if [ -n "$DEVICE5_IP" ]; then
for dev in $(seq 0 $DEVICE5_NUM); do
echo "device=$DEVICE5_IP:$dev" >>$SUNDTEK_CONF_TMP
done
fi
fi
fi
fi
else
# delete all network tuner entries
awk '/^\[NETWORK\]/{flag=1; next} /^device=|^#|^$/{if (flag==1) next} /.*/{flag=0; print}' $SUNDTEK_CONF_TMP >${SUNDTEK_CONF_TMP}-net
mv ${SUNDTEK_CONF_TMP}-net $SUNDTEK_CONF_TMP
echo "" >>$SUNDTEK_CONF_TMP
# remove empty lines at the end of file
sed -i -e ':a' -e '/^\n*$/{$d;N;};/\n$/ba' $SUNDTEK_CONF_TMP
fi
if [ "$ENABLE_TUNER_TYPES" = "true" ]; then
# get tuner serial numbers
SERIALS=$(cat /var/config/sundtek-addon.conf | sed -n 's|^ATTACHED_TUNER_\(.*\)_DVBMODE=.*|\1|gp' | sort | uniq)
. /var/config/sundtek-addon.conf
for SERIAL in $SERIALS; do
DVBMODE=$(eval echo \$ATTACHED_TUNER_${SERIAL}_DVBMODE)
IRPROT=$(eval echo \$ATTACHED_TUNER_${SERIAL}_IRPROT)
KEYMAP=$(eval echo \$ATTACHED_TUNER_${SERIAL}_KEYMAP)
if [ "$DVBMODE" = "DVB-T" ]; then
# only set DVB-T because default is DVB-C (and DVB-S is not set either)
DVBMODE="DVBT"
else
DVBMODE=""
fi
[ "$IRPROT" = "NEC" -o "$IRPROT" = "auto" ] && IRPROT=""
[ ! -f $KEYMAP ] && KEYMAP=""
# remove setttings for this tuner
awk -v val="[$SERIAL]" '$0 == val {flag=1; next} /^ir_protocol=|^rcmap=|^initial_dvb_mode=|^#|^$/{if (flag==1) next} /.*/{flag=0; print}' $SUNDTEK_CONF_TMP >${SUNDTEK_CONF_TMP}-types
mv ${SUNDTEK_CONF_TMP}-types $SUNDTEK_CONF_TMP
echo "" >>$SUNDTEK_CONF_TMP
# remove empty lines at the end of file
sed -i -e ':a' -e '/^\n*$/{$d;N;};/\n$/ba' $SUNDTEK_CONF_TMP
ADDNEW=true
if [ -n "$DVBMODE" ]; then
[ $ADDNEW = true ] && ADDNEW=false && echo -e "\n[$SERIAL]" >>$SUNDTEK_CONF_TMP
echo "initial_dvb_mode=$DVBMODE" >>$SUNDTEK_CONF_TMP
fi
if [ -n "$IRPROT" ]; then
[ $ADDNEW = true ] && ADDNEW=false && echo -e "\n[$SERIAL]" >>$SUNDTEK_CONF_TMP
echo "ir_protocol=$IRPROT" >>$SUNDTEK_CONF_TMP
fi
if [ -n "$KEYMAP" ]; then
[ $ADDNEW = true ] && ADDNEW=false && echo -e "\n[$SERIAL]" >>$SUNDTEK_CONF_TMP
echo "rcmap=$KEYMAP" >>$SUNDTEK_CONF_TMP
fi
echo "" >>$SUNDTEK_CONF_TMP
done
fi
md5_1=$(md5sum -b $SUNDTEK_CONF_TMP | awk '{print $1}')
md5_2=$(md5sum -b $SUNDTEK_ADDON_HOME/sundtek.conf | awk '{print $1}')
if [ "$md5_1" != "$md5_2" ]; then
# file changed - copy to addon home
cp $SUNDTEK_CONF_TMP $SUNDTEK_ADDON_HOME/sundtek.conf
fi
chmod +x $SUNDTEK_ADDON_DIR/bin/*
mediasrv --wait-for-devices -p $SUNDTEK_ADDON_DIR/bin -c $SUNDTEK_ADDON_HOME/sundtek.conf -d
# wait few seconds
[ -z "$SETTLE_TIME" ] && SETTLE_TIME=0
SETTLE_TIME=$(( $SETTLE_TIME *1 ))
if [ $SETTLE_TIME -gt 0 ]; then
logger -t Sundtek "### Settle for $SETTLE_TIME sec ###"
sleep $SETTLE_TIME
fi
if [ "$RUN_USER_SCRIPT" = "true" -a -f "$SUNDTEK_ADDON_HOME/userscript.sh" ]; then
logger -t Sundtek "### Running user script $SUNDTEK_ADDON_HOME/userscript.sh ###"
cat $SUNDTEK_ADDON_HOME/userscript.sh | dos2unix >/var/run/sundtek-userscript.sh
sh /var/run/sundtek-userscript.sh
fi
# save adapter serial number
serial_number_old=$(cat $SUNDTEK_ADDON_HOME/adapters.txt 2>/dev/null)
serial_number_new=$(mediaclient -e | awk '/device / {print $0} /SERIAL/ {id=1} /ID:/ {if (id==1) print $2}')
if [ "$serial_number_old" != "$serial_number_new" ]; then
echo "$serial_number_new" >$SUNDTEK_ADDON_HOME/adapters.txt
fi
fi
logger -t Sundtek "### Sundtek ready ###"

View File

@@ -1,119 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
. /etc/profile
SUNDTEK_ADDON_DIR="$HOME/.kodi/addons/driver.dvb.sundtek-mediatv"
SUNDTEK_ADDON_HOME="$HOME/.kodi/userdata/addon_data/driver.dvb.sundtek-mediatv"
SUNDTEK_ADDON_SETTINGS="$SUNDTEK_ADDON_HOME/settings.xml"
trap_exit_install() {
kodi-send -a "Notification(Sundtek, Something went wrong. Cleaning..., 8000, $SUNDTEK_ADDON_DIR/icon.png)"
cd "$SUNDTEK_ADDON_DIR"
rm -fr tmp
exit 5
}
# kill process
systemctl stop driver.dvb.sundtek-mediatv
killall -9 mediaclient &>/dev/null
killall -9 mediasrv &>/dev/null
# exit on errors
set -e
trap trap_exit_install EXIT
cd "$SUNDTEK_ADDON_DIR"
rm -fr tmp
mkdir tmp
cd tmp
logger -t Sundtek "### Starting updating driver ###"
kodi-send -a "Notification(Sundtek, Starting updating driver, 2000, $SUNDTEK_ADDON_DIR/icon.png)"
wget -O ../version.used http://sundtek.de/media/latest.phtml
if [ $? -ne 0 ]; then
logger -t Sundtek "### Can't get latest version ###"
kodi-send -a "Notification(Sundtek, Cant get latest version, 8000, $SUNDTEK_ADDON_DIR/icon.png)"
cd ..
rm -fr tmp/
exit 1
fi
ARCH=$(sed -n 's|.*\.\([^-]*\)-.*|\1|p' /etc/release | tr -d '\n')
if [ "$ARCH" = "x86_64" ]; then
INSTALLER_URL="http://sundtek.de/media/netinst/64bit/installer.tar.gz"
elif [ "$ARCH" = "i386" ]; then
INSTALLER_URL="http://sundtek.de/media/netinst/32bit/installer.tar.gz"
elif [ "$ARCH" = "arm" ]; then
INSTALLER_URL="http://sundtek.de/media/netinst/armsysvhf/installer.tar.gz"
else
logger -t Sundtek "### Unsupported architecture ###"
kodi-send -a "Notification(Sundtek, Unsupported architecture, 8000, $SUNDTEK_ADDON_DIR/icon.png)"
cd ..
rm -fr tmp
exit 2
fi
logger -t Sundtek "### Downloading driver archive for $ARCH ###"
kodi-send -a "Notification(Sundtek, Downloading driver archive for $ARCH, 2000, $SUNDTEK_ADDON_DIR/icon.png)"
wget -O installer.tar.gz $INSTALLER_URL
if [ $? -ne 0 ]; then
logger -t Sundtek "### Archive damaged ###"
kodi-send -a "Notification(Sundtek, Download failed, 8000, $SUNDTEK_ADDON_DIR/icon.png)"
cd ..
rm -fr tmp/
exit 3
fi
logger -t Sundtek "### Extracting archive ###"
kodi-send -a "Notification(Sundtek, Extracting archive, 2000, $SUNDTEK_ADDON_DIR/icon.png)"
tar -xzf installer.tar.gz
if [ $? -ne 0 ]; then
logger -t Sundtek "### Archive damaged ###"
kodi-send -a "Notification(Sundtek, Archive damaged, 8000, $SUNDTEK_ADDON_DIR/icon.png)"
cd ..
rm -fr tmp/
exit 4
fi
# fix permissions
chmod -R 755 opt/ etc/
rm -f opt/bin/getinput.sh
rm -f opt/bin/lirc.sh
rm -fr opt/lib/pm/
cp -Pa opt/bin/* ../bin/
cp -Pa opt/lib/* ../lib/
cd ..
rm -fr tmp
logger -t Sundtek "### Driver update finished ###"
kodi-send -a "Notification(Sundtek, Driver update finished, 5000, $SUNDTEK_ADDON_DIR/icon.png)"
kodi-send -a "Notification(Sundtek, Please reboot, 5000, $SUNDTEK_ADDON_DIR/icon.png)"
trap - EXIT
systemctl start driver.dvb.sundtek-mediatv
exit 0

View File

@@ -2,7 +2,7 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2009-2013 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,11 +20,223 @@
. /etc/profile
SUNDTEK_ADDON_DIR="$HOME/.kodi/addons/driver.dvb.sundtek-mediatv"
# start locking mechanism - allows only one instance to be run at a time
SUNDTEK_LOCKFILE="/var/lock/userspace-driver-sundtek.lck"
SUNDTEK_LOCKFD=99
# obtain an exclusive lock
exlock() { eval "exec $SUNDTEK_LOCKFD>\"$SUNDTEK_LOCKFILE\""; flock -x $SUNDTEK_LOCKFD; }
# drop a lock
unlock() { flock -u $SUNDTEK_LOCKFD; flock -xn $SUNDTEK_LOCKFD && rm -f "$SUNDTEK_LOCKFILE"; }
# end locking mechanism
if [ -f $SUNDTEK_ADDON_DIR/lib/libmediaclient.so ]; then
logger -t Sundtek "### Preloading library ###"
export LD_PRELOAD=$SUNDTEK_ADDON_DIR/lib/libmediaclient.so
# exclusive lock
exlock
net_tuner_num_fix() {
local num=$1
[ -z "$num" ] && num=1
num=$(( $num *1 ))
[ $num -lt 1 ] && num=1
num=$(( $num -1 ))
echo $num
}
SUNDTEK_ADDON_DIR="$HOME/.xbmc/addons/driver.dvb.sundtek-mediatv"
SUNDTEK_ADDON_HOME="$HOME/.xbmc/userdata/addon_data/driver.dvb.sundtek-mediatv"
SUNDTEK_ADDON_SETTINGS="$SUNDTEK_ADDON_HOME/settings.xml"
mkdir -p $SUNDTEK_ADDON_HOME
if [ ! -f "$SUNDTEK_ADDON_HOME/sundtek.conf" ]; then
cp $SUNDTEK_ADDON_DIR/config/* $SUNDTEK_ADDON_HOME/
else
logger -t Sundtek "### Preloading library doesn't exist ###"
# in case of missing entries in addon home's sundtek.conf
entry_set="$(grep use_hwpidfilter $SUNDTEK_ADDON_HOME/sundtek.conf 2>/dev/null)"
if [ -z "$entry_set" ]; then
sed -i 's|^device_attach=.*|# device_attach not used anymore\n\n# enable HW PID filter\nuse_hwpidfilter=off\n\n# enable listening on network\nenablenetwork=off|g' $SUNDTEK_ADDON_HOME/sundtek.conf
sed -i 's|^#first_adapter=.*|first_adapter=0|g' $SUNDTEK_ADDON_HOME/sundtek.conf
sed -i 's|.*network tuner IP address (OpenELEC specific).*||g' $SUNDTEK_ADDON_HOME/sundtek.conf
sed -i 's|.*network_tuner_ip=.*||g' $SUNDTEK_ADDON_HOME/sundtek.conf
fi
fi
if [ ! -f "$SUNDTEK_ADDON_SETTINGS" ]; then
cp $SUNDTEK_ADDON_DIR/settings-default.xml $SUNDTEK_ADDON_SETTINGS
fi
[ ! -f $SUNDTEK_ADDON_HOME/rc_key_enter.map ] && mv $SUNDTEK_ADDON_HOME/rc_key_enter $SUNDTEK_ADDON_HOME/rc_key_enter.map
[ ! -f $SUNDTEK_ADDON_HOME/rc_key_ok.map ] && mv $SUNDTEK_ADDON_HOME/rc_key_ok $SUNDTEK_ADDON_HOME/rc_key_ok.map
mkdir -p /var/config
cat "$SUNDTEK_ADDON_SETTINGS" | awk -F\" '{print $2"=\""$4"\""}' | sed '/^=/d' > /var/config/sundtek-addon.conf
. /var/config/sundtek-addon.conf
export LD_PRELOAD=$SUNDTEK_ADDON_DIR/lib/libmediaclient.so
if [ -z "$(pidof mediasrv)" ]; then
rm -f /var/log/mediasrv.log
rm -f /var/log/mediaclient.log
SUNDTEK_CONF_TMP=/tmp/sundtek.conf
cp $SUNDTEK_ADDON_HOME/sundtek.conf $SUNDTEK_CONF_TMP
[ -z "$LOWEST_ADAPTER_NUM" ] && LOWEST_ADAPTER_NUM=0
sed -i "s|^first_adapter=.*|first_adapter=$LOWEST_ADAPTER_NUM|g" $SUNDTEK_CONF_TMP
# enable HW PID filter
if [ "$ENABLE_HW_PID_FILTER" = "true" ]; then
sed -i 's|^use_hwpidfilter=.*|use_hwpidfilter=on|g' $SUNDTEK_CONF_TMP
else
sed -i 's|^use_hwpidfilter=.*|use_hwpidfilter=off|g' $SUNDTEK_CONF_TMP
fi
# enable IR receiver
if [ "$ENABLE_IR_RECEIVER" = "true" ]; then
sed -i 's|^ir_disabled=.*|ir_disabled=0|g' $SUNDTEK_CONF_TMP
else
sed -i 's|^ir_disabled=.*|ir_disabled=1|g' $SUNDTEK_CONF_TMP
fi
if [ "$ALLOW_NET_USE" = "true" ]; then
sed -i 's|^enablenetwork=.*|enablenetwork=on|g' $SUNDTEK_CONF_TMP
else
sed -i 's|^enablenetwork=.*|enablenetwork=off|g' $SUNDTEK_CONF_TMP
fi
[ "$DEVICE1_IP" = "0.0.0.0" ] && DEVICE1_IP=""
[ "$DEVICE2_IP" = "0.0.0.0" ] && DEVICE2_IP=""
[ "$DEVICE3_IP" = "0.0.0.0" ] && DEVICE3_IP=""
[ "$DEVICE4_IP" = "0.0.0.0" ] && DEVICE4_IP=""
[ "$DEVICE5_IP" = "0.0.0.0" ] && DEVICE5_IP=""
DEVICE1_NUM=$(net_tuner_num_fix $DEVICE1_NUM)
DEVICE2_NUM=$(net_tuner_num_fix $DEVICE2_NUM)
DEVICE3_NUM=$(net_tuner_num_fix $DEVICE3_NUM)
DEVICE4_NUM=$(net_tuner_num_fix $DEVICE4_NUM)
DEVICE5_NUM=$(net_tuner_num_fix $DEVICE5_NUM)
if [ "$USE_NET_TUNERS" = "true" -a -n "$DEVICE1_IP" ]; then
# delete all network tuner entries
awk '/^\[NETWORK\]/{flag=1; next} /^device=|^#|^$/{if (flag==1) next} /.*/{flag=0; print}' $SUNDTEK_CONF_TMP >${SUNDTEK_CONF_TMP}-net
mv ${SUNDTEK_CONF_TMP}-net $SUNDTEK_CONF_TMP
echo "" >>$SUNDTEK_CONF_TMP
# remove empty lines at the end of file
sed -i -e ':a' -e '/^\n*$/{$d;N;};/\n$/ba' $SUNDTEK_CONF_TMP
# add entries
echo -e "\n[NETWORK]" >>$SUNDTEK_CONF_TMP
for dev in $(seq 0 $DEVICE1_NUM); do
echo "device=$DEVICE1_IP:$dev" >>$SUNDTEK_CONF_TMP
done
if [ -n "$DEVICE2_IP" ]; then
for dev in $(seq 0 $DEVICE2_NUM); do
echo "device=$DEVICE2_IP:$dev" >>$SUNDTEK_CONF_TMP
done
if [ -n "$DEVICE3_IP" ]; then
for dev in $(seq 0 $DEVICE3_NUM); do
echo "device=$DEVICE3_IP:$dev" >>$SUNDTEK_CONF_TMP
done
if [ -n "$DEVICE4_IP" ]; then
for dev in $(seq 0 $DEVICE4_NUM); do
echo "device=$DEVICE4_IP:$dev" >>$SUNDTEK_CONF_TMP
done
if [ -n "$DEVICE5_IP" ]; then
for dev in $(seq 0 $DEVICE5_NUM); do
echo "device=$DEVICE5_IP:$dev" >>$SUNDTEK_CONF_TMP
done
fi
fi
fi
fi
else
# delete all network tuner entries
awk '/^\[NETWORK\]/{flag=1; next} /^device=|^#|^$/{if (flag==1) next} /.*/{flag=0; print}' $SUNDTEK_CONF_TMP >${SUNDTEK_CONF_TMP}-net
mv ${SUNDTEK_CONF_TMP}-net $SUNDTEK_CONF_TMP
echo "" >>$SUNDTEK_CONF_TMP
# remove empty lines at the end of file
sed -i -e ':a' -e '/^\n*$/{$d;N;};/\n$/ba' $SUNDTEK_CONF_TMP
fi
if [ "$ENABLE_TUNER_TYPES" = "true" ]; then
# get tuner serial numbers
SERIALS=$(cat /var/config/sundtek-addon.conf | sed -n 's|^ATTACHED_TUNER_\(.*\)_DVBMODE=.*|\1|gp' | sort | uniq)
. /var/config/sundtek-addon.conf
for SERIAL in $SERIALS; do
DVBMODE=$(eval echo \$ATTACHED_TUNER_${SERIAL}_DVBMODE)
IRPROT=$(eval echo \$ATTACHED_TUNER_${SERIAL}_IRPROT)
KEYMAP=$(eval echo \$ATTACHED_TUNER_${SERIAL}_KEYMAP)
if [ "$DVBMODE" = "DVB-T" ]; then
# only set DVB-T because default is DVB-C (and DVB-S is not set either)
DVBMODE="DVBT"
else
DVBMODE=""
fi
[ "$IRPROT" = "NEC" -o "$IRPROT" = "auto" ] && IRPROT=""
[ ! -f $KEYMAP ] && KEYMAP=""
# remove setttings for this tuner
awk -v val="[$SERIAL]" '$0 == val {flag=1; next} /^ir_protocol=|^rcmap=|^initial_dvb_mode=|^#|^$/{if (flag==1) next} /.*/{flag=0; print}' $SUNDTEK_CONF_TMP >${SUNDTEK_CONF_TMP}-types
mv ${SUNDTEK_CONF_TMP}-types $SUNDTEK_CONF_TMP
echo "" >>$SUNDTEK_CONF_TMP
# remove empty lines at the end of file
sed -i -e ':a' -e '/^\n*$/{$d;N;};/\n$/ba' $SUNDTEK_CONF_TMP
ADDNEW=true
if [ -n "$DVBMODE" ]; then
[ $ADDNEW = true ] && ADDNEW=false && echo -e "\n[$SERIAL]" >>$SUNDTEK_CONF_TMP
echo "initial_dvb_mode=$DVBMODE" >>$SUNDTEK_CONF_TMP
fi
if [ -n "$IRPROT" ]; then
[ $ADDNEW = true ] && ADDNEW=false && echo -e "\n[$SERIAL]" >>$SUNDTEK_CONF_TMP
echo "ir_protocol=$IRPROT" >>$SUNDTEK_CONF_TMP
fi
if [ -n "$KEYMAP" ]; then
[ $ADDNEW = true ] && ADDNEW=false && echo -e "\n[$SERIAL]" >>$SUNDTEK_CONF_TMP
echo "rcmap=$KEYMAP" >>$SUNDTEK_CONF_TMP
fi
echo "" >>$SUNDTEK_CONF_TMP
done
fi
md5_1=$(md5sum -b $SUNDTEK_CONF_TMP | awk '{print $1}')
md5_2=$(md5sum -b $SUNDTEK_ADDON_HOME/sundtek.conf | awk '{print $1}')
if [ "$md5_1" != "$md5_2" ]; then
# file changed - copy to addon home
cp $SUNDTEK_CONF_TMP $SUNDTEK_ADDON_HOME/sundtek.conf
fi
mediasrv --wait-for-devices -p $SUNDTEK_ADDON_DIR/bin -c $SUNDTEK_ADDON_HOME/sundtek.conf -d
# wait few seconds
[ -z "$SETTLE_TIME" ] && SETTLE_TIME=0
SETTLE_TIME=$(( $SETTLE_TIME *1 ))
if [ $SETTLE_TIME -gt 0 ]; then
logger -t Sundtek "### Settle for $SETTLE_TIME sec ###"
sleep $SETTLE_TIME
fi
if [ "$RUN_USER_SCRIPT" = "true" -a -f "$SUNDTEK_ADDON_HOME/userscript.sh" ]; then
logger -t Sundtek "### Running user script $SUNDTEK_ADDON_HOME/userscript.sh ###"
cat $SUNDTEK_ADDON_HOME/userscript.sh | dos2unix >/var/run/sundtek-userscript.sh
sh /var/run/sundtek-userscript.sh
fi
(
# save adapter serial number in background
sleep 5
serial_number_old=$(cat $SUNDTEK_ADDON_HOME/adapters.txt 2>/dev/null)
serial_number_new=$(mediaclient.bin -e | awk '/device / {print $0} /ID:/ {print $2}')
if [ "$serial_number_old" != "$serial_number_new" ]; then
echo "$serial_number_new" >$SUNDTEK_ADDON_HOME/adapters.txt
fi
)&
fi
logger -t Sundtek "### Sundtek ready ###"
# unlock the lock
unlock

View File

@@ -15,3 +15,22 @@
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
import os
import sys
import xbmcaddon
__settings__ = xbmcaddon.Addon(id = 'driver.dvb.sundtek-mediatv')
__cwd__ = __settings__.getAddonInfo('path')
__resources_lib__ = xbmc.translatePath(os.path.join(__cwd__, 'resources', 'lib'))
__settings_xml__ = xbmc.translatePath(os.path.join(__cwd__, 'resources', 'settings.xml'))
__mediaclient__ = xbmc.translatePath(os.path.join(__cwd__, 'bin', 'mediaclient.bin'))
__ld_preload__ = xbmc.translatePath(os.path.join(__cwd__, 'lib', 'libmediaclient.so'))
__mediaclient_e__ = 'LD_PRELOAD=' + __ld_preload__ + ' ' + __mediaclient__ + ' -e'
if __name__ == "__main__" and len(sys.argv) == 2 and sys.argv[1] == 'refresh_tuners':
sys.path.append(__resources_lib__)
from functions import refresh_sundtek_tuners
refresh_sundtek_tuners(__settings_xml__, __mediaclient_e__)
__settings__.openSettings()

View File

@@ -1,45 +0,0 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
import os
import sys
import subprocess
import xbmcaddon
__settings__ = xbmcaddon.Addon(id = 'driver.dvb.sundtek-mediatv')
__cwd__ = __settings__.getAddonInfo('path')
__resources_lib__ = xbmc.translatePath(os.path.join(__cwd__, 'resources', 'lib'))
__settings_xml__ = xbmc.translatePath(os.path.join(__cwd__, 'resources', 'settings.xml'))
__mediaclient__ = xbmc.translatePath(os.path.join(__cwd__, 'bin', 'mediaclient'))
__mediaclient_e__ = __mediaclient__ + ' -e'
__update_sh__ = xbmc.translatePath(os.path.join(__cwd__, 'bin', 'sundtek-update-driver.sh'))
if len(sys.argv) == 2:
if sys.argv[1] == 'refresh_tuners':
print "sundtek refresh tuners"
sys.path.append(__resources_lib__)
from functions import refresh_sundtek_tuners
refresh_sundtek_tuners(__settings_xml__, __mediaclient_e__)
__settings__.openSettings()
elif sys.argv[1] == 'update_driver':
print "sundtek update driver"
proc = subprocess.Popen([__update_sh__], shell = True)
return_code = proc.wait()
print "sundtek update driver return value " + str(return_code)
__settings__.openSettings()

View File

@@ -27,8 +27,4 @@
<string id="9010">Refresh tuners... (press me)</string>
<string id="9020"> IR protocol</string>
<string id="9030"> keymap filename</string>
<string id="3000">Driver</string>
<string id="3020">Check for new driver version at boot</string>
<string id="3010">Update from web... (press me)</string>
</strings>

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2009-2013 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -22,7 +22,7 @@ import shutil
import xmlpp
from xml.dom import minidom
__sundtek_userspace__ = '/storage/.kodi/userdata/addon_data/driver.dvb.sundtek-mediatv/'
__sundtek_userspace__ = '/storage/.xbmc/userdata/addon_data/driver.dvb.sundtek-mediatv/'
######################################################################################################
# backup setting.xml file only if backup doesn't exist

View File

@@ -37,39 +37,36 @@ def _usage(this_file):
return """SYNOPSIS: pretty print an XML document
USAGE: python %s <filename> \n""" % this_file
def _pprint_line(indent_level, line, width=100, output=_sys.stdout, ignore_contents = False):
def _pprint_line(indent_level, line, width=100, output=_sys.stdout):
if line.strip():
start = ""
number_chars = 0
for l in range(indent_level):
start = start + " "
number_chars = number_chars + 1
if not ignore_contents:
try:
elem_start = _re.findall("(\<\W{0,1}\w+:\w+) ?", line)[0]
elem_finished = _re.findall("([?|\]\]/|\-\-]*\>)", line)[0]
#should not have *
attrs = _re.findall("(\S*?\=\".*?\")", line)
output.write(start + elem_start)
number_chars = len(start + elem_start)
for attr in attrs:
if (attrs.index(attr) + 1) == len(attrs):
number_chars = number_chars + len(elem_finished)
if (number_chars + len(attr) + 1) > width:
output.write("\n")
for i in range(len(start + elem_start) + 1):
output.write(" ")
number_chars = len(start + elem_start) + 1
else:
try:
elem_start = _re.findall("(\<\W{0,1}\w+:\w+) ?", line)[0]
elem_finished = _re.findall("([?|\]\]/]*\>)", line)[0]
#should not have *
attrs = _re.findall("(\S*?\=\".*?\")", line)
output.write(start + elem_start)
number_chars = len(start + elem_start)
for attr in attrs:
if (attrs.index(attr) + 1) == len(attrs):
number_chars = number_chars + len(elem_finished)
if (number_chars + len(attr) + 1) > width:
output.write("\n")
for i in range(len(start + elem_start) + 1):
output.write(" ")
number_chars = number_chars + 1
output.write(attr)
number_chars = number_chars + len(attr)
output.write(elem_finished + "\n")
except IndexError:
#give up pretty print this line
output.write(start + line + "\n")
else:
number_chars = len(start + elem_start) + 1
else:
output.write(" ")
number_chars = number_chars + 1
output.write(attr)
number_chars = number_chars + len(attr)
output.write(elem_finished + "\n")
except IndexError:
#give up pretty print this line
output.write(start + line + "\n")
@@ -83,8 +80,7 @@ def _get_next_elem(data):
start_pos = data.find("<")
end_pos = data.find(">") + 1
retval = data[start_pos:end_pos]
stopper = retval.rfind("/")
ignore_contents = False
stopper = retval.rfind("/")
if stopper < retval.rfind("\""):
stopper = -1
single = (stopper > -1 and ((retval.find(">") - stopper) < (stopper - retval.find("<"))))
@@ -93,19 +89,11 @@ def _get_next_elem(data):
ignore_question = retval.find("<?") > -1
if ignore_excl:
ignore_contents = True
cdata = retval.find("<![CDATA[") > -1
if cdata:
end_pos = data.find("]]>")
if end_pos > -1:
end_pos = end_pos + len("]]>")
stopper = end_pos
else:
end_pos = data.find("-->")
if end_pos > -1:
end_pos = end_pos + len("-->")
stopper = end_pos
retval = data[start_pos:end_pos]
elif ignore_question:
end_pos = data.find("?>") + len("?>")
@@ -113,12 +101,11 @@ def _get_next_elem(data):
no_indent = ignore or single
#print retval, end_pos, start_pos, stopper > -1, no_indent
return start_pos, \
end_pos, \
stopper > -1, \
no_indent, \
ignore_contents
no_indent
def get_pprint(xml, indent=4, width=80):
"""Returns the pretty printed xml """
@@ -129,8 +116,6 @@ def get_pprint(xml, indent=4, width=80):
self.output += string
out = out()
pprint(xml, output=out, indent=indent, width=width)
return out.output
@@ -141,7 +126,7 @@ def pprint(xml, output=_sys.stdout, indent=4, width=80):
Use indent to select indentation level. Default is 4 """
data = xml
indent_level = 0
start_pos, end_pos, is_stop, no_indent, ignore_contents = _get_next_elem(data)
start_pos, end_pos, is_stop, no_indent = _get_next_elem(data)
while ((start_pos > -1 and end_pos > -1)):
_pprint_elem_content(indent_level, data[:start_pos].strip(),
output=output)
@@ -151,8 +136,7 @@ def pprint(xml, output=_sys.stdout, indent=4, width=80):
_pprint_line(indent_level,
data[:end_pos - start_pos],
width=width,
output=output,
ignore_contents=ignore_contents)
output=output)
data = data[end_pos - start_pos:]
if not is_stop and not no_indent :
indent_level = indent_level + indent
@@ -160,7 +144,7 @@ def pprint(xml, output=_sys.stdout, indent=4, width=80):
if not data:
break
else:
start_pos, end_pos, is_stop, no_indent, ignore_contents = _get_next_elem(data)
start_pos, end_pos, is_stop, no_indent = _get_next_elem(data)
if __name__ == "__main__":

View File

@@ -27,11 +27,6 @@
<category label="9000">
<setting type="sep" />
<setting id="ENABLE_TUNER_TYPES" type="bool" label="9005" default="true" />
<setting label="9010" option="close" type="action" id="refresh_tuners" action="RunScript($CWD/resources/actions.py, refresh_tuners)" />
</category>
<category label="3000">
<setting type="sep" />
<setting id="CHECK_BOOT" type="bool" label="3020" default="false" />
<setting label="3010" option="close" type="action" id="update_driver" action="RunScript($CWD/resources/actions.py, update_driver)" />
<setting label="9010" option="close" type="action" action="RunScript($ID, refresh_tuners)" />
</category>
</settings>

View File

@@ -25,10 +25,9 @@ oe_setup_addon driver.dvb.sundtek-mediatv
if [ "$SUSPEND_DRIVER" = "true" ]; then
case "$1" in
pre)
systemctl stop driver.dvb.sundtek-mediatv.service
killall -9 mediasrv &>/dev/null
;;
post)
systemctl start driver.dvb.sundtek-mediatv.service
;;
esac
fi

View File

@@ -1,12 +0,0 @@
[Unit]
Description=Sundtek driver service
After=network.target
[Service]
Type=oneshot
ExecStart=-/bin/sh -c "exec sh /storage/.kodi/addons/driver.dvb.sundtek-mediatv/bin/sundtek-mediatv.start"
ExecStop=-/bin/sh -c "exec sh /storage/.kodi/addons/driver.dvb.sundtek-mediatv/bin/sundtek-mediatv.stop"
RemainAfterExit=yes
[Install]
WantedBy=kodi.target

View File

@@ -19,8 +19,8 @@
################################################################################
PKG_NAME="repository.unofficial.addon.pro"
PKG_VERSION="4.3"
PKG_REV="4"
PKG_VERSION="4.1.2"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://unofficial.addon.pro"
@@ -41,9 +41,7 @@ PKG_MAINTAINER="unofficial.addon.pro"
make_target() {
$SED -e "s|@ADDON_VERSION@|$ADDON_VERSION|g" \
-e "s|@PROJECT@|$PROJECT|g" \
-e "s|@ARCH@|$TARGET_ARCH|g" \
-e "s|@PKG_VERSION@|$PKG_VERSION|g" \
-e "s|@PKG_REV@|$PKG_REV|g"\
-e "s|@ARCH@|$ARCH|g" \
-i addon.xml
}

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="repository.unofficial.addon.pro"
name="Unofficial [COLOR FF757677]Open[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR] (@PROJECT@/@ARCH@) Add-ons"
version="@PKG_VERSION@.@PKG_REV@"
name="Unofficial [COLOR FF757677]Open[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR] Mediacenter OS Add-ons"
version="4.1.2"
provider-name="unofficial.addon.pro">
<extension point="xbmc.addon.repository"
name="Unofficial OpenELEC.tv Add-on Repository">
@@ -12,10 +12,7 @@
<extension point="xbmc.addon.metadata">
<summary>Unofficial addon repository for OpenELEC</summary>
<description>
[COLOR red]=== BIG FAT WARNING ===[/COLOR]
Use this repository at your own risk.
If your house gets burned, it's your fault, not ours.
We give no guarantee. We give no support.
[COLOR orange]Use with care. There will be NO end user support for addons in this repository[/COLOR]
</description>
<disclaimer>This is an unofficial addon repository. please don't ask for support in openelec forum / irc channel</disclaimer>
<platform>all</platform>

View File

@@ -1,9 +1,3 @@
4.3.3
- rebuild
4.3.2
- rebuild for addon api bump
4.1.2
- fix typo in repository name

View File

@@ -1,12 +1,3 @@
4.3.5
- added boblight-aml
4.3.4
- update to kodi
4.3.0
- rebuild for addon api bump
4.1.2
- rebuild for xlib changes

View File

@@ -18,7 +18,7 @@
PKG_NAME="boblightd"
PKG_VERSION="478"
PKG_REV="5"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://code.google.com/p/boblight"
@@ -42,7 +42,7 @@ if [ "$OPENGL_SUPPORT" = "yes" ] ; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET Mesa glu"
fi
if [ "$OPENGL" = "no" ]; then
if [ ! "$OPENGL" = "Mesa" ]; then
EXTRAOPTS="--without-opengl"
fi
@@ -63,7 +63,6 @@ addon() {
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -P $PKG_BUILD/.$TARGET_NAME/src/boblightd $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -P $PKG_BUILD/.$TARGET_NAME/src/boblight-constant $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -P $PKG_BUILD/.$TARGET_NAME/src/boblight-aml $ADDON_BUILD/$PKG_ADDON_ID/bin
if [ "$DISPLAYSERVER" = "x11" ] ; then
cp -P $PKG_BUILD/.$TARGET_NAME/src/boblight-X11 $ADDON_BUILD/$PKG_ADDON_ID/bin
fi

View File

@@ -1,632 +0,0 @@
diff --git a/src/Makefile.am b/src/Makefile.am
index 9ba5381..c5a4dc6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,6 +7,7 @@ AM_CFLAGS =\
-g
bin_PROGRAMS = boblightd \
+ boblight-aml \
boblight-constant
@@ -19,6 +20,11 @@ endif
endif
+boblight_aml_SOURCES = clients/boblight-aml/boblight-aml.cpp
+boblight_aml_SOURCES += clients/boblight-aml/flagmanager-aml.cpp
+boblight_aml_SOURCES += clients/flagmanager.cpp
+boblight_aml_SOURCES += util/misc.cpp
+
boblight_v4l_SOURCES = \
clients/boblight-v4l/boblight-v4l.cpp \
clients/boblight-v4l/flagmanager-v4l.cpp \
diff -urPp src/clients/boblight-aml.cpp src/clients/boblight-aml/boblight-aml.cpp
--- /dev/null Thu Jan 1 00:00:00 1970
+++ b/src/clients/boblight-aml/boblight-aml.cpp Thu Jan 15 10:24:16 2015
@@ -0,0 +1,491 @@
+/*
+ * boblight
+ * Copyright (C) Bob 2009
+ *
+ * boblight is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * boblight is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#define BOBLIGHT_DLOPEN
+#include "lib/boblight.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <signal.h>
+#include <algorithm>
+
+#include <fcntl.h>
+#include <errno.h>
+#include <sys/stat.h>
+#include <sys/poll.h>
+#include <sys/types.h>
+#include <sys/time.h>
+#include <sys/ioctl.h>
+
+#include "config.h"
+#include "util/misc.h"
+#include "util/timeutils.h"
+#include "flagmanager-aml.h"
+
+using namespace std;
+
+//from linux/amlogic/amports/amvideocap.h
+#define AMVIDEOCAP_IOC_MAGIC 'V'
+#define AMVIDEOCAP_IOW_SET_WANTFRAME_WIDTH _IOW(AMVIDEOCAP_IOC_MAGIC, 0x02, int)
+#define AMVIDEOCAP_IOW_SET_WANTFRAME_HEIGHT _IOW(AMVIDEOCAP_IOC_MAGIC, 0x03, int)
+
+
+// helper class - tries to load the "movie" settings from the script.xbmc.boblight addon
+// and pass them to the boblight-aml client
+class CBoblightAddonSettings
+{
+ public:
+ CBoblightAddonSettings() : m_bobdisable(false), m_settingsLoaded(false)
+ {
+ m_settingsLoaded = loadBoblightAddonSettings();
+ }
+
+ std::string getBoblightClientCmdLine()
+ {
+ std::string cmdLine = "";
+ //convert bool string to lowercase
+ transform(m_interpolation.begin(), m_interpolation.end(), m_interpolation.begin(), ::tolower);
+
+ cmdLine += "-s " + m_ip + ":" + m_port;
+ cmdLine += " -o autospeed=" + m_autospeed;
+ cmdLine += " -o interpolation=" + m_interpolation;
+ cmdLine += " -o saturation=" + m_saturation;
+ cmdLine += " -o speed=" + m_speed;
+ cmdLine += " -o threshold=" + m_threshold;
+ cmdLine += " -o value=" + m_value;
+ return cmdLine;
+ }
+
+ bool m_bobdisable;
+ bool m_settingsLoaded;
+ std::string m_ip;
+ std::string m_port;
+ std::string m_autospeed;
+ std::string m_interpolation;
+ std::string m_saturation;
+ std::string m_speed;
+ std::string m_threshold;
+ std::string m_value;
+
+ private:
+ #define SETTINGS_ATTR_BOBDISABLE "bobdisable"
+ #define SETTINGS_ATTR_IP "hostip"
+ #define SETTINGS_ATTR_PORT "hostport"
+ #define SETTINGS_ATTR_AUTOSPEED "movie_autospeed"
+ #define SETTINGS_ATTR_INTERPOLATION "movie_interpolation"
+ #define SETTINGS_ATTR_SATURATION "movie_saturation"
+ #define SETTINGS_ATTR_SPEED "movie_speed"
+ #define SETTINGS_ATTR_THRESHOLD "movie_threshold"
+ #define SETTINGS_ATTR_VALUE "movie_value"
+ #define KODI_HOME_ENV_VAR "HOME"
+
+ bool loadBoblightAddonSettings()
+ {
+ bool ret = false;
+ char *kodiHome = getenv(KODI_HOME_ENV_VAR);
+ //fallback to custom settings file in case boblight addon is not installed
+ std::string settingsFile = "/storage/boblight-aml.xml";
+
+ if (kodiHome != NULL)
+ {
+ settingsFile = std::string(kodiHome) + "/.kodi/userdata/addon_data/script.xbmc.boblight/settings.xml";
+ }
+
+ FILE *fd = fopen(settingsFile.c_str(), "r");
+
+ if (fd != NULL)
+ {
+ fseek(fd, 0, SEEK_END);
+ size_t fileSize = ftell(fd);
+ fseek(fd, 0, SEEK_SET);
+ if (fileSize > 0)
+ {
+ if (fileSize > 32000)//read 16k max - there shouldn't be a bigger settings.xml from boblight [tm]
+ fileSize = 32000;
+ char *xmlBuffer = new char[fileSize];
+ size_t readCount = fread(xmlBuffer, fileSize, 1, fd);
+ fclose(fd);
+
+ if (readCount == 1)
+ {
+ parseBoblightSettings(std::string(xmlBuffer));
+ ret = true;
+ }
+ else
+ {
+ fprintf(stderr, "Failed reading boblight addon settings.xml");
+ }
+ delete[] xmlBuffer;
+ }
+ }
+ return ret;
+ }
+
+ void parseBoblightSettings(std::string xmlBuffer)
+ {
+ std::string settings_bobdisable_str;
+ settings_bobdisable_str = getValueFromXmlBuffer(xmlBuffer, SETTINGS_ATTR_BOBDISABLE);
+ if (settings_bobdisable_str == "true" || settings_bobdisable_str == "True")
+ m_bobdisable = true;
+
+ m_ip = getValueFromXmlBuffer(xmlBuffer, SETTINGS_ATTR_IP);
+ m_port = getValueFromXmlBuffer(xmlBuffer, SETTINGS_ATTR_PORT);
+ m_autospeed = getValueFromXmlBuffer(xmlBuffer, SETTINGS_ATTR_AUTOSPEED);
+ m_interpolation = getValueFromXmlBuffer(xmlBuffer, SETTINGS_ATTR_INTERPOLATION);
+ m_saturation = getValueFromXmlBuffer(xmlBuffer, SETTINGS_ATTR_SATURATION);
+ m_speed = getValueFromXmlBuffer(xmlBuffer, SETTINGS_ATTR_SPEED);
+ m_threshold = getValueFromXmlBuffer(xmlBuffer, SETTINGS_ATTR_THRESHOLD);
+ m_value = getValueFromXmlBuffer(xmlBuffer, SETTINGS_ATTR_VALUE);
+ }
+
+ std::string getValueFromXmlBuffer(const std::string &xmlBuffer, const char* xmlAttribute)
+ {
+ size_t strPos = 0;
+ std::string valueStr;
+
+ // each line in the xml looks like this:
+ // <setting id="movie_value" value="1.000006" />
+ // find the attribute
+ if ((strPos = xmlBuffer.find(xmlAttribute)) != std::string::npos)
+ {
+ size_t strPos2 = 0;
+ // from movie_value" value="1.000006" /> look for "value"
+ if ((strPos2 = xmlBuffer.find("value", strPos)) != std::string::npos)
+ {
+ size_t strPos3 = 0;
+ // from value="1.000006" /> look for "="
+ if ((strPos3 = xmlBuffer.find("=", strPos2)) != std::string::npos)
+ {
+ //extract the value - strPos3 points to ="1.000006"
+ int valueOffset = 1; //skip the "="
+ if (xmlBuffer[strPos3 + valueOffset] == '"')
+ valueOffset++;//skip " if needed
+ int strLen = 0;
+ do
+ {
+ // value stops with " or space
+ if (xmlBuffer[strPos3 + valueOffset + strLen] == '"' ||
+ xmlBuffer[strPos3 + valueOffset + strLen] == ' ')
+ break;
+ strLen++;
+ } while (strLen < 20);// no insane xml garbage ...
+
+ valueStr = xmlBuffer.substr(strPos3 + valueOffset, strLen);
+ }
+ }
+ }
+ return valueStr;
+ }
+};
+
+struct aml_snapshot_t {
+ unsigned int dst_width;
+ unsigned int dst_height;
+ unsigned int dst_stride;
+ unsigned int dst_size;
+ void *dst_vaddr;
+};
+
+volatile bool g_stop = false;
+CFlagManagerAML g_flagmanager;
+/*********************************************************
+ *********************************************************/
+static void SignalHandler(int signum)
+{
+ if (signum == SIGTERM)
+ {
+ fprintf(stderr, "caught SIGTERM\n");
+ g_stop = true;
+ }
+ else if (signum == SIGINT)
+ {
+ fprintf(stderr, "caught SIGTERM\n");
+ g_stop = true;
+ }
+}
+
+#define VIDEO_PATH "/dev/amvideo"
+#define AMSTREAM_IOC_MAGIC 'S'
+#define AMSTREAM_IOC_GET_VIDEO_DISABLE _IOR(AMSTREAM_IOC_MAGIC, 0x48, unsigned long)
+static int amvideo_utils_video_playing()
+{
+ int video_fd;
+ int video_disable;
+
+ video_fd = open(VIDEO_PATH, O_RDWR);
+ if (video_fd < 0) {
+ return -1;
+ }
+
+ ioctl(video_fd, AMSTREAM_IOC_GET_VIDEO_DISABLE, &video_disable);
+ if (video_disable)
+ {
+ close(video_fd);
+ return 1;
+ }
+
+ close(video_fd);
+
+// fprintf(stderr, "pos x %d y %d w %d h %d\n",snapshot.src_x, snapshot.src_y,snapshot.src_width,snapshot.src_height);
+ return 0;
+}
+
+static int capture_frame(int fd, aml_snapshot_t &snapshot)
+{
+ int ret = 0;
+
+ ssize_t readResult = pread(fd, snapshot.dst_vaddr, snapshot.dst_size, 0);
+
+ if (readResult < snapshot.dst_size)
+ {
+ fprintf(stderr, "frame read returned %d\n", readResult);
+ }
+ //fprintf(stderr, "requ: %d read %d \n", snapshot.dst_size, readResult);
+ fprintf(stderr, ".");
+ return ret;
+}
+
+static int configure_capture(int fd, aml_snapshot_t &snapshot)
+{
+ int ret = 0;
+ int ioctlret = 0;
+
+ if ((ioctlret = ioctl(fd, AMVIDEOCAP_IOW_SET_WANTFRAME_WIDTH, snapshot.dst_width)) != 0)
+ {
+ ret = 2;
+ fprintf(stderr, "Error setting frame width (ret: %d errno: %d)\n", ioctlret, errno);
+ }
+
+
+ if ((ioctlret = ioctl(fd, AMVIDEOCAP_IOW_SET_WANTFRAME_HEIGHT, snapshot.dst_height)) != 0)
+ {
+ ret = 3;
+ fprintf(stderr, "Error setting frame height (ret: %d errno: %d)\n", ioctlret, errno);
+ }
+
+ return ret;
+}
+
+static void frameToboblight(void *boblight, uint8_t* outputptr, int w, int h, int stride)
+{
+ if (!boblight)
+ {
+ fprintf(stderr, "no boblight\n");
+ return;
+ }
+ if (!outputptr)
+ {
+ fprintf(stderr, "no outputptr\n");
+ return;
+ }
+ //read out pixels and hand them to libboblight
+ uint8_t* buffptr;
+ for (int y = h; y > 0; y--) {
+ buffptr = outputptr + stride * y;
+ for (int x = 0; x < w; x++) {
+ int rgb[3];
+ rgb[2] = *(buffptr++);
+ rgb[1] = *(buffptr++);
+ rgb[0] = *(buffptr++);
+
+ //fprintf(stdout, "frameToboblight: x(%d), y(%d)\n", x, y);
+
+ boblight_addpixelxy(boblight, x, y, rgb);
+ }
+ }
+}
+
+static int Run(void* boblight)
+{
+ int snapshot_fd = -1;
+ aml_snapshot_t aml_snapshot = {0};
+ int lastPriority = 255;
+
+ aml_snapshot.dst_width = 160;
+ aml_snapshot.dst_height = 160;
+
+ // calc stride, size and alloc mem
+ aml_snapshot.dst_stride = aml_snapshot.dst_width * 3;
+ aml_snapshot.dst_size = aml_snapshot.dst_stride * aml_snapshot.dst_height;
+ aml_snapshot.dst_vaddr = calloc(aml_snapshot.dst_size, 1);
+
+ fprintf(stdout, "Connection to boblightd config: width(%d), height(%d)\n",
+ aml_snapshot.dst_width, aml_snapshot.dst_height);
+ //tell libboblight how big our image is
+ boblight_setscanrange(boblight, (int)aml_snapshot.dst_width, (int)aml_snapshot.dst_height);
+
+ while(!g_stop)
+ {
+ int64_t bgn = GetTimeUs();
+
+ if (snapshot_fd == -1) {
+ snapshot_fd = open(g_flagmanager.m_device.c_str(), O_RDWR, 0);
+
+ if (snapshot_fd == -1) {
+ sleep(1);
+ continue;
+ } else {
+ fprintf(stdout, "snapshot_fd(%d) \n", snapshot_fd);
+ }
+ }
+
+ // match source ratio if possible
+ if (amvideo_utils_video_playing() != 0) {
+ if ( lastPriority != 255)
+ {
+ boblight_setpriority(boblight, 255);
+ lastPriority = 255;
+ }
+ sleep(1);
+ continue;
+ }
+
+ if (configure_capture(snapshot_fd, aml_snapshot) == 0)
+ {
+ if (capture_frame(snapshot_fd, aml_snapshot) == 0)
+ {
+ // image to boblight convert.
+ frameToboblight(boblight, (uint8_t*)aml_snapshot.dst_vaddr,
+ aml_snapshot.dst_width, aml_snapshot.dst_height, aml_snapshot.dst_stride);
+
+ if (lastPriority != g_flagmanager.m_priority)
+ {
+ boblight_setpriority(boblight, g_flagmanager.m_priority);
+ lastPriority = g_flagmanager.m_priority;
+ }
+ if (!boblight_sendrgb(boblight, 1, NULL))
+ {
+ // some error happened, probably connection broken, so bitch and try again
+ PrintError(boblight_geterror(boblight));
+ boblight_destroy(boblight);
+ continue;
+ }
+ }
+ else
+ {
+ fprintf(stdout, "nap time\n");
+ sleep(1);
+ }
+ }
+ int64_t end = GetTimeUs();
+ float calc_time_ms = (float)(end - bgn) / 1000.0;
+ // throttle to 100ms max cycle rate
+ calc_time_ms -= 100.0;
+ if ((int)calc_time_ms < 0)
+ usleep((int)(-calc_time_ms * 1000));
+ }
+
+ // last image is black
+ boblight_setpriority(boblight, 255);
+ boblight_destroy(boblight);
+ close(snapshot_fd);
+ return 0;
+}
+
+/*********************************************************
+ *********************************************************/
+int main(int argc, char *argv[])
+{
+ //load the boblight lib, if it fails we get a char* from dlerror()
+ const char* boblight_error = boblight_loadlibrary(NULL);
+ if (boblight_error)
+ {
+ PrintError(boblight_error);
+ return 1;
+ }
+
+ //try to parse the flags and bitch to stderr if there's an error
+ try {
+ g_flagmanager.ParseFlags(argc, argv);
+ }
+ catch (string error) {
+ PrintError(error);
+ g_flagmanager.PrintHelpMessage();
+ return 1;
+ }
+
+ if (g_flagmanager.m_printhelp) {
+ g_flagmanager.PrintHelpMessage();
+ return 1;
+ }
+
+ if (g_flagmanager.m_printboblightoptions) {
+ g_flagmanager.PrintBoblightOptions();
+ return 1;
+ }
+
+ // check if we only should generate a cmdline based
+ // on settings from possible found boblight addon
+ if (g_flagmanager.generateCmdLine)
+ {
+ CBoblightAddonSettings settings;
+ string cmdLine = "-p 100"; //default cmdline just contains priority 100
+
+ if (settings.m_settingsLoaded)
+ cmdLine += " " + settings.getBoblightClientCmdLine();
+ fprintf(stdout, "%s", cmdLine.c_str());
+ return 0;//exit
+ }
+
+ fprintf(stderr, "Using device: %s \n", g_flagmanager.m_device.c_str());
+
+ //set up signal handlers
+ signal(SIGINT, SignalHandler);
+ signal(SIGTERM, SignalHandler);
+
+ //keep running until we want to quit
+ while(!g_stop) {
+ //init boblight
+ void* boblight = boblight_init();
+
+ fprintf(stdout, "Connecting to boblightd(%p)\n", boblight);
+
+ //try to connect, if we can't then bitch to stderr and destroy boblight
+ if (!boblight_connect(boblight, g_flagmanager.m_address, g_flagmanager.m_port, 5000000) ||
+ !boblight_setpriority(boblight, 255)) {
+ PrintError(boblight_geterror(boblight));
+ fprintf(stdout, "Waiting 10 seconds before trying again\n");
+ boblight_destroy(boblight);
+ sleep(2);
+ continue;
+ }
+
+ fprintf(stdout, "Connection to boblightd opened\n");
+
+ //try to parse the boblight flags and bitch to stderr if we can't
+ try {
+ g_flagmanager.ParseBoblightOptions(boblight);
+ }
+ catch (string error) {
+ PrintError(error);
+ return 1;
+ }
+
+ try {
+ Run(boblight);
+ }
+ catch (string error) {
+ PrintError(error);
+ boblight_destroy(boblight);
+ return 1;
+ }
+ }
+ fprintf(stdout, "Exiting\n");
+}
diff -urPp src/clients/flagmanager-aml.cpp src/clients/boblight-aml/flagmanager-aml.cpp
--- /dev/null Thu Jan 1 00:00:00 1970
+++ b/src/clients/boblight-aml/flagmanager-aml.cpp Thu Jan 15 10:21:40 2015
@@ -0,0 +1,68 @@
+/*
+ * boblight
+ * Copyright (C) Bob 2009
+ *
+ * boblight is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * boblight is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include <iostream>
+
+#include "flagmanager-aml.h"
+#include "util/misc.h"
+#include "config.h"
+
+#define DEFAULT_CAPTURE_DEVICE "/dev/amvideocap0"
+
+using namespace std;
+
+CFlagManagerAML::CFlagManagerAML()
+{
+ // extend the flags -d -> device
+ // -g -> only generate cmdline from possible found boblight addon settings.xml
+ m_flags += "d:g";
+ m_device = DEFAULT_CAPTURE_DEVICE;
+ generateCmdLine = false;
+}
+
+void CFlagManagerAML::ParseFlagsExtended(int& argc, char**& argv, int& c, char*& optarg)
+{
+ if (c == 'd') //devicename
+ {
+ if (optarg) //optional device
+ {
+ m_device = optarg;
+ }
+ }
+
+ if (c == 'g') //generate cmdline
+ {
+ generateCmdLine = true;
+ }
+}
+
+void CFlagManagerAML::PrintHelpMessage()
+{
+ cout << "Usage: boblight-aml\n";
+ cout << "\n";
+ cout << " options:\n";
+ cout << "\n";
+ cout << " -p priority, from 0 to 255, default is 128\n";
+ cout << " -s address[:port], set the address and optional port to connect to\n";
+ cout << " -o add libboblight option, syntax: [light:]option=value\n";
+ cout << " -l list libboblight options\n";
+ cout << " -f fork\n";
+ cout << " -d <device> (defaults to " << m_device << ")\n";
+ cout << " -g try to find the settings.xml file from boblight addon and return the cmdline to use its options\n";
+ cout << "\n";
+}
diff -urPp src/clients/flagmanager-aml.h src/clients/boblight-aml/flagmanager-aml.h
--- /dev/null Thu Jan 1 00:00:00 1970
+++ b/src/clients/boblight-aml/flagmanager-aml.h Thu Jan 15 10:20:15 2015
@@ -0,0 +1,36 @@
+/*
+ * boblight
+ * Copyright (C) Bob 2009
+ *
+ * boblight is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * boblight is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef FLAGMANAGERAML
+#define FLAGMANAGERAML
+
+#include "clients/flagmanager.h"
+
+class CFlagManagerAML : public CFlagManager
+{
+ public:
+ CFlagManagerAML();
+ void ParseFlagsExtended(int& argc, char**& argv, int& c, char*& optarg);
+
+ void PrintHelpMessage();
+ std::string m_device; //device to open for amvideocap
+ bool generateCmdLine;
+
+};
+
+#endif //FLAGMANAGERAML
\ No newline at end of file

View File

@@ -35,10 +35,4 @@ if [ -x $ADDON_DIR/bin/boblight-X11 -a -e $ADDON_HOME/boblight.X11 ] ; then
boblight-X11 -f >/dev/null 2>&1
fi
if [ -x $ADDON_DIR/bin/boblight-aml -a -e /dev/amvideocap0 ] ; then
#generates cmdline from boblight addon settings
CMDLINE=`boblight-aml -g`
boblight-aml $CMDLINE >/dev/null 2>&1 &
fi
exec boblightd -c $ADDON_HOME/boblight.conf > $ADDON_LOG_FILE 2>&1

View File

@@ -3,11 +3,12 @@ Description=boblightd
After=graphical.target
[Service]
ExecStart=/bin/sh -c "exec sh /storage/.kodi/addons/service.multimedia.boblightd/bin/boblightd.start"
ExecStart=/bin/sh -c "exec sh /storage/.xbmc/addons/service.multimedia.boblightd/bin/boblightd.start"
ExecStopPost=-/bin/sh -c "pidof boblight-X11 && killall -q -9 boblight-X11"
TimeoutStopSec=1
Restart=always
RestartSec=10
StartLimitInterval=0
[Install]
WantedBy=kodi.target
WantedBy=xbmc.target

View File

@@ -0,0 +1,157 @@
4.1.2
- fix issues with "wait for frontend init". thanks @sraue
4.1.1
- rebuild to fix curl/gnutls/ssl
4.1.0
- convert to systemd service
- rebuild for addon api bump
4.0.1
- rebuild
4.0.0
- rebuild for OpenELEC-4.0
3.1.4
- rebuild
3.1.3
- update to TVHeadend 3.4.27
3.1.2
- fix unloading multiple modules on suspend
3.1.1
- rebuild for OpenELEC-3.2
3.0.11
- improve suspend/resume
3.0.10
- fix preloading capmt.so with sundtek
- added the ability to use a script's stdout as the xmltv source instead of a fixed file or URL
3.0.9
- update to TVHeadend 3.4
3.0.8
- update to TVHeadend 3.3.521
3.0.7
- update to TVHeadend 3.3.511
3.0.6
- update to TVHeadend 3.3.491
- disable avahi support
3.0.5
- update to TVHeadend 3.3.485
3.0.4
- update to TVHeadend 3.3.403
3.0.3
- update to TVHeadend 3.3.328
- add an option to preload capmt_ca.so library
3.0.2
- update to TVHeadend 3.2.18
3.0.1
- bump addon version
- add support to install as system addon
- update to TVHeadend 3.2, rename addon
- add version string to addon summary
2.1.5
- add an option to wait for more than 1 adapters to appear
2.1.3
- update to hts-tvheadend-78213a0
2.1.2
- add suspend/resume fixes
- use KILL signal to stop tvheadend
- add an option to wait for fe initialization
2.1.1
- update to addon version 2.1
- update to hts-tvheadend-85e23bb
2.0.8
- define default recordings folder to /storage/recordings
- update to hts-tvheadend-a76f365
- add patch for support IPTV radio streams
2.0.7
- enable unloading/loading dvb modules on suspend/resume
- add while loop for restarting tvheadend if it crashes
2.0.6
- add possibilty to start / stop addon from addon manager with enable / disable
- add possibility to browse filesystem for xmltv source file
- start tvheadend in video user group
- update to hts-tvheadend-b877800
2.0.5
- start userspace DVB drivers before Tvheadend
2.0.4
- update to hts-tvheadend-fdf89b2
2.0.3
- rebuild for libiconv changes
2.0.2
- update to hts-tvheadend-d66746c
2.0.1
- fix patches
2.0.0
- prepare for OpenELEC-2.0 release
1.90.2
- depends on xbmc.python API 2.0
1.90.1
- update to hts-tvheadend-fdc743f
1.90.0
- add (CH) GA Weissenstein default muxes
- prepare for OpenELEC-1.90 release
1.0.1
- add XMLTV tv_file_grab support
- add XMLTV configuration support
- add teletext support patch
- add fix memory leak patch
1.0.0
- prepare for OpenELEC-1.0 release
0.99.8
- add suspend/wakeup script
0.99.7
- update to hts-tvheadend-c88a646
0.99.6
- update to hts-tvheadend-9d775da
0.99.5
- update to hts-tvheadend-ca68ed4
0.99.4
- change icon
0.99.3
- rebuild for openssl downgrade
0.99.2
- rework start scripts
0.99.1
- initial version hts-tvheadend-90e3570

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@@ -0,0 +1,64 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="tvheadend"
PKG_VERSION="3.4.27"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.lonelycoder.com/hts/tvheadend_overview.html"
#PKG_URL="https://github.com/downloads/tvheadend/tvheadend/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_URL="$DISTRO_SRC/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain openssl curl"
PKG_PRIORITY="optional"
PKG_SECTION="service/multimedia"
PKG_SHORTDESC="tvheadend (Version: $PKG_VERSION): a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources."
PKG_LONGDESC="Tvheadend (Version: $PKG_VERSION) is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources. It also comes with a powerful and easy to use web interface both used for configuration and day-to-day operations, such as searching the EPG and scheduling recordings. Even so, the most notable feature of Tvheadend is how easy it is to set up: Install it, navigate to the web user interface, drill into the TV adapters tab, select your current location and Tvheadend will start scanning channels and present them to you in just a few minutes. If installing as an Addon a reboot is needed"
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="xbmc.service"
PKG_AUTORECONF="no"
pre_build_target() {
mkdir -p $PKG_BUILD/.$TARGET_NAME
cp -RP $PKG_BUILD/* $PKG_BUILD/.$TARGET_NAME
}
configure_target() {
./configure --prefix=/usr \
--arch=$TARGET_ARCH \
--cpu=$TARGET_CPU \
--cc=$TARGET_CC \
--enable-timeshift \
--disable-libav \
--disable-avahi \
--enable-bundle
}
post_make_target() {
$CC -O -fbuiltin -fomit-frame-pointer -fPIC -shared -o capmt_ca.so src/extra/capmt_ca.c -ldl
}
makeinstall_target() {
: # nothing to do here
}
addon() {
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -P $PKG_BUILD/.$TARGET_NAME/build.linux/tvheadend $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -P $PKG_BUILD/.$TARGET_NAME/capmt_ca.so $ADDON_BUILD/$PKG_ADDON_ID/bin
}

View File

@@ -0,0 +1,84 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
. /etc/profile
ADDON_HOME="$HOME/.xbmc/userdata/addon_data/service.multimedia.tvheadend"
ADDON_SETTINGS="$ADDON_HOME/settings.xml"
XMLTV_TYPE=`grep XMLTV_TYPE $ADDON_SETTINGS | awk '{print $3 }' | sed -e "s,value=,," -e "s,\",,g"`
XMLTV_LOCATION_FILE=`grep XMLTV_LOCATION_FILE $ADDON_SETTINGS | awk '{print $3 }' | sed -e "s,value=,," -e "s,\",,g"`
XMLTV_LOCATION_WEB=`grep XMLTV_LOCATION_WEB $ADDON_SETTINGS | awk '{print $3 }' | sed -e "s,value=,," -e "s,\",,g"`
XMLTV_LOCATION_SCRIPT=`grep XMLTV_LOCATION_SCRIPT $ADDON_SETTINGS | awk '{print $3 }' | sed -e "s,value=,," -e "s,\",,g"`
dflag=
vflag=
cflag=
if [[ $# -lt 1 ]]; then
if [ "$XMLTV_TYPE" = "FILE" ]; then
cat "$XMLTV_LOCATION_FILE"
exit 0
elif [ "$XMLTV_TYPE" = "SCRIPT" ]; then
if [ -e "$XMLTV_LOCATION_SCRIPT" ] ; then
exec "$XMLTV_LOCATION_SCRIPT"
fi
elif [ "$XMLTV_TYPE" = "WEB" ]; then
wget -qO - "$XMLTV_LOCATION_WEB"
exit 0
fi
fi
for arg; do
delim=""
case "$arg" in
#translate --gnu-long-options to -g (short options)
--description) args="${args}-d ";;
--version) args="${args}-v ";;
--capabilities) args="${args}-c ";;
#pass through anything else
*) [[ "${arg:0:1}" == "-" ]] || delim="\""
args="${args}${delim}${arg}${delim} ";;
esac
done
#Reset the positional parameters to the short options
eval set -- $args
while getopts "dvc" option; do
case $option in
d) dflag=1;;
v) vflag=1;;
c) cflag=1;;
\?) printf "unknown option: -%s\n" $OPTARG
printf "Usage: %s: [--description] [--version] [--capabilities] \n" $(basename $0)
exit 2
;;
esac >&2
done
if [ "$dflag" ]; then
printf "tv_grab_file is a simple grabber that just read the local or web XMLTV formated file\n"
fi
if [ "$vflag" ]; then
printf "0.1\n"
fi
if [ "$cflag" ]; then
printf "baseline\n"
fi

View File

@@ -0,0 +1,94 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
. /etc/profile
oe_setup_addon service.multimedia.tvheadend
ADDON_SETTINGS="$ADDON_HOME/settings.xml"
XMLTV_FILE="$ADDON_DIR/bin/tv_grab_file"
XMLTV_SETTINGS_DIR="$ADDON_HOME/xmltv"
XMLTV_SETTINGS_FILE="$XMLTV_SETTINGS_DIR/config"
DVR_SETTINGS_DIR="$ADDON_HOME/dvr"
DVR_SETTINGS_FILE="$DVR_SETTINGS_DIR/config"
DVR_DIR="$HOME/recordings"
TIMESHIFT_SETTINGS_DIR="$ADDON_HOME/timeshift"
TIMESHIFT_SETTINGS_FILE="$TIMESHIFT_SETTINGS_DIR/config"
TIMESHIFT_DIR="$ADDON_HOME/cache/timeshift"
chmod a+x $ADDON_DIR/bin/*
if [ ! -f "$XMLTV_SETTINGS_FILE" ]; then
mkdir -p $XMLTV_SETTINGS_DIR
if [ -f $ADDON_DIR/xmltv-config ]; then
cp $ADDON_DIR/xmltv-config $XMLTV_SETTINGS_FILE
fi
fi
if [ ! -f "$DVR_SETTINGS_FILE" ]; then
mkdir -p $DVR_DIR
mkdir -p $DVR_SETTINGS_DIR
if [ -f $ADDON_DIR/dvr-config ]; then
cp $ADDON_DIR/dvr-config $DVR_SETTINGS_FILE
fi
fi
if [ ! -f "$TIMESHIFT_SETTINGS_FILE" ]; then
mkdir -p $TIMESHIFT_DIR
mkdir -p $TIMESHIFT_SETTINGS_DIR
if [ -f $ADDON_DIR/timeshift-config ]; then
cp $ADDON_DIR/timeshift-config $TIMESHIFT_SETTINGS_FILE
fi
fi
if [ "$DEBUG" = "yes" ]; then
TVHEADEND_ARG="-C -s -u root -g video -c $ADDON_HOME"
else
TVHEADEND_ARG="-C -u root -g video -c $ADDON_HOME"
fi
# start userspace DVB driver/addon
for driver_dvb in $(find /storage/.xbmc/addons/driver.dvb.*/bin/userspace-driver.sh -type f 2>/dev/null); do
driver_dvb_name=$(echo $driver_dvb | awk 'BEGIN {FS="/"} {printf("%s", $5)}')
logger -t Tvheadend "### Loading userspace DVB driver: $driver_dvb_name ###"
# use ". " because of variable export
. $driver_dvb
done
# (wait for) at least 1 adapter (xbmc allows to set 0)
# xbmc allows "numeric" type field to be empty. lets handle thaat
[ "$NUM_ADAPTERS" = "" ] && NUM_ADAPTERS=1
# 0 does not make sense. should be 1 or more
[ $NUM_ADAPTERS -lt 1 ] && NUM_ADAPTERS=1
if [ "$WAIT_FOR_FEINIT" == "true" ] ; then
while [ true ] ; do
if [ -e /dev/dvb/adapter$((NUM_ADAPTERS-1))/frontend0 ] ; then
break
fi
sleep 1
done
fi
if [ "$PRELOAD_CAPMT_CA" == "true" ] ; then
logger -t Tvheadend "### Preloading capmt_ca.so library ###"
LD_PRELOAD="$ADDON_DIR/bin/capmt_ca.so $LD_PRELOAD" exec tvheadend $TVHEADEND_ARG &>$ADDON_LOG_FILE
else
exec tvheadend $TVHEADEND_ARG &>$ADDON_LOG_FILE
fi

Some files were not shown because too many files have changed in this diff Show More