Compare commits

...

371 Commits

Author SHA1 Message Date
Christian Hewitt
e855d1ea11 Merge pull request #1705 from codesnake/wetek_hub_ap6255_le8
Backport of #1701 from master to libreelec-8.0 (Add support for AP6255 wireless chip)
2017-06-20 20:13:19 +04:00
Alex Deryskyba
8fba548a46 brcmap6xxx-aml: add support for AP6255 chip 2017-06-20 12:15:58 +02:00
Alex Deryskyba
75170db1aa brcmfmac_sdio-firmware-aml: add support for Broadcom bcm4345c0 bluetooth module built into AP6255 chip 2017-06-20 12:15:51 +02:00
Alex Deryskyba
79c59908cf wlan-firmware-aml: install firmware for AP6255 chip 2017-06-20 12:15:45 +02:00
Alex Deryskyba
6285685de7 wlan-firmware-aml: update package to wlan-firmware-aml-5f5fae7 2017-06-20 12:15:38 +02:00
Alex Deryskyba
8c39d597f7 wlan-firmware-aml: download package source from openwetek repository 2017-06-20 12:15:31 +02:00
Christian Hewitt
97fa217f54 Merge pull request #1622 from awiouy/librespot
librespot: initial addon
2017-06-20 10:00:52 +04:00
awiouy
ab246ebe97 librespot: initial addon 2017-06-20 01:04:28 +02:00
awiouy
4862642f6e rust: initial package 2017-06-19 22:53:11 +02:00
awiouy
4ab656fe61 pyalsaaudio: initial package 2017-06-19 22:53:10 +02:00
awiouy
bb4e3f354d avahi: build libdns_sd without installing it 2017-06-19 17:02:20 +02:00
Christian Hewitt
f8a588e57e Merge pull request #1679 from glenvt18/screen-fixes-8.0
backport of #1678 (GNU screen color fixes)
2017-06-16 09:28:47 +04:00
Christian Hewitt
d206d46f3e Merge pull request #1688 from MilhouseVH/nofuse2fs_le8
e2fsprogs: do not build fuse2fs [backport]
2017-06-16 09:25:05 +04:00
Christian Hewitt
c9a2d68cfa Merge pull request #1685 from MilhouseVH/e2fsprogs_fix_le8
e2fsprogs: avoid installing read-only files into the toolchain
2017-06-16 09:24:29 +04:00
Christian Hewitt
5ebb357e1a Merge pull request #1673 from CvH/im_url_8
imagemagick: change download url
2017-06-16 09:22:25 +04:00
Christian Hewitt
8dbfc26f94 Merge pull request #1677 from InuSasha/fixes/syncthing-le8
syncthing: update to 0.14.29 [backport]
2017-06-16 09:17:32 +04:00
MilhouseVH
1d0aa1bedb e2fsprogs: do not build fuse2fs [backport] 2017-06-12 14:14:46 +01:00
MilhouseVH
843d59fcfb e2fsprogs: add force on copy to overwrite any existing read-only files 2017-06-11 18:02:03 +01:00
MilhouseVH
21d9e1293e e2fsprogs: avoid installing read-only files into the toolchain 2017-06-11 17:50:01 +01:00
glenvt18
9b33d3589e system-tools: bump screen 2017-06-09 20:53:52 +03:00
glenvt18
1c89f1826a screen: update to 4.5.1 2017-06-09 20:46:36 +03:00
glenvt18
ebdb386091 screen: enable 256 colors support 2017-06-09 20:46:32 +03:00
glenvt18
d4c7b7e4b4 screen: netbsd-curses fix
TERMINFO test is not run while cross-compiling. If TERMINFO is not set
(in config.h), only colors 0-7 are displayed with netbsd-curses.
2017-06-09 20:46:26 +03:00
Sascha Kuehndel (InuSasha)
5b101dc237 syncthing: update to 0.14.29
+ use go:host instead of system:go
2017-06-08 22:13:23 +02:00
cvh
d7c5753ca7 imagemagick: change download url 2017-06-06 11:29:15 +02:00
Lukas Rusak
aa967f4fc6 Merge pull request #1651 from chewitt/adaptive
addons: fix githash for inputstream.adaptive
2017-06-03 22:17:34 -07:00
Christian Hewitt
f9bce9dd13 Merge pull request #1665 from thoradia/locale-fu-8
locale: fix dialog message
2017-05-31 19:50:15 +04:00
thoradia
5fc0a7b38b locale: fix dialog message 2017-05-30 08:52:43 +02:00
Christian Hewitt
1b40fa2d9a Merge pull request #1662 from awiouy/mono-501-8
mono: update to 5.0.1.1
2017-05-30 10:34:57 +04:00
awiouy
8159703761 mono: update to 5.0.1.1 2017-05-30 08:03:20 +02:00
Christian Hewitt
13b2a84ea1 Merge pull request #1652 from CvH/tvh_8_nv
tvheadend42: update to 4.2.2-32
2017-05-28 12:03:20 +04:00
Christian Hewitt
d03d9cdd6f Merge pull request #1531 from thoradia/locale
locale: initial add-on
2017-05-28 11:19:41 +04:00
Christian Hewitt
6dbb0a9698 Merge pull request #1654 from lrusak/lan951x-led-ctl-libreelec-8.0
backport of #1653 (add lan951x-led-ctl)
2017-05-28 06:39:29 +04:00
cvh
6c59612930 tvheadend42: update 2017-05-28 00:40:52 +02:00
Lukas Rusak
d7b1df1730 rpi-tools: add lan951x-led-ctl 2017-05-27 08:45:42 -07:00
Lukas Rusak
571bb9f145 lan951x-led-ctl: initial package 2017-05-27 08:45:41 -07:00
TheUlpio
ed5ca47a8f tvheadend42: tv_grab_file support compressed xmltv 2017-05-27 14:53:07 +02:00
chewitt
0ca4008f8b addons: fix githash for inputstream.adaptive 2017-05-27 05:46:30 +01:00
Christian Hewitt
679cd0482b Merge pull request #1645 from awiouy/emby-3.2.17-8
emby: update to 3.2.17.0
2017-05-27 06:54:49 +04:00
Christian Hewitt
d88ef305cc Merge pull request #1643 from awiouy/mono5-8
mono: update to 5.0.0.100
2017-05-27 06:54:32 +04:00
Lukas Rusak
8e03887f6c Merge pull request #1648 from chewitt/bump_version
config: set version to devel
2017-05-25 20:56:05 -07:00
chewitt
eb92ad3d5f config: set version to devel 2017-05-26 04:15:02 +01:00
Christian Hewitt
d49c4e5b11 Merge pull request #1647 from Stane1983/libreelec-8.0-wetekdvb
wetekdvb: Use older WeTek proprietary DVB modules if building for WP1
2017-05-26 05:25:57 +04:00
Stanislav Vlasic
cc1740a4ba wetekdvb: Use older WeTek proprietary DVB modules if building for WP1 2017-05-26 01:15:38 +02:00
awiouy
fd382b9743 emby: update to 3.2.17.0 2017-05-25 19:15:26 +02:00
awiouy
9dc1f5d168 x264: update to snapshot-20170524-2245-stable 2017-05-25 18:39:55 +02:00
awiouy
e5b2ea3244 imagemagick: update to 7.0.5-7 2017-05-25 18:39:06 +02:00
awiouy
4e9fbb01fb ffmpegx: rebuild 2017-05-25 18:38:09 +02:00
awiouy
db2facc06a mono: update to 5.0.0.100 2017-05-25 17:45:40 +02:00
awiouy
2c8e9d4a15 libgdiplus: update to 5.4 2017-05-25 17:45:39 +02:00
thoradia
1ab8c01495 locale: initial add-on 2017-05-25 10:16:11 +02:00
Lukas Rusak
3a202a3020 Merge pull request #1639 from chewitt/bump_version
config: set version to 8.0.2
2017-05-24 22:35:06 -07:00
chewitt
05315f3fc8 config: set version to 8.0.2 2017-05-25 06:20:34 +01:00
Christian Hewitt
feae1d23a5 Merge pull request #1640 from MilhouseVH/kodi17.3
kodi: update to 17.3
2017-05-25 05:18:22 +04:00
Christian Hewitt
812331133d Merge pull request #1641 from MilhouseVH/linux4929
linux: update to linux-4.9.29
2017-05-25 05:08:01 +04:00
MilhouseVH
d0df1c2b06 kodi: update to kodi-147cec4 2017-05-24 22:30:03 +01:00
MilhouseVH
9f71e3125a RPi: Workaround PR already in package, but also in backports 2017-05-24 22:30:03 +01:00
MilhouseVH
72f0a90609 binary-addons: update to latest 2017-05-24 22:30:03 +01:00
MilhouseVH
8a337ef50d RPi: update firmware to 856c68d 2017-05-24 22:30:03 +01:00
MilhouseVH
4bb4dcab1d ffmpeg: update hevc commits 2017-05-24 22:30:03 +01:00
MilhouseVH
b3d9313309 RPi/RPi2: Update kodi support patches 2017-05-24 22:30:03 +01:00
MilhouseVH
1bf09aea4e linux: update to linux-4.9.29 2017-05-24 17:44:55 +01:00
MilhouseVH
d86a21c411 RPi/RPi2: update linux support patches for linux 4.9.29 2017-05-24 17:44:14 +01:00
MilhouseVH
69c2096793 Merge pull request #1638 from chewitt/kodi_172
kodi: use correct 17.2 githash
2017-05-24 01:10:54 -07:00
chewitt
ba18b00209 kodi: use correct 17.2 githash 2017-05-24 05:46:51 +01:00
Christian Hewitt
7a8d54fded Merge pull request #1634 from vpeter4/imx6_options_8
imx6/options: unify linux version strings and simplify it's usage …
2017-05-24 00:12:20 +04:00
MilhouseVH
f781309802 Merge pull request #1636 from chewitt/kodi_172
kodi: update to 17.2
2017-05-23 13:09:20 -07:00
chewitt
be0ac4b955 kodi: updates to binary add-ons 2017-05-23 20:42:30 +01:00
Christian Hewitt
0e53edf8c7 Merge pull request #1637 from HiassofT/libreelec-8.0-clk-fix
[LE8] RPi/RPi2: add kernel patch to fix I2S clock
2017-05-23 23:39:34 +04:00
chewitt
368db6a726 kodi: fix update_binary-addons script 2017-05-23 20:37:39 +01:00
Matthias Reichl
59be68f4b0 RPi/RPi2: add kernel patch to fix I2S clock
rpi-4.9.y commit 76527b4e6a5dbe55e0b2d8ab533c2388b36c86be

This fixes 48kHz samplerate not working on HifiBerry Amp+.
See https://github.com/raspberrypi/linux/issues/2016

This patch can be dropped on the next RPi kernel bump.

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-05-23 18:41:37 +02:00
chewitt
6960dc5359 kodi: update to 17.2 2017-05-23 16:40:45 +01:00
Peter Vicman
2612b796d5 imx6/options: unify linux version strings and simplify it's usage [backport of #1633]
Variable LINUX_VERSION now took value '3.14-sr' to build imx6 project with 3.14 kernel from solidrun.
2017-05-21 19:27:34 +02:00
CvH
2521cb30d5 Merge pull request #1632 from chewitt/linuxaml
linux: update linux-amlogic 3.10 and 3.14
2017-05-20 18:21:42 +02:00
chewitt
f2935775e4 linux: update linux-amlogic 3.10 and 3.14 2017-05-20 15:24:12 +01:00
Christian Hewitt
2a15ccbc86 Merge pull request #1627 from vpeter4/kodi_8_sigterm
imx6/kodi: reinstall SIGTERM signal handler after GUI is created
2017-05-16 20:46:49 +04:00
Peter Vicman
a761a2725e imx6/kodi: reinstall SIGTERM signal handler after GUI is created
seems imx-gpu-viv-5.0.11.p7.4-hfp overwrites signal handler
thats why we set it again after GUI is already created
without this patch kodi exits immediately on any received signal
and settings are not saved

