Commit graph

42 commits

Author SHA1 Message Date
Minecrell
a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00
Minecrell
c3dcc196ea
*: remove quotes around pkgname (MR 1186)
TP:[AL3]:APKBUILD:5:pkgname must not be quoted

[skip ci]: won't finish within 3 hours
2020-04-25 12:06:47 +02:00
Danct12
aee07e792f
hybris/{drihybris,glamor-hybris}: add maintainers (!931)
Signed-off-by: Danct12 <danct12@disroot.org>

[ci:skip-vercheck] [ci:skip-build]: already built successfully in CI
2020-02-15 20:50:09 +01:00
Danct12
29de974b89
hybris/pulseaudio-modules-droid: upgrade to 12.2.84 and make configurable (!931)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-15 20:49:42 +01:00
Danct12
c79a5df924
hybris/xf86-video-hwcomposer: fix Android-7.1 ports (!931)
* Depend on correct version of libhybris:
  This fixes a very nasty bug where libhybris-9.0 would be
  installed as a dependency of xf86-video-hwcomposer even
  on Android-7.1-based Halium adaptations.
* Add a patch that fixes crash in xf86-video-hwcomposer
  on Andoird-7.1 ports.

Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-15 20:49:41 +01:00
Danct12
c995021c5d
hybris/lxc-android: fix linting errors (!931)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-15 20:49:41 +01:00
Danct12
b84d04ee41
hybris/libhybris: fix license, linting and upgrade to 1.0_git20200117 (!931)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-15 20:49:41 +01:00
Danct12
b59a28a6ad
hybris/android-headers-*: fix license and linting errors (!931)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-15 20:49:36 +01:00
Danct12
82bd0cce91
hybris/xf86-video-hwcomposer: remove drihybrisproto dependency (!675)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-01-12 19:09:48 +03:00
Danct12
2d0538aa32
hybris/drihybrisproto: removed, included in other apkbuilds (!675)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-01-12 19:08:59 +03:00
Danct12
3ba260f099
hybris/glamor-hybris: update to the latest commit (!675)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-01-12 19:08:59 +03:00
Danct12
37eecb26e6
hybris/drihybris: update to the latest commit (!675)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-01-12 19:08:56 +03:00
Oliver Smith
7a6bda3911
hybris: disable x86, x86_64
Closes #384. [ci:skip-vercheck]
2019-11-17 15:32:15 +01:00
TheKit
4158687ff6
hybris/xf86-video-hwcomposer: new git snapshot, Android 9 support (!665)
[ci:skip-build]: already built successfully in CI
2019-10-23 23:48:49 +02:00
TheKit
6b6fa02f32
hybris/libhybris: new upstream snapshot, compile against Android 9.0 headers (!665) 2019-10-23 23:48:34 +02:00
TheKit
24c13b8881
hybris/android-headers-9.0: new package for Android 9.0 headers (!665) 2019-10-23 23:48:08 +02:00
Alexey Min
e9e60806cb
hybris/pulseaudio-modules-droid: fix compatibility with pulseaudio>=13.0 (!667)
There were some API changes:
 - 878ef44079
 - 6665b466d2

Leading to error at run time:
 Error relocating /usr/lib/pulse-13.0/modules/libdroid-sink.so: pa_make_realtime: symbol not found
 Error relocating /usr/lib/pulse-13.0/modules/libdroid-source.so: pa_make_realtime: symbol not found
 Error relocating /usr/lib/pulse-13.0/modules/libdroid-source.so: pa_source_get_state: symbol not found

Fixes are:
 - include <pulse/util.h>, replace pa_make_realtime -> pa_thread_make_realtime
 - replace pa_source_get_state(X) -> X->state
 - replace pa_sink_get_state(X) -> X->state

[ci:skip-build]: already built successfully in CI
2019-10-08 00:56:28 +02:00
Alexey Min
c58b31a268
hybris/libhybris: upgrade to current master (!666)
and drop a patch that was upstreamed

[ci:skip-build]: already built successfully in CI
2019-10-07 23:49:45 +02:00
Alexey Min
5ce2feef9c hybris/{pulsecore-private-headers,pulseaudio-modules-droid}: version bump (!634)
Pulseaudio was updated to 13.0, reflect this in APKBUILDs.

Looks like Mer project did not release pulseaudio-modules-droid
for 13.0, so update it to 12.2.79.

Fixes #363
2019-09-18 16:53:20 +03:00
Oliver Smith
9b5a14d64a
hybris/pulseaudio-modules-droid: bump pkgrel
missing depend(s): so:libtelepathy-qt5-service.so.0
2019-09-16 22:27:21 +02:00
Alexey Min
4e0132a4f6
hybris/libhybris: Fix eglplatform_wayland linking issue (!589)
It should not directly call functions from hybris's libEGL,
because it is not linking to libEGL. Load libEGL dynamically
and resolve function at run time instead.

Related: https://github.com/libhybris/libhybris/pull/424
[ci:skip-build]: already built successfully in CI
2019-09-03 23:10:58 +02:00
Alexey Min
e38f1de121
hybris/pulseaudio-modules-droid: new package (!448)
Set of pulseaudio modules that use Android audio HAL
(via libhybris) to talk to sound cards.

[ci:skip-build]: already built successfully in CI
2019-07-09 22:49:03 +02:00
Alexey Min
83ef586986
hybris/pulsecore-private-headers: new package (!448)
Essentially needed for packaging pulseaudio-modules-droid.

This package is basically a set of headers taken from
original pulseaudio tarball and one hand-made pkg-config file.

All versions listed in this package and in pulsecore.pc should
match pulseaudio's MAJOR.MINOR version, otherwise everything
will break. All library paths listed in pulsecore.pc should
match pulseaudio paths, too. Because library itself is built
and installed by pulseaudio package (pulseaudio-dev).

For motivation behind this see:
9316d7ba94

TL;DR pulsecore is an internal pulseaudio library needed to build
pulseaudio's own modules, not meant to be used py pulseaudio clients.
It is not exported since pulseaudio-8. We fake an "export"
of this library, since we need it to build an out-of-tree module.
2019-07-09 22:48:52 +02:00
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