commit | 0eba5313e1ca62312b994fff082d155b36aaa821 | [log] [tgz] |
---|---|---|
author | Stephen Barber <smbarber@chromium.org> | Mon Mar 12 23:47:44 2018 |
committer | Stephen Barber <smbarber@chromium.org> | Mon Mar 12 23:47:44 2018 |
tree | 0770661c57529d91797b3c97573040fdb463b778 | |
parent | 0b85bba3ce3ec82c6521b6ea493532751c838917 [diff] |
Update xwayland to reduce wl_buffer usage.
These are Debian source packages that have been patched to support virtwl shmem allocation.
Local builds can be performed by executing kokoro/build.sh. This will use cowbuilder to build the source package after installing the virtwl kernel header.
Release builds can be run through kokoro.
It's highly recommended to use a disposable container (Docker or lxd works) of the target distro to work on.
The source packages here were generated by doing the following, on the distro to update:
# Install dependencies. sudo apt-get install build-essential devscripts quilt # Put virtwl header in the right spot. sudo install -m 644 patches/virtwl.h /usr/include/linux/virtwl.h # Get source. apt-get source $PACKAGE cd $PACKAGE-$VERSION export QUILT_PATCHES=debian/patches mkdir -p "${QUILT_PATCHES}" # Import each patch with quilt. QUILT_PATCHES=debian/patches quilt import ../../patches/$PACKAGE/0001-... QUILT_PATCHES=debian/patches quilt import ../../patches/$PACKAGE/0002-... # Apply patches to current source tree. QUILT_PATCHES=debian/patches quilt push -a # Build the source and binary packages. dpkg-buildpackage --sign-key=<your gpg key>
Test only the binary package on an existing container to check compatibility. Then, commit only the source package, which should contain only the following files: