Compare commits

...

156 Commits
4.1.3 ... 4.1.5

Author SHA1 Message Date
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
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
273 changed files with 18465 additions and 6182 deletions

View File

@@ -12,6 +12,7 @@
library="default.py">
<provides>executable</provides>
</extension>
@EXTENSIONS@
<extension point="xbmc.addon.metadata">
<summary>@PKG_SHORTDESC@</summary>
<description>

View File

@@ -1,5 +1,5 @@
# VERSION: set full version, use "devel" for development version
OPENELEC_VERSION="4.1.3"
OPENELEC_VERSION="4.1.5"
# OS_VERSION: OS Version
OS_VERSION="4.2"

View File

@@ -41,7 +41,7 @@ PKG_MAINTAINER="unofficial.addon.pro"
make_target() {
$SED -e "s|@ADDON_VERSION@|$ADDON_VERSION|g" \
-e "s|@PROJECT@|$PROJECT|g" \
-e "s|@ARCH@|$ARCH|g" \
-e "s|@ARCH@|$TARGET_ARCH|g" \
-i addon.xml
}

View File

@@ -17,12 +17,12 @@
################################################################################
PKG_NAME="taglib"
PKG_VERSION="1.9.1"
PKG_VERSION="1.8"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://taglib.github.com/"
PKG_URL="https://github.com/taglib/taglib/releases/download/v$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_URL="http://taglib.github.io/releases/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain cmake:host zlib"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
@@ -39,5 +39,10 @@ configure_target() {
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
# pkgconf hack
$SED "s:\(['=\" ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/bin/taglib-config
$SED "s:\([':\" ]\)-I/usr:\\1-I$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/lib/pkgconfig/taglib.pc
$SED "s:\([':\" ]\)-L/usr:\\1-L$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/lib/pkgconfig/taglib.pc
$SED "s:\([':\" ]\)-I/usr:\\1-I$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/lib/pkgconfig/taglib_c.pc
$SED "s:\([':\" ]\)-L/usr:\\1-L$SYSROOT_PREFIX/usr:g" $SYSROOT_PREFIX/usr/lib/pkgconfig/taglib_c.pc
}

View File

@@ -33,4 +33,5 @@ PKG_LONGDESC="LZO is a data compression library which is suitable for data de-/c
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_HOST="--disable-shared --enable-static"
PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="sqlite"
PKG_VERSION="autoconf-3080500"
PKG_VERSION="autoconf-3080600"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="PublicDomain"

View File

@@ -0,0 +1,25 @@
From fc19cd1da6161ec5602e692488dfc8e670797afe Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
Date: Fri, 15 Aug 2014 22:10:03 +0300
Subject: [PATCH] meh help2man
---
Makefile.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 5a336df..2d2029b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -701,7 +701,7 @@ update_mans = \
$(AM_V_GEN): \
&& $(MKDIR_P) doc \
&& $(extend_PATH) \
- && $(PERL) $(srcdir)/doc/help2man --output=$@
+ && $(PERL) $(srcdir)/doc/help2man --output=$@ --no-discard-stderr
amhello_sources = \
doc/amhello/configure.ac \
--
1.7.2.5

View File

