BSD Ports

x11/framework-autorotate 1.1 FreeBSD

Framework Laptop 12 X11 display autorotate

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
e77b750328
License
BSD2CLAUSE
Categories
x11

Description

framework-autorotate orients the built-in display of a Framework Laptop 12 under FreeBSD X11 by reading the Chrome Embedded Controller (EC) memmap accelerometer and tablet-mode bit (TBMD), applying xrandr to the internal panel (eDP/LVDS/DSI), and remapping absolute touch and stylus devices.

It is intended for use with an X display manager greeter as well as an interactive session. Framework Laptop 13 Pro, even with the touchscreen kit, is a clamshell, not a convertible.

In the other systems

SystemPortVersion
FreeBSDx11/framework-autorotate1.1
MidnightBSDx11/framework-autorotate1.0
HardenedBSDx11/framework-autorotate1.0
GhostBSDx11/framework-autorotate1.0

Install

Binary package:

pkg install framework-autorotate

From the ports tree:

cd /usr/ports/x11/framework-autorotate/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	framework-autorotate>0:x11/framework-autorotate

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-1.1--1.1
FreeBSD:14:quarterly-1.0n/a-1.0
FreeBSD:15:latest-1.1n/a--
FreeBSD:15:quarterly-1.0n/an/an/a
FreeBSD:16:latest-1.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 4

The full lists below include those, and their dependencies in turn.

Build dependencies 8
Run dependencies 23

Configuration

Options name: x11_framework-autorotate

OptionDefaultDescription
EXAMPLESoffBuild and/or install examples
USES
localbase:ldflags xorg
Service scripts
framework_autorotate

Files

Manual pages 1
  • framework_autorotate(8)
pkg-plist 6
  • sbin/framework_autorotate
  • libexec/framework_autorotate/map-touchscreen
  • libexec/framework_autorotate/xlogin_recenter
  • share/man/man8/framework_autorotate.8.gz
  • share/examples/framework-autorotate/dot.framework_autorotate.bvwm
  • share/examples/framework-autorotate/dot.framework_autorotate.fvwm
distinfo 1
FileSizeSHA256
FrauBSD-framework-autorotate-1.1_GH0.tar.gz32075635da9c2923d953bdddb26585c6163614a078f04cc51150e2e53caa552b7d647

Commit history 3

DateCommitCreditsLog message
e77b750328 Devin Teske x11/framework-autorotate: Update to 1.1
On an extended or rotated desk the stylus watcher stays up for the X session, because the stylus can appear after the three-minute window; a laptop-only desk still watches for 180 seconds EXAMPLES are on by default, no need for OPTIONS_DEFAULT=EXAMPLES man-pages in repository were moved into man directory Remove WWW (automatically set by USE_GITHUB) Changelog: https://github.com/FrauBSD/framework-autorotate/blob/1.1/CHANGELOG.md Approved by: jrm (mentor) Reviewed by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D60510
6255cb20bc Devin Teske x11/framework-autorotate: Restrict to amd64 and i386
The daemon talks to the Framework Chrome EC over LPC using inb/outb from <machine/cpufunc.h>. Those helpers exist only on x86, so the arm64 package build fails at link. Reported by: pkg-fallout Differential Revision: https://reviews.freebsd.org/D59056
2e07486a80 Devin Teske x11/framework-autorotate: New port
Framework Laptop 12 X11 display autorotate: Chrome EC memmap accelerometer and TBMD drive RandR on the built-in panel, ILIT touch/stylus remap, XDM greeter recovery, and an optional per-user chrome hook. Reviewed by: jrm Differential Revision: https://reviews.freebsd.org/D58651