this pr is send only to libreelec-8.0 branch
for master I will investigate for some other solutions (like
downgrading or upgrading galcore for a few versions)
2017-05-16 12:51:55 +02:00
Christian Hewitt
12b1e672a9 Merge pull request #1511 from CvH/vdr_bump_8
backport of #1510
2017-05-14 19:18:14 +04:00
cvh
e1c0d65ab9 vdr-addon: update addon 2017-05-14 01:02:58 +02:00
oCanna
af7adda9e6 VDR: dynamically resize buffer for caids 2017-05-14 01:02:56 +02:00
Christian Hewitt
43ea8529e9 Merge pull request #1618 from vpeter4/eth_speed_8
imx6/linux: limit ethernet speed to 100mbits which works reliable ...
2017-05-12 18:30:56 +04:00
Christian Hewitt
3db5fcf296 Merge pull request #1621 from vpeter4/gles_8
projects/imx6: use galcore v5 on linux 4.4 [backport of #1620]
2017-05-11 20:08:33 +04:00
Peter Vicman
49e316bc98 projects/imx6: use galcore v5 on linux 4.4 2017-05-11 17:44:42 +02:00
Christian Hewitt
73e0b6b5a4 Merge pull request #1619 from Raybuntu/cec_LG8
Odroid_C2/u-boot: Make LG CEC (Simplink) wakeup work
2017-05-10 21:48:44 +04:00
Peter Vicman
be49525470 imx6/linux: limit ethernet speed to 100mbits which works reliable [backport of #1617]
to enable gigabit speed module parameter via kernel command line
must be set in form fec.disable_giga=0
2017-05-10 18:31:29 +02:00
MilhouseVH
d7ff410795 Merge pull request #1598 from chewitt/drop_patch_8
linux: bump linux-amlogic and drop WP2 patch
2017-05-09 22:37:05 -07:00
MilhouseVH
7e2ccb295d Merge pull request #1570 from chewitt/connman_8
connman: update to 1.34 and drop patches
2017-05-09 22:34:03 -07:00
Christian Hewitt
bfc347ceb4 Merge pull request #1609 from vpeter4/imx_gpu_viv_8
imx-gpu-viv: fix typo [backport of #1608]
2017-05-09 11:31:07 +04:00
Radostan Riedel
c892b2adf6 Odroid_C2/u-boot: Make LG CEC (Simplink) wakeup work 2017-05-06 22:42:45 +02:00
Peter Vicman
4962e1fca4 imx-gpu-viv: fix typo [backport of #1608] 2017-05-06 21:04:33 +02:00
Christian Hewitt
b60a6e2d92 Merge pull request #1606 from vpeter4/imx6_console_8
projects/imx6: init terminal with reset command in console service […
2017-05-06 13:40:21 +04:00
Christian Hewitt
5867c36671 Merge pull request #1604 from vpeter4/imx_gpu_viv_8
imx-gpu-viv: update to galcore v5 on linux 4.4 [backport of #1603]
2017-05-06 13:39:27 +04:00
Christian Hewitt
1997236387 Merge pull request #1605 from vpeter4/imx6_linux_patches_8
imx6/linux: update patches for som v1.5 from solidrun [backport of …
2017-05-06 13:35:40 +04:00
Peter Vicman
0c7457e724 projects/imx6: init terminal with reset command in console service [backport of #1600] 2017-05-05 21:00:18 +02:00
Peter Vicman
1bfd8e7f61 imx6/linux: update patches for som v1.5 from solidrun [backport of #1602] 2017-05-05 20:52:47 +02:00
Peter Vicman
a32394bca6 imx-gpu-viv: update to galcore v5 on linux 4.4 [backport of #1603] 2017-05-05 20:48:44 +02:00
chewitt
5ff2b1a955 linux: bump linux-amlogic to 20791e8 2017-05-05 14:04:53 +01:00
chewitt
a7802044ca linux: drop revert_dvb_core patch for WP2 2017-05-05 14:03:53 +01:00
Christian Hewitt
dd4431b2a0 Merge pull request #1593 from vpeter4/u-boot-8
imx6/u-boot: update to ad02f49 [backport of #1592]
2017-05-05 10:15:02 +04:00
Peter Vicman
9b819040be imx6/u-boot: update to ad02f49 [backport of #1592] 2017-05-04 13:35:36 +02:00
Christian Hewitt
b15c63b07e Merge pull request #1586 from codesnake/gpu-aml_rfc_date-le8
Backport of #1558 (packages/linux-drivers/gpu-aml: Use RFC date in version string)
2017-05-02 06:17:20 +04:00
Alex Deryskyba
bc826f551f packages/linux-drivers/gpu-aml: Use RFC date in version string to avoid unwanted symbols that may appear in localized date and cause build errors 2017-05-01 18:26:54 +02:00
Christian Hewitt
ffd9cb41f9 Merge pull request #1576 from vpeter4/dtc_8
dtc: bump package, change url and use correct file type [backport of …
2017-05-01 01:02:39 +04:00
Christian Hewitt
50b29efbb3 Merge pull request #1581 from MilhouseVH/fix_mythtv_le8
pvr.mythtv: change url, bump to c4259bf (4.15.0) [LE8]
2017-05-01 00:54:14 +04:00
MilhouseVH
66d6f4dc69 pvr.mythtv: change url, bump to c4259bf (4.15.0) 2017-04-30 21:39:22 +01:00
Christian Hewitt
5d3ab28b5d Merge pull request #1579 from MilhouseVH/createlog_sanity_le8
createlog: bring sanity to kodi log order [backport]
2017-04-30 19:47:20 +04:00
MilhouseVH
d7e4c1993d createlog: bring sanity to kodi log order 2017-04-30 15:03:02 +01:00
Christian Hewitt
05f5831370 Merge pull request #1578 from vpeter4/kernel-firmware-8
kernel-firmware: change url and use correct file type [backport of …
2017-04-30 13:45:37 +04:00
Peter Vicman
964dada278 kernel-firmware: change url and use correct file type [backport of #1577] 2017-04-30 11:25:26 +02:00
Peter Vicman
e7e994bfd9 dtc: bump package, change url and use correct file type [backport of #1575]
even if tar.xz is requested it is tar.gz returned
fixes as described https://forum.libreelec.tv/thread-7906-post-47449.html
2017-04-30 09:13:03 +02:00
Christian Hewitt
be3c850da2 Merge pull request #1574 from MilhouseVH/kernel_4924_update
linux: update RPi support patches and firmware [LE8]
2017-04-29 07:41:10 +04:00
Christian Hewitt
7bf499fef1 Merge pull request #1573 from vpeter4/busybox_tilde_8
busybox: enabling CONFIG_FEATURE_USERNAME_COMPLETION in busybox-targe…
2017-04-28 23:36:55 +04:00
MilhouseVH
5c12e6dd48 RPi: update firmware to cb0b0ad 2017-04-28 20:23:33 +01:00
MilhouseVH
e6bda27080 RPi/RPi2: update linux support patches for linux 4.9.24 2017-04-28 20:22:23 +01:00
Peter Vicman
93431a3420 busybox: enabling CONFIG_FEATURE_USERNAME_COMPLETION in busybox-target.conf
fixes tilde (~) expand as described https://forum.libreelec.tv/thread-7874-post-47261.html

busybox size increase ~500 bytes
2017-04-28 18:22:14 +02:00
chewitt
a925249f24 connman: update to 1.34 and drop patches 2017-04-27 13:18:13 +01:00
Christian Hewitt
8e4356aa1b Merge pull request #1568 from CvH/rpi-hat-le8
media_build: add CXD2880 support (rpi-hat)
2017-04-26 10:59:42 +04:00
cvh
6fdb71c0aa media_build: add CXD2880 support (rpi-hat) 2017-04-26 08:05:14 +02:00
Christian Hewitt
8de6404b30 Merge pull request #1566 from MilhouseVH/kernel_4924
linux: update to linux-4.9.24 [LE8]
2017-04-25 10:51:45 +04:00
MilhouseVH
0e3510b6c9 linux: drop obsolete linux-999-i915-use-legacy-turbo.patch 2017-04-24 18:58:54 +01:00
MilhouseVH
686a73b56b linux: update options for 4.9.24 2017-04-24 18:45:25 +01:00
MilhouseVH
8eb85ddaa9 RPi/RPi2: update linux support patches for linux 4.9.24 2017-04-24 18:33:05 +01:00
MilhouseVH
7f406af767 RPi: update firmware to 570b095 2017-04-24 18:10:54 +01:00
MilhouseVH
b6f56108ec linux: update to linux-4.9.24 2017-04-24 18:05:57 +01:00
Christian Hewitt
294e7c5412 Merge pull request #1564 from CvH/tzdata-le8
backport of #1519
2017-04-24 10:07:03 +04:00
cvh
19bcb1a1fe timezone-data: update to 2017b 2017-04-24 07:25:03 +02:00
Christian Hewitt
47f98a2bb9 Merge pull request #1563 from MilhouseVH/cleanups-le8
Cleanup: Minor package fixes [backport]
2017-04-24 06:40:52 +04:00
Christian Hewitt
6eddc217f6 Merge pull request #1560 from vpeter4/imx6-led-8
imx6-status-led: add support for som v1.5 from solidrun
2017-04-23 22:36:42 +04:00
Peter Vicman
da6317584e imx6-status-led: add support for som v1.5 from solidrun 2017-04-23 20:27:33 +02:00
MilhouseVH
5455666f32 linux: remove CONFIG_RTL8XXXU support across all platforms for consistency 2017-04-23 16:34:52 +01:00
MilhouseVH
a9b0111317 kodi: remove zero-byte database files at startup 2017-04-23 16:31:36 +01:00
MilhouseVH
b288787969 imx6: remove iwlwifi-firmware 2017-04-23 16:30:28 +01:00
MilhouseVH
1298174ad5 Merge pull request #1543 from chewitt/qtbase-8
qtbase: fix stdlib.h build error
2017-04-23 06:02:45 -07:00
MilhouseVH
653e53173f Merge pull request #1548 from chewitt/bump_e2fsprogs
e2fsprogs: bump to 1.43.3
2017-04-23 06:02:28 -07:00
Christian Hewitt
2b436b3212 Merge pull request #1553 from MilhouseVH/fix_ap_forwarding-le8
connman: fix ipv4 IP Forwarding bug [backport]
2017-04-23 07:47:48 +04:00
MilhouseVH
2f25c2c8f4 connman: fix ip forwarding bug 2017-04-22 02:57:38 +01:00
Christian Hewitt
29658ecb0f Merge pull request #1551 from CvH/dvb-addons-8
backport of #1550
2017-04-21 20:31:36 +04:00
MilhouseVH
6ff220ed5d Merge pull request #1559 from chewitt/bump_addons_krypton
kodi: bumps to binary-addons
2017-04-21 05:18:17 -07:00
chewitt
da312dc7d6 kodi: bumps to binary-addons 2017-04-21 13:12:31 +01:00
Christian Hewitt
81888a7c85 Merge pull request #1556 from redaxium/libreelec-8.0
linux: set CONFIG_GPIO_SYSFS=y in kernel for Generic x86 Build LE8
2017-04-21 06:53:49 +04:00
karl
f122879a43 CONFIG_GPIO_SYSFS LE8 2017-04-20 11:33:46 +01:00
cvh
309710e64b dvb-tools: update addon 2017-04-19 23:26:22 +02:00
cvh
64965b0ebc dvb-tools: add mumudvb 2017-04-19 23:26:21 +02:00
chewitt
32258c087d e2fsprogs: bump to 1.43.3 2017-04-19 12:52:27 +01:00
chewitt
79108024da qtbase: fix stdlib.h build error 2017-04-18 12:06:42 +01:00
Lukas Rusak
10de47343f Merge pull request #1536 from piotrasd/patch-1
re-add patch for AE minimal sample rate
2017-04-17 00:04:07 -07:00
Lukas Rusak
aea575eb29 Merge pull request #1527 from chewitt/misc-firmware
misc-firmware: change repo and update to 0ed3d22
2017-04-17 00:03:18 -07:00
piotrasd
42ee709cfe re-add patch for AE minimal sample rate
workaround to define a minimum sample Rate for broken AVRs
2017-04-16 22:44:16 +01:00
Christian Hewitt
55559f8be5 Merge pull request #1530 from awiouy/8-mon0-4.8.1.0
Back port of #1529
2017-04-15 16:28:51 +04:00
Christian Hewitt
d5705c79ab Merge pull request #1534 from codesnake/fix_core_build_le8
Backport of #1533 (projects/WeTek_Core: Fix kernel build after #1504)
2017-04-15 15:13:09 +04:00
Alex Deryskyba
f223e23fe3 projects/WeTek_Core: Fix kernel build after #1516 2017-04-15 11:50:39 +02:00
awiouy
9957940e86 mono: update to 4.8.1.0 2017-04-14 09:15:49 +02:00
chewitt
9a5e94fb6e misc-firmware: change repo and update to 0ed3d22 2017-04-12 16:17:32 +01:00
Christian Hewitt
ae018780a8 Merge pull request #1525 from codesnake/update_wetekdvb_le8
Backport of #1522 (Update WeTek proprietary DVB modules to wetekdvb-20170404)
2017-04-12 08:25:54 +04:00
Alex Deryskyba
34de01dfa5 packages/linux-drivers/wetekdvb: Update WeTek proprietary DVB modules to wetekdvb-20170404 2017-04-11 10:53:48 +02:00
Christian Hewitt
b09726929f Merge pull request #1516 from warwickmm/wetek_core_hotplug_governor_le8
Backport of #1504 (projects/WeTek_Core: Switch to "hotplug" CPU scaling governor)
2017-04-09 08:22:45 +04:00
Kenneth Hsu
942b1ffa80 projects/WeTek_Core: Switch to "hotplug" CPU scaling governor
Many WeTek Core users have been experiencing major UI lag issues when
using the "ondemand" governor.  If left inactive for a period of time,
the UI becomes extremely sluggish and a reboot is required.

Users did not experience this issue with LE 7.  The switch from the
"performance" to "interactive" governor was made in revision 8610fb3270
("projects/WeTek_Core: Use interactive CPU scaling governor by
default").  Users then started experiencing the UI issues, and revision
c908c1f453 ("projects/WeTek_Core: Switch to ondemand CPU scaling
governor") attempted to address the problem.  Unfortunately, this did
not appear to resolve the issue.

After switching to "hotplug", users could not replicate the UI lag
issues anymore.
2017-04-08 20:34:14 -07:00
Christian Hewitt
b4802bd5c4 Merge pull request #1515 from CvH/tbs_suspend
media_build: fix suspend of cx231xx
2017-04-09 07:22:30 +04:00
cvh
82cc40069f media_build: fix suspend of cx231xx 2017-04-08 20:57:04 +02:00
Christian Hewitt
745f6790ec Merge pull request #1499 from lsellens/libreelec-8.0
net-snmp: make addon configurable through gui settings
2017-04-08 11:53:28 +04:00
Christian Hewitt
fefe70559c Merge pull request #1490 from HiassofT/le8-lirc-udev
LE8 backport of #1489 lirc: also support lirc devices from the rc subsystem
2017-04-08 11:49:57 +04:00
Christian Hewitt
6c328cfe3b Merge pull request #1492 from awiouy/emby-3.2.8
emby: update to 3.2.8
2017-04-08 11:41:34 +04:00
CvH
ee22bb0dbb Merge pull request #1497 from chewitt/tplink-t4uv2
RTL8812AU: add device ID for TP-Link T4U ver 2
2017-04-06 19:21:44 +02:00
Christian Hewitt
4b9d71d9e9 Merge pull request #1509 from kszaq/aml_720p_fix
kodi/aarch64: fix 720p -> 1080p switch
2017-04-06 20:18:18 +04:00
kszaq
d41dc1878d kodi/aarch64: fix 720p -> 1080p switch 2017-04-05 12:11:37 +02:00
Christian Hewitt
42b123e712 Merge pull request #1496 from awiouy/lcd_gpio_8
lcdd: update to 466edd3
2017-04-05 00:41:42 +04:00
Christian Hewitt
8c6ef4c2ab Merge pull request #1503 from MilhouseVH/linux4920
RPi: update linux backports and firmware bug fix
2017-04-05 00:14:11 +04:00
MilhouseVH
b4e2344026 RPi/RPi2: update linux support patches for linux 4.9.20 2017-04-04 20:27:58 +01:00
MilhouseVH
fb1e10f464 RPi: update to firmware-b038854 2017-04-04 19:16:57 +01:00
Christian Hewitt
a5b8ce77c9 Merge pull request #1494 from vpeter4/imx6-gpio-3.14
imx6/linux: export symbol used by gpio-ir-recv
2017-04-04 15:22:24 +04:00
Christian Hewitt
2adbedec41 Merge pull request #1501 from MilhouseVH/linux4919
linux: update to linux-4.9.20 (LE8)
2017-04-04 15:22:06 +04:00
MilhouseVH
880f43ee94 RPi: Update to firmware-e5ca26f 2017-04-03 01:07:41 +01:00
MilhouseVH
7301560cd2 RPi: enable new soundcards 2017-04-03 01:07:41 +01:00
MilhouseVH
0fd4cdea9e RPi/RPi2: update linux support patches for linux 4.9.20 2017-04-03 01:07:41 +01:00
MilhouseVH
42ed3d20b6 linux: drop upstream patch 2017-04-03 01:07:41 +01:00
MilhouseVH
ef4443c1de linux: update to linux-4.9.20 2017-04-03 01:07:41 +01:00
MilhouseVH
0efa45223c tools: fix generation script to support variable rebase suffix 2017-04-03 01:07:40 +01:00
lsellens
e82bde9920 net-snmp: make addon configurable through gui settings 2017-04-02 14:01:19 -05:00
chewitt
0f6b1c4142 RTL8812AU: add device ID for TP-Link T4U ver 2 2017-04-01 13:47:33 +01:00
awiouy
3a29a9e2ce lcdd: update to 466edd3 2017-03-30 20:03:35 +02:00
Peter Vicman
b93596fae2 imx6/linux: export symbol used by gpio-ir-recv 2017-03-28 09:08:44 +02:00
awiouy
5b97d63c95 emby: update to 3.2.8 2017-03-28 00:48:11 +02:00
awiouy
73cf0af5dd x264: update to snapshot-20170327-2245-stable 2017-03-28 00:47:11 +02:00
awiouy
8fa60279d3 ffmpegx: rebuild 2017-03-28 00:46:30 +02:00
Matthias Reichl
2c9f5eeebd lirc: also support lirc devices from the rc subsystem
Signed-off-by: Matthias Reichl <hias@horus.com>
2017-03-27 18:29:36 +02:00
lsellens
94cffa28cd config: remove unused/outdated file 2017-03-24 22:04:33 +04:00
Christian Hewitt
51a6b73f3b Merge pull request #1476 from lsellens/libreelec-8.0
net-snmp: fix build errors
2017-03-24 19:28:34 +04:00
Peter V
6682c6267f Merge pull request #1480 from chewitt/version_devel
config: set version to devel
2017-03-24 12:05:51 +01:00
chewitt
5ed35c1262 config: set version to devel 2017-03-24 10:54:23 +00:00
lsellens
4c139b3a02 net-snmp: fix build errors 2017-03-23 12:58:08 -05:00
Peter V
b23f269dbe Merge pull request #1463 from chewitt/v801
config: set version to 8.0.1
2017-03-23 09:21:33 +01:00
chewitt
796223f8c6 config: set version to 8.0.1 2017-03-23 08:19:42 +00:00
Peter V
ce9a46ea73 Merge pull request #1473 from chewitt/bump-iwlwifi
iwlwifi: udpate to ba301aa
2017-03-23 09:18:24 +01:00
chewitt
fdcab899bc iwlwifi: udpate to ba301aa 2017-03-23 08:13:40 +00:00
CvH
18a20870c1 Merge pull request #1472 from chewitt/bump-settings
settings: bump to 0.8.11
2017-03-23 08:44:16 +01:00
chewitt
e4c842b45b settings: bump to 0.8.11 2017-03-23 05:29:03 +00:00
Christian Hewitt
c4ebfb00cd Merge pull request #1468 from piotrasd/patch-4
mesa: bump to 13.0.6
2017-03-22 21:18:00 +04:00
piotrasd
845c4c97d9 mesa: bump to 13.0.6
Only critial issue/bug fixes here

https://www.mesa3d.org/relnotes/13.0.4.html
https://www.mesa3d.org/relnotes/13.0.5.html
https://www.mesa3d.org/relnotes/13.0.6.html

All changes described:
New features
"None" !

Only bug fixes some related with kodi
Bug 99158 - vdpau segfaults and gpu locks with kodi on R9285
2017-03-22 16:50:53 +00:00
Peter V
534dc1f932 Merge pull request #1467 from chewitt/projectm-glew
projectm: drop glew patch merged upstream
2017-03-22 17:36:07 +01:00
Christian Hewitt
9a749b5654 Merge pull request #1466 from mglae/fix_fs-resize-8.0
Fix file system resize script hang
2017-03-22 20:32:26 +04:00
chewitt
8b98e0dc78 projectm: drop glew patch merged upstream 2017-03-22 06:50:24 +00:00
Christian Hewitt
fe48e16b78 Merge pull request #1464 from MilhouseVH/kodi17.1-extra
RPi/RPi2: Update kodi support patches
2017-03-22 06:11:31 +04:00
mglae
12be174140 busybox: fix fs-resize by using sgdisk 2017-03-21 23:29:15 +01:00
mglae
01e30699f1 gptfdisk: new package providing sgdisk 2017-03-21 23:28:53 +01:00
MilhouseVH
241b089dbd ffmpeg: update hevc patch with turbo fix 2017-03-21 21:56:30 +00:00
MilhouseVH
7bdafac236 RBP: Update firmware to 2ef9cb6 2017-03-21 21:32:17 +00:00
MilhouseVH
f42e876e11 RPi/RPi2: Update kodi support patches 2017-03-21 21:31:24 +00:00
MilhouseVH
4bf466922e Merge pull request #1462 from chewitt/fix-patch
kodi: drop commits from RPi backports patch
2017-03-21 11:07:00 +00:00
CvH
a0d90c3e2d Merge pull request #1461 from chewitt/aml-bump
linux: update amlogic-3.14 to eb7e852
2017-03-21 08:47:38 +01:00
chewitt
735086eb55 kodi: drop commits from RPi backports patch 2017-03-21 05:12:18 +00:00
chewitt
bbdc495bf5 linux: update amlogic-3.14 to eb7e852 2017-03-21 03:25:24 +00:00
Christian Hewitt
08c2e35be9 Merge pull request #1460 from MilhouseVH/kodi17.1
kodi: update to kodi-17.1
2017-03-21 07:13:41 +04:00
MilhouseVH
6c91178539 ffmpeg: fix an issue with MMAL rendering 2017-03-20 22:28:17 +00:00
MilhouseVH
4ca55555ac RPi/RPi2: update firmware to 3845593 2017-03-20 22:18:36 +00:00
MilhouseVH
5bb439d3b6 RPi/RPi2: Update kodi support patches 2017-03-20 22:17:23 +00:00
MilhouseVH
a406686a05 kodi: update kodi-binary-addons 2017-03-20 22:17:13 +00:00
MilhouseVH
c3a7fcffae kodi: update to kodi-17.1 2017-03-20 22:12:27 +00:00
Christian Hewitt
a7cf6b31fe Merge pull request #1446 from awiouy/squeezelite-8.0
multimedia-tools: update squeezelite to a3d95ec
2017-03-17 10:46:29 +04:00
Christian Hewitt
03167fa8f6 Merge pull request #1439 from HiassofT/le8-ir-keytable-split
backport of #1438 v4l-utils: cleanup locally added keymaps, remove crime against rc6_mce
2017-03-17 09:19:41 +04:00
Christian Hewitt
7e1bf53b40 Merge pull request #1434 from HiassofT/le8-ir-keytable
backport of #1433 properly fix streamzap issues, allow user rc_maps.cfg override
2017-03-17 09:18:36 +04:00
Christian Hewitt
029487648d Merge pull request #1436 from vpeter4/imx6-8.0-linux-vero-patches
imx6/linux: kernel fixes from vero (maybe fixes black screen when boo…
2017-03-17 09:17:15 +04:00
Christian Hewitt
c3766580f9 Merge pull request #1435 from vpeter4/imx6-8.0-kodi-deinterlace
imx6/kodi: set default scan order to 'top field first' for MBAFF AVC …
2017-03-17 09:16:03 +04:00
awiouy
bb79e9854d multimedia-tools: update squeezelite to a3d95ec 2017-03-14 23:52:57 +01:00
awiouy
6e2c397be6 squeezelite: update to a3d95ec and link audio libraries 2017-03-14 23:49:22 +01:00
Matthias Reichl
6289fefb19 v4l-utils: fix invalid keynames in hp mce remote table
Signed-off-by: Matthias Reichl <hias@horus.com>
2017-03-12 18:29:45 +01:00
Matthias Reichl
40c68b1236 v4l-utils: create separate keymaps instead of patching rc6_mce
All locally added remote keycodes are now in separate files,
one per remote, instead of adding them to rc6_mce.

A new keymap, libreelec_multi, with all keycodes of the previous
rc6_mce map is added in install and used by default when the
remote is configured to use the rc-rc6-mce table.

The default behaviour is unchanged, LE can still be controlled with
MCE, xbox, ... remotes out of the box but it's now possible to configure
the ir receiver to react only on the codes sent by a specific remote.

This solves the issue where a xbox remote always controlled LE even
when a user only wanted to control it with a MCE remote.

To do this simply create a /storage/.config/rc_maps.cfg file with
the following content:

*	rc-rc6-mce	rc6_mce

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-03-12 18:29:45 +01:00
Christian Hewitt
3e1bdc3e17 Merge pull request #1437 from gdachs/eliminates-lags-after-bluetooth-packet-loss-8.0
added patch packages/audio/pulseaudio/patches/pulseaudio-0900.03-elim…
2017-03-12 20:58:34 +04:00
Gerald Dachs
21b1b6f4ea added patch packages/audio/pulseaudio/patches/pulseaudio-0900.03-eliminates-lags-after-bluetooth-packet-loss.patch 2017-03-12 17:52:04 +01:00
Peter Vicman
1fb2edc659 imx6/linux: kernel fixes from vero (maybe fixes black screen when booting)
thanks to @samnazarko
2017-03-12 16:49:47 +01:00
Peter Vicman
d7da465515 imx6/kodi: set default scan order to 'top field first' for MBAFF AVC files
fixes deinterlace when scan order is not explicitly  set
https://forum.libreelec.tv/thread-5849.html
2017-03-12 16:44:37 +01:00
Matthias Reichl
586092ce7b v4l-utils: support user keytable map in /storage/.config/
Signed-off-by: Matthias Reichl <hias@horus.com>
2017-03-12 14:16:18 +01:00
Matthias Reichl
65bd18949d v4l-utils: replace streamzap fix with proposed upstream patch
See http://www.mail-archive.com/linux-media@vger.kernel.org/msg108483.html

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-03-12 14:16:07 +01:00
MilhouseVH
7948131c88 Merge pull request #1428 from chewitt/settings_0810
settings: bump to v0.8.10
2017-03-10 04:00:56 +00:00
chewitt
31f55cbd62 settings: bump to v0.8.10 2017-03-10 03:53:19 +00:00
Christian Hewitt
83f2e8d015 Merge pull request #1425 from MilhouseVH/need_unpack_correction_le8
buildsystem: Don't restrict PKG_NEED_UNPACK to package.mk [backport]
2017-03-10 07:36:08 +04:00
Christian Hewitt
a19979051e Merge pull request #1427 from MilhouseVH/bootload_dir_le8
cleanup: avoid using find command to determine package directory [backport]
2017-03-10 07:35:36 +04:00
MilhouseVH
ac04dfa3ec config/functions: simplify kernel_* functions 2017-03-06 22:15:51 +00:00
MilhouseVH
0dd42ece23 xorg-server: sane package version access 2017-03-06 22:15:50 +00:00
MilhouseVH
a6a64db317 script/images: use get_pkg_directory helper 2017-03-06 22:15:50 +00:00
MilhouseVH
d1785da461 config/functions: add get_pkg_variable and get_pkg_directory helper functions 2017-03-06 22:15:50 +00:00
MilhouseVH
d047abe378 buildsystem: Don't restrict PKG_NEED_UNPACK to package.mk 2017-03-06 04:50:46 +00:00
Christian Hewitt
d2002e9ec1 Merge pull request #1423 from MilhouseVH/xorg_server_fix_le8
xorg-server: clean package when nvidia drivers are bumped [backport]
2017-03-06 05:30:58 +04:00
MilhouseVH
0f506f9d25 xorg-server: clean package when nvidia drivers are bumped 2017-03-05 15:58:55 +00:00
Christian Hewitt
99afd73be7 Merge pull request #1421 from vpeter4/imx6-lirc-8.0
imx6/linux: add timeout on idle for gpio-ir-recv [backport]
2017-03-05 15:21:12 +04:00
Peter Vicman
c25a6a395b imx6/linux: add timeout on idle for gpio-ir-recv 2017-03-03 20:18:29 +01:00
Christian Hewitt
ee000b4bea Merge pull request #1419 from MilhouseVH/pi0w_enable_bt_le8
RPi: build brcmfmac_sdio-firmware-rpi for Pi0W [backport]
2017-03-03 20:19:10 +04:00
MilhouseVH
a80455cf04 RPi: build brcmfmac_sdio-firmware-rpi for Pi0W 2017-03-03 16:12:55 +00:00
Christian Hewitt
611678249c Merge pull request #1417 from HiassofT/le8-rc-decoder-fix
[LE8] Fix IR decoder modules not loading automatically
2017-03-03 18:34:11 +04:00
Matthias Reichl
7a7b91fccb media_build: fix rc raw decoder loading
see http://www.spinics.net/lists/linux-media/msg111573.html
2017-03-03 10:58:36 +01:00
Matthias Reichl
4b66eb0705 linux: fix rc raw decoder loading
see http://www.spinics.net/lists/linux-media/msg111573.html
2017-03-03 10:32:19 +01:00
Christian Hewitt
5cd8b585cc Merge pull request #1415 from MilhouseVH/pkg_need_unpack_le8
kodi-theme-Estuary: add missing PKG_NEED_UNPACK [backport]
2017-03-03 12:15:49 +04:00
MilhouseVH
d51bbc5bea kodi-theme-Estuary: add missing PKG_NEED_UNPACK 2017-03-03 07:36:24 +00:00
Christian Hewitt
68e0f09e2c Merge pull request #1414 from MilhouseVH/btuart_le8
brcmfmac_sdio-firmware-rpi: Implement Raspbian udev rules and btuart [backport]
2017-03-03 02:55:50 +04:00
Christian Hewitt
50ad0a317c Merge pull request #1412 from MilhouseVH/l4913_fixup_le8
RBP: Fixup 4.9.13 with Pi Zero W support patches
2017-03-03 02:55:29 +04:00
MilhouseVH
2ca552eff8 RBP: update firmware to f5446ba 2017-03-02 17:20:16 +00:00
MilhouseVH
f5dd985f63 brcmfmac_sdio-firmware-rpi: Implement Raspbian udev rules and btuart 2017-03-02 17:11:59 +00:00
MilhouseVH
d1bffaad72 RBP: Fixup 4.9.13 with Pi Zero W support patches 2017-03-02 16:04:28 +00:00
Christian Hewitt
96911956fd Merge pull request #1411 from MilhouseVH/fedorahosted_le8
fedorahosted.org closed down [backport]
2017-03-02 18:07:13 +04:00
MilhouseVH
7fa4f6f085 new: new url after fedorahosted.org closed down 2017-03-02 13:53:38 +00:00
MilhouseVH
713626cbd6 elfutils: new url after fedorahosted.org closed down 2017-03-02 13:53:38 +00:00
MilhouseVH
c4ab1f6ca4 liberation-fonts-ttf: new url after fedorahosted.org closed down 2017-03-02 13:53:38 +00:00
MilhouseVH
2dffc06ed3 Merge pull request #1393 from chewitt/kodi_171
kodi: bump to 17.1-RC1
2017-03-02 11:15:29 +00:00
Christian Hewitt
87f4220a2c Merge pull request #1409 from MilhouseVH/ftp_kernel_org_le8
kmod: ftp.kernel.org no longer working [backport]
2017-03-02 14:59:29 +04:00
MilhouseVH
31e21f7872 kmod: ftp.kernel.org no longer working [backport] 2017-03-02 10:52:52 +00:00
chewitt
dc9412f041 kodi: update exclusions in rpi-kodi-rebase script 2017-03-02 07:24:43 +00:00
chewitt
dd0f9303fe RPi/RPi2: update firmware to a5d4376 2017-03-02 07:24:43 +00:00
chewitt
6fe28f5005 ffmpeg: add HEVC improvements and simplify patches 2017-03-02 07:24:43 +00:00
chewitt
85d02cc93b RPi/RPi2: Update kodi support patches 2017-03-02 07:24:43 +00:00
chewitt
dc5f87d467 kodi: add cec button repeat settings PR11222 2017-03-02 07:24:43 +00:00
chewitt
7e967b1f66 kodi: binary add-on updates 2017-03-02 07:24:43 +00:00
chewitt
38376ad087 kodi: drop upstream-merged patches 2017-03-02 07:24:43 +00:00
chewitt
28ddaa01d3 kodi: bump to 17.1-RC1 2017-03-02 07:24:43 +00:00
Christian Hewitt
f782ee9cd3 Merge pull request #1406 from awiouy/emby_8
emby: refer to libMagickWand-7
2017-03-02 01:49:07 +04:00
awiouy
277e0e3cb9 emby: refer to libMagickWand-7 2017-03-01 20:25:31 +01:00
Christian Hewitt
489081954c Merge pull request #1405 from awiouy/emby_325_8_fu
mono: remove patch
2017-03-01 12:59:43 +04:00
awiouy
3ec179a05d mono: remove patch 2017-03-01 08:12:21 +01:00
Christian Hewitt
de8494df37 Merge pull request #1402 from awiouy/emby_325_8
emby: update to 3.2.5
2017-03-01 09:41:19 +04:00
awiouy
9ac8481770 emby: update to 3.2.5 2017-03-01 02:20:40 +01:00
awiouy
bd2648a67b x264: update to snapshot-20170228-2245-stable 2017-03-01 02:20:40 +01:00
awiouy
29bd97b25c imagemagick: update to 7.0.5-0 2017-03-01 02:20:40 +01:00
awiouy
41724ac2fb ffmpegx: rebuild 2017-03-01 02:20:40 +01:00
awiouy
48c4a94fd8 mono: update to 4.8.0.495 2017-03-01 02:20:40 +01:00
Christian Hewitt
d3bc4d4405 Merge pull request #1276 from awiouy/lcdd-8
Backport of #1275
2017-03-01 03:17:14 +04:00
Lukas Rusak
0bb162155d Merge pull request #1399 from HiassofT/le8-lirc-xbox
LE8: RPi/RPi2: re-enable lirc_xbox driver
2017-02-28 10:42:12 -08:00
Matthias Reichl
9762230292 RPi/RPi2: re-enable lirc_xbox driver 2017-02-28 10:31:00 +01:00
Christian Hewitt
a396c0eab7 Merge pull request #1398 from lrusak/linux-libreelec-8.0
linux: update to 4.9.13
2017-02-28 09:11:48 +04:00
Matthias Reichl
79e65b9a45 RPi/RPi2: add package rpi-cirrus-config 2017-02-27 12:52:21 -08:00
Matthias Reichl
218521ccda rpi-cirrus-config: config scripts for Cirrus Logic Audio Card on RPi 2017-02-27 12:52:21 -08:00
Lukas Rusak
1c53abbf63 rpi-linux-rebase.sh: add commit to drop 2017-02-27 12:52:21 -08:00
Lukas Rusak
eec7b79ac2 RPi/RPi2: Update linux.arm.conf 2017-02-27 12:52:21 -08:00
Lukas Rusak
a222dcd493 RPi/RPi2: Update linux support patches 2017-02-27 12:12:42 -08:00
Lukas Rusak
9908405b3b linux: update to 4.9.13 2017-02-27 12:11:57 -08:00
Christian Hewitt
0e7d3445d0 Merge pull request #1193 from kszaq/aml_fix_mp4
Backport of #1175
2017-02-27 14:52:12 +04:00
Christian Hewitt
c437348a41 Merge pull request #1378 from MilhouseVH/spiff_projectm_backport
projectM: remove glew
2017-02-27 14:50:10 +04:00
Christian Hewitt
c6c72837a3 Merge pull request #1396 from MilhouseVH/le8_disable_adsp
kodi: hide ADSP settings
2017-02-27 14:49:11 +04:00
Christian Hewitt
b6ca3ec864 Merge pull request #1397 from kszaq/gpu-aml-utilization-8.0
gpu-aml: Do not use Mali Utilization [backport]
2017-02-27 14:44:17 +04:00
kszaq
76c339e73e gpu-aml: Do not use Mali Utilization
This settings turns off any scaling for Mali cores/frequency.
The effect of this is smooth Kodi GUI operation without a need
to set turbo mode in driver parameter or device tree.

Users reported smoother GUI with UTILIZATION = 0 and Mali operating at 500MHz
than with UTILIZATION = 1 and Mali at 666MHz.
2017-02-27 11:12:08 +01:00
MilhouseVH
c0a4a67a71 kodi: don't init ADSP system 2017-02-27 09:50:49 +00:00
MilhouseVH
e9c5d18bc6 kodi: hide ADSP settings 2017-02-27 08:06:10 +00:00
Christian Hewitt
655727eef2 Merge pull request #1394 from MilhouseVH/python_concurrent_fix_backport
Python: use -j1 for makeinstall_host [backport]
2017-02-26 18:18:58 +04:00
MilhouseVH
354b8724c3 Python: use -j1 for makeinstall_host 2017-02-26 14:07:22 +00:00
Christian Hewitt
91c886f3ad Merge pull request #1386 from CvH/joy_le8
peripheral.joystick: revert package bump
2017-02-22 23:37:50 +04:00
cvh
0be12dfdc1 peripheral.joystick: revert package bump 2017-02-22 17:50:48 +01:00
CvH
4d386da4aa Merge pull request #1384 from vpeter4/imx6-kodi-8
imx6: update kodi patch (stop/resume streams on OnLostDisplay/OnReset…
2017-02-22 17:44:27 +01:00
Peter Vicman
df45834fe0 imx6: update kodi patch (stop/resume streams on OnLostDisplay/OnResetDisplay)
fixes alsa errors (after boot there is no sound for almost 2 minutes)

16:27:16.182 T:1929376672   ERROR: CAESinkALSA - snd_pcm_writei(-5) Input/output error - trying to recover
16:27:16.182 T:1929376672   ERROR: CAESinkALSA::HandleError(snd_pcm_writei(1)) - snd_pcm_writei returned -5 (Input/output error)
2017-02-22 17:39:45 +01:00
MilhouseVH
d873b64624 Merge pull request #1382 from chewitt/kodi_addons
kodi: updates to binary add-ons
2017-02-22 08:29:06 +00:00
MilhouseVH
28de7e956f Merge pull request #1383 from chewitt/version_devel
config: set version to devel
2017-02-22 07:00:49 +00:00
chewitt
bee981a348 config: set version to devel 2017-02-22 06:53:27 +00:00
chewitt
fd5edd2524 kodi: updates to binary add-ons 2017-02-22 04:09:40 +00:00
Christian Hewitt
7542b351ce Merge pull request #1374 from codesnake/update_wetekdvb_le8
Backport of #1372 (Update WeTek proprietary DVB modules to wetekdvb-20170116)
2017-02-21 23:45:23 +04:00
Christian Hewitt
22cb3de37b Merge pull request #1375 from codesnake/wetek_core_cpu_governor_le8
Backport of #1373 (projects/WeTek_Core: Switch to ondemand CPU scaling governor)
2017-02-20 09:24:16 +04:00
Christian Hewitt
47ba862258 Merge pull request #1376 from Kwiboo/le8-wetek-pwm
WeTek_Hub/WeTek_Play_2: disable meson PWM support
2017-02-20 09:23:32 +04:00
MilhouseVH
e040e7490b visualization.projectm: remove glew (spiff) 2017-02-20 02:35:36 +00:00
MilhouseVH
2bde52b609 libgprojectM: hacky removal of glew (spiff) 2017-02-20 02:35:36 +00:00
Jonas Karlman
0c29d42dfb WeTek_Hub/WeTek_Play_2: disable meson PWM support 2017-02-19 22:34:52 +01:00
Alex Deryskyba
c908c1f453 projects/WeTek_Core: Switch to ondemand CPU scaling governor
The interactive CPU scaling governor for some reason causes a significant slowdown after some time of inactivity.
WeTek Core becomes very sluggish and almost unusable until a reboot.

Switching to ondemand governor seems fixes the issue.
2017-02-19 20:29:29 +01:00
Alex Deryskyba
03b1748e35 packages/linux-drivers/wetekdvb: Update WeTek proprietary DVB modules to wetekdvb-20170116 2017-02-19 20:23:11 +01:00
Lukas Rusak
6f8718d27c Merge pull request #1361 from chewitt/version_800
config: set version to 8.0.0
2017-02-17 20:22:48 -08:00
Lukas Rusak
52032717d3 Merge pull request #1368 from chewitt/linux-hashes
linux: udpate linux-amlogic 3.14 kernel to 2f04daa
2017-02-17 20:22:12 -08:00
chewitt
7b73c87b5c config: set version to 8.0.0 2017-02-18 04:20:29 +00:00
Christian Hewitt
fc3302b54a Merge pull request #1342 from wrxtasy/LE8-C2-PWM
odroid-c2: linux add PWM support
2017-02-18 08:18:07 +04:00
chewitt
6b4fc85163 linux: udpate linux-amlogic 3.14 kernel to 2f04daa 2017-02-18 04:03:54 +00:00
MilhouseVH
a0bc8c4dac Merge pull request #1367 from chewitt/linux-hashes
linux: update linux-amlogic 3.10 kernel to de626d8
2017-02-18 02:53:25 +00:00
chewitt
da66b9b4bd linux: update linux-amlogic 3.10 kernel to de626d8 2017-02-18 02:45:21 +00:00
Christian Hewitt
c31206ff78 Merge pull request #1363 from codesnake/update_amlogic_kernel_3.10_le8
Backport of #1362 (Update Amlogic kernel to 3.10-de626d8)
2017-02-17 19:57:42 +04:00
Peter V
94e8f64f12 Merge pull request #1335 from wrxtasy/LE8-hexdump
busybox: add hexdump for C2 RAM OClocking script
2017-02-17 13:43:16 +01:00
Alex Deryskyba
6467122c22 packages/linux: Update Amlogic kernel to 3.10-de626d8 2017-02-17 12:56:36 +01:00
Christian Hewitt
2907959e13 Merge pull request #1360 from Kwiboo/lirc-repeat-fixup
kodi: skip one lirc repeat event
2017-02-17 12:45:06 +04:00
Jonas Karlman
8454fbaa70 kodi: skip one lirc repeat event
This fixes an edge case for Harmony remotes configured to send 3 command repeats
2017-02-17 09:13:33 +01:00
Lukas Rusak
4e85d78c5a Merge pull request #1359 from chewitt/settings_089
settings: bump to v0.8.9
2017-02-16 21:41:58 -08:00
chewitt
0668aa8a07 settings: bump to v0.8.9 2017-02-17 05:35:16 +00:00
Christian Hewitt
91099120ac Merge pull request #1351 from lrusak/docker-libreelec-8.0
backport of #1350 (docker: enable journald buildtag)
2017-02-15 23:51:36 +04:00
Lukas Rusak
be9c7ab79f docker: enable journald buildtag 2017-02-15 11:48:27 -08:00
Christian Hewitt
396624cfb9 Merge pull request #1345 from MilhouseVH/nvidia_bump_8.0
xf86-video-nvidia*: bump 375.39 and 340.102 [backport]
2017-02-15 22:48:58 +04:00
Christian Hewitt
97a8eb49cb Merge pull request #1349 from HiassofT/le8-v4l-utils-backport
[LE8 backport] v4l-utils: fix issues with streamzap remote
2017-02-15 22:47:01 +04:00
Matthias Reichl
6949ffd446 v4l-utils: fix invalid protocol in streamzap keymap 2017-02-15 18:18:59 +01:00
Matthias Reichl
3f7cc3eb02 v4l-utils: backport ir-keytable streamzap fix 2017-02-15 18:18:59 +01:00
MilhouseVH
28dedbd6de xf86-video-nvidia-legacy: update to xf86-video-nvidia-legacy-340.102 2017-02-15 02:51:14 +00:00
MilhouseVH
01685cc719 xf86-video-nvidia: update to xf86-video-nvidia-375.39 2017-02-15 02:51:14 +00:00
Jamie Coldhill
c56cc486af odroid-c2: linux add PWM support
dependant on PR:
https://github.com/LibreELEC/linux-amlogic/pull/45
2017-02-15 02:13:11 +08:00
Christian Hewitt
824565fc3f Merge pull request #1341 from wrxtasy/LE8-IR-GPIOPLUG
odroid-c2: linux - add missing IR_GPIOPLUG_CIR module
2017-02-14 22:12:46 +04:00
Jamie Coldhill
d6180afba3 odroid-c2: linux - add requested IR_GPIOPLUG_CIR module
http://forum.odroid.com/viewtopic.php?f=144&t=25742&start=50#p179080
2017-02-15 02:08:51 +08:00
Jamie Coldhill
2a7793733c busybox: add hexdump for C2 RAM OClock script 2017-02-14 23:06:34 +08:00
Christian Hewitt
d33c7ea336 Merge pull request #1332 from linuxserver/ziploc8.0
Backport of #1331 (change repo location for linuxserver addon zips)
2017-02-14 05:08:55 +04:00
aptalca
ac9bee017e repo: update linuxserver
change repo location for addon zips
2017-02-13 17:07:59 -05:00
Christian Hewitt
91d7ffa374 Merge pull request #1323 from Kwiboo/lirc-repeat
input: change input repeat config
2017-02-13 00:19:09 +04:00
Christian Hewitt
a0ab5dff70 Merge pull request #1328 from lrusak/devel
config/version: set back to devel
2017-02-12 23:26:29 +04:00
Lukas Rusak
7ddcdfa65a config/version: set back to devel 2017-02-12 09:50:36 -08:00
Jonas Karlman
ae5a16791b kodi: process all lirc repeat events 2017-02-12 17:56:16 +01:00
Jonas Karlman
194f304c22 v4l-utils: add 70-input-repeat.rules
This moves the repeat delay config from 98-eventlircd.rules,
changes the repeat period from 33ms to 80ms for lircd-uinput
and changes the repeat delay from 1s to 500ms for all input devices.
2017-02-12 17:56:16 +01:00
Christian Hewitt
c6e0ad65d7 Merge pull request #1325 from jester-xbmc/patch-3
Backport for LE8: Revert "Merge pull request #1081 from Raybuntu/even…
2017-02-12 20:02:37 +04:00
Christian Hewitt
22510cdfd2 Merge pull request #1324 from jester-xbmc/patch-2
Backport for LE8: WeTek_Play_2: Remap buttons in remote.conf
2017-02-12 20:01:30 +04:00
Jester
db83f0b8ba Backport for LE8: Revert "Merge pull request #1081 from Raybuntu/eventlircd"
work by @Raybuntu:
This reverts commit 8104294, reversing
changes made to dc61a12.

As mentioned in the other pull
https://github.com/LibreELEC/LibreELEC.tv/pull/1324#issuecomment-279215468
2017-02-12 13:49:45 +01:00
Jester
838715a1af Backport for LE8: WeTek_Play_2: Remap buttons in remote.conf
work by @Raybuntu this was already in master:
5df86b714d
2017-02-12 13:23:47 +01:00
Christian Hewitt
f9704e0d6f Merge pull request #1316 from lrusak/kodi-17-wp-libreelec-8.0
remove uneeded patches
2017-02-12 10:09:43 +04:00
Christian Hewitt
599d041a28 Merge pull request #1315 from lrusak/kodi-17-libreelec-8.0
backport of #1176 (remove and rework kodi patches)
2017-02-12 10:04:56 +04:00
Christian Hewitt
8a06a27d9c Merge pull request #1322 from lrusak/linux-am-libreelec-8.0
backport of #1321 (linux-amlogic: update to 83803a1)
2017-02-12 10:02:26 +04:00
Christian Hewitt
0ffe72b890 Merge pull request #1308 from lrusak/docker-libreelec-8.0
backport of #1307 (docker: update to 1.13.1)
2017-02-12 09:59:02 +04:00
Lukas Rusak
053fd91d52 linux-amlogic: update to 83803a1 2017-02-11 19:27:00 -08:00
Lukas Rusak
cf63cc1051 kodi: drop unneeded patch 2017-02-11 13:00:32 -08:00
Lukas Rusak
c3afcf4e6c WeTek_Play: remove uneeded patch 2017-02-10 12:49:14 -08:00
fritsch
deb8e68a2c kodi: add reworked intel detection patch to avoid polluting DVDCodecInfo 2017-02-10 12:46:15 -08:00
Lukas Rusak
82e434597d kodi: remove old intel detection patch 2017-02-10 12:46:15 -08:00
Lukas Rusak
764595b2b8 kodi: remove patch, p-state driver exposes scaling_cur_freq just fine 2017-02-10 12:46:15 -08:00
Lukas Rusak
a063d8f61d kodi: remove patch, possibly fixed in kernel 4.9 2017-02-10 12:46:14 -08:00
Lukas Rusak
3dfd23d811 docker: update to 1.13.1 2017-02-09 01:09:01 -08:00
Lukas Rusak
2d27c7d6b2 runc: update to 9df8b30 2017-02-09 01:09:01 -08:00
Lukas Rusak
840495f829 containerd: update to aa8187d 2017-02-09 01:09:00 -08:00
Lukas Rusak
6a931c6228 go: update to 1.7.5 2017-02-09 01:09:00 -08:00
awiouy
83fd4f2512 lcdd: update to 0.5.8 2017-02-04 10:25:01 +01:00
kszaq
ae732516de Amlogic: Disable POST_PROCESS_MANAGER_3D_PROCESS in kernel config 2017-01-14 10:50:54 +01:00
264 changed files with 233855 additions and 62211 deletions

View File

@@ -104,23 +104,11 @@ 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
echo $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
get_build_dir linux
}
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
echo ${PKG_VERSION}
get_pkg_version linux
}
# get kernel module dir
@@ -130,30 +118,30 @@ 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
. $_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}
local _PKG_NAME="$(get_pkg_variable "$1" PKG_NAME)" _PKG_VERSION="$(get_pkg_version "$1")"
if [ -n "$_PKG_NAME" -a -n "$_PKG_VERSION" ]; then
echo $ROOT/$BUILD/${_PKG_NAME}-${_PKG_VERSION}
fi
}
get_pkg_version() {
if [ ! -z $1 ] ; then
get_pkg_variable "$1" PKG_VERSION
}
get_pkg_directory() {
get_pkg_variable "$1" PKG_DIR
}
# get variable ($2) for package ($1)
get_pkg_variable() {
if [ -n "$1" -a -n "$2" ] ; then
cd $ROOT
. config/options $1
echo "$PKG_VERSION"
echo "${!2}"
fi
}
tolower(){
tolower() {
echo "$@" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
}

View File

@@ -1 +0,0 @@
Welcome to OpenELEC - the powerful Mediacenter4you

View File

@@ -1,5 +1,5 @@
# VERSION: set full version, use "devel" for development version
LIBREELEC_VERSION="7.95.3"
LIBREELEC_VERSION="devel"
# OS_VERSION: OS Version
OS_VERSION="8.0"

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="containerd"
PKG_VERSION="03e5862"
PKG_VERSION="aa8187d"
PKG_ARCH="any"
PKG_LICENSE="APL"
PKG_SITE="https://containerd.tools/"

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - http://www.libreelec.tv
# Copyright (C) 2016 Team LibreELEC
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="bitstream"
PKG_VERSION="1.1"
PKG_VERSION="1.2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.videolan.org"

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - http://www.libreelec.tv
# Copyright (C) 2016 Team LibreELEC
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="libev"
PKG_VERSION="4.22"
PKG_VERSION="4.24"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://software.schmorp.de/pkg/libev.html"

View File

@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="dvb-fe-tool"
PKG_VERSION="fa2f7d9"
PKG_VERSION="1388a04"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://linuxtv.org/"

View File

@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="dvblast"
PKG_VERSION="3.0"
PKG_VERSION="3.1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.videolan.org"

View File

@@ -1,17 +0,0 @@
diff -Naur dvblast-3.0/Makefile dvblast-3.0.patch/Makefile
--- dvblast-3.0/Makefile 2015-10-05 17:51:14.000000000 +0200
+++ dvblast-3.0.patch/Makefile 2016-03-26 22:54:59.953303040 +0100
@@ -55,11 +55,11 @@
dvblast: $(OBJ_DVBLAST)
@echo "LINK $@"
- $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLAST) $(LDLIBS_DVBLAST) $(LDLIBS)
+ $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLAST) $(LDFLAGS) $(LDLIBS_DVBLAST) $(LDLIBS)
dvblastctl: $(OBJ_DVBLASTCTL)
@echo "LINK $@"
- $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLASTCTL) $(LDLIBS)
+ $(Q)$(CROSS)$(CC) -o $@ $(OBJ_DVBLASTCTL) $(LDFLAGS) $(LDLIBS)
clean:
@echo "CLEAN $(CLEAN_OBJS)"

View File

@@ -0,0 +1,34 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="mumudvb"
PKG_VERSION="fa9ff6e"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://mumudvb.net/"
PKG_URL="https://github.com/braice/MuMuDVB/archive/$PKG_VERSION.tar.gz"
PKG_SOURCE_DIR="MuMuDVB-${PKG_VERSION}*"
PKG_DEPENDS_TARGET="toolchain libdvbcsa"
PKG_SECTION="tools"
PKG_SHORTDESC="MuMuDVB (Multi Multicast DVB) is a program that streams from DVB on a network using multicasting or unicast"
PKG_LONGDESC="MuMuDVB (Multi Multicast DVB) is a program that streams from DVB on a network using multicasting or unicast"
PKG_AUTORECONF="yes"
makeinstall_target() {
:
}

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - http://www.libreelec.tv
# Copyright (C) 2016 Team LibreELEC
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="w_scan"
PKG_VERSION="20141122"
PKG_VERSION="20170107"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://wirbel.htpc-forum.de/w_scan/index2.html"

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,18 +18,12 @@
PKG_NAME="ffmpegx"
PKG_VERSION="libreelec"
PKG_REV="6"
PKG_ARCH="any"
PKG_REV="9"
PKG_LICENSE="LGPLv2.1+"
PKG_SITE="https://ffmpeg.org"
PKG_DEPENDS_TARGET="toolchain ffmpeg lame x264"
PKG_SECTION="multimedia"
PKG_SHORTDESC="FFmpeg+"
PKG_LONGDESC="FFmpeg built static with additional features"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
pre_configure_target() {
cd "$ROOT/$PKG_BUILD"
rm -rf ".$TARGET_NAME"

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,20 +17,14 @@
################################################################################
PKG_NAME="imagemagick"
PKG_VERSION="6.9.6-7"
PKG_ARCH="any"
PKG_VERSION="7.0.5-7"
PKG_LICENSE="http://www.imagemagick.org/script/license.php"
PKG_SITE="http://www.imagemagick.org/"
PKG_URL="http://www.imagemagick.org/download/releases/ImageMagick-$PKG_VERSION.tar.xz"
PKG_URL="https://github.com/ImageMagick/ImageMagick/archive/$PKG_VERSION.tar.gz"
PKG_SOURCE_DIR="ImageMagick-$PKG_VERSION"
PKG_DEPENDS_TARGET="toolchain libX11"
PKG_SECTION="graphics"
PKG_SHORTDESC="ImageMagick"
PKG_LONGDESC="Software suite to create, edit, compose, or convert bitmap images"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--enable-shared \
--with-quantum-depth=8 \

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,19 +17,13 @@
################################################################################
PKG_NAME="x264"
PKG_VERSION="snapshot-20161203-2245-stable"
PKG_ARCH="any"
PKG_VERSION="snapshot-20170524-2245-stable"
PKG_LICENSE="GPL"
PKG_SITE="http://www.videolan.org/developers/x264.html"
PKG_URL="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="multimedia"
PKG_SHORTDESC="x264"
PKG_LONGDESC="x264"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
pre_configure_target() {
cd $ROOT/$PKG_BUILD
rm -rf .$TARGET_NAME

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="go"
PKG_VERSION="1.7.4"
PKG_VERSION="1.7.5"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="https://golang.org"

View File

@@ -0,0 +1,38 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="pyalsaaudio"
PKG_VERSION="0.8.4"
PKG_LICENSE="PSF"
PKG_SITE="http://larsimmisch.github.io/pyalsaaudio/"
PKG_URL="https://files.pythonhosted.org/packages/source/${PKG_NAME:0:1}/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python distutilscross:host alsa-lib"
PKG_LONGDESC="ALSA bindings"
make_target() {
export LDSHARED="$CC -shared"
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
python setup.py build --cross-compile
}
makeinstall_target() {
python setup.py install --root=$INSTALL --prefix=/usr
find $INSTALL/usr/lib -name "*.py" -exec rm -rf "{}" ";"
rm -rf $INSTALL/usr/lib/python*/site-packages/*.egg-info \
$INSTALL/usr/lib/python*/site-packages/*/tests
}

View File

@@ -0,0 +1,81 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="rust"
PKG_VERSION="1.18.0"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="https://www.rust-lang.org"
PKG_URL=""
PKG_DEPENDS="toolchain"
PKG_SECTION="devel"
PKG_LONGDESC="Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
unpack() {
:
}
configure_target() {
:
}
make_target() {
export CARGO_HOME="$ROOT/$TOOLCHAIN/.cargo"
export RUSTUP_HOME="$CARGO_HOME"
export PATH="$CARGO_HOME/bin:$PATH"
rm -rf "$CARGO_HOME"
curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path -y
rustup default "$PKG_VERSION"
case "$TARGET_ARCH" in
aarch64)
RUST_TRIPLE="aarch64-unknown-linux-gnu"
;;
arm)
RUST_TRIPLE="arm-unknown-linux-gnueabihf"
;;
x86_64)
RUST_TRIPLE="x86_64-unknown-linux-gnu"
;;
esac
if [ "$TARGET_ARCH" != "x86_64" ]; then
rustup target add "$RUST_TRIPLE"
fi
cat <<EOF >"$CARGO_HOME/config"
[target.$RUST_TRIPLE]
linker = "$CC"
EOF
cat <<'EOF' >"$CARGO_HOME/env"
export CARGO_HOME="$ROOT/$TOOLCHAIN/.cargo"
export CARGO_TARGET_DIR="$ROOT/$PKG_BUILD/.$TARGET_NAME"
export PATH="$CARGO_HOME/bin:$PATH"
export RUSTUP_HOME="$CARGO_HOME"
mkdir -p "$CARGO_TARGET_DIR"
EOF
echo "CARGO_BUILD=\"cargo build --release --target $RUST_TRIPLE\"" \
>>"$CARGO_HOME/env"
}
makeinstall_target() {
:
}

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,23 +17,18 @@
################################################################################
PKG_NAME="libgdiplus"
PKG_VERSION="4.2"
PKG_ARCH="any"
PKG_VERSION="5.4"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/mono/libgdiplus"
PKG_URL="https://github.com/mono/libgdiplus/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain giflib libjpeg-turbo tiff libXext libexif glib cairo"
PKG_SECTION="tools"
PKG_SHORTDESC="libgiplus"
PKG_LONGDESC="An Open Source implementation of the GDI+ API"
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--enable-shared \
--with-libgif \
--with-libjpeg \
--with-libtiff"
PKG_CONFIGURE_OPTS_TARGET="--enable-shared \
--with-libgif=$TARGET_PREFIX \
--with-libjpeg=$TARGET_PREFIX \
--with-libtiff=$TARGET_PREFIX"
makeinstall_target() {
make install DESTDIR=$INSTALL

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="squeezelite"
PKG_VERSION="33cca7e"
PKG_VERSION="a3d95ec"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/ralph-irving/squeezelite"
@@ -33,7 +33,7 @@ PKG_AUTORECONF="no"
pre_make_target() {
OPTS="-DDSD -DFFMPEG -DRESAMPLE -DVISEXPORT"
CFLAGS="$CFLAGS $OPTS"
LDFLAGS="$LDFLAGS -lasound -lpthread -lm -lrt"
LDFLAGS="$LDFLAGS -lasound -lpthread -lm -lrt -lFLAC -lmad -lvorbisfile -lfaad -lmpg123"
}
makeinstall_target() {

View File

@@ -0,0 +1,47 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="pngquant"
PKG_VERSION="2.9.1"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://pngquant.org"
PKG_URL="http://pngquant.org/pngquant-${PKG_VERSION}-src.tar.gz"
PKG_DEPENDS_HOST="toolchain libpng:host zlib:host"
PKG_SECTION="graphics"
PKG_SHORTDESC="lossy PNG compressor"
PKG_LONGDESC="a PNG compresor that significantly reduces file sizes by converting images to a more efficient 8-bit PNG format"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
configure_host() {
: #
}
make_host() {
cd $ROOT/$PKG_BUILD
BIN=$ROOT/$PKG_BUILD/pngquant make
$STRIP $ROOT/$PKG_BUILD/pngquant
}
makeinstall_host() {
mkdir -p $ROOT/$TOOLCHAIN/bin
cp $ROOT/$PKG_BUILD/pngquant $ROOT/$TOOLCHAIN/bin
}

View File

@@ -0,0 +1,111 @@
From 9f3efa796acb97ea4887468f1e8136e2e0711118 Mon Sep 17 00:00:00 2001
From: Peter Levine <plevine457@gmail.com>
Date: Fri, 13 May 2016 20:04:00 -0400
Subject: [PATCH] Remove -isystem from qmake due to QTBUG-53375
Change-Id: If0595fc2f209a48585e7e9b9a61f11c0d4e0664f
---
mkspecs/common/clang.conf | 1 -
mkspecs/common/gcc-base.conf | 1 -
mkspecs/linux-icc/qmake.conf | 1 -
qmake/generators/unix/unixmake2.cpp | 14 +++-----------
qmake/generators/win32/mingw_make.cpp | 8 +-------
5 files changed, 4 insertions(+), 21 deletions(-)
diff --git a/mkspecs/common/clang.conf b/mkspecs/common/clang.conf
index ee9c1b8..fbe370e 100644
--- a/mkspecs/common/clang.conf
+++ b/mkspecs/common/clang.conf
@@ -16,7 +16,6 @@ QMAKE_LINK_SHLIB = $$QMAKE_CXX
CONFIG += clang_pch_style
QMAKE_PCH_OUTPUT_EXT = .pch
-QMAKE_CFLAGS_ISYSTEM = -isystem
QMAKE_CFLAGS_PRECOMPILE = -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
QMAKE_CFLAGS_USE_PRECOMPILE = -Xclang -include-pch -Xclang ${QMAKE_PCH_OUTPUT}
QMAKE_CFLAGS_LTCG = -flto
diff --git a/mkspecs/common/gcc-base.conf b/mkspecs/common/gcc-base.conf
index 6e043f5..df8d314 100644
--- a/mkspecs/common/gcc-base.conf
+++ b/mkspecs/common/gcc-base.conf
@@ -44,7 +44,6 @@ QMAKE_CFLAGS_DEBUG += -g
QMAKE_CFLAGS_SHLIB += -fPIC
QMAKE_CFLAGS_STATIC_LIB += -fPIC
QMAKE_CFLAGS_APP += -fPIC
-QMAKE_CFLAGS_ISYSTEM = -isystem
QMAKE_CFLAGS_YACC += -Wno-unused -Wno-parentheses
QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden
QMAKE_CFLAGS_EXCEPTIONS_OFF += -fno-exceptions
diff --git a/mkspecs/linux-icc/qmake.conf b/mkspecs/linux-icc/qmake.conf
index 495fd15..935833b 100644
--- a/mkspecs/linux-icc/qmake.conf
+++ b/mkspecs/linux-icc/qmake.conf
@@ -21,7 +21,6 @@ QMAKE_CFLAGS_DEBUG = -O0 -g
QMAKE_CFLAGS_SHLIB = -fPIC
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
QMAKE_CFLAGS_YACC =
-QMAKE_CFLAGS_ISYSTEM = -isystem
QMAKE_CFLAGS_THREAD = -D_REENTRANT
QMAKE_CFLAGS_SPLIT_SECTIONS = -ffunction-sections
QMAKE_CFLAGS_LTCG = -ipo -fno-fat-lto-objects
diff --git a/qmake/generators/unix/unixmake2.cpp b/qmake/generators/unix/unixmake2.cpp
index 9312f19..009a674 100644
--- a/qmake/generators/unix/unixmake2.cpp
+++ b/qmake/generators/unix/unixmake2.cpp
@@ -176,16 +176,10 @@ UnixMakefileGenerator::writeMakeParts(QTextStream &t)
t << "CXXFLAGS = " << var("QMAKE_CXXFLAGS") << " $(DEFINES)\n";
t << "INCPATH =";
{
- QString isystem = var("QMAKE_CFLAGS_ISYSTEM");
const ProStringList &incs = project->values("INCLUDEPATH");
for(int i = 0; i < incs.size(); ++i) {
const ProString &inc = incs.at(i);
- if (inc.isEmpty())
- continue;
-
- if (!isystem.isEmpty() && isSystemInclude(inc.toQString()))
- t << ' ' << isystem << ' ';
- else
+ if (!inc.isEmpty())
t << " -I";
t << escapeFilePath(inc);
}
@@ -1328,10 +1322,8 @@ void UnixMakefileGenerator::init2()
}
if (include_deps && project->isActiveConfig("gcc_MD_depends")) {
- // use -MMD if we know about -isystem too
- ProString MD_flag(project->values("QMAKE_CFLAGS_ISYSTEM").isEmpty() ? "-MD" : "-MMD");
- project->values("QMAKE_CFLAGS") += MD_flag;
- project->values("QMAKE_CXXFLAGS") += MD_flag;
+ project->values("QMAKE_CFLAGS") += "-MD";
+ project->values("QMAKE_CXXFLAGS") += "-MD";
}
}
diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp
index 382b10c..c9eebd8 100644
--- a/qmake/generators/win32/mingw_make.cpp
+++ b/qmake/generators/win32/mingw_make.cpp
@@ -249,17 +249,11 @@ void MingwMakefileGenerator::writeIncPart(QTextStream &t)
{
t << "INCPATH = ";
- QString isystem = var("QMAKE_CFLAGS_ISYSTEM");
const ProStringList &incs = project->values("INCLUDEPATH");
for (ProStringList::ConstIterator incit = incs.begin(); incit != incs.end(); ++incit) {
QString inc = (*incit).toQString();
inc.replace(QRegExp("\\\\$"), "");
-
- if (!isystem.isEmpty() && isSystemInclude(inc))
- t << isystem << ' ';
- else
- t << "-I";
- t << escapeFilePath(inc) << ' ';
+ t << "-I" << escapeFilePath(inc) << ' ';
}
t << endl;
}
--
2.7.4

View File

@@ -0,0 +1,41 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="lan951x-led-ctl"
PKG_VERSION="0291b91"
PKG_ARCH="arm"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/dradermacher/lan951x-led-ctl"
PKG_URL="https://github.com/dradermacher/lan951x-led-ctl/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain libusb"
PKG_SECTION="rpi-tools"
PKG_SHORTDESC="Control LEDs connected to LAN9512/LAN9514 ethernet USB controllers"
PKG_LONGDESC="Control LEDs connected to LAN9512/LAN9514 ethernet USB controllers"
PKG_AUTORECONF="no"
make_target() {
$CC -std=c11 -I./include -Wall -Wstrict-prototypes -Wconversion \
-Wmissing-prototypes -Wshadow -Wextra -Wunused \
$CFLAGS -lusb-1.0 $LDFLAGS -o lan951x-led-ctl src/lan951x-led-ctl.c
$STRIP lan951x-led-ctl
}
makeinstall_target() {
: # nop
}

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="runc"
PKG_VERSION="2f7393a"
PKG_VERSION="9df8b30"
PKG_ARCH="any"
PKG_LICENSE="APL"
PKG_SITE="https://github.com/opencontainers/runc"

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="screen"
PKG_VERSION="4.3.1"
PKG_VERSION="4.5.1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/screen/"
@@ -29,12 +29,14 @@ PKG_LONGDESC="screen is a terminal multiplexor that runs several separate screen
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_utempter_h=no \
--enable-colors256 \
--disable-pam \
--disable-use-locale \
--disable-telnet \
--disable-socket-dir"
pre_configure_target() {
CFLAGS="$CFLAGS -DTERMINFO"
export LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
# screen fails to build in subdirs

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="vdr-plugin-dvbapi"
PKG_VERSION="7a42b22"
PKG_VERSION="d7c7587"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/manio/vdr-plugin-dvbapi"

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="vdr-plugin-satip"
PKG_VERSION="6573c38"
PKG_VERSION="ed99cfb"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.saunalahti.fi/~rahrenbe/vdr/satip/"

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="vdr-plugin-vnsiserver"
PKG_VERSION="d6847c3"
PKG_VERSION="615a077"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/FernetMenta/vdr-plugin-vnsiserver"

View File

@@ -0,0 +1,153 @@
Description: dynamically resize buffer for caids
Forwarded: yes
Author: Lars Hanisch <dvb@flensrocker.de>
diff --git a/ci.c b/ci.c
index ffc7ff7..8bfae23 100644
--- a/ci.c
+++ b/ci.c
@@ -25,6 +25,8 @@
#include "skins.h"
#include "tools.h"
+#define CAID_BUFSIZE 1024
+
// Set these to 'true' for debug output:
static bool DumpTPDUDataTransfer = false;
static bool DebugProtocol = false;
@@ -763,9 +765,12 @@ private:
int transponder;
int programNumber;
int caSystemIds[MAXCASYSTEMIDS + 1]; // list is zero terminated!
+ uint8_t *caDescriptors;
+ int caBufSize;
void AddCaDescriptors(int Length, const uint8_t *Data);
public:
cCiCaPmt(uint8_t CmdId, int Source, int Transponder, int ProgramNumber, const int *CaSystemIds);
+ ~cCiCaPmt(void);
uint8_t CmdId(void) { return cmdId; }
void SetListManagement(uint8_t ListManagement);
uint8_t ListManagement(void) { return capmt[0]; }
@@ -784,8 +789,15 @@ cCiCaPmt::cCiCaPmt(uint8_t CmdId, int Source, int Transponder, int ProgramNumber
caSystemIds[i] = CaSystemIds[i];
}
caSystemIds[i] = 0;
- uint8_t caDescriptors[512];
- int caDescriptorsLength = GetCaDescriptors(source, transponder, programNumber, caSystemIds, sizeof(caDescriptors), caDescriptors, 0);
+ caBufSize = CAID_BUFSIZE;
+ caDescriptors = new uint8_t[caBufSize];
+ int caDescriptorsLength = GetCaDescriptors(source, transponder, programNumber, caSystemIds, caBufSize, caDescriptors, 0);
+ if (caDescriptorsLength < 0) {
+ delete [] caDescriptors;
+ caBufSize = -caDescriptorsLength + 8;
+ caDescriptors = new uint8_t[caBufSize];
+ caDescriptorsLength = GetCaDescriptors(source, transponder, programNumber, caSystemIds, caBufSize, caDescriptors, 0);
+ }
length = 0;
capmt[length++] = CPLM_ONLY;
capmt[length++] = (ProgramNumber >> 8) & 0xFF;
@@ -797,6 +809,11 @@ cCiCaPmt::cCiCaPmt(uint8_t CmdId, int Source, int Transponder, int ProgramNumber
AddCaDescriptors(caDescriptorsLength, caDescriptors);
}
+cCiCaPmt::~cCiCaPmt(void)
+{
+ delete [] caDescriptors;
+}
+
void cCiCaPmt::SetListManagement(uint8_t ListManagement)
{
capmt[0] = ListManagement;
@@ -805,21 +822,34 @@ void cCiCaPmt::SetListManagement(uint8_t ListManagement)
void cCiCaPmt::AddPid(int Pid, uint8_t StreamType)
{
if (Pid) {
- uint8_t caDescriptors[512];
- int caDescriptorsLength = GetCaDescriptors(source, transponder, programNumber, caSystemIds, sizeof(caDescriptors), caDescriptors, Pid);
- //XXX buffer overflow check???
- capmt[length++] = StreamType;
- capmt[length++] = (Pid >> 8) & 0xFF;
- capmt[length++] = Pid & 0xFF;
- esInfoLengthPos = length;
- capmt[length++] = 0x00; // ES_info_length H (at ES level)
- capmt[length++] = 0x00; // ES_info_length L
- AddCaDescriptors(caDescriptorsLength, caDescriptors);
+ int caDescriptorsLength = GetCaDescriptors(source, transponder, programNumber, caSystemIds, caBufSize, caDescriptors, Pid);
+ if (caDescriptorsLength < 0) {
+ delete [] caDescriptors;
+ caBufSize = -caDescriptorsLength + 8;
+ caDescriptors = new uint8_t[caBufSize];
+ caDescriptorsLength = GetCaDescriptors(source, transponder, programNumber, caSystemIds, caBufSize, caDescriptors, Pid);
+ }
+ if (length + 5 < int(sizeof(capmt))) {
+ capmt[length++] = StreamType;
+ capmt[length++] = (Pid >> 8) & 0xFF;
+ capmt[length++] = Pid & 0xFF;
+ esInfoLengthPos = length;
+ capmt[length++] = 0x00; // ES_info_length H (at ES level)
+ capmt[length++] = 0x00; // ES_info_length L
+ AddCaDescriptors(caDescriptorsLength, caDescriptors);
+ }
+ else
+ esyslog("ERROR: buffer overflow in CA descriptor");
}
}
void cCiCaPmt::AddCaDescriptors(int Length, const uint8_t *Data)
{
+ if (Length < 0) {
+ dsyslog("DEBUG: calling AddCaDescriptors with Length %d", Length);
+ return;
+ }
+
if (esInfoLengthPos) {
if (length + Length < int(sizeof(capmt))) {
if (Length || cmdId == CPCI_QUERY) {
diff --git a/pat.c b/pat.c
index 98d306e..9dfbc62 100644
--- a/pat.c
+++ b/pat.c
@@ -165,21 +165,25 @@ int cCaDescriptors::GetCaDescriptors(const int *CaSystemIds, int BufSize, uchar
return 0;
if (BufSize > 0 && Data) {
int length = 0;
+ bool tooSmall = false;
for (cCaDescriptor *d = caDescriptors.First(); d; d = caDescriptors.Next(d)) {
if (EsPid < 0 || d->EsPid() == EsPid) {
const int *caids = CaSystemIds;
do {
if (*caids == 0xFFFF || d->CaSystem() == *caids) {
- if (length + d->Length() <= BufSize) {
+ if (length + d->Length() <= BufSize)
memcpy(Data + length, d->Data(), d->Length());
- length += d->Length();
- }
else
- return -1;
+ tooSmall = true;
+ length += d->Length();
}
} while (*++caids);
}
}
+ if (tooSmall) {
+ dsyslog("DEBUG: buffer for ca-descriptors too small (%d, needed %d)", BufSize, length);
+ return -length;
+ }
return length;
}
return -1;
diff --git a/pat.h b/pat.h
index 19e60dc..8bf0738 100644
--- a/pat.h
+++ b/pat.h
@@ -45,7 +45,7 @@ int GetCaDescriptors(int Source, int Transponder, int ServiceId, const int *CaSy
///< are copied that match one of the given CA system IDs (or all of them, if CaSystemIds
///< is 0xFFFF).
///< Returns the number of bytes copied into Data (0 if no CA descriptors are
- ///< available), or -1 if BufSize was too small to hold all CA descriptors.
+ ///< available), or -(NeededBufSize) if BufSize was too small to hold all CA descriptors.
int GetCaPids(int Source, int Transponder, int ServiceId, const int *CaSystemIds, int BufSize, int *Pids);
///< Gets all CA pids for a given channel.

View File

@@ -1,2 +1,5 @@
101
- Change repo location for zips
100
- Initial LibreELEC version

View File

@@ -18,7 +18,7 @@
PKG_NAME="repository.linuxserver.docker"
PKG_VERSION="8.1"
PKG_REV="100"
PKG_REV="101"
PKG_ARCH="any"
PKG_ADDON_PROJECTS="Generic RPi RPi2 imx6 WeTek_Hub WeTek_Play_2 Odroid_C2"
PKG_LICENSE="GPL"

View File

@@ -10,7 +10,7 @@
name="LinuxServer.io's Docker Add-on Repository">
<info compressed="true">https://raw.githubusercontent.com/linuxserver/libreelec-addon-repo/master/addons.xml</info>
<checksum>https://raw.githubusercontent.com/linuxserver/libreelec-addon-repo/master/addons.xml.md5</checksum>
<datadir zip="true">https://raw.githubusercontent.com/linuxserver/libreelec-addons/master/download</datadir>
<datadir zip="true">https://raw.githubusercontent.com/linuxserver/libreelec-addon-repo/master/download</datadir>
</extension>
<extension point="xbmc.addon.metadata">
<summary>Install add-ons from LinuxServer.io's docker repository</summary>

View File

@@ -1,3 +1,10 @@
8.1.114
- Enable journald buildtag
8.1.113
- Update to docker 1.13.1
- Update to golang 1.7.5
8.1.112
- Update to docker 1.13.0
- Use journald log driver

View File

@@ -17,8 +17,8 @@
################################################################################
PKG_NAME="docker"
PKG_VERSION="1.13.0"
PKG_REV="112"
PKG_VERSION="1.13.1"
PKG_REV="114"
PKG_ARCH="any"
PKG_ADDON_PROJECTS="Generic RPi RPi2 imx6 WeTek_Hub WeTek_Play_2 Odroid_C2"
PKG_LICENSE="ASL"
@@ -39,7 +39,8 @@ configure_target() {
autogen \
exclude_graphdriver_devicemapper \
exclude_graphdriver_aufs \
exclude_graphdriver_btrfs"
exclude_graphdriver_btrfs \
journald"
case $TARGET_ARCH in
x86_64)
@@ -73,7 +74,9 @@ configure_target() {
export PATH=$PATH:$GOROOT/bin
mkdir -p $ROOT/$PKG_BUILD/.gopath
mv $ROOT/$PKG_BUILD/vendor $ROOT/$PKG_BUILD/.gopath/src
if [ -d $ROOT/$PKG_BUILD/vendor ]; then
mv $ROOT/$PKG_BUILD/vendor $ROOT/$PKG_BUILD/.gopath/src
fi
ln -fs $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/.gopath/src/github.com/docker/docker
# used for docker version

View File

@@ -1,60 +0,0 @@
commit 472c4da2e78a01b4fcf194c2c85edde4fc32aa0b
Author: Sebastiaan van Stijn <github@gone.nl>
Date: Tue Jan 3 14:54:30 2017 +0100
do not create init-dir if not needed
commit 56f77d5ade945b3b8816a6c8acb328b7c6dce9a7
added support for cpu-rt-period and cpu-rt-runtime,
but always initialized the cgroup path, even if not
used.
As a result, containers failed to start on a
read-only filesystem.
This patch only creates the cgroup path if
one of these options is set.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
diff --git a/daemon/daemon_unix.go b/daemon/daemon_unix.go
index 56e980d..5b3ffeb 100644
--- a/daemon/daemon_unix.go
+++ b/daemon/daemon_unix.go
@@ -1190,6 +1190,12 @@ func (daemon *Daemon) initCgroupsPath(path string) error {
return nil
}
+ if daemon.configStore.CPURealtimePeriod == 0 && daemon.configStore.CPURealtimeRuntime == 0 {
+ return nil
+ }
+
+ // Recursively create cgroup to ensure that the system and all parent cgroups have values set
+ // for the period and runtime as this limits what the children can be set to.
daemon.initCgroupsPath(filepath.Dir(path))
_, root, err := cgroups.FindCgroupMountpointAndRoot("cpu")
@@ -1198,16 +1204,19 @@ func (daemon *Daemon) initCgroupsPath(path string) error {
}
path = filepath.Join(root, path)
- sysinfo := sysinfo.New(false)
- if err := os.MkdirAll(path, 0755); err != nil && !os.IsExist(err) {
- return err
- }
+ sysinfo := sysinfo.New(true)
if sysinfo.CPURealtimePeriod && daemon.configStore.CPURealtimePeriod != 0 {
+ if err := os.MkdirAll(path, 0755); err != nil && !os.IsExist(err) {
+ return err
+ }
if err := ioutil.WriteFile(filepath.Join(path, "cpu.rt_period_us"), []byte(strconv.FormatInt(daemon.configStore.CPURealtimePeriod, 10)), 0700); err != nil {
return err
}
}
if sysinfo.CPURealtimeRuntime && daemon.configStore.CPURealtimeRuntime != 0 {
+ if err := os.MkdirAll(path, 0755); err != nil && !os.IsExist(err) {
+ return err
+ }
if err := ioutil.WriteFile(filepath.Join(path, "cpu.rt_runtime_us"), []byte(strconv.FormatInt(daemon.configStore.CPURealtimeRuntime, 10)), 0700); err != nil {
return err
}

View File

@@ -1,41 +1,56 @@
110
114:
- Update to version 3.2.17.0
- Rebuild libx264, ffmpegx and imagemagick
- Use ffmpgex by default
113:
- Update to version 3.2.8
- Rebuild x264 and ffmpegx
112:
- Refer to libMagickWand-7
111:
- Updated to version 3.2.5
- Rebuild libx264, ffmpegx and imagemagick
110:
- Rebuild ffmpegx with libx264
109
- Rebuilt ffmpgex and imagemagick
109:
- Rebuild ffmpgex and imagemagick
108
- Updated to version 3.0.8500
108:
- Update to version 3.0.8500
107:
- Update to version 3.0.8300
- Rebuild ffmpegx
107
- Updated to version 3.0.8300
- Rebuilt ffmpegx
106:
- Updat to version 3.0.8100
- Rebuild ffmpegx
106
- Updated to version 3.0.8100
- Rebuilt ffmpegx
105:
- Update to version 3.0.7100
105
- Updated to version 3.0.7100
104:
- Update to version 3.0.6300
- Rebuild ffmpegx
104
- Updated to version 3.0.6300
- Rebuilt ffmpegx
103
- Updated to version 3.0.6070
103:
- Update to version 3.0.6070
- Build for all architectures
- Refer to libsqlite3.so.0 instead of libsqlite3.so
102
- Updated to version 3.0.6030
- Added dedicated ffmpeg and ffprobe
- Removed unused shared libraries
102:
- Update to version 3.0.6030
- Add dedicated ffmpeg and ffprobe
- Remove unused shared libraries
101
- Updated to version 3.0.5985
101:
- Update to version 3.0.5985
- Removed mono build dependency
100
100:
- Initial release

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,9 +17,8 @@
################################################################################
PKG_NAME="emby"
PKG_VERSION="3.0.8500"
PKG_REV="110"
PKG_ARCH="any"
PKG_VERSION="3.2.17.0"
PKG_REV="114"
PKG_LICENSE="OSS"
PKG_SITE="http://emby.media"
PKG_URL="https://github.com/MediaBrowser/Emby/releases/download/$PKG_VERSION/Emby.Mono.zip"
@@ -51,8 +50,11 @@ addon() {
unzip -q $ROOT/$SOURCES/$PKG_NAME/$PKG_SOURCE_NAME \
-d $ADDON_BUILD/$PKG_ADDON_ID/Emby.Mono
sed -i 's/libMagickWand-6./libMagickWand-7./g' \
$ADDON_BUILD/$PKG_ADDON_ID/Emby.Mono/ImageMagickSharp.dll.config
sed -i 's/libsqlite3.so/libsqlite3.so.0/g' \
$ADDON_BUILD/$PKG_ADDON_ID/Emby.Mono/System.Data.SQLite.dll.config
$ADDON_BUILD/$PKG_ADDON_ID/Emby.Mono/SQLitePCLRaw.provider.sqlite3.dll.config
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -L $(get_build_dir ffmpegx)/.install_pkg/usr/local/bin/ffmpegx \
@@ -60,7 +62,7 @@ addon() {
$ADDON_BUILD/$PKG_ADDON_ID/bin/
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -L $(get_build_dir imagemagick)/.install_pkg/usr/lib/libMagickCore-6.Q8.so.2 \
$(get_build_dir imagemagick)/.install_pkg/usr/lib/libMagickWand-6.Q8.so \
cp -L $(get_build_dir imagemagick)/.install_pkg/usr/lib/libMagickCore-7.Q8.so.2 \
$(get_build_dir imagemagick)/.install_pkg/usr/lib/libMagickWand-7.Q8.so \
$ADDON_BUILD/$PKG_ADDON_ID/lib/
}

View File

@@ -23,7 +23,7 @@ oe_setup_addon service.emby
chmod +x $ADDON_DIR/bin/*
mkdir -p $ADDON_HOME
if [ "$emby_ffmpeg" = "true" ]
if [ "$emby_ffmpeg" != "false" ]
then
emby_flags="-ffmpeg $ADDON_DIR/bin/ffmpegx -ffprobe $ADDON_DIR/bin/ffprobex"
fi

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<category label="30000">
<setting label="30001" id="emby_ffmpeg" type="bool" default="false" />
<setting label="30001" id="emby_ffmpeg" type="bool" default="true" />
</category>
</settings>

View File

@@ -1,3 +1,9 @@
104:
- Update to 466edd3
103:
- Update to 0.5.8
102:
- Update to c05a7de
- Reintroduce dm140 driver

View File

@@ -17,8 +17,8 @@
################################################################################
PKG_NAME="lcdd"
PKG_VERSION="c05a7de"
PKG_REV="102"
PKG_VERSION="466edd3"
PKG_REV="104"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://lcdproc.org/"

View File

@@ -59,13 +59,13 @@ index f82df85..0d98570 100644
futaba_CFLAGS = @LIBUSB_CFLAGS@ @LIBUSB_1_0_CFLAGS@ $(AM_CFLAGS)
@@ -89,6 +89,7 @@ CFontzPacket_SOURCES = lcd.h lcd_lib.h CFontzPacket.c CFontzPacket.h CFontz-char
curses_SOURCES = lcd.h curses_drv.h curses_drv.c report.h
CwLnx_SOURCES = lcd.h lcd_lib.h CwLnx.c CwLnx.h report.h
debug_SOURCES = lcd.h report.h debug.c debug.h
curses_SOURCES = lcd.h curses_drv.h curses_drv.c
CwLnx_SOURCES = lcd.h lcd_lib.h CwLnx.c CwLnx.h
debug_SOURCES = lcd.h debug.c debug.h
+dm140_SOURCES = lcd.h led.c libvfd.h led.h dm140.c dm140.h report.h
ea65_SOURCES = lcd.h ea65.h ea65.c report.h
EyeboxOne_SOURCES = lcd.h lcd_lib.h EyeboxOne.c EyeboxOne.h report.h
futaba_SOURCES = lcd.h futaba.c futaba.h report.h
ea65_SOURCES = lcd.h ea65.h ea65.c
EyeboxOne_SOURCES = lcd.h lcd_lib.h EyeboxOne.c EyeboxOne.h
futaba_SOURCES = lcd.h futaba.c futaba.h
diff --git a/server/drivers/dm140.c b/server/drivers/dm140.c
new file mode 100644
index 0000000..56f9219
@@ -92,7 +92,7 @@ index 0000000..56f9219
+#include "lcd.h"
+#include "dm140.h"
+
+#include "report.h"
+#include "shared/report.h"
+#include "lcd_lib.h"
+#include "libvfd.h"
+#include "led.h"
@@ -392,7 +392,7 @@ index 0000000..0bb565c
+#include <string.h>
+#include "lcd.h"
+#include "libvfd.h"
+#include "report.h"
+#include "shared/report.h"
+#include "dm140.h"
+
+

View File

@@ -1,16 +1,3 @@
diff --git a/configure.ac b/configure.ac
index 7c053d2..dcb0c4d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -314,7 +314,7 @@ AC_MSG_RESULT($enable_libftdi)
if test "$enable_libftdi" = "yes"; then
ifdef([PKG_CHECK_MODULES],
- [PKG_CHECK_MODULES(LIBFTDI, libftdi >= 0.8,
+ [PKG_CHECK_MODULES(LIBFTDI, libftdi1 >= 0.8,
[AC_DEFINE(HAVE_LIBFTDI, [1], [Define to 1 if you have libftdi])],
[ enable_libftdi=no ])],
[AC_MSG_WARN([pkg-config not (fully) installed; drivers requiring libftdi may not be built])])
diff --git a/server/drivers/hd44780-low.h b/server/drivers/hd44780-low.h
index 47acf45..6faa830 100644
--- a/server/drivers/hd44780-low.h
@@ -42,9 +29,9 @@ index 5d3e97a..6c26a19 100644
--- a/server/drivers/lis.c
+++ b/server/drivers/lis.c
@@ -42,7 +42,7 @@
#include <errno.h>
#include <pthread.h>
#include <usb.h>
-#include <ftdi.h>
+#include <libftdi1/ftdi.h>
@@ -55,9 +42,9 @@ index cbdde40..a84eb49 100644
--- a/server/drivers/ula200.c
+++ b/server/drivers/ula200.c
@@ -31,7 +31,7 @@
#include <string.h>
#include <errno.h>
#include <usb.h>
-#include <ftdi.h>
+#include <libftdi1/ftdi.h>

View File

@@ -0,0 +1,2 @@
100
- Initial addon

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -0,0 +1,64 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
# Copyright (C) 2017 Shane Meagher (shanemeagher)
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="librespot"
PKG_VERSION="2259188"
PKG_REV="100"
PKG_ARCH="any"
PKG_LICENSE="prop."
PKG_SITE="https://github.com/plietar/$PKG_NAME/"
PKG_URL="https://github.com/plietar/$PKG_NAME/archive/$PKG_VERSION.zip"
PKG_DEPENDS_TARGET="toolchain avahi pyalsaaudio rust"
PKG_SECTION="service"
PKG_LONGDESC="Librespot ($PKG_VERSION) plays Spotify through LibreELEC using the opensource librespot library using a Spotify app as a remote."
PKG_AUTORECONF="no"
PKG_IS_ADDON="yes"
PKG_ADDON_NAME="Librespot"
PKG_ADDON_TYPE="xbmc.service"
PKG_MAINTAINER="Anton Voyl (awiouy)"
configure_target() {
. "$ROOT/$TOOLCHAIN/.cargo/env"
export PKG_CONFIG_ALLOW_CROSS=0
strip_lto
}
make_target() {
cd src
$CARGO_BUILD --no-default-features --features "alsa-backend with-avahi"
}
makeinstall_target() {
:
}
addon() {
mkdir -p "$ADDON_BUILD/$PKG_ADDON_ID/bin"
cp "$PKG_BUILD/.$TARGET_NAME"/*/release/librespot \
"$ADDON_BUILD/$PKG_ADDON_ID/bin"
mkdir -p "$ADDON_BUILD/$PKG_ADDON_ID/lib"
cp "$(get_build_dir avahi)/avahi-compat-libdns_sd/.libs/libdns_sd.so.1" \
"$ADDON_BUILD/$PKG_ADDON_ID/lib"
mkdir -p "$ADDON_BUILD/$PKG_ADDON_ID/wizard"
cp "$(get_build_dir pyalsaaudio)/.install_pkg/usr/lib/python2.7/site-packages/alsaaudio.so" \
"$ADDON_BUILD/$PKG_ADDON_ID/wizard/"
}

View File

@@ -0,0 +1,222 @@
From a825f84d9d00b196232fcccc5b5e441654c4e5a0 Mon Sep 17 00:00:00 2001
From: shanemeagher <shanemeagher@outlook.com>
Date: Fri, 9 Jun 2017 22:43:54 +0800
Subject: [PATCH] Build librespot with avahi support for Discovery
rust-mdns is still the default and can be specified explicitly with --with-rust-mdns switch.
Added --with-avahi switch to build librespot to use avahi for discovery using dns-sd package.
---
Cargo.lock | 10 ++++++++++
Cargo.toml | 7 +++++--
contrib/Dockerfile | 3 +++
contrib/docker-build-avahi.sh | 24 ++++++++++++++++++++++++
src/authentication/discovery.rs | 27 ++++++++++++++++++++++++++-
src/lib.rs | 6 +++++-
6 files changed, 73 insertions(+), 4 deletions(-)
create mode 100755 contrib/docker-build-avahi.sh
diff --git a/Cargo.lock b/Cargo.lock
index 30fafca..eff0925 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6,6 +6,7 @@ dependencies = [
"base64 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
"bit-set 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"byteorder 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "dns-sd 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"env_logger 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"error-chain 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"futures 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -144,6 +145,15 @@ dependencies = [
]
[[package]]
+name = "dns-sd"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "libc 0.2.22 (registry+https://github.com/rust-lang/crates.io-index)",
+ "pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
name = "dtoa"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/Cargo.toml b/Cargo.toml
index 5d64719..c543e92 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -52,7 +52,8 @@ alsa = { git = "https://github.com/plietar/rust-alsa", optional = tru
portaudio-rs = { version = "0.3.0", optional = true }
libpulse-sys = { git = "https://github.com/astro/libpulse-sys", optional = true }
-mdns = { git = "https://github.com/plietar/rust-mdns" }
+mdns = { git = "https://github.com/plietar/rust-mdns", optional = true }
+dns-sd = { version = "~0.1.3", optional = true }
error-chain = { version = "0.9.0", default_features = false }
futures = "0.1.8"
@@ -71,8 +72,10 @@ portaudio-backend = ["portaudio-rs"]
pulseaudio-backend = ["libpulse-sys"]
with-tremor = ["tremor"]
+with-rust-mdns = ["mdns"]
+with-avahi = ["dns-sd"]
-default = ["portaudio-backend"]
+default = ["portaudio-backend","with-rust-mdns"]
[package.metadata.deb]
maintainer = "nobody"
diff --git a/contrib/Dockerfile b/contrib/Dockerfile
index 68a39b7..f6aec14 100644
--- a/contrib/Dockerfile
+++ b/contrib/Dockerfile
@@ -4,6 +4,8 @@
#
# The resulting image can be used to build librespot for linux x86_64, armhf and armel.
# $ docker run -v /tmp/librespot-build:/build librespot-cross
+# To build librespot with avahi support
+# $ docker run -v /tmp/librespot-build:/build librespot-cross /src/contrib/docker-build-avahi.sh
#
# The compiled binaries will be located in /tmp/librespot-build
#
@@ -23,6 +25,7 @@ RUN apt-get update
RUN apt-get install -y curl git build-essential crossbuild-essential-arm64 crossbuild-essential-armel crossbuild-essential-armhf crossbuild-essential-mipsel
RUN apt-get install -y libasound2-dev libasound2-dev:arm64 libasound2-dev:armel libasound2-dev:armhf libasound2-dev:mipsel
+RUN apt-get install -y libavahi-compat-libdnssd-dev libavahi-compat-libdnssd-dev:arm64 libavahi-compat-libdnssd-dev:armel libavahi-compat-libdnssd-dev:armhf libavahi-compat-libdnssd-dev:mipsel
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin/:${PATH}"
diff --git a/contrib/docker-build-avahi.sh b/contrib/docker-build-avahi.sh
new file mode 100755
index 0000000..c25b248
--- /dev/null
+++ b/contrib/docker-build-avahi.sh
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+set -eux
+
+cargo build --release --no-default-features --features "alsa-backend with-avahi"
+cp /usr/lib/x86_64-linux-gnu/libdns_sd.so.1 /build/release
+
+export PKG_CONFIG_ALLOW_CROSS=0
+
+export PKG_CONFIG_PATH=/usr/lib/aarch64-unknown-linux-gnu/pkgconfig
+cargo build --release --target aarch64-unknown-linux-gnu --no-default-features --features "alsa-backend with-avahi"
+cp /usr/lib/aarch64-linux-gnu/libdns_sd.so.1 /build/aarch64-unknown-linux-gnu/release
+
+export PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabi/pkgconfig
+cargo build --release --target arm-unknown-linux-gnueabi --no-default-features --features "alsa-backend with-avahi"
+cp /usr/lib/arm-linux-gnueabi/libdns_sd.so.1 /build/arm-unknown-linux-gnueabi/release
+
+export PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig
+cargo build --release --target arm-unknown-linux-gnueabihf --no-default-features --features "alsa-backend with-avahi"
+cp /usr/lib/arm-linux-gnueabihf/libdns_sd.so.1 /build/arm-unknown-linux-gnueabihf/release
+
+export PKG_CONFIG_PATH=/usr/lib/mipsel-linux-gnu/pkgconfig
+cargo build --release --target mipsel-unknown-linux-gnu --no-default-features --features "alsa-backend with-avahi"
+cp /usr/libmipsel-linux-gnu/libdns_sd.so.1 /build/mipsel-unknown-linux-gnu/release
+
diff --git a/src/authentication/discovery.rs b/src/authentication/discovery.rs
index 8c5b005..d385294 100644
--- a/src/authentication/discovery.rs
+++ b/src/authentication/discovery.rs
@@ -7,7 +7,6 @@ use futures::sync::mpsc;
use futures::{Future, Stream, BoxFuture, Poll, Async};
use hyper::server::{Service, NewService, Request, Response, Http};
use hyper::{self, Get, Post, StatusCode};
-use mdns;
use num_bigint::BigUint;
use rand;
use std::collections::BTreeMap;
@@ -20,6 +19,12 @@ use url;
use authentication::Credentials;
use util;
+#[cfg(feature = "with-rust-mdns")]
+use mdns;
+
+#[cfg(feature = "with-avahi")]
+use dns_sd::DNSService;
+
#[derive(Clone)]
struct Discovery(Arc<DiscoveryInner>);
struct DiscoveryInner {
@@ -202,7 +207,10 @@ impl NewService for Discovery {
pub struct DiscoveryStream {
credentials: mpsc::UnboundedReceiver<Credentials>,
+ #[cfg(feature = "with-rust-mdns")]
_svc: mdns::Service,
+ #[cfg(feature = "with-avahi")]
+ _svc: DNSService,
task: Box<Future<Item=(), Error=io::Error>>,
}
@@ -212,8 +220,13 @@ pub fn discovery(handle: &Handle, device_name: String, device_id: String)
let (discovery, creds_rx) = Discovery::new(device_name.clone(), device_id);
let listener = TcpListener::bind(&"0.0.0.0:0".parse().unwrap(), handle)?;
+
+ #[cfg(feature = "with-rust-mdns")]
let addr = listener.local_addr()?;
+ #[cfg(feature = "with-avahi")]
+ let port = listener.local_addr().unwrap().port();
+
let http = Http::new();
let handle_ = handle.clone();
let task = Box::new(listener.incoming().for_each(move |(socket, addr)| {
@@ -221,13 +234,25 @@ pub fn discovery(handle: &Handle, device_name: String, device_id: String)
Ok(())
}));
+ #[cfg(feature = "with-rust-mdns")]
let responder = mdns::Responder::spawn(&handle)?;
+
+ #[cfg(feature = "with-rust-mdns")]
let svc = responder.register(
"_spotify-connect._tcp".to_owned(),
device_name,
addr.port(),
&["VERSION=1.0", "CPath=/"]);
+ #[cfg(feature = "with-avahi")]
+ let svc = DNSService::register(Some(&*device_name),
+ "_spotify-connect._tcp",
+ None,
+ None,
+ port,
+ &["VERSION=1.0", "CPath=/"])
+ .unwrap();
+
Ok(DiscoveryStream {
credentials: creds_rx,
_svc: svc,
diff --git a/src/lib.rs b/src/lib.rs
index 2a50249..b1b77ef 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -19,7 +19,6 @@ extern crate crypto;
extern crate getopts;
extern crate hyper;
extern crate linear_map;
-extern crate mdns;
extern crate num_bigint;
extern crate num_integer;
extern crate num_traits;
@@ -50,6 +49,11 @@ extern crate portaudio_rs;
#[cfg(feature = "libpulse-sys")]
extern crate libpulse_sys;
+#[cfg(feature = "with-rust-mdns")]
+extern crate mdns;
+
+#[cfg(feature = "with-avahi")]
+extern crate dns_sd;
#[macro_use] mod component;
pub mod album_cover;

View File

@@ -0,0 +1,48 @@
diff -Naur librespot/src/audio_file.rs librespot.nocache/src/audio_file.rs
--- librespot/src/audio_file.rs 2017-06-14 00:14:21.000000000 +0200
+++ librespot.nocache/src/audio_file.rs 2017-06-20 00:35:14.060020000 +0200
@@ -3,7 +3,7 @@
use futures::Stream;
use futures::sync::{oneshot, mpsc};
use futures::{Poll, Async, Future};
-use futures::future::{self, FutureResult};
+use futures::future::FutureResult;
use std::cmp::min;
use std::fs;
use std::io::{self, Read, Write, Seek, SeekFrom};
@@ -129,15 +129,9 @@
impl AudioFileManager {
pub fn open(&self, file_id: FileId) -> AudioFileOpen {
- let cache = self.session().cache().cloned();
-
- if let Some(file) = cache.as_ref().and_then(|cache| cache.file(file_id)) {
- debug!("File {} already in cache", file_id);
- return AudioFileOpen::Cached(future::ok(file));
- }
-
debug!("Downloading file {}", file_id);
+ #[allow(unused_variables)]
let (complete_tx, complete_rx) = oneshot::channel();
let (headers, data) = request_chunk(&self.session(), file_id, 0).split();
@@ -151,18 +145,6 @@
complete_tx: Some(complete_tx),
};
- let session = self.session();
- self.session().spawn(move |_| {
- complete_rx.map(move |mut file| {
- if let Some(cache) = session.cache() {
- cache.save_file(file_id, &mut file);
- debug!("File {} complete, saving to cache", file_id);
- } else {
- debug!("File {} complete", file_id);
- }
- }).or_else(|oneshot::Canceled| Ok(()))
- });
-
AudioFileOpen::Streaming(open)
}
}

View File

@@ -0,0 +1,99 @@
#!/bin/sh
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
. /etc/os-release
. /etc/profile
oe_setup_addon service.librespot
activate_card() {
if [ -e "/proc/asound/$1" ]; then
return
fi
case "$LIBREELEC_ARCH" in
RPi*.arm)
if [ "$1" = "ALSA" ]; then
dtparam audio=on
sleep 1
fi
;;
*)
echo "Unable to activate card $1 on $LIBREELEC_ARCH"
exit
;;
esac
}
if [ ! "$(cat /proc/asound/pcm 2> /dev/null)" ]; then
case "$LIBREELEC_ARCH" in
RPi*.arm)
activate_card "ALSA"
;;
*)
echo "Unable to activate an audio interface on $LIBREELEC_ARCH"
exit
;;
esac
fi
case "$ls_o" in
*:CARD=*)
card="${ls_o##*:CARD=}"
card="${card%%,*}"
activate_card "$card"
index="$(readlink /proc/asound/$card)"
index="${index##*card}"
;;
hw:*,*)
echo "The hw:d,s specification is unreliable, use device:CARD=card instead"
index="${ls_o##hw:}"
index="${index%%,*}"
card="card$index"
activate_card "$card"
;;
*)
if [ -n "$ls_o" ]; then
echo "Unknown playback device specification $ls_o"
fi
;;
esac
if [ -n "$ls_b" -a "$ls_b" != "-" ]; then
bitrate="--bitrate $ls_b"
fi
if [ -n "$ls_o" ]; then
device="--device $ls_o"
fi
if [ -n "$ls_p" -a -n "$ls_u" ]; then
discovery="--disable-discovery --password $ls_p --username $ls_u"
fi
case "$LIBREELEC_ARCH" in
RPi*.arm)
[ "$(readlink /proc/asound/ALSA)" == "card$index" ] && [ "$pcm_3" ] &&
amixer -c "$index" cset name="PCM Playback Route" "$pcm_3"
;;
esac
librespot $bitrate \
--cache "$ADDON_HOME/cache" \
$device \
$discovery \
--name "Librespot@$HOSTNAME"

View File

@@ -0,0 +1,35 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
import subprocess
import xbmc
import xbmcaddon
class Monitor(xbmc.Monitor):
def __init__(self, *args, **kwargs):
xbmc.Monitor.__init__(self)
self.id = xbmcaddon.Addon().getAddonInfo('id')
def onSettingsChanged(self):
subprocess.call(['systemctl', 'restart', self.id])
if __name__ == '__main__':
Monitor().waitForAbort()

View File

@@ -0,0 +1,72 @@
# Kodi Media Center language file
# Addon Name: librespot
msgid ""
msgstr ""
msgctxt "#30100"
msgid "Configuration"
msgstr ""
msgctxt "#30101"
msgid "ALSA"
msgstr ""
msgctxt "#30102"
msgid "Configuration wizard"
msgstr ""
msgctxt "#30103"
msgid "Playback device"
msgstr ""
msgctxt "#30104"
msgid "Playback route"
msgstr ""
msgctxt "#30105"
msgid "auto detect"
msgstr ""
msgctxt "#30106"
msgid "headphone jack"
msgstr ""
msgctxt "#30107"
msgid "HDMI"
msgstr ""
msgctxt "#30108"
msgid "Spotify"
msgstr ""
msgctxt "#30109"
msgid "Username"
msgstr ""
msgctxt "#30110"
msgid "Password"
msgstr ""
msgctxt "#30111"
msgid "Discovery mode (set username and password to disable)"
msgstr ""
msgctxt "#30112"
msgid "Bit rate"
msgstr ""
msgctxt "#30113"
msgid "-"
msgstr ""
msgctxt "#30114"
msgid "90"
msgstr ""
msgctxt "#30115"
msgid "160"
msgstr ""
msgctxt "#30116"
msgid "320"
msgstr ""

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<category label="30100" >
<setting label="30101" type="lsep" />
<setting label="30102" type="action" action="RunScript(/storage/.kodi/addons/service.librespot/wizard/wizard.py)" />
<setting label="30103" type="text" id="ls_o" default="" />
<setting label="30104" type="enum" id="pcm_3" lvalues="30105|30106|30107" visible="eq(-1,default:CARD=ALSA)|eq(-1,sysdefault:CARD=ALSA)" />
<setting label="30108" type="lsep" />
<setting label="30109" type="text" id="ls_u" />
<setting label="30110" type="text" id="ls_p" option="hidden" visible="!eq(-1,)" />
<setting label="30111" type="bool" id="ls_d" default="true" enable="false" visible="eq(-1,)|eq(-2,)" />
<setting label="30112" type="labelenum" id="ls_b" lvalues="30113|30114|30115|30116" />
</category>
</settings>

View File

@@ -0,0 +1,11 @@
[Unit]
Description=librespot
After=network-online.target
Requires=network-online.target
[Service]
ExecStart=/bin/sh /storage/.kodi/addons/service.librespot/bin/librespot.start
Restart=on-failure
[Install]
WantedBy=kodi.target

View File

@@ -0,0 +1,39 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
import alsaaudio as alsa
import xbmcaddon
import xbmcgui
if __name__ == '__main__':
addon = xbmcaddon.Addon('service.librespot')
dialog = xbmcgui.Dialog()
strings = addon.getLocalizedString
while True:
pcms = alsa.pcms()[1:]
if len(pcms) == 0:
dialog.ok(strings(30211), strings(30212))
break
pcmx = dialog.select(strings(30113), pcms)
if pcmx == -1:
break
pcm = pcms[pcmx]
addon.setSetting('ls_o', pcm)
break

View File

@@ -0,0 +1,5 @@
101:
- Fix dialog message
100:
- Initial add-on

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View File

@@ -0,0 +1,61 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="locale"
PKG_REV="101"
PKG_ARCH="any"
PKG_DEPENDS_TARGET="toolchain glibc"
PKG_SECTION="service"
PKG_SHORTDESC="Locale: allows users to set a custom locale to override the POSIX default"
PKG_LONGDESC="Locale ($PKG_REV) allows users to set a custom locale in the OS to override the POSIX default"
PKG_IS_ADDON="yes"
PKG_ADDON_NAME="Locale"
PKG_ADDON_TYPE="xbmc.service"
make_target() {
: # nothing to do
}
makeinstall_target() {
: # nothing to do
}
addon() {
mkdir -p "$ADDON_BUILD/$PKG_ADDON_ID/i18n"
cp -PR "$(get_build_dir glibc)/localedata/charmaps" \
"$(get_build_dir glibc)/localedata/locales" \
"$ADDON_BUILD/$PKG_ADDON_ID/i18n"
mkdir -p "$ADDON_BUILD/$PKG_ADDON_ID/locpath"
cp -PR $PKG_DIR/resources $ADDON_BUILD/$PKG_ADDON_ID
locales=""
for p in "$ADDON_BUILD/$PKG_ADDON_ID/i18n/locales"/*; do
l="$(basename $p)"
if [ "$l" = "POSIX" ]; then
continue
fi
locales="$locales|$l"
done
locales="${locales:1}"
sed -e "s/@LOCALES@/$locales/" \
-i $ADDON_BUILD/$PKG_ADDON_ID/resources/settings.xml
}

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<category label="30000">
<setting label="30001" id="charmap" type="select" default="UTF-8" values="UTF-8" enable="false" />
<setting label="30002" id="locale" type="select" default="en_GB" values="@LOCALES@" />
</category>
</settings>

View File

@@ -0,0 +1,74 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2017-present Team LibreELEC
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
import os
import subprocess
import xbmc
import xbmcaddon
import xbmcgui
class Monitor(xbmc.Monitor):
def __init__(self, *args, **kwargs):
xbmc.Monitor.__init__(self)
self.setLocale()
def onSettingsChanged(self):
self.setLocale()
def setLocale(self):
addon = xbmcaddon.Addon()
charmap = addon.getSetting('charmap')
locale = addon.getSetting('locale')
lang = locale + '.' + charmap
path = addon.getAddonInfo('path')
i18npath = os.path.join(path, 'i18n')
locpath = os.path.join(path, 'locpath')
localepath = os.path.join(locpath, lang)
profiled = os.path.join(path, 'profile.d')
profile = os.path.join(profiled, '10-locale.profile')
strings = addon.getLocalizedString
if os.path.isdir(locpath) == False:
os.makedirs(locpath)
if os.path.isdir(localepath) == False:
os.environ['I18NPATH'] = i18npath
subprocess.call(['localedef', '-f', charmap, '-i', locale, localepath])
if os.path.isdir(profiled) == False:
os.makedirs(profiled)
file = open(profile, 'w')
file.write('export LANG="' + lang + '"\n')
file.write('export LOCPATH="' + locpath + '"\n')
file.close()
current = os.environ.get('LANG', '')
if lang != current:
if xbmcgui.Dialog().yesno('Locale', strings(30003).format(lang)
) == True:
xbmc.restart()
if __name__ == '__main__':
Monitor().waitForAbort()

View File

@@ -0,0 +1,19 @@
# Kodi Media Center language file
msgid ""
msgstr ""
msgctxt "#30000"
msgid "Configuration"
msgstr ""
msgctxt "#30001"
msgid "Charmap"
msgstr ""
msgctxt "#30002"
msgid "Locale"
msgstr ""
msgctxt "#30003"
msgid "Locale changed to {}. Please reboot to apply globally."
msgstr ""

View File

@@ -0,0 +1,4 @@
<settings>
<setting id="charmap" value="UTF-8" />
<setting id="locale" value="en_GB" />
</settings>

View File

@@ -1,3 +1,6 @@
101
- make addon configurable
100
- Initial addon
- net-snmp 5.7.3

View File

@@ -18,12 +18,12 @@
PKG_NAME="net-snmp"
PKG_VERSION="5.7.3"
PKG_REV="100"
PKG_REV="101"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="http://www.net-snmp.org"
PKG_URL="http://sourceforge.net/projects/net-snmp/files/$PKG_NAME/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_DEPENDS_TARGET="toolchain libnl"
PKG_SECTION="service"
PKG_SHORTDESC="Simple Network Management Protocol utilities."
PKG_LONGDESC="Simple Network Management Protocol (SNMP) is a widely used protocol for monitoring the health and welfare of network equipment."
@@ -39,14 +39,22 @@ PKG_CONFIGURE_OPTS_TARGET="--with-defaults \
--disable-debugging \
--disable-deprecated \
--disable-snmptrapd-subagent \
--disable-perl-cc-checks \
--with-perl-modules=no \
--enable-mini-agent \
--disable-scripts \
--enable-static=no \
--enable-shared=yes \
--with-logfile=/storage/.kodi/userdata/addon_data/${PKG_ADDON_ID}/ \
--with-persistent-directory=/storage/.kodi/userdata/addon_data/${PKG_ADDON_ID}/ \
--disable-embedded-perl"
--enable-mini-agent \
--with-nl \
--with-logfile=/storage/.kodi/userdata/addon_data/${PKG_ADDON_ID} \
--with-persistent-directory=/storage/.kodi/userdata/addon_data/${PKG_ADDON_ID} \
--sysconfdir=/storage/.kodi/userdata/addon_data/${PKG_ADDON_ID} \
--prefix=/storage/.kodi/addons/${PKG_ADDON_ID} \
--exec-prefix=/storage/.kodi/addons/${PKG_ADDON_ID} \
--datarootdir=/storage/.kodi/userdata/addon_data/${PKG_ADDON_ID}/share \
--bindir=/storage/.kodi/addons/${PKG_ADDON_ID}/bin \
--sbindir=/storage/.kodi/addons/${PKG_ADDON_ID}/bin \
--libdir=/storage/.kodi/addons/${PKG_ADDON_ID}/lib \
--disable-embedded-perl \
--with-sysroot=$SYSROOT_PREFIX"
make_target() {
make
@@ -57,12 +65,11 @@ makeinstall_target() {
}
addon() {
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID
mv $PKG_BUILD/.$TARGET_NAME/usr/sbin/snmpd $PKG_BUILD/.$TARGET_NAME/usr/bin/snmpd
rm -rf $PKG_BUILD/.$TARGET_NAME/usr/sbin/
rm -rf $PKG_BUILD/.$TARGET_NAME/usr/include/
cp -r $PKG_BUILD/.$TARGET_NAME/usr/* $ADDON_BUILD/$PKG_ADDON_ID/
$STRIP $ADDON_BUILD/$PKG_ADDON_ID/lib/*.so
$STRIP $ADDON_BUILD/$PKG_ADDON_ID/bin/snmpd
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -r $PKG_BUILD/.$TARGET_NAME/storage/.kodi/addons/${PKG_ADDON_ID}/bin $PKG_BUILD/.$TARGET_NAME/storage/.kodi/userdata/addon_data/${PKG_ADDON_ID}/share $ADDON_BUILD/$PKG_ADDON_ID/
#Do not copy symlinks
find $PKG_BUILD/.$TARGET_NAME/storage/.kodi/addons/${PKG_ADDON_ID}/lib/ -type f -name '*.so.*' -exec cp '{}' $ADDON_BUILD/$PKG_ADDON_ID/lib/ \;
#remove all but major version from so file
for f in $ADDON_BUILD/$PKG_ADDON_ID/lib/*.so.* ; do mv "$f" "${f%.*.*}" ; done
}

View File

@@ -0,0 +1,11 @@
--- a/snmplib/read_config.c 2014-12-08 14:23:22.000000000 -0600
+++ b/snmplib/read_config.c 2017-03-30 12:21:16.351042803 -0500
@@ -1618,7 +1618,7 @@
* save a warning header to the top of the new file
*/
snprintf(fileold, sizeof(fileold),
- "%s%s# Please save normal configuration tokens for %s in SNMPCONFPATH/%s.conf.\n# Only \"createUser\" tokens should be placed here by %s administrators.\n%s",
+ "%s%s# Please save normal configuration tokens for %s in /storage/.kodi/userdata/addon_data/service.net-snmp/share/snmp/%s.conf.\n# Only \"createUser\" tokens should be placed here by %s administrators.\n%s",
"#\n# net-snmp (or ucd-snmp) persistent data file.\n#\n############################################################################\n# STOP STOP STOP STOP STOP STOP STOP STOP STOP \n",
"#\n# **** DO NOT EDIT THIS FILE ****\n#\n# STOP STOP STOP STOP STOP STOP STOP STOP STOP \n############################################################################\n#\n# DO NOT STORE CONFIGURATION ENTRIES HERE.\n",
type, type, type,

View File

@@ -0,0 +1,15 @@
--- a/net-snmp-create-v3-user.in 2014-12-08 14:23:22.000000000 -0600
+++ b/net-snmp-create-v3-user.in 2017-03-30 13:20:56.336794994 -0500
@@ -28,10 +28,8 @@
NSC_SRCDIR="NET-SNMP-SOURCE-DIR"
fi
-if @PSCMD@ | egrep ' snmpd *$' > /dev/null 2>&1 ; then
- echo "Apparently at least one snmpd demon is already running."
- echo "You must stop them in order to use this command."
- exit 1
+if @PSCMD@ | egrep 'snmpd'> /dev/null 2>&1 ; then
+ systemctl stop service.net-snmp.service
fi
Aalgorithm="MD5"

View File

@@ -24,4 +24,4 @@ ADDON_ID=service.net-snmp
ADDON_DIR="$HOME/.kodi/addons/$ADDON_ID"
ADDON_HOME="$HOME/.kodi/userdata/addon_data/$ADDON_ID"
$ADDON_DIR/bin/snmpd -LS0-6d -c $ADDON_DIR/snmpd.conf -M /storage/.kodi/addons/service.net-snmp/share/snmp/mibs -p /var/run/snmpd.pid
$ADDON_DIR/bin/snmpd -f -LS0-6d -c $ADDON_HOME/share/snmp/snmpd.conf -M $ADDON_DIR/share/snmp/mibs -p /var/run/snmpd.pid

View File

@@ -15,3 +15,63 @@
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
import xbmc
import xbmcvfs
import xbmcaddon
from os import system
class MyMonitor(xbmc.Monitor):
def __init__(self, *args, **kwargs):
xbmc.Monitor.__init__(self)
def onSettingsChanged(self):
writeconfig()
# addon
__addon__ = xbmcaddon.Addon(id='service.net-snmp')
__addonpath__ = xbmc.translatePath(__addon__.getAddonInfo('path'))
__addonhome__ = xbmc.translatePath(__addon__.getAddonInfo('profile'))
if not xbmcvfs.exists(xbmc.translatePath(__addonhome__ + 'share/snmp/')):
xbmcvfs.mkdirs(xbmc.translatePath(__addonhome__ + 'share/snmp/'))
config = xbmc.translatePath(__addonhome__ + 'share/snmp/snmpd.conf')
persistent = xbmc.translatePath(__addonhome__ + 'snmpd.conf')
def writeconfig():
system("systemctl stop service.net-snmp.service")
community = __addon__.getSetting("COMMUNITY")
location = __addon__.getSetting("LOCATION")
contact = __addon__.getSetting("CONTACT")
snmpversion = __addon__.getSetting("SNMPVERSION")
if xbmcvfs.exists(persistent):
xbmcvfs.delete(persistent)
file = xbmcvfs.File(config, 'w')
file.write('com2sec local default {}\n'.format(community))
file.write('group localgroup {} local\n'.format(snmpversion))
file.write('access localgroup "" any noauth exact all all none\n')
file.write('view all included .1 80\n')
file.write('syslocation {}\n'.format(location))
file.write('syscontact {}\n'.format(contact))
file.write('dontLogTCPWrappersConnects yes\n')
file.close()
if snmpversion == "v3":
snmppassword = __addon__.getSetting("SNMPPASSWORD")
snmpuser = __addon__.getSetting("SNMPUSER")
system("net-snmp-config --create-snmpv3-user -a {0} {1}".format(snmppassword,snmpuser))
system("systemctl start service.net-snmp.service")
if not xbmcvfs.exists(config):
writeconfig()
monitor = MyMonitor()
while not monitor.abortRequested():
if monitor.waitForAbort():
break

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
<!-- net-snmp -->
<string id="32000">General</string>
<string id="32001">Community</string>
<string id="32002">Location</string>
<string id="32003">Contact</string>
<string id="32004">SNMP Version</string>
<string id="32005">SNMP User</string>
<string id="32006">SNMP Password</string>
</strings>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<!-- net-snmp -->
<category label="32000">
<setting label="32001" id="COMMUNITY" type="text" default="libreelec"/>
<setting label="32002" id="LOCATION" type="text" default="HOME"/>
<setting label="32003" id="CONTACT" type="text" default="root@localhost"/>
<setting label="32004" id="SNMPVERSION" type="labelenum" values="v1|v2c|v3" default="v2c"/>
<setting label="32005" id="SNMPUSER" type="text" default="user"/>
<setting label="32006" id="SNMPPASSWORD" type="text" default="password"/>
</category>
</settings>

View File

@@ -1,10 +0,0 @@
com2sec local default libreelec
group localgroup v2c local
access localgroup "" any noauth exact all all none
view all included .1 80
syslocation HOME
syscontact root@libreelec
dontLogTCPWrappersConnects yes

View File

@@ -4,9 +4,11 @@ After=network-online.target
Requires=network-online.target
[Service]
Type=forking
Type=notification
ExecStart=/bin/sh -c "exec sh /storage/.kodi/addons/service.net-snmp/bin/snmpd.start"
ExecStop=/bin/sh -c "exec sh /storage/.kodi/addons/service.net-snmp/bin/snmpd.stop"
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/snmpd.pid
[Install]
WantedBy=kodi.target

View File

@@ -1,11 +1,14 @@
8.0.103
104
- Update to version 0.14.29
103
- Update to version 0.14.3
8.0.102
102
- Enable automatic upgrades
8.0.101
101
- Update to version 0.12.24
8.0.100
100
- Initial addon

View File

@@ -17,8 +17,8 @@
################################################################################
PKG_NAME="syncthing"
PKG_VERSION="0.14.3"
PKG_REV="103"
PKG_VERSION="0.14.29"
PKG_REV="104"
PKG_ARCH="any"
PKG_LICENSE="MPLv2"
PKG_SITE="https://syncthing.net/"
@@ -35,7 +35,17 @@ PKG_ADDON_TYPE="xbmc.service"
PKG_MAINTAINER="Anton Voyl (awiouy)"
configure_target() {
go run build.go assets
export GOOS=linux
export CGO_ENABLED=1
export CGO_NO_EMULATION=1
export CGO_CFLAGS=$CFLAGS
export LDFLAGS="-w -linkmode external -extldflags -Wl,--unresolved-symbols=ignore-in-shared-libs -extld $CC -X main.Version=v$PKG_VERSION"
export GOLANG=$ROOT/$TOOLCHAIN/lib/golang/bin/go
export GOPATH=$ROOT/$PKG_BUILD/src/github.com/syncthing/syncthing:$ROOT/$PKG_BUILD/vendor:$ROOT/$PKG_BUILD/Godeps/_workspace
export GOROOT=$ROOT/$TOOLCHAIN/lib/golang
export PATH=$PATH:$GOROOT/bin
$ROOT/$TOOLCHAIN/lib/golang/bin/go run build.go assets
mkdir -p $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/src/github.com/syncthing
ln -fs $ROOT/$PKG_BUILD $ROOT/$PKG_BUILD/src/github.com/syncthing/syncthing
@@ -60,16 +70,6 @@ configure_target() {
esac
;;
esac
export GOOS=linux
export CGO_ENABLED=1
export CGO_NO_EMULATION=1
export CGO_CFLAGS=$CFLAGS
export LDFLAGS="-w -linkmode external -extldflags -Wl,--unresolved-symbols=ignore-in-shared-libs -extld $CC -X main.Version=v$PKG_VERSION"
export GOLANG=$ROOT/$TOOLCHAIN/lib/golang/bin/go
export GOPATH=$ROOT/$PKG_BUILD/src/github.com/syncthing/syncthing:$ROOT/$PKG_BUILD/vendor:$ROOT/$PKG_BUILD/Godeps/_workspace
export GOROOT=$ROOT/$TOOLCHAIN/lib/golang
export PATH=$PATH:$GOROOT/bin
}
make_target() {

View File

@@ -1,3 +1,11 @@
111
- update to Tvheadend 4.2.2-32
110
- added tv_grab_file support for compressed files (gz bz2 xz)
- update to Tvheadend 4.2.1.7
- fix FRITZ!Box support, AVM Repeater and 6490 are now working
109
- added custom start options to addon
- added FRITZ!Box Sat>IP server support to addon

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://LibreELEC.tv
# Copyright (C) 2016-2017 Team LibreELEC
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,15 +17,15 @@
################################################################################
PKG_NAME="tvheadend42"
PKG_VERSION="e5f5a42"
PKG_VERSION_NUMBER="4.1.2415"
PKG_REV="109"
PKG_VERSION="76dbc3e"
PKG_VERSION_NUMBER="4.2.2-32"
PKG_REV="111"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.tvheadend.org"
PKG_URL="https://github.com/tvheadend/tvheadend/archive/$PKG_VERSION.tar.gz"
PKG_SOURCE_DIR="tvheadend-${PKG_VERSION}*"
PKG_DEPENDS_TARGET="toolchain curl dvb-tools libdvbcsa libiconv libressl Python:host yasm"
PKG_DEPENDS_TARGET="toolchain curl dvb-tools libdvbcsa libiconv libressl pngquant:host Python:host yasm"
PKG_SECTION="service"
PKG_SHORTDESC="Tvheadend: a TV streaming server for Linux"
PKG_LONGDESC="Tvheadend ($PKG_VERSION_NUMBER): is a TV streaming server for Linux supporting DVB-S/S2, DVB-C, DVB-T/T2, IPTV, SAT>IP, ATSC and ISDB-T"
@@ -56,6 +56,7 @@ PKG_CONFIGURE_OPTS_TARGET="--prefix=/usr \
--enable-hdhomerun_static \
--enable-epoll \
--enable-inotify \
--enable-pngquant \
--disable-nvenc \
--disable-uriparser \
$TVH_TRANSCODING \
@@ -67,6 +68,7 @@ PKG_CONFIGURE_OPTS_TARGET="--prefix=/usr \
post_unpack() {
sed -e 's/VER="0.0.0~unknown"/VER="'$PKG_VERSION_NUMBER' ~ LibreELEC Tvh-addon v'$ADDON_VERSION'.'$PKG_REV'"/g' -i $PKG_BUILD/support/version
sed -e 's|'/usr/bin/pngquant'|'$ROOT/$TOOLCHAIN/bin/pngquant'|g' -i $PKG_BUILD/support/mkbundle
}
pre_configure_target() {
@@ -92,6 +94,7 @@ fi
post_make_target() {
$CC -O -fbuiltin -fomit-frame-pointer -fPIC -shared -o capmt_ca.so src/extra/capmt_ca.c -ldl
$STRIP $ROOT/$PKG_BUILD/build.linux/tvheadend
}
makeinstall_target() {

View File

@@ -1,4 +1,4 @@
Subject: [PATCH] tvheadend: HACK ffmpeg 3.1.5 instead of 3.2
Subject: [PATCH] tvheadend: HACK ffmpeg 3.1.5 instead of 3.3
diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg
--- a/Makefile.ffmpeg
@@ -7,12 +7,12 @@ diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg
LIBMFX_SHA1 = 84dbdf4a6b409067e863eb9564bb2efdec6d39ce
LIBMFX_DIFFS = libmfx.linux.path.diff
-FFMPEG = ffmpeg-3.2
-FFMPEG = ffmpeg-3.3
-FFMPEG_TB = $(FFMPEG).tar.bz2
+FFMPEG = ffmpeg-3.1.5
+FFMPEG_TB = $(FFMPEG).tar.bz2
FFMPEG_URL = http://ffmpeg.org/releases/$(FFMPEG_TB)
-FFMPEG_SHA1 = aac4876d1bc4d2cd8d9833b20649c3eed984f6ef
-FFMPEG_SHA1 = 2590af8c754ce8d55745b1e5647e498bf271dc77
+FFMPEG_SHA1 = 053dfea8c9e057fdf237885decd03147cb2412b1

View File

@@ -30,7 +30,14 @@ then
XMLTV_LOCATION_SCRIPT=`grep XMLTV_LOCATION_SCRIPT $ADDON_SETTINGS | awk '{print $3 }' | sed -e "s,value=,," -e "s,\",,g"`
if [ "$XMLTV_TYPE" = "FILE" ]; then
cat "$XMLTV_LOCATION_FILE"
case "$XMLTV_LOCATION_FILE" in
*.gz | *.bz2 | *.xz)
zcat "$XMLTV_LOCATION_FILE"
;;
*)
cat "$XMLTV_LOCATION_FILE"
;;
esac
exit 0
elif [ "$XMLTV_TYPE" = "SCRIPT" ]; then
if [ -e "$XMLTV_LOCATION_SCRIPT" ] ; then

View File

@@ -2,7 +2,7 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-2017 Team LibreELEC
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -89,14 +89,26 @@ if [ "$WORKAROUND_SLEEP" == "true" ]; then
sleep $WORKAROUND_SLEEP_TIME
fi
# support FritzBox Sat>IP Server detection workaround
# support FritzBox Sat>IP Server detection workaround for AVM-Repeater and AVM-6490
if [ "$AVM_SATIP_SERVER" == "true" ]; then
AVM_SATIP=""
for i in $(seq 1 $AVM_SATIP_SERVER_NUM); do
ref_ip=AVM_IP_${i}
eval "AVM_IP=\${$ref_ip}"
AVM_SATIP="$AVM_SATIP --satip_xml http://${AVM_IP}:${AVM_PORT}/satipdesc.xml"
done
if [ "$AVM_DEVICE" == "AVM_Repeater" ]; then
AVM_SATIP="--satip_xml http://${AVM_ROUTER_IP}:49000/satipdesc.xml"
fi
if [ "$AVM_DEVICE" == "AVM_6490" ]; then
AVM_SATIP="--satip_xml http://${AVM_ROUTER_FAKE_IP}:49000/satipdesc.xml"
AVM_NUM="4"
fi
# add virtual ip as workaround for AVM limitation of one stream per ip
# AVM-Repeater (2 tuners)
ip address add ${AVM_IP1}/24 dev $AVM_ETH
ip address add ${AVM_IP2}/24 dev $AVM_ETH
# AVM-6490 (4 tuners)
if [ "$AVM_NUM" = "4" ]; then
ip address add ${AVM_IP3}/24 dev $AVM_ETH
ip address add ${AVM_IP4}/24 dev $AVM_ETH
fi
fi
# custom startup parameters

View File

@@ -1,39 +1,39 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
<!-- HTS TVHEADEND -->
<string id="1000">XMLTV</string>
<string id="1001">DVB</string>
<string id="1002">DEBUG</string>
<string id="1003">FRITZ!Box Sat>IP</string>
<string id="1010">XMLTV Configuration</string>
<string id="1011">XMLTV source type</string>
<string id="1012">XMLTV File location</string>
<string id="1013">XMLTV Web location</string>
<string id="1014">XMLTV Script location</string>
<string id="1020">DVB Configuration</string>
<string id="1021">Unload DVB mudules before suspend</string>
<string id="1022">Wait for frontend initialization</string>
<string id="1023">Number of adapters to wait for</string>
<string id="1024">Preload capmt_ca.so library</string>
<string id="1025">Delay the start of Tvheadend</string>
<string id="1026">Seconds delay</string>
<string id="1028">Custom start parameter</string>
<string id="1029">Parameter</string>
<string id="1110">FRITZ!Box Sat>IP server</string>
<string id="1111"># of tuners</string>
<string id="1112">Tuner #1 address</string>
<string id="1113">Tuner #2 address</string>
<string id="1114">Tuner #3 address</string>
<string id="1115">Tuner #4 address</string>
<string id="1116">AVM SAT>IP Port</string>
<string id="1120">Port</string>
<string id="1121">FRITZ!Box Sat>IP server connection</string>
<string id="1030">TRACE Configuration</string>
<string id="1031">Path</string>
<string id="1032">Activate TRACE Debug</string>
<string id="31032">Debug Value #1</string>
<string id="31033">Debug Value #2</string>
<string id="31034">Debug Value #3</string>
<string id="31035">Debug Value #4</string>
<string id="31036">Debug Value #5</string>
</strings>
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
<!-- HTS TVHEADEND -->
<string id="1000">XMLTV</string>
<string id="1001">DVB</string>
<string id="1002">DEBUG</string>
<string id="1003">FRITZ!Box Sat>IP</string>
<string id="1010">XMLTV Configuration</string>
<string id="1011">XMLTV source type</string>
<string id="1012">XMLTV File location</string>
<string id="1013">XMLTV Web location</string>
<string id="1014">XMLTV Script location</string>
<string id="1020">DVB Configuration</string>
<string id="1021">Unload DVB mudules before suspend</string>
<string id="1022">Wait for frontend initialization</string>
<string id="1023">Number of adapters to wait for</string>
<string id="1024">Preload capmt_ca.so library</string>
<string id="1025">Delay the start of Tvheadend</string>
<string id="1026">Seconds delay</string>
<string id="1028">Custom start parameter</string>
<string id="1029">Parameter</string>
<string id="1110">FRITZ!Box Sat>IP server</string>
<string id="1111">AVM device</string>
<string id="1112">IP of the AVM Repeater</string>
<string id="1113">Router IP range (last digits are always .254)</string>
<string id="1114">Used network</string>
<string id="1115">Virtual IP #1</string>
<string id="1116">Virtual IP #2</string>
<string id="1117">Virtual IP #3</string>
<string id="1118">Virtual IP #4</string>
<string id="1030">TRACE Configuration</string>
<string id="1031">Path</string>
<string id="1032">Activate TRACE Debug</string>
<string id="31032">Debug Value #1</string>
<string id="31033">Debug Value #2</string>
<string id="31034">Debug Value #3</string>
<string id="31035">Debug Value #4</string>
<string id="31036">Debug Value #5</string>
</strings>

View File

@@ -1,48 +1,51 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<!-- HTS TVHEADEND -->
<category label="1000">
<setting label="1010" type="lsep"/>
<setting type="sep" />
<setting id="XMLTV_TYPE" type="labelenum" label="1011" values="NONE|FILE|SCRIPT|WEB" sort="yes" default="NONE"/>
<setting id="XMLTV_LOCATION_FILE" type="file" label="1012" default="" enable="eq(-1,0)"/>
<setting id="XMLTV_LOCATION_WEB" type="text" label="1013" default="http://" enable="eq(-2,3)"/>
<setting id="XMLTV_LOCATION_SCRIPT" type="file" label="1014" default="" enable="eq(-3,2)"/>
</category>
<category label="1001">
<setting label="1020" type="lsep"/>
<setting type="sep" />
<setting id="WAIT_FOR_FEINIT" type="bool" label="1022" default="false" />
<setting id="NUM_ADAPTERS" type="slider" range="1,16" option="int" label="1023" default="1" enable="eq(-1,true)" />
<setting id="REMOVE_MODULES" type="text" label="1021" values="" default=""/>
<setting id="PRELOAD_CAPMT_CA" type="bool" label="1024" default="false" />
<setting id="WORKAROUND_SLEEP" type="bool" label="1025" default="false" />
<setting id="WORKAROUND_SLEEP_TIME" type="slider" range="1,30" option="int" label="1026" default="1" enable="eq(-1,true)" />
</category>
<category label="1002">
<setting label="1030" type="lsep"/>
<setting type="sep" />
<setting id="DEBUG_LOG" type="bool" label="1032" default="false" />
<setting type="sep" />
<setting id="DEBUG_LOG_PATH" type="text" label="1031" default="/storage/.kodi/userdata/addon_data/service.tvheadend42/debug.txt" enable="eq(-2,true)"/>
<setting id="DEBUG_LOG_TRACE_1" type="select" default="NONE" visible="eq(-3,true)" enable="eq(-3,true)" label="31032" values="NONE|all|access|api|avahi|bat|bonjour|bouquet|caclient|capmt|channel|charset|config|CPU|cron|csa|cwc|dbus|descrambler|diseqc|dvb|dvbcam|dvr|epg|epgdb|epggrab|esfilter|fastscan|fsmonitor|globalheaders|gtimer|hevc|htsp|htsp-ans|htsp-req|htsp-sub|http|httpc|idnode|imagecache|iptv|iptv-pcr|libav|linuxdvb|lock|main|mkv|mpegts|mtimer|muxer|muxsched|opentv|parser|pass|pat|pmt|profile|psip|pyepg|rtsp|satip|satips|scanfile|service|service-mapper|settings|spawn|subscription|tbl|tbl-atsc|tbl-base|tbl-csa|tbl-eit|tbl-pass|tbl-satip|tbl-time|tcp|thread|time|timeshift|transcode|TS|tsfile|tsfix|tvhdhomerun|tvhpoll|upnp|url|uuid|webui|xmltv" />
<setting id="DEBUG_LOG_TRACE_2" type="select" default="NONE" visible="eq(-4,true)" enable="!eq(-1,NONE)+eq(-4,true)" label="31033" values="NONE|access|api|avahi|bat|bonjour|bouquet|caclient|capmt|channel|charset|config|CPU|cron|csa|cwc|dbus|descrambler|diseqc|dvb|dvbcam|dvr|epg|epgdb|epggrab|esfilter|fastscan|fsmonitor|globalheaders|gtimer|hevc|htsp|htsp-ans|htsp-req|htsp-sub|http|httpc|idnode|imagecache|iptv|iptv-pcr|libav|linuxdvb|lock|main|mkv|mpegts|mtimer|muxer|muxsched|opentv|parser|pass|pat|pmt|profile|psip|pyepg|rtsp|satip|satips|scanfile|service|service-mapper|settings|spawn|subscription|tbl|tbl-atsc|tbl-base|tbl-csa|tbl-eit|tbl-pass|tbl-satip|tbl-time|tcp|thread|time|timeshift|transcode|TS|tsfile|tsfix|tvhdhomerun|tvhpoll|upnp|url|uuid|webui|xmltv" />
<setting id="DEBUG_LOG_TRACE_3" type="select" default="NONE" visible="eq(-5,true)" enable="!eq(-1,NONE)+!eq(-2,NONE)+eq(-5,true)" label="31034" values="NONE|access|api|avahi|bat|bonjour|bouquet|caclient|capmt|channel|charset|config|CPU|cron|csa|cwc|dbus|descrambler|diseqc|dvb|dvbcam|dvr|epg|epgdb|epggrab|esfilter|fastscan|fsmonitor|globalheaders|gtimer|hevc|htsp|htsp-ans|htsp-req|htsp-sub|http|httpc|idnode|imagecache|iptv|iptv-pcr|libav|linuxdvb|lock|main|mkv|mpegts|mtimer|muxer|muxsched|opentv|parser|pass|pat|pmt|profile|psip|pyepg|rtsp|satip|satips|scanfile|service|service-mapper|settings|spawn|subscription|tbl|tbl-atsc|tbl-base|tbl-csa|tbl-eit|tbl-pass|tbl-satip|tbl-time|tcp|thread|time|timeshift|transcode|TS|tsfile|tsfix|tvhdhomerun|tvhpoll|upnp|url|uuid|webui|xmltv" />
<setting id="DEBUG_LOG_TRACE_4" type="select" default="NONE" visible="eq(-6,true)" enable="!eq(-1,NONE)+!eq(-2,NONE)+!eq(-3,NONE)+eq(-6,true)" label="31035" values="NONE|access|api|avahi|bat|bonjour|bouquet|caclient|capmt|channel|charset|config|CPU|cron|csa|cwc|dbus|descrambler|diseqc|dvb|dvbcam|dvr|epg|epgdb|epggrab|esfilter|fastscan|fsmonitor|globalheaders|gtimer|hevc|htsp|htsp-ans|htsp-req|htsp-sub|http|httpc|idnode|imagecache|iptv|iptv-pcr|libav|linuxdvb|lock|main|mkv|mpegts|mtimer|muxer|muxsched|opentv|parser|pass|pat|pmt|profile|psip|pyepg|rtsp|satip|satips|scanfile|service|service-mapper|settings|spawn|subscription|tbl|tbl-atsc|tbl-base|tbl-csa|tbl-eit|tbl-pass|tbl-satip|tbl-time|tcp|thread|time|timeshift|transcode|TS|tsfile|tsfix|tvhdhomerun|tvhpoll|upnp|url|uuid|webui|xmltv" />
<setting id="DEBUG_LOG_TRACE_5" type="select" default="NONE" visible="eq(-7,true)" enable="!eq(-1,NONE)+!eq(-2,NONE)+!eq(-3,NONE)+!eq(-4,NONE)+eq(-7,true)" label="31036" values="NONE|access|api|avahi|bat|bonjour|bouquet|caclient|capmt|channel|charset|config|CPU|cron|csa|cwc|dbus|descrambler|diseqc|dvb|dvbcam|dvr|epg|epgdb|epggrab|esfilter|fastscan|fsmonitor|globalheaders|gtimer|hevc|htsp|htsp-ans|htsp-req|htsp-sub|http|httpc|idnode|imagecache|iptv|iptv-pcr|libav|linuxdvb|lock|main|mkv|mpegts|mtimer|muxer|muxsched|opentv|parser|pass|pat|pmt|profile|psip|pyepg|rtsp|satip|satips|scanfile|service|service-mapper|settings|spawn|subscription|tbl|tbl-atsc|tbl-base|tbl-csa|tbl-eit|tbl-pass|tbl-satip|tbl-time|tcp|thread|time|timeshift|transcode|TS|tsfile|tsfix|tvhdhomerun|tvhpoll|upnp|url|uuid|webui|xmltv" />
<setting type="sep" />
<setting id="CUSTOM_START" type="bool" label="1028" default="false" />
<setting id="CUSTOM_ARGS" type="text" label="1029" default="" enable="eq(-1,true)" />
</category>
<category label="1003">
<setting label="1121" type="lsep"/>
<setting type="sep" />
<setting id="AVM_SATIP_SERVER" type="bool" label="1110" default="false"/>
<setting id="AVM_SATIP_SERVER_NUM" label="1111" type="labelenum" values="0|1|2|3|4" default="1" visible="eq(-1,true)" enable="eq(-1,true)"/>
<setting id="AVM_IP_1" type="ipaddress" label="1112" default="192.168.178.254" visible="gt(-1,0)+eq(-2,true)" enable="gt(-1,0)+eq(-2,true)" />
<setting id="AVM_IP_2" type="ipaddress" label="1113" default="192.168.178.253" visible="gt(-2,1)+eq(-3,true)" enable="gt(-2,1)+eq(-3,true)" />
<setting id="AVM_IP_3" type="ipaddress" label="1114" default="192.168.178.252" visible="gt(-3,2)+eq(-4,true)" enable="gt(-3,2)+eq(-4,true)" />
<setting id="AVM_IP_4" type="ipaddress" label="1115" default="192.168.178.251" visible="gt(-4,3)+eq(-5,true)" enable="gt(-4,3)+eq(-5,true)" />
<setting id="AVM_PORT" type="number" label="1120" default="49000" visible="gt(-5,0)+eq(-6,true)" enable="gt(-5,0)+eq(-6,true)" />
</category>
</settings>
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<!-- HTS TVHEADEND -->
<category label="1000">
<setting label="1010" type="lsep"/>
<setting type="sep" />
<setting id="XMLTV_TYPE" type="labelenum" label="1011" values="NONE|FILE|SCRIPT|WEB" sort="yes" default="NONE"/>
<setting id="XMLTV_LOCATION_FILE" type="file" label="1012" default="" enable="eq(-1,0)"/>
<setting id="XMLTV_LOCATION_WEB" type="text" label="1013" default="http://" enable="eq(-2,3)"/>
<setting id="XMLTV_LOCATION_SCRIPT" type="file" label="1014" default="" enable="eq(-3,2)"/>
</category>
<category label="1001">
<setting label="1020" type="lsep"/>
<setting type="sep" />
<setting id="WAIT_FOR_FEINIT" type="bool" label="1022" default="false" />
<setting id="NUM_ADAPTERS" type="slider" range="1,16" option="int" label="1023" default="1" enable="eq(-1,true)" />
<setting id="REMOVE_MODULES" type="text" label="1021" values="" default=""/>
<setting id="PRELOAD_CAPMT_CA" type="bool" label="1024" default="false" />
<setting id="WORKAROUND_SLEEP" type="bool" label="1025" default="false" />
<setting id="WORKAROUND_SLEEP_TIME" type="slider" range="1,30" option="int" label="1026" default="1" enable="eq(-1,true)" />
</category>
<category label="1002">
<setting label="1030" type="lsep"/>
<setting type="sep" />
<setting id="DEBUG_LOG" type="bool" label="1032" default="false" />
<setting type="sep" />
<setting id="DEBUG_LOG_PATH" type="text" label="1031" default="/storage/.kodi/userdata/addon_data/service.tvheadend42/debug.txt" enable="eq(-2,true)"/>
<setting id="DEBUG_LOG_TRACE_1" type="select" default="NONE" visible="eq(-3,true)" enable="eq(-3,true)" label="31032" values="NONE|all|access|api|avahi|bat|bonjour|bouquet|caclient|capmt|channel|charset|config|CPU|cron|csa|cwc|dbus|descrambler|diseqc|dvb|dvbcam|dvr|epg|epgdb|epggrab|esfilter|fastscan|fsmonitor|globalheaders|gtimer|hevc|htsp|htsp-ans|htsp-req|htsp-sub|http|httpc|idnode|imagecache|iptv|iptv-pcr|libav|linuxdvb|lock|main|mkv|mpegts|mtimer|muxer|muxsched|opentv|parser|pass|pat|pmt|profile|psip|pyepg|rtsp|satip|satips|scanfile|service|service-mapper|settings|spawn|subscription|tbl|tbl-atsc|tbl-base|tbl-csa|tbl-eit|tbl-pass|tbl-satip|tbl-time|tcp|thread|time|timeshift|transcode|TS|tsfile|tsfix|tvhdhomerun|tvhpoll|upnp|url|uuid|webui|xmltv" />
<setting id="DEBUG_LOG_TRACE_2" type="select" default="NONE" visible="eq(-4,true)" enable="!eq(-1,NONE)+eq(-4,true)" label="31033" values="NONE|access|api|avahi|bat|bonjour|bouquet|caclient|capmt|channel|charset|config|CPU|cron|csa|cwc|dbus|descrambler|diseqc|dvb|dvbcam|dvr|epg|epgdb|epggrab|esfilter|fastscan|fsmonitor|globalheaders|gtimer|hevc|htsp|htsp-ans|htsp-req|htsp-sub|http|httpc|idnode|imagecache|iptv|iptv-pcr|libav|linuxdvb|lock|main|mkv|mpegts|mtimer|muxer|muxsched|opentv|parser|pass|pat|pmt|profile|psip|pyepg|rtsp|satip|satips|scanfile|service|service-mapper|settings|spawn|subscription|tbl|tbl-atsc|tbl-base|tbl-csa|tbl-eit|tbl-pass|tbl-satip|tbl-time|tcp|thread|time|timeshift|transcode|TS|tsfile|tsfix|tvhdhomerun|tvhpoll|upnp|url|uuid|webui|xmltv" />
<setting id="DEBUG_LOG_TRACE_3" type="select" default="NONE" visible="eq(-5,true)" enable="!eq(-1,NONE)+!eq(-2,NONE)+eq(-5,true)" label="31034" values="NONE|access|api|avahi|bat|bonjour|bouquet|caclient|capmt|channel|charset|config|CPU|cron|csa|cwc|dbus|descrambler|diseqc|dvb|dvbcam|dvr|epg|epgdb|epggrab|esfilter|fastscan|fsmonitor|globalheaders|gtimer|hevc|htsp|htsp-ans|htsp-req|htsp-sub|http|httpc|idnode|imagecache|iptv|iptv-pcr|libav|linuxdvb|lock|main|mkv|mpegts|mtimer|muxer|muxsched|opentv|parser|pass|pat|pmt|profile|psip|pyepg|rtsp|satip|satips|scanfile|service|service-mapper|settings|spawn|subscription|tbl|tbl-atsc|tbl-base|tbl-csa|tbl-eit|tbl-pass|tbl-satip|tbl-time|tcp|thread|time|timeshift|transcode|TS|tsfile|tsfix|tvhdhomerun|tvhpoll|upnp|url|uuid|webui|xmltv" />
<setting id="DEBUG_LOG_TRACE_4" type="select" default="NONE" visible="eq(-6,true)" enable="!eq(-1,NONE)+!eq(-2,NONE)+!eq(-3,NONE)+eq(-6,true)" label="31035" values="NONE|access|api|avahi|bat|bonjour|bouquet|caclient|capmt|channel|charset|config|CPU|cron|csa|cwc|dbus|descrambler|diseqc|dvb|dvbcam|dvr|epg|epgdb|epggrab|esfilter|fastscan|fsmonitor|globalheaders|gtimer|hevc|htsp|htsp-ans|htsp-req|htsp-sub|http|httpc|idnode|imagecache|iptv|iptv-pcr|libav|linuxdvb|lock|main|mkv|mpegts|mtimer|muxer|muxsched|opentv|parser|pass|pat|pmt|profile|psip|pyepg|rtsp|satip|satips|scanfile|service|service-mapper|settings|spawn|subscription|tbl|tbl-atsc|tbl-base|tbl-csa|tbl-eit|tbl-pass|tbl-satip|tbl-time|tcp|thread|time|timeshift|transcode|TS|tsfile|tsfix|tvhdhomerun|tvhpoll|upnp|url|uuid|webui|xmltv" />
<setting id="DEBUG_LOG_TRACE_5" type="select" default="NONE" visible="eq(-7,true)" enable="!eq(-1,NONE)+!eq(-2,NONE)+!eq(-3,NONE)+!eq(-4,NONE)+eq(-7,true)" label="31036" values="NONE|access|api|avahi|bat|bonjour|bouquet|caclient|capmt|channel|charset|config|CPU|cron|csa|cwc|dbus|descrambler|diseqc|dvb|dvbcam|dvr|epg|epgdb|epggrab|esfilter|fastscan|fsmonitor|globalheaders|gtimer|hevc|htsp|htsp-ans|htsp-req|htsp-sub|http|httpc|idnode|imagecache|iptv|iptv-pcr|libav|linuxdvb|lock|main|mkv|mpegts|mtimer|muxer|muxsched|opentv|parser|pass|pat|pmt|profile|psip|pyepg|rtsp|satip|satips|scanfile|service|service-mapper|settings|spawn|subscription|tbl|tbl-atsc|tbl-base|tbl-csa|tbl-eit|tbl-pass|tbl-satip|tbl-time|tcp|thread|time|timeshift|transcode|TS|tsfile|tsfix|tvhdhomerun|tvhpoll|upnp|url|uuid|webui|xmltv" />
<setting type="sep" />
<setting id="CUSTOM_START" type="bool" label="1028" default="false" />
<setting id="CUSTOM_ARGS" type="text" label="1029" default="" enable="eq(-1,true)" />
</category>
<category label="1003">
<setting label="1121" type="lsep"/>
<setting type="sep" />
<setting id="AVM_SATIP_SERVER" type="bool" label="1110" default="false"/>
<setting id="AVM_DEVICE" type="labelenum" label="1111" values="AVM_Repeater|AVM_6490" visible="eq(-1,true)"/>
<setting id="AVM_ROUTER_IP" type="ipaddress" label="1112" default="192.168.178.2" visible="eq(-2,true)+eq(-1,0)"/>
<setting id="AVM_ROUTER_FAKE_IP" type="ipaddress" label="1113" default="192.168.178.254" visible="eq(-3,true)+eq(-2,1)"/>
<setting id="AVM_ETH" type="labelenum" label="1114" visible="eq(-4,true)" values="eth0|wlan0|eth1|wlan1" />
<setting type="sep" visible="eq(-5,true)"/>
<setting id="AVM_IP1" type="ipaddress" label="1115" default="192.168.178.201" visible="eq(-6,true)"/>
<setting id="AVM_IP2" type="ipaddress" label="1116" default="192.168.178.202" visible="eq(-7,true)"/>
<setting id="AVM_IP3" type="ipaddress" label="1117" default="192.168.178.203" visible="eq(-8,true)+eq(-7,1)"/>
<setting id="AVM_IP4" type="ipaddress" label="1118" default="192.168.178.204" visible="eq(-9,true)+eq(-8,1)"/>
</category>
</settings>

View File

@@ -1,3 +1,9 @@
105
- fix for some scrambled channels
- update dvbapi to d7c7587
- update Sat>IP plugin to ed99cfb
- update VNSI to 615a077
104
- encode special characters in directory names to be accesible via smb
- update VNSI to d6847c3

View File

@@ -18,11 +18,11 @@
################################################################################
PKG_NAME="vdr-addon"
PKG_VERSION="8.0"
PKG_REV="104"
PKG_VERSION="2.2"
PKG_REV="105"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv"
PKG_SITE="https://libreelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain vdr vdr-plugin-dummydevice vdr-plugin-dvbapi vdr-plugin-eepg vdr-plugin-epgfixer vdr-plugin-epgsearch vdr-plugin-iptv vdr-plugin-live vdr-plugin-restfulapi vdr-plugin-satip vdr-plugin-streamdev vdr-plugin-vnsiserver vdr-plugin-wirbelscan vdr-plugin-wirbelscancontrol vdr-plugin-xmltv2vdr"
PKG_SECTION="service.multimedia"

View File

@@ -1,3 +1,9 @@
102
- added MuMuDVB
- updated w_scan to 20170107
- updated dvblast to 3.1
- updated dvb-fe-tool to 1.12.3
101
- added w_scan

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - http://www.libreelec.tv
# Copyright (C) 2016 Team LibreELEC
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -18,7 +18,7 @@
PKG_NAME="dvb-tools"
PKG_VERSION=""
PKG_REV="101"
PKG_REV="102"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE=""
@@ -26,7 +26,7 @@ PKG_URL=""
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="virtual"
PKG_SHORTDESC="DVB-Tools: is a bundle of dvb tools and programs"
PKG_LONGDESC="This bundle currently includes dvb-apps, dvb-fe-tool, dvblast and w_scan."
PKG_LONGDESC="This bundle currently includes dvb-apps, dvb-fe-tool, dvblast, mumudvb and w_scan."
PKG_AUTORECONF="no"
PKG_IS_ADDON="yes"
@@ -37,6 +37,7 @@ PKG_DEPENDS_TARGET="toolchain \
dvb-apps \
dvb-fe-tool \
dvblast \
mumudvb \
w_scan"
addon() {
@@ -60,6 +61,9 @@ addon() {
# dvblast
cp -P $(get_build_dir dvblast)/dvblast $ADDON_BUILD/$PKG_ADDON_ID/bin
# mumudvb
cp -P $(get_build_dir mumudvb)/.$TARGET_NAME/src/mumudvb $ADDON_BUILD/$PKG_ADDON_ID/bin
# w_scan
cp -P $(get_build_dir w_scan)/.$TARGET_NAME/w_scan $ADDON_BUILD/$PKG_ADDON_ID/bin

View File

@@ -1,7 +1,19 @@
8.0.101
105:
- Update to 5.0.1.1
104:
- Update to 5.0.0.100
103:
- Update to 4.8.1.0
102:
- Update to 4.8.0.495
101:
- Update to 4.2.1.102
- Build static for all projects and architectures
- Remove uneeded binaries and libraries
8.0.100
100:
- Initial release

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,8 +17,8 @@
################################################################################
PKG_NAME="mono"
PKG_VERSION="4.2.1.102"
PKG_REV="101"
PKG_VERSION="5.0.1.1"
PKG_REV="105"
PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="http://www.mono-project.com"

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - http://www.libreelec.tv
# Copyright (C) 2016 Team LibreELEC
# Copyright (C) 2016-2017 Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

View File

@@ -1,13 +1,16 @@
8.0.103
104
- squeezelite: update to a3d95ec and link audio libraries
103
- Add alsamixer
- Update mpg123 to 1.23.6
- Update squeezelite to 33cca7e
8.0.102
102
- Remove IR support from squeezelite
8.0.101
101
- Add mpg123 and squeezelite
8.0.100
100
- Initial Release

View File

@@ -18,7 +18,7 @@
PKG_NAME="multimedia-tools"
PKG_VERSION=""
PKG_REV="103"
PKG_REV="104"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE=""

View File

@@ -18,15 +18,15 @@
PKG_NAME="rpi-tools"
PKG_VERSION=""
PKG_REV="102"
PKG_REV="104"
PKG_ARCH="arm"
PKG_LICENSE="GPL"
PKG_SITE=""
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain RPi.GPIO picamera gpiozero"
PKG_DEPENDS_TARGET="toolchain RPi.GPIO picamera gpiozero lan951x-led-ctl"
PKG_SECTION="virtual"
PKG_SHORTDESC="A bundle of tools and programs for use on the Raspberry Pi"
PKG_LONGDESC="This bundle currently includes RPi.GPIO, picamera, gpiozero python modules"
PKG_LONGDESC="This bundle currently includes RPi.GPIO, picamera, gpiozero lan951x-led-ctl"
PKG_DISCAIMER="Raspberry Pi is a trademark of the Raspberry Pi Foundation http://www.raspberrypi.org"
PKG_IS_ADDON="yes"
@@ -49,4 +49,7 @@ addon() {
cp -P $BCM2835_DIR/hardfp/opt/vc/bin/raspiyuv $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -P $BCM2835_DIR/hardfp/opt/vc/bin/raspivid $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -P $BCM2835_DIR/hardfp/opt/vc/bin/raspividyuv $ADDON_BUILD/$PKG_ADDON_ID/bin
# lan951x-led-ctl
cp -P $(get_build_dir lan951x-led-ctl)/lan951x-led-ctl $ADDON_BUILD/$PKG_ADDON_ID/bin
}

View File

@@ -1,3 +1,6 @@
106
- Bump screen, fix colors issue
104
- Bump file package

View File

@@ -18,7 +18,7 @@
PKG_NAME="system-tools"
PKG_VERSION=""
PKG_REV="104"
PKG_REV="106"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE=""

View File

@@ -0,0 +1,204 @@
diff --git a/packages/audio/pulseaudio/patches/pulseaudio-0900.03-eliminates-lags-after-bluetooth-packet-loss.patch b/packages/audio/pulseaudio/patches/pulseaudio-0900.03-eliminates-lags-after-bluetooth-packet-loss.patch
new file mode 100644
index 0000000..6a7aeab
--- /dev/null
+++ b/packages/audio/pulseaudio/patches/pulseaudio-0900.03-eliminates-lags-after-bluetooth-packet-loss.patch
@@ -0,0 +1,198 @@
+diff --git a/src/modules/bluetooth/module-bluez5-device.c b/src/modules/bluetooth/module-bluez5-device.c
+index 84e6d55..b96a80d 100644
+--- a/src/modules/bluetooth/module-bluez5-device.c
++++ b/src/modules/bluetooth/module-bluez5-device.c
+@@ -649,6 +649,29 @@ static int a2dp_process_push(struct userdata *u) {
+ return ret;
+ }
+
++static void update_buffer_size(struct userdata *u) {
++ int old_bufsize, new_bufsize;
++ socklen_t len = sizeof(int);
++ int rc;
++
++ rc = getsockopt(u->stream_fd, SOL_SOCKET, SO_SNDBUF, &old_bufsize, &len);
++ if (rc == -1) {
++ pa_log_warn("Changing bluetooth buffer size: Failed to getsockopt(SO_SNDBUF): %s", pa_cstrerror(errno));
++ } else {
++ bool ok = false;
++ for (int n = 2; !ok && n < 16; ++n) {
++ new_bufsize = n * u->write_link_mtu;
++ rc = setsockopt(u->stream_fd, SOL_SOCKET, SO_SNDBUF, &new_bufsize, len);
++ if (rc == -1) {
++ pa_log_warn("Changing bluetooth buffer size: Failed to change from %d to %d: %s", old_bufsize, new_bufsize, pa_cstrerror(errno));
++ } else {
++ ok = true;
++ pa_log_info("Changing bluetooth buffer size: Changed from %d to %d", old_bufsize, new_bufsize);
++ }
++ }
++ }
++}
++
+ /* Run from I/O thread */
+ static void a2dp_set_bitpool(struct userdata *u, uint8_t bitpool) {
+ struct sbc_info *sbc_info;
+@@ -683,6 +706,8 @@ static void a2dp_set_bitpool(struct userdata *u, uint8_t bitpool) {
+ pa_sink_set_max_request_within_thread(u->sink, u->write_block_size);
+ pa_sink_set_fixed_latency_within_thread(u->sink,
+ FIXED_LATENCY_PLAYBACK_A2DP + pa_bytes_to_usec(u->write_block_size, &u->sample_spec));
++
++ update_buffer_size(u);
+ }
+
+ /* Run from I/O thread */
+@@ -814,6 +839,8 @@ static void setup_stream(struct userdata *u) {
+
+ if (u->profile == PA_BLUETOOTH_PROFILE_A2DP_SINK)
+ a2dp_set_bitpool(u, u->sbc_info.max_bitpool);
++
++ update_buffer_size(u);
+
+ u->rtpoll_item = pa_rtpoll_item_new(u->rtpoll, PA_RTPOLL_NEVER, 1);
+ pollfd = pa_rtpoll_item_get_pollfd(u->rtpoll_item, NULL);
+@@ -1327,6 +1354,7 @@ static void thread_func(void *userdata) {
+ unsigned do_write = 0;
+ unsigned pending_read_bytes = 0;
+ bool writable = false;
++ pa_usec_t ts_last_frame;
+
+ pa_assert(u);
+ pa_assert(u->transport);
+@@ -1341,11 +1369,16 @@ static void thread_func(void *userdata) {
+ /* Setup the stream only if the transport was already acquired */
+ if (u->transport_acquired)
+ setup_stream(u);
++ u->started_at = pa_rtclock_now();
+
++ ts_last_frame = u->started_at;
++
+ for (;;) {
+ struct pollfd *pollfd;
+ int ret;
+ bool disable_timer = true;
++ pa_usec_t ts_now = pa_rtclock_now();
++ pa_usec_t ts_next_frame = ts_last_frame + pa_bytes_to_usec(u->write_block_size, &u->sample_spec);
+
+ pollfd = u->rtpoll_item ? pa_rtpoll_item_get_pollfd(u->rtpoll_item, NULL) : NULL;
+
+@@ -1404,86 +1437,57 @@ static void thread_func(void *userdata) {
+ if (pollfd->revents & POLLOUT)
+ writable = true;
+
+- if ((!u->source || !PA_SOURCE_IS_LINKED(u->source->thread_info.state)) && do_write <= 0 && writable) {
+- pa_usec_t time_passed;
+- pa_usec_t audio_sent;
++ if ((!u->source || !PA_SOURCE_IS_LINKED(u->source->thread_info.state))) {
+
+- /* Hmm, there is no input stream we could synchronize
+- * to. So let's do things by time */
++ if (ts_now >= ts_next_frame) {
+
+- time_passed = pa_rtclock_now() - u->started_at;
+- audio_sent = pa_bytes_to_usec(u->write_index, &u->sample_spec);
++ if (writable) {
++ int n_written;
++
++ if (u->profile == PA_BLUETOOTH_PROFILE_A2DP_SINK) {
++ if ((n_written = a2dp_process_render(u)) < 0)
++ goto fail;
++ } else {
++ if ((n_written = sco_process_render(u)) < 0)
++ goto fail;
++ }
+
+- if (audio_sent <= time_passed) {
+- pa_usec_t audio_to_send = time_passed - audio_sent;
++ if (n_written == 0)
++ pa_log("Broken kernel: we got EAGAIN on write() after POLLOUT!");
+
+- /* Never try to catch up for more than 100ms */
+- if (u->write_index > 0 && audio_to_send > MAX_PLAYBACK_CATCH_UP_USEC) {
++ do_write -= n_written;
++ writable = false;
++ } else {
+ pa_usec_t skip_usec;
+ uint64_t skip_bytes;
++ pa_memchunk tmp;
+
+- skip_usec = audio_to_send - MAX_PLAYBACK_CATCH_UP_USEC;
++ skip_usec = ts_now - ts_last_frame;
+ skip_bytes = pa_usec_to_bytes(skip_usec, &u->sample_spec);
+
+- if (skip_bytes > 0) {
+- pa_memchunk tmp;
++ pa_log_warn("Skipping %llu us (= %llu bytes) in audio stream",
++ (unsigned long long) skip_usec,
++ (unsigned long long) skip_bytes);
+
+- pa_log_warn("Skipping %llu us (= %llu bytes) in audio stream",
+- (unsigned long long) skip_usec,
+- (unsigned long long) skip_bytes);
++ pa_sink_render_full(u->sink, skip_bytes, &tmp);
++ pa_memblock_unref(tmp.memblock);
++ u->write_index += skip_bytes;
+
+- pa_sink_render_full(u->sink, skip_bytes, &tmp);
+- pa_memblock_unref(tmp.memblock);
+- u->write_index += skip_bytes;
+-
+- if (u->profile == PA_BLUETOOTH_PROFILE_A2DP_SINK)
+- a2dp_reduce_bitpool(u);
+- }
++ if (u->profile == PA_BLUETOOTH_PROFILE_A2DP_SINK)
++ a2dp_reduce_bitpool(u);
+ }
+-
+- do_write = 1;
++ ts_last_frame = ts_now;
++ // TODO: ts_last_frame might be slightly inaccurate; it should depend on ts_next_frame
+ pending_read_bytes = 0;
+ }
+- }
+-
+- if (writable && do_write > 0) {
+- int n_written;
+
+- if (u->write_index <= 0)
+- u->started_at = pa_rtclock_now();
++ {
++ pa_usec_t ts_now2 = pa_rtclock_now();
++ pa_usec_t sleep_for = ts_now2 > ts_next_frame ? 0 : ts_next_frame - ts_now2;
+
+- if (u->profile == PA_BLUETOOTH_PROFILE_A2DP_SINK) {
+- if ((n_written = a2dp_process_render(u)) < 0)
+- goto fail;
+- } else {
+- if ((n_written = sco_process_render(u)) < 0)
+- goto fail;
++ pa_rtpoll_set_timer_relative(u->rtpoll, sleep_for);
++ disable_timer = false;
+ }
+-
+- if (n_written == 0)
+- pa_log("Broken kernel: we got EAGAIN on write() after POLLOUT!");
+-
+- do_write -= n_written;
+- writable = false;
+- }
+-
+- if ((!u->source || !PA_SOURCE_IS_LINKED(u->source->thread_info.state)) && do_write <= 0) {
+- pa_usec_t sleep_for;
+- pa_usec_t time_passed, next_write_at;
+-
+- if (writable) {
+- /* Hmm, there is no input stream we could synchronize
+- * to. So let's estimate when we need to wake up the latest */
+- time_passed = pa_rtclock_now() - u->started_at;
+- next_write_at = pa_bytes_to_usec(u->write_index, &u->sample_spec);
+- sleep_for = time_passed < next_write_at ? next_write_at - time_passed : 0;
+- /* pa_log("Sleeping for %lu; time passed %lu, next write at %lu", (unsigned long) sleep_for, (unsigned long) time_passed, (unsigned long)next_write_at); */
+- } else
+- /* drop stream every 500 ms */
+- sleep_for = PA_USEC_PER_MSEC * 500;
+-
+- pa_rtpoll_set_timer_relative(u->rtpoll, sleep_for);
+- disable_timer = false;
+ }
+ }
+ }

View File

@@ -0,0 +1,36 @@
#!/bin/sh
#
# Sample user config script to setup Cirrus Logic Audio Card
# load helper functions and definitions
. /usr/lib/alsa/rpi-cirrus-functions.sh
# enable output to S/PDIF, line out and headset out
playback_to_spdif
playback_to_lineout
playback_to_headset
# disable noise gate - this can cut off the first few ms of playback
mixer 'Noise Gate Switch' off
# Uncomment this line to enable output to speakers
# playback_to_speakers
# example: mix line in and headset in into line out using a high-pass filter
# - line in gain is set to +8dB
# - headset in gain is set to +20dB
# - line in and headset in are mixed together in the filter, each using
# a gain of -3dB (volume 29). line in uses input 1, headset in input 2
# - first input of line out is connected to audio signal from RPi/Kodi,
# using a -3dB gain
# - second input of line out is connected to output of the filter
#
# mixer "${line_out} Digital Switch" off # mute output
# setup_line_in 8
# setup_headset_in 20
# setup_filter "High-Pass" "240,3"
# set_mixer $filter_signals $line_in_signals 29 1
# set_mixer $filter_signals $headset_in_signals 29 2
# set_mixer $line_out_signals $rpi_out_signals 29 1
# set_mixer $line_out_signals $filter_signals 29 2
# mixer "${line_out} Digital Switch" on # unmute output

View File

@@ -0,0 +1 @@
softdep arizona-spi pre: arizona-ldo1

View File

@@ -0,0 +1,46 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016-2017 Team LibreELEC
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="rpi-cirrus-config"
PKG_VERSION="0.0.1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/HiassofT/rpi-cirrus-config"
PKG_URL="https://github.com/HiassofT/rpi-cirrus-config/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="alsa-utils"
PKG_SECTION="driver"
PKG_SHORTDESC="Config scripts for the Wolfson/Cirrus Logic audio card"
PKG_LONGDESC="Config scripts for the Wolfson/Cirrus Logic audio card"
make_target() {
: #
}
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/udev
install -m 0755 $PKG_DIR/scripts/rpi-cirrus-config $INSTALL/usr/lib/udev/rpi-cirrus-config
mkdir -p $INSTALL/usr/share/alsa/cards
cp alsa/RPiCirrus.conf $INSTALL/usr/share/alsa/cards
mkdir -p $INSTALL/usr/lib/alsa
cp mixer-scripts/rpi-cirrus-functions.sh $INSTALL/usr/lib/alsa
mkdir -p $INSTALL/usr/config
cp -PR $PKG_DIR/config/* $INSTALL/usr/config
}

View File

@@ -0,0 +1,24 @@
#!/bin/sh
# setup default mixer settings for Cirrus Logic Audio Card
. /etc/profile
if [ -f $HOME/.config/sound.conf ] ; then
alsactl restore -f $HOME/.config/sound.conf
else
if [ -r $HOME/.config/rpi-cirrus-config.sh ] ; then
progress "Setting up Cirrus Logic Audio Card with user config"
sh $HOME/.config/rpi-cirrus-config.sh
else
progress "Setting up Cirrus Logic Audio Card"
# load helper functions and definitions
. /usr/lib/alsa/rpi-cirrus-functions.sh
playback_to_spdif
playback_to_lineout
playback_to_headset
mixer 'Noise Gate Switch' off
fi
fi

View File

@@ -0,0 +1,32 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
#
# LibreELEC 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.
#
# LibreELEC 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 LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
# When a sound device is detected, restore the volume settings
SUBSYSTEM=="sound", KERNEL=="controlC*", NAME="snd/%k", ACTION=="add", GOTO="alsa_restore_go"
GOTO="alsa_restore_end"
LABEL="alsa_restore_go"
# Separate config-script for RPi-Cirrus card
DRIVERS=="snd-rpi-cirrus", RUN+="rpi-cirrus-config", GOTO="alsa_restore_end"
# Default config-script for all other cards
RUN+="soundconfig %k"
LABEL="alsa_restore_end"

View File

@@ -20,8 +20,8 @@ PKG_NAME="elfutils"
PKG_VERSION="0.167"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://fedorahosted.org/elfutils/"
PKG_URL="https://fedorahosted.org/releases/e/l/elfutils/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_SITE="https://sourceware.org/elfutils/"
PKG_URL="https://sourceware.org/elfutils/ftp/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain zlib"
PKG_SECTION="devel"
PKG_SHORTDESC="elfutils: collection of utilities to handle ELF objects"

View File

@@ -22,13 +22,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://libcec.pulse-eight.com/"
PKG_URL="https://github.com/Pulse-Eight/libcec/archive/$PKG_VERSION.tar.gz"
if [ "$PROJECT" = "imx6" ]; then
if [ "$LINUX_VERSION" = "sr-3.14" ]; then
PKG_PATCH_DIRS="3.14-sr"
else
PKG_PATCH_DIRS="4.4-xbian"
fi
fi
[ "$PROJECT" = "imx6" ] && PKG_PATCH_DIRS="${LINUX#imx6-}"
PKG_DEPENDS_TARGET="toolchain systemd lockdev p8-platform"
PKG_SECTION="system"
PKG_SHORTDESC="libCEC is an open-source dual licensed library designed for communicating with the Pulse-Eight USB - CEC Adaptor"

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