@@ -28,7 +28,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/binutils/binutils.html"
PKG_URL="http://ftp.gnu.org/gnu/binutils/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST="ccache:host bison:host flex:host linux:host gmp:host mpfr:host"
PKG_DEPENDS_HOST="ccache:host bison:host flex:host linux:host"
PKG_PRIORITY="optional"
PKG_SECTION="toolchain/devel"
PKG_SHORTDESC="binutils: A GNU collection of binary utilities"
@@ -40,8 +40,6 @@ PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_HOST="--target=$TARGET_NAME \
--with-sysroot=$SYSROOT_PREFIX \
--with-lib-path=$SYSROOT_PREFIX/lib:$SYSROOT_PREFIX/usr/lib \
--with-gmp=$ROOT/$TOOLCHAIN \
--with-mpfr=$ROOT/$TOOLCHAIN \
--without-ppl \
--without-cloog \
--disable-werror \
@@ -55,10 +53,6 @@ PKG_CONFIGURE_OPTS_HOST="--target=$TARGET_NAME \
--enable-lto \
--disable-nls"
if [ "$TARGET_ARCH" = "x86_64" ]; then
PKG_CONFIGURE_OPTS_HOST="$PKG_CONFIGURE_OPTS_HOST --enable-64-bit-bfd"
fi
pre_configure_host() {
unset CPPFLAGS
unset CFLAGS

View File

@@ -1,25 +0,0 @@
diff -Naur binutils-2.22/configure binutils-2.22.patch/configure
--- binutils-2.22/configure 2011-08-14 14:28:15.000000000 +0200
+++ binutils-2.22.patch/configure 2012-05-08 05:57:26.093455382 +0200
@@ -5946,8 +5946,7 @@
main ()
{
#if CLOOG_VERSION_MAJOR != 0 \
- || CLOOG_VERSION_MINOR != 16 \
- || CLOOG_VERSION_REVISION < 1
+ || CLOOG_VERSION_MINOR != 18
choke me
#endif
;
diff -Naur binutils-2.22/configure.ac binutils-2.22.patch/configure.ac
--- binutils-2.22/configure.ac 2011-11-21 12:58:27.000000000 +0100
+++ binutils-2.22.patch/configure.ac 2012-05-08 05:54:27.974921129 +0200
@@ -1589,7 +1589,7 @@
dnl
dnl If we use CLooG-Legacy, the provided version information is
dnl ignored.
- CLOOG_CHECK_VERSION(0,16,1)
+ CLOOG_CHECK_VERSION(0,18,0)
dnl Only execute fail-action, if CLooG has been requested.
CLOOG_IF_FAILED([

View File

@@ -17,12 +17,12 @@
################################################################################
PKG_NAME="boost"
PKG_VERSION="1_55_0"
PKG_VERSION="1_56_0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.boost.org/"
PKG_URL="$SOURCEFORGE_SRC/boost/boost/1.55.0/${PKG_NAME}_${PKG_VERSION}.tar.bz2"
PKG_URL="$SOURCEFORGE_SRC/boost/boost/1.56.0/${PKG_NAME}_${PKG_VERSION}.tar.bz2"
PKG_SOURCE_DIR="${PKG_NAME}_${PKG_VERSION}"
PKG_DEPENDS_HOST=""
PKG_DEPENDS_TARGET="toolchain boost:host Python:host zlib bzip2"
@@ -35,7 +35,7 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
make_host() {
cd tools/build/v2/engine
cd tools/build/src/engine
sh build.sh
}
@@ -59,7 +59,7 @@ configure_target() {
--with-python=$ROOT/$TOOLCHAIN/bin/python \
echo "using gcc : `$TARGET_CC -v 2>&1 | tail -n 1 |awk '{print $3}'` : $TARGET_CC : <compileflags>\"$CFLAGS\" <linkflags>\"$LDFLAGS\" ;" \
> tools/build/v2/user-config.jam
> tools/build/src/user-config.jam
}
make_target() {
@@ -69,6 +69,7 @@ make_target() {
makeinstall_target() {
$ROOT/$TOOLCHAIN/bin/bjam -d2 --toolset=gcc link=static \
--prefix=$SYSROOT_PREFIX/usr \
--ignore-site-config \
--layout=system \
--with-thread \
--with-iostreams \

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="cmake"
PKG_VERSION="3.0.0"
PKG_VERSION="3.0.1"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="BSD"

View File

@@ -23,8 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://freedesktop.org/wiki/Software/dbus"
PKG_URL="http://dbus.freedesktop.org/releases/dbus-glib/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST="glib:host dbus:host"
PKG_DEPENDS_TARGET="toolchain dbus glib expat dbus-glib:host"
PKG_DEPENDS_TARGET="toolchain dbus glib expat"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
PKG_SHORTDESC="dbus-glib: A message bus system"
@@ -40,13 +39,7 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_have_abstract_sockets=yes \
--disable-shared \
--disable-tests \
--disable-bash-completion \
--enable-asserts=no \
--with-introspect-xml=$PKG_BUILD/.$HOST_NAME/introspect.xml \
--with-dbus-binding-tool=$ROOT/$TOOLCHAIN/bin/dbus-binding-tool"
PKG_CONFIGURE_OPTS_HOST="--disable-tests \
--disable-bash-completion \
--enable-asserts=yes"
--enable-asserts=no"
pre_configure_target() {
CFLAGS="$CFLAGS -fPIC -DPIC"

View File

@@ -0,0 +1,38 @@
From a45f914870e923741f3123799bd9e126b5da4aa0 Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
Date: Wed, 20 Aug 2014 22:43:28 +0300
Subject: [PATCH] dont build tools / examples
---
Makefile.am | 4 ++--
dbus/Makefile.am | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index dd76c7e..78cb56f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,8 @@
ACLOCAL_AMFLAGS = -I m4
GLIB_PC=dbus-glib-1.pc
-SUBDIRS=dbus tools test doc
-DIST_SUBDIRS=dbus tools test doc m4
+SUBDIRS=dbus test doc
+DIST_SUBDIRS=dbus test doc m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(GLIB_PC)
diff --git a/dbus/Makefile.am b/dbus/Makefile.am
index 6d885f9..8bc102d 100644
--- a/dbus/Makefile.am
+++ b/dbus/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = . examples
+SUBDIRS = .
INCLUDES = \
-I$(top_srcdir) \
--
1.7.2.5

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="elfutils"
PKG_VERSION="0.158"
PKG_VERSION="0.159"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
@@ -35,6 +35,7 @@ PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="utrace_cv_cc_biarch=false \
--disable-werror \
--disable-progs \
--disable-nls \
--with-zlib \
--without-bzlib \
--without-lzma"

View File

@@ -1,28 +0,0 @@
commit 7f1eec317db79627b473c5b149a22a1b20d1f68f
Author: Mark Wielaard <mjw@redhat.com>
Date: Wed Apr 9 11:33:23 2014 +0200
CVE-2014-0172 Check for overflow before calling malloc to uncompress data.
https://bugzilla.redhat.com/show_bug.cgi?id=1085663
Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
diff --git a/libdw/dwarf_begin_elf.c b/libdw/dwarf_begin_elf.c
index 79daeac..34ea373 100644
--- a/libdw/dwarf_begin_elf.c
+++ b/libdw/dwarf_begin_elf.c
@@ -282,6 +282,12 @@ check_section (Dwarf *result, GElf_Ehdr *ehdr, Elf_Scn *scn, bool inscngrp)
memcpy (&size, data->d_buf + 4, sizeof size);
size = be64toh (size);
+ /* Check for unsigned overflow so malloc always allocated
+ enough memory for both the Elf_Data header and the
+ uncompressed section data. */
+ if (unlikely (sizeof (Elf_Data) + size < size))
+ break;
+
Elf_Data *zdata = malloc (sizeof (Elf_Data) + size);
if (unlikely (zdata == NULL))
break;

View File

@@ -1,62 +0,0 @@
commit 65cefbd0793c0f9e90a326d7bebf0a47c93294ad
Author: Josh Stone <jistone@redhat.com>
Date: Tue Mar 11 10:19:28 2014 -0700
libdwfl: dwfl_module_getdwarf.c (open_elf) only (re)set mod->e_type once.
As noted in https://sourceware.org/bugzilla/show_bug.cgi?id=16676#c2 for
systemtap, the heuristic used by open_elf to set the kernel Dwfl_Module
type to ET_DYN, even if the underlying ELF file e_type was set to
ET_EXEC, could trigger erroneously for non-kernel/non-main (debug or
aux) files. Make sure we only set the e_type of the module once when
processing the main file (when the phdrs can be trusted).
diff --git a/libdwfl/dwfl_module_getdwarf.c b/libdwfl/dwfl_module_getdwarf.c
index c4bd739..f8de80b 100644
--- a/libdwfl/dwfl_module_getdwarf.c
+++ b/libdwfl/dwfl_module_getdwarf.c
@@ -1,5 +1,5 @@
/* Find debugging and symbol information for a module in libdwfl.
- Copyright (C) 2005-2012 Red Hat, Inc.
+ Copyright (C) 2005-2012, 2014 Red Hat, Inc.
This file is part of elfutils.
This file is free software; you can redistribute it and/or modify
@@ -77,7 +77,7 @@ open_elf (Dwfl_Module *mod, struct dwfl_file *file)
return DWFL_E (LIBELF, elf_errno ());
}
- if (mod->e_type != ET_REL)
+ if (ehdr->e_type != ET_REL)
{
/* In any non-ET_REL file, we compute the "synchronization address".
@@ -131,11 +131,24 @@ open_elf (Dwfl_Module *mod, struct dwfl_file *file)
}
}
- mod->e_type = ehdr->e_type;
+ /* We only want to set the module e_type explictly once, derived from
+ the main ELF file. (It might be changed for the kernel, because
+ that is special - see below.) open_elf is always called first for
+ the main ELF file, because both find_dw and find_symtab call
+ __libdwfl_getelf first to open the main file. So don't let debug
+ or aux files override the module e_type. The kernel heuristic
+ below could otherwise trigger for non-kernel/non-main files, since
+ their phdrs might not match the actual load addresses. */
+ if (file == &mod->main)
+ {
+ mod->e_type = ehdr->e_type;
- /* Relocatable Linux kernels are ET_EXEC but act like ET_DYN. */
- if (mod->e_type == ET_EXEC && file->vaddr != mod->low_addr)
- mod->e_type = ET_DYN;
+ /* Relocatable Linux kernels are ET_EXEC but act like ET_DYN. */
+ if (mod->e_type == ET_EXEC && file->vaddr != mod->low_addr)
+ mod->e_type = ET_DYN;
+ }
+ else
+ assert (mod->main.elf != NULL);
return DWFL_E_NOERROR;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -32,7 +32,7 @@ PKG_LONGDESC="flex is a tool for generating programs that perform pattern-matchi
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_HOST="--disable-rpath --with-gnu-ld"
PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared --disable-rpath --with-gnu-ld"
post_makeinstall_host() {
cat > $ROOT/$TOOLCHAIN/bin/lex << "EOF"

View File

@@ -38,6 +38,8 @@ PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared \
--disable-rpath \
--with-gnu-ld \
--disable-java \
--disable-curses \
--with-included-libxml \
--disable-native-java \
--disable-csharp \
--without-emacs"

View File

@@ -23,8 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.gtk.org/"
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/glib/2.40/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_HOST="ccache:host libffi:host libxml2:host zlib:host Python:host"
PKG_DEPENDS_TARGET="toolchain zlib libffi pcre glib:host Python:host"
PKG_DEPENDS_TARGET="toolchain zlib libffi pcre Python:host"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
PKG_SHORTDESC="glib: C support library"
@@ -33,15 +32,6 @@ PKG_LONGDESC="GLib is a library which includes support routines for C such as li
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_HOST="--with-gnu-ld \
--with-libiconv=no \
--enable-debug=no \
--disable-man \
--disable-dtrace \
--disable-systemtap \
--disable-rebuilds \
--disable-gtk-doc"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_mmap_fixed_mapped=yes \
ac_cv_func_posix_getpwuid_r=yes \
ac_cv_func_posix_getgrgid_r=yes \
@@ -64,25 +54,6 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_mmap_fixed_mapped=yes \
--with-threads=posix \
--with-pcre=system"
pre_build_host() {
# hack: we need pkg.m4 for autoreconf, but pkgconfig depends on glib so install
# pkg.m4 first
$SCRIPTS/unpack pkg-config
cp $BUILD/pkg-config-*/pkg.m4 $TOOLCHAIN/share/aclocal
}
pre_configure_host() {
export ZLIB_CFLAGS=""
export ZLIB_LIBS=""
export LIBFFI_CFLAGS="-I$ROOT/$TOOLCHAIN/include/libffi"
export LIBFFI_LIBS="-L$ROOT/$TOOLCHAIN/lib -lffi"
}
post_makeinstall_host() {
cp -f gobject/.libs/glib-genmarshal $ROOT/$TOOLCHAIN/bin
cp -f gobject/glib-mkenums $ROOT/$TOOLCHAIN/bin
}
post_makeinstall_target() {
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
cp g*-2.0.pc $SYSROOT_PREFIX/usr/lib/pkgconfig

View File

@@ -0,0 +1,54 @@
From 68cbd635036fe04cd07bbb1a4829eebab2d7dc03 Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
Date: Wed, 20 Aug 2014 22:46:35 +0300
Subject: [PATCH] dont build tests
---
Makefile.am | 2 +-
configure.ac | 17 -----------------
2 files changed, 1 insertions(+), 18 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 40e5cd5..db7bfc8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,7 @@ include $(top_srcdir)/glib.mk
ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS}
-SUBDIRS = . m4macros glib gmodule gthread gobject gio po docs tests
+SUBDIRS = . m4macros glib gmodule gthread gobject gio po docs
DIST_SUBDIRS = $(SUBDIRS) build
bin_SCRIPTS = glib-gettextize
diff --git a/configure.ac b/configure.ac
index a01e58d..f310615 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2559,23 +2559,6 @@ dnl ******************************************************************
AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
-AS_IF([ test $cross_compiling = yes ], [
- AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal, no)
- if test x$GLIB_GENMARSHAL = xno; then
- AC_MSG_ERROR(Could not find a glib-genmarshal in your PATH)
- fi
-
- AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas, no)
- if test x$GLIB_COMPILE_SCHEMAS = xno; then
- AC_MSG_ERROR(Could not find a glib-compile-schemas in your PATH)
- fi
-
- AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources, no)
- if test x$GLIB_COMPILE_RESOURCES = xno; then
- AC_MSG_ERROR(Could not find a glib-compile-resources in your PATH)
- fi
-])
-
dnl **************************
dnl *** Checks for gtk-doc ***
dnl **************************
--
1.7.2.5

View File

@@ -33,7 +33,7 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_HOST="--enable-cxx"
PKG_CONFIGURE_OPTS_HOST="--enable-cxx --enable-static --disable-shared"
pre_configure_host() {
export CFLAGS="$CFLAGS -fPIC -DPIC"

View File

@@ -1,21 +0,0 @@
# HG changeset patch
# User Torbjorn Granlund <tege@gmplib.org>
# Date 1396035313 -3600
# Node ID c56ea318eb6435bdd28dbfef657b2fe372134f1f
# Parent c6fe20ab62acc266ff5ad3629bef447bc43dcd1b
Conditionalise ARM asm on !__thumb__.
diff -r c6fe20ab62ac -r c56ea318eb64 mpn/generic/mod_1_1.c
--- a/mpn/generic/mod_1_1.c Wed Mar 26 12:58:33 2014 +0100
+++ b/mpn/generic/mod_1_1.c Fri Mar 28 20:35:13 2014 +0100
@@ -129,7 +129,7 @@
"%2" ((UDItype)(a0)), "r" ((UDItype)(b0)) __CLOBBER_CC)
#endif
-#if defined (__arm__) && W_TYPE_SIZE == 32
+#if defined (__arm__) && !defined (__thumb__) && W_TYPE_SIZE == 32
#define add_mssaaaa(m, sh, sl, ah, al, bh, bl) \
__asm__ ( "adds %2, %5, %6\n\t" \
"adcs %1, %3, %4\n\t" \

View File

@@ -1,21 +0,0 @@
# HG changeset patch
# User Torbjorn Granlund <tege@gmplib.org>
# Date 1396602422 -7200
# Node ID 676e2d0f0e4dd301a7066079d2c9326c25c34a40
# Parent 0194a75b56b21a9196626430af86c5bd9110c42d
Conditionalise ARM asm on !__thumb__.
diff -r 0194a75b56b2 -r 676e2d0f0e4d mpn/generic/div_qr_1n_pi1.c
--- a/mpn/generic/div_qr_1n_pi1.c Thu Apr 03 23:58:51 2014 +0200
+++ b/mpn/generic/div_qr_1n_pi1.c Fri Apr 04 11:07:02 2014 +0200
@@ -130,7 +130,7 @@
"%2" ((UDItype)(a0)), "r" ((UDItype)(b0)) __CLOBBER_CC)
#endif
-#if defined (__arm__) && W_TYPE_SIZE == 32
+#if defined (__arm__) && !defined (__thumb__) && W_TYPE_SIZE == 32
#define add_mssaaaa(m, sh, sl, ah, al, bh, bl) \
__asm__ ( "adds %2, %5, %6\n\t" \
"adcs %1, %3, %4\n\t" \

View File

@@ -23,7 +23,6 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://sourceware.org/$PKG_NAME/"
PKG_URL="ftp://sourceware.org/pub/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST="ccache:host autoconf:host automake:host libtool:host intltool:host autoconf-archive:host"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
@@ -33,14 +32,10 @@ PKG_LONGDESC="The libffi library provides a portable, high level programming int
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_HOST="--disable-debug \
--enable-structs \
--enable-raw-api \
--disable-purify-safety \
--with-gnu-ld"
PKG_CONFIGURE_OPTS_TARGET="--disable-debug \
--enable-structs \
--enable-raw-api \
--disable-purify-safety \
--with-gnu-ld"
--enable-static --disable-shared \
--with-pic \
--enable-structs \
--enable-raw-api \
--disable-purify-safety \
--with-gnu-ld"

View File

@@ -0,0 +1,23 @@
From a2d10693e352db0cdfc22550f23f8294564ce939 Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
Date: Sat, 16 Aug 2014 12:26:53 +0300
Subject: [PATCH] fix pkgconf
---
libffi.pc.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libffi.pc.in b/libffi.pc.in
index 1477a66..1dd4ebd 100644
--- a/libffi.pc.in
+++ b/libffi.pc.in
@@ -7,5 +7,5 @@ includedir=@includedir@/@PACKAGE_NAME@
Name: @PACKAGE_NAME@
Description: Library supporting Foreign Function Interfaces
Version: @PACKAGE_VERSION@
-Libs: -L${toolexeclibdir} -lffi
+Libs: -L${libdir} -lffi
Cflags: -I${includedir}
--
1.7.2.5

View File

@@ -33,4 +33,4 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_TARGET="--enable-ltdl-install"
PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared"

View File

@@ -33,7 +33,6 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_HOST="--target=$TARGET_NAME \
--enable-shared \
--disable-static \
--enable-static --disable-shared \
--with-gmp=$ROOT/$TOOLCHAIN \
--with-mpfr=$ROOT/$TOOLCHAIN"

View File

@@ -30,17 +30,10 @@ PKG_SHORTDESC="mpfr: A C library for multiple-precision floating-point computati
PKG_LONGDESC="The MPFR library is a C library for multiple-precision floating-point computations with exact rounding (also called correct rounding). It is based on the GMP multiple-precision library. The main goal of MPFR is to provide a library for multiple-precision floating-point computation which is both efficient and has well-defined semantics. It copies the good ideas from the ANSI/IEEE-754 standard for double-precision floating-point arithmetic (53-bit mantissa)."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_HOST="--target=$TARGET_NAME \
--enable-static --disable-shared \
--prefix=$ROOT/$TOOLCHAIN \
--enable-shared \
--with-gmp-lib=$ROOT/$TOOLCHAIN/lib \
--with-gmp-include=$ROOT/$TOOLCHAIN/include"
pre_build_host() {
( cd $PKG_BUILD
libtoolize
autoreconf -vif
)
}

View File

@@ -23,8 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="MIT"
PKG_SITE="http://www.gnu.org/software/ncurses/"
PKG_URL="http://ftp.gnu.org/pub/gnu/ncurses/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST=""
PKG_DEPENDS_TARGET="toolchain ncurses:host"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
PKG_SHORTDESC="ncurses: The ncurses (new curses) library"
@@ -33,7 +32,6 @@ PKG_LONGDESC="The ncurses (new curses) library is a free software emulation of c
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_HOST="--with-shared"
PKG_CONFIGURE_OPTS_TARGET="--without-cxx \
--without-cxx-binding \
--without-ada \
@@ -48,7 +46,8 @@ PKG_CONFIGURE_OPTS_TARGET="--without-cxx \
--without-gpm \
--disable-rpath \
--disable-overwrite \
--enable-database \
--disable-database \
--with-fallbacks=linux,screen,xterm,xterm-color \
--disable-big-core \
--enable-termcap \
--enable-getcap \
@@ -77,17 +76,6 @@ pre_configure_target() {
strip_linker_plugin
}
make_host() {
make -C include
make -C progs tic
}
makeinstall_host() {
cp progs/tic $ROOT/$TOOLCHAIN/bin
cp lib/*.so* $ROOT/$TOOLCHAIN/lib
make -C include install
}
make_target() {
make -C include
make -C ncurses
@@ -103,19 +91,3 @@ makeinstall_target() {
make DESTDIR=$INSTALL -C ncurses install
}
post_makeinstall_target() {
mkdir -p $INSTALL/usr/share/terminfo/l
TERMINFO=$INSTALL/usr/share/terminfo $ROOT/$TOOLCHAIN/bin/tic -xe linux \
$ROOT/$PKG_BUILD/misc/terminfo.src
mkdir -p $INSTALL/usr/share/terminfo/s
TERMINFO=$INSTALL/usr/share/terminfo $ROOT/$TOOLCHAIN/bin/tic -xe screen \
$ROOT/$PKG_BUILD/misc/terminfo.src
mkdir -p $INSTALL/usr/share/terminfo/x
TERMINFO=$INSTALL/usr/share/terminfo $ROOT/$TOOLCHAIN/bin/tic -xe xterm \
$ROOT/$PKG_BUILD/misc/terminfo.src
TERMINFO=$INSTALL/usr/share/terminfo $ROOT/$TOOLCHAIN/bin/tic -xe xterm-color \
$ROOT/$PKG_BUILD/misc/terminfo.src
}

View File

@@ -17,13 +17,14 @@
################################################################################
PKG_NAME="Mesa"
PKG_VERSION="10.2.5"
PKG_VERSION="10.3.0-rc1"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.mesa3d.org/"
PKG_URL="ftp://freedesktop.org/pub/mesa/$PKG_VERSION/MesaLib-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain Python:host libxml2:host expat glproto dri2proto presentproto libdrm libXext libXdamage libXfixes libXxf86vm libxcb libX11 systemd dri3proto libxshmfence"
PKG_URL="ftp://freedesktop.org/pub/mesa/10.3/MesaLib-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain Python:host expat glproto dri2proto presentproto libdrm libXext libXdamage libXfixes libXxf86vm libxcb libX11 systemd dri3proto libxshmfence"
PKG_PRIORITY="optional"
PKG_SECTION="graphics"
PKG_SHORTDESC="mesa: 3-D graphics library with OpenGL API"
@@ -92,7 +93,7 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
--with-osmesa-lib-name=OSMesa \
--with-gallium-drivers=$GALLIUM_DRIVERS \
--with-dri-drivers=$DRI_DRIVERS \
--with-expat=$SYSROOT_PREFIX/usr"
--with-sysroot=$SYSROOT_PREFIX"
pre_configure_target() {

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="bcm2835-driver"
PKG_VERSION="a6fe297"
PKG_VERSION="fb3e439"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="nonfree"

View File

@@ -0,0 +1,26 @@
From ba254faae130080d5045d8fd97dc1f232b391d2f Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
Date: Sat, 16 Aug 2014 17:03:32 +0300
Subject: [PATCH] fix pkgconf
---
glew.pc.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/glew.pc.in b/glew.pc.in
index 4c934af..35ef2ac 100644
--- a/glew.pc.in
+++ b/glew.pc.in
@@ -1,7 +1,7 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
+includedir=${prefix}/include
+libdir=${exec_prefix}/lib
Name: glew
Description: The OpenGL Extension Wrangler library
--
1.7.2.5

View File

@@ -37,7 +37,10 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_lib_z_zlibVersion=yes \
--enable-static \
--disable-shared"
PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared"
pre_configure_host() {
export CFLAGS="$CFLAGS -fPIC -DPIC"
export CPPFLAGS="$CPPFLAGS -I$ROOT/$TOOLCHAIN/include"
}

View File

@@ -23,7 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.python.org/"
PKG_URL="http://www.python.org/ftp/python/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_HOST="zlib:host expat:host"
PKG_DEPENDS_HOST="zlib:host"
PKG_DEPENDS_TARGET="toolchain Python:host sqlite expat zlib bzip2 openssl libffi file"
PKG_PRIORITY="optional"
PKG_SECTION="lang"
@@ -38,8 +38,7 @@ PY_DISABLED_MODULES="readline _curses _curses_panel _tkinter nis gdbm bsddb"
PKG_CONFIGURE_OPTS_HOST="--cache-file=config.cache \
--without-cxx-main \
--with-threads \
--enable-unicode=ucs4 \
--with-system-expat"
--enable-unicode=ucs4"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_file_dev_ptc=no \
ac_cv_file_dev_ptmx=yes \
@@ -65,7 +64,6 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_file_dev_ptc=no \
pre_configure_host() {
export OPT="$HOST_CFLAGS"
export LDFLAGS="$LDFLAGS -lexpat"
}
make_host() {

View File

@@ -88,11 +88,13 @@ PKG_CONFIGURE_OPTS_HOST="--target=$TARGET_NAME \
--disable-libssp \
--disable-multilib \
--disable-libatomic \
--disable-libitm \
--enable-gold \
--enable-ld=default \
--enable-plugin \
--enable-lto \
--disable-libquadmath \
--disable-libgomp \
--enable-tls \
--enable-shared \
--disable-static \
@@ -121,8 +123,6 @@ post_make_host() {
if [ ! "$DEBUG" = yes ]; then
$TARGET_STRIP $TARGET_NAME/libgcc/libgcc_s.so*
$TARGET_STRIP $TARGET_NAME/libgomp/.libs/libgomp.so*
$TARGET_STRIP $TARGET_NAME/libitm/.libs/libitm.so*
$TARGET_STRIP $TARGET_NAME/libstdc++-v3/src/.libs/libstdc++.so*
fi
}
@@ -171,7 +171,6 @@ make_target() {
makeinstall_target() {
mkdir -p $INSTALL/usr/lib
cp -P $ROOT/$PKG_BUILD/.$HOST_NAME/$TARGET_NAME/libgcc/libgcc_s.so* $INSTALL/usr/lib
cp -P $ROOT/$PKG_BUILD/.$HOST_NAME/$TARGET_NAME/libgomp/.libs/libgomp.so* $INSTALL/usr/lib
cp -P $ROOT/$PKG_BUILD/.$HOST_NAME/$TARGET_NAME/libstdc++-v3/src/.libs/libstdc++.so* $INSTALL/usr/lib
}

View File

@@ -16,27 +16,24 @@
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="speedcontrol"
PKG_VERSION="1"
PKG_NAME="nasm"
PKG_VERSION="2.11.02"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://noto.de"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain"
PKG_SITE="http://nasm.sourceforge.net/"
PKG_URL="http://www.nasm.us/pub/nasm/releasebuilds/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_HOST=""
PKG_PRIORITY="optional"
PKG_SECTION="system"
PKG_SHORTDESC="speedcontrol: a tool to setup cdrom drive speed"
PKG_LONGDESC="speedcontrol is a tool to setup cdrom drive speed"
PKG_SECTION="lang"
PKG_SHORTDESC="nasm: A 80x86 assembler which can create a wide rande of object formats"
PKG_LONGDESC="The Netwide Assembler, NASM, is an 80x86 assembler designed for portability and modularity. It supports a range of object file formats, including Linux, Microsoft 16-bit OBJ and Win32. It will also output plain binary files. Its syntax is designed to be sim- ple and easy to understand, similar to Intel's but less complex. It supports Pentium, P6 and MMX opcodes, and has macro capability. It includes a disassembler as well."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
make_target() {
$CC $CFLAGS $LDFLAGS -o $PKG_NAME $PKG_NAME.c
}
makeinstall_target() {
mkdir -p $INSTALL/usr/bin
cp $PKG_NAME $INSTALL/usr/bin
pre_configure_host() {
# nasm fails to build in subdirs
cd $ROOT/$PKG_BUILD
rm -rf .$HOST_NAME
}

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="tbs-linux-drivers"
PKG_VERSION="140707"
PKG_VERSION="140819"
PKG_REV="1"
PKG_ARCH="i386 x86_64"
PKG_LICENSE="GPL"

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="linux"
PKG_VERSION="3.16"
PKG_VERSION="3.16.1"
PKG_URL="http://www.kernel.org/pub/linux/kernel/v3.x/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_REV="1"
PKG_ARCH="any"

View File

@@ -0,0 +1,469 @@
diff -Naur linux-3.15.6.orig/drivers/input/joystick/xpad.c linux-3.15.6/drivers/input/joystick/xpad.c
--- linux-3.15.6.orig/drivers/input/joystick/xpad.c 2014-08-01 20:37:09.039708016 -0700
+++ linux-3.15.6/drivers/input/joystick/xpad.c 2014-08-01 19:44:20.521111000 -0700
@@ -281,17 +281,21 @@
struct urb *irq_out; /* urb for interrupt out report */
unsigned char *odata; /* output data */
dma_addr_t odata_dma;
- struct mutex odata_mutex;
+ spinlock_t odata_lock;
#endif
#if defined(CONFIG_JOYSTICK_XPAD_LEDS)
struct xpad_led *led;
#endif
+
+ int joydev_id;
char phys[64]; /* physical device path */
int mapping; /* map d-pad to buttons or to axes */
int xtype; /* type of xbox device */
+
+ const char *name;
};
/*
@@ -435,6 +439,109 @@
input_sync(dev);
}
+static void xpad_send_led_command(struct usb_xpad *xpad, int command);
+static int xpad_open(struct input_dev *dev);
+static void xpad_close(struct input_dev *dev);
+static void xpad_set_up_abs(struct input_dev *input_dev, signed short abs);
+static int xpad_init_ff(struct usb_xpad *xpad);
+static int xpad_find_joydev(struct device *dev, void *data)
+{
+ if (strstr(dev_name(dev), "js"))
+ return 1;
+
+ return 0;
+}
+
+static struct workqueue_struct *my_wq;
+
+typedef struct {
+ struct work_struct my_work;
+ struct usb_xpad *xpad;
+} my_work_t;
+
+static void my_wq_function( struct work_struct *work)
+{
+ my_work_t *my_work = (my_work_t *)work;
+
+ struct usb_xpad *xpad = my_work->xpad;
+
+ if (xpad->pad_present) {
+
+ struct input_dev *input_dev;
+ int i;
+
+ input_dev = input_allocate_device();
+
+ xpad->dev = input_dev;
+ input_dev->name = xpad->name;
+ input_dev->phys = xpad->phys;
+ usb_to_input_id(xpad->udev, &input_dev->id);
+ input_dev->dev.parent = &xpad->intf->dev;
+
+ input_set_drvdata(input_dev, xpad);
+
+ input_dev->open = xpad_open;
+ input_dev->close = xpad_close;
+
+ input_dev->evbit[0] = BIT_MASK(EV_KEY);
+
+ if (!(xpad->mapping & MAP_STICKS_TO_NULL)) {
+ input_dev->evbit[0] |= BIT_MASK(EV_ABS);
+ /* set up axes */
+ for (i = 0; xpad_abs[i] >= 0; i++)
+ xpad_set_up_abs(input_dev, xpad_abs[i]);
+ }
+
+ /* set up standard buttons */
+ for (i = 0; xpad_common_btn[i] >= 0; i++)
+ __set_bit(xpad_common_btn[i], input_dev->keybit);
+
+ /* set up model-specific ones */
+ if (xpad->xtype == XTYPE_XBOX360 || xpad->xtype == XTYPE_XBOX360W) {
+ for (i = 0; xpad360_btn[i] >= 0; i++)
+ __set_bit(xpad360_btn[i], input_dev->keybit);
+ } else {
+ for (i = 0; xpad_btn[i] >= 0; i++)
+ __set_bit(xpad_btn[i], input_dev->keybit);
+ }
+
+ if (xpad->mapping & MAP_DPAD_TO_BUTTONS) {
+ for (i = 0; xpad_btn_pad[i] >= 0; i++)
+ __set_bit(xpad_btn_pad[i], input_dev->keybit);
+ } else {
+ for (i = 0; xpad_abs_pad[i] >= 0; i++)
+ xpad_set_up_abs(input_dev, xpad_abs_pad[i]);
+ }
+
+ if (xpad->mapping & MAP_TRIGGERS_TO_BUTTONS) {
+ for (i = 0; xpad_btn_triggers[i] >= 0; i++)
+ __set_bit(xpad_btn_triggers[i], input_dev->keybit);
+ } else {
+ for (i = 0; xpad_abs_triggers[i] >= 0; i++)
+ xpad_set_up_abs(input_dev, xpad_abs_triggers[i]);
+ }
+
+ input_register_device(xpad->dev);
+
+ {
+ struct device* joydev_dev = device_find_child(&xpad->dev->dev, NULL, xpad_find_joydev);
+
+ if (joydev_dev) {
+// printk("found joydev child with minor %i\n", MINOR(joydev_dev->devt));
+ xpad->joydev_id = MINOR(joydev_dev->devt);
+ xpad_send_led_command(xpad, (xpad->joydev_id % 4) + 2);
+ }
+ }
+
+ xpad_init_ff(xpad);
+ } else {
+ input_unregister_device(xpad->dev);
+ }
+
+ kfree( (void *)work );
+
+ return;
+}
/*
* xpad360w_process_packet
@@ -456,11 +563,35 @@
/* Presence change */
if (data[0] & 0x08) {
if (data[1] & 0x80) {
- xpad->pad_present = 1;
- usb_submit_urb(xpad->bulk_out, GFP_ATOMIC);
- } else
- xpad->pad_present = 0;
+
+ if (!xpad->pad_present)
+ {
+ my_work_t * work;
+ xpad->pad_present = 1;
+ usb_submit_urb(xpad->bulk_out, GFP_ATOMIC);
+
+ work = (my_work_t *)kmalloc(sizeof(my_work_t), GFP_KERNEL);
+ INIT_WORK( (struct work_struct *)work, my_wq_function );
+ work->xpad = xpad;
+ queue_work( my_wq, (struct work_struct *)work );
+ }
+
+ } else {
+ if (xpad->pad_present)
+ {
+ my_work_t * work;
+ xpad->pad_present = 0;
+
+ work = (my_work_t *)kmalloc(sizeof(my_work_t), GFP_KERNEL);
+ INIT_WORK( (struct work_struct *)work, my_wq_function );
+ work->xpad = xpad;
+ queue_work( my_wq, (struct work_struct *)work );
+ }
+// printk("got kill packet for id %i\n", xpad->joydev_id);
+ }
}
+
+// printk("xpad packet %hhX %hhX %hhX %hhX %hhX %hhX\n", data[0], data[1], data[2], data[3], data[4], data[5]);
/* Valid pad data */
if (!(data[1] & 0x1))
@@ -476,6 +607,8 @@
int retval, status;
status = urb->status;
+
+// printk("xpad_irq_in %i\n", status);
switch (status) {
case 0:
@@ -584,8 +717,6 @@
goto fail1;
}
- mutex_init(&xpad->odata_mutex);
-
xpad->irq_out = usb_alloc_urb(0, GFP_KERNEL);
if (!xpad->irq_out) {
error = -ENOMEM;
@@ -714,15 +845,38 @@
static void xpad_send_led_command(struct usb_xpad *xpad, int command)
{
- if (command >= 0 && command < 14) {
- mutex_lock(&xpad->odata_mutex);
- xpad->odata[0] = 0x01;
- xpad->odata[1] = 0x03;
- xpad->odata[2] = command;
- xpad->irq_out->transfer_buffer_length = 3;
- usb_submit_urb(xpad->irq_out, GFP_KERNEL);
- mutex_unlock(&xpad->odata_mutex);
+ if ((unsigned)command > 15)
+ return;
+
+ spin_lock(&xpad->odata_lock);
+
+ switch (xpad->xtype) {
+
+ case XTYPE_XBOX360:
+ xpad->odata[0] = 0x01;
+ xpad->odata[1] = 0x03;
+ xpad->odata[2] = command;
+ xpad->irq_out->transfer_buffer_length = 3;
+ break;
+ case XTYPE_XBOX360W:
+ xpad->odata[0] = 0x00;
+ xpad->odata[1] = 0x00;
+ xpad->odata[2] = 0x08;
+ xpad->odata[3] = 0x40 + (command % 0x0e);
+ xpad->odata[4] = 0x00;
+ xpad->odata[5] = 0x00;
+ xpad->odata[6] = 0x00;
+ xpad->odata[7] = 0x00;
+ xpad->odata[8] = 0x00;
+ xpad->odata[9] = 0x00;
+ xpad->odata[10] = 0x00;
+ xpad->odata[11] = 0x00;
+ xpad->irq_out->transfer_buffer_length = 12;
+ break;
}
+
+ usb_submit_urb(xpad->irq_out, GFP_KERNEL);
+ spin_unlock(&xpad->odata_lock);
}
static void xpad_led_set(struct led_classdev *led_cdev,
@@ -741,8 +895,10 @@
struct xpad_led *led;
struct led_classdev *led_cdev;
int error;
+
+// printk("xpad_led_probe\n");
- if (xpad->xtype != XTYPE_XBOX360)
+ if (xpad->xtype != XTYPE_XBOX360 && xpad->xtype != XTYPE_XBOX360W)
return 0;
xpad->led = led = kzalloc(sizeof(struct xpad_led), GFP_KERNEL);
@@ -765,11 +921,6 @@
return error;
}
- /*
- * Light up the segment corresponding to controller number
- */
- xpad_send_led_command(xpad, (led_no % 4) + 2);
-
return 0;
}
@@ -791,6 +942,7 @@
static int xpad_open(struct input_dev *dev)
{
struct usb_xpad *xpad = input_get_drvdata(dev);
+// printk("xpad open driver data %x\n", (unsigned int)xpad);
/* URB was submitted in probe */
if (xpad->xtype == XTYPE_XBOX360W)
@@ -839,23 +991,24 @@
{
struct usb_device *udev = interface_to_usbdev(intf);
struct usb_xpad *xpad;
- struct input_dev *input_dev;
struct usb_endpoint_descriptor *ep_irq_in;
int i, error;
+ struct input_dev *input_dev;
+
+ if (!my_wq) {
+ my_wq = create_workqueue("xpad_queue");
+ }
for (i = 0; xpad_device[i].idVendor; i++) {
if ((le16_to_cpu(udev->descriptor.idVendor) == xpad_device[i].idVendor) &&
(le16_to_cpu(udev->descriptor.idProduct) == xpad_device[i].idProduct))
break;
}
-
+
xpad = kzalloc(sizeof(struct usb_xpad), GFP_KERNEL);
- input_dev = input_allocate_device();
- if (!xpad || !input_dev) {
- error = -ENOMEM;
- goto fail1;
- }
+ xpad->name = xpad_device[i].name;
+
xpad->idata = usb_alloc_coherent(udev, XPAD_PKT_LEN,
GFP_KERNEL, &xpad->idata_dma);
if (!xpad->idata) {
@@ -891,65 +1044,12 @@
xpad->mapping |= MAP_STICKS_TO_NULL;
}
- xpad->dev = input_dev;
- usb_make_path(udev, xpad->phys, sizeof(xpad->phys));
- strlcat(xpad->phys, "/input0", sizeof(xpad->phys));
-
- input_dev->name = xpad_device[i].name;
- input_dev->phys = xpad->phys;
- usb_to_input_id(udev, &input_dev->id);
- input_dev->dev.parent = &intf->dev;
-
- input_set_drvdata(input_dev, xpad);
-
- input_dev->open = xpad_open;
- input_dev->close = xpad_close;
-
- input_dev->evbit[0] = BIT_MASK(EV_KEY);
-
- if (!(xpad->mapping & MAP_STICKS_TO_NULL)) {
- input_dev->evbit[0] |= BIT_MASK(EV_ABS);
- /* set up axes */
- for (i = 0; xpad_abs[i] >= 0; i++)
- xpad_set_up_abs(input_dev, xpad_abs[i]);
- }
-
- /* set up standard buttons */
- for (i = 0; xpad_common_btn[i] >= 0; i++)
- __set_bit(xpad_common_btn[i], input_dev->keybit);
-
- /* set up model-specific ones */
- if (xpad->xtype == XTYPE_XBOX360 || xpad->xtype == XTYPE_XBOX360W) {
- for (i = 0; xpad360_btn[i] >= 0; i++)
- __set_bit(xpad360_btn[i], input_dev->keybit);
- } else {
- for (i = 0; xpad_btn[i] >= 0; i++)
- __set_bit(xpad_btn[i], input_dev->keybit);
- }
-
- if (xpad->mapping & MAP_DPAD_TO_BUTTONS) {
- for (i = 0; xpad_btn_pad[i] >= 0; i++)
- __set_bit(xpad_btn_pad[i], input_dev->keybit);
- } else {
- for (i = 0; xpad_abs_pad[i] >= 0; i++)
- xpad_set_up_abs(input_dev, xpad_abs_pad[i]);
- }
-
- if (xpad->mapping & MAP_TRIGGERS_TO_BUTTONS) {
- for (i = 0; xpad_btn_triggers[i] >= 0; i++)
- __set_bit(xpad_btn_triggers[i], input_dev->keybit);
- } else {
- for (i = 0; xpad_abs_triggers[i] >= 0; i++)
- xpad_set_up_abs(input_dev, xpad_abs_triggers[i]);
- }
-
error = xpad_init_output(intf, xpad);
if (error)
goto fail3;
- error = xpad_init_ff(xpad);
- if (error)
- goto fail4;
+ usb_make_path(xpad->udev, xpad->phys, sizeof(xpad->phys));
+ strlcat(xpad->phys, "/input0", sizeof(xpad->phys));
error = xpad_led_probe(xpad);
if (error)
@@ -963,10 +1063,6 @@
xpad->irq_in->transfer_dma = xpad->idata_dma;
xpad->irq_in->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;
- error = input_register_device(xpad->dev);
- if (error)
- goto fail6;
-
usb_set_intfdata(intf, xpad);
if (xpad->xtype == XTYPE_XBOX360W) {
@@ -974,6 +1070,7 @@
* Setup the message to set the LEDs on the
* controller when it shows up
*/
+ spin_lock(&xpad->odata_lock);
xpad->bulk_out = usb_alloc_urb(0, GFP_KERNEL);
if (!xpad->bulk_out) {
error = -ENOMEM;
@@ -1015,23 +1112,55 @@
*/
xpad->irq_in->dev = xpad->udev;
error = usb_submit_urb(xpad->irq_in, GFP_KERNEL);
+
+ spin_unlock(&xpad->odata_lock);
if (error)
goto fail9;
+
+ // I don't know how to check controller state on driver load so just slam them
+ // off so that people have to turn them on, triggering a state update
+
+ // got the power off packet from an OSX reverse-engineered driver:
+ // http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller/OsxDriver#toc1
+ spin_lock(&xpad->odata_lock);
+ xpad->odata[0] = 0x00;
+ xpad->odata[1] = 0x00;
+ xpad->odata[2] = 0x08;
+ xpad->odata[3] = 0xC0;
+ xpad->odata[4] = 0x00;
+ xpad->odata[5] = 0x00;
+ xpad->odata[6] = 0x00;
+ xpad->odata[7] = 0x00;
+ xpad->odata[8] = 0x00;
+ xpad->odata[9] = 0x00;
+ xpad->odata[10] = 0x00;
+ xpad->odata[11] = 0x00;
+ xpad->irq_out->transfer_buffer_length = 12;
+ usb_submit_urb(xpad->irq_out, GFP_KERNEL);
+ spin_unlock(&xpad->odata_lock);
+ } else {
+ my_work_t *work;
+ xpad->pad_present = 1;
+
+ work = (my_work_t *)kmalloc(sizeof(my_work_t), GFP_KERNEL);
+ INIT_WORK( (struct work_struct *)work, my_wq_function );
+ work->xpad = xpad;
+ queue_work( my_wq, (struct work_struct *)work );
}
return 0;
fail9: kfree(xpad->bdata);
fail8: usb_free_urb(xpad->bulk_out);
- fail7: input_unregister_device(input_dev);
- input_dev = NULL;
+ fail7: //input_unregister_device(input_dev);
+ //input_dev = NULL;
fail6: xpad_led_disconnect(xpad);
- fail5: if (input_dev)
- input_ff_destroy(input_dev);
+ fail5: //if (input_dev)
+ //input_ff_destroy(input_dev);
fail4: xpad_deinit_output(xpad);
fail3: usb_free_urb(xpad->irq_in);
fail2: usb_free_coherent(udev, XPAD_PKT_LEN, xpad->idata, xpad->idata_dma);
- fail1: input_free_device(input_dev);
+ fail1: //input_free_device(input_dev);
kfree(xpad);
return error;
@@ -1041,8 +1170,14 @@
{
struct usb_xpad *xpad = usb_get_intfdata (intf);
+// printk("xpad_disconnect\n");
xpad_led_disconnect(xpad);
- input_unregister_device(xpad->dev);
+
+ if (xpad->pad_present)
+ {
+ xpad->pad_present = 0;
+ input_unregister_device(xpad->dev);
+ }
xpad_deinit_output(xpad);
if (xpad->xtype == XTYPE_XBOX360W) {

View File

@@ -0,0 +1,21 @@
diff -Naur linux-3.16.1/drivers/media/rc/imon.c linux-3.16.1.patch/drivers/media/rc/imon.c
--- linux-3.16.1/drivers/media/rc/imon.c 2014-08-14 04:36:35.000000000 +0200
+++ linux-3.16.1.patch/drivers/media/rc/imon.c 2014-08-15 13:57:16.587620642 +0200
@@ -1344,6 +1344,17 @@
}
} else {
/*
+ * For users without stabilized, just ignore any value getting
+ * to close to the diagonal.
+ */
+ if ((abs(rel_y) < 2 && abs(rel_x) < 2) ||
+ abs(abs(rel_y) - abs(rel_x)) < 2 ) {
+ spin_lock_irqsave(&ictx->kc_lock, flags);
+ ictx->kc = KEY_UNKNOWN;
+ spin_unlock_irqrestore(&ictx->kc_lock, flags);
+ return;
+ }
+ /*
* Hack alert: instead of using keycodes, we have
* to use hard-coded scancodes here...
*/

File diff suppressed because it is too large Load Diff

View File

@@ -1,17 +0,0 @@
diff -Naur linux-3.10.10/include/uapi/linux/ptrace.h linux-3.10.10.patch/include/uapi/linux/ptrace.h
--- linux-3.10.10/include/uapi/linux/ptrace.h 2013-08-29 18:47:51.000000000 +0200
+++ linux-3.10.10.patch/include/uapi/linux/ptrace.h 2013-09-04 16:38:10.182685149 +0200
@@ -55,11 +55,13 @@
#define PTRACE_PEEKSIGINFO 0x4209
+#ifdef __KERNEL__
struct ptrace_peeksiginfo_args {
__u64 off; /* from which siginfo to start */
__u32 flags;
__s32 nr; /* how may siginfos to take */
};
+#endif /* __KERNEL__ */
/* Read signals from a shared (process wide) queue */
#define PTRACE_PEEKSIGINFO_SHARED (1 << 0)

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="xbmc-theme-Confluence"
PKG_VERSION="13-6066a54"
PKG_VERSION="13-0f3db05"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="xbmc"
PKG_VERSION="13-6066a54"
PKG_VERSION="13-0f3db05"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
@@ -505,7 +505,6 @@ post_install() {
enable_service xbmc-autostart.service
enable_service xbmc-cleanlogs.service
enable_service xbmc-config.service
enable_service xbmc-hacks.service
enable_service xbmc-sources.service
enable_service xbmc-halt.service

View File

@@ -0,0 +1,42 @@
From c2717b64788fd05098f1d1f5499def9fbc4af957 Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
Date: Mon, 18 Aug 2014 17:46:54 +0300
Subject: [PATCH] openelec: setup timezone
---
xbmc/linux/LinuxTimezone.cpp | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/xbmc/linux/LinuxTimezone.cpp b/xbmc/linux/LinuxTimezone.cpp
index b4ffd13..5bf41eb 100644
--- a/xbmc/linux/LinuxTimezone.cpp
+++ b/xbmc/linux/LinuxTimezone.cpp
@@ -39,6 +39,8 @@
#include "settings/lib/Setting.h"
#include "settings/Settings.h"
+#include <fstream>
+
using namespace std;
CLinuxTimezone::CLinuxTimezone() : m_IsDST(0)
@@ -158,6 +160,16 @@ void CLinuxTimezone::OnSettingChanged(const CSetting *setting)
const std::string &settingId = setting->GetId();
if (settingId == "locale.timezone")
{
+ std::ofstream out("/storage/.cache/timezone");
+ if (out)
+ {
+ const std::string tz = std::string("TIMEZONE=") + ((CSettingString*)setting)->GetValue().c_str();
+ out << tz << std::endl;
+ out.flush();
+ out.close();
+ system("systemctl restart tz-data.service");
+ }
+
SetTimezone(((CSettingString*)setting)->GetValue());
CDateTime::ResetTimezoneBias();
--
1.7.2.5

View File

@@ -1,26 +0,0 @@
From 25be1b385303a8114d7e227ffab52a22de42ccd1 Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
Date: Tue, 26 Nov 2013 20:53:08 +0200
Subject: [PATCH] run tzdata-setup on timezone change
---
xbmc/linux/LinuxTimezone.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/xbmc/linux/LinuxTimezone.cpp b/xbmc/linux/LinuxTimezone.cpp
index be7bce6..4000181 100644
--- a/xbmc/linux/LinuxTimezone.cpp
+++ b/xbmc/linux/LinuxTimezone.cpp
@@ -158,6 +158,9 @@ void CLinuxTimezone::OnSettingChanged(const CSetting *setting)
const std::string &settingId = setting->GetId();
if (settingId == "locale.timezone")
{
+ const std::string cmd = std::string("sh /usr/lib/openelec/tzdata-setup ") + ((CSettingString*)setting)->GetValue().c_str();
+ system(cmd.c_str());
+
SetTimezone(((CSettingString*)setting)->GetValue());
CDateTime::ResetTimezoneBias();
--
1.8.3.2

View File

@@ -1,12 +0,0 @@
[Unit]
Description=XBMC configfile writer
Before=xbmc.service
[Service]
Type=oneshot
Environment=HOME=/storage
ExecStart=/usr/lib/xbmc/xbmc-config
RemainAfterExit=yes
[Install]
WantedBy=xbmc.service

View File

@@ -8,7 +8,7 @@ ConditionPathExists=/storage/.cache/openelec/network_wait
[Service]
Type=oneshot
EnvironmentFile=/storage/.cache/openelec/network_wait
ExecStartPre=/bin/sh -c 'echo "waiting on Network to come online ... (max. $WAIT_NETWORK_TIME sec.)"
ExecStartPre=/bin/sh -c 'echo "waiting on Network to come online ... (max. $WAIT_NETWORK_TIME sec.)"'
ExecStart=/usr/bin/cm-online ${WAIT_NETWORK_TIME}
StandardOutput=tty
RemainAfterExit=yes

View File

@@ -9,6 +9,7 @@ Environment=SDL_MOUSE_RELATIVE=0
Environment=HOME=/storage
EnvironmentFile=-/run/openelec/xbmc.conf
EnvironmentFile=-/run/openelec/debug/xbmc.conf
ExecStartPre=-/usr/lib/xbmc/xbmc-config
ExecStart=/bin/sh -c ". /etc/profile; exec /usr/lib/xbmc/xbmc.bin --standalone -fs $XBMC_ARGS $XBMC_DEBUG"
# keep KillMode=process unless there is no good reason to switch to cgroup
KillMode=process

View File

@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="ffmpeg"
PKG_VERSION="2.3.1"
PKG_VERSION="2.3.3"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"

View File

@@ -0,0 +1,34 @@
From 976a1c2f3d6c2c2d4b0ef8a43a3ef128936b0dd6 Mon Sep 17 00:00:00 2001
From: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Date: Wed, 18 Jun 2014 13:11:48 +0200
Subject: [PATCH] decoder: h264: fix RefPicList0/1 without frame in DPB.
---
src/i965_decoder_utils.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/i965_decoder_utils.c b/src/i965_decoder_utils.c
index 0539e08..d79b2b3 100644
--- a/src/i965_decoder_utils.c
+++ b/src/i965_decoder_utils.c
@@ -526,6 +526,8 @@ intel_update_avc_frame_store_index(
continue;
GenAvcSurface * const avc_surface = obj_surface->private_data;
+ if (!avc_surface)
+ continue;
if (avc_surface->frame_store_id >= 0) {
GenFrameStore * const fs =
&frame_store[avc_surface->frame_store_id];
@@ -559,6 +561,8 @@ intel_update_avc_frame_store_index(
continue;
GenAvcSurface * const avc_surface = obj_surface->private_data;
+ if (!avc_surface)
+ continue;
if (n < num_free_refs) {
GenFrameStore * const fs = free_refs[n++];
fs->surface_id = obj_surface->base.id;
--
1.7.9.5

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