Compare commits

..

436 Commits
6.0.1 ... 4.1.6

Author SHA1 Message Date
Stephan Raue
873d58a644 config/version: set version to 4.1.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-06 18:47:35 +02:00
Stephan Raue
c8d8ca3ef7 projects/*/linux: add STK1160 support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-06 18:10:53 +02:00
Stephan Raue
35d0299d4b projects/RPi/patches/linux: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-06 17:58:20 +02:00
Stephan Raue
efc28495e5 bcm2835-tools: update to bcm2835-tools-9bf9da2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-06 17:49:15 +02:00
Stephan Raue
4dbf733967 bcm2835-driver: update to bcm2835-driver-9bf9da2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-06 17:49:08 +02:00
Stephan Raue
3c0c2edeb7 linux: update to linux-3.16.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-06 15:05:45 +02:00
Stephan Raue
d7bf94ebef libgcrypt: update to libgcrypt-1.6.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-06 06:10:51 +02:00
Stephan Raue
b06fbc19d5 libpcap: update to libpcap-1.6.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-06 06:10:44 +02:00
Stephan Raue
ef47e642cb llvm: update to llvm-3.5.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-05 21:18:38 +02:00
Stephan Raue
018b3e93ca Mesa: update to Mesa-10.3.0-rc3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-05 21:18:38 +02:00
Matt DeVillier
ce934ebd42 Updated patch for 3.1.6.1 kernel driver
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
2014-09-05 21:18:18 +02:00
Stephan Raue
d96c250e23 linux: remove PS3 repeat patch for now, needs to be reworked
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-05 18:31:02 +02:00
Stephan Raue
61fbaa4b60 linux: remove not more needed patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-05 18:31:02 +02:00
Stephan Raue
6bc36fc075 config/functions: fix strip_lto
no lto *flags should be left after stripping..
2014-09-05 18:31:02 +02:00
Stephan Raue
a28b4c1d71 config/functions: remove strip_linker_plugin 2014-09-05 18:31:02 +02:00
Stephan Raue
1f5f54d750 ncurses: strip_lto instead of linker_plugin 2014-09-05 18:31:02 +02:00
Stephan Raue
1ef0e7b8da config/optimize: cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-05 18:31:02 +02:00
Stephan Raue
1a12c1e4e8 systemd: remove userspace firmware loading support
removed in next systemd
2014-09-05 18:31:01 +02:00
Stephan Raue
e07e31baca linux: disable FW_LOADER_USER_HELPER
support removed in next systemd
2014-09-05 18:31:01 +02:00
Stephan Raue
e51666ac27 util-linux: update to util-linux-2.25.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-05 18:31:01 +02:00
Stephan Raue
7a5fed576f e2fsprogs: update to e2fsprogs-1.42.12
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-05 18:31:01 +02:00
Stephan Raue
2f82f02b3a projects/*/linux: add CH341 usb-serial support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-05 18:31:01 +02:00
Stephan Raue
e2198fd0f0 ncurses: update to ncurses-5.9, with upstream patches taken from fedora up to 20140323 :-( , this fixes some issues, segfaults etc with 'dialog' :-(, todo: replace dialog and ncurses if possible
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-05 18:31:01 +02:00
Stephan Raue
d07d0b0470 Mesa: update to Mesa-10.3.0-rc2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-09-05 18:30:53 +02:00
MilhouseVH
bcc095374b Enable mmal libraries 2014-09-05 10:31:52 +02:00
Stephan Raue
f59660b8d6 dbus: cosmetics 2014-09-05 10:31:52 +02:00
Stephan Raue
bec127d84a libcdio: minors 2014-09-05 10:31:52 +02:00
Stephan Raue
6a8b3c2725 scripts: minor cosmetics 2014-09-05 10:31:52 +02:00
Stephan Raue
7e52f13929 busybox: enable 'ntpd' applet 2014-09-05 10:31:52 +02:00
Stephan Raue
eae972e373 remove package: ntp 2014-09-05 10:31:51 +02:00
Stephan Raue
78fed44667 connman: dont depend on ntp 2014-09-05 10:31:51 +02:00
Stefan Saraev
8afb4531c7 lcdproc: enable shuttleVFD 2014-09-05 10:31:51 +02:00
Stephan Raue
4e21690282 xbmc: add patch to support PSTATE driver
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-30 00:08:02 +02:00
Stephan Raue
5d07c724f4 projects/Generic/linux: enable PSTATE support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-30 00:07:54 +02:00
Stephan Raue
a253ddfbad Mesa: add upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-29 09:37:26 +02:00
Stephan Raue
435c14c841 new package: add package 'libbdplus'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-29 09:36:52 +02:00
Stephan Raue
96887a1f92 projects/*/options: add option to select AACS support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-29 09:35:37 +02:00
Stephan Raue
c8e0a26065 bluez: update to bluez-5.22
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-28 20:44:55 +02:00
Stephan Raue
381d929e8a config/version: set version back to 'devel'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-28 16:28:23 +02:00
Stephan Raue
460cbaa454 Revert "xbmc: link with -fwhole-program"
This reverts commit 2f7dc98978.
2014-08-28 16:27:29 +02:00
Stephan Raue
47fa854310 Merge branch 'openelec-4.2' of github.com:OpenELEC/OpenELEC.tv into openelec-4.2 2014-08-28 16:25:21 +02:00
Stephan Raue
fedac33b68 config/version: set version to 4.1.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-28 00:31:39 +02:00
Stephan Raue
6ae08989ee bcm2835-bootloader: update to bcm2835-bootloader-fb3e439
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-27 23:30:36 +02:00
Stephan Raue
db03633da0 bcm2835-driver: update to bcm2835-driver-fb3e439
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-27 23:30:36 +02:00
Stephan Raue
9ffafc990e projects/RPi/patches/linux: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-27 23:21:55 +02:00
Stephan Raue
d78a1c1563 xbmc: typo; second one, who eats our quotes?
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-27 22:50:14 +02:00
Stephan Raue
4ab9325fea connman: typo
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-27 22:49:42 +02:00
Stephan Raue
d9041e487b Mesa: update to Mesa-10.3.0-rc1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-27 17:37:02 +02:00
Stephan Raue
f66b805bb8 projects/RPi/patches/xbmc: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-26 13:24:38 +02:00
Stephan Raue
477fe6fdaa projects/*/linux: sync kernel config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-26 13:24:07 +02:00
Stephan Raue
867c0cfa83 libevdev: compile with -fPIC 2014-08-26 04:03:05 +02:00
Stephan Raue
51036bec18 binutils: cleanup. 64-bit-bfd is no more.. 2014-08-26 04:03:05 +02:00
Stephan Raue
ad9ab6ad07 plymouth-lite: meh -fwhole-program. fails without lto 2014-08-26 04:03:05 +02:00
Stephan Raue
7e1cc7a536 libpng:host: build static
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-26 04:03:05 +02:00
Stephan Raue
e3b44b81ed libxcb: disable unused extensions 2014-08-26 04:03:05 +02:00
Stephan Raue
084649c4b6 libxml2: remove libxml2:host 2014-08-26 04:03:05 +02:00
Stephan Raue
632f7b7f36 Mesa: dont depend on libxml2:host. cleanup --with-expat 2014-08-26 04:03:05 +02:00
Stephan Raue
eddf0d0af1 elfutils: update to elfutils-0.159. disable nls 2014-08-26 04:01:54 +02:00
Stephan Raue
36e645900c expat: remove expat:host 2014-08-26 04:01:54 +02:00
Stephan Raue
2cace5e116 Python:host: clean up expat
system-expat not really needed here.
2014-08-26 04:01:54 +02:00
Stephan Raue
fc5e29f7d8 ncurses: clean up
- disable terminfo database. fallbacks are enough.
- remove ncurses:host
2014-08-26 04:00:41 +02:00
Stephan Raue
0860d11d1a util-linux:host: build static 2014-08-26 04:00:41 +02:00
Stephan Raue
52bf2cf356 libtool:host: build static libltdl 2014-08-26 04:00:41 +02:00
Stephan Raue
6094de8ff5 flex:host: build static 2014-08-26 04:00:41 +02:00
Stephan Raue
6e4715b638 gcc: build without libgomp/libitm 2014-08-26 04:00:41 +02:00
Stephan Raue
04f64ed612 libxml2:host: build static 2014-08-26 04:00:41 +02:00
Stephan Raue
436e66b01a expat:host: build static 2014-08-26 04:00:41 +02:00
Stephan Raue
2abca08f32 gettext:host: disable curses, use included libxml 2014-08-26 04:00:41 +02:00
Stephan Raue
f79017b689 lzo:host: build static 2014-08-26 04:00:41 +02:00
Stefan Saraev
f815e2e868 repository.unofficial.addon.pro: TARGET_ARCH is better... 2014-08-26 03:59:30 +02:00
Stephan Raue
2f7dc98978 xbmc: link with -fwhole-program 2014-08-24 23:53:12 +02:00
Stephan Raue
19da4f398e samba: link with -fwhole-program
samba_multicall before: 9.6M after: 3.3M. 290% size win
2014-08-24 23:52:06 +02:00
Stephan Raue
4701277f4a samba: clean up unused configure opts 2014-08-24 23:51:58 +02:00
Stephan Raue
c9fb67d03d projects/RPi/patches/linux: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-24 14:01:04 +02:00
Stephan Raue
ba52eda09e bcm2835-bootloader: update to bcm2835-bootloader-6eda68a
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-24 13:53:46 +02:00
Stephan Raue
f4c53d689f bcm2835-driver: update to bcm2835-driver-6eda68a
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-24 13:53:33 +02:00
Stephan Raue
b2084ce45f busybox: force rebuild on config update 2014-08-24 05:22:40 +02:00
Stephan Raue
9fda0a0a35 connman: remove support to create initial setting
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-24 05:22:40 +02:00
Stephan Raue
10972f677e timezone-data: remove tzdata-setup script
now, on tz change, xbmc saves the timezone directly
into /storage/.cache/timezone in format: TIMEZONE=xx/yy

defaults to UTC if not (yet) set (first boot)
2014-08-24 05:22:40 +02:00
Stephan Raue
e1389854a2 xbmc: change the way tz setup is called 2014-08-24 05:22:39 +02:00
Stephan Raue
7418fac988 samba: samba-defaults.service cosmetics 2014-08-24 05:22:39 +02:00
Stephan Raue
072e6f2a73 busybox: cron.service cosmetics 2014-08-24 05:22:39 +02:00
Stephan Raue
9822f05a77 busybox: var-log-debug.service cosmetics 2014-08-24 05:22:39 +02:00
Stephan Raue
7c1fa5ed52 connman: update to connman-1.25 disable gadget support 2014-08-24 05:22:39 +02:00
Stephan Raue
70bc522417 taglib: fix pkgconf 2014-08-22 21:03:54 +02:00
Stephan Raue
36b80b7980 glew: fix pkgconf 2014-08-22 21:03:54 +02:00
Stephan Raue
c411b9037a freetype: fix pkgconf 2014-08-22 21:03:53 +02:00
Stephan Raue
8900551ff5 pciutils: fix pkgconf 2014-08-22 21:03:53 +02:00
Stephan Raue
424927d589 systemd: fix pkgconf 2014-08-22 21:03:53 +02:00
Stephan Raue
ffae79be09 kmod: fix pkgconf 2014-08-22 21:03:53 +02:00
Stephan Raue
d0cae7e5d5 util-linux: fix pkgconf 2014-08-22 21:03:53 +02:00
Stephan Raue
0846aee61a libffi: build static 2014-08-22 21:03:52 +02:00
Stephan Raue
37b42002bf libffi: fix libffi.pc 2014-08-22 21:03:52 +02:00
Stephan Raue
2b1fb8cbd3 mpfr:host: remove autoreconf hack 2014-08-22 21:03:52 +02:00
Stephan Raue
02090cce96 mpfr:host: build static 2014-08-22 21:03:52 +02:00
Stephan Raue
80534baadb mpc:host: build static 2014-08-22 21:03:52 +02:00
Stephan Raue
61ab326307 gmp:host: build static 2014-08-22 21:03:52 +02:00
Stephan Raue
1eb8f2cf95 automake: fix broken (re)build
because for some weird help2man related fail
re-building automake:host sometimes fails

we dont care for docs..
2014-08-22 21:03:52 +02:00
Stepah Raue
2b47e6f6f4 binutils: clean up ppl/mpc/mpfr
mpc/mpfr not required for binutils
2014-08-22 21:03:51 +02:00
CvH
82ed88387a tbs-linux-drivers: update to tbs-linux-drivers-140819
- adds Kernel 3.16 support
2014-08-22 13:24:31 +02:00
Pim Vullers
cb881f4b92 boost/package.mk: added --ignore-site-config to ignore external site-config.jam 2014-08-22 13:24:31 +02:00
Stephan Raue
059c0a6021 libffi: remove libffi:host 2014-08-22 13:24:31 +02:00
Stephan Raue
c8e9c6c330 glib: remove glib:host 2014-08-22 13:24:31 +02:00
Stephan Raue
18676cf902 glib: dont build tests 2014-08-22 13:24:31 +02:00
Stephan Raue
ebed09df46 dbus: remove dbus:host 2014-08-22 13:24:31 +02:00
Stephan Raue
2b6f5c16ab dbus-glib: clean up. remove dbus-glib:host 2014-08-22 13:24:31 +02:00
Stephan Raue
d9ab49763a dbus-glib: dont build tools / examples 2014-08-22 13:24:31 +02:00
Stephan Raue
b7aeecd43e systemd: disable gudev 2014-08-22 13:24:31 +02:00
Stephan Raue
22cc065725 systemd: remove more useless stuff 2014-08-22 13:24:31 +02:00
Stephan Raue
bcbc195075 systemd: update to systemd-216 2014-08-22 13:24:31 +02:00
Stephan Raue
be07f514eb busybox: textmode.target: no need to alias as default.target 2014-08-22 13:24:31 +02:00
Stephan Raue
acf2bf5ed9 installer: installer.target: no need to alias as default.target 2014-08-22 13:24:31 +02:00
Stephan Raue
b490ad831e remove package: scrnsaverproto 2014-08-22 13:24:31 +02:00
Stephan Raue
1c4ad34e71 xorg: dont depend on scrnsaverproto 2014-08-22 13:24:31 +02:00
Stephan Raue
6c4c94d9ec libX11: build without loadable-i18n/loadable-xcursor 2014-08-22 13:23:52 +02:00
Stephan Raue
8bb9941324 Mesa: update to Mesa-10.2.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-22 13:23:51 +02:00
Stephan Raue
e8e995001f projects/RPi/patches/linux: update RPi support patch, this adds Hifiberry DAC+ support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-18 01:44:02 +02:00
Stephan Raue
09ab382736 xbmc: update to xbmc-13-0f3db05
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-18 01:31:15 +02:00
Stephan Raue
c6d7d1a709 boost: update to boost-1.56.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-18 01:10:15 +02:00
Stephan Raue
5ebb6b5051 taglib: downgrade to taglib-1.8, this should solve crashes on flac files with IDv2 tags (see http://openelec.tv/forum/74-music-management/71780-crash-when-adding-folder-to-music-library#115179 and https://github.com/taglib/taglib/issues/416)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-18 00:17:58 +02:00
Stephan Raue
fae08e507c ffmpeg: update to ffmpeg-2.3.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-17 23:14:27 +02:00
Stefan Saraev
f22e996473 connman: meh hostname 2014-08-17 22:44:18 +02:00
Stefan Saraev
b0e4295b66 buildsys: show package name if not found
current error " no package.mk file found in " does not
give a hint what package (dependency) is missing
2014-08-17 18:32:41 +02:00
Stephan Raue
0cc3b93f9f busybox: remove CIFS/SMB boot support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-17 17:51:03 +02:00
Stephan Raue
257b80f900 busybox: create /storage/.update by default, cosmetics
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-17 17:51:03 +02:00
Tuan T. Pham
7859e1e442 create_installstick: update mbr for Debian Jessie 2014-08-17 17:50:22 +02:00
Stephan Raue
56e865701d xf86-video-nvidia: update to xf86-video-nvidia-340.32
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-16 19:02:27 +02:00
Stephan Raue
24358ec77a sqlite: update to sqlite-autoconf-3080600
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-16 19:02:27 +02:00
Stephan Raue
d07b45dcc9 config/version: set version back to 'devel'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-16 15:56:45 +02:00
Stephan Raue
26f0a272a2 config/version: set version to 4.1.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-16 14:16:13 +02:00
Stephan Raue
5c979c054b bcm2835-bootloader: update to bcm2835-bootloader-43c5b2f
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-16 03:04:03 +02:00
Stephan Raue
70c6ae0a81 bcm2835-driver: update to bcm2835-driver-43c5b2f
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-16 03:04:02 +02:00
Stephan Raue
c630dee055 xbmc: update FM support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-16 02:51:10 +02:00
Stephan Raue
14b503510c projects/RPi/patches/linux: update RPi support patch, enable optional MMC_BCM2835 and MMC_BCM2835_DMA driver
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-16 01:40:21 +02:00
Stephan Raue
1fae4d7b51 xbmc: update to xbmc-13-f2ddaae
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-15 21:19:01 +02:00
Stephan Raue
3dbae8d927 libxml2: force ac_cv_header_ansidecl_h=no, it seems sometimes ansidecl.h is (wrongly) found
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-15 21:18:13 +02:00
Stephan Raue
20464bf159 pciutils: update pci.ids
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-15 18:21:16 +02:00
Stephan Raue
59d47a9aff usbutils: update usb.ids
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-15 18:21:16 +02:00
Stefan Saraev
e0fa9620d9 expat: clean up autoreconf hacks 2014-08-15 18:21:16 +02:00
Stefan Saraev
21f2a282af connman: merge loopback.service into connman.service 2014-08-15 18:21:16 +02:00
Stefan Saraev
5e83764cb0 connman: merge hostname.service into connman.service 2014-08-15 18:21:16 +02:00
Stefan Saraev
08c6eb1e7a xbmc: merge xbmc-config.service into xbmc.service
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-15 18:21:16 +02:00
Stefan Saraev
b1608a7bca gmp: remove unused patches 2014-08-15 18:18:58 +02:00
Stefan Saraev
b3a62d6f08 binutils: remove unused cloog patch 2014-08-15 18:18:58 +02:00
Stefan Saraev
f88408e2ec linux: remove unused ptrace fix 2014-08-15 18:18:58 +02:00
Peter Smorada
c9e509911e adds support for multiple extension points in addon.xml 2014-08-15 14:30:27 +02:00
Stephan Raue
4b87f05daa linux: move patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-15 14:08:28 +02:00
Stephan Raue
41be1f5ace linux: fix patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-15 14:08:28 +02:00
Patrik Dufresne
dadfd3d296 Ignore diagonals for iMON PAD in keyboard mode
For user with an iMON PAD Remote, the keyboard mode is very touchy and almost useless with XBMC. To make it less touchy, I make it ignore the diagonals.
2014-08-15 13:38:17 +02:00
Stefan Saraev
3e389e4b21 linux: add support for dvbsky s950v3 / s952v3 2014-08-15 13:32:36 +02:00
Lukas Rusak
c425e5c17d Created a patch from the work Valve did on the xpad kernel driver.
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-15 13:31:11 +02:00
Stephan Raue
900a0e9509 linux: update to linux-3.16.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:25:10 +02:00
Stephan Raue
f110e37ada mediacenter: move to virtual
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:24:07 +02:00
Stephan Raue
265d998539 initramfs: move to virtual
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:23:47 +02:00
Stephan Raue
88db57e0f2 vdr-vdr-plugin-streamdev: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:22:58 +02:00
Stephan Raue
6a481328aa vdr-vdr-plugin-dvbapi: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:22:37 +02:00
Stephan Raue
4fb7762715 vdr-dummydevice: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:22:06 +02:00
Stephan Raue
a6a8aebce9 debug: move to virtual
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:20:14 +02:00
Stephan Raue
fcd0721257 alsa-utils: move to package audio
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:20:14 +02:00
Stephan Raue
a12b76e40a alsa-lib: move to package audio
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:20:14 +02:00
Stephan Raue
343ae654b1 vdr-control: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:20:14 +02:00
Stephan Raue
ffd8c9b56a vdr-epgsearch: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:20:02 +02:00
Stephan Raue
a1bd5af57d vdr-iptv: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:20:02 +02:00
Stephan Raue
9b8cda6f0c vdr-live: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:20:02 +02:00
Stephan Raue
0ede07b812 vdr-plugin-eepg: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:50 +02:00
Stephan Raue
a8b7ae491d vdr-plugin-vnsiserver: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:16 +02:00
Stephan Raue
7198249f1d vdr-plugin-xmltv2vdr: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:16 +02:00
Stephan Raue
a004a740f4 vdr-plugin-xvdr: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:16 +02:00
Stephan Raue
26e5fe9339 vdr-satip: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:16 +02:00
Stephan Raue
2991b3cd86 vdr-wirbelscan: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:16 +02:00
Stephan Raue
64b7a36cdc vdr-wirbelscancontrol: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:16 +02:00
Stephan Raue
85791af766 vdr: move to package multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:16 +02:00
Stephan Raue
729e79ac78 libdvbcsa: move to multimedia
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:16 +02:00
Stephan Raue
ef969211e6 irserver: move out of remote
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:16 +02:00
Stephan Raue
f9a008b29f lirc: move out of remote
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:16 +02:00
Stephan Raue
0c8c31b48c eventlircd: move out of remote
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:16 +02:00
Stephan Raue
82a305470b atvclient: move out of remote
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:16 +02:00
Stephan Raue
b631815735 x11: move to virtual
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:16 +02:00
Stephan Raue
1b9e5b2d45 toolchain: move to virtual
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:15 +02:00
Stephan Raue
10eeb2cebd remote: move to virtual
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:15 +02:00
Stephan Raue
6faec31270 network: move to virtual
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:19:15 +02:00
Stephan Raue
536287d011 linux-firmware: move to virtual
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:18:52 +02:00
Stephan Raue
29336f1893 linux-drivers: move to virtual
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:18:52 +02:00
Stephan Raue
f1fa4b31c6 alsa: move to virtual
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-14 15:18:28 +02:00
Stefan Saraev
f886f2e3a7 corefonts: move to virtual/ 2014-08-14 15:18:28 +02:00
Stephan Raue
542a932a8e Revert "toolchain: dont build package 'nasm'"
This reverts commit 87c3c50a29.
2014-08-13 13:26:50 +02:00
Stephan Raue
30bafa656e Revert "remove package: nasm"
This reverts commit 4ff362d693.
2014-08-13 13:26:38 +02:00
Stefan Saraev
7aaa79a8ab lm_sensors: link -lsensors static 2014-08-13 13:17:37 +02:00
Stephan Raue
7134df9c2b libva-intel-driver: add FD82466 patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-13 13:17:12 +02:00
Stephan Raue
5a23ebfa58 ffmpeg: update to ffmpeg-2.3.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-13 13:15:12 +02:00
Stephan Raue
9033b6e9d2 ppp: update to ppp-2.4.7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-13 13:14:05 +02:00
Stefan Saraev
1d3ef4aff5 scripts/autoreconf: cosmetics 2014-08-13 13:14:05 +02:00
Stefan Saraev
291c4c082f userconfig.service: make sure /storage/.config is there
because tmpfiles doesnt work here, as userconfig.service
is ordered before=local-fs.target (?!)

this also reverts 9de09b4507

thanks to @vpeter4
2014-08-12 20:26:02 +03:00
Stephan Raue
b3bb99465f xbmc: update to xbmc-13-b79e5f1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-10 03:46:50 +02:00
Stephan Raue
3afdf0f561 cmake: update to cmake-3.0.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-10 03:14:20 +02:00
linuxlite
2c4b27b9d3 use hdparm to set speedcontrol. 2014-08-10 03:14:04 +02:00
Stephan Raue
134864b4c2 openssl: update to openssl-1.0.1i
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-07 21:28:53 +02:00
Stephan Raue
a8d1c98eab config/version: set version back to 'devel'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-07 20:20:23 +02:00
Stephan Raue
153d06b608 config/version: set version to 4.1.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-07 16:31:49 +02:00
Stephan Raue
6f42387c8b linux: remove kernel 3.15 support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-07 16:31:49 +02:00
Stephan Raue
23c49d0fa5 projects/RPi: switch to kernel 3.16
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-07 16:31:49 +02:00
Stephan Raue
c5da421108 Revert "v86d: dont install 'gcc:init'"
This reverts commit 1a2597d61b.
2014-08-06 13:36:15 +02:00
Stephan Raue
715159e8b0 Revert "plymouth-lite: dont install 'gcc:init'"
This reverts commit 2e4af33c82.
2014-08-06 13:36:15 +02:00
Stephan Raue
d6877ff769 Revert "gcc: remove 'gcc:init' target"
This reverts commit 638b1f33ff.
2014-08-06 13:36:15 +02:00
Stephan Raue
1b1ba3b578 projects/RPi/patches/linux: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-06 12:41:18 +02:00
Stephan Raue
cd92221946 libva-intel-driver: better fix for FD81447
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-06 12:13:13 +02:00
Stefan Saraev
7d0f829981 systemd: add /storage/.config to tmpfiles.d 2014-08-06 12:05:53 +03:00
Stephan Raue
56a62b5d99 dvb-firmware: update to dvb-firmware-0.0.43
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-05 22:53:36 +02:00
Stephan Raue
1e4a87c3f7 projects/*/options: disable AFP support for now, its buggy and we will see who needs this
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-05 20:37:34 +02:00
Stephan Raue
638b1f33ff gcc: remove 'gcc:init' target
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-05 20:36:31 +02:00
Stephan Raue
2e4af33c82 plymouth-lite: dont install 'gcc:init'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-05 20:36:31 +02:00
Stephan Raue
1a2597d61b v86d: dont install 'gcc:init'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-05 20:36:30 +02:00
Stefan Saraev
eddc562128 util-linux:init: build static 2014-08-05 20:36:30 +02:00
Stefan Saraev
aecd2f01a1 xbmc: clean up nonexistent addons 2014-08-05 20:36:30 +02:00
Stefan Saraev
8fc5224369 ntfs-3g_ntfsprogs: dont install lowntfs-3g 2014-08-05 20:36:30 +02:00
Stephan Raue
b569a7860b libva-intel-driver: add patch to workaround against FD81447
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-05 15:07:22 +02:00
Stephan Raue
4fc7177177 libva-intel-driver: update to libva-intel-driver-82d2ed8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-05 15:07:15 +02:00
Stephan Raue
20aa906981 yajl: update to yajl-2.1.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-04 23:21:51 +02:00
Stefan Saraev
17c99f9d1f xbmc: remove unused fonts 2014-08-04 23:21:51 +02:00
Stefan Saraev
cec3575c16 glib: disable libelf 2014-08-04 23:21:51 +02:00
Stefan Saraev
46cb1bc679 buildsys: autoreconf once
no point to do_autoreconf for :host :init :bootstrap
if it's already done for :target
2014-08-04 23:21:51 +02:00
Stefan Saraev
4505c4ab76 util-linux clean up old udev.d 2014-08-04 23:21:51 +02:00
Stefan Saraev
8d79501c36 scripts/image: clean up debug 2014-08-04 23:21:51 +02:00
Stefan Saraev
f1ea0f7cdd clean up $LIBVA
libva-intel-driver is enough here
2014-08-04 23:21:51 +02:00
Stefan Saraev
4837fdea89 Mesa: clean up vaapi
not used. no MESA_VAAPI_SUPPORT, and there is no VAAPI in Mesa, anyway
2014-08-04 23:21:51 +02:00
Stefan Saraev
2df4d9aba4 remove package: openal-soft 2014-08-04 23:21:51 +02:00
Stefan Saraev
e0ad17c157 config/options: cleanup 2014-08-04 23:21:51 +02:00
Stefan Saraev
5599d7a1d5 remove package: makedepend 2014-08-04 23:21:51 +02:00
Stefan Saraev
a54c15d432 Mesa: do not depend on makedepend:host 2014-08-04 23:21:51 +02:00
Stephan Raue
8ee1bbc265 linux: add kernel 3.16, update x86 builds to kernel 3.16
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-04 23:21:43 +02:00
Stephan Raue
8dffe1b366 xbmc: update to xbmc-13-6066a54
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-04 10:46:07 +02:00
Stephan Raue
d3ce3a89fb parted: update to parted-3.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-04 02:02:23 +02:00
Stefan Saraev
6de82b7b0a systemd: simplify userconfig.service
*.sample will not be force overwritten, but I dont really care
2014-08-04 01:37:37 +02:00
Stefan Saraev
2bc32bd91c swig:host: build without pcre 2014-08-03 23:30:35 +02:00
Stefan Saraev
17b9923cf9 bluez: dont compile libbluetooth.so
not used. we talk to bluetoothd via dbus
2014-08-03 23:30:35 +02:00
Stephan Raue
723b28885e openssh: add patch to specify seperate keydir, remove 'sshd_config' script and create ALL supported keys
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-03 15:23:00 +02:00
Stephan Raue
651309bcd9 Mesa: update to Mesa-10.2.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-03 15:20:50 +02:00
Stephan Raue
1a5b89ed87 libxcb: update to libxcb-1.11
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-02 22:20:35 +02:00
Stephan Raue
bfe502cfd6 xcb-proto: update to xcb-proto-1.11
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-02 22:20:35 +02:00
Stephan Raue
f253c5baa1 xrandr: update to xrandr-1.4.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-02 22:20:34 +02:00
Stephan Raue
20d2e9d958 projects/RPi/patches/xbmc: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-02 11:00:13 +02:00
Stephan Raue
8974d53576 xbmc: update to xbmc-13-5b00422
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-02 10:59:49 +02:00
Stephan Raue
e482f57740 bcm2835-bootloader: update to bcm2835-bootloader-a6fe297
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-02 03:14:10 +02:00
Stephan Raue
557be90a07 bcm2835-driver: update to bcm2835-driver-a6fe297
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-02 03:14:10 +02:00
Stephan Raue
42f5c03d8d remove package 'cloog'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-02 01:00:54 +02:00
Stephan Raue
d5724afea8 remove package 'ppl'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-02 01:00:54 +02:00
Stephan Raue
cccab2efc9 gcc: remove unused cloog and ppl support for now
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-02 01:00:54 +02:00
Stephan Raue
4d4a1f338f binutils: remove unused cloog and ppl support for now
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-02 01:00:54 +02:00
Stephan Raue
11fbf56600 gdb: update to gdb-7.8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-02 01:00:54 +02:00
Prashant Somashekar
36bfe6eb83 linux: update to linux-3.15.8 2014-08-02 01:00:22 +02:00
Stephan Raue
df553e3810 ffmpeg: update to ffmpeg-2.3.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-31 18:07:51 +02:00
Stephan Raue
8da5c6d32e libdrm: update to libdrm-2.4.56
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-31 18:07:51 +02:00
Stephan Raue
2c403565cf projects/RPi/patches/linux: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-30 07:31:57 +02:00
gandharva
27acd6d4e3 - libnfs: update to 1.9.5
by upgrading we get new features like directory caching and file read-
ahead support.
2014-07-29 19:40:54 +02:00
Stephan Raue
3f3746c583 linux: update to linux-3.15.7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-29 19:21:43 +02:00
Stephan Raue
e788117514 gcc: add patch to fix GCC-61801 (and GCC-61904)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-26 22:23:42 +02:00
Stephan Raue
cbb90d6d80 util-linux: remove old config options
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-26 14:59:29 +02:00
Stephan Raue
0fa5f714d2 util-linux: build with libsmartcols if SWAP supported is enabled, dont build with libsmartcols in initramfs
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-26 14:59:29 +02:00
Stefan Saraev
c7880eaf3c taglib: build static 2014-07-26 14:59:29 +02:00
Stefan Saraev
fea0249684 xorg-server: isable acpi/apm
.. as we dont have acpid / apmd.
2014-07-26 14:59:28 +02:00
Stefan Saraev
3ab6ba035d libgpg-error: build static 2014-07-26 09:09:20 +02:00
Stefan Saraev
b4695e4f3d config/functions: clean up optimize leftover 2014-07-26 09:09:20 +02:00
Stephan Raue
13cf980fb5 xf86-video-intel: add some default configure options, build with GLAMOR and tear-free support, disable building of tool and DRI1 support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-26 08:34:27 +02:00
Stephan Raue
a76130fc62 xf86-video-intel: update to xf86-video-intel-2.99.914
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-26 08:34:27 +02:00
Stephan Raue
cc5dccd464 Mesa: (temp.) disable DRI3 support so XBMC will work with newer intel GPU drivers (needs to be fixed/reported)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-26 08:34:27 +02:00
Stephan Raue
24467f77bd libdrm: update to libdrm-2.4.55
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-26 08:34:27 +02:00
Stephan Raue
4a4390cb63 util-linux: build without libsmartcols
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-26 08:34:27 +02:00
Stefan Saraev
c559c12516 util-linux: build without python 2014-07-26 08:34:27 +02:00
Stephan Raue
fd7108f10c libXext: update to libXext-1.3.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-25 07:32:03 +02:00
Stephan Raue
b9968cc1f6 util-linux: update to util-linux-2.25
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-25 07:31:50 +02:00
Stephan Raue
50b73b9d09 busybox: remove support for initramfs.conf, disable SYSTEM-to-RAM support for RPi
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-25 07:31:34 +02:00
Stephan Raue
ace109be29 Revert "busybox: remove SYSTEM-to-RAM support, it dont improves much"
This reverts commit 2839726b0e.
2014-07-25 07:31:05 +02:00
Stephan Raue
2839726b0e busybox: remove SYSTEM-to-RAM support, it dont improves much
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-24 07:11:19 +02:00
Stephan Raue
d8ea9ed709 samba: remove unneeded configure option
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-24 07:11:03 +02:00
Stephan Raue
a0b64d2396 ntfs-3g_ntfsprogs: disable crypto support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-24 07:10:47 +02:00
Stephan Raue
d27dd8af3f config/version: set version back to 'devel'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-23 06:07:04 +02:00
Stephan Raue
e552a22a6e config/version: set OPENELEC_VERSION to 4.1.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-22 05:46:30 +02:00
Stefan Saraev
810d2d305e README.md: clean up obsolete ssh_enable instructions 2014-07-22 05:37:32 +02:00
Stefan Saraev
422de38cec create_installstick_osx: enable debug shell in installer 2014-07-20 14:44:53 +02:00
Stefan Saraev
b6849c7dc0 scripts/clean: do not clean up more than expected... 2014-07-20 02:18:07 +02:00
Stefan Saraev
75ad50b5b8 scripts/build: cosmetics 2014-07-20 02:17:59 +02:00
Stefan Saraev
4ff362d693 remove package: nasm 2014-07-20 02:17:53 +02:00
Stephan Raue
87c3c50a29 toolchain: dont build package 'nasm'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-20 02:17:43 +02:00
Stephan Raue
639aeaf6bd SDL: disable nasm support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-20 02:17:35 +02:00
Stephan Raue
a5c1723d35 libXfont: update to libXfont-1.5.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-19 20:23:20 +02:00
Stephan Raue
75a6de8201 xbmc-pvr-addons: update to xbmc-pvr-addons-be12a8d
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-19 20:09:43 +02:00
Stefan Saraev
6ec964479e vdr-plugin-xmltv2vdr: dont build i18n 2014-07-19 20:05:39 +02:00
Stefan Saraev
1ad5344506 vdr-live: dont build i18n 2014-07-19 20:05:27 +02:00
Stefan Saraev
7ec16d5a08 tvheadend: update to tvheadend-3.9.1083 2014-07-19 20:04:31 +02:00
Stefan Saraev
5d821db655 tvheadend: update to tvheadend-3.9.1050 2014-07-19 20:04:12 +02:00
Stephan Raue
8f4ee131b4 projects/RPi/patches/linux: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-19 09:14:35 +02:00
Stephan Raue
cb4e8c61fb bcm2835-bootloader: update to bcm2835-bootloader-09c0f5f
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-19 09:14:17 +02:00
Stephan Raue
e4d17c59d1 bcm2835-driver: update to bcm2835-driver-09c0f5f
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-19 09:13:52 +02:00
Stephan Raue
a1a6985118 xbmc: update to xbmc-13-6d3bb09
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-19 09:13:40 +02:00
Prashant Somashekar
926731df4f linux: update to linux-3.15.6 2014-07-19 03:20:19 +02:00
Stephan Raue
4b0aad8222 Mesa: update to Mesa-10.2.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-19 03:18:12 +02:00
Stephan Raue
2710e8260d libXi: update to libXi-1.7.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-19 03:17:56 +02:00
Stephan Raue
3eddcad8cd curl: update to curl-7.37.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-19 03:17:42 +02:00
Stephan Raue
3bdc7f2f66 libnl: update to libnl-3.2.25
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-19 03:17:27 +02:00
Stefan Saraev
ab30c4056c lame: disable nasm. not used at all 2014-07-19 03:17:04 +02:00
Stephan Raue
690369a11b gettext: update to gettext-0.19.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-17 15:33:56 +02:00
Stephan Raue
16fbc53754 libepoxy: build as shared library to avoid "(EE) Failed to load /usr/lib/xorg/modules/libglamoregl.so: /usr/lib/xorg/modules/libglamoregl.so: undefined symbol: epoxy_eglCreateImageKHR"
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-17 15:12:09 +02:00
Stephan Raue
c40b70680e dvb-firmware: update to dvb-firmware-0.0.42
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-17 13:11:36 +02:00
Stephan Raue
65b47b1b79 libcec: add PR29
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-17 11:00:08 +02:00
Stephan Raue
bb72e10003 projects/RPi/linux: enable CONFIG_UACCESS_WITH_MEMCPY
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-17 10:45:49 +02:00
Stephan Raue
2a82c678c5 projects/Generic: dont build XHCI driver as module, and dont unload on suspend (for testing, please revert if this still causes problems with suspend/wakeup)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-17 10:21:53 +02:00
Stephan Raue
afd427b79a xorg-server: update to xorg-server-1.6.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-17 09:52:28 +02:00
Stefan Saraev
8ea3b97790 lcdproc: tune lcdd.service 2014-07-17 02:57:49 +02:00
Stefan Saraev
0eb28c25fd mkpkg: remove mkpkg_eglibc-2.19 2014-07-17 02:56:50 +02:00
Stephan Raue
8fc76301b4 ffmpeg: update to ffmpeg-2.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-17 02:22:02 +02:00
Stephan Raue
aa66f59a96 gcc: update to gcc-4.9.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-17 02:21:23 +02:00
Stephan Raue
40f40504c1 config/version: change version back to 'devel'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-17 02:21:01 +02:00
Stephan Raue
1eb6601b01 config/version: set version to 4.1.1, set OS version to 4.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-16 23:41:25 +02:00
Stefan Saraev
ee8f958b24 nano: disable build of locales 2014-07-15 19:10:31 +02:00
Stephan Raue
5cfc0970e6 nano: disable utf8 support to fix buildissue if libncursesw is installed on hostsystem
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-15 07:56:59 +02:00
Stefan Saraev
2cb4263e1d gputemp: fix nvidia/gputemp after 58a4990
thanks @ozolli
2014-07-14 19:20:26 +03:00
Stephan Raue
9f6d775373 tvheadend: add patch to remove -Werror from CFLAGS
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-14 18:17:09 +02:00
Stephan Raue
c24352bb9c autoconf: add patch to support excluding of autoreconf steps, taken from openembedded
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-14 18:17:09 +02:00
Stephan Raue
f226045711 nano: update to nano-2.3.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-14 18:17:09 +02:00
Stephan Raue
af0a6a5a74 libssh: build without server support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-14 18:17:09 +02:00
Stephan Raue
209537a1f4 libssh: add patch to support libgcrypt-1.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-13 01:39:45 +02:00
Stephan Raue
92fece8863 libgcrypt: update to libgcrypt-1.6.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-13 01:39:20 +02:00
Stephan Raue
46f29bef6a xf86-video-nvidia: update to xf86-video-nvidia-340.24
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-12 07:26:58 +02:00
Stephan Raue
6ee540c9db gpu-viv-bin-mx6q: update to gpu-viv-bin-mx6q-3.10.17-1.0.0-1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:36:02 +02:00
Stephan Raue
4ddeaf0de1 firmware-imx: update to firmware-imx-3.10.17-1.0.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:35:43 +02:00
Stephan Raue
a89f249e34 imx-vpu: update to imx-vpu-3.10.17-1.0.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:35:29 +02:00
Stephan Raue
65c853310c libfslvpuwrap: update to libfslvpuwrap-1.0.46
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:35:06 +02:00
Stephan Raue
2cc1d17acf projects/RPi/patches/xbmc: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:33:02 +02:00
Stephan Raue
8a683d20d4 projects/RPi/patches/linux: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:32:42 +02:00
Stephan Raue
f8ba96e15a xbmc: update to xbmc-13-450924a
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:32:28 +02:00
Stephan Raue
076d2b7b7a xf86-video-nvidia-legacy: update to xf86-video-nvidia-legacy-304.123
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:32:13 +02:00
Stephan Raue
cb00f7766f remove package 'glamor-egl'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:32:00 +02:00
Stephan Raue
fd9b716fb1 xf86-video-ati: depends now on package 'xorg-server' with GLAMOUR support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:31:45 +02:00
Stephan Raue
9aef8656e5 xorg-server: build with internal GLAMOR support, depends on package 'libepoxy'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:31:27 +02:00
Stephan Raue
cb6263f47b new package: add package 'libepoxy'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:31:12 +02:00
Stephan Raue
9aa5c09a99 xorg-server: update to xorg-server-1.15.99.904
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:30:57 +02:00
Stephan Raue
775d772283 e2fsprogs: update to e2fsprogs-1.42.11
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:30:43 +02:00
Stephan Raue
bcfb16d36f libXi: update to libXi-1.7.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:30:12 +02:00
CvH
d55bdc60e5 tbs drivers: update to 140707
just to make the self builders happy
2014-07-11 21:29:48 +02:00
Stephan Raue
40ae7452c5 linux: update to linux-3.15.5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-11 21:29:27 +02:00
Stefan Saraev
31e2e27e5b projects/*/options: cleanup COREBOOT leftover 2014-07-11 21:27:22 +02:00
Stefan Saraev
5e43423610 service.openelec.settings: update to 0.3.19 2014-07-09 20:58:01 +03:00
Stephan Raue
13d358f2ec xf86-input-evdev: update to xf86-input-evdev-2.9.0, depends now on 'inputproto', 'libevdev' and 'systemd'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-08 16:54:37 +02:00
Stephan Raue
b0d5cd06bd new package: add package 'libevdev'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-08 16:54:37 +02:00
Stephan Raue
c4613084ae pixman: update to pixman-0.32.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-08 16:54:37 +02:00
Stephan Raue
e71d24f1e7 xtrans: update to xtrans-1.3.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-08 16:54:37 +02:00
Stephan Raue
c5b3f6bede libXfont: update to libXfont-1.4.99.901
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-08 16:54:37 +02:00
Stephan Raue
9ce6eaa52d fontsproto: update to fontsproto-2.1.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-08 16:54:37 +02:00
Stephan Raue
3e892bf04f Mesa: update to Mesa-10.2.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-08 16:54:37 +02:00
Frank van Klaveren
48fbb5d965 Update libhdhomerun to 20140604 2014-07-08 16:43:51 +02:00
Christian Hewitt
871cddef86 connman: allow user editable main.conf
In recent months I have seen a number of cases where users need to
change ‘prefer ethernet’ to ‘prefer wifi’ or where users are trying to
enable tethering for ethernet or are running other daemons that add
network interfaces that should not be auto-managed by comman. All of
these require user editing of main.conf so this change moves main.conf
to /storage where it can be tweaked under-the-hood if needed.
2014-07-07 22:57:22 +02:00
Stephan Raue
f87f66f043 linux: update to linux-3.15.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-07 22:03:45 +02:00
Stephan Raue
75e766144f bcm2835-bootloader: update to bcm2835-bootloader-1e7d3d9
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-07 15:52:13 +02:00
Stephan Raue
d3b29a818a bcm2835-driver: update to bcm2835-driver-1e7d3d9
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-07 15:52:04 +02:00
Stephan Raue
d626037681 ffmpeg: change to official release
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-06 20:25:27 +02:00
Stephan Raue
e7ee3388b3 bluez: update to bluez-5.21
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-05 17:50:42 +02:00
Stephan Raue
170904e48f xf86-video-nvidia: update to xf86-video-nvidia-331.89
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-05 17:50:42 +02:00
Stephan Raue
f85aebd5a9 dbus: update to dbus-1.8.6
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-05 16:32:11 +02:00
Stephan Raue
7d8b588847 libffi: update to libffi-3.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-05 16:32:11 +02:00
Stephan Raue
c1e6aedfff dbus-glib: update to dbus-glib-0.102
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-05 16:32:10 +02:00
Stefan Saraev
14116ea19e systemd: update to systemd-215 2014-07-05 16:32:10 +02:00
Stefan Saraev
f1ca57d51e systemd: drop double gcrypt depend 2014-07-05 16:32:10 +02:00
Stephan Raue
c5c1a71db4 eglibc: add package 'glibc, remove package 'eglibc', switch to 'glibc' as default libc
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-05 16:32:01 +02:00
Stefan Saraev
8f15030d77 xbmc: oe_setup_addon: create missing folder (early) 2014-07-04 19:07:31 +03:00
vpeter4
3128985ed4 oe_setup_addon: create missing folder 2014-07-03 23:08:22 +03:00
Stephan Raue
5da2a9f554 libvdpau: update to libvdpau-0.8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-03 14:17:26 +02:00
Stephan Raue
0a76243f0e linux: remove unneeded patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-01 19:06:22 +02:00
Stephan Raue
04389378f0 simplejson: update to simplejson-3.5.3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-01 19:01:39 +02:00
Stephan Raue
27cf5545c9 busybox: add upstream patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-01 19:01:24 +02:00
Stephan Raue
43a73ab120 alsa-utils: dont install default ALSA restore rule, to avoid overwriting our own mixer settings with default values. rename our udev rule to start after other default sound config rules. this should fix #3350, this should fix #3346
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-01 19:01:11 +02:00
Prashant Somashekar
4660e853e3 linux: update to linux-3.15.3 2014-07-01 19:00:52 +02:00
Stefan Saraev
92afbe408d propects/Generic/options: lcdproc: enable serialVFD
closes #3341
2014-07-01 18:59:35 +02:00
Stephan Raue
496a6af108 lzo: update to lzo-2.08
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-01 18:57:53 +02:00
fritsch
e0a6575dac libva-intel-driver: remove green artifacts patch - was included upstream 2014-06-29 08:26:52 +02:00
Stephan Raue
06490ccc0e lzo: add patch to fix build on i386
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-29 08:26:04 +02:00
Stephan Raue
3f558700a9 Revert "Revert "lzo: update to lzo-2.07""
This reverts commit ef9a0958f7.
2014-06-29 08:25:31 +02:00
Stephan Raue
cd1cdc5043 busybox: fix issue with not removing *.md5 files after update
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-28 21:44:53 +02:00
Stephan Raue
506767a43d xorg-server: update to xorg-server-1.15.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-28 21:44:39 +02:00
Stephan Raue
07b5364c3c xf86-video-ati: update to xf86-video-ati-7.4.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-28 21:44:28 +02:00
Stephan Raue
ef9a0958f7 Revert "lzo: update to lzo-2.07"
This reverts commit 3845d69ccd.
2014-06-28 14:26:57 +02:00
Stephan Raue
e82f81152a linux: update to linux-3.15.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-27 06:04:42 +02:00
Stephan Raue
3845d69ccd lzo: update to lzo-2.07
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-27 05:59:59 +02:00
Stephan Raue
d43e8d38ba libbluray: update to libbluray-0.6.0
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-26 18:54:38 +02:00
Stephan Raue
e66c011dfa gettext: force disabling of csharp support, this should fix #3344
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-26 18:53:24 +02:00
Stephan Raue
385153c910 service.openelec.settings: update to service.openelec.settings-0.3.18
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-25 18:35:36 +02:00
Stephan Raue
913fbe95d3 Mesa: update to Mesa-10.2.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-25 18:01:17 +02:00
Stephan Raue
a086e2f2ba gettext: add patch to dont build docs and examples
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-23 19:01:16 +02:00
Stephan Raue
3483388399 gettext: build 'gettext-tools' only for host build
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-23 19:00:49 +02:00
Stephan Raue
a551da6a75 samba: update to samba-3.6.24
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-23 15:08:39 +02:00
Stefan Saraev
a47e4a1073 busybox: double pciutils in depends 2014-06-23 03:29:00 +02:00
Stephan Raue
06f2450d99 gcc: update configure options (inspired by CLFS)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-23 03:28:05 +02:00
Stephan Raue
7ab03ced29 cloog: update to cloog-0.18.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-23 03:26:48 +02:00
Stephan Raue
ae3d38654f mpc: update to mpc-1.0.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-23 03:26:19 +02:00
Stephan Raue
911c0754ec bcm2835-bootloader: update to bcm2835-bootloader-462f3e3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-22 17:04:04 +02:00
Stephan Raue
ad1b59ce32 bcm2835-driver: update to bcm2835-driver-462f3e3
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-22 17:04:04 +02:00
Stephan Raue
8159a923a3 projects/RPi/patches/xbmc: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-22 16:55:14 +02:00
Stephan Raue
d9a11a1404 libva-intel-driver: update to libva-intel-driver-1.3.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-22 14:56:14 +02:00
Stephan Raue
6f8690405c libaacs: update to libaacs-0.7.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-22 14:55:43 +02:00
Stephan Raue
920be6b9d0 llvm: update to llvm-3.4.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-22 14:55:10 +02:00
Stephan Raue
bd1579e83d ffmpeg: update to ffmpeg-xbmc-717a0b5
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-22 14:54:40 +02:00
Stephan Raue
7f9a69a81e alsa-utils: update to alsa-utils-1.0.28
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-22 14:53:58 +02:00
Stephan Raue
9312c0b67e alsa-lib: update to alsa-lib-1.0.28
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-22 14:53:41 +02:00
Stephan Raue
685784fb67 linux: add patch to fix FD72921
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-21 16:08:17 +02:00
Stephan Raue
5a955eb707 misc-firmware: update to misc-firmware-0.0.11
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-19 22:20:28 +02:00
Stephan Raue
c54b308c62 kmod: update to kmod-18
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-19 22:20:27 +02:00
Stephan Raue
35acb282ca cmake: update to cmake-3.0.0, fix installation
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-19 22:20:27 +02:00
Stephan Raue
3209febb3b gcc: add patches to fix GCC-60902, this should fix #3323
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-18 14:54:58 +02:00
Stephan Raue
031e2ca65d libusb: update to libusb-1.0.19
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-18 14:54:58 +02:00
Stephan Raue
8e5652a050 dbus: update to dbus-1.8.4
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-18 14:54:58 +02:00
Stephan Raue
30a178b4f9 libpng: update to libpng-1.6.12
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-18 14:54:58 +02:00
Stephan Raue
46123b6549 file: update to file-5.19
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-18 14:54:58 +02:00
Stephan Raue
6660fb7ed9 misc-firmware: update to misc-firmware-0.0.10
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-17 21:26:25 +02:00
Stephan Raue
7946ce6276 gettext: update to gettext-0.19.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-17 21:26:25 +02:00
Stephan Raue
3b285d9533 linux: update Radeon firmwares
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-17 21:26:25 +02:00
Stephan Raue
aa9ebaa622 linux: update to linux-3.15.1
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-17 03:54:41 +02:00
Stefan Saraev
02028afddf scripts/create_addon: cosmetics 2014-06-16 23:43:46 +02:00
Stefan Saraev
6a70e0b102 scripts/build: cosmetics 2014-06-16 23:43:46 +02:00
Stefan Saraev
a17cfdc0cc fluxbox: hide useless errors 2014-06-16 23:43:46 +02:00
Stefan Saraev
de1015f2f0 service.openelec.settings: remove unused 'addon' script 2014-06-16 18:16:48 +02:00
Stefan Saraev
edc6475c96 init: remove unused ssh check 2014-06-16 02:34:12 +02:00
Stefan Saraev
7d9a751d01 xbmc: merge tmpfiles 2014-06-16 02:31:44 +02:00
Stephan Raue
cb0fc0c0db xbmc: update to xbmc-13-741d614
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-15 18:10:14 +02:00
Stephan Raue
93be8687a1 wlan-firmware: update to wlan-firmware-0.0.23
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-15 18:09:41 +02:00
Stephan Raue
b5a5a0957b projects/*/linux: enable CONFIG_VIDEO_USBTV support, this fixes #3140
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-15 16:00:54 +02:00
Stephan Raue
86d3313777 projects/*/linux: sync kernel config
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-15 15:52:41 +02:00
Stephan Raue
ef31644a44 projects/*/linux: enable CONFIG_HID_XINMO
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-15 15:44:32 +02:00
Stephan Raue
429b6d3c42 openssl: enable 'ec', 'ecdh' and 'ecdsa' support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-15 15:30:44 +02:00
Stephan Raue
da08433dd2 wlan-firmware: update to wlan-firmware-0.0.22
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-15 13:58:42 +02:00
Stephan Raue
dd2c71f020 xbmc: update to xbmc-13-0796f0e
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-15 04:10:48 +02:00
Stephan Raue
39c7ba1576 tools/mkpkg: add script to get and pack 'xbmc-pvr-addons' for gotham
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-15 04:08:34 +02:00
Stephan Raue
ad417fd516 xbmc-pvr-addons: update to xbmc-pvr-addons-18c52bb
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-15 04:08:17 +02:00
Stephan Raue
ae007d0a2b projects/RPi/patches/xbmc: update RPi support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-14 04:20:57 +02:00
Stephan Raue
b6a759a39b bcm2835-bootloader: update to bcm2835-bootloader-e45a4a2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-14 00:49:03 +02:00
Stephan Raue
01c8ec5d5d bcm2835-driver: update to bcm2835-driver-e45a4a2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-14 00:49:03 +02:00
Stephan Raue
a05667ee23 remove XBMC master support for OpenELEC-4.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-12 20:39:11 +02:00
Stephan Raue
876ca6a481 remove project 'Cuboxi' for OpenELEC-4.2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-12 20:37:54 +02:00
1237 changed files with 203558 additions and 395573 deletions

View File

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

View File

@@ -11,12 +11,12 @@ release:
image:
./scripts/image mkimage
image-efi:
./scripts/image mkimage efi
noobs:
./scripts/image noobs
amlpkg:
./scripts/image amlpkg
clean:
rm -rf $(BUILD_DIRS)/* $(BUILD_DIRS)/.stamps

View File

@@ -2,8 +2,8 @@
# OpenELEC - Open Embedded Linux Entertainment Center
OpenELEC runs [Kodi](http://kodi.tv), an award-winning free and open source (GPL) software media
player and entertainment hub for digital media. For more info see http://kodi.tv .
OpenELEC runs [XBMC](http://xbmc.org), an award-winning free and open source (GPL) software media
player and entertainment hub for digital media. For more info see http://xbmc.org .
The base system has been designed and built from the ground up to be as
efficient as possible consuming only tiny disk and memory footprints and
providing cutting edge hardware support to deliver a set-top box experience.
@@ -16,6 +16,10 @@ providing cutting edge hardware support to deliver a set-top box experience.
* Please read the instructions in our wiki (http://wiki.openelec.tv/index.php?title=Installation) on how to install.
**Known issues**
* Testing snapshot
**License**
* OpenELEC is released under [GPLv2](http://www.gnu.org/licenses/gpl-2.0.html). Please refer to the "licenses" folder and
@@ -40,15 +44,16 @@ providing cutting edge hardware support to deliver a set-top box experience.
**Features**
* System size ~ 90 - 170MB
* System size ~ 90 - 130MB
* Minimal hardware requirements
* Ultra fast boot
* Simple configuration via Kodi itself
* Optimized builds for platforms such as ION, Intel, Fusion
* Simple configuration via XBMC itself
* Plug and Play external storage
**Software**
* Kodi HTPC software View/Manage all your media.
* XBMC HTPC software View/Manage all your media.
* Samba server File transfer from any PC client
* SSH server Remote console access for debugging
* IR/Bluetooth Remote Control
@@ -63,12 +68,13 @@ providing cutting edge hardware support to deliver a set-top box experience.
All data transfered to the machine will go here, the rest of the system is
read-only with the exception of /var (containing runtime configuration data).
* Manual update/downgrade procedure is as follows:
Copy the snapshot (.tar) to the 'Update' network share (or /storage/.update) on
Extract the snapshot and navigate to the 'target' directory.
Copy KERNEL and SYSTEM along with KERNEL.md5 and SYSTEM.md5 to the 'Update' network share (or /storage/.update) on
your openelec machine. Your system will automatically upgrade during the
next reboot.
* Automatic mounting of filesystems is supported. Devices such as USB Flash
sticks can be plugged into a running machine and will be mounted to /media,
showing up in Kodis GUI.
showing up in xbmcs GUI.
* Comments and questions are more than welcome, help is even better and patches
are absolutely perfect!!

8
TODO Normal file
View File

@@ -0,0 +1,8 @@
ncurses-5.8/5.9:
- segfaults in nano and dialog -> using ncurses-5.7
irserver:
- rework irserver/init.d for systemd
settings addon:
- remove ps3 sleep? should be fixed in bluez 5.13/5.14

View File

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

View File

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

View File

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

View File

@@ -32,9 +32,12 @@
SIMD_SUPPORT="no"
;;
cortex-a7|cortex-a15)
TARGET_SUBARCH=armv7ve
TARGET_SUBARCH=armv7-a
TARGET_ABI=eabi
TARGET_EXTRA_FLAGS="-mcpu=$TARGET_CPU"
# It's not currently possible to specify the exact architecture variant (-mcpu)
# that A7/A15 supports in the command line so use -mtune here.
# see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57907
TARGET_EXTRA_FLAGS="-mtune=$TARGET_CPU"
TARGET_FPU_FLAGS="-mfloat-abi=$TARGET_FLOAT -mfpu=$TARGET_FPU"
SIMD_SUPPORT="yes"
;;

14
config/arch.i386 Normal file
View File

@@ -0,0 +1,14 @@
# determines TARGET_CPU, if not forced by user
if [ -z "$TARGET_CPU" ]; then
TARGET_CPU=i686
fi
# determine architecture's family
TARGET_SUBARCH=i686
# setup ARCH specific *FLAGS
TARGET_CFLAGS="-march=$TARGET_CPU -m32"
TARGET_LDFLAGS="-march=$TARGET_CPU -m32"
# build with SIMD support ( yes / no )
SIMD_SUPPORT="yes"

View File

@@ -2,8 +2,6 @@ setup_toolchain() {
if [ "$1" = target ]; then
export DESTIMAGE="target"
unset CPP
export CC=$TARGET_CC
export CXX=$TARGET_CXX
export LD=$TARGET_LD
@@ -28,8 +26,6 @@ setup_toolchain() {
elif [ "$1" = host ]; then
export DESTIMAGE="host"
unset CPP
export AWK=$HOST_AWK
export CC=$HOST_CC
export CXX=$HOST_CXX
@@ -55,22 +51,12 @@ setup_toolchain() {
}
kernel_path() {
if [ -e $ROOT/projects/$PROJECT/packages/linux/package.mk ]; then
. $ROOT/projects/$PROJECT/packages/linux/package.mk
else
. $ROOT/packages/linux/package.mk
fi
. $ROOT/packages/linux/package.mk
echo $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
}
kernel_version() {
if [ -e $ROOT/projects/$PROJECT/packages/linux/package.mk ]; then
. $ROOT/projects/$PROJECT/packages/linux/package.mk
else
. $ROOT/packages/linux/package.mk
fi
. $ROOT/packages/linux/package.mk
echo ${PKG_VERSION}
}
@@ -82,16 +68,10 @@ get_module_dir() {
# get package's build dir
get_build_dir() {
if [ ! -z $1 ] ; then
local _PKG_DIR=$(find $ROOT/projects/$PROJECT/packages -name $1 2>/dev/null)
if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
local _PKG_DIR=$(find $ROOT/packages -name $1)
if [ -d $_PKG_DIR -a -f $_PKG_DIR/package.mk ] ; then
. $_PKG_DIR/package.mk
else
local _PKG_DIR=$(find $ROOT/packages -name $1 2>/dev/null)
if [ -d "$_PKG_DIR" -a -f $_PKG_DIR/package.mk ] ; then
. $_PKG_DIR/package.mk
fi
fi
echo $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
fi
}
@@ -277,12 +257,9 @@ dashes="==========================="
}
show_config() {
# load graphic configuration
get_graphicdrivers
dashes="==========================="
config_message="$config_message\n $dashes$dashes$dashes"
config_message="$config_message\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community"))"
config_message="$config_message\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "unofficial"))"
config_message="$config_message\n $dashes$dashes$dashes"
# Build options
@@ -307,24 +284,24 @@ show_config() {
config_message="$config_message\n\n Graphic configuration:"
config_message="$config_message\n $dashes$dashes"
if [ "$DISPLAYSERVER" = "x11" ] ; then
config_message="$config_message\n - Xorg Graphic Drivers:\t\t $GRAPHIC_DRIVERS"
config_message="$config_message\n - XORG Composite support:\t\t $COMPOSITE_SUPPORT"
config_message="$config_message\n - WindowManager:\t\t\t $WINDOWMANAGER"
fi
config_message="$config_message\n - XORG support:\t\t\t $XORG_SUPPORT"
config_message="$config_message\n - XORG Composite support:\t\t $COMPOSITE_SUPPORT"
config_message="$config_message\n - XORG Xinerama support:\t\t $XINERAMA_SUPPORT"
config_message="$config_message\n - SDL support:\t\t\t\t $SDL_SUPPORT"
config_message="$config_message\n - OpenGL (GLX) support (provider):\t $OPENGL_SUPPORT ($OPENGL)"
config_message="$config_message\n - OpenGLES support (provider):\t\t $OPENGLES_SUPPORT ($OPENGLES)"
config_message="$config_message\n - uvesafb support:\t\t\t $UVESAFB_SUPPORT"
config_message="$config_message\n - WindowManager:\t\t\t $WINDOWMANAGER"
config_message="$config_message\n - Xorg Graphic Drivers:\t\t $GRAPHIC_DRIVERS"
# Hardware decoder support
config_message="$config_message\n\n Hardware decoder configuration:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - Kodi Player driver:\t\t\t $KODIPLAYER_DRIVER"
config_message="$config_message\n - VAAPI Support:\t\t\t $VAAPI_SUPPORT"
config_message="$config_message\n - VDPAU Support:\t\t\t $VDPAU_SUPPORT"
config_message="$config_message\n - DCA decoder Support:\t\t\t $DCADEC_SUPPORT"
config_message="$config_message\n - Broadcom CrystalHD Decoder:\t\t $CRYSTALHD"
config_message="$config_message\n - XBMC Player driver:\t\t\t $XBMCPLAYER_DRIVER"
config_message="$config_message\n - VAAPI Support:\t\t\t $VAAPI"
config_message="$config_message\n - VDPAU Support:\t\t\t $VDPAU"
# Input device configuration
@@ -335,7 +312,7 @@ show_config() {
config_message="$config_message\n - ATV Remote support:\t\t\t $ATVCLIENT_SUPPORT"
config_message="$config_message\n - CEC Adapter support:\t\t\t $CEC_SUPPORT"
config_message="$config_message\n - IRTrans support:\t\t\t $IRSERVER_SUPPORT"
config_message="$config_message\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT"
config_message="$config_message\n - XBMC Joystick support:\t\t $JOYSTICK_SUPPORT"
# Misc. hardware configuration
@@ -344,7 +321,9 @@ show_config() {
config_message="$config_message\n - ALSA support:\t\t\t $ALSA_SUPPORT"
config_message="$config_message\n - Pulseaudio support:\t\t\t $PULSEAUDIO_SUPPORT"
config_message="$config_message\n - Blu-Ray support:\t\t\t $BLURAY_SUPPORT"
config_message="$config_message\n - Bluetooth support:\t\t\t $BLUETOOTH_SUPPORT"
config_message="$config_message\n - Hardware Sensors support:\t\t $SENSOR_SUPPORT"
config_message="$config_message\n - LCD drivers:\t\t\t\t $LCD_DRIVER"
for config_driver in $ADDITIONAL_DRIVERS; do
@@ -355,20 +334,22 @@ show_config() {
config_message="$config_message\n - Include firmware:\t\t\t $config_firmware"
done
for config_modules in $INITRAMFS_MODULES; do
config_message="$config_message\n - Initramfs modules:\t\t\t $config_modules"
done
# Network service configuration
config_message="$config_message\n\n Network service configuration:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - Avahi (Zeroconf) support:\t\t $AVAHI_DAEMON"
config_message="$config_message\n - NFS mounting support:\t\t $NFS_SUPPORT"
config_message="$config_message\n - SAMBA mounting support:\t\t $SAMBA_SUPPORT"
config_message="$config_message\n - SAMBA server support:\t\t $SAMBA_SERVER"
config_message="$config_message\n - SFTP server support:\t\t\t $SFTP_SERVER"
config_message="$config_message\n - PPTP support:\t\t\t $PPTP_SUPPORT"
config_message="$config_message\n - OpenVPN support:\t\t\t $OPENVPN_SUPPORT"
config_message="$config_message\n - XBMC Airplay support:\t\t $AIRPLAY_SUPPORT"
config_message="$config_message\n - XBMC Airtunes support:\t\t $AIRTUNES_SUPPORT"
config_message="$config_message\n - XBMC AFP support:\t\t\t $AFP_SUPPORT"
config_message="$config_message\n - XBMC NFS support:\t\t\t $NFS_SUPPORT"
config_message="$config_message\n - XBMC SAMBA client support:\t\t $SAMBA_SUPPORT"
config_message="$config_message\n - XBMC Webserver support:\t\t $WEBSERVER"
# OS configuration
@@ -378,10 +359,10 @@ show_config() {
config_message="$config_message\n - OEM Support:\t\t\t\t $OEM_SUPPORT"
config_message="$config_message\n - Default ROOT Password:\t\t $ROOT_PASSWORD"
config_message="$config_message\n - Bootloader:\t\t\t\t $BOOTLOADER"
if [ "$BOOTLOADER" = "u-boot" ]; then
config_message="$config_message\n - U-Boot configuration:\t\t $UBOOT_CONFIG"
config_message="$config_message\n - U-Boot config file:\t\t $UBOOT_CONFIGFILE"
fi
if [ "$BOOTLOADER" = "u-boot" ]; then
config_message="$config_message\n - U-Boot configuration:\t\t $UBOOT_CONFIG"
config_message="$config_message\n - U-Boot config file:\t\t\t $UBOOT_CONFIGFILE"
fi
config_message="$config_message\n - UDevil support:\t\t\t $UDEVIL"
config_message="$config_message\n - Installer support:\t\t\t $INSTALLER_SUPPORT"
@@ -391,43 +372,31 @@ show_config() {
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - Swap Support:\t\t\t $SWAP_SUPPORT"
if [ "$SWAP_SUPPORT" = "yes" ]; then
config_message="$config_message\n - Swapfile default size:\t\t $SWAPFILESIZE"
fi
if [ "$SWAP_SUPPORT" = "yes" ]; then
config_message="$config_message\n - Swapfile default size:\t\t $SWAPFILESIZE"
fi
config_message="$config_message\n - exFAT Support (via Fuse):\t\t $EXFAT"
config_message="$config_message\n - NTFS Support (via Fuse):\t\t $NTFS3G"
config_message="$config_message\n - Install HFS Tools:\t\t\t $HFSTOOLS"
# Kodi configuration
# XBMC configuration
config_message="$config_message\n\n Kodi configuration:"
config_message="$config_message\n\n XBMC configuration:"
config_message="$config_message\n $dashes$dashes"
config_message="$config_message\n - Kodi version:\t\t\t $MEDIACENTER"
config_message="$config_message\n - Kodi nonfree support:\t\t $KODI_NONFREE_SUPPORT"
config_message="$config_message\n - Kodi Blu-Ray support:\t\t $KODI_BLURAY_SUPPORT"
if [ "$KODI_BLURAY_SUPPORT" = "yes" ] ; then
config_message="$config_message\n - Bluray BD+ support:\t\t $BLURAY_BDPLUS_SUPPORT"
config_message="$config_message\n - Bluray AACS support:\t\t $BLURAY_AACS_SUPPORT"
fi
config_message="$config_message\n - Kodi DVDCSS support:\t\t\t $KODI_DVDCSS_SUPPORT"
config_message="$config_message\n - Kodi Airplay support:\t\t $KODI_AIRPLAY_SUPPORT"
config_message="$config_message\n - Kodi Airtunes support:\t\t $KODI_AIRTUNES_SUPPORT"
config_message="$config_message\n - Kodi NFS support:\t\t\t $KODI_NFS_SUPPORT"
config_message="$config_message\n - Kodi MySQL support:\t\t\t $KODI_MYSQL_SUPPORT"
config_message="$config_message\n - Kodi Optical Drive support:\t\t $KODI_OPTICAL_SUPPORT"
config_message="$config_message\n - Kodi SAMBA client support:\t\t $KODI_SAMBA_SUPPORT"
config_message="$config_message\n - Kodi SSH client support:\t\t $KODI_SSHLIB_SUPPORT"
config_message="$config_message\n - Kodi UPNP support:\t\t\t $KODI_UPNP_SUPPORT"
config_message="$config_message\n - Kodi Webserver support:\t\t $KODI_WEBSERVER_SUPPORT"
config_message="$config_message\n - XBMC version:\t\t\t $MEDIACENTER"
config_message="$config_message\n - XBMC nonfree support:\t\t $NONFREE_SUPPORT"
config_message="$config_message\n - XBMC DVDCSS support:\t\t\t $DVDCSS_SUPPORT"
for config_skin in $SKINS; do
config_message="$config_message\n - Include Skin:\t\t\t $config_skin"
done
config_message="$config_message\n - Default Skin:\t\t\t $SKIN_DEFAULT"
config_message="$config_message\n - Include extra fonts:\t\t\t $KODI_EXTRA_FONTS"
config_message="$config_message\n - Include extra fonts:\t\t\t $XBMC_EXTRA_FONTS"
config_message="$config_message\n - Include RSXS Screensaver:\t\t $XBMC_SCR_RSXS"
config_message="$config_message\n - Include ProjectM Visualization:\t $XBMC_VIS_PROJECTM"
config_message="$config_message\n - Include Goom Visualization:\t\t $XBMC_VIS_GOOM"
config_message="$config_message\n"
config_message="$config_message\n $dashes$dashes$dashes"
@@ -435,5 +404,5 @@ show_config() {
config_message="$config_message\n $dashes$dashes$dashes"
config_message="$config_message\n\n\n"
echo -e "$config_message"
echo -e $config_message
}

View File

@@ -1,3 +1,9 @@
if [ "$DISPLAYSERVER" = "x11" ]; then
SDL_SUPPORT="yes"
else
SDL_SUPPORT="no"
fi
if [ "$OPENGL" = no ]; then
OPENGL_SUPPORT="no"
else
@@ -10,34 +16,55 @@ else
OPENGLES_SUPPORT="yes"
fi
if [ "$SDL_SUPPORT" = no ]; then
JOYSTICK_SUPPORT="no"
fi
if [ "$OPENGL_SUPPORT" = no ]; then
XBMC_SCR_RSXS="no"
XBMC_VIS_PROJECTM="no"
XBMC_VIS_GOOM="no"
fi
get_graphicdrivers() {
if [ "$GRAPHIC_DRIVERS" = "all" ]; then
GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 nvidia"
fi
for drv in $GRAPHIC_DRIVERS; do
if [ "$drv" = "dove" ]; then
XORG_DRIVERS="$XORG_DRIVERS dove"
fi
if [ "$drv" = "i915" ]; then
DRI_DRIVERS="$DRI_DRIVERS,i915"
XORG_DRIVERS="$XORG_DRIVERS intel"
COMPOSITE_SUPPORT="yes"
VAAPI_SUPPORT="yes"
fi
if [ "$drv" = "i965" ]; then
DRI_DRIVERS="$DRI_DRIVERS,i965"
XORG_DRIVERS="$XORG_DRIVERS intel"
COMPOSITE_SUPPORT="yes"
VAAPI_SUPPORT="yes"
fi
if [ "$drv" = "nouveau" ]; then
# DRI_DRIVERS are only used for NV04 - NV20 (which we dont want to support anymore)
DRI_DRIVERS="$DRI_DRIVERS"
# GALLIUM_DRIVERS are used for all cards from NV30 to nvc0
# see also http://nouveau.freedesktop.org/wiki/MesaDrivers/
GALLIUM_DRIVERS="$GALLIUM_DRIVERS,nouveau"
XORG_DRIVERS="$XORG_DRIVERS nouveau"
COMPOSITE_SUPPORT="yes"
# LLVM_SUPPORT="yes"
fi
if [ "$drv" = "nvidia" ]; then
XORG_DRIVERS="$XORG_DRIVERS nvidia"
VDPAU_SUPPORT="yes"
fi
if [ "$drv" = "nvidia-legacy" ]; then
XORG_DRIVERS="$XORG_DRIVERS nvidia-legacy"
VDPAU_SUPPORT="yes"
fi
if [ "$drv" = "r200" ]; then
@@ -51,7 +78,6 @@ get_graphicdrivers() {
XORG_DRIVERS="$XORG_DRIVERS ati"
LLVM_SUPPORT="yes"
COMPOSITE_SUPPORT="yes"
VDPAU_SUPPORT="yes"
fi
if [ "$drv" = "r600" ]; then
@@ -59,7 +85,6 @@ get_graphicdrivers() {
XORG_DRIVERS="$XORG_DRIVERS ati"
LLVM_SUPPORT="yes"
COMPOSITE_SUPPORT="yes"
VDPAU_SUPPORT="yes"
fi
if [ "$drv" = "radeonsi" ]; then
@@ -67,7 +92,6 @@ get_graphicdrivers() {
XORG_DRIVERS="$XORG_DRIVERS ati"
LLVM_SUPPORT="yes"
COMPOSITE_SUPPORT="yes"
VDPAU_SUPPORT="yes"
fi
done

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -1,10 +1,7 @@
{
"name": "@DISTRONAME@_@PROJECT@",
"name": "@DISTRONAME@",
"version": "@OPENELEC_VERSION@",
"release_date": "@RELEASE_DATE@",
"kernel": "@KERNEL_VERSION@",
"description": "@DESCRIPTION@",
"username": "root",
"password": "@ROOT_PASSWORD@",
"supported_hex_revisions": "@NOOBS_HEX@"
"description": "@DESCRIPTION@"
}

View File

@@ -40,7 +40,7 @@ md5sumCheck() {
)
}
if [ -z $part1 -o -z $part2 -o -z $id1 -o -z $id2 ]; then
if [ -z $part1 -o -z $part2 -o -z $id1 -o -z $id2]; then
echo "error: part1, part2, id1 or id2 not specified"
echo "actual values:"
echo "part1:" $part1

View File

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

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -1,14 +1,6 @@
# set default language for buildsystem
export LC_ALL=C
# determines DISTRO, if not forced by user
# default is OpenELEC
if [ -z "$DISTRO" ]; then
DISTRO="OpenELEC"
else
DISTRO="$DISTRO"
fi
# determines PROJECT, if not forced by user
# default is Generic
if [ -z "$PROJECT" ]; then
@@ -17,32 +9,21 @@ else
PROJECT="$PROJECT"
fi
# determines TARGET_ARCH, if not forced by user (x86_64 / arm)
# default is x86_64
# determines TARGET_ARCH, if not forced by user (i386 / x86_64 / arm)
# default is i386
if [ -z "$ARCH" ]; then
TARGET_ARCH="x86_64"
TARGET_ARCH="i386"
else
TARGET_ARCH="$ARCH"
fi
ROOT=`pwd`
DISTRO_DIR="$ROOT/distributions"
PROJECT_DIR="$ROOT/projects"
LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/packages/linux/package.mk"
# include versioning
. config/version
# read distro versioning if available
if [ -f "$DISTRO_DIR/$DISTRO/version" ]; then
. $DISTRO_DIR/$DISTRO/version
fi
# read distro options if available
if [ -f "$DISTRO_DIR/$DISTRO/options" ]; then
. $DISTRO_DIR/$DISTRO/options
fi
# read project options if available
if [ -f "$PROJECT_DIR/$PROJECT/options" ]; then
. $PROJECT_DIR/$PROJECT/options
@@ -52,11 +33,6 @@ LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/package
# If you have ccache installed, take care that LOCAL_CC don't point to it
LOCAL_CC=`which gcc`
if [ -z "$LOCAL_CC" ] ; then
echo "***** Please install gcc *****"
exit 127
fi
# Need to point to your actual g++
# If you have ccache installed, take care that LOCAL_CXX don't point to it
LOCAL_CXX=`which g++`
@@ -70,9 +46,7 @@ fi
# Concurrency make level (-j option)
# Try value 1 (default) to 4 on single CPU computer, or more on
# multi-processor computer (like hyperthreading SMP CPU)
if test -z "${CONCURRENCY_MAKE_LEVEL}"; then
CONCURRENCY_MAKE_LEVEL=`cat /proc/cpuinfo | grep -c '^processor[[:cntrl:]]*:'`
fi
CONCURRENCY_MAKE_LEVEL=`cat /proc/cpuinfo | grep -c '^processor[[:cntrl:]]*:'`
# cache size for ccache
# Set the maximum size of the files stored in the cache. You can specify a
@@ -81,6 +55,9 @@ fi
# the nearest multiple of 16 kilobytes.
CCACHE_CACHE_SIZE="30G"
# forcing install of all packages (yes/no)
FORCE_INSTALL="no"
# install devtools on development builds
if [ "$OPENELEC_VERSION" = "devel" ]; then
DEVTOOLS=yes
@@ -94,10 +71,5 @@ fi
. $HOME/.openelec/$PROJECT/options
fi
# read distro options from $HOME if available
if [ -f "$HOME/.openelec/options.$DISTRO" ]; then
. $HOME/.openelec/options.$DISTRO
fi
. config/graphic
. config/path $1

View File

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

View File

@@ -0,0 +1,2 @@
[autorun]
icon=openelec.ico

BIN
config/release/openelec.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -1,9 +1,9 @@
# VERSION: set full version, use "devel" for development version
OPENELEC_VERSION="6.0.1"
OPENELEC_VERSION="4.1.6"
# OS_VERSION: OS Version
OS_VERSION="6.0"
OS_VERSION="4.2"
# ADDON_VERSION: Addon version
ADDON_VERSION="6.0"
ADDON_VERSION="4.1"

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="cxxtools"
PKG_VERSION="2.2.1"
PKG_VERSION="2.2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL-2"
@@ -48,7 +48,6 @@ post_makeinstall_host() {
}
post_makeinstall_target() {
$SED "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/bin/cxxtools-config
rm -rf $SYSROOT_PREFIX/usr/bin/cxxtools-config
rm -rf $INSTALL/usr/bin
}

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="tntnet"
PKG_VERSION="2.2.1"
PKG_VERSION="2.2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL-2"
@@ -51,8 +51,6 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-unittest \
--with-stressjob=no"
post_makeinstall_target() {
$SED "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/bin/tntnet-config
rm -rf $INSTALL/usr/bin
rm -rf $INSTALL/usr/share
}

View File

@@ -1,517 +0,0 @@
diff -Naur tntnet-2.2.1/configure tntnet-2.2.1.patch/configure
--- tntnet-2.2.1/configure 2014-01-17 20:11:49.000000000 +0100
+++ tntnet-2.2.1.patch/configure 2016-01-07 06:34:42.002634975 +0100
@@ -16495,7 +16546,7 @@
ac_config_files="$ac_config_files tntnet-config"
-ac_config_files="$ac_config_files Makefile framework/common/Makefile framework/runtime/Makefile framework/defcomp/Makefile sdk/tools/common/Makefile sdk/tools/ecppc/Makefile sdk/tools/ecppl/Makefile sdk/tools/ecppll/Makefile sdk/demos/Makefile sdk/demos/backgroundjob/Makefile sdk/demos/calc/Makefile sdk/demos/calcajax/Makefile sdk/demos/calcapp/Makefile sdk/demos/calcmvc/Makefile sdk/demos/calci18n/Makefile sdk/demos/chat/Makefile sdk/demos/comp/Makefile sdk/demos/config/Makefile sdk/demos/controls/Makefile sdk/demos/cookie/Makefile sdk/demos/hello/Makefile sdk/demos/savepoint/Makefile sdk/demos/session/Makefile sdk/demos/sprintf/Makefile sdk/demos/strings/Makefile sdk/demos/rajax-jquery/Makefile sdk/demos/upload/Makefile utest/Makefile doc/man/Makefile etc/Makefile"
+ac_config_files="$ac_config_files Makefile framework/common/Makefile framework/runtime/Makefile framework/defcomp/Makefile pkgconfig/tntnet.pc pkgconfig/tntnet_sdk.pc sdk/tools/common/Makefile sdk/tools/ecppc/Makefile sdk/tools/ecppl/Makefile sdk/tools/ecppll/Makefile sdk/demos/Makefile sdk/demos/backgroundjob/Makefile sdk/demos/calc/Makefile sdk/demos/calcajax/Makefile sdk/demos/calcapp/Makefile sdk/demos/calcmvc/Makefile sdk/demos/calci18n/Makefile sdk/demos/chat/Makefile sdk/demos/comp/Makefile sdk/demos/config/Makefile sdk/demos/controls/Makefile sdk/demos/cookie/Makefile sdk/demos/hello/Makefile sdk/demos/savepoint/Makefile sdk/demos/session/Makefile sdk/demos/sprintf/Makefile sdk/demos/strings/Makefile sdk/demos/rajax-jquery/Makefile sdk/demos/upload/Makefile utest/Makefile doc/man/Makefile etc/Makefile"
cat >confcache <<\_ACEOF
@@ -17642,6 +17693,8 @@
"framework/common/Makefile") CONFIG_FILES="$CONFIG_FILES framework/common/Makefile" ;;
"framework/runtime/Makefile") CONFIG_FILES="$CONFIG_FILES framework/runtime/Makefile" ;;
"framework/defcomp/Makefile") CONFIG_FILES="$CONFIG_FILES framework/defcomp/Makefile" ;;
+ "pkgconfig/tntnet.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/tntnet.pc" ;;
+ "pkgconfig/tntnet_sdk.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/tntnet_sdk.pc" ;;
"sdk/tools/common/Makefile") CONFIG_FILES="$CONFIG_FILES sdk/tools/common/Makefile" ;;
"sdk/tools/ecppc/Makefile") CONFIG_FILES="$CONFIG_FILES sdk/tools/ecppc/Makefile" ;;
"sdk/tools/ecppl/Makefile") CONFIG_FILES="$CONFIG_FILES sdk/tools/ecppl/Makefile" ;;
diff -Naur tntnet-2.2.1/configure.in tntnet-2.2.1.patch/configure.in
--- tntnet-2.2.1/configure.in 2014-01-17 20:11:40.000000000 +0100
+++ tntnet-2.2.1.patch/configure.in 2016-01-07 06:08:14.679087771 +0100
@@ -218,6 +218,8 @@
framework/common/Makefile
framework/runtime/Makefile
framework/defcomp/Makefile
+ pkgconfig/tntnet.pc
+ pkgconfig/tntnet_sdk.pc
sdk/tools/common/Makefile
sdk/tools/ecppc/Makefile
sdk/tools/ecppl/Makefile
diff -Naur tntnet-2.2.1/Makefile.am tntnet-2.2.1.patch/Makefile.am
--- tntnet-2.2.1/Makefile.am 2014-01-17 20:12:20.000000000 +0100
+++ tntnet-2.2.1.patch/Makefile.am 2016-01-07 06:07:03.793973412 +0100
@@ -80,3 +80,9 @@
Releasenotes-2.2.markdown \
Releasenotes-2.2.1.markdown \
$(pkgdata_SCRIPTS)
+
+pkgconfigdir = $(libdir)/pkgconfig/
+
+pkgconfig_DATA = \
+ pkgconfig/tntnet.pc \
+ pkgconfig/tntnet_sdk.pc
diff -Naur tntnet-2.2.1/Makefile.in tntnet-2.2.1.patch/Makefile.in
--- tntnet-2.2.1/Makefile.in 2014-01-17 20:12:26.000000000 +0100
+++ tntnet-2.2.1.patch/Makefile.in 2016-01-07 06:33:05.045478363 +0100
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.12.2 from Makefile.am.
+# Makefile.in generated by automake 1.13.4 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994-2012 Free Software Foundation, Inc.
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -14,24 +14,53 @@
@SET_MAKE@
+
VPATH = @srcdir@
-am__make_dryrun = \
- { \
- am__dry=no; \
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
- echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
- | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
- *) \
- for am__flg in $$MAKEFLAGS; do \
- case $$am__flg in \
- *=*|--*) ;; \
- *n*) am__dry=yes; break;; \
- esac; \
- done;; \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
- test $$am__dry = yes; \
- }
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
@@ -52,11 +81,13 @@
host_triplet = @host@
target_triplet = @target@
subdir = .
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/tntnet-config.in \
- $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
- TODO config.guess config.sub depcomp install-sh ltmain.sh \
- missing
+DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
+ $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/tntnet-config.in \
+ $(top_srcdir)/pkgconfig/tntnet.pc.in \
+ $(top_srcdir)/pkgconfig/tntnet_sdk.pc.in COPYING TODO \
+ config.guess config.sub depcomp install-sh missing ltmain.sh
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \
$(top_srcdir)/m4/ax_check_compile_flag.m4 \
@@ -71,7 +102,8 @@
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/framework/common/config.h
-CONFIG_CLEAN_FILES = tntnet-config
+CONFIG_CLEAN_FILES = tntnet-config pkgconfig/tntnet.pc \
+ pkgconfig/tntnet_sdk.pc
CONFIG_CLEAN_VPATH_FILES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
@@ -100,27 +132,62 @@
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgdatadir)"
+am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgdatadir)" \
+ "$(DESTDIR)$(pkgconfigdir)"
SCRIPTS = $(bin_SCRIPTS) $(pkgdata_SCRIPTS)
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
SOURCES =
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+DATA = $(pkgconfig_DATA)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
@@ -179,6 +246,7 @@
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_CFLAGS = @AM_CFLAGS@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AR = @AR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
@@ -382,6 +450,11 @@
Releasenotes-2.2.1.markdown \
$(pkgdata_SCRIPTS)
+pkgconfigdir = $(libdir)/pkgconfig/
+pkgconfig_DATA = \
+ pkgconfig/tntnet.pc \
+ pkgconfig/tntnet_sdk.pc
+
all: all-recursive
.SUFFIXES:
@@ -421,6 +494,10 @@
$(am__aclocal_m4_deps):
tntnet-config: $(top_builddir)/config.status $(srcdir)/tntnet-config.in
cd $(top_builddir) && $(SHELL) ./config.status $@
+pkgconfig/tntnet.pc: $(top_builddir)/config.status $(top_srcdir)/pkgconfig/tntnet.pc.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
+pkgconfig/tntnet_sdk.pc: $(top_builddir)/config.status $(top_srcdir)/pkgconfig/tntnet_sdk.pc.in
+ cd $(top_builddir) && $(SHELL) ./config.status $@
install-binSCRIPTS: $(bin_SCRIPTS)
@$(NORMAL_INSTALL)
@list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
@@ -500,6 +577,27 @@
distclean-libtool:
-rm -f libtool config.lt
+install-pkgconfigDATA: $(pkgconfig_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
+ done
+
+uninstall-pkgconfigDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
# This directory's subdirectories are mostly independent; you can cd
# into them and run 'make' without going through this Makefile.
@@ -507,14 +605,13 @@
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
- @fail= failcom='exit 1'; \
- for f in x $$MAKEFLAGS; do \
- case $$f in \
- *=* | --[!k]*);; \
- *k*) failcom='fail=yes';; \
- esac; \
- done; \
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
case "$@" in \
@@ -535,31 +632,13 @@
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -575,12 +654,7 @@
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -592,15 +666,11 @@
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -609,18 +679,16 @@
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -754,9 +822,9 @@
*.zip*) \
unzip $(distdir).zip ;;\
esac
- chmod -R a-w $(distdir); chmod u+w $(distdir)
- mkdir $(distdir)/_build
- mkdir $(distdir)/_inst
+ chmod -R a-w $(distdir)
+ chmod u+w $(distdir)
+ mkdir $(distdir)/_build $(distdir)/_inst
chmod a-w $(distdir)
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
@@ -820,10 +888,10 @@
exit 1; } >&2
check-am: all-am
check: check-recursive
-all-am: Makefile $(SCRIPTS)
+all-am: Makefile $(SCRIPTS) $(DATA)
installdirs: installdirs-recursive
installdirs-am:
- for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgdatadir)"; do \
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(pkgconfigdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-recursive
@@ -878,7 +946,7 @@
info-am:
-install-data-am: install-pkgdataSCRIPTS
+install-data-am: install-pkgconfigDATA install-pkgdataSCRIPTS
install-dvi: install-dvi-recursive
@@ -924,30 +992,29 @@
ps-am:
-uninstall-am: uninstall-binSCRIPTS uninstall-pkgdataSCRIPTS
+uninstall-am: uninstall-binSCRIPTS uninstall-pkgconfigDATA \
+ uninstall-pkgdataSCRIPTS
+
+.MAKE: $(am__recursive_targets) install-am install-strip
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-am clean clean-cscope \
- clean-generic clean-libtool cscope cscopelist \
- cscopelist-recursive ctags ctags-recursive dist dist-all \
- dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \
- dist-zip distcheck distclean distclean-generic \
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ clean-libtool cscope cscopelist-am ctags ctags-am dist \
+ dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
+ dist-xz dist-zip distcheck distclean distclean-generic \
distclean-libtool distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \
install install-am install-binSCRIPTS install-data \
install-data-am install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-pdf install-pdf-am \
- install-pkgdataSCRIPTS install-ps install-ps-am install-strip \
- installcheck installcheck-am installdirs installdirs-am \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- tags tags-recursive uninstall uninstall-am \
- uninstall-binSCRIPTS uninstall-pkgdataSCRIPTS
+ install-pkgconfigDATA install-pkgdataSCRIPTS install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am uninstall-binSCRIPTS uninstall-pkgconfigDATA \
+ uninstall-pkgdataSCRIPTS
tntnet-config: tntnet-config.in
diff -Naur tntnet-2.2.1/pkgconfig/tntnet.pc.in tntnet-2.2.1.patch/pkgconfig/tntnet.pc.in
--- tntnet-2.2.1/pkgconfig/tntnet.pc.in 1970-01-01 01:00:00.000000000 +0100
+++ tntnet-2.2.1.patch/pkgconfig/tntnet.pc.in 2016-01-07 06:07:03.794973414 +0100
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: tntnet
+Description: Modular, multithreaded web application library for C++
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -ltntnet
+Cflags: -I${includedir}
+Requires.private: cxxtools
diff -Naur tntnet-2.2.1/pkgconfig/tntnet_sdk.pc.in tntnet-2.2.1.patch/pkgconfig/tntnet_sdk.pc.in
--- tntnet-2.2.1/pkgconfig/tntnet_sdk.pc.in 1970-01-01 01:00:00.000000000 +0100
+++ tntnet-2.2.1.patch/pkgconfig/tntnet_sdk.pc.in 2016-01-07 06:07:03.795973416 +0100
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: tntnet_sdk
+Description: Helper library for ecpp-parsing programs
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -ltntnet_sdk
+Cflags: -I${includedir}
+Requires.private: cxxtools

View File

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

View File

@@ -17,8 +17,8 @@
################################################################################
PKG_NAME="hdhomerun"
PKG_VERSION="6.0"
PKG_REV="0"
PKG_VERSION="4.1"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.silicondust.com/products/hdhomerun/dvbt/"
@@ -31,8 +31,6 @@ PKG_LONGDESC="A linux DVB driver for the HDHomeRun (http://www.silicondust.com).
PKG_AUTORECONF="no"
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="xbmc.python.script"
PKG_ADDON_PROVIDES=""
PKG_ADDON_REPOVERSION="6.0"
make_target() {
: # nothing to do here

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="imon-mce"
PKG_VERSION="6.0"
PKG_VERSION="4.1"
PKG_REV="0"
PKG_ARCH="any"
PKG_LICENSE="OSS"
@@ -31,8 +31,6 @@ PKG_LONGDESC="imon-mce is a driver to add support for MCE remotes to the imon dr
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="xbmc.service"
PKG_ADDON_PROVIDES=""
PKG_ADDON_REPOVERSION="6.0"
PKG_AUTORECONF="no"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="repository.unofficial.addon.pro"
PKG_VERSION="6.0"
PKG_VERSION="4.1.2"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
@@ -33,17 +33,15 @@ PKG_LONGDESC="Unfficial OpenELEC.tv Add-on Repository"
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="xbmc.addon.repository"
PKG_ADDON_PROVIDES=""
PKG_AUTORECONF="no"
PKG_MAINTAINER="unofficial.addon.pro"
make_target() {
$SED -e "s|@PROJECT@|$PROJECT|g" \
$SED -e "s|@ADDON_VERSION@|$ADDON_VERSION|g" \
-e "s|@PROJECT@|$PROJECT|g" \
-e "s|@ARCH@|$TARGET_ARCH|g" \
-e "s|@PKG_VERSION@|$PKG_VERSION|g" \
-e "s|@PKG_REV@|$PKG_REV|g"\
-i addon.xml
}

View File

@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="repository.unofficial.addon.pro"
name="[COLOR FF757677]Open[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR] Add-ons (unofficial)"
version="@PKG_VERSION@.@PKG_REV@"
provider-name="OpenELEC Community">
name="Unofficial [COLOR FF757677]Open[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR] Mediacenter OS Add-ons"
version="4.1.2"
provider-name="unofficial.addon.pro">
<extension point="xbmc.addon.repository"
name="OpenELEC Add-ons (unofficial)">
<dir minversion="15.0.0">
<info>http://unofficial.addon.pro/addons/6.0/@PROJECT@/@ARCH@/addons.xml</info>
<checksum>http://unofficial.addon.pro/addons/6.0/@PROJECT@/@ARCH@/addons.xml.md5</checksum>
<datadir zip="true">http://unofficial.addon.pro/addons/6.0/@PROJECT@/@ARCH@</datadir>
</dir>
name="Unofficial OpenELEC.tv Add-on Repository">
<info>http://unofficial.addon.pro/addons/@ADDON_VERSION@/@PROJECT@/@ARCH@/addons.xml</info>
<checksum>http://unofficial.addon.pro/addons/@ADDON_VERSION@/@PROJECT@/@ARCH@/addons.xml.md5</checksum>
<datadir zip="true">http://unofficial.addon.pro/addons/@ADDON_VERSION@/@PROJECT@/@ARCH@</datadir>
</extension>
<extension point="xbmc.addon.metadata">
<summary>OpenELEC Add-ons (unofficial)</summary>
<description>The OpenELEC unofficial repository contains add-ons from the community. These add-ons are not supported by OpenELEC staff. If you find a broken add-on please check the OpenELEC or Kodi forums for community support threads and ask the add-on author to submit fixes via GitHub.</description>
<disclaimer>Add-ons in this repository are not maintained or supported by OpenELEC staff.</disclaimer>
<summary>Unofficial addon repository for OpenELEC</summary>
<description>
[COLOR orange]Use with care. There will be NO end user support for addons in this repository[/COLOR]
</description>
<disclaimer>This is an unofficial addon repository. please don't ask for support in openelec forum / irc channel</disclaimer>
<platform>all</platform>
</extension>
</addon>

View File

@@ -1,15 +1,3 @@
6.0.1
- update repo minversion for kodi 15
6.0.0
- rebuild for OpenELEC-6.0
4.3.3
- rebuild
4.3.2
- rebuild for addon api bump
4.1.2
- fix typo in repository name

View File

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

View File

@@ -18,7 +18,7 @@
PKG_NAME="boblightd"
PKG_VERSION="478"
PKG_REV="0"
PKG_REV="2"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://code.google.com/p/boblight"
@@ -31,8 +31,6 @@ PKG_LONGDESC="Boblight's main purpose is to create light effects from an externa
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="xbmc.service"
PKG_ADDON_PROVIDES=""
PKG_ADDON_REPOVERSION="6.0"
PKG_AUTORECONF="yes"
@@ -41,10 +39,10 @@ if [ "$DISPLAYSERVER" = "x11" ] ; then
fi
if [ "$OPENGL_SUPPORT" = "yes" ] ; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET mesa glu"
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET Mesa glu"
fi
if [ "$OPENGL" = "no" ]; then
if [ ! "$OPENGL" = "Mesa" ]; then
EXTRAOPTS="--without-opengl"
fi
@@ -65,7 +63,6 @@ addon() {
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -P $PKG_BUILD/.$TARGET_NAME/src/boblightd $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -P $PKG_BUILD/.$TARGET_NAME/src/boblight-constant $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -P $PKG_BUILD/.$TARGET_NAME/src/boblight-aml $ADDON_BUILD/$PKG_ADDON_ID/bin
if [ "$DISPLAYSERVER" = "x11" ] ; then
cp -P $PKG_BUILD/.$TARGET_NAME/src/boblight-X11 $ADDON_BUILD/$PKG_ADDON_ID/bin
fi

View File

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

View File

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

View File

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

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

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

View File

@@ -0,0 +1,12 @@
diff -Naur tvheadend-3.9.1050/Makefile tvheadend-3.9.1050.patch/Makefile
--- tvheadend-3.9.1050/Makefile 2014-07-07 21:39:24.000000000 +0200
+++ tvheadend-3.9.1050.patch/Makefile 2014-07-14 17:57:09.483454814 +0200
@@ -28,7 +28,7 @@
#
CFLAGS += -g -O2
-CFLAGS += -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations
+CFLAGS += -Wall -Wwrite-strings -Wno-deprecated-declarations
CFLAGS += -Wmissing-prototypes
CFLAGS += -fms-extensions -funsigned-char -fno-strict-aliasing
CFLAGS += -D_FILE_OFFSET_BITS=64

View File

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

View File

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

View File

@@ -15,5 +15,3 @@
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
d /run/kodi 0755 root root - -

View File

@@ -0,0 +1,15 @@
{
"storage": "/storage/recordings",
"retention-days": 31,
"pre-extra-time": 0,
"post-extra-time": 0,
"day-dir": 0,
"channel-dir": 0,
"channel-in-title": 0,
"date-in-title": 0,
"time-in-title": 0,
"whitespace-in-title": 0,
"title-dir": 0,
"episode-in-title": 0,
"tag-files": 1
}

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
<!-- HTS TVHEADEND -->
<string id="1000">XMLTV</string>
<string id="1001">DVB</string>
<string id="1011">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>
</strings>

View File

@@ -0,0 +1,21 @@
<?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" />
</category>
</settings>

View File

@@ -0,0 +1,8 @@
<settings>
<setting id="WAIT_FOR_FEINIT" value="false" />
<setting id="NUM_ADAPTERS" value="1" />
<setting id="XMLTV_LOCATION_FILE" value="" />
<setting id="XMLTV_LOCATION_WEB" value="http://" />
<setting id="XMLTV_TYPE" value="NONE" />
<setting id="PRELOAD_CAPMT_CA" value="false" />
</settings>

View File

@@ -0,0 +1,44 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
. /etc/profile
oe_setup_addon service.multimedia.tvheadend
SERVICE="service.multimedia.tvheadend"
case "$1" in
pre)
if systemctl is-active "$SERVICE" &>/dev/null ; then
systemctl stop "$SERVICE"
for module in $REMOVE_MODULES ; do
rmmod $module
done
fi
;;
post)
if systemctl is-enabled "$SERVICE" &>/dev/null ; then
for module in $REMOVE_MODULES ; do
modprobe $module
done
systemctl start "$SERVICE"
fi
;;
esac

View File

@@ -0,0 +1,13 @@
[Unit]
Description=TVHeadend Service
After=graphical.target
[Service]
ExecStart=/bin/sh -c "exec sh /storage/.xbmc/addons/service.multimedia.tvheadend/bin/tvheadend.start"
TimeoutStopSec=2
Restart=always
RestartSec=2
StartLimitInterval=0
[Install]
WantedBy=xbmc.target

View File

@@ -0,0 +1,9 @@
{
"enabled": 0,
"ondemand": 0,
"path": "/storage/.xbmc/userdata/addon_data/service.multimedia.tvheadend/cache/timeshift",
"unlimited_period": 0,
"max_period": 3600,
"unlimited_size": 0,
"max_size": 1024
}

View File

@@ -0,0 +1,14 @@
{
"grabbers": [
{
"path": "/storage/.xbmc/addons/service.multimedia.tvheadend/bin/tv_grab_file",
"description": "tv_grag_file is a simple grabber that just read the ~/.xmltv/tv_grab_file.xmltv file",
"version": "0.1\n",
"mtime": 1318774706,
"capabilities": 1
}
],
"grab-interval": 12,
"grab-enabled": 1,
"current-grabber": "/storage/.xbmc/addons/service.multimedia.tvheadend/bin/tv_grab_file"
}

View File

@@ -1,70 +1,3 @@
6.0.2
- update to vdr-satip-2.2.3
- update to vdr-plugin-vnsiserver-7c6ff30
6.0.1
- update to vdr-plugin-dvbapi-0489e01
- update to vdr-plugin-vnsiserver-a7b0670
- update to vdr-satip-2.2.2
- update to vdr-iptv-2.2.1
6.0.0
- rebuild for OpenELEC-6.0
- remove plugin 'control'
- remove plugin 'xvdr'
- update to vdr-plugin-vnsiserver-36e2b61
4.3.11
- update to vdr-plugin-restfulapi-0.2.1.4
4.3.10
- disable dvbapi network mode
4.3.9
- update to vdr-2.2.0
- update to vdr-iptv-2.2.0
- update to vdr-satip-2.2.0
- update to vdr-plugin-dvbapi-c0c7fa2
- update to vdr-plugin-eepg-9cd9a75
- update to vdr-plugin-vnsiserver-9529e6d
- update to vdr-plugin-streamdev-84c6f6b
4.3.8
- update to vdr-2.1.10
- update to vdr-plugin-restfulapi-0.2.1.1
- update to vdr-plugin-vnsiserver-f2175ba
4.3.7
- update to vdr-2.1.8
- update to vdr-plugin-vnsiserver-b887bc8
- update to vdr-wirbelscan-0.0.9
4.3.6
- update to vdr-satip-1.0.2
- update to vdr-2.1.7
4.3.5
- add plugin 'vdr-plugin-restfulapi'
- update to vdr-plugin-xvdr-b300fc3
4.3.4
- update to vdr-plugin-vnsiserver-a48edf1
- update to vdr-plugin-dvbapi-36a6b1d
4.3.3
- add plugin 'vdr-plugin-epgfixer'
- update to vdr-satip-1.0.1
4.3.2
- update to kodi
4.3.1
- update to vdr-plugin-vnsiserver-a7cb405
- update to vdr-plugin-dvbapi-2617a7f
4.3.0
- rebuild for addon api bump
4.1.7
- add option to override epg charset
- update to vdr-plugin-vnsiserver-7d4aa81

View File

@@ -0,0 +1,31 @@
KBD.Up 00000000001B5B41
KBD.Down 00000000001B5B42
KBD.Menu 000000000000006D
KBD.Ok 000000000000000D
KBD.Back 000000000000007F
KBD.Left 00000000001B5B44
KBD.Right 00000000001B5B43
KBD.Red 000000001B5B5B41
KBD.Green 000000001B5B5B42
KBD.Yellow 000000001B5B5B43
KBD.Blue 000000001B5B5B44
KBD.0 0000000000000030
KBD.1 0000000000000031
KBD.2 0000000000000032
KBD.3 0000000000000033
KBD.4 0000000000000034
KBD.5 0000000000000035
KBD.6 0000000000000036
KBD.7 0000000000000037
KBD.8 0000000000000038
KBD.9 0000000000000039
KBD.Info 0000000000000069
KBD.FastFwd 0000001B5B31377E
KBD.FastRew 000000001B5B5B45
KBD.Power 0000000000000070
KBD.Volume+ 0000001B5B32347E
KBD.Volume- 0000001B5B32337E
KBD.Mute 0000001B5B32317E
KBD.User7 0000001B5B31387E
KBD.User8 0000001B5B31397E
KBD.User9 0000001B5B32307E

View File

@@ -18,13 +18,13 @@
################################################################################
PKG_NAME="vdr-addon"
PKG_VERSION="6.0"
PKG_REV="2"
PKG_VERSION="4.1"
PKG_REV="7"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.openelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain attr libcap vdr vdr-plugin-vnsiserver vdr-iptv vdr-wirbelscan vdr-wirbelscancontrol vdr-plugin-dvbapi vdr-plugin-streamdev vdr-live vdr-epgsearch vdr-plugin-xmltv2vdr vdr-plugin-eepg vdr-dummydevice vdr-satip vdr-plugin-epgfixer vdr-plugin-restfulapi"
PKG_DEPENDS_TARGET="toolchain attr libcap vdr vdr-plugin-xvdr vdr-plugin-vnsiserver vdr-iptv vdr-wirbelscan vdr-wirbelscancontrol vdr-plugin-dvbapi vdr-plugin-streamdev vdr-live vdr-control vdr-epgsearch vdr-plugin-xmltv2vdr vdr-plugin-eepg vdr-dummydevice vdr-satip"
PKG_PRIORITY="optional"
PKG_SECTION="service.multimedia"
PKG_SHORTDESC="vdr: A powerful DVB TV application"
@@ -32,10 +32,6 @@ PKG_LONGDESC="This project describes how to build your own digital satellite rec
PKG_AUTORECONF="no"
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="xbmc.service"
PKG_ADDON_PROVIDES=""
PKG_ADDON_REQUIRES="pvr.vdr.vnsi:0.0.0 script.config.vdr:0.0.0"
PKG_ADDON_NAME="VDR PVR Backend"
PKG_ADDON_REPOVERSION="6.0"
make_target() {
: # nothing to do here
@@ -48,21 +44,20 @@ makeinstall_target() {
addon() {
VDR_DIR="$(get_build_dir vdr)"
VDR_LIVE_DIR="$(get_build_dir vdr-live)"
VDR_PLUGIN_XVDR_DIR="$(get_build_dir vdr-plugin-xvdr)"
VDR_PLUGIN_VNSISERVER_DIR="$(get_build_dir vdr-plugin-vnsiserver)"
VDR_PLUGIN_STREAMVEV_DIR="$(get_build_dir vdr-plugin-streamdev)"
VDR_PLUGIN_XMLTV2VDR="$(get_build_dir vdr-plugin-xmltv2vdr)"
VDR_PLUGIN_EPGFIXER_DIR="$(get_build_dir vdr-plugin-epgfixer)"
VDR_PLUGIN_RESTFULAPI_DIR="$(get_build_dir vdr-plugin-restfulapi)"
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config
touch $ADDON_BUILD/$PKG_ADDON_ID/config/channels.conf
cp $VDR_DIR/channels.conf $ADDON_BUILD/$PKG_ADDON_ID/config
cp $VDR_DIR/diseqc.conf $ADDON_BUILD/$PKG_ADDON_ID/config
cp $VDR_DIR/keymacros.conf $ADDON_BUILD/$PKG_ADDON_ID/config
cp $VDR_DIR/scr.conf $ADDON_BUILD/$PKG_ADDON_ID/config
cp $VDR_DIR/sources.conf $ADDON_BUILD/$PKG_ADDON_ID/config
cp $VDR_DIR/svdrphosts.conf $ADDON_BUILD/$PKG_ADDON_ID/config
echo '0.0.0.0/0' >> $ADDON_BUILD/$PKG_ADDON_ID/config/svdrphosts.conf
cp $PKG_DIR/config.plugins/remote.conf $ADDON_BUILD/$PKG_ADDON_ID/config
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/epgsearch
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/res/plugins/live
@@ -74,6 +69,7 @@ addon() {
cp $VDR_PLUGIN_XMLTV2VDR/dist/epgdata2xmltv/epgdata2xmltv.dist $ADDON_BUILD/$PKG_ADDON_ID/config/epgsources/epgdata2xmltv
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/plugin
cp -PR $VDR_PLUGIN_XVDR_DIR/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
cp -PR $VDR_PLUGIN_VNSISERVER_DIR/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
cp -PR $(get_build_dir vdr-iptv)/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
cp -PR $(get_build_dir vdr-wirbelscan)/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
@@ -83,15 +79,18 @@ addon() {
cp -PR $VDR_PLUGIN_STREAMVEV_DIR/server/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
cp -PR $VDR_PLUGIN_STREAMVEV_DIR/client/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
cp -PR $VDR_LIVE_DIR/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
cp -PR $(get_build_dir vdr-control)/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
cp -PR $(get_build_dir vdr-epgsearch)/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
cp -PR $VDR_PLUGIN_XMLTV2VDR/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
cp -PR $(get_build_dir vdr-dummydevice)/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
cp -PR $(get_build_dir vdr-satip)/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
cp -PR $VDR_PLUGIN_EPGFIXER_DIR/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
cp -PR $VDR_PLUGIN_RESTFULAPI_DIR/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/eepg
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/xvdr
cp -PR $VDR_PLUGIN_XVDR_DIR/xvdr/allowed_hosts.conf $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/xvdr
cp -PR $VDR_PLUGIN_XVDR_DIR/xvdr/xvdr.conf $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/xvdr
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/vnsiserver
cp -PR $VDR_PLUGIN_VNSISERVER_DIR/vnsiserver/allowed_hosts.conf $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/vnsiserver
@@ -100,15 +99,8 @@ addon() {
cp -P $VDR_PLUGIN_XMLTV2VDR/dist/epgdata2xmltv/epgdata2xmltv $ADDON_BUILD/$PKG_ADDON_ID/bin
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -PL $(get_build_dir tntnet)/.install_pkg/usr/lib/libtntnet.so.12 $ADDON_BUILD/$PKG_ADDON_ID/lib
cp -PL $(get_build_dir tntnet)/.install_pkg/usr/lib/libtntnet.so.11 $ADDON_BUILD/$PKG_ADDON_ID/lib
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/streamdev-server
cp -PR $VDR_PLUGIN_STREAMVEV_DIR/streamdev-server/streamdevhosts.conf $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/streamdev-server
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/epgfixer
cp -PR $VDR_PLUGIN_EPGFIXER_DIR/epgfixer/*.conf $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/epgfixer
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/res/plugins/restfulapi
cp -P $VDR_PLUGIN_RESTFULAPI_DIR/web/* $ADDON_BUILD/$PKG_ADDON_ID/res/plugins/restfulapi
cp -P $VDR_PLUGIN_RESTFULAPI_DIR/API.html $ADDON_BUILD/$PKG_ADDON_ID/res/plugins/restfulapi
}

View File

@@ -45,7 +45,9 @@ ADDON_PLUGIN_DIR="$ADDON_DIR/plugin"
chmod a+x $ADDON_DIR/bin/*
ADDON_CACHE_DIR="$ADDON_HOME/cache"
mkdir -p $ADDON_CACHE_DIR
if [ ! -f "$ADDON_CACHE_DIR" ]; then
mkdir -p $ADDON_CACHE_DIR
fi
VDR_ARG="-g /tmp --no-kbd"
if [ "$DEBUG" = "yes" ]; then
@@ -97,12 +99,12 @@ fi
if [ "$ENABLE_LIVE" == "true" ] ; then
VDR_ARG="$VDR_ARG -P 'live -i $LIVE_IP -p $LIVE_PORT'"
fi
if [ "$ENABLE_CONTROL" == "true" ] ; then
VDR_ARG="$VDR_ARG -P 'control -p $CONTROL_PORT'"
fi
if [ "$ENABLE_EEPG" == "true" ] ; then
VDR_ARG="$VDR_ARG -P eepg"
fi
if [ "$ENABLE_EPGFIXER" == "true" ] ; then
VDR_ARG="$VDR_ARG -P epgfixer"
fi
if [ "$ENABLE_EPGSEARCH" == "true" ] ; then
VDR_ARG="$VDR_ARG -P epgsearch"
fi
@@ -128,21 +130,8 @@ if [ "$ENABLE_XMLTV2VDR" == "true" ] ; then
cp $source /var/lib/epgsources
done
fi
if [ ! -d "$ADDON_HOME/epgimages" ]; then
mkdir -p "$ADDON_HOME/epgimages"
fi
if [ ! -z "$ADDON_HOME/channellogos" ]; then
mkdir -p "$ADDON_HOME/channellogos"
fi
RESTFULAPI_ARGS="--ip $RESTFULAPI_IP --port $RESTFULAPI_PORT"
RESTFULAPI_ARGS="$RESTFULAPI_ARGS --epgimages=\"$ADDON_HOME/epgimages\""
RESTFULAPI_ARGS="$RESTFULAPI_ARGS --channellogos=\"$ADDON_HOME/channellogos\""
VDR_ARG="$VDR_ARG -P 'restfulapi $RESTFULAPI_ARGS'"
# vnsi last
VDR_ARG="$VDR_ARG -P vnsiserver"
# vnsi/xvdr last
VDR_ARG="$VDR_ARG -P $PVR_PLUGIN"
cd $ADDON_DIR/config
mkdir -p $ADDON_CONFIG_DIR
@@ -159,7 +148,7 @@ for config in `find . -type f`; do
done
# start userspace DVB driver/addon
for driver_dvb in $(find /storage/.kodi/addons/driver.dvb.*/bin/userspace-driver.sh -type f 2>/dev/null); do
for driver_dvb in $(find /storage/.xbmc/addons/driver.dvb.*/bin/userspace-driver.sh -type f 2>/dev/null); do
driver_dvb_name=$(echo $driver_dvb | awk 'BEGIN {FS="/"} {printf("%s", $5)}')
logger -t VDR "### Loading userspace DVB driver: $driver_dvb_name ###"
# use ". " because of variable export

View File

@@ -4,7 +4,7 @@
<string id="1001">Plugins</string>
<string id="1002">VDR</string>
<string id="1020">DVB Configuration</string>
<string id="1021">Unload DVB modules before suspend</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">Enable charset override</string>
@@ -17,18 +17,17 @@
<string id="1038">Enable plugin: live</string>
<string id="1039">- listen on ip</string>
<string id="1040">- listen on port</string>
<string id="1042">Enable plugin: control</string>
<string id="1043">- listen on port</string>
<string id="1044">Enable plugin: epgsearch</string>
<string id="1045">Enable plugin: xmltv2vdr</string>
<string id="1046">Enable plugin: extended EPG</string>
<string id="1047">Enable plugin: dummydevice</string>
<string id="1048">Enable plugin: satip</string>
<string id="1049">Enable plugin: epgfixer</string>
<string id="1051">VDR Configuration</string>
<string id="1052">VDR Video Dir</string>
<string id="1053">PVR plugin</string>
<string id="1056">Enable external recdmd</string>
<string id="1057">External recdmd path</string>
<string id="1058">- number of devices</string>
<string id="1070">restfulapi plugin options</string>
<string id="1071">- listen on ip</string>
<string id="1072">- listen on port</string>
</strings>

View File

@@ -20,6 +20,7 @@
<category label="1001">
<setting label="1030" type="lsep"/>
<setting type="sep" />
<setting id="PVR_PLUGIN" type="labelenum" label="1053" values="xvdr|vnsiserver" default="vnsiserver" />
<setting id="ENABLE_IPTV" type="bool" label="1031" default="false" />
<setting id="IPTV_NUM_DEVICES" type="slider" option="int" range="1,4" label="1058" visible="!eq(-1,false)" default="1" />
<setting id="ENABLE_STREAMDEV_CLIENT" type="bool" label="1032" default="false" />
@@ -27,16 +28,14 @@
<setting id="ENABLE_LIVE" type="bool" label="1038" default="false" />
<setting id="LIVE_IP" type="ipaddress" label="1039" values="" visible="!eq(-1,false)" default="0.0.0.0"/>
<setting id="LIVE_PORT" type="number" label="1040" values="" visible="!eq(-2,false)" default="8008"/>
<setting id="ENABLE_CONTROL" type="bool" label="1042" default="false" />
<setting id="CONTROL_PORT" type="number" label="1043" values="" visible="!eq(-1,false)" default="2002"/>
<setting id="ENABLE_EEPG" type="bool" label="1046" default="false" />
<setting id="ENABLE_EPGSEARCH" type="bool" label="1044" default="false" />
<setting id="ENABLE_XMLTV2VDR" type="bool" label="1045" default="false" />
<setting id="ENABLE_DUMMYDEVICE" type="bool" label="1047" default="false" />
<setting id="ENABLE_SATIP" type="bool" label="1048" default="false" />
<setting id="ENABLE_EPGFIXER" type="bool" label="1049" default="false" />
<setting type="sep" />
<setting id="ENABLE_SOFTCAM" type="bool" label="1036" default="true" />
<setting type="lsep" label="1070" />
<setting id="RESTFULAPI_IP" type="ipaddress" label="1071" values="" default="127.0.0.1"/>
<setting id="RESTFULAPI_PORT" type="number" label="1072" values="" default="8002"/>
</category>
</settings>

View File

@@ -3,6 +3,7 @@
<setting id="NUM_ADAPTERS" value="1" />
<setting id="REMOVE_MODULES" value="" />
<setting id="VDR_VIDEO_DIR" value="/storage/videos" />
<setting id="PVR_PLUGIN" value="vnsiserver" />
<setting id="ENABLE_IPTV" value="false" />
<setting id="ENABLE_SOFTCAM" value="true" />
<setting id="ENABLE_STREAMDEV_CLIENT" value="false" />
@@ -10,8 +11,9 @@
<setting id="ENABLE_LIVE" value="false" />
<setting id="LIVE_IP" value="0.0.0.0" />
<setting id="LIVE_PORT" value="8008" />
<setting id="ENABLE_CONTROL" value="false" />
<setting id="CONTROL_PORT" value="2002" />
<setting id="ENABLE_EEPG" value="false" />
<setting id="ENABLE_EPGFIXER" value="false" />
<setting id="ENABLE_EPGSEARCH" value="false" />
<setting id="ENABLE_XMLTV2VDR" value="false" />
<setting id="ENABLE_DUMMYDEVICE" value="false" />
@@ -21,6 +23,4 @@
<setting id="ENABLE_CHARSET_OVERRIDE" value="false" />
<setting id="CHARSET_OVERRIDE_STR" value="" />
<setting id="IPTV_NUM_DEVICES" value="1" />
<setting id="RESTFULAPI_IP" value="127.0.0.1" />
<setting id="RESTFULAPI_PORT" value="8002" />
</settings>

View File

@@ -3,11 +3,11 @@ Description=vdr
After=graphical.target
[Service]
ExecStart=/bin/sh -c "exec sh /storage/.kodi/addons/service.multimedia.vdr-addon/bin/vdr.start"
ExecStart=/bin/sh -c "exec sh /storage/.xbmc/addons/service.multimedia.vdr-addon/bin/vdr.start"
TimeoutStopSec=2
Restart=always
RestartSec=2
StartLimitInterval=0
[Install]
WantedBy=kodi.target
WantedBy=xbmc.target

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="alsa-lib"
PKG_VERSION="1.0.29"
PKG_VERSION="1.0.28"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
@@ -58,6 +58,8 @@ post_configure_target() {
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
mkdir -p $INSTALL/etc/modprobe.d
cp -PR $PKG_DIR/config/alsa-base.conf $INSTALL/etc/modprobe.d
mkdir -p $INSTALL/usr/config
cp -PR $PKG_DIR/config/modprobe.d $INSTALL/usr/config
}

View File

@@ -1,23 +0,0 @@
From 982c628f484266c8db4f70dc1e856bc7844c1873 Mon Sep 17 00:00:00 2001
From: Patrick Rasmussen <patrickrasmussen1988@gmail.com>
Date: Fri, 13 Mar 2015 14:52:56 +0100
Subject: [PATCH] Add USB Sound Blaster HD
---
src/conf/cards/USB-Audio.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/conf/cards/USB-Audio.conf b/src/conf/cards/USB-Audio.conf
index 4cbf85e..2591d00 100644
--- a/src/conf/cards/USB-Audio.conf
+++ b/src/conf/cards/USB-Audio.conf
@@ -62,6 +62,7 @@ USB-Audio.pcm.iec958_device {
# Second iec958 device number, if any.
USB-Audio.pcm.iec958_2_device {
"PHIREE U2" 1 # 0 = PCM S/PDIF, 1 = non-PCM S/PDIF
+ "USB Sound Blaster HD" 1
}
--
2.1.4

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="alsa-utils"
PKG_VERSION="1.0.29"
PKG_VERSION="1.0.28"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@@ -126,10 +126,8 @@ else
# and this for various Fusion devices like Zotac ZBOX
mixer $card 'Front',0 100% on
# NVidia CK804 sound devices
mixer $card 'IEC958 Playback AC97-SPSA' 100%
fi
exit 0
)&

View File

@@ -22,7 +22,7 @@ PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://espeak.sourceforge.net/"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.zip"
PKG_URL="http://downloads.sourceforge.net/$PKG_NAME/$PKG_NAME-$PKG_VERSION.zip"
PKG_SOURCE_DIR="$PKG_NAME/$PKG_NAME-$PKG_VERSION"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"

View File

@@ -16,32 +16,28 @@
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="dcadec"
PKG_VERSION="37d8e68"
PKG_NAME="faad2"
PKG_VERSION="2.7"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/foo86/dcadec"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_SITE="http://www.audiocoding.com/"
PKG_URL="$SOURCEFORGE_SRC/faac/faad2-src/$PKG_NAME-$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="DTS Coherent Acoustics decoder with support for HD extensions"
PKG_LONGDESC="DTS Coherent Acoustics decoder with support for HD extensions"
PKG_SHORTDESC="faad: An MPEG-4 AAC decoder"
PKG_LONGDESC="The FAAD project includes the AAC decoder FAAD2. It supports several MPEG-4 object types (LC, Main, LTP, HE AAC, PS) and file formats (ADTS AAC, raw AAC, MP4), multichannel and gapless decoding as well as MP4 metadata tags. The codecs are compatible with standard-compliant audio applications using one or more of these profiles."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_AUTORECONF="yes"
# todo: we need to build as shared library, otherwise sond dont work
# in kodi with enabled dcadec support and we have 100% CPU usage
# (to test disable passtrough and use a DTS-HD sample)
PKG_MAKE_OPTS_TARGET="PREFIX=/usr BINDIR=/usr/bin LIBDIR=/usr/lib INCLUDEDIR=/usr/include PKG_CONFIG_PATH=/usr/lib/pkgconfig CONFIG_SHARED=1"
PKG_MAKEINSTALL_OPTS_TARGET="$PKG_MAKE_OPTS_TARGET"
# package specific configure options
PKG_CONFIGURE_OPTS_TARGET="--without-xmms \
--without-drm \
--without-mpeg4ip \
--with-gnu-ld"
pre_configure_target() {
export CFLAGS="$CFLAGS -fPIC -DPIC"
export LDFLAGS="$LDFLAGS -fPIC -DPIC"
}
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin

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