Compare commits

...
204 Commits
Author SHA1 Message Date
Jean-André Santoni cb06635eb5 Ribbon improvements. Bugfix for the icon overlap while displaying help messages. 2016-04-26 22:20:20 +02:00
Jean-André Santoni bba036fd2c Backport OpenELEC changes to build cuboxi and udoo projects with a same tree. Should at least fix boot on cuboxi. 2016-04-26 21:38:30 +02:00
Jean-André Santoni a9ae0924ce Remove unneeded bluez-tools 2016-04-25 07:00:28 +02:00
Jean-André Santoni e3e200b43b Add back the Shanwan and Gasia bt patches, while keeping the DS3 auto trust patch 2016-04-24 15:42:52 +02:00
Jean-André Santoni 6e2e195428 Update Lutro. Many improvements by RobLoach. 2016-04-24 15:18:41 +02:00
Jean-André Santoni e51f5e774b Update RetroArch. Ribbon options with gradients. Thumbnails donwloader. 2016-04-24 15:16:28 +02:00
Jean-André Santoni 5127603ef6 Build Generic images first 2016-04-21 21:27:33 +02:00
Jean-André Santoni a3b9a1a30a Update RetroArch. Display a PS3 like animated ribbon. Work in progress. 2016-04-21 13:53:57 +02:00
Jean-André Santoni e753c38d24 Patch bluez to enable DualShock 3 auto pairing 2016-04-21 13:53:00 +02:00
Jean-André Santoni 9028953c36 OPiPC initial port 2016-04-20 02:17:22 +02:00
Jean-André Santoni 252c8c426b Update FBA to v0.2.97.38 2016-04-18 14:53:44 +02:00
Jean-André Santoni 05b4b7f783 Update libretrodb. Use the 2016 no intro DATs. Also add CRCs for FBA ROMs. 2016-04-15 17:42:48 +02:00
Jean-André Santoni 0e320a28f2 Update RetroArch assets 2016-04-15 17:41:49 +02:00
Jean-André Santoni 336424761f Update RetroArch. Adds Arcade scanning. 2016-04-15 17:41:28 +02:00
Jean-André Santoni d9ec9540af Update hatari mkpkg 2016-04-14 19:41:20 +02:00
Jean-André Santoni 6a91a04fd3 Merge pull request #347 from gouchi/lakka
Update Hatari repository
2016-04-15 00:29:38 +07:00
gouchi c346fbaccc Update Hatari repository 2016-04-14 14:16:54 +02:00
Jean-André Santoni 29a826b7f2 Update RetroArch. Adds support for the RetroActive XMB theme. Improve the look of XMB drop shadows. 2016-04-10 10:01:34 +02:00
Jean-André Santoni 597947c0b4 Add the RetroActive XMB theme 2016-04-10 10:00:05 +02:00
Jean-André Santoni 4cf1150631 Update RetroArch. Add support for theme switching, dropshadows, and switching between 3 thumbnail types. 2016-04-08 16:20:38 +02:00
Jean-André Santoni 1801ad099d De-interlace background. May fix the white background bug. Mayb improve performance on some platforms. 2016-04-08 16:18:06 +02:00
Jean-André Santoni a7cead2253 Update core infos 2016-04-08 16:17:24 +02:00
Jean-André Santoni 2098cd4702 Make it easier to compile with X11 2016-04-07 09:47:37 +02:00
Jean-André Santoni 0e6b7c1fcb Add back PATA_TOSHIB. Fixes #315 2016-04-05 05:20:04 +02:00
Jean-André Santoni 25646a6662 Update bluez to 5.37 with patches. Fixes #314 bluetooth on RPi3. 2016-04-03 04:48:44 +02:00
Jean-André Santoni 1d894ac0bd Merge pull request #342 from mikejsutherland/patch-1
Update network-online.service
2016-04-03 00:15:17 +07:00
Michael Sutherland fe9954abec Update network-online.service
Prevent the network-online.service from printing a message to the TTY by removing the ExecStartPre line from the network-online.service config file.  This message is not helpful and is visible when loading or reloading the Lakka menu.
2016-04-02 13:34:05 -03:00
Jean-André Santoni 74091edd44 Update RetroArch 2016-03-24 12:35:53 +01:00
Jean-André Santoni cc16eb1493 Symbolic link for bluetooth, needed for RPi bluetooth 2016-03-24 02:42:45 +01:00
Jean-André Santoni bd2fb783d9 Update RPi bootloader and driver 2016-03-24 02:41:51 +01:00
Jean-André Santoni 9487860d5e Serial console service for RPi1 and 2 2016-03-24 02:41:23 +01:00
Jean-André Santoni 5ea8dd05a3 Disable ZARCH in RetroArch. Too much users get stuck in this menu driver. 2016-03-22 21:52:00 +01:00
Jean-André Santoni 4e08b9a80f Update RetroArch. Allow XMB theme switching. Also allow enabling/disabling SSH 2016-03-22 21:22:36 +01:00
Jean-André Santoni 8db17d6543 Forgot to commit the patches for amlogic-cec-driver 2016-03-21 11:24:02 +01:00
Jean-André Santoni 1f35ddd0e8 Make lakka-update.sh behave like the Online Updater GUI 2016-03-21 11:12:34 +01:00
Jean-André Santoni b80ed9f92b Start adding support for NOOBS 1.8 2016-03-20 17:59:27 +01:00
Jean-André Santoni 7f380b7572 Update WeTek_Core kernel config 2016-03-20 10:31:20 +01:00
Jean-André Santoni b5f84d18de Update amlogic kernel 2016-03-20 09:50:11 +01:00
Jean-André Santoni f84557f1fb Update wetekdvb 2016-03-20 09:47:25 +01:00
Jean-André Santoni f9d358eafb Update WeTek_Play linux config 2016-03-20 09:41:31 +01:00
Jean-André Santoni 78af2e19a3 Typo 2016-03-19 21:45:25 +01:00
Jean-André Santoni 44099f6b3a Use libretro_directory instead of libretro_path 2016-03-19 21:03:57 +01:00
Jean-André Santoni b9c41ffb35 Hide console messages on OdroidXU3 for now. I can't find a way to silence those overlayfs errors.. 2016-03-19 12:32:00 +01:00
Jean-André Santoni 6a0aea8887 Update RetroArch 2016-03-19 10:01:07 +01:00
Jean-André Santoni f14e3a6aa3 Enable kernel modules for DRM GMA. Fixes #322 2016-03-18 16:57:04 +01:00
Jean-André Santoni f660ce9cb1 Update RetroArch to 1.3.2 2016-03-16 18:21:05 +01:00
Jean-André Santoni 935ac074ce Use a wide background for WeTek Play. Fixes #216 but doesn't fix the white background behind games. 2016-03-14 17:34:06 +01:00
Jean-André Santoni 3de828ced1 Enable kernel module for parallel port controllers. Should fix #275 2016-03-14 15:59:16 +01:00
Jean-André Santoni c8c89133b9 Update picodrive, should add RetroAchievements support 2016-03-14 15:43:43 +01:00
Jean-André Santoni ab3b63277b Build PATA_TOSHIBA kernel module. Should fix #315 2016-03-14 15:38:23 +01:00
Jean-André Santoni 746bdb1856 Try the bluez patches for Shanwan/Gasia Dualshock clones 2016-03-14 15:32:19 +01:00
Jean-André Santoni e423427f12 Try to fix RPi3 bluetooth 2016-03-12 22:32:33 +01:00
Jean-André Santoni 84103bd916 Upgrade RetroArch 2016-03-12 22:24:00 +01:00
Jean-André Santoni 3bdbe48295 Update RetroArch 2016-03-10 18:37:16 +01:00
Jean-André Santoni afee06da29 Update all audio packages 2016-03-10 18:36:30 +01:00
Jean-André Santoni 404a9cd580 Disable reicast until we fix it for i386 2016-03-08 19:01:34 +01:00
Jean-André Santoni 1a686b7eeb Package reicast for the generic image 2016-03-08 14:01:14 +01:00
Jean-André Santoni dae53fcb8f Enable assets mount 2016-03-08 14:00:30 +01:00
Jean-André Santoni 02df20c839 Forgot to create the assets dir 2016-03-08 00:04:51 +01:00
Jean-André Santoni 4d7d274091 Allow overriding assets 2016-03-07 22:49:05 +01:00
Jean-André Santoni de81185fe4 Fix the tmp-database mount 2016-03-07 18:15:03 +01:00
Jean-André Santoni b4e5029f14 Enable brcmfmac_sdio-firmware-rpi on rpi2 2016-03-07 09:25:44 +01:00
Jean-André Santoni 81bbce8aa3 Fix RPi firmware download 2016-03-06 17:54:09 +01:00
Jean-André Santoni 73f5b178aa Fix RPi overlays 2016-03-06 17:53:51 +01:00
Jean-André Santoni 67b0b57cd7 Bump RPi kernel and firmware 2016-03-06 17:32:49 +01:00
Jean-André Santoni 9c63506053 Forgot to enable overlayfs in imx6 kernel config 2016-03-06 15:53:30 +01:00
Jean-André Santoni a5f192d449 RPi2: Use zImage 2016-03-06 15:49:14 +01:00
Jean-André Santoni d22bff9eca Use OverlayFS instead of UnionFS-FUSE for union directories. Should fix #267 2016-03-06 15:47:36 +01:00
Jean-André Santoni c292736176 Update RPi GPU blobs 2016-03-03 12:06:52 +01:00
Jean-André Santoni 12123258c1 Remove WandBoard from our nightly builds. It's broken and we don't have the hardware to troubleshoot it. 2016-03-03 08:45:06 +01:00
Jean-André Santoni 786c02af53 Update RPi bootloader 2016-03-03 08:32:56 +01:00
Jean-André Santoni d468e6a888 Update RPi kernel config 2016-03-02 19:37:08 +01:00
Jean-André Santoni 464171ef43 Update the imx6 project, adds support for UDOO and Matrix 2016-03-02 19:30:33 +01:00
Jean-André Santoni f945cf213d Update kernel to 4.4.2 for Generic, also updates linux-drivers and linux-firmware 2016-03-02 17:45:27 +01:00
Jean-André Santoni d0fcaf2cbc I don't think that we need xf86-video-nouveau 2016-03-02 15:04:36 +01:00
Jean-André Santoni f4a1701b74 Update libdrm 2016-03-02 10:51:15 +01:00
Jean-André Santoni 2b0136b1fc Update mesa 2016-03-02 10:41:42 +01:00
Jean-André Santoni b5b920fa10 Update pcre 2016-03-02 10:26:17 +01:00
Jean-André Santoni fa188e5267 Update RPi2 kernel, it should add support for RPi3. Also add kernel versions for the future Odroid-C2 and OrangePi-PC ports. 2016-02-29 19:50:10 +01:00
Jean-André Santoni 650f694dc3 Package a recent Device Tree Compiler, useful for u-boot coupled to old kernels 2016-02-29 16:23:36 +01:00
Jean-André Santoni ede95b02fc Start adding arm 64bit support 2016-02-29 16:21:51 +01:00
Jean-André Santoni 016693f53f Revert "add travis file"
This reverts commit 861865e11d.
2016-02-27 10:20:18 +01:00
Jean-André Santoni bb20ad32a0 Revert "Update package for compilation"
This reverts commit bcc8c27280.
2016-02-27 10:20:09 +01:00
Jean-André Santoni cbb7c2e1b9 Merge pull request #300 from gouchi/lakka
Fix url for mesa package version 10.5.1
2016-02-27 14:42:34 +07:00
gouchi bcc8c27280 Update package for compilation 2016-02-27 00:28:00 +01:00
gouchi 861865e11d add travis file 2016-02-26 23:45:20 +01:00
gouchi b366acf195 Fix url for mesa 10.5.1 2016-02-26 23:20:42 +01:00
Jean-André Santoni 876dbe3826 Package bluez-tools 2016-02-26 08:57:52 +01:00
Jean-André Santoni b6a6bbc229 Enable prosystem on every project 2016-02-24 05:29:12 +01:00
Jean-André Santoni 8e3a1295ba Revert mupen64plus to a previous version and remove a useless patch 2016-02-23 05:28:37 +01:00
Jean-André Santoni 13640c246b Update tyrquake 2016-02-21 18:53:03 +01:00
Jean-André Santoni 71f1b1be82 Update RetroArch, assets, and joypads 2016-02-21 18:52:37 +01:00
Jean-André Santoni 91bfb80775 Update picodrive, input descriptors for mastersystem 2016-02-21 18:52:07 +01:00
Jean-André Santoni 0edc8194f3 Update mupen64plus 2016-02-21 18:51:22 +01:00
Jean-André Santoni 3270841e01 Update genesis-plus-gx, fix compatibility with some megadrive hacks 2016-02-21 18:50:38 +01:00
Jean-André Santoni 2748c83510 Update fceumm 2016-02-21 18:49:14 +01:00
Jean-André Santoni 5da3af520a Update beetle-psx, fix deinterlacing on extended resolutions 2016-02-21 18:48:29 +01:00
Jean-André Santoni c2ffdb5be8 Update prboom 2016-02-21 18:47:21 +01:00
Jean-André Santoni f76ec43791 Update libretro-database, start supporting tgdb metadata 2016-02-15 02:37:20 +01:00
Jean-André Santoni a9cc327454 Update joypad configs 2016-02-15 02:31:58 +01:00
Jean-André Santoni 4ce337c1ee Update FBA, add combo core options, and fix cps2 eeprom loading 2016-02-15 02:28:11 +01:00
Jean-André Santoni 81d946cf47 Update beetle-psx, bugfixes 2016-02-15 02:20:51 +01:00
Jean-André Santoni 710c873302 Update mame2003, core option to skip disclaimer 2016-02-15 02:16:57 +01:00
Jean-André Santoni 210b1c8341 Update mupen64plus, gliden64 and gln64 updated 2016-02-15 02:12:53 +01:00
Jean-André Santoni 25fae8cbcf Update cap32 2016-02-15 02:05:26 +01:00
Jean-André Santoni b23e1ada5c Update handy, fixes a header bug 2016-02-15 01:58:29 +01:00
Jean-André Santoni cf6dbe4cb9 Update virtualjaguar, patch not needed anymore 2016-02-15 01:54:20 +01:00
Jean-André Santoni eaf46adcf5 Fix snes9x playlist assignation on the Generic image 2016-02-06 05:44:19 +01:00
Jean-André Santoni 98a7d19789 Virtualjaguar buildfix 2016-02-06 04:49:54 +01:00
Jean-André Santoni 7925ff0859 Update RetroArch, libretro-database, and joypad configs 2016-02-06 04:34:44 +01:00
Jean-André Santoni c94e185d3c Update beetle-psx 2016-02-06 04:34:11 +01:00
Jean-André Santoni 437ec7a5f3 Update virtualjaguar 2016-01-30 17:05:00 +01:00
Jean-André Santoni f9a7ccb6b4 Update mupen64plus 2016-01-30 16:55:10 +01:00
Jean-André Santoni aabcca5e0b Update beetle-psx 2016-01-30 16:54:53 +01:00
Jean-André Santoni 5d43bf0661 Update RetroArch, should fix scanning duplicates 2016-01-29 16:55:43 +01:00
Jean-André Santoni 02744500d4 Fix the WeTek Play mali bug 2016-01-29 16:13:08 +01:00
Jean-André Santoni 932fd4ee31 Update handy, should fix incompatibility with no-intro headerless roms 2016-01-28 11:12:34 +01:00
Jean-André Santoni 6429dc7225 Update WeTek_Play kernel patches and kernel config 2016-01-28 02:56:19 +01:00
Jean-André Santoni 97e0c86ea8 Update joypad configs. New 8bitdo firmware 2016-01-27 10:25:24 +01:00
Jean-André Santoni e8a7955dbd Update to RetroArch 1.3 2016-01-27 10:25:22 +01:00
Jean-André Santoni dde401dd3c Add support for WeTek_Core from OpenELEC 6 (untested) 2016-01-27 10:25:20 +01:00
Jean-André Santoni 4b7146df62 Merge pull request #143 from SebastianThorn/patch-1
updated zlib to use usr/include/
2016-01-27 16:21:32 +07:00
Jean-André Santoni bab6f2f8a5 Add copy on write option to our unionfs mounts 2016-01-21 11:47:15 +01:00
Jean-André Santoni c0d85a20b2 Update fuse 2016-01-21 11:46:27 +01:00
Jean-André Santoni e4c4c40511 Update RetroArch 2016-01-19 22:58:49 +01:00
Jean-André Santoni 69cefffa58 Update pcsx_rearmed, should fix the dynarec 2016-01-19 22:58:28 +01:00
Jean-André Santoni d3bb9847e9 May improve performance on the rpi2 2016-01-19 22:57:49 +01:00
Jean-André Santoni 7628694b74 Revert "Enable Getty & Login in Busybox for UART Login"
This reverts commit 57861794bc.
2016-01-19 19:10:26 +01:00
Jean-André Santoni 3667f450b8 Update libretro-database 2016-01-19 17:28:12 +01:00
Jean-André Santoni e00218a2be Update prosystem 2016-01-19 17:27:55 +01:00
Jean-André Santoni 45c434b064 Update gpsp 2016-01-19 17:27:36 +01:00
Jean-André Santoni 668d332da7 Change the partition size in noobs. Should fix #285 2016-01-19 17:27:09 +01:00
Jean-André Santoni 2c8f509b8a Update RPi bootloader overclock info, as asked in #285 2016-01-19 17:19:52 +01:00
Jean-André Santoni 4cc9d72ba7 Update pcsx_rearmed 2016-01-19 15:49:30 +01:00
Jean-André Santoni 8651ad8e51 Update mupen64plus 2016-01-19 15:49:30 +01:00
Jean-André Santoni a3b19d4fbe Update genesis-plus-gx 2016-01-19 15:49:30 +01:00
Jean-André Santoni 93514f539b Update RetroArch, joypad configs, and assets 2016-01-19 15:49:29 +01:00
Jean-André Santoni 69139be386 Merge pull request #283 from bsilvereagle/busybox-uart-login
Enable Getty & Login in Busybox for UART Login
2016-01-15 22:53:07 +07:00
bsilvereagle 57861794bc Enable Getty & Login in Busybox for UART Login
Many dev boards (in particular RPi and RPi2) have a hardware UART interface. Currently the only way to get a shell in Lakka is via ssh. In some situations, it is not possible/desirable to setup a network to ssh in to the RPi/2. Enabling Getty in busybox allows a shell to be spawned on the hardware UART interface. 

