Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

libhybris

From Wikipedia, the free encyclopedia
Compatibility layer to run Android drivers on glibc or musl-based Linux systems

"Hybris (software)" redirects here. For the German software company, seeHybris (company).
Hybris
Original authorCarsten Munk
DevelopersMer,Jolla,Open webOS community,Canonical Ltd.
Initial release5 August 2012; 13 years ago (2012-08-05)[1]
Written inC,C++
Operating systemLinux
TypeCompatibility layer
LicenseApache License 2[2]
Websitegithub.com/libhybris
Repository
TheGNU C Library (glibc) andlibbionic act as a wrapper around the Linux system calls. Libhybris replaces Libbionic and works on top of the glibc,i.e. it hooks into glibc instead of into the Linux kernel system calls, thereby acting as a compatibility layer.
The Android operating system replaces theGNU C Library withlibbionic. Both libraries are wrappers around thesystem calls of theLinux kernel, but while the GNU C Library has aimed to become and stay POSIX-compliant, libbionic does not. Programs written for libbionic can only run on GNU C Library with the help of another wrapper called libhybris.
While a programmer targets and uses anAPI, a compiled program can only use the resulting ABI. . After compilation, the binaries offer anABI.

libhybris is acompatibility layer for computers runningLinux distributions based on theGNU C library orMusl,[3] intended for using software written forBionic-basedLinux systems, which mainly includesAndroid libraries anddevice drivers.[4]

History

[edit]

Hybris was initially written by Carsten Munk, aMer developer, who released it onGitHub on 5 August 2012[1] and publicly announced the project later that month.[4][5] Munk has since been hired byJolla as their Chief Research Engineer.[6]

Hybris has also been picked up by theOpen webOS community for WebOS Ports,[7][8] byCanonical forUbuntu Touch[6][9] and by theAsteroidOS[10] project.

In April 2013, Munk announced that Hybris has been extended to allowWayland compositors to use graphic device drivers written for Android.[6][11][12]Weston has had support for libhybris since version 1.3, which was released on 11 October 2013.[13]

Features

[edit]

Hybris loads "Android libraries, and overrides some symbols from bionic withglibc"[4] calls, making it possible to use Bionic-based software, such asbinary-only Android drivers, on glibc-based Linux distributions.

Hybris can also translate Android'sEGL calls into Wayland EGL calls, allowing Android graphic drivers to be used on Wayland-based systems. This feature was initially developed byCollabora's Pekka Paalanen for his Android port of Wayland.[6][14][15][16]

See also

[edit]

References

[edit]
  1. ^ab"Initial commit of stskeeps/libhybris". GitHub. 5 August 2012. Retrieved3 July 2013.
  2. ^"libhybris/hybris/COPYING". GitHub. 4 April 2013. Retrieved3 July 2013.
  3. ^"Hybris - postmarketOS".wiki.postmarketos.org. Retrieved21 October 2019.
  4. ^abcCarsten Munk."So, introducing libhybris,…". Google+. Retrieved3 July 2013.
  5. ^"Libhybris: Load Android Libraries, Override Bionic Symbols". Phoronix. 25 September 2012. Retrieved3 July 2013.
  6. ^abcdCarsten Munk (11 April 2013)."Wayland utilizing Android GPU drivers on glibc based systems, Part 1". Mer Project. Retrieved3 July 2013.
  7. ^"Open webOS ported to Nexus 7 over holiday break". The H Open. 7 January 2013. Retrieved3 July 2013.
  8. ^"WebOS-Ports". WebOS-Ports. Retrieved3 July 2013.
  9. ^"libhybris in Launchpad". Launchpad.net. 5 February 2013. Retrieved3 July 2013.
  10. ^"AsteroidOS: An open-source operating system for smartwatches". AsteroidOS. Retrieved27 January 2016.
  11. ^Munk, Carsten (8 May 2013)."Wayland utilizing Android GPU drivers on glibc based systems, Part 2". Mer Project. Retrieved3 July 2013.
  12. ^"Jolla Brings Wayland Atop Android GPU Drivers". Phoronix. 11 April 2013. Retrieved3 July 2013.
  13. ^"Wayland and Weston 1.3 release notes". 11 October 2013.
  14. ^Munk, Carsten (13 April 2013)."libhybris/hybris/egl/platforms/common/wayland-android.xml". GitHub. Retrieved3 July 2013.
  15. ^"First Signs Of Wayland Running On Android". Phoronix. 27 April 2012. Retrieved3 July 2013.
  16. ^Pekka Paalanen (24 September 2012)."Wayland on Android: upgrade to 4.0.4 and new build integration". Retrieved3 July 2013.

External links

[edit]
Features
Standard library
Implementations
Compilers
IDEs
Comparison with
other languages
Descendant
languages
Designer
Retrieved from "https://en.wikipedia.org/w/index.php?title=Libhybris&oldid=1291575591"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp