Commit graph

19 commits

Author SHA1 Message Date
Danct12
99d90175bf
hybris/libhybris: enable mali and adreno quirks (!428)
Signed-off-by: Danct12 <danct12@disroot.org>

[ci:skip-build]: already built in CI
2019-06-09 21:28:03 +02:00
Danct12
f51840620b
hybris/libhybris: updated for gralloc handler (!428)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-06-09 21:26:45 +02:00
Asriel Dreemurr
0f575f81c6
hybris/xf86-video-hwcomposer: updated to the latest 18-02-2019 commit (!424)
[ci:skip-build]: already built successfully in CI

Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-06-07 23:52:38 +02:00
Asriel Dreemurr
f6e76368c1
hybris/libhybris: updated to the latest 08-05-2018 commit, fixed compilation (!424)
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-06-07 23:52:18 +02:00
Asriel Dreemurr
97f3092b88
hybris/glamor-hybris: updated to the latest 17-12-2018 commit (!424)
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-06-07 23:52:18 +02:00
Asriel Dreemurr
35c431ee8f
hybris/drihybrisproto: updated to the latest 17-12-2018 commit (!424)
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-06-07 23:52:18 +02:00
Asriel Dreemurr
b36217eefe
hybris/drihybris: updated to the latest 17-12-2018 commit (!424)
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
2019-06-07 23:52:18 +02:00
Alexey Min
ec2ec5b84b
hybris/lxc-android: fix android group names in system udev rules (!391) 2019-05-31 01:15:30 +02:00
Alexey Min
64e8ee6279
hybris/lxc-android: remove unneeded udev rule override (!391)
It conflicts with some device packages that already have it. As
discussed in [1], this is better to be done in device specific package.

[1] https://gitlab.com/postmarketOS/pmaports/merge_requests/332#note_174632449
2019-05-31 01:10:48 +02:00
Alexey Min
3e883537f1
hybris-base: new package (!351)
Meta package to install all needed packages to get libhybris hardware
adaptation working.

Has 2 subpackages (caf/generic), that device packages can depend on.

Arches are limited, because libhybris cannot be built for x86_64.

[ci:skip-build]: already built successfully in CI
2019-05-26 18:03:17 +02:00
Alexey Min
2d08cf8554
hybris/lxc-android: add more android groups and logcat script (!351)
also be smart about default username
2019-05-25 23:08:31 +03:00
Danct12
d0f5d25e4d
hybris/lxc-android: patched config for the latest lxc version (!330)
The config file for container from Halium repo is outdated, and will not
load on latest version of LXC, here is the error when you start the container:

postmarketos:~$ sudo lxc-start android
lxc-start: android: confile.c: parse_line: 2447 Unknown configuration key "lxc.rootfs"
lxc-start: android: parse.c: lxc_file_for_each_line_mmap: 142 Failed to parse config file "/var/lib/lxc/android/config" at line "lxc.rootfs = /var/lib/lxc/android/rootfs"
Failed to load config for android
lxc-start: android: tools/lxc_start.c: main: 264 Failed to create lxc_container
postmarketos:~$

This pull request updates the config file, but also use the latest
commit.
2019-04-21 22:52:22 +02:00
Alexey Min
fb784b6236
hybris/*: enable building for armv7 (!297)
[ci:skip-build]: simple arch change, building will probably take too
                 long
2019-04-06 00:29:55 +02:00
Luca Weiss
2f4da158d0
Always quote _commit (!207)
[skip ci]: too many aports changed
2019-02-11 22:03:58 +01:00
Luca Weiss
774046c85b Use _commit consistently, use _commit in sources instead of pkgver (!207) 2019-02-11 22:02:26 +01:00
NeKit
4c085ddf54
libhybris: replace 7.1-caf pkg with separate test_hwcomposer binary (!88)
As observed on UBPorts, hwcomposer implementation on Android 7 CAF (non-Nexus
Qualcomm) devices has slight differences in employed structs, which makes
them binary incompatible with AOSP headers.

Halium 7.1 android-headers extracted from LineageOS include those
modifications (e. g. https://github.com/Halium/android-headers/blob/halium-7.1/hardware/hwcomposer.h#L290),
so it is enough to add QTI_BSP/QCOM_BSP to defines of programs utilizing
those headers. In case of libhybris, only test_hwcomposer is affected so
far on 7.1 (might be not true for Android 5.1/6!).

This change avoids providing libhybris-7.1-caf package by building a
separate binary of test_hwcomposer for affected devices.
2018-12-04 07:16:25 +01:00
Robert Yang
467c240aee
hybris: Correct the musl runtime linker config file name for armhf 2018-11-27 07:47:11 +01:00
NotKit
d3c369bc43
Update libhybris and add more related packages 2018-11-27 07:47:11 +01:00
NotKit
c9b6e30e76 Package libhybris (#1402)
As discussed in #1039, I want to split feature/hybris branch into
smaller sensible pull requests.

This is the first one that simply adds android-headers and libhybris
packaging. libhybris allows apps compiled with glibc (musl in our case)
to load Android libraries that utilize bionic libc, which is used to
load proprietary userspace drivers.

The package isn't very useful on its own and requires core (non-UI/Java)
Android services to be running in some way - either in Halium-style LXC
container or in same root as main OS with modified init (Mer/Sailfish do
it this way). Both ways are tested to work in postmarketOS.

libhybris also includes some tests, not all of them are known to be
representative, but test_vibrator and test_egl_configs are usually good
indicators if system is set up correctly.
2018-04-10 21:13:42 +00:00