Deviceinfo cleanup
- Mar 09, 2020
-
-
All device ports have been changed in one of the previous commits, so do one pkgrel bump for all of them using: $ pmbootstrap pkgrel_bump device-* [ci:ignore-count]
-
Don't set any deviceinfo_year for qemu-* and tablet-x64uefi, it wouldn't be very accurate.
-
Download: https://wiki.postmarketos.org/index.php?title=Special:CargoExport&tables=Devices&&fields=Codename%2C+Released&&group+by=Codename&order+by=%60Codename%60%2C+%60Released%60&limit=5000&format=csv cd device for device in device-*; do year=$(grep -oP "${device#device-},\K2\d{3}" ../results.csv) [[ -n "$year" ]] || continue sed -i "s/deviceinfo_date=\"\"/deviceinfo_year=\"$year\"/" "$device/deviceinfo" done devices=$(git ls-files -m -- . | xargs dirname | sort -u | xargs echo) pmbootstrap checksum $devices
-
Attempting to use a stable device path there does not actually work, so we might as well remove it and hope that directfb can now automatically detect the touchscreen for osk-sdl.
-
Most devices do not need to set any of these variables. directfb can now automatically detect touchscreens, calibration is only needed for resistive touchscreens and dev_keyboard is unused. Automatically done using: - sed -i '/deviceinfo_dev_keyboard=""/d' device-*/deviceinfo - sed -i '/deviceinfo_dev_touchscreen=""/d' device-*/deviceinfo - sed -i '/deviceinfo_dev_touchscreen_calibration=""/d' device-*/deviceinfo
-