Skip to content
Snippets Groups Projects
  1. Jul 09, 2019
    • Alexey Minnekhanov's avatar
      hybris/pulseaudio-modules-droid: new package (!448) · e38f1de1
      Alexey Minnekhanov authored
      Set of pulseaudio modules that use Android audio HAL
      (via libhybris) to talk to sound cards.
      
      [ci:skip-build]: already built successfully in CI
      e38f1de1
    • Alexey Minnekhanov's avatar
      hybris/pulsecore-private-headers: new package (!448) · 83ef5869
      Alexey Minnekhanov authored
      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:
      https://git.sailfishos.org/mer-core/pulseaudio/commit/9316d7ba941516cabfc080a0099fad80a231582d
      
      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.
      83ef5869
  2. Jun 09, 2019
  3. Jun 07, 2019
  4. May 30, 2019
  5. May 26, 2019
    • Alexey Minnekhanov's avatar
      hybris-base: new package (!351) · 3e883537
      Alexey Minnekhanov authored
      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
      3e883537
  6. May 25, 2019
  7. Apr 21, 2019
    • Dang Huynh's avatar
      hybris/lxc-android: patched config for the latest lxc version (!330) · d0f5d25e
      Dang Huynh authored
      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.
      d0f5d25e
  8. Apr 05, 2019
  9. Feb 11, 2019
  10. Dec 04, 2018
    • NeKit's avatar
      libhybris: replace 7.1-caf pkg with separate test_hwcomposer binary (!88) · 4c085ddf
      NeKit authored
      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.
      4c085ddf
  11. Nov 27, 2018
  12. Apr 10, 2018
    • NotKit's avatar
      Package libhybris (#1402) · c9b6e30e
      NotKit authored
      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.
      c9b6e30e
Loading