Commit graph

196 commits

Author SHA1 Message Date
alive4ever
f870333b99 Add triggerhappy: HID input device handler (#1211)
More information:
<https://wiki.postmarketos.org/wiki/Troubleshooting:HID_buttons>
2018-02-11 10:09:18 +00:00
Pavel Machek
ef60968c20 Update unicsy-demo to 0.4.6 (#1215) 2018-02-09 20:41:15 +00:00
Daniele Debernardi
4c91a72ff1 [fbdebug] Add panning functionality (#1207) 2018-02-06 21:21:25 +00:00
Daniele Debernardi
c818f9f054 fbdebug: Add initial framebuffer debug tool (#1196) 2018-02-03 19:09:59 +00:00
Oliver Smith
b165dd2c91 Testsuite: Run UIs in Qemu and check running processes and more (#982)
* Testsuite: Run UIs in Qemu and check running processes (and other changes)

* When `pmbootstrap qemu` gets killed, it now takes down the Qemu process with it
* `test/check_checksums.py` got a new optional `--build` parameter, which makes
  it build all changed packages instead of just checking the checksums
* We run this before running the testsuite now, so all changed packages get
  built before running tests (otherwise tests would hang without any output
  while a changed package is building)
* New testcase, that zaps all chroots, installs a specific UI (xfce4 and
  plasma-mobile currently, easy to extend), runs it via Qemu and checks the
  running processes via SSH.
* Version checking testcase: rewritten to include Alpine's testsuite file in
  our source tree, so we don't need to clone their git repo anymore. Now it
  is enabled for Travis.
* All this gives us a nice 10% code coverage boost
* Increased the `hello-world` pkgrel to verify that the Travis job is working.

* Various fixes
* Build device-packages for the device arch and don't raise an
  exception, but print a note if --ignore-depends is not specified
  and therefore the kernel gets installed, too.
* Don't use --force when building in Travis (because abuild doesn't
  check the checksums then. Bug report on the way.)
* Don't run the building process in the background, but wait for its
  completion
* Exit with 1 when showing usage in check_checksums.py
2018-02-02 00:16:29 +00:00
Oliver Smith
4c9b0de4f5 Fix invalid /etc/apk/repositories entry on device (#1189)
It used to have an entry for /mnt/pmbootstrap-packages, which only
makes sense while working on the chroot with pmbootstrap. After the
installation on the device, there's no repo in that path.
Furthermore, empty lines were added to the recovery installer script
for readability (thanks @ata2001!)
2018-02-01 22:44:20 +00:00
Oliver Smith
6d1af1b891 mkinitfs: Fail on missing depends / better usability in general (#1133)
* Fail if mkbootimg/uboot-tools are not installed, but creating a
  boot.img file / u-boot legacy image was requested via deviceinfo
  (fixes #312)
* Fail if /boot/dt.img is missing, but we have a qcdt device
* Fail if the dtb file specified in deviceinfo does not exist
* Fail if mkbootimg etc. exit with error code
* Don't try to add the ext4 module into the initramfs. We always
  compile it into the kernel. Instead, kconfig_check makes sure it
  is enabled now. (fixes #1037)
* Add a note that modprobe warnings can be ignored mostly
2018-01-31 19:39:09 +00:00
Oliver Smith
63247b469f libsamsung-ipc: update to 6.0.0003 and fix pkgver
Unfortunately pmbootstrap did not detect, that we had an invalid
pkgver in this package. See bug #1144.
2018-01-20 19:28:15 +00:00
Daniele Debernardi
8396a60cf3 abootimg: arch=all (#1131) 2018-01-18 00:58:50 +00:00
Oliver Smith
f5759c1e06 Gracefully handle packages breaking because of soname bumps (#1116)
Fixes #893. Changes:
* New action: "pmbootstrap pkgrel_bump"
* pmbootstrap detects missing soname depends when trying to install
  anyting, and suggests "pkgrel_bump --auto" to fix it
* Testcase test_soname_bump.py checks the pmOS binary package repo
  for soname breakage, so we see it when CI runs for new PRs
* libsamsung-ipc: bump pkgrel because of soname bump
2018-01-14 01:26:42 +00:00
rrooij
bf0a5f0a21 deviceinfo: add blobtools options (#1118)
Add a blobtools option to the deviceinfo file for creating specific
blobs for the Asus TF101 tablet. This will make it easier to flash
afterwards with ADB.
2018-01-13 20:38:29 +00:00
rrooij
6caddcb873 Add blobtools as package for tf101 (#1115)
This is for making a kernel image for the TF101 easier. See also:
ttps://github.com/postmarketOS/pmbootstrap/pull/1103#issuecomment-357035481

The TF101 does not support normal Android boot images and instead needs
a blob to be created.
2018-01-13 00:33:48 +00:00
Attila Szöllősi
ceefc5d8ec [recovery-installer] Copy contents of /etc/skel to home directory (#1114) 2018-01-12 21:53:15 +00:00
Alex Roth
6ae591471a postmarketos-artwork-wallpapers: Update to pull in JPG wallpapers (#1113) 2018-01-12 21:32:59 +00:00
Olgierd Nowakowski
bac4792f27 postmarketos-artwork: Spaces -> Tabs (#1110) 2018-01-10 19:00:55 +00:00
Filip Matijević
2cc6ae4a9d Add basic support for Nokia N9 (#1101)
Also added the watchdog-kick package:
Some devices (namely Nokia N9/950) use more than one watchdog, and
watchdog-kick package kicks all of /dev/watchdogs? every 10 seconds so
they don't reset the device
2018-01-09 16:42:55 +00:00
Olgierd Nowakowski
be5ae77c0a Artwork packages (corrected) (#1097)
* Packaged wallpapers and added a postmarketos-artwork metapackage

* Added artwork packages

* Spaces -> Tabs

* Merged postmarketos-artwork-wallpapers-extra to be a subpackage
Corrected maintainer email
2018-01-09 14:01:27 +01:00
Oliver Smith
73bd400ec0 qemu-amd64: make XFCE4, MATE work out of the box with SDL display (#1094)
* postmarketos-ui-xfce4: update to 0.1, depend on mesa-egl
* postmarketos-ui-mate: depend on mesa-egl
2018-01-08 18:29:11 +00:00
Olgierd Nowakowski
2cbff69bea Modified postmarketos-demo as discussed on IRC: (#1082)
Removed shutdown (as weston isn't running as root anymore)
Changed the firefox button to state that firefox needs to be installed
2018-01-05 03:06:16 +00:00
drebrez
a4dc750a3d Add initial packaging of MATE Desktop Environment (#1012)
Notably it has a loading delay (~30s) issue with marco (MATE window manager).
2018-01-03 18:43:13 +00:00
drebrez
5c2e83f051 [initramfs] Set framebuffer mode earlier in the script (before hooks) (#1070) 2018-01-03 00:38:32 +00:00
Bart Ribbers
75cd812fa3 postmarketos-ui-plasma-mobile: use kwin with framebuffer when missing /dev/dri (#1062)
Modified Plasma launch script to (crudely and unreliably)
detect if it has to run on the framebuffer or not
2018-01-02 22:53:21 +00:00
Luca Weiss
988aef6646 Update linux-postmarketos-mainline to 4.15-rc6 (#1067)
* Using full diff skipping v4.15-rc1
cgit doesn't generate proper patches for binary files (one was added in
v4.15-rc1 and removed in v4.15-rc5 because it also introduced a new
build-time dependency which is now solved). For 4.16 the "old" source
lines can be re-added but until then a full diff skipping v4.15-rc1
is needed.
* Add patch from linux-next to fix the build on some machines
  (sync-check.sh was not executable, see #950)
2018-01-01 23:53:01 +00:00
drebrez
1c71d748f5 [dtbTool] Fix version detection and find dtb in subfolders (#1057)
Fixes #1055.
2017-12-30 19:00:48 +00:00
clayton craft
d1c97617d6 linux-postmarketos-stable: Update to 4.14.9 (#1053) 2017-12-29 13:51:52 +00:00
Alex Roth
2a951d962d Add Teclast X80 Pro (EFI/x86_64 tablet) (#1050) 2017-12-29 02:02:29 +00:00
MoreRobustThanYou
6666f8a984 Replace dtbTool with the Skales dtbTool (#1048)
Should work the same, except it should also work in mainline,
because it uses libfdt (CM dtbtool often errors on mainline).
2017-12-28 20:44:50 +00:00
drebrez
0c63ff041c Feature debug-shell (#1028)
* Changed usb-shell behavior, it wait for some user action before continue booting
* Rename usb-shell to debug-shell and changed port to 23
* Add `20-debug-shell.sh` script to static code analysis
* Enable eth0 interface in initramfs (qemu)
* Add additional script to run a shell in order to be able to kill it from a telnet session
2017-12-23 19:22:28 +00:00
Oliver Smith
da9a4f99b7 Enable qt5-qtwebengine for aarch64 again
Compiling with the gold linker works \o/ - this fixes #1008.
2017-12-23 11:24:17 +01:00
Attila Szöllősi
7a92fc03d4 [recovery-installer] Log into one logfile instead of two (#1031) 2017-12-22 18:39:44 +00:00
Bart Ribbers
25d7b699c8 Add KDE debugging rules by default (#1032) 2017-12-22 18:37:36 +00:00
Attila Szöllősi
2f9ef89189 Rename deviceinfo variable flash_methods to flash_method (#1030)
* Rename deviceinfo variable flash_methods to flash_method
* Update pmb.config.deviceinfo_attributes / add sanity check
* Add test case that parses all deviceinfo files
2017-12-21 22:12:51 +00:00
Alex Roth
27b59a47bf Fix for qtwebengine not linking on armhf, re-add armhf arch for luna packages (#1025) 2017-12-19 23:28:26 +00:00
Oliver Smith
5584b04491 weston: bump pkgrel (soname bump of dependency libva) 2017-12-20 00:19:07 +01:00
Oliver Smith
204b7b4ef8 qt5-qtdeclarative (QML) compile for armv7 to enable JIT and make it work at all (#1022)
Also removed the Alpine maintainer (as we usually do so we don't
annoy him) and changed the pkgver to 9999 (this package is present
in upstream Alpine, we don't want it to get replaced when Alpine
updates their version).
2017-12-18 22:57:40 +00:00
Alex Roth
04d73a5824 Add packages and configuration changes to allow Luna to start in QEMU (#1016)
* Added a lot more Luna packages. It is now possible to start Luna, complete the first use app, and use the system. ARM support still broken.
* Cleanup & testing fixes. Starting in a fresh qemu environment works, but isn't quite deterministic. See wiki page for details
2017-12-17 18:25:59 +00:00
drebrez
db25689dfd apk-file: Command line front end for pkgs.alpinelinux.org (#1011) 2017-12-15 23:41:14 +00:00
drebrez
4782ffd01f Add devicepkg-dev which generate the touchscreen udev rule based on the deviceinfo (#995)
* Use devicepkg-dev by default in new device wizard
* Add link to reference wiki page
2017-12-14 21:17:18 +00:00
Oliver Smith
b031017414 qt5-qtwebengine: disable aarch64 and armhf (see #1008)
(Not increasing the pkgrel, because we really don't want to build
this when not necessary.)
2017-12-14 22:00:10 +01:00
Alex Roth
6792641fd1 Add qtwebengine & qtwebchannel from luna work (#999) 2017-12-12 23:37:04 +00:00
drebrez
fd7b2bb9ba aports: packaged matchbox-keyboard (#1001) 2017-12-12 19:40:12 +00:00
Bart Ribbers
c615d769a5 Add qt5-qtbase with OpenGL ES2 enabled (#996)
Add qt5-qtbase with OpenGL ES2 enabled and adjust the
upstream compatibility test case.
* Test case: don't get the qt5-qtbase version from any APKINDEX, but
  only from Alpine's community APKINDEX
* Test case: If the pkgver is 9999, look at _pkgver
2017-12-11 20:24:30 +00:00
Oliver Smith
b31e799f40 postmarketos-ui-plasma-mobile: Remove compile time warning (downloading pre-built packages from the binary repo is working) 2017-12-09 03:33:25 +01:00
Oliver Smith
bc21aed803 Fix android recovery zip (thanks @kaendfinger for the patch!)
Fixes #937.
2017-12-09 02:58:17 +01:00
Bart Ribbers
d6efa94dd4 Re-add powerdevil and polkit-kde-agent as runtime deps to postmarketos-ui-plasma-mobile (#977)
* Re-add powerdevil and polkit-kde-agent as runtime deps to postmarketos-ui-plasma-mobile
* Add kwinrc to start applications maximized
2017-12-04 23:19:17 +00:00
Bart Ribbers
45d3d6f008 Upgrade Qt libs to 5.9.3 / add test case to check if we're in sync with Alpine (#976)
* Upgrade Qt libs to 5.9.3
* Add test case to make sure we are always in sync with Alpine's QT
and update qt5-qtsensors, too.
* Remove qt5-qtquickcontrols2 (it's in Alpine now)
2017-12-04 23:06:09 +00:00
Oliver Smith
b8e71b7eba postmarketos-ui-plasma-mobile: depend on kwin 2017-12-03 19:01:19 +01:00
Oliver Smith
31df88c66b Remove dbus-nox11
It made problems, see #956 and #952. Originally this was added, so
our plasma mobile packaging - which targets wayland - doesn't need
to depend on X11 stuff. And because dbus-x11 caused a 1 minute
wait for an X server (#377).

We have yet to figure out if this problem returns, but even if that
happens, it's better than having it completely broken. And we can
probably figure out a better way to fix it (for real).
2017-12-02 20:19:16 +01:00
MoreRobustThanYou
8b2710cd90 Adds consolekit2 to postmarketos-ui-plasma-mobile depends (#965) 2017-12-02 12:59:53 +00:00
Oliver Smith
9fe445af36 device-qemu-amd64: Use LTS kernel (#954) 2017-12-01 19:10:58 +00:00