Note: A user will still have to place `/sbin/getty -L ttyAMA0 115200 vt100` in either `autostart.sh` or self-compile as a system.d service.
2016-01-15 09:06:52 -05:00
Jean-André Santoni caa9706545 Fixes some DS4 controller support, on Generic, C1, RPi1/2, Wtk 2016-01-15 08:29:48 +01:00
Jean-André Santoni 832ad0cd51 Add beetle-ngp to more builds 2016-01-09 20:10:46 +01:00
Jean-André Santoni 4dadcab37a Force core_updater_buildbot_url on ARM 2016-01-09 12:03:53 +01:00
Jean-André Santoni ef36f0afa0 Force RetroArch rebuild 2016-01-09 09:11:40 +01:00
Floréal Toumikian 2798bb0000 Added: bettle-ngp for RPi2 (fixes #277) 2016-01-09 08:22:58 +01:00
Jean-André Santoni 37f436b7aa Forgot to add core assignation for o2em on the RPi project 2016-01-04 11:28:57 +01:00
Jean-André Santoni 0c2933c296 Package cap32 2016-01-03 21:00:12 +01:00
Jean-André Santoni 4b8bd9c6b3 Update FBA, add a new core option, fixes some audio and savestate bugs. 2016-01-03 04:04:03 +01:00
Jean-André Santoni 694cf709a0 Update RetroArch, fixes the enter bug in kms 2016-01-03 03:47:38 +01:00
Jean-André Santoni 078b8e3767 Update mame2003, the target name changed in the info files 2016-01-02 20:10:14 +01:00
Jean-André Santoni a3ec052bf6 Update core-infos 2016-01-02 19:48:12 +01:00
Jean-André Santoni 6f7407141f Core assignation for o2em 2016-01-02 19:27:36 +01:00
Jean-André Santoni e1c2e9b3c9 Enable o2em on every project 2016-01-02 19:22:31 +01:00
Jean-André Santoni ab7edfc9fd Package o2em 2016-01-02 17:58:03 +01:00
Jean-André Santoni 619b4e9855 Update RetroArch 2016-01-02 17:56:39 +01:00
Jean-André Santoni 61b0438a17 Update RetroArch. Should fix the unionfs bug. 2016-01-01 20:29:58 +01:00
Jean-André Santoni 0c428b3908 Update fuse-libretro, fixes arm support 2015-12-30 19:23:55 +01:00
Jean-André Santoni 48f53ae307 Enable b43 as module in the generic kernel 2015-12-30 11:08:10 +01:00
Jean-André Santoni c9c3b3183d Update RetroArch. Should fix firmware updates. Also ensure that zlib is built before RA. 2015-12-30 11:03:52 +01:00
Jean-André Santoni 76087fcaaf Re-enable additional drivers on most projects 2015-12-29 16:55:02 +01:00
Jean-André Santoni fce223393d Enable as many joypads as possible for the Generic image 2015-12-29 16:55:01 +01:00
Jean-André Santoni 57b745c57e Update RetroArch 2015-12-29 16:55:01 +01:00
Jean-André Santoni 9926386506 Merge pull request #265 from ryanfb/correct-noobs-install-typo
Correct a typo that appears during the NOOBS installation process
2015-12-28 00:58:44 +07:00
Ryan Baumann 3797bc24f7 Correct a typo that appears during the NOOBS installation process (change "you home network" to "your home network") 2015-12-27 12:01:24 -05:00
Jean-André Santoni 2c7673701f Upgrade RetroArch, fixes netplay, and a memory leak in XMB wallpaper 2015-12-24 20:16:54 +01:00
Jean-André Santoni 79028ab12b Patch RetroArch to integrate Lakka upgrades from the menu 2015-12-24 20:00:13 +01:00
Jean-André Santoni 078cfbc12a Build mupen64plus with NEON, but disable the CC resampler, this fixes rice 2015-12-24 19:59:14 +01:00
Jean-André Santoni 85eb027aab Package puae 2015-12-23 16:15:59 +01:00
Jean-André Santoni d666dcf3ca Forgot to remove this file when updating e2fsprogs 2015-12-22 05:13:58 +01:00
Jean-André Santoni 537f1eec23 Update glibc, should fix the librt bug that prevents booting 2015-12-22 05:13:22 +01:00
Jean-André Santoni 55865a780f Update dosfstools and e2fsprogs 2015-12-21 18:41:31 +01:00
Jean-André Santoni ad162c7d8d Fix C1 build 2015-12-21 04:08:19 +01:00
Jean-André Santoni b3f328d499 Update udevil 2015-12-20 02:52:16 +01:00
Jean-André Santoni 28184f3ff9 Fix WeTek build 2015-12-17 05:15:01 +01:00
Jean-André Santoni 68030ccf60 Update RetroArch, fixes the joypad hotplug regression 2015-12-17 03:26:37 +01:00
Jean-André Santoni e3d4beb3c4 Update RetroArch, fixes a bug in the history list 2015-12-16 03:34:09 +01:00
Jean-André Santoni 998580ba8c Fix a typo in the libdrm package 2015-12-16 02:42:31 +01:00
Jean-André Santoni 5e99148223 Enable amdgpu for i386 2015-12-16 02:42:09 +01:00
Jean-André Santoni 499eec7cb6 Update RetroArch, improved history list 2015-12-15 05:49:31 +01:00
Jean-André Santoni 25a9a8eb52 Use avahi 2015-12-11 09:13:50 +01:00
Jean-André Santoni 241b6ad3dc Update util-linux, fixes systemd build error about libmount 2015-12-11 03:28:40 +01:00
Jean-André Santoni 1331fd44e7 Update systemd 2015-12-11 03:23:11 +01:00
Jean-André Santoni becaad2f46 Update joypads 2015-12-11 03:21:16 +01:00
Jean-André Santoni ed7cfc32c9 Fix wandboard build 2015-12-11 03:15:15 +01:00
Jean-André Santoni 90a47d1310 Update libdrm 2015-12-11 03:15:03 +01:00
Jean-André Santoni 1278677d61 Fix RPi2 kernel config 2015-12-10 12:29:20 +01:00
Jean-André Santoni 064299fad4 Use default additional drivers for WandBoard and WeTek_Play 2015-12-10 05:31:33 +01:00
Jean-André Santoni 25646fcadd Use the rpi foundation kernel for the RPi2 2015-12-10 02:03:42 +01:00
Jean-André Santoni d23d2ed70a i386 fixes after the linux 4.3 update 2015-12-09 02:02:44 +01:00
Jean-André Santoni e8824c44fe Enable additionnal drivers on RPi again 2015-12-09 00:13:03 +01:00
Jean-André Santoni a70e8f482e Enable nouveau again 2015-12-08 23:50:47 +01:00
Jean-André Santoni 91abe09de3 Update linux to 4.3, with linux-drivers and linux-firmwares 2015-12-08 23:45:59 +01:00
Jean-André Santoni aa8871ae36 Update assets 2015-12-07 05:09:43 +01:00
Jean-André Santoni 547b8654fc Update RetroArch 2015-12-07 01:27:48 +01:00
Jean-André Santoni 3b079aef83 Update retroarch-assets with Satellaview icons 2015-12-04 23:27:16 +01:00
Jean-André Santoni 7fea98bf6f Use snes9x by default on Generic images. It is fast enough, and more compatible. 2015-12-04 22:47:19 +01:00
Jean-André Santoni fa2ea59738 Package snes9x-next 2015-12-04 21:17:31 +01:00
Jean-André Santoni 0e66d261a2 Typo 2015-12-04 20:42:17 +01:00
Jean-André Santoni 893399e2ec Force RetroArch rebuild 2015-12-04 19:28:14 +01:00
Jean-André Santoni ff69d5f4ac Add core association for Satellaview 2015-12-04 18:27:26 +01:00
Jean-André Santoni 6ccec17c4b Fixes another wrong association: we use handy instead of mednafen_lynx 2015-12-04 17:56:58 +01:00
Jean-André Santoni 6adc05410e Invert pce_fast and supergrafx in playlist association, it was wrong 2015-12-04 17:47:21 +01:00
Jean-André Santoni 86eb5153a8 Update RetroArch 2015-12-04 04:01:25 +01:00
Jean-André Santoni 6d1dca4c29 Update RetroArch, fixes a display bug, and the privacy menu bug 2015-12-03 23:27:11 +01:00
Sebastian Thörn 5aaa688366 updated zlib to use usr/include/
see issue: https://github.com/OpenELEC/OpenELEC.tv/issues/3709
2014-12-30 11:47:59 +01:00
577 changed files with 196895 additions and 160519 deletions

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
# determines TARGET_CPU, if not forced by user
if [ -z "$TARGET_CPU" ]; then
TARGET_CPU=generic
fi
# TARGET_CPU:
# cortex-a35 cortex-a53 cortex-a57 cortex-a72 exynos-m1
# qdf24xx thunderx xgene1
# TARGET_FPU:
# This specifies what floating point hardware (or hardware emulation) is
# available on the target. Permissible names are:
# fpa fpe2 fpe3 maverick vfp vfpv3 vfpv3-fp16 vfpv3-d16 vfpv3-d16-fp16
# vfpv3xd vfpv3xd-fp16 neon neon-fp16 vfpv4 vfpv4-d16 fpv4-sp-d16
# neon-vfpv4.
# determine architecture's family
case $TARGET_CPU in
*)
TARGET_SUBARCH=aarch64
TARGET_VARIANT=armv8-a
TARGET_CPU_FLAGS="+crc+crypto"
TARGET_EXTRA_FLAGS="-mcpu=$TARGET_CPU$TARGET_CPU_FLAGS"
TARGET_FPU=neon
SIMD_SUPPORT="yes"
;;
esac
# setup ARCH specific *FLAGS
TARGET_CFLAGS="-march=$TARGET_VARIANT $TARGET_EXTRA_FLAGS"
[ -n "$TARGET_FPU" ] && TARGET_CFLAGS="$TARGET_CFLAGS $TARGET_FPU_FLAGS"
TARGET_LDFLAGS="-march=$TARGET_VARIANT -mcpu=$TARGET_CPU$TARGET_CPU_FLAGS"
+2 -2
View File
@@ -3,9 +3,9 @@
{
"label": "@DISTRONAME@_@PROJECT@_System",
"filesystem_type": "FAT",
"partition_size_nominal": 160,
"partition_size_nominal": 200,
"want_maximised": false,
"uncompressed_tarball_size": 120,
"uncompressed_tarball_size": 170,
"mkfs_options": ""
},
{
+1 -1
View File
@@ -452,7 +452,7 @@ hCHKXQk7K9saByvnHQxUtj4O8Ofzv0U52nazcrnNJuVSm43KDXcblPPv1+MnrFMm7h/xA77Hd8qS
sodipodi:role="line"
x="512"
y="958.36218"
id="tspan3140">Lakka will appear in you home network</tspan><tspan
id="tspan3140">Lakka will appear in your home network</tspan><tspan
sodipodi:role="line"
x="512"
y="1008.3622"

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

+3 -3
View File
@@ -76,7 +76,7 @@
# for a list of additinoal drivers see packages/linux-drivers
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8188EU RTL8812AU dvbhdhomerun"
ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8188EU RTL8812AU"
# build and install bluetooth support (yes / no)
BLUETOOTH_SUPPORT="yes"
@@ -239,5 +239,5 @@
ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH"
LAKKA_MIRROR="http://sources.lakka.tv"
RA_PLAYLIST_NAMES="Atari - 2600.lpl;Atari - 5200.lpl;Atari - 7800.lpl;Atari - Jaguar.lpl;Atari - Lynx.lpl;Atari - ST.lpl;Bandai - WonderSwan Color.lpl;Bandai - WonderSwan.lpl;Coleco - ColecoVision.lpl;DOOM.lpl;FB Alpha - Arcade Games.lpl;GCE - Vectrex.lpl;MAME.lpl;Microsoft - MSX2.lpl;Microsoft - MSX.lpl;NEC - PC Engine SuperGrafx.lpl;NEC - PC Engine - TurboGrafx 16.lpl;Nintendo - Famicom Disk System.lpl;Nintendo - Game Boy Advance (e-Cards).lpl;Nintendo - Game Boy Advance.lpl;Nintendo - Game Boy Color.lpl;Nintendo - Game Boy.lpl;Nintendo - Nintendo 64.lpl;Nintendo - Nintendo DS Decrypted.lpl;Nintendo - Nintendo DS (Download Play) (BETA).lpl;Nintendo - Nintendo DSi Decrypted.lpl;Nintendo - Nintendo DSi (DLC).lpl;Nintendo - Nintendo Entertainment System.lpl;Nintendo - Super Nintendo Entertainment System.lpl;Nintendo - Virtual Boy.lpl;Quake1.lpl;ScummVM.lpl;Sega - 32X.lpl;Sega - Game Gear.lpl;Sega - Master System - Mark III.lpl;Sega - Mega Drive - Genesis.lpl;Sega - PICO.lpl;Sega - SG-1000.lpl;Sinclair - ZX Spectrum +3.lpl;SNK - Neo Geo Pocket Color.lpl;SNK - Neo Geo Pocket.lpl;Sony - PlayStation Portable.lpl;Sony - PlayStation.lpl"
RA_PLAYLIST_CORES="/tmp/cores/stella_libretro.so;DETECT;/tmp/cores/prosystem_libretro.so;/tmp/cores/virtualjaguar_libretro.so;/tmp/cores/mednafen_lynx_libretro.so;/tmp/cores/hatari_libretro.so;/tmp/cores/mednafen_wswan_libretro.so;/tmp/cores/mednafen_wswan_libretro.so;/tmp/cores/bluemsx_libretro.so;/tmp/cores/prboom_libretro.so;/tmp/cores/fba_libretro.so;/tmp/cores/vecx_libretro.so;/tmp/cores/mame_libretro.so;/tmp/cores/bluemsx_libretro.so;/tmp/cores/bluemsx_libretro.so;/tmp/cores/mednafen_pce_fast_libretro.so;/tmp/cores/mednafen_supergrafx_libretro.so;/tmp/cores/nestopia_libretro.so;/tmp/cores/gpsp_libretro.so;/tmp/cores/gpsp_libretro.so;/tmp/cores/gambatte_libretro.so;/tmp/cores/gambatte_libretro.so;/tmp/cores/mupen64plus_libretro.so;/tmp/cores/desmume_libretro.so;/tmp/cores/desmume_libretro.so;/tmp/cores/desmume_libretro.so;/tmp/cores/desmume_libretro.so;/tmp/cores/nestopia_libretro.so;/tmp/cores/snes9x_next_libretro.so;/tmp/cores/mednafen_vb_libretro.so;/tmp/cores/tyrquake_libretro.so;/tmp/cores/scummvm_libretro.so;/tmp/cores/picodrive_libretro.so;/tmp/cores/genesis_plus_gx_libretro.so;/tmp/cores/genesis_plus_gx_libretro.so;/tmp/cores/genesis_plus_gx_libretro.so;/tmp/cores/picodrive_libretro.so;/tmp/cores/genesis_plus_gx_libretro.so;/tmp/cores/fuse_libretro.so;/tmp/cores/mednafen_ngp_libretro.so;/tmp/cores/mednafen_ngp_libretro.so;/tmp/cores/ppsspp_libretro.so;/tmp/cores/pcsx_rearmed_libretro.so"
RA_PLAYLIST_NAMES="Atari - 2600.lpl;Atari - 5200.lpl;Atari - 7800.lpl;Atari - Jaguar.lpl;Atari - Lynx.lpl;Atari - ST.lpl;Bandai - WonderSwan Color.lpl;Bandai - WonderSwan.lpl;Coleco - ColecoVision.lpl;DOOM.lpl;FB Alpha - Arcade Games.lpl;GCE - Vectrex.lpl;Magnavox - Odyssey2.lpl;MAME.lpl;Microsoft - MSX2.lpl;Microsoft - MSX.lpl;NEC - PC Engine SuperGrafx.lpl;NEC - PC Engine - TurboGrafx 16.lpl;Nintendo - Famicom Disk System.lpl;Nintendo - Game Boy Advance (e-Cards).lpl;Nintendo - Game Boy Advance.lpl;Nintendo - Game Boy Color.lpl;Nintendo - Game Boy.lpl;Nintendo - Nintendo 64.lpl;Nintendo - Nintendo DS Decrypted.lpl;Nintendo - Nintendo DS (Download Play) (BETA).lpl;Nintendo - Nintendo DSi Decrypted.lpl;Nintendo - Nintendo DSi (DLC).lpl;Nintendo - Nintendo Entertainment System.lpl;Nintendo - Satellaview.lpl;Nintendo - Super Nintendo Entertainment System.lpl;Nintendo - Virtual Boy.lpl;Quake1.lpl;ScummVM.lpl;Sega - 32X.lpl;Sega - Game Gear.lpl;Sega - Master System - Mark III.lpl;Sega - Mega Drive - Genesis.lpl;Sega - PICO.lpl;Sega - SG-1000.lpl;Sinclair - ZX Spectrum +3.lpl;SNK - Neo Geo Pocket Color.lpl;SNK - Neo Geo Pocket.lpl;Sony - PlayStation Portable.lpl;Sony - PlayStation.lpl"
RA_PLAYLIST_CORES="/tmp/cores/stella_libretro.so;DETECT;/tmp/cores/prosystem_libretro.so;/tmp/cores/virtualjaguar_libretro.so;/tmp/cores/handy_libretro.so;/tmp/cores/hatari_libretro.so;/tmp/cores/mednafen_wswan_libretro.so;/tmp/cores/mednafen_wswan_libretro.so;/tmp/cores/bluemsx_libretro.so;/tmp/cores/prboom_libretro.so;/tmp/cores/fba_libretro.so;/tmp/cores/vecx_libretro.so;/tmp/cores/o2em_libretro.so;/tmp/cores/mame_libretro.so;/tmp/cores/bluemsx_libretro.so;/tmp/cores/bluemsx_libretro.so;/tmp/cores/mednafen_supergrafx_libretro.so;/tmp/cores/mednafen_pce_fast_libretro.so;/tmp/cores/nestopia_libretro.so;/tmp/cores/gpsp_libretro.so;/tmp/cores/gpsp_libretro.so;/tmp/cores/gambatte_libretro.so;/tmp/cores/gambatte_libretro.so;/tmp/cores/mupen64plus_libretro.so;/tmp/cores/desmume_libretro.so;/tmp/cores/desmume_libretro.so;/tmp/cores/desmume_libretro.so;/tmp/cores/desmume_libretro.so;/tmp/cores/nestopia_libretro.so;/tmp/cores/snes9x_next_libretro.so;/tmp/cores/snes9x_next_libretro.so;/tmp/cores/mednafen_vb_libretro.so;/tmp/cores/tyrquake_libretro.so;/tmp/cores/scummvm_libretro.so;/tmp/cores/picodrive_libretro.so;/tmp/cores/genesis_plus_gx_libretro.so;/tmp/cores/genesis_plus_gx_libretro.so;/tmp/cores/genesis_plus_gx_libretro.so;/tmp/cores/picodrive_libretro.so;/tmp/cores/genesis_plus_gx_libretro.so;/tmp/cores/fuse_libretro.so;/tmp/cores/mednafen_ngp_libretro.so;/tmp/cores/mednafen_ngp_libretro.so;/tmp/cores/ppsspp_libretro.so;/tmp/cores/pcsx_rearmed_libretro.so"
+5 -4
View File
@@ -2,20 +2,21 @@
rm -rf target/
DISTRO=Lakka PROJECT=Generic ARCH=x86_64 make image -j9
DISTRO=Lakka PROJECT=Generic ARCH=i386 make image -j9
DISTRO=Lakka PROJECT=RPi ARCH=arm make image -j9
DISTRO=Lakka PROJECT=RPi ARCH=arm make noobs -j9
DISTRO=Lakka PROJECT=RPi2 ARCH=arm make image -j9
DISTRO=Lakka PROJECT=RPi2 ARCH=arm make noobs -j9
DISTRO=Lakka PROJECT=imx6 ARCH=arm make image -j9
DISTRO=Lakka PROJECT=Generic ARCH=x86_64 make image -j9
DISTRO=Lakka PROJECT=Generic ARCH=i386 make image -j9
DISTRO=Lakka PROJECT=imx6 SYSTEM=cuboxi ARCH=arm make image -j9
DISTRO=Lakka PROJECT=imx6 SYSTEM=udoo ARCH=arm make image -j9
DISTRO=Lakka PROJECT=a20 ARCH=arm make image -j9
DISTRO=Lakka PROJECT=a10 ARCH=arm make image -j9
DISTRO=Lakka PROJECT=Bananapi ARCH=arm make image -j9
DISTRO=Lakka PROJECT=OdroidC1 ARCH=arm make image -j9
DISTRO=Lakka PROJECT=OdroidXU3 ARCH=arm make image -j9
DISTRO=Lakka PROJECT=WeTek_Play ARCH=arm make image -j9
DISTRO=Lakka PROJECT=WandBoard ARCH=arm make image -j9
DISTRO=Lakka PROJECT=WeTek_Core ARCH=arm make image -j9
for f in target/*; do
md5sum $f > $f.md5
+2 -2
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="alsa-lib"
PKG_VERSION="1.0.29"
PKG_VERSION="1.1.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
+3 -2
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="alsa-utils"
PKG_VERSION="1.0.29"
PKG_VERSION="1.1.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
@@ -39,6 +39,7 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-dependency-tracking \
--disable-alsaconf \
--disable-alsaloop \
--enable-alsatest \
--disable-bat \
--disable-nls"
+40
View File
@@ -0,0 +1,40 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# 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="asplib"
PKG_VERSION="2fac1bf"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/AchimTuran/asplib"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="asplib: Achim's Signal Processing LIBrary"
PKG_LONGDESC="asplib is a small and lightweight C++ library for digital signal processing."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
configure_target() {
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
-DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=0 \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -DTARGET_LINUX" \
..
}
@@ -0,0 +1,137 @@
diff -Naur a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt 2016-01-12 22:24:43.000000000 +0100
+++ b/CMakeLists.txt 2016-01-12 22:47:16.624139358 +0100
@@ -1,64 +1,17 @@
project(asplib)
cmake_minimum_required(VERSION 2.6)
-enable_language(CXX)
-
-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR})
-
-include(UseMultiArch.cmake)
set(asplib_NAME asplib)
set(asplib_DESCRIPTION "asplib (Achim's Signal Processing LIBrary), is a small and lightweight C++ library for digital signal processing.")
-set(asplib_VERSION_MAJOR ${APP_VERSION_MAJOR})
-set(asplib_VERSION_MINOR ${APP_VERSION_MINOR})
-set(asplib_VERSION_PATCH 0)
-
-if(NOT WIN32)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
-endif()
-
-if(CMAKE_SYSTEM_NAME MATCHES "Linux")
- set(CMAKE_CXX_FLAGS "-DTARGET_LINUX")
-endif()
-
-if(CMAKE_SYSTEM_NAME MATCHES "Windows")
- set(CMAKE_CXX_FLAGS "-DTARGET_WINDOWS")
-endif()
-
-#set(asplib_INCLUDE_DIRS ${TINYXML_INCLUDE_DIR} "${CMAKE_INSTALL_PREFIX}/include/kodi")
-#set(asplib_LIBRARIES ${CMAKE_THREAD_LIBS_INIT} ${TINYXML_LIBRARIES})
-
-if (NOT WIN32)
- add_definitions(-fPIC -g -O2)
-endif()
-
-include_directories(${PROJECT_SOURCE_DIR}
- ${PROJECT_SOURCE_DIR}/Biquads)
-set(SOURCES asplib_utils/computeDeviceInfo/cpuInfo.cpp
- Biquads/Biquad_Native/asplib_Biquad_Native.cpp
+set(SOURCES Biquads/Biquad_Native/asplib_Biquad_Native.cpp
Biquads/apslib_BiquadFactory.cpp)
-set(HEADERS interfaces/asplib_IBaseBiquad.h
- asplib_utils/constants_typedefs/asplib_constants.h
- asplib_utils/constants_typedefs/asplib_typedefs.h
- asplib_utils/os/asplib_base_os.h
- asplib_utils/os/windows/windows_definitions.h
- asplib_utils/os/linux/linux_definitions.h
- asplib_utils/computeDeviceInfo/cpuInfo_types.h
- asplib_utils/computeDeviceInfo/cpuInfo.h
- Biquads/apslib_BiquadFactory.h
- Biquads/Biquad_Native/asplib_Biquad_Native.h)
-
-
-#include_directories(${TINYXML_INCLUDE_DIR} ${KODI_INCLUDE_DIR})
-
-add_library(asplib ${SOURCES} ${PLAT_SOURCES})
-target_link_libraries(asplib ${asplib_LIBRARIES})
-#set_target_properties(asplib PROPERTIES VERSION ${asplib_VERSION_MAJOR}.${asplib_VERSION_MINOR}.${asplib_VERSION_PATCH}
-# SOVERSION ${asplib_VERSION_MAJOR}.0)
+add_library(asplib STATIC ${SOURCES})
-install(TARGETS asplib DESTINATION ${CMAKE_INSTALL_LIBDIR})
+include_directories(${PROJECT_SOURCE_DIR}
+ ${PROJECT_SOURCE_DIR}/Biquads)
install(DIRECTORY ${PROJECT_SOURCE_DIR}/interfaces/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/asplib/interfaces
FILES_MATCHING PATTERN "*.h")
@@ -66,8 +19,6 @@
FILES_MATCHING PATTERN "*.h")
install(DIRECTORY ${PROJECT_SOURCE_DIR}/asplib_utils/os/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/asplib/asplib_utils/os/
FILES_MATCHING PATTERN "*.h")
-install(DIRECTORY ${PROJECT_SOURCE_DIR}/asplib_utils/os/windows/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/asplib/asplib_utils/os/windows/
- FILES_MATCHING PATTERN "*.h")
install(DIRECTORY ${PROJECT_SOURCE_DIR}/asplib_utils/os/linux/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/asplib/asplib_utils/os/linux/
FILES_MATCHING PATTERN "*.h")
install(DIRECTORY ${PROJECT_SOURCE_DIR}/asplib_utils/computeDeviceInfo/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/asplib/asplib_utils/computeDeviceInfo/
@@ -77,54 +28,4 @@
install(DIRECTORY ${PROJECT_SOURCE_DIR}/Biquads/Biquad_Native/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/asplib/Biquads/Biquad_Native/
FILES_MATCHING PATTERN "*.h")
-
-# install(FILES interfaces/asplib_IBaseBiquad.h
- # asplib_utils/constants_typedefs/asplib_constants.h
- # asplib_utils/constants_typedefs/asplib_typedefs.h
-
- # DESTINATION include/asplib/asplib_utils/constants_typedefs/)
-
- # asplib_utils/os/asplib_base_os.h
- # asplib_utils/os/windows/windows_definitions.h
- # asplib_utils/os/linux/linux_definitions.h
- # utils/computeDeviceInfo/cpuInfo_types.h
- # utils/computeDeviceInfo/cpuInfo.h
- # Biquads/apslib_BiquadFactory.h
- # Biquads/Biquad_Native/asplib_Biquad_Native.h
- # )
-
-# install(FILES interfaces/asplib_IBaseBiquad.h
- # DESTINATION include/asplib/interfaces)
-# install(FILES constants_typedefs/asplib_constants.h
- # constants_typedefs/asplib_typedefs.h
- # DESTINATION include/asplib/constants_typedefs)
-# install(FILES utils/computeDeviceInfo/cpuInfo_types.h
- # utils/computeDeviceInfo/cpuInfo.h
- # DESTINATION include/asplib/utils)
-# install(FILES Biquads/apslib_BiquadFactory.h
- # Biquads/Biquad_Native/asplib_Biquad_Native.h
- # DESTINATION include/asplib/Biquads)
-
-#install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/asplib)
-
-#IF(NOT WIN32)
- # Pkgconfig
- #include(PkgConfigHandler.cmake)
- #configure_pc_file(kodiutilities kodiutilities.pc.in
- # kodiutilities.pc
- # ${CMAKE_INSTALL_PREFIX}
- # ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}
- # ${CMAKE_INSTALL_PREFIX}/include)
-
-# install(FILES ${CMAKE_BINARY_DIR}/kodiutilities.pc
-# DESTINATION ${CMAKE_INSTALL_LIBDIR_NOARCH}/pkgconfig)
-#ENDIF(NOT WIN32)
-
-# config mode
-#configure_file (kodiutilities-config.cmake.in
-# kodiutilities-config.cmake @ONLY)
-#install(FILES ${CMAKE_BINARY_DIR}/kodiutilities-config.cmake
-# DESTINATION ${CMAKE_INSTALL_LIBDIR_NOARCH}/kodiutilities)
-
-# Quell warnings with in-tree builds
-#set(KODI_BUILD_DIR ${KODI_BUILD_DIR})
+install(TARGETS asplib DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
+48
View File
@@ -0,0 +1,48 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# 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="dcadec"
PKG_VERSION="37d8e68"
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_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_IS_ADDON="no"
PKG_AUTORECONF="no"
# 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"
pre_configure_target() {
export CFLAGS="$CFLAGS -fPIC -DPIC"
export LDFLAGS="$LDFLAGS -fPIC -DPIC"
}
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
}
+1 -2
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -23,7 +23,6 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://espeak.sourceforge.net/"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.zip"
PKG_SOURCE_DIR="$PKG_NAME/$PKG_NAME-$PKG_VERSION"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
+3 -3
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# 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,8 +20,8 @@ PKG_NAME="flac"
PKG_VERSION="1.3.1"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://flac.sourceforge.net/"
PKG_LICENSE="GPLv2"
PKG_SITE="https://xiph.org/flac/"
PKG_URL="http://downloads.xiph.org/releases/flac/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain libogg"
PKG_PRIORITY="optional"
+43
View File
@@ -0,0 +1,43 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# 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="fluidsynth"
PKG_VERSION="1.1.6"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://fluidsynth.org/"
PKG_URL="$SOURCEFORGE_SRC/project/fluidsynth/fluidsynth-$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="FluidSynth: A SoundFont Synthesizer."
PKG_LONGDESC="FluidSynth renders midi music files as raw audio data, for playing or conversion. "
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
configure_target() {
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=0 \
-Denable-readline=0 \
-Denable-pulseaudio=0 \
-Denable-libsndfile=0 \
..
}
@@ -0,0 +1,18 @@
--- fluidsynth-1.1.6/CMakeLists.txt.orig 2015-04-06 13:12:55.151874342 +0200
+++ fluidsynth-1.1.6/CMakeLists.txt 2015-04-06 13:14:32.931876573 +0200
@@ -85,11 +85,11 @@
endif ( ${CMAKE_SYSTEM} MATCHES "OS2" )
# Initialize the library directory name suffix.
-if ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
- set ( _init_lib_suffix "64" )
-else ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
+#if ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
+# set ( _init_lib_suffix "64" )
+#else ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
set ( _init_lib_suffix "" )
-endif ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
+#endif ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
set ( LIB_SUFFIX ${_init_lib_suffix} CACHE STRING
"library directory name suffix (32/64/nothing)" )
mark_as_advanced ( LIB_SUFFIX )
+1 -1
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
+5 -5
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,12 +17,12 @@
################################################################################
PKG_NAME="libcdio"
PKG_VERSION="0.92"
PKG_VERSION="0.93"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/libcdio/"
PKG_URL="http://ftp.gnu.org/gnu/libcdio/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_LICENSE="GPLv3"
PKG_SITE="https://www.gnu.org/software/libcdio/"
PKG_URL="https://ftp.gnu.org/gnu/libcdio/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
+3 -1
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -31,3 +31,5 @@ PKG_LONGDESC="libmodplug renders mod music files as raw audio data, for playing
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
+3 -3
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,11 +17,11 @@
################################################################################
PKG_NAME="libogg"
PKG_VERSION="1.3.1"
PKG_VERSION="1.3.2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="http://www.xiph.org/ogg/"
PKG_SITE="https://www.xiph.org/ogg/"
PKG_URL="http://downloads.xiph.org/releases/ogg/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
+39
View File
@@ -0,0 +1,39 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# 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="libopenmpt"
PKG_VERSION="0.2.5787-beta16"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="http://lib.openmpt.org/libopenmpt/"
PKG_URL="http://lib.openmpt.org/files/libopenmpt/src/${PKG_NAME}-${PKG_VERSION}-autotools.tar.gz"
PKG_SOURCE_DIR="${PKG_NAME}-${PKG_VERSION//-beta*/}-autotools"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="libopenmpt: renders mod music files as raw audio data, for playing or conversion."
PKG_LONGDESC="libopenmpt renders mod music files as raw audio data, for playing or conversion."
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
--without-portaudio \
--without-portaudiocpp"
+44
View File
@@ -0,0 +1,44 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# 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="libsamplerate"
PKG_VERSION="0.1.8"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.mega-nerd.com/SRC/"
PKG_URL="http://www.mega-nerd.com/SRC/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="libsamplerate: A Sample Rate Converter library for audio"
PKG_LONGDESC="Libsamplerate is a Sample Rate Converter for audio. One example of where such a thing would be useful is converting audio from the CD sample rate of 44.1kHz to the 48kHz sample rate used by DAT players."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no" # ToDo
# package specific configure options
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
--enable-static \
--datadir=/usr/share \
--disable-fftw \
--disable-sndfile"
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
}
+48
View File
@@ -0,0 +1,48 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# 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="libsndfile"
PKG_VERSION="1.0.25"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://www.mega-nerd.com/libsndfile/"
PKG_URL="http://www.mega-nerd.com/$PKG_NAME/files/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain alsa-lib flac libvorbis libogg"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="libsndfile: A library for accessing various audio file formats"
PKG_LONGDESC="libsndfile is a C library for reading and writing sound files such as AIFF, AU, WAV, and others through one standard interface. It can currently read/write 8, 16, 24 and 32-bit PCM files as well as 32 and 64-bit floating point WAV files and a number of compressed formats. It compiles and runs on *nix, MacOS, and Win32."
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
# package specific configure options
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared \
--disable-silent-rules \
--disable-sqlite \
--enable-alsa \
--enable-external-libs \
--disable-experimental \
--disable-test-coverage \
--enable-largefile \
--with-gnu-ld"
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
}
@@ -0,0 +1,25 @@
diff -Naur libsndfile-1.0.25-old/configure.ac libsndfile-1.0.25-new/configure.ac
--- libsndfile-1.0.25-old/configure.ac 2011-07-13 01:59:57.000000000 -0700
+++ libsndfile-1.0.25-new/configure.ac 2011-07-13 17:04:14.000000000 -0700
@@ -18,9 +18,6 @@
AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
AM_SILENT_RULES([yes])
-dnl Add parameters for aclocal
-AC_SUBST(ACLOCAL_AMFLAGS, "-I M4")
-
AC_LANG([C])
AC_PROG_CC
diff -Naur libsndfile-1.0.25-old/Makefile.am libsndfile-1.0.25-new/Makefile.am
--- libsndfile-1.0.25-old/Makefile.am 2011-07-07 02:47:24.000000000 -0700
+++ libsndfile-1.0.25-new/Makefile.am 2011-07-13 17:04:14.000000000 -0700
@@ -2,6 +2,8 @@
DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror
+ACLOCAL_AMFLAGS = -I M4
+
if BUILD_OCTAVE_MOD
octave_dir = Octave
endif
+1 -1
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -0,0 +1,5 @@
Files have to have the .conf file name extension, but otherwise the file names can be
chosen freely. The files under pulse-daemon.conf.d are processed in alphabetical order.
In case the same option is set in multiple files, the last file to set an option
overrides earlier files. The main daemon.conf file is processed first, so
options set in files under pulse-daemon.conf.d override the main file.
@@ -0,0 +1,33 @@
<?xml version="1.0"?><!--*-nxml-*-->
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
This file is part of PulseAudio.
PulseAudio is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
License, or (at your option) any later version.
PulseAudio 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 Lesser General
Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
-->
<busconfig>
<!-- System-wide PulseAudio runs as 'root' user. This fragment is
not necessary for user PulseAudio instances. -->
<policy user="root">
<allow own="org.pulseaudio.Server"/>
<allow send_destination="org.pulseaudio.Server"/>
<allow receive_sender="org.pulseaudio.Server"/>
</policy>
</busconfig>
@@ -0,0 +1,69 @@
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio 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 Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
# This startup script is used only if PulseAudio is started in system
# mode.
### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix
### Automatically restore the volume of streams and devices
load-module module-stream-restore
load-module module-device-restore
### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore
### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams
### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink
### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle
### Enable positioned event sounds
load-module module-position-event-sounds
### Automatically load modules for dbus
.ifexists module-dbus-protocol.so
load-module module-dbus-protocol
.endif
### Automatically load modules for bluetooth
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
.ifexists module-zeroconf-publish.so
load-module module-zeroconf-publish
.endif
load-module module-native-protocol-tcp auth-anonymous=1
load-module module-switch-on-connect
+120
View File
@@ -0,0 +1,120 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# 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="pulseaudio"
PKG_VERSION="8.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://pulseaudio.org/"
PKG_URL="http://www.freedesktop.org/software/pulseaudio/releases/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain libtool json-c alsa-lib libsndfile soxr dbus systemd libressl libcap"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="pulseaudio: Yet another sound server for Unix"
PKG_LONGDESC="PulseAudio is a sound server for Linux and other Unix-like operating systems. It is intended to be an improved drop-in replacement for the Enlightened Sound Daemon (esound or esd). In addition to the features esound provides, PulseAudio has an extensible plugin architecture, support for more than one sink per source, better low-latency behavior, the ability to be embedded into other software, a completely asynchronous C API, a simple command line interface for reconfiguring the daemon while running, flexible and implicit sample type conversion and resampling, and a "Zero-Copy" architecture."
PKG_IS_ADDON="no"
# broken
PKG_AUTORECONF="no"
if [ "$BLUETOOTH_SUPPORT" = "yes" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET sbc"
PULSEAUDIO_BLUETOOTH="--enable-bluez5"
else
PULSEAUDIO_BLUETOOTH="--disable-bluez5"
fi
if [ "$AVAHI_DAEMON" = "yes" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET avahi"
PULSEAUDIO_AVAHI="--enable-avahi"
else
PULSEAUDIO_AVAHI="--disable-avahi"
fi
# package specific configure options
PKG_CONFIGURE_OPTS_TARGET="--disable-silent-rules \
--disable-nls \
--enable-largefile \
--disable-rpath \
--disable-x11 \
--disable-tests \
--disable-samplerate \
--disable-oss-output \
--disable-oss-wrapper \
--disable-coreaudio-output \
--enable-alsa \
--disable-esound \
--disable-solaris \
--disable-waveout \
--disable-glib2 \
--disable-gtk3 \
--disable-gconf \
$PULSEAUDIO_AVAHI \
--disable-jack \
--disable-asyncns \
--disable-tcpwrap \
--disable-lirc \
--enable-dbus \
--disable-bluez4 \
$PULSEAUDIO_BLUETOOTH \
--disable-bluez5-ofono-headset \
--disable-bluez5-native-headset \
--enable-udev \
--with-udev-rules-dir=/usr/lib/udev/rules.d
--disable-hal-compat \
--enable-ipv6 \
--enable-openssl \
--disable-xen \
--disable-orc \
--disable-manpages \
--disable-per-user-esound-socket \
--disable-default-build-tests \
--disable-legacy-database-entry-format \
--with-system-user=root \
--with-system-group=root \
--with-access-group=root \
--without-caps \
--without-fftw \
--without-speex \
--with-soxr \
--with-module-dir=/usr/lib/pulse"
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin/esdcompat
rm -rf $INSTALL/usr/include
rm -rf $INSTALL/usr/lib/cmake
rm -rf $INSTALL/usr/lib/pkgconfig
rm -rf $INSTALL/usr/lib/systemd
rm -rf $INSTALL/usr/share/vala
rm -rf $INSTALL/usr/share/zsh
rm -rf $INSTALL/usr/share/bash-completion
cp $PKG_DIR/config/system.pa $INSTALL/etc/pulse/
cp $PKG_DIR/config/pulseaudio-system.conf $INSTALL/etc/dbus-1/system.d/
mkdir -p $INSTALL/usr/config
cp -PR $PKG_DIR/config/pulse-daemon.conf.d $INSTALL/usr/config
ln -sf /storage/.config/pulse-daemon.conf.d $INSTALL/etc/pulse/daemon.conf.d
}
post_install() {
enable_service pulseaudio.service
}
@@ -0,0 +1,24 @@
From c9d7dcaa87f9ada49d75483a7c604dba27a0d71a Mon Sep 17 00:00:00 2001
From: Stefan Saraev <[email protected]>
Date: Tue, 7 Jan 2014 13:22:48 +0200
Subject: [PATCH] never append -dirty to server/module version
---
git-version-gen | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/git-version-gen b/git-version-gen
index 9d65b80..fcf11fd 100755
--- a/git-version-gen
+++ b/git-version-gen
@@ -152,6 +152,7 @@ v=`echo "$v" |sed 's/^v//'`
git status > /dev/null 2>&1
dirty=`sh -c 'git diff-index --name-only HEAD' 2>/dev/null` || dirty=
+dirty=
case "$dirty" in
'') ;;
*) # Append the suffix only if there isn't one already.
--
1.7.2.5
@@ -0,0 +1,13 @@
--- pulseaudio-4.0.orig/src/pulsecore/core-util.c 2014-01-12 23:31:26.281525000 -0800
+++ pulseaudio-4.0/src/pulsecore/core-util.c 2014-01-12 23:32:32.977118803 -0800
@@ -1524,10 +1524,6 @@
if (stat(p, &st) < 0)
return -errno;
-#ifdef HAVE_GETUID
- if (st.st_uid != getuid())
- return -EACCES;
-#endif
return 0;
}
@@ -0,0 +1,13 @@
diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh
index 63ae69d..cfde522 100644
--- a/build-aux/ltmain.sh
+++ b/build-aux/ltmain.sh
@@ -6918,7 +6918,7 @@ func_mode_link ()
fi
else
# We cannot seem to hardcode it, guess we'll fake it.
- add_dir="-L$libdir"
+ #add_dir="-L$libdir"
# Try looking first in the location we're being installed to.
if test -n "$inst_prefix_dir"; then
case $libdir in
@@ -0,0 +1,19 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
#
# 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/>.
################################################################################
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/pulseaudio"
@@ -0,0 +1,14 @@
[Unit]
Description=PulseAudio Sound System
After=syslog.target local-fs.target
[Service]
Restart=on-failure
ExecStart=/usr/bin/pulseaudio --system
TimeoutStopSec=1s
RestartSec=2
StartLimitInterval=60
StartLimitBurst=10
[Install]
WantedBy=multi-user.target
+36
View File
@@ -0,0 +1,36 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# 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="sbc"
PKG_VERSION="1.3"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.bluez.org/"
PKG_URL="http://www.kernel.org/pub/linux/bluetooth/sbc-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="network"
PKG_SHORTDESC="sbc: standalone SBC library"
PKG_LONGDESC="standalone SBC library"
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared \
--disable-tools --disable-tester"
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,28 +16,26 @@
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="unionfs-fuse"
PKG_VERSION="5169fbe"
PKG_NAME="sidplay-libs"
PKG_VERSION="2.1.1"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="BSD"
PKG_SITE="https://github.com/rpodgorny/unionfs-fuse"
PKG_URL="$LAKKA_MIRROR/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain fuse"
PKG_LICENSE="GPL"
PKG_SITE="http://sidplay2.sourceforge.net/"
PKG_URL="http://mirrors.xbmc.org/build-deps/sources/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="system"
PKG_SHORTDESC="A user space unionfs implementation"
PKG_LONGDESC="A user space unionfs implementation"
PKG_SECTION="audio"
PKG_SHORTDESC="sidplay-libs"
PKG_LONGDESC="sidplay-libs"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--disable-shared --enable-static"
pre_configure_target() {
# fails to build in subdirs
cd $ROOT/$PKG_BUILD
}
makeinstall_target() {
mkdir -p $INSTALL/bin
cp src/unionfs $INSTALL/bin
cp mount.unionfs $INSTALL/bin
rm -rf .$TARGET_NAME
}
@@ -0,0 +1,26 @@
--- sidplay-libs-2.1.1/libsidplay/unix/my_macros.m4.orig 2004-06-14 22:08:04.000000000 +0200
+++ sidplay-libs-2.1.1/libsidplay/unix/my_macros.m4 2013-11-18 01:23:32.195297135 +0100
@@ -80,8 +80,8 @@
AC_CACHE_VAL(test_cv_have_ios_binary,
[
AC_TRY_COMPILE(
- [#include <fstream.h>],
- [ifstream myTest(ios::in|ios::binary);],
+ [#include <fstream>],
+ [std::ifstream myTest(std::ios::in|std::ios::binary);],
[test_cv_have_ios_binary=yes],
[test_cv_have_ios_binary=no]
)
@@ -105,9 +105,9 @@
AC_CACHE_VAL(test_cv_have_ios_openmode,
[
AC_TRY_COMPILE(
- [#include <fstream.h>
- #include <iomanip.h>],
- [ios::openmode myTest = ios::in;],
+ [#include <fstream>
+ #include <iomanip>],
+ [std::ios_base::openmode myTest = std::ios::in;],
[test_cv_have_ios_openmode=yes],
[test_cv_have_ios_openmode=no]
)
@@ -0,0 +1,26 @@
--- sidplay-libs-2.1.1/libsidplay/include/sidplay/SmartPtr.h.old 2013-11-18 00:40:16.679173012 +0100
+++ sidplay-libs-2.1.1/libsidplay/include/sidplay/SmartPtr.h 2013-11-18 00:41:22.451176157 +0100
@@ -211,16 +211,16 @@
{
if ( bufferLen >= 1 )
{
- pBufCurrent = ( bufBegin = buffer );
- bufEnd = bufBegin + bufferLen;
- bufLen = bufferLen;
- status = true;
+ this->pBufCurrent = ( this->bufBegin = buffer );
+ this->bufEnd = this->bufBegin + bufferLen;
+ this->bufLen = bufferLen;
+ this->status = true;
}
else
{
- pBufCurrent = bufBegin = bufEnd = 0;
- bufLen = 0;
- status = false;
+ this->pBufCurrent = this->bufBegin = this->bufEnd = 0;
+ this->bufLen = 0;
+ this->status = false;
}
}
};
@@ -0,0 +1,11 @@
--- sidplay-libs-2.1.1/libsidutils/include/sidplay/utils/SidUsage.h.orig 2013-11-18 00:58:06.111224154 +0100
+++ sidplay-libs-2.1.1/libsidutils/include/sidplay/utils/SidUsage.h 2013-11-18 00:58:28.219225212 +0100
@@ -33,7 +33,7 @@
uint_least16_t length; // usage scan length
// Copy common parts of basic usage to extended usage.
- sid2_usage_t &sid2_usage_t::operator= (const sid_usage_t &usage)
+ sid2_usage_t &operator= (const sid_usage_t &usage)
{
*((sid_usage_t *) this) = usage;
return *this;
@@ -0,0 +1,30 @@
--- sidplay-libs-2.1.1/builders/hardsid-builder/src/hardsid-builder.cpp.orig 2004-06-14 22:07:57.000000000 +0200
+++ sidplay-libs-2.1.1/builders/hardsid-builder/src/hardsid-builder.cpp 2013-11-18 01:01:50.399234880 +0100
@@ -55,6 +55,7 @@
#include "hardsid.h"
#include "hardsid-emu.h"
+#include <string.h>
#ifdef HAVE_MSWINDOWS
--- sidplay-libs-2.1.1/builders/resid-builder/src/resid.cpp.orig 2013-11-18 01:00:07.827229975 +0100
+++ sidplay-libs-2.1.1/builders/resid-builder/src/resid.cpp 2013-11-18 01:00:21.563230632 +0100
@@ -24,6 +24,7 @@
#include "resid.h"
#include "resid-emu.h"
+#include <string.h>
char ReSID::m_credit[];
--- sidplay-libs-2.1.1/builders/resid-builder/src/resid-builder.cpp.orig 2013-11-18 01:00:39.727231501 +0100
+++ sidplay-libs-2.1.1/builders/resid-builder/src/resid-builder.cpp 2013-11-18 01:00:57.415232346 +0100
@@ -45,6 +45,7 @@
#include "resid.h"
#include "resid-emu.h"
+#include <string.h>
// Error String(s)
const char *ReSIDBuilder::ERR_FILTER_DEFINITION = "RESID ERROR: Filter definition is not valid (see docs).";
+54
View File
@@ -0,0 +1,54 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# 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="soxr"
PKG_VERSION="0.1.2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
PKG_SITE="http://sourceforge.net/p/soxr/wiki/Home/"
PKG_URL="$SOURCEFORGE_SRC/soxr/$PKG_NAME-$PKG_VERSION-Source.tar.xz"
PKG_SOURCE_DIR="$PKG_NAME-$PKG_VERSION-Source"
PKG_DEPENDS_TARGET="toolchain cmake:host"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="soxr: a library which performs one-dimensional sample-rate conversion."
PKG_LONGDESC="The SoX Resampler library performs one-dimensional sample-rate conversion. it may be used, for example, to resample PCM-encoded audio."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
# package specific configure options
configure_target() {
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DHAVE_WORDS_BIGENDIAN_EXITCODE=1 \
-DBUILD_TESTS=0 \
-DBUILD_EXAMPLES=1 \
-DBUILD_SHARED_LIBS=OFF ..
}
#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
#}
+2 -2
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="taglib"
PKG_VERSION="1.8"
PKG_VERSION="1.9.1"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"
@@ -0,0 +1,128 @@
From 4a7d31c87bf41c1de21cb725176d5b34c2a95720 Mon Sep 17 00:00:00 2001
From: Tsuda Kageyu <[email protected]>
Date: Thu, 14 Nov 2013 14:05:32 +0900
Subject: [PATCH] Rewrote ByteVector::replace() simpler
---
taglib/toolkit/tbytevector.cpp | 77 +++++++++++++++---------------------------
tests/test_bytevector.cpp | 5 +++
2 files changed, 33 insertions(+), 49 deletions(-)
diff --git a/taglib/toolkit/tbytevector.cpp b/taglib/toolkit/tbytevector.cpp
index b658246..566a20f 100644
--- a/taglib/toolkit/tbytevector.cpp
+++ b/taglib/toolkit/tbytevector.cpp
@@ -31,6 +31,7 @@
#include <iostream>
#include <cstdio>
#include <cstring>
+#include <cstddef>
#include <tstring.h>
#include <tdebug.h>
@@ -508,62 +509,40 @@ ByteVector &ByteVector::replace(const ByteVector &pattern, const ByteVector &wit
if(pattern.size() == 0 || pattern.size() > size())
return *this;
- const uint withSize = with.size();
- const uint patternSize = pattern.size();
- int offset = 0;
+ const size_t withSize = with.size();
+ const size_t patternSize = pattern.size();
+ const ptrdiff_t diff = withSize - patternSize;
+
+ size_t offset = 0;
+ while (true)
+ {
+ offset = find(pattern, offset);
+ if(offset == static_cast<size_t>(-1)) // Use npos in taglib2.
+ break;
- if(withSize == patternSize) {
- // I think this case might be common enough to optimize it
detach();
- offset = find(pattern);
- while(offset >= 0) {
- ::memcpy(data() + offset, with.data(), withSize);
- offset = find(pattern, offset + withSize);
- }
- return *this;
- }
- // calculate new size:
- uint newSize = 0;
- for(;;) {
- int next = find(pattern, offset);
- if(next < 0) {
- if(offset == 0)
- // pattern not found, do nothing:
- return *this;
- newSize += size() - offset;
- break;
+ if(diff < 0) {
+ ::memmove(
+ data() + offset + withSize,
+ data() + offset + patternSize,
+ size() - offset - patternSize);
+ resize(size() + diff);
}
- newSize += (next - offset) + withSize;
- offset = next + patternSize;
- }
-
- // new private data of appropriate size:
- ByteVectorPrivate *newData = new ByteVectorPrivate(newSize, 0);
- char *target = DATA(newData);
- const char *source = data();
-
- // copy modified data into new private data:
- offset = 0;
- for(;;) {
- int next = find(pattern, offset);
- if(next < 0) {
- ::memcpy(target, source + offset, size() - offset);
- break;
+ else if(diff > 0) {
+ resize(size() + diff);
+ ::memmove(
+ data() + offset + withSize,
+ data() + offset + patternSize,
+ size() - diff - offset - patternSize);
}
- int chunkSize = next - offset;
- ::memcpy(target, source + offset, chunkSize);
- target += chunkSize;
- ::memcpy(target, with.data(), withSize);
- target += withSize;
- offset += chunkSize + patternSize;
- }
- // replace private data:
- if(d->deref())
- delete d;
+ ::memcpy(data() + offset, with.data(), with.size());
- d = newData;
+ offset += withSize;
+ if(offset > size() - patternSize)
+ break;
+ }
return *this;
}
diff --git a/tests/test_bytevector.cpp b/tests/test_bytevector.cpp
index 9efd23a..eca74f8 100644
--- a/tests/test_bytevector.cpp
+++ b/tests/test_bytevector.cpp
@@ -239,6 +239,11 @@ class TestByteVector : public CppUnit::TestFixture
a.replace(ByteVector("ab"), ByteVector());
CPPUNIT_ASSERT_EQUAL(ByteVector("cdf"), a);
}
+ {
+ ByteVector a("abcdabf");
+ a.replace(ByteVector("bf"), ByteVector("x"));
+ CPPUNIT_ASSERT_EQUAL(ByteVector("abcdax"), a);
+ }
}
};
+4 -4
View File
@@ -51,7 +51,7 @@
#
# For sites which prefer IPv4 connections change the last line to
#
precedence ::ffff:0:0/96 100
#precedence ::ffff:0:0/96 100
#
# scopev4 <mask> <value>
@@ -60,6 +60,6 @@ precedence ::ffff:0:0/96 100
# used. Changing these defaults should hardly ever be necessary.
# The defaults are equivalent to:
#
scopev4 ::ffff:169.254.0.0/112 2
scopev4 ::ffff:127.0.0.0/104 2
scopev4 ::ffff:0.0.0.0/96 14
#scopev4 ::ffff:169.254.0.0/112 2
#scopev4 ::ffff:127.0.0.0/104 2
#scopev4 ::ffff:0.0.0.0/96 14
+8 -4
View File
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="glibc"
PKG_VERSION="2.21"
PKG_VERSION="2.22"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
@@ -139,10 +139,13 @@ post_makeinstall_target() {
# remove locales and charmaps
rm -rf $INSTALL/usr/share/i18n/charmaps
rm -rf $INSTALL/usr/share/i18n/locales
mkdir -p $INSTALL/usr/share/i18n/locales
cp -PR $ROOT/$PKG_BUILD/localedata/locales/POSIX $INSTALL/usr/share/i18n/locales
if [ ! "$GLIBC_LOCALES" = yes ]; then
rm -rf $INSTALL/usr/share/i18n/locales
mkdir -p $INSTALL/usr/share/i18n/locales
cp -PR $ROOT/$PKG_BUILD/localedata/locales/POSIX $INSTALL/usr/share/i18n/locales
fi
# create default configs
mkdir -p $INSTALL/etc
@@ -169,6 +172,7 @@ makeinstall_init() {
cp -PR $ROOT/$PKG_BUILD/.$TARGET_NAME/elf/ld*.so* $INSTALL/lib
cp $ROOT/$PKG_BUILD/.$TARGET_NAME/libc.so.6 $INSTALL/lib
cp $ROOT/$PKG_BUILD/.$TARGET_NAME/nptl/libpthread.so.0 $INSTALL/lib
cp -PR $ROOT/$PKG_BUILD/.$TARGET_NAME/rt/librt.so* $INSTALL/lib
if [ "$TARGET_ARCH" = "arm" -a "$TARGET_FLOAT" = "hard" ]; then
ln -sf ld.so $INSTALL/lib/ld-linux.so.3
@@ -0,0 +1,27 @@
From 5c8c3123652045191474a4ca85fbb6e8d9e7d2bc Mon Sep 17 00:00:00 2001
From: Roland McGrath <[email protected]>
Date: Fri, 4 Sep 2015 14:37:56 -0700
Subject: [PATCH] BZ#18921: Fix opendir inverted o_directory_works test.
(cherry picked from commit bd9e69abb887d78d0d6708fc089cc9f3eabf106d)
---
ChangeLog | 8 ++++++++
sysdeps/posix/opendir.c | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/sysdeps/posix/opendir.c b/sysdeps/posix/opendir.c
index 6509f5c..9edf056 100644
--- a/sysdeps/posix/opendir.c
+++ b/sysdeps/posix/opendir.c
@@ -105,7 +105,7 @@ need_isdir_precheck (void)
tryopen_o_directory ();
/* We can skip the expensive `stat' call if O_DIRECTORY works. */
- return o_directory_works > 0;
+ return o_directory_works < 0;
#endif
return true;
}
--
1.9.4
@@ -0,0 +1,206 @@
From 3007f797a1a596e954f44879a5a7267966186ba4 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <[email protected]>
Date: Fri, 28 Aug 2015 17:08:49 -0400
Subject: [PATCH] getmntent: fix memory corruption w/blank lines [BZ #18887]
The fix for BZ #17273 introduced a single byte of memory corruption when
the line is entirely blank. It would walk back past the start of the
buffer if the heap happened to be 0x20 or 0x09 and then write a NUL byte.
buffer = '\n';
end_ptr = buffer;
while (end_ptr[-1] == ' ' || end_ptr[-1] == '\t')
end_ptr--;
*end_ptr = '\0';
Fix that and rework the tests. Adding the testcase for BZ #17273 to the
existing \040 parser does not really make sense as it's unrelated, and
leads to confusing behavior: it implicitly relies on the new entry being
longer than the previous entry (since it just rewinds the FILE*). Split
it out into its own dedicated testcase instead.
(cherry picked from commit b0e805fa0d6fea33745952df7b7f5442ca4c374f)
---
ChangeLog | 10 ++++++++
NEWS | 2 +-
misc/Makefile | 3 ++-
misc/mntent_r.c | 4 +++-
misc/tst-mntent-blank-corrupt.c | 45 ++++++++++++++++++++++++++++++++++
misc/tst-mntent-blank-passno.c | 53 +++++++++++++++++++++++++++++++++++++++++
misc/tst-mntent.c | 20 ----------------
7 files changed, 114 insertions(+), 23 deletions(-)
create mode 100644 misc/tst-mntent-blank-corrupt.c
create mode 100644 misc/tst-mntent-blank-passno.c
diff --git a/misc/Makefile b/misc/Makefile
index aecb0da..2f5edf6 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -76,7 +76,8 @@ install-lib := libg.a
gpl2lgpl := error.c error.h
tests := tst-dirname tst-tsearch tst-fdset tst-efgcvt tst-mntent tst-hsearch \
- tst-error1 tst-pselect tst-insremque tst-mntent2 bug-hsearch1
+ tst-error1 tst-pselect tst-insremque tst-mntent2 bug-hsearch1 \
+ tst-mntent-blank-corrupt tst-mntent-blank-passno
ifeq ($(run-built-tests),yes)
tests-special += $(objpfx)tst-error1-mem.out
endif
diff --git a/misc/mntent_r.c b/misc/mntent_r.c
index 6159873..4f26998 100644
--- a/misc/mntent_r.c
+++ b/misc/mntent_r.c
@@ -136,7 +136,9 @@ __getmntent_r (FILE *stream, struct mntent *mp, char *buffer, int bufsiz)
end_ptr = strchr (buffer, '\n');
if (end_ptr != NULL) /* chop newline */
{
- while (end_ptr[-1] == ' ' || end_ptr[-1] == '\t')
+ /* Do not walk past the start of buffer if it's all whitespace. */
+ while (end_ptr != buffer
+ && (end_ptr[-1] == ' ' || end_ptr[-1] == '\t'))
end_ptr--;
*end_ptr = '\0';
}
diff --git a/misc/tst-mntent-blank-corrupt.c b/misc/tst-mntent-blank-corrupt.c
new file mode 100644
index 0000000..92266a3
--- /dev/null
+++ b/misc/tst-mntent-blank-corrupt.c
@@ -0,0 +1,45 @@
+/* Make sure blank lines does not cause memory corruption BZ #18887.
+
+ Copyright (C) 2009-2015 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#include <mntent.h>
+#include <stdio.h>
+#include <string.h>
+
+/* Make sure blank lines don't trigger memory corruption. This doesn't happen
+ for all targets though, so it's a best effort test BZ #18887. */
+static int
+do_test (void)
+{
+ FILE *fp;
+
+ fp = tmpfile ();
+ fputs ("\n \n/foo\\040dir /bar\\040dir auto bind \t \n", fp);
+ rewind (fp);
+
+ /* The corruption happens here ... */
+ getmntent (fp);
+ /* ... but trigers here. */
+ endmntent (fp);
+
+ /* If the test failed, we would crash, and not hit this point. */
+ return 0;
+}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"
diff --git a/misc/tst-mntent-blank-passno.c b/misc/tst-mntent-blank-passno.c
new file mode 100644
index 0000000..fc04291
--- /dev/null
+++ b/misc/tst-mntent-blank-passno.c
@@ -0,0 +1,53 @@
+/* Make sure trailing whitespace is handled properly BZ #17273.
+
+ Copyright (C) 2009-2015 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#include <mntent.h>
+#include <stdio.h>
+#include <string.h>
+
+/* Check entries to make sure trailing whitespace is ignored and we return the
+ correct passno value BZ #17273. */
+static int
+do_test (void)
+{
+ int result = 0;
+ FILE *fp;
+ struct mntent *mnt;
+
+ fp = tmpfile ();
+ fputs ("/foo\\040dir /bar\\040dir auto bind \t \n", fp);
+ rewind (fp);
+
+ mnt = getmntent (fp);
+ if (strcmp (mnt->mnt_fsname, "/foo dir") != 0
+ || strcmp (mnt->mnt_dir, "/bar dir") != 0
+ || strcmp (mnt->mnt_type, "auto") != 0
+ || strcmp (mnt->mnt_opts, "bind") != 0
+ || mnt->mnt_freq != 0
+ || mnt->mnt_passno != 0)
+ {
+ puts ("Error while reading entry with trailing whitespaces");
+ result = 1;
+ }
+
+ return result;
+}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"
diff --git a/misc/tst-mntent.c b/misc/tst-mntent.c
index 876c89f..820b354 100644
--- a/misc/tst-mntent.c
+++ b/misc/tst-mntent.c
@@ -73,26 +73,6 @@ main (int argc, char *argv[])
puts ("Error while reading written entry back in");
result = 1;
}
-
- /* Part III: Entry with whitespaces at the end of a line. */
- rewind (fp);
-
- fputs ("/foo\\040dir /bar\\040dir auto bind \t \n", fp);
-
- rewind (fp);
-
- mnt = getmntent (fp);
-
- if (strcmp (mnt->mnt_fsname, "/foo dir") != 0
- || strcmp (mnt->mnt_dir, "/bar dir") != 0
- || strcmp (mnt->mnt_type, "auto") != 0
- || strcmp (mnt->mnt_opts, "bind") != 0
- || mnt->mnt_freq != 0
- || mnt->mnt_passno != 0)
- {
- puts ("Error while reading entry with trailing whitespaces");
- result = 1;
- }
}
return result;
--
1.9.4
@@ -0,0 +1,71 @@
From 561a9f11a974a447acb3dd03550a05df701a900e Mon Sep 17 00:00:00 2001
From: Andreas Schwab <[email protected]>
Date: Mon, 10 Aug 2015 14:12:47 +0200
Subject: [PATCH] Readd O_LARGEFILE flag for openat64 (bug 18781)
(cherry picked from commit eb32b0d40308166c4d8f6330cc2958cb1e545075)
---
ChangeLog | 7 +++++++
NEWS | 2 +-
io/test-lfs.c | 21 ++++++++++++++++++++-
sysdeps/unix/sysv/linux/openat.c | 5 +++++
4 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/io/test-lfs.c b/io/test-lfs.c
index 539c2a2..b6ebae4 100644
--- a/io/test-lfs.c
+++ b/io/test-lfs.c
@@ -144,7 +144,7 @@ test_ftello (void)
int
do_test (int argc, char *argv[])
{
- int ret;
+ int ret, fd2;
struct stat64 statbuf;
ret = lseek64 (fd, TWO_GB+100, SEEK_SET);
@@ -195,6 +195,25 @@ do_test (int argc, char *argv[])
error (EXIT_FAILURE, 0, "stat reported size %lld instead of %lld.",
(long long int) statbuf.st_size, (TWO_GB + 100 + 5));
+ fd2 = openat64 (AT_FDCWD, name, O_RDWR);
+ if (fd2 == -1)
+ {
+ if (errno == ENOSYS)
+ {
+ /* Silently ignore this test. */
+ error (0, 0, "openat64 is not supported");
+ }
+ else
+ error (EXIT_FAILURE, errno, "openat64 failed to open big file");
+ }
+ else
+ {
+ ret = close (fd2);
+
+ if (ret == -1)
+ error (EXIT_FAILURE, errno, "error closing file");
+ }
+
test_ftello ();
return 0;
diff --git a/sysdeps/unix/sysv/linux/openat.c b/sysdeps/unix/sysv/linux/openat.c
index 6777123..ad8e31d 100644
--- a/sysdeps/unix/sysv/linux/openat.c
+++ b/sysdeps/unix/sysv/linux/openat.c
@@ -68,6 +68,11 @@ __OPENAT (int fd, const char *file, int oflag, ...)
va_end (arg);
}
+ /* We have to add the O_LARGEFILE flag for openat64. */
+#ifdef MORE_OFLAGS
+ oflag |= MORE_OFLAGS;
+#endif
+
return SYSCALL_CANCEL (openat, fd, file, oflag, mode);
}
libc_hidden_def (__OPENAT)
--
1.9.4
@@ -0,0 +1,177 @@
From a34d1c6afc86521d6ad17662a3b5362d8481514c Mon Sep 17 00:00:00 2001
From: Maxim Ostapenko <[email protected]>
Date: Mon, 10 Aug 2015 10:47:54 +0300
Subject: [PATCH] Clear DF_1_NODELETE flag only for failed to load library.
https://sourceware.org/bugzilla/show_bug.cgi?id=18778
If dlopen fails to load an object that has triggered loading libpthread it
causes ld.so to unload libpthread because its DF_1_NODELETE flags has been
forcefully cleared. The next call to __rtdl_unlock_lock_recursive will crash
since pthread_mutex_unlock no longer exists.
This patch moves l->l_flags_1 &= ~DF_1_NODELETE out of loop through all loaded
libraries and performs the action only on inconsistent one.
[BZ #18778]
* elf/Makefile (tests): Add Add tst-nodelete2.
(modules-names): Add tst-nodelete2mod.
(tst-nodelete2mod.so-no-z-defs): New.
($(objpfx)tst-nodelete2): Likewise.
($(objpfx)tst-nodelete2.out): Likewise.
(LDFLAGS-tst-nodelete2): Likewise.
* elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
out of loop through all loaded libraries.
* elf/tst-nodelete2.c: New file.
* elf/tst-nodelete2mod.c: Likewise.
(cherry picked from commit f25238ffe0455013174438376b3ee88df496f9d1)
---
ChangeLog | 14 +++++++++
NEWS | 2 +-
elf/Makefile | 11 +++++--
elf/dl-close.c | 15 ++++-----
elf/tst-nodelete2.c | 37 +++++++++++++++++++++++
elf/{tst-znodelete-zlib.cc => tst-nodelete2mod.c} | 3 +-
6 files changed, 71 insertions(+), 11 deletions(-)
create mode 100644 elf/tst-nodelete2.c
rename elf/{tst-znodelete-zlib.cc => tst-nodelete2mod.c} (50%)
diff --git a/elf/Makefile b/elf/Makefile
index 4ceeaf8..71a18a1 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -148,7 +148,8 @@ tests += loadtest restest1 preloadtest loadfail multiload origtest resolvfail \
tst-unique1 tst-unique2 $(if $(CXX),tst-unique3 tst-unique4 \
tst-nodelete) \
tst-initorder tst-initorder2 tst-relsort1 tst-null-argv \
- tst-ptrguard1 tst-tlsalign tst-tlsalign-extern tst-nodelete-opened
+ tst-ptrguard1 tst-tlsalign tst-tlsalign-extern tst-nodelete-opened \
+ tst-nodelete2
# reldep9
ifeq ($(build-hardcoded-path-in-tests),yes)
tests += tst-dlopen-aout
@@ -218,7 +219,7 @@ modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
tst-initorder2d \
tst-relsort1mod1 tst-relsort1mod2 tst-array2dep \
tst-array5dep tst-null-argv-lib \
- tst-tlsalign-lib tst-nodelete-opened-lib
+ tst-tlsalign-lib tst-nodelete-opened-lib tst-nodelete2mod
ifeq (yes,$(have-protected-data))
modules-names += tst-protected1moda tst-protected1modb
tests += tst-protected1a tst-protected1b
@@ -594,6 +595,7 @@ tst-auditmod9b.so-no-z-defs = yes
tst-nodelete-uniquemod.so-no-z-defs = yes
tst-nodelete-rtldmod.so-no-z-defs = yes
tst-nodelete-zmod.so-no-z-defs = yes
+tst-nodelete2mod.so-no-z-defs = yes
ifeq ($(build-shared),yes)
# Build all the modules even when not actually running test programs.
@@ -1164,6 +1166,11 @@ $(objpfx)tst-nodelete.out: $(objpfx)tst-nodelete-uniquemod.so \
LDFLAGS-tst-nodelete = -rdynamic
LDFLAGS-tst-nodelete-zmod.so = -Wl,--enable-new-dtags,-z,nodelete
+$(objpfx)tst-nodelete2: $(libdl)
+$(objpfx)tst-nodelete2.out: $(objpfx)tst-nodelete2mod.so
+
+LDFLAGS-tst-nodelete2 = -rdynamic
+
$(objpfx)tst-initorder-cmp.out: tst-initorder.exp $(objpfx)tst-initorder.out
cmp $^ > $@; \
$(evaluate-test)
diff --git a/elf/dl-close.c b/elf/dl-close.c
index 9105277..c897247 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -144,6 +144,14 @@ _dl_close_worker (struct link_map *map, bool force)
char done[nloaded];
struct link_map *maps[nloaded];
+ /* Clear DF_1_NODELETE to force object deletion. We don't need to touch
+ l_tls_dtor_count because forced object deletion only happens when an
+ error occurs during object load. Destructor registration for TLS
+ non-POD objects should not have happened till then for this
+ object. */
+ if (force)
+ map->l_flags_1 &= ~DF_1_NODELETE;
+
/* Run over the list and assign indexes to the link maps and enter
them into the MAPS array. */
int idx = 0;
@@ -153,13 +161,6 @@ _dl_close_worker (struct link_map *map, bool force)
maps[idx] = l;
++idx;
- /* Clear DF_1_NODELETE to force object deletion. We don't need to touch
- l_tls_dtor_count because forced object deletion only happens when an
- error occurs during object load. Destructor registration for TLS
- non-POD objects should not have happened till then for this
- object. */
- if (force)
- l->l_flags_1 &= ~DF_1_NODELETE;
}
assert (idx == nloaded);
diff --git a/elf/tst-nodelete2.c b/elf/tst-nodelete2.c
new file mode 100644
index 0000000..388e8af
--- /dev/null
+++ b/elf/tst-nodelete2.c
@@ -0,0 +1,37 @@
+#include "../dlfcn/dlfcn.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include <gnu/lib-names.h>
+
+static int
+do_test (void)
+{
+ int result = 0;
+
+ printf ("\nOpening pthread library.\n");
+ void *pthread = dlopen (LIBPTHREAD_SO, RTLD_LAZY);
+
+ /* This is a test for correct DF_1_NODELETE clearing when dlopen failure
+ happens. We should clear DF_1_NODELETE for failed library only, because
+ doing this for others (e.g. libpthread) might cause them to be unloaded,
+ that may lead to some global references (e.g. __rtld_lock_unlock) to be
+ broken. The dlopen should fail because of undefined symbols in shared
+ library, that cause DF_1_NODELETE to be cleared. For libpthread, this
+ flag should be set, because if not, SIGSEGV will happen in dlclose. */
+ if (dlopen ("tst-nodelete2mod.so", RTLD_NOW) != NULL)
+ {
+ printf ("Unique symbols test failed\n");
+ result = 1;
+ }
+
+ if (pthread)
+ dlclose (pthread);
+
+ if (result == 0)
+ printf ("SUCCESS\n");
+
+ return result;
+}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"
diff --git a/elf/tst-znodelete-zlib.cc b/elf/tst-nodelete2mod.c
similarity index 50%
rename from elf/tst-znodelete-zlib.cc
rename to elf/tst-nodelete2mod.c
index 1e8f368..e88c756 100644
--- a/elf/tst-znodelete-zlib.cc
+++ b/elf/tst-nodelete2mod.c
@@ -1,6 +1,7 @@
+/* Undefined symbol. */
extern int not_exist (void);
int foo (void)
{
- return not_exist ();
+ return not_exist ();
}
--
1.9.4
@@ -0,0 +1,319 @@
From 6c84109cfa26f35c3dfed3acb97d347361bd5849 Mon Sep 17 00:00:00 2001
From: Carlos O'Donell <[email protected]>
Date: Thu, 8 Oct 2015 16:34:53 -0400
Subject: [PATCH] strcoll: Remove incorrect STRDIFF-based optimization (Bug
18589).
The optimization introduced in commit
f13c2a8dff2329c6692a80176262ceaaf8a6f74e, causes regressions in
sorting for languages that have digraphs that change sort order, like
cs_CZ which sorts ch between h and i.
My analysis shows the fast-forwarding optimization in STRCOLL advances
through a digraph while possibly stopping in the middle which results
in a subsequent skipping of the digraph and incorrect sorting. The
optimization is incorrect as implemented and because of that I'm
removing it for 2.23, and I will also commit this fix for 2.22 where
it was originally introduced.
This patch reverts the optimization, introduces a new bug-strcoll2.c
regression test that tests both cs_CZ.UTF-8 and da_DK.ISO-8859-1 and
ensures they sort one digraph each correctly. The optimization can't be
applied without regressing this test.
Checked on x86_64, bug-strcoll2.c fails without this patch and passes
after. This will also get a fix on 2.22 which has the same bug.
(cherry picked from commit 87701a58e291bd7ac3b407d10a829dac52c9c16e)
---
ChangeLog | 14 +++++++
NEWS | 2 +-
locale/C-collate.c | 4 +-
locale/categories.def | 1 -
locale/langinfo.h | 1 -
locale/localeinfo.h | 8 ----
locale/programs/ld-collate.c | 9 -----
string/bug-strcoll2.c | 93 ++++++++++++++++++++++++++++++++++++++++++++
string/strcoll_l.c | 38 +-----------------
wcsmbs/wcscoll_l.c | 1 -
10 files changed, 110 insertions(+), 61 deletions(-)
create mode 100644 string/bug-strcoll2.c
diff --git a/locale/C-collate.c b/locale/C-collate.c
index d7f3c55..06dfdfa 100644
--- a/locale/C-collate.c
+++ b/locale/C-collate.c
@@ -144,8 +144,6 @@ const struct __locale_data _nl_C_LC_COLLATE attribute_hidden =
/* _NL_COLLATE_COLLSEQWC */
{ .string = (const char *) collseqwc },
/* _NL_COLLATE_CODESET */
- { .string = _nl_C_codeset },
- /* _NL_COLLATE_ENCODING_TYPE */
- { .word = __cet_8bit }
+ { .string = _nl_C_codeset }
}
};
diff --git a/locale/categories.def b/locale/categories.def
index 045489d..a8dda53 100644
--- a/locale/categories.def
+++ b/locale/categories.def
@@ -58,7 +58,6 @@ DEFINE_CATEGORY
DEFINE_ELEMENT (_NL_COLLATE_COLLSEQMB, "collate-collseqmb", std, wstring)
DEFINE_ELEMENT (_NL_COLLATE_COLLSEQWC, "collate-collseqwc", std, wstring)
DEFINE_ELEMENT (_NL_COLLATE_CODESET, "collate-codeset", std, string)
- DEFINE_ELEMENT (_NL_COLLATE_ENCODING_TYPE, "collate-encoding-type", std, word)
), NO_POSTLOAD)
diff --git a/locale/langinfo.h b/locale/langinfo.h
index ffc5c7f..a565d9d 100644
--- a/locale/langinfo.h
+++ b/locale/langinfo.h
@@ -255,7 +255,6 @@ enum
_NL_COLLATE_COLLSEQMB,
_NL_COLLATE_COLLSEQWC,
_NL_COLLATE_CODESET,
- _NL_COLLATE_ENCODING_TYPE,
_NL_NUM_LC_COLLATE,
/* LC_CTYPE category: character classification.
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index bdab9fe..1d2ee00 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -110,14 +110,6 @@ enum coll_sort_rule
sort_mask
};
-/* Collation encoding type. */
-enum collation_encoding_type
-{
- __cet_other,
- __cet_8bit,
- __cet_utf8
-};
-
/* We can map the types of the entries into a few categories. */
enum value_type
{
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index a39a94f..dc0fe30 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -32,7 +32,6 @@
#include "linereader.h"
#include "locfile.h"
#include "elem-hash.h"
-#include "../localeinfo.h"
/* Uncomment the following line in the production version. */
/* #define NDEBUG 1 */
@@ -2131,8 +2130,6 @@ collate_output (struct localedef_t *locale, const struct charmap_t *charmap,
/* The words have to be handled specially. */
if (idx == _NL_ITEM_INDEX (_NL_COLLATE_SYMB_HASH_SIZEMB))
add_locale_uint32 (&file, 0);
- else if (idx == _NL_ITEM_INDEX (_NL_COLLATE_ENCODING_TYPE))
- add_locale_uint32 (&file, __cet_other);
else
add_locale_empty (&file);
}
@@ -2496,12 +2493,6 @@ collate_output (struct localedef_t *locale, const struct charmap_t *charmap,
add_locale_raw_data (&file, collate->mbseqorder, 256);
add_locale_collseq_table (&file, &collate->wcseqorder);
add_locale_string (&file, charmap->code_set_name);
- if (strcmp (charmap->code_set_name, "UTF-8") == 0)
- add_locale_uint32 (&file, __cet_utf8);
- else if (charmap->mb_cur_max == 1)
- add_locale_uint32 (&file, __cet_8bit);
- else
- add_locale_uint32 (&file, __cet_other);
write_locale_data (output_path, LC_COLLATE, "LC_COLLATE", &file);
obstack_free (&weightpool, NULL);
diff --git a/string/bug-strcoll2.c b/string/bug-strcoll2.c
new file mode 100644
index 0000000..5ce2f94
--- /dev/null
+++ b/string/bug-strcoll2.c
@@ -0,0 +1,93 @@
+/* Bug 18589: sort-test.sh fails at random.
+ Copyright (C) 1998-2015 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Ulrich Drepper <[email protected]>, 1998.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#include <stdio.h>
+#include <string.h>
+#include <locale.h>
+
+/* An incorrect strcoll optimization resulted in incorrect
+ results from strcoll for cs_CZ and da_DK. */
+
+int
+test_cs_CZ (void)
+{
+ const char t1[] = "config";
+ const char t2[] = "choose";
+ if (setlocale (LC_ALL, "cs_CZ.UTF-8") == NULL)
+ {
+ perror ("setlocale");
+ return 1;
+ }
+ /* In Czech the digraph ch sorts after c, therefore we expect
+ config to sort before choose. */
+ int a = strcoll (t1, t2);
+ int b = strcoll (t2, t1);
+ printf ("strcoll (\"%s\", \"%s\") = %d\n", t1, t2, a);
+ printf ("strcoll (\"%s\", \"%s\") = %d\n", t2, t1, b);
+ if (a < 0 && b > 0)
+ {
+ puts ("PASS: config < choose");
+ return 0;
+ }
+ else
+ {
+ puts ("FAIL: Wrong sorting in cz_CZ.UTF-8.");
+ return 1;
+ }
+}
+
+int
+test_da_DK (void)
+{
+ const char t1[] = "AS";
+ const char t2[] = "AA";
+ if (setlocale (LC_ALL, "da_DK.ISO-8859-1") == NULL)
+ {
+ perror ("setlocale");
+ return 1;
+ }
+ /* AA should be treated as the last letter of the Danish alphabet,
+ hence sorting after AS. */
+ int a = strcoll (t1, t2);
+ int b = strcoll (t2, t1);
+ printf ("strcoll (\"%s\", \"%s\") = %d\n", t1, t2, a);
+ printf ("strcoll (\"%s\", \"%s\") = %d\n", t2, t1, b);
+ if (a < 0 && b > 0)
+ {
+ puts ("PASS: AS < AA");
+ return 0;
+ }
+ else
+ {
+ puts ("FAIL: Wrong sorting in da_DK.ISO-8859-1");
+ return 1;
+ }
+}
+
+static int
+do_test (void)
+{
+ int err = 0;
+ err |= test_cs_CZ ();
+ err |= test_da_DK ();
+ return err;
+}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"
diff --git a/string/strcoll_l.c b/string/strcoll_l.c
index 8f1225f..35bc0e4 100644
--- a/string/strcoll_l.c
+++ b/string/strcoll_l.c
@@ -29,7 +29,6 @@
# define STRING_TYPE char
# define USTRING_TYPE unsigned char
# define STRCOLL __strcoll_l
-# define STRDIFF __strdiff
# define STRCMP strcmp
# define WEIGHT_H "../locale/weight.h"
# define SUFFIX MB
@@ -42,20 +41,6 @@
#include "../locale/localeinfo.h"
#include WEIGHT_H
-#define MASK_UTF8_7BIT (1 << 7)
-#define MASK_UTF8_START (3 << 6)
-
-size_t
-STRDIFF (const STRING_TYPE *s, const STRING_TYPE *t)
-{
- size_t n;
-
- for (n = 0; *s != '\0' && *s++ == *t++; ++n)
- continue;
-
- return n;
-}
-
/* Track status while looking for sequences in a string. */
typedef struct
{
@@ -269,29 +254,9 @@ STRCOLL (const STRING_TYPE *s1, const STRING_TYPE *s2, __locale_t l)
const USTRING_TYPE *extra;
const int32_t *indirect;
- /* In case there is no locale specific sort order (C / POSIX). */
if (nrules == 0)
return STRCMP (s1, s2);
- /* Fast forward to the position of the first difference. Needs to be
- encoding aware as the byte-by-byte comparison can stop in the middle
- of a char sequence for multibyte encodings like UTF-8. */
- uint_fast32_t encoding =
- current->values[_NL_ITEM_INDEX (_NL_COLLATE_ENCODING_TYPE)].word;
- if (encoding != __cet_other)
- {
- size_t diff = STRDIFF (s1, s2);
- if (diff > 0)
- {
- if (encoding == __cet_utf8 && (*(s1 + diff) & MASK_UTF8_7BIT) != 0)
- do
- diff--;
- while (diff > 0 && (*(s1 + diff) & MASK_UTF8_START) != MASK_UTF8_START);
- s1 += diff;
- s2 += diff;
- }
- }
-
/* Catch empty strings. */
if (__glibc_unlikely (*s1 == '\0') || __glibc_unlikely (*s2 == '\0'))
return (*s1 != '\0') - (*s2 != '\0');
@@ -358,8 +323,7 @@ STRCOLL (const STRING_TYPE *s1, const STRING_TYPE *s2, __locale_t l)
byte-level comparison to ensure that we don't waste time
going through multiple passes for totally equal strings
before proceeding to subsequent passes. */
- if (pass == 0 && encoding == __cet_other &&
- STRCMP (s1, s2) == 0)
+ if (pass == 0 && STRCMP (s1, s2) == 0)
return result;
else
break;
diff --git a/wcsmbs/wcscoll_l.c b/wcsmbs/wcscoll_l.c
index 6d9384a..87f240d 100644
--- a/wcsmbs/wcscoll_l.c
+++ b/wcsmbs/wcscoll_l.c
@@ -23,7 +23,6 @@
#define STRING_TYPE wchar_t
#define USTRING_TYPE wint_t
#define STRCOLL __wcscoll_l
-#define STRDIFF __wcsdiff
#define STRCMP __wcscmp
#define WEIGHT_H "../locale/weightwc.h"
#define SUFFIX WC
--
1.9.4
+3 -2
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# 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 @@ PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.pcre.org/"
PKG_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_URL="http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS_HOST=""
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
@@ -52,4 +52,5 @@ pre_configure_target() {
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
sed -e "s:\(['= ]\)/usr:\\1$SYSROOT_PREFIX/usr:g" -i $SYSROOT_PREFIX/usr/bin/$PKG_NAME-config
}
+5 -3
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,12 +17,12 @@
################################################################################
PKG_NAME="bcm2835-driver"
PKG_VERSION="7f01b12"
PKG_VERSION="de7aa7e"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="nonfree"
PKG_SITE="http://www.broadcom.com"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_URL="$LAKKA_MIRROR/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="graphics"
@@ -55,6 +55,7 @@ make_target() {
cp -PRv $FLOAT/opt/vc/lib/libmmal_core.so $SYSROOT_PREFIX/usr/lib
cp -PRv $FLOAT/opt/vc/lib/libmmal_util.so $SYSROOT_PREFIX/usr/lib
cp -PRv $FLOAT/opt/vc/lib/libmmal_vc_client.so $SYSROOT_PREFIX/usr/lib
cp -PRv $FLOAT/opt/vc/lib/libvcsm.so $SYSROOT_PREFIX/usr/lib
}
makeinstall_target() {
@@ -74,6 +75,7 @@ makeinstall_target() {
cp -PRv $FLOAT/opt/vc/lib/libmmal_core.so $INSTALL/usr/lib
cp -PRv $FLOAT/opt/vc/lib/libmmal_util.so $INSTALL/usr/lib
cp -PRv $FLOAT/opt/vc/lib/libmmal_vc_client.so $INSTALL/usr/lib
cp -PRv $FLOAT/opt/vc/lib/libvcsm.so $INSTALL/usr/lib
# some usefull debug tools
mkdir -p $INSTALL/usr/bin
+45
View File
@@ -0,0 +1,45 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# 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="gpu-viv-g2d"
PKG_VERSION="3.10.17-1.0.2"
PKG_REV="1"
PKG_ARCH="arm"
PKG_LICENSE="nonfree"
PKG_SITE="http://www.freescale.com"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="graphics"
PKG_SHORTDESC="gpu-viv-g2d: Another vivante Binary for performant resizing"
PKG_LONGDESC="gpu-viv-g2d: Another vivante Binary for performant resizing"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
make_target() {
: # nothing to make all binary
}
makeinstall_target() {
mkdir -p $SYSROOT_PREFIX/usr
cp -PRv usr/* $SYSROOT_PREFIX/usr
mkdir -p $INSTALL/usr/lib
cp -PRv usr/lib/* $INSTALL/usr/lib
}
+7 -5
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="libdrm"
PKG_VERSION="2.4.59"
PKG_VERSION="2.4.67"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
@@ -34,7 +34,7 @@ PKG_AUTORECONF="yes"
get_graphicdrivers
DRM_CONFIG="--disable-libkms --disable-intel --disable-radeon"
DRM_CONFIG="--disable-libkms --disable-intel --disable-radeon --disable-amdgpu"
DRM_CONFIG="$DRM_CONFIG --disable-nouveau --disable-vmwgfx"
for drv in $GRAPHIC_DRIVERS; do
@@ -44,7 +44,8 @@ for drv in $GRAPHIC_DRIVERS; do
[ "$drv" = "r200" -o "$drv" = "r300" -o "$drv" = "r600" -o "$drv" = "radeonsi" ] && \
DRM_CONFIG=`echo $DRM_CONFIG | sed -e 's/disable-libkms/enable-libkms/'` && \
DRM_CONFIG=`echo $DRM_CONFIG | sed -e 's/disable-radeon/enable-radeon/'`
DRM_CONFIG=`echo $DRM_CONFIG | sed -e 's/disable-radeon/enable-radeon/'` && \
DRM_CONFIG=`echo $DRM_CONFIG | sed -e 's/disable-amdgpu/enable-amdgpu/'`
[ "$drv" = "nouveau" ] && \
DRM_CONFIG=`echo $DRM_CONFIG | sed -e 's/disable-libkms/enable-libkms/'` && \
@@ -57,4 +58,5 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-udev \
$DRM_CONFIG \
--disable-install-test-programs \
--disable-cairo-tests \
--disable-manpages"
--disable-manpages \
--disable-valgrind"
+15 -14
View File
@@ -1,6 +1,6 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,13 +17,13 @@
################################################################################
PKG_NAME="mesa"
PKG_VERSION="10.5.1"
PKG_VERSION="11.2.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/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain Python:host Mako:host expat glproto dri2proto presentproto libdrm libXext libXdamage libXfixes libXxf86vm libxcb libX11 systemd dri3proto libxshmfence"
PKG_URL="ftp://freedesktop.org/pub/mesa/11.2.0/$PKG_NAME-$PKG_VERSION.tar.xz"
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"
@@ -66,13 +66,12 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
--enable-opengl \
--disable-gles1 \
--disable-gles2 \
--disable-openvg \
--enable-dri \
--disable-dri3 \
--enable-glx \
--disable-osmesa \
--disable-gallium-osmesa \
--enable-egl --with-egl-platforms=drm \
--enable-egl --with-egl-platforms=x11,drm \
--disable-xa \
--enable-gbm \
--disable-nine \
@@ -98,11 +97,13 @@ PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
--with-dri-drivers=$DRI_DRIVERS \
--with-sysroot=$SYSROOT_PREFIX"
#post_makeinstall_target() {
# # rename and relink for cooperate with nvidia drivers
# rm -rf $INSTALL/usr/lib/libGL.so
# rm -rf $INSTALL/usr/lib/libGL.so.1
# ln -sf libGL.so.1 $INSTALL/usr/lib/libGL.so
# ln -sf /var/lib/libGL.so $INSTALL/usr/lib/libGL.so.1
# mv $INSTALL/usr/lib/libGL.so.1.2.0 $INSTALL/usr/lib/libGL_mesa.so.1
#}
post_makeinstall_target() {
if [ "$DISPLAYSERVER" == "x11" ]; then
# rename and relink for cooperate with nvidia drivers
rm -rf $INSTALL/usr/lib/libGL.so
rm -rf $INSTALL/usr/lib/libGL.so.1
ln -sf libGL.so.1 $INSTALL/usr/lib/libGL.so
ln -sf /var/lib/libGL.so $INSTALL/usr/lib/libGL.so.1
mv $INSTALL/usr/lib/libGL.so.1.2.0 $INSTALL/usr/lib/libGL_mesa.so.1
fi
}
+4 -4
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="odroidc1-mali"
PKG_VERSION="0cb5ca4"
PKG_VERSION="r5p1-01rel0-armhf"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="nonfree"
@@ -41,10 +41,10 @@ make_target() {
makeinstall_target() {
mkdir -p $SYSROOT_PREFIX/usr/lib
cp -PR fbdev/mali_libs/* $SYSROOT_PREFIX/usr/lib
cp -PR usr/lib/* $SYSROOT_PREFIX/usr/lib
mkdir -p $SYSROOT_PREFIX/usr/include
cp -PR fbdev/mali_headers/* $SYSROOT_PREFIX/usr/include
cp -PR usr/include/* $SYSROOT_PREFIX/usr/include
mkdir -p $INSTALL/usr/lib
cp -PR fbdev/mali_libs/*.so* $INSTALL/usr/lib
cp -PR usr/lib/*.so* $INSTALL/usr/lib
}
+1 -1
View File
@@ -17,7 +17,7 @@
################################################################################
PKG_NAME="opengl-meson6"
PKG_VERSION="r4p1-armhf"
PKG_VERSION="r5p1-01rel0-armhf"
PKG_REV="1"
PKG_ARCH="arm"
PKG_LICENSE="nonfree"
@@ -0,0 +1,52 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2016 Stephan Raue ([email protected])
#
# 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="opengl-meson8"
PKG_VERSION="r5p1-01rel0-armhf"
PKG_REV="1"
PKG_ARCH="arm"
PKG_LICENSE="nonfree"
PKG_SITE="http://openlinux.amlogic.com:8000/download/ARM/filesystem/"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="graphics"
PKG_SHORTDESC="opengl-meson8: OpenGL ES pre-compiled libraries for Mali 450 GPUs found in Amlogic Meson8 SoCs"
PKG_LONGDESC="opengl-meson8: OpenGL ES pre-compiled libraries for Mali 450 GPUs found in Amlogic Meson8 SoCs. The libraries could be found in a Linux buildroot released by Amlogic at http://openlinux.amlogic.com:8000/download/ARM/filesystem/. See the opengl package."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
make_target() {
: # nothing todo
}
makeinstall_target() {
mkdir -p $SYSROOT_PREFIX/usr/include
cp -PR usr/include/* $SYSROOT_PREFIX/usr/include
mkdir -p $SYSROOT_PREFIX/usr/lib
cp -PR usr/lib/*.so* $SYSROOT_PREFIX/usr/lib
mkdir -p $INSTALL/usr/lib
cp -PR usr/lib/*.so* $INSTALL/usr/lib
}
post_install() {
enable_service unbind-console.service
}
@@ -0,0 +1,11 @@
[Unit]
Description=Unbind framebuffer console
ConditionPathExists=/sys/class/vtconsole/vtcon1/bind
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'echo 0 > /sys/class/vtconsole/vtcon1/bind'
[Install]
WantedBy=graphical.target
+1 -1
View File
@@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/lakkatv/Lakka"
PKG_URL=""
PKG_DEPENDS_TARGET="retroarch 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp 2048 pcsx_rearmed snes9x-next vecx dinothawr prboom beetle-pce handy picodrive pocketsnes nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_DEPENDS_TARGET="retroarch prosystem o2em 81 fuse-libretro gw-libretro beetle-ngp beetle-sgx genesis-plus-gx mupen64plus lutro gpsp 2048 pcsx_rearmed snes9x-next vecx dinothawr prboom beetle-pce handy picodrive pocketsnes nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="Lakka metapackage for Bananapi"
+1 -1
View File
@@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/lakkatv/Lakka"
PKG_URL=""
PKG_DEPENDS_TARGET="retroarch picodrive 81 yabause hatari dosbox mame2003 gw-libretro fuse-libretro scummvm bluemsx beetle-sgx lutro 4do prosystem bsnes-mercury tyrquake 2048 virtualjaguar ppsspp beetle-vb beetle-wswan desmume beetle-ngp beetle-pcfx beetle-psx mupen64plus vecx snes9x-next dinothawr prboom beetle-pce fba handy genesis-plus-gx nxengine nestopia gambatte stella vbam libretro-ffmpeg"
PKG_DEPENDS_TARGET="retroarch o2em puae snes9x picodrive 81 yabause hatari dosbox mame2003 gw-libretro fuse-libretro scummvm bluemsx beetle-sgx lutro 4do prosystem bsnes-mercury tyrquake 2048 virtualjaguar ppsspp beetle-vb beetle-wswan desmume beetle-ngp beetle-pcfx beetle-psx mupen64plus vecx snes9x-next dinothawr prboom beetle-pce fba handy genesis-plus-gx nxengine nestopia gambatte stella vbam libretro-ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="Lakka metapackage for Generic"
+36
View File
@@ -0,0 +1,36 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue ([email protected])
#
# This Program 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, or (at your option)
# any later version.
#
# This Program 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.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="OPiPC"
PKG_VERSION=""
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/lakkatv/Lakka"
PKG_URL=""
PKG_DEPENDS_TARGET="retroarch prosystem o2em 81 fuse-libretro gw-libretro beetle-ngp beetle-sgx genesis-plus-gx mupen64plus lutro gpsp 2048 pcsx_rearmed snes9x-next vecx dinothawr prboom beetle-pce handy picodrive pocketsnes nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="Lakka metapackage for OrangePi-PC"
PKG_LONGDESC=""
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
+1 -1
View File
@@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/lakkatv/Lakka"
PKG_URL=""
PKG_DEPENDS_TARGET="retroarch 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp ppsspp 2048 beetle-vb beetle-wswan beetle-ngp pcsx_rearmed vecx snes9x-next dinothawr prboom beetle-pce handy picodrive nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_DEPENDS_TARGET="retroarch prosystem o2em 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp ppsspp 2048 beetle-vb beetle-wswan beetle-ngp pcsx_rearmed vecx snes9x-next dinothawr prboom beetle-pce handy picodrive nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="Lakka metapackage for OdroidC1"
+1 -1
View File
@@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/lakkatv/Lakka"
PKG_URL=""
PKG_DEPENDS_TARGET="retroarch 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp ppsspp 2048 beetle-vb beetle-wswan beetle-ngp pcsx_rearmed vecx snes9x-next dinothawr prboom beetle-pce handy picodrive nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_DEPENDS_TARGET="retroarch prosystem o2em 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp ppsspp 2048 beetle-vb beetle-wswan beetle-ngp pcsx_rearmed vecx snes9x-next dinothawr prboom beetle-pce handy picodrive nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="Lakka metapackage for OdroidXU3"
+1 -1
View File
@@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/lakkatv/Lakka"
PKG_URL=""
PKG_DEPENDS_TARGET="retroarch genesis-plus-gx 81 fuse-libretro gw-libretro lutro gpsp 2048 vecx dinothawr prboom beetle-pce handy picodrive pocketsnes nxengine fceumm gambatte stella fba libretro-ffmpeg"
PKG_DEPENDS_TARGET="retroarch prosystem o2em genesis-plus-gx 81 fuse-libretro gw-libretro lutro gpsp 2048 vecx dinothawr prboom beetle-ngp beetle-pce handy picodrive pocketsnes nxengine fceumm gambatte stella fba libretro-ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="Lakka metapackage for RPi"
+1 -1
View File
@@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/lakkatv/Lakka"
PKG_URL=""
PKG_DEPENDS_TARGET="retroarch ppsspp 81 fuse-libretro gw-libretro beetle-sgx lutro snes9x-next genesis-plus-gx pcsx_rearmed mupen64plus gpsp 2048 vecx dinothawr prboom beetle-pce handy picodrive pocketsnes nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_DEPENDS_TARGET="retroarch prosystem o2em ppsspp 81 fuse-libretro gw-libretro beetle-sgx beetle-ngp lutro snes9x-next genesis-plus-gx pcsx_rearmed mupen64plus gpsp 2048 vecx dinothawr prboom beetle-pce handy picodrive pocketsnes nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="Lakka metapackage for RPi 2"
+1 -1
View File
@@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/lakkatv/Lakka"
PKG_URL=""
PKG_DEPENDS_TARGET="retroarch 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp ppsspp 2048 beetle-vb beetle-wswan beetle-ngp pcsx_rearmed vecx snes9x-next dinothawr prboom beetle-pce handy picodrive nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_DEPENDS_TARGET="retroarch prosystem o2em 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp ppsspp 2048 beetle-vb beetle-wswan beetle-ngp pcsx_rearmed vecx snes9x-next dinothawr prboom beetle-pce handy picodrive nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="Lakka metapackage for Wandboard"
+36
View File
@@ -0,0 +1,36 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue ([email protected])
#
# This Program 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, or (at your option)
# any later version.
#
# This Program 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.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="WeTek_Core"
PKG_VERSION=""
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/lakkatv/Lakka"
PKG_URL=""
PKG_DEPENDS_TARGET="retroarch prosystem o2em 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp ppsspp 2048 beetle-vb beetle-wswan beetle-ngp pcsx_rearmed vecx snes9x-next dinothawr prboom beetle-pce handy picodrive nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="Lakka metapackage for WeTek_Core"
PKG_LONGDESC=""
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
+1 -1
View File
@@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/lakkatv/Lakka"
PKG_URL=""
PKG_DEPENDS_TARGET="retroarch 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp ppsspp 2048 beetle-vb beetle-wswan beetle-ngp pcsx_rearmed vecx snes9x-next dinothawr prboom beetle-pce handy picodrive nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_DEPENDS_TARGET="retroarch prosystem o2em 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp ppsspp 2048 beetle-vb beetle-wswan beetle-ngp pcsx_rearmed vecx snes9x-next dinothawr prboom beetle-pce handy picodrive nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="Lakka metapackage for WeTek_Play"
+1 -1
View File
@@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/lakkatv/Lakka"
PKG_URL=""
PKG_DEPENDS_TARGET="retroarch 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp 2048 pcsx_rearmed snes9x-next vecx dinothawr prboom beetle-pce handy picodrive pocketsnes nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_DEPENDS_TARGET="retroarch prosystem o2em 81 fuse-libretro gw-libretro beetle-ngp beetle-sgx genesis-plus-gx mupen64plus lutro gpsp 2048 pcsx_rearmed snes9x-next vecx dinothawr prboom beetle-pce handy picodrive pocketsnes nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="Lakka metapackage for Cubieboard"
+1 -1
View File
@@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/lakkatv/Lakka"
PKG_URL=""
PKG_DEPENDS_TARGET="retroarch 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp 2048 pcsx_rearmed snes9x-next vecx dinothawr prboom beetle-pce handy picodrive pocketsnes nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_DEPENDS_TARGET="retroarch prosystem o2em 81 fuse-libretro gw-libretro beetle-ngp beetle-sgx genesis-plus-gx mupen64plus lutro gpsp 2048 pcsx_rearmed snes9x-next vecx dinothawr prboom beetle-pce handy picodrive pocketsnes nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="Lakka metapackage for Cubieboard2 and Cubietruck"
+1 -1
View File
@@ -25,7 +25,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/lakkatv/Lakka"
PKG_URL=""
PKG_DEPENDS_TARGET="retroarch 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp ppsspp 2048 beetle-vb beetle-wswan beetle-ngp pcsx_rearmed vecx snes9x-next dinothawr prboom beetle-pce handy picodrive nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_DEPENDS_TARGET="retroarch prosystem o2em 81 fuse-libretro gw-libretro beetle-sgx genesis-plus-gx mupen64plus lutro gpsp ppsspp 2048 beetle-vb beetle-wswan beetle-ngp pcsx_rearmed vecx snes9x-next dinothawr prboom beetle-pce handy picodrive nxengine nestopia gambatte stella fba libretro-ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="virtual"
PKG_SHORTDESC="Lakka metapackage for Cuboxi and Hummingboard"
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="lakka-update"
PKG_VERSION="d90932e"
PKG_VERSION="cfbe9db"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="beetle-psx"
PKG_VERSION="83b4b48"
PKG_VERSION="d9dd6c2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
+40
View File
@@ -0,0 +1,40 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue ([email protected])
#
# This Program 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, or (at your option)
# any later version.
#
# This Program 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.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="cap32"
PKG_VERSION="74e8279"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/libretro-cap32.git"
PKG_URL="$LAKKA_MIRROR/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="libretro"
PKG_SHORTDESC="caprice32 4.2.0 libretro"
PKG_LONGDESC="caprice32 4.2.0 libretro"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/libretro
cp cap32_libretro.so $INSTALL/usr/lib/libretro/
}
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="core-info"
PKG_VERSION="e7c7552"
PKG_VERSION="d700af8"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="fba"
PKG_VERSION="ddc9955"
PKG_VERSION="5ac9b6a"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="Non-commercial"
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="fceumm"
PKG_VERSION="e3794ef"
PKG_VERSION="479d5d8"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="fuse-libretro"
PKG_VERSION="98a590f"
PKG_VERSION="d7600a2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="genesis-plus-gx"
PKG_VERSION="d8a85bf"
PKG_VERSION="b1eb064"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="Non-commercial"
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="gpsp"
PKG_VERSION="4036107"
PKG_VERSION="4b00c74"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="handy"
PKG_VERSION="d10b506"
PKG_VERSION="35a41f1"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="Zlib"
+3 -3
View File
@@ -19,11 +19,11 @@
################################################################################
PKG_NAME="hatari"
PKG_VERSION="a08e391"
PKG_VERSION="204dc6e"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/libretro-hatari"
PKG_SITE="https://github.com/libretro/hatari"
PKG_URL="$LAKKA_MIRROR/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
@@ -45,5 +45,5 @@ make_target() {
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/libretro
cp ../libretro-hatari.so $INSTALL/usr/lib/libretro/
cp ../hatari_libretro.so $INSTALL/usr/lib/libretro/
}
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="libretro-database"
PKG_VERSION="5889997"
PKG_VERSION="074523b"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="lutro"
PKG_VERSION="9e39edf"
PKG_VERSION="a19c2f1"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="MIT"
+2 -2
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="mame2003"
PKG_VERSION="9a100ca"
PKG_VERSION="4145a3b"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="MAME"
@@ -40,5 +40,5 @@ make_target() {
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/libretro
cp mame078_libretro.so $INSTALL/usr/lib/libretro/
cp mame2003_libretro.so $INSTALL/usr/lib/libretro/
}
+2 -3
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="mupen64plus"
PKG_VERSION="6c737ed"
PKG_VERSION="b84dc7c"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
@@ -50,8 +50,7 @@ make_target() {
make platform=rpi
elif [[ "$TARGET_FPU" =~ "neon" ]]; then
CFLAGS="$CFLAGS -DGL_BGRA_EXT=0x80E1" # Fix build for platforms where GL_BGRA_EXT is not defined
CFLAGS="$CFLAGS -U__ARM_NEON__"
make platform=lakka
make platform=armv-gles-neon
else
make WITH_DYNAREC=$DYNAREC
fi
@@ -1,22 +0,0 @@
--- mupen64plus.git/Makefile 2015-05-07 04:36:22.998292090 +0200
+++ mupen64plus.patch/Makefile 2015-05-07 06:13:07.779298191 +0200
@@ -81,6 +81,19 @@
PLATFORM_EXT := unix
WITH_DYNAREC=arm
+# Lakka build fix for arm neon
+else ifneq (,$(findstring lakka,$(platform)))
+ TARGET := $(TARGET_NAME)_libretro.so
+ LDFLAGS += -shared -Wl,--version-script=$(LIBRETRO_DIR)/link.T
+ fpic = -fPIC
+ GLES = 1
+ GL_LIB := -lGLESv2
+ CPUFLAGS += -DNO_ASM -DARM -D__arm__ -DARM_ASM -D__NEON_OPT -DNOSSE
+ GLIDE2GL = 1
+ HAVE_NEON = 0
+ PLATFORM_EXT := unix
+ WITH_DYNAREC=arm
+
# ODROIDs
else ifneq (,$(findstring odroid,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
@@ -0,0 +1,15 @@
diff -Naur mupen64plus.git/mupen64plus-core/src/plugin/audio_libretro/audio_backend_libretro.c mupen64plus.patch/mupen64plus-core/src/plugin/audio_libretro/audio_backend_libretro.c
--- mupen64plus.git/mupen64plus-core/src/plugin/audio_libretro/audio_backend_libretro.c 2015-12-23 17:17:21.886100651 +0100
+++ mupen64plus.patch/mupen64plus-core/src/plugin/audio_libretro/audio_backend_libretro.c 2015-12-23 18:14:20.560292807 +0100
@@ -77,7 +77,11 @@
void init_audio_libretro(unsigned max_audio_frames)
{
+#if defined(__ARM_NEON__)
+ rarch_resampler_realloc(&resampler_audio_data, &resampler, "sinc", 1.0);
+#else
rarch_resampler_realloc(&resampler_audio_data, &resampler, "CC", 1.0);
+#endif
MAX_AUDIO_FRAMES = max_audio_frames;
+40
View File
@@ -0,0 +1,40 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue ([email protected])
#
# This Program 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, or (at your option)
# any later version.
#
# This Program 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.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="o2em"
PKG_VERSION="c54042e"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="Artistic License"
PKG_SITE="https://github.com/libretro/libretro-o2em.git"
PKG_URL="$LAKKA_MIRROR/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="libretro"
PKG_SHORTDESC="Port of O2EM to the libretro API, an Odyssey 2 / VideoPac emulator."
PKG_LONGDESC="Port of O2EM to the libretro API, an Odyssey 2 / VideoPac emulator."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/libretro
cp o2em_libretro.so $INSTALL/usr/lib/libretro/
}
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="pcsx_rearmed"
PKG_VERSION="81e875a"
PKG_VERSION="bb22137"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="picodrive"
PKG_VERSION="504faec"
PKG_VERSION="e9d7e81"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="MAME"
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="prboom"
PKG_VERSION="699b330"
PKG_VERSION="293cd98"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
+1 -1
View File
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="prosystem"
PKG_VERSION="8aa61e9"
PKG_VERSION="24bf5eb"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
+47
View File
@@ -0,0 +1,47 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue ([email protected])
#
# This Program 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, or (at your option)
# any later version.
#
# This Program 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.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="puae"
PKG_VERSION="7cbc230"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/libretro-uae"
PKG_URL="$LAKKA_MIRROR/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="libretro"
PKG_SHORTDESC="WIP libretro port of UAE (P-UAE and libco) Expect bugs"
PKG_LONGDESC="WIP libretro port of UAE (P-UAE and libco) Expect bugs"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
pre_configure_target() {
strip_lto
if [ "$ARCH" == "arm" ]; then
CFLAGS="$CFLAGS -DARM"
fi
}
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/libretro
cp puae_libretro.so $INSTALL/usr/lib/libretro/
}
@@ -0,0 +1,11 @@
diff -Naur puae.git/Makefile puae.patch/Makefile
--- puae.git/Makefile 2015-12-23 12:48:44.920371653 +0100
+++ puae.patch/Makefile 2015-12-23 13:53:46.357504032 +0100
@@ -22,7 +22,6 @@
ROOT_DIR := .
ifeq ($(platform), unix)
- CC = gcc
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
LDFLAGS := -lz -lpthread
+40
View File
@@ -0,0 +1,40 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue ([email protected])
#
# This Program 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, or (at your option)
# any later version.
#
# This Program 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.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="reicast"
PKG_VERSION="f39f030"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/reicast-emulator"
PKG_URL="$LAKKA_MIRROR/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="libretro"
PKG_SHORTDESC="Reicast is a multiplatform Sega Dreamcast emulator"
PKG_LONGDESC="Reicast is a multiplatform Sega Dreamcast emulator"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/libretro
cp reicast_libretro.so $INSTALL/usr/lib/libretro/
}
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="retroarch-assets"
PKG_VERSION="2f0ae84"
PKG_VERSION="70b7d1e"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
@@ -19,7 +19,7 @@
################################################################################
PKG_NAME="retroarch-joypad-autoconfig"
PKG_VERSION="26b8a2e"
PKG_VERSION="1628dfc"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
+22 -14
View File
@@ -19,13 +19,13 @@
################################################################################
PKG_NAME="retroarch"
PKG_VERSION="f95be06"
PKG_REV="1"
PKG_VERSION="b4f4720"
PKG_REV="3"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/RetroArch"
PKG_URL="$LAKKA_MIRROR/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain alsa-lib freetype retroarch-assets core-info retroarch-joypad-autoconfig common-shaders lakka-update libretro-database ffmpeg unionfs-fuse"
PKG_DEPENDS_TARGET="toolchain alsa-lib freetype zlib retroarch-assets core-info retroarch-joypad-autoconfig common-shaders lakka-update libretro-database ffmpeg"
PKG_PRIORITY="optional"
PKG_SECTION="libretro"
PKG_SHORTDESC="Reference frontend for the libretro API."
@@ -44,16 +44,20 @@ if [ "$SAMBA_SUPPORT" = yes ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET samba"
fi
if [ "$AVAHI_DAEMON" = yes ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET avahi nss-mdns"
fi
if [ "$OPENGLES" == "no" ]; then
RETROARCH_GL="--enable-kms"
elif [ "$OPENGLES" == "bcm2835-driver" ]; then
RETROARCH_GL="--enable-gles --disable-kms"
RETROARCH_GL="--enable-gles --disable-kms --disable-x11"
CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads \
-I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux"
elif [ "$OPENGLES" == "sunxi-mali" ] || [ "$OPENGLES" == "odroidc1-mali" ] || [ "$OPENGLES" == "odroidxu3-mali" ] || [ "$OPENGLES" == "opengl-meson6" ]; then
RETROARCH_GL="--enable-gles --disable-kms --enable-mali_fbdev"
elif [ "$OPENGLES" == "sunxi-mali" ] || [ "$OPENGLES" == "odroidc1-mali" ] || [ "$OPENGLES" == "odroidxu3-mali" ] || [ "$OPENGLES" == "opengl-meson6" ] || [ "$OPENGLES" == "opengl-meson8" ]; then
RETROARCH_GL="--enable-gles --disable-kms --disable-x11 --enable-mali_fbdev"
elif [ "$OPENGLES" == "gpu-viv-bin-mx6q" ]; then
RETROARCH_GL="--enable-gles --disable-kms --enable-vivante_fbdev"
RETROARCH_GL="--enable-gles --disable-kms --disable-x11 --enable-vivante_fbdev"
CFLAGS="$CFLAGS -DLINUX -DEGL_API_FB"
fi
@@ -64,11 +68,10 @@ fi
TARGET_CONFIGURE_OPTS=""
PKG_CONFIGURE_OPTS_TARGET="--disable-vg \
--disable-sdl \
--disable-x11 \
--disable-xvideo \
$RETROARCH_GL \
$RETROARCH_NEON \
--enable-fbo \
--enable-zlib \
--enable-freetype"
pre_configure_target() {
@@ -77,7 +80,7 @@ pre_configure_target() {
}
make_target() {
make V=1 HAVE_LAKKA=1
make V=1 HAVE_LAKKA=1 HAVE_ZARCH=0 LAKKA_PROJECT='\"$PROJECT.$ARCH\"'
make -C gfx/video_filters compiler=$CC extra_flags="$CFLAGS"
make -C audio/audio_filters compiler=$CC extra_flags="$CFLAGS"
}
@@ -95,7 +98,7 @@ makeinstall_target() {
cp $ROOT/$PKG_BUILD/audio/audio_filters/*.dsp $INSTALL/usr/share/audio_filters
# General configuration
sed -i -e "s/# libretro_path = \"\/path\/to\/libretro.so\"/libretro_path = \"\/tmp\/cores\"/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# libretro_directory =/libretro_directory = \"\/tmp\/cores\"/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# libretro_info_path =/libretro_info_path = \"\/tmp\/cores\"/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# rgui_browser_directory =/rgui_browser_directory =\/storage\/roms/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# core_assets_directory =/core_assets_directory =\/storage\/roms/" $INSTALL/etc/retroarch.cfg
@@ -107,12 +110,11 @@ makeinstall_target() {
sed -i -e "s/# screenshot_directory =/screenshot_directory =\/storage\/screenshots/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# video_shader_dir =/video_shader_dir =\/usr\/share\/common-shaders/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# rgui_show_start_screen = true/rgui_show_start_screen = false/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# assets_directory =/assets_directory =\/usr\/share\/retroarch-assets/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# assets_directory =/assets_directory =\/tmp\/assets/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# cheat_database_path =/cheat_database_path =\/tmp\/database\/cht/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# menu_driver = \"rgui\"/menu_driver = \"xmb\"/" $INSTALL/etc/retroarch.cfg
# Video
sed -i -e "s/# video_fullscreen = false/video_fullscreen = true/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# video_smooth = true/video_smooth = false/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# video_aspect_ratio_auto = false/video_aspect_ratio_auto = true/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# video_threaded = false/video_threaded = true/" $INSTALL/etc/retroarch.cfg
@@ -138,7 +140,12 @@ makeinstall_target() {
# Menu
sed -i -e "s/# menu_core_enable = true/menu_core_enable = false/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# boxarts_directory =/boxarts_directory = \/storage\/boxarts/" $INSTALL/etc/retroarch.cfg
sed -i -e "s/# thumbnails_directory =/thumbnails_directory = \/storage\/thumbnails/" $INSTALL/etc/retroarch.cfg
# Updater
if [ "$ARCH" == "arm" ]; then
sed -i -e "s/# core_updater_buildbot_url = \"http:\/\/buildbot.libretro.com\"/core_updater_buildbot_url = \"http:\/\/buildbot.libretro.com\/nightly\/linux\/armhf\/latest\/\"/" $INSTALL/etc/retroarch.cfg
fi
# Playlists
echo "playlist_names = \"$RA_PLAYLIST_NAMES\"" >> $INSTALL/etc/retroarch.cfg
@@ -154,4 +161,5 @@ post_install() {
enable_service tmp-cores.mount
enable_service tmp-joypads.mount
enable_service tmp-database.mount
enable_service tmp-assets.mount
}
@@ -1,20 +1,20 @@
diff -Naur retroarch.git/gfx/drivers_context/drm_egl_ctx.c retroarch.patch/gfx/drivers_context/drm_egl_ctx.c
--- retroarch.git/gfx/drivers_context/drm_egl_ctx.c 2015-11-27 17:52:55.202785319 +0100
+++ retroarch.patch/gfx/drivers_context/drm_egl_ctx.c 2015-11-27 17:59:22.080211897 +0100
@@ -285,7 +285,10 @@
diff -Naur retroarch.git/gfx/drivers_context/drm_ctx.c retroarch.patch/gfx/drivers_context/drm_ctx.c
--- retroarch.git/gfx/drivers_context/drm_ctx.c 2016-04-08 12:00:23.808205458 +0200
+++ retroarch.patch/gfx/drivers_context/drm_ctx.c 2016-04-08 12:35:13.322971465 +0200
@@ -324,7 +324,10 @@
drm_free();
if (g_drm_fd >= 0)
+ {
+ drmDropMaster(g_drm_fd);
retro_fclose(drm->g_drm);
filestream_close(drm->drm);
+ }
g_gbm_surface = NULL;
g_gbm_dev = NULL;
@@ -368,6 +371,8 @@
drm->g_fb_width = g_drm_connector->modes[0].hdisplay;
drm->g_fb_height = g_drm_connector->modes[0].vdisplay;
@@ -420,6 +423,8 @@
drm->fb_width = g_drm_connector->modes[0].hdisplay;
drm->fb_height = g_drm_connector->modes[0].vdisplay;
+ drmSetMaster(g_drm_fd);
+
@@ -0,0 +1,14 @@
[Unit]
Description=Assets directory
Before=retroarch.target
After=storage.mount
After=systemd-tmpfiles-setup.service
[Mount]
What=none
Where=/tmp/assets
Type=overlay
Options=lowerdir=/usr/share/retroarch-assets,upperdir=/storage/assets,workdir=/storage/.tmp/assets-workdir
[Install]
WantedBy=retroarch.target
Loaded 100 of 577 files, more files were not shown because too many files have changed in this diff. Show more