Commit graph

738 commits

Author SHA1 Message Date
Martijn Braam
74ac6819c9
main/postmarketos-mkinitfs: verbose network log (!468)
Make the initfs show better errors in the network setup part.
2019-06-30 11:49:03 +02:00
Oliver Smith
17292f4f5e
main/postmarketos-base: fix wpa_supplicant config (!365)
Fix wifi on htc-ace by properly setting nl80211 before wext.

/etc/conf.d/wpa_supplicant is supposed to get modified twice with the
current code in the post-install file. The first one was patched
recently to set nl80211 before wext, but that change does not work in
practice, for two reasons:

1. The code block does not even get executed, because apk reports that
   /etc/conf.d/wpa_supplicant was already modified (by a package that
   was installed before, in its post-install script? I could not find
   out which one does that though).
2. Even if it worked, the second code block would revert the change and
   put wext before nl80211 again.

Fix this by removing the first code block, and changing the order in the
second one. Make it easier to catch such errors in the future, by
printing, which files get modified, or get skipped. Set "#!/bin/sh -e",
so the script can not fail silently.

When doing pmbootstrap -y zap and then pmbootstrap install, the output
looks like this:

(141/151) Installing postmarketos-base (3-r26)
Executing postmarketos-base-3-r26.post-install
- Modifying: /etc/fstab
- Modifying: /etc/issue
- Modifying: /etc/motd
- Modifying: /etc/conf.d/syslog
- Modifying: /etc/conf.d/wpa_supplicant
- Modifying: /etc/sudoers
- Modifying: /etc/chrony/chrony.conf
2019-06-30 02:00:08 +02:00
Luca Weiss
82b143f3f0
Fix spelling mistakes (!466)
codespell --skip="./.git,*.patch,*.diff,config-*.*"

[ci:skip-build]
[ci:skip-vercheck]
2019-06-30 01:40:02 +02:00
Bart Ribbers
0cebe2a3a2
main/libphonenumber: remove, upstreamed (!467) 2019-06-27 11:05:01 +02:00
Bart Ribbers
8220ed31e6
main/postmarketos-ui-plasma-mobile: add lightdm-openrc to depends (!460)
Fixes post-install script.
2019-06-26 22:50:37 +02:00
Bart Ribbers
df665a4980
kde/kube: remove in favor of trojita (!460) 2019-06-26 22:50:31 +02:00
Luca Weiss
a66fed62cc
Format **/*.c with clang-format (!465)
[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2019-06-26 22:36:24 +02:00
Bart Ribbers
4f3360c051
main/vvave: update and move to newer sources (!454)
[ci:skip-build]: already built successfully in CI
2019-06-24 22:09:09 +02:00
Bart Ribbers
377426d090
main/pix: update and move to newer sources (!454) 2019-06-24 22:08:57 +02:00
Bart Ribbers
359991bcab
main/nota: update and move to newer sources (!454) 2019-06-24 22:08:57 +02:00
Bart Ribbers
c72e009383
main/index: update and move to newer sources (!454) 2019-06-24 22:08:57 +02:00
Bart Ribbers
8cae9e1b2b
main/buho: update and move to newer sources (!454) 2019-06-24 22:08:57 +02:00
Bart Ribbers
98b21a669b
main/mauikit: update and move to newer sources (!454) 2019-06-24 22:08:53 +02:00
Oliver Smith
7fb32b86a4
main/libofono-qt: disable docs
Documentation depends on texlive, which is currently not available in
Alpine edge x86.
2019-06-24 21:59:45 +02:00
Oliver Smith
020dd0e9f2
main/libofono-qt: remove unused patch files
[ci:skip-vercheck]
2019-06-24 21:58:43 +02:00
Oliver Smith
069fabbd3d
main/telepathy-ofono: bump pkgrel
missing depend(s): so:libmission-control-plugins.so.0, so:libofono-qt.so.1
2019-06-24 21:25:06 +02:00
Daniele Debernardi
375e98b950
main/reboot-mode: new aport (!442)
New tool to reboot the device to a specific mode.
2019-06-24 21:09:47 +02:00
Bart Ribbers
af263907ca
main/libofono-qt: rename from ofono-qt and move to newer sources (!408)
[ci:skip-vercheck] libofono-qt switched to newer sources but uses a
different version numbering system
2019-06-24 11:06:44 +02:00
Bart Ribbers
f0a25157c2
kde/plasma-phone-components: enable calls (!408) 2019-06-24 11:06:44 +02:00
Bart Ribbers
95592e8fb9
main/postmarketos-ui-plasma-mobile: fix dependency name (!451) 2019-06-20 15:30:04 +02:00
Bart Ribbers
b5398b9723
main/grantlee: remove, upstreamed (!449) 2019-06-20 13:41:25 +02:00
Bart Ribbers
c2a2670d3d
main/postmarketos-ui-plasma-mobile: minimize runtime dependencies (!449) 2019-06-20 12:41:05 +02:00
Martijn Braam
d591cd2a38
device/pine-dontbeevil: Seperate version for longts (!407)
This adds a seperate dts for the longts version of the devkit (which was
the un-inverted version before) and adds a shortts version which was
inverted before, but didn't exist in pmaports yet because I manually
edited the dts for every release.

This MR abuses the kernel switching feature to switch the dtb instead so
shortts/longts can be selected in the init step.

[ci:skip-build]: build won't finish in time
2019-06-20 00:19:29 +02:00
Oliver Smith
24df480254
main/telepathy-qt: disable tests
Tests are failing at least for armhf. Disable all of them to unblock the
builder for now.

[ci:skip-vercheck]
2019-06-18 08:34:45 +02:00
Bart Ribbers
80a260d778
main/postmarketos-ui-plasma-mobile: add spacebar to depends (!376)
An SMS application for Plasma Mobile, finally!

Please note that it's still in development, and it doesn't work
flawlessly yet. For example new chats can't be initiated, someone else
has to send an SMS to you first before you can send an SMS back.

However, with this application basic phone functionality should work
with Plasma Mobile. I'll keep it up-to-date while it develops, just like
the other to-be-released Plasma Mobile applications we already package
(e.g. Plasma Camera).

[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2019-06-17 21:58:25 +02:00
Bart Ribbers
9e5424ec42
main/telepathy-qt: rename from telepathy-qt5 [ci:skip-vercheck] (!376) 2019-06-17 21:58:11 +02:00
Bart Ribbers
bdce39ee7d
main/telepathy-glib: remove, has been upstreamed (!376) 2019-06-17 21:58:07 +02:00
drebrez
7bc1750d64
main/libfakekey: remove (upstreamed) (!441) 2019-06-17 20:42:58 +02:00
Bart Ribbers
918579087a
main/postmarketos-ui-hildon: fix launch (!439)
[ci:skip-build]: already built successfully in CI
2019-06-14 02:01:24 +02:00
Martijn Braam
c1d859554e
main/hwtest: update to 0.3.0 (!436)
* Added --skip option to skip specific tests
* Allow skipping broken inputs in interactive mode with ctrl+c
* Added basic modem test that lists modems in ofono
* Added audio test based on alsabat
* Added pressure sensor support
* Fixed temperature calculations
2019-06-14 01:24:36 +02:00
Tito Ragusa
7a320245bc main/msm-fb-refresher: fix typo 2019-06-07 21:36:29 +00:00
Bart Ribbers
71815d8718
main/postmarketos-ui-weston: fix custom configs (!423)
Use the start_weston.sh wrapper script again, and make it work with
lightdm. It makes custom weston configs possible, and allows starting
postmarketos-demos together with weston. The custom config logic uses a
default config from postmarketos-ui-weston unless it is overwritten
with a device specific config. Our default configs use fbdev in most
cases, as this is not the case since the change to lightdm, weston was
broken for most devices with downstream kernels, that only work with
framebuffer.

Lastly, set myself as maintainer for this UI. Resolves #289

Ollieparanoid extended this patch and made sure that this boots up
weston on the samsung-i9100 again.
2019-06-07 22:46:49 +02:00
Alexey Min
80cf689e81
main/linux-postmarketos-qcom: update to 7370f062 (!415)
* Add panel driver for oneplus-bacon
* Add dts for oneplus-bacon
* Remove msm-id and board-id properties from samsung-klte

after https://gitlab.com/postmarketOS/linux-postmarketos/merge_requests/2
2019-06-05 22:05:14 +02:00
Asriel Dreemurr
96e2e6df66
main/postmarketos-ui-sway: new aport/new UI (!374)
Does not work without hw acceleration!
2019-06-04 22:34:53 +02:00
Asriel Dreemurr
5b1a20fbaf
main/postmarketos-ui-*: fix lightdm autologin after reinstall (!385)
When the UI package is reinstalled (due to the package being recompiled
or upgraded), it runs $pkgname.post-upgrade instead of
$pkgname.post-install which would run the sed replacement LightDM
autologin. This will cause LightDM to show the greeter when the UI
package is rebuilt, and the user ran pmbootstrap install without
deleting the old chroot.

Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
Reviewed-by: Danct12 <danct12@disroot.org>
Signed-off-by: Danct12 <danct12@disroot.org>
2019-06-04 20:42:13 +02:00
Danct12
bbf3e19294
main/linux-postmarketos-*: upgrade mainline to 5.2-rc2, stable to 5.1.5 (!392)
[ci:skip-build]: Takes more than an hour to build on CI.

Signed-off-by: Danct12 <danct12@disroot.org>
2019-06-02 04:52:45 +02:00
Bart Ribbers
3bcc7efacb
phosh/chatty: new aport (!8)
[ci:skip-build]: already built successfully in CI
2019-06-02 03:40:25 +02:00
Bart Ribbers
3c2ed666a6
phosh/calls: new aport (!8) 2019-06-02 03:39:39 +02:00
Bart Ribbers
15e5de079c
main/postmarketos-ui-phosh: new aport (!8) 2019-06-02 03:39:39 +02:00
Luca Weiss
693079abb5
mkinitfs: Introduce deviceinfo_append_dtb variable (!387)
We don't need to append the dtb to the kernel image in all cases, with
e.g. the u-boot bootloader we can load the dtb seperately from the
kernel image. Introduce a new variable deviceinfo_append_dtb, if set to
"true", append the dtb, otherwise just copy the dtb file to the boot
partition.

Fixes #260

[ci:ignore-count]
2019-06-02 03:13:43 +02:00
Martijn Braam
3bba29a6ef
Add postmarketos-ui-shelli (!397)
A framebuffer console plus gesture recognition UI option. Tested locally
building and on nexus 5. The power key works fine for me and the freeze
after sitting for about 5 minutes still happens for me but I don't
consider that necessarily a shelli bug, maybe the code needs to feed a
watchdog or something.
2019-06-01 23:06:37 +02:00
Bart Ribbers
36d68814fd
kde/* && main/buho: fix upstream compatiblity by renaming attica and phonon dependencies (!411) 2019-06-01 22:42:50 +02:00
Luca Weiss
83592a0522
postmarketos-ui-xfce4: remove xfce4-mixer (!405)
It has been removed from the Alpine aports because it depends on the
unmaintained gstreamer0.10 package. Remove it from our metapackage.
2019-06-01 15:53:44 +00:00
Martijn Braam
07cbc8cf18
main/hwtest: Update to 0.2.0 (!401)
This adds the first interactive tests for inputs, interactive tests are
only run when specifying --interactive/-i. This also adds --export and
--verify. The export option will write the test results to an .ini file.
The verify option will run the tests and compare it to the saved export
and then will show a diff of hardware functionality.
2019-05-31 03:30:09 +02:00
Bart Ribbers
a4c298f829
Plasma mobile, weston: use lightdm, elogind (!379)
Move Wayland meta packages to LightDM and replace ConsoleKit2 for
elogind for Plasma.

Now we don't need the hacky scripts in /etc/profile.d anymore!
This change requires elogind for both Weston and Plasma Mobile. Using
elogind allows us to use one patch less in kwin. Weston has logind
(which elogind provides) support disabled in Alpine Linux, so I put the
package in temp/ with it enabled for now, but will upstream this change
to Alpine.

Remove consolekit2 dependency in postmarketos-ui-xfce4.

[ci:skip-build]: already built successfully.
2019-05-30 01:39:25 +02:00
Danct12
b77f0911b8
main/onboard: removed package (!388)
https://github.com/alpinelinux/aports/pull/8030\#issuecomment-496246018
2019-05-28 23:54:58 +02:00
Bart Ribbers
9302c5f9aa
kde/plasma* && main/postmarketos-ui-plasma-mobile*: disable armhf (!206)
They don't work on that arch because of https://gitlab.com/postmarketOS/pmaports/issues/75
2019-05-28 22:53:30 +02:00
Danct12
9ea0ca4de7
main/linux-postmarketos-*: upgrade mainline (5.2-rc1) and stable (5.1.4) (!367)
Tested with qemu. Tested on N900 by ollieparanoid.

[ci:skip-build]: kernel takes more than an hour to compile on CI.
2019-05-25 01:55:57 +02:00
Martijn Braam
d72923dcd5
main: linux-postmarketos-allwinner: PinePhone updates
- main: postmarketos-mkinitfs: Add /run
  Create the /run directory in the initramfs so that cryptsetup doesn't
  crash on not being able to create /run/cryptsetup for lockfiles

- device: pine-dontbeevil: Remove workaround for touchscreen

- main: linux-postmarketos-allwinner: Implemented supplies for touchscreen
  This uses a slightly newer commit from the kernel repo that implements
  requesting a regulator in the touchscreen driver

- device: pine-dontbeevil: Remove ethernet from initramfs
  This actually makes debugging more complicated since networkmanager wont
  touch the ethernet adapter afterwards and the initramfs can be debugged
  over uart

- temp/u-boot: sync APKBUILD with upstream and update to 2019.04

- main: linux-postmarketos-allwinner: Use 20190521 git version
2019-05-23 14:39:21 +02:00
Martijn Braam
4f5aa75375 Add hwtest 0.1.0 2019-05-21 19:39:26 +00:00
Danct12
f343cb5a0e
main/onboard: new aport (!370)
Currently we're using matchbox-keyboard as on screen keyboard. However,
onboard seems to be a better alternative to, it has auto-show, word
suggestions, themes and settings you can choose. So far the best OSK out
there on the market.

There are a few minor issue such as word suggestions doesn't work (not
sure why, but i assume that onboard doesn't know about the program that
was in front of it), sound feedback doesn't work at all due to missing
sound despite it exists in
/usr/share/sounds/freedesktop/stereo/onboard-key-feedback.oga. Other
than that, I haven't found any issue while testing.

Tested on qemu-amd64.
2019-05-19 20:57:20 +02:00
Oliver Smith
3b35907c50
main/pmbootstrap: update to 1.6.1 2019-05-19 19:58:52 +02:00
Bart Ribbers
e927feb4d5
main/maui*: update to latest git (!366)
Built and tested on x86_64, everything works as before.

[ci:skip-build]: ollieparanoid made sure that this builds for all
                 arches.
2019-05-18 02:21:55 +02:00
hacker12455
322cec513c
main/columbiad: new package (full screen launcher) (!364)
It is a standalone app, I'm planning to make a UI version of it.
2019-05-16 20:23:56 +02:00
Danct12
aff352d9c3
main/postmarketos-base: ignore confusing p2p0 interface (!344)
On some devices (mainly the ones that uses wcnss-wlan), there is another
interface beside wlan0, which is p2p0. It is used for Wi-Fi Direct, but
beside that, this might also cause confusion to other users as well. And
also you cannot connect into any network with this interface.
2019-05-14 22:24:26 +02:00
Robert Yang
acf5e6d394
main/mesa-grate: replace libelf-dev dependency for elfutils-libelf (!356)
libelf-dev has been removed in the upstream repos.

[ci:skip-build]: already built successfully in CI
2019-05-08 21:17:37 +02:00
Robert Yang
d559a0fe7e
main/mesa-grate: Add python2 to makedepends (!356)
Fixes missing python2 dependency. For some reason it was building fine
in the past. Some other dependency must have been pulling python2.
2019-05-08 14:36:15 -04:00
Martijn Braam
5cf1ee92e8 pine-dontbeevil: Fixed sound and battery (!348)
* Fixed audio
* Fixed battery handeling
* Added fix for touchscreen not working for everyone
* Use newer upstream kernel

[ci:skip-build]: won't finish in time, Martijn made sure that it builds.
2019-05-06 22:01:34 +00:00
Luca Weiss
d3d2b8dfdb
main/kmscube: update to new git snapshot (!342)
Upstream also provides the meson build system now, so use it.
2019-05-06 22:21:59 +02:00
Oliver Smith
230433ad9d
various: pkgrel bump after icu-dev upgrade
Rebuild to fix missing dependencies:
so:libicui18n.so.63, so:libicuuc.so.63

Currently we are facing another upstream compatibility issue with
Alpine, which is why CI will fail: polkit and therefore
networkmanager don't exist for armhf, armv7. See #244 for details.
2019-05-05 12:08:54 +02:00
Alexey Min
6818cd6bac postmarketos-base: add deferred-initcalls openrc service (!338)
This script triggers late initialization of some platform
drivers that cannot be probed at boot time, because for
example they use firmware blobs on partitions that are
not mounted during early kernel startup.

Disabled by default, can be enabled on per-device basis.
2019-05-02 21:07:31 +00:00
Alexey Min
7d8587a9db
postmarketos-ui-plasma-mobile: add unlock-plasma helper script (!337)
Plasma lockscreen is currently hard or impossible to unlock
using phone itself, that's why you should send a command to
ConsoleKit over DBus in a shell. This script saves from extra
typing.
2019-05-01 00:11:20 +03:00
Martin Piatka
8caa370611 postmarketos-mkinitfs: Support initramfs compressions other than gzip (!334)
The postmarketos initramfs is larger than android initramfs. This causes
problems on some devices like htc-ace that have a very small boot
partition (4MB in htc-ace). I've been able to make the boot image small
enough to fit by compressing initramfs using lzma.
With this change it should be possible to change the compression in
deviceinfo like this: deviceinfo_initfs_compression='lzma'
or even deviceinfo_initfs_compression='lzma -9'. When no option is
specified it defaults to 'gzip -1'.

I've also added dependencies to compression utilities for all possible
initramfs compression algorithms.
2019-04-30 17:12:33 +00:00
Martijn Braam
badaed7177 pine-dontbeevil: update kernel, config, more CMA mem (!336)
* Moved more PinePhone related kernel stuff to the upstream
* Added cma=256M so the CSI subsystem doesn't throw out-of-memory errors
  when capturing at higher than 1280x720 resolutions (but it still hangs)
* Removed a lot of modules that get compiled for DVB tuners after
  enableing the camera stuff.

[ci:skip-build]: doesn't finish in time
2019-04-28 23:03:02 +00:00
Oliver Smith
c6e854b186
main/gcc{4,6}, cross/gcc{4,6}*: fix depends
Explicitly depend on mpc1. Our generated gcc aports use the !tracedeps
option, so we need to explicitly set the libraries it depends on.

This has mostly not been an issue, as we are installing our gcc
packages together with Alpine's gcc package, which causes the libraries
to get installed anyway.

Fixes #236.

[ci:skip-build]: takes too long to build.
2019-04-26 22:45:54 +02:00
Oliver Smith
e91b7e780e
main/pmbootstrap: update to 1.6.0
First release with crossdirect support, meaning crossdirect is stable
now!
2019-04-24 16:10:54 +02:00
Martijn Braam
74142b4d67 pine-dontbeevil: Touch and wifi (!331)
* Inverted the X-axis on the touchscreen
* Enabled the driver for the wifi/bluetooth chip and added it to the dts
* Added a horrible hack for making the touchscreen work

This also decreases the kernel version because the previous version I've
used was technically incorrect.

[ci:skip-build]: doesn't finish in time
2019-04-24 13:50:00 +00:00
Oliver Smith
ffbbe41d63
main/kernel-scripts: remove (!329)
This package was a workaround for out-of-tree modules (wireguard). We
have dropped the wireguard kernel module package already, and since
kernel-scripts is failing to build now (it would need to be updated),
let's drop it as well.

If somebody wants to bring back *and maintain* the wireguard
out-of-tree kernel module, I've documented how we had done it here:
https://wiki.postmarketos.org/wiki/Out-of-tree_kernel_modules

[ci:skip-build]: building the kernels that have been adjusted to drop
                 kernel-scripts related code would take too long for CI,
                 but I'm making sure that everything still builds before
                 merging.
2019-04-19 19:31:06 +02:00
Martijn Braam
9353bca73f pine-dontbeevil: various dtb improvements (!323)
* Created seperate DTB for the devkit named sun50i-a64-dontbeevil.dts so
  it can easily be edited and the diff remains readable in gitlab
* Added patch to build the new dtb
* Added the ST LIS3MDL to the new dtb (Magnetometer)
* Added the SensorTek STK3335 to the new dtb (Proximity and ambient
  light sensor)
* InvenSense MPU-6050 to the new dtb (Accelerometer and gyroscope)
* Added CSI bus and OV5640 camera

Remaining issues:
* The STK3310 module doesn't load automatically
* Camera doesn't want to capture but does show up as /dev/video0

[ci:skip-build]: doesn't finish in time
2019-04-18 20:59:11 +00:00
Robert Yang
5aa8866347
android-recovery-installer: Use an explicit list of zip file contents (!324)
The working directory can contain other files. For example pmbootstrap uses
the same directory for generating android recovery zip files. Extra files
can end up being archived into the recovery zip.

This change explicitly passes the list of files to be archived.
2019-04-18 21:10:21 +02:00
Oliver Smith
db9611cdab
py3-brotlipy: bump pkgrel after soname bump
Library doesn't exist anymore, so we need to rebuild the package:
so:libpython3.6m.so.1.0
2019-04-18 20:49:58 +02:00
Betty Cooper
4c42992532
main/postmarketos-artwork-wallpapers: new wallpaper (!320)
Use new wallpaper instead of the old one, and only install one wallpaper
file.
2019-04-18 20:34:40 +02:00
Bart Ribbers
3d0b44dded
kde/frameworks*: update to 5.57 (!317)
Built and tested on x86_64, everything works as expected.

[ci:skip-build]: ollieparanoid made sure, that this builds for all
                 relevant arches. With crossdirect, so that means it is
                 pretty stable now \o/
2019-04-15 21:38:24 +02:00
Robert Yang
24814b2ccb
xf86-video-opentegra: Compositing improvements (!311)
Includes pull request 51 from upstream.

[ci:skip-build]: already built successfully in CI
2019-04-12 01:03:28 +02:00
Robert Yang
e66967c06e
libdrm-grate: Caching improvements (!311)
Includes pull request 43 from upstream.
2019-04-12 01:02:57 +02:00
Robert Yang
e752240ee7
libvdpau-tegra: Fix drawing problems on tegra30 (!311) 2019-04-12 01:02:52 +02:00
Luca Weiss
a169c1335a
all: remove install scripts from source (!310) 2019-04-12 00:38:38 +02:00
Martijn Braam
9b88689b9d
new device: device-pine-dontbeevil (Don't be evil devkit) (!308)
UART and SSH work and HDMI works in u-boot (just like the pine-a64lts).
It should work now with display and xorg/weston works directly after
installing. Plasma mobile doesn't work directly because both kms and
fbdev are enabled and kms doesn't work yet.

linux-postmarketos-allwinner: update to 5.0.0-rc3 with patches for this
devkit, tested on this device and on pinea64lts (the only other device
using the allwinner kernel).

[ci:skip-build]: won't finish in time
2019-04-11 23:49:03 +02:00
Oliver Smith
f540943f0c
main, unity8: bump pkgrels after boost upgrade
$ pmbootstrap pkgrel_bump --auto
Increase 'libphonenumber' pkgrel (5 -> 6), missing depend(s): so:libboost_system-mt.so.1.67.0, so:libboost_thread-mt.so.1.67.0
Increase 'unity-system-compositor' pkgrel (0 -> 1), missing depend(s): so:libboost_system-mt.so.1.67.0
Increase 'trust-store' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0
Increase 'process-cpp' pkgrel (0 -> 1), missing depend(s): so:libboost_iostreams-mt.so.1.67.0
Increase 'mir' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_iostreams-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0
Increase 'location-service' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0
Increase 'ubuntu-download-manager' pkgrel (0 -> 1), missing depend(s): so:libboost_log-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0, so:libboost_thread-mt.so.1.67.0
Increase 'dbus-cpp' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0

[ci:skip-build]: I doubt that this would finish in time
2019-04-03 21:25:34 +02:00
Luca Weiss
40d110fcc9 Change default NetworkManager DHCP client to dhcpcd (!278)
Remove the override in ouya-ouya (and in postmarketos-base) and add an
override for raspbery-pi3

Fixes #210
2019-03-29 14:53:47 +01:00
Martijn Braam
4c222eee7b main/postmarketos-ui-i3wm: Added xinput dependency (!282)
This adds the missing xinput dependency that's needed for lock.sh
2019-03-18 06:47:48 +00:00
PureTryOut
2a0dcdac5a kde/frameworks*: update to 5.56 (!275)
Built and tested on x86_64.

[ci:skip-build]: ollieparanoid made sure that this builds for
                 x86_64, aarch64, armhf, armv7
2019-03-15 17:46:37 +00:00
Luca Weiss
8b9998fc64 unity8/mir: update to 1.1.2, update related pkgs (!276)
Mir 1.1.2 builds without any out-of-tree patches, which is great.
I've updated a few other unity8-related packages too.

[ci:skip-build]: ollieparanoid made sure, that everything builds.
2019-03-14 06:34:40 +00:00
Oliver Smith
7ab24cb685
pmbootstrap: update to 1.5.1 2019-03-10 02:45:58 +01:00
Matthias Berndt
83bdddad4c
postmarketos-base: nl80211 before wext in wpa_supplicant (!264)
Fixes wifi on htc-vision.
2019-03-09 22:33:33 +01:00
Bhushan Shah
70d0fe5272 plasma-mobile: Fix the virtualkeyboard for mobile (!262)
Without QT_QUICK_CONTROLS_MOBILE=true, kwin would assume it is on
desktop with touchscreen and would try to show resize overlay. which
doesn't work on phone.

Fixes #206
2019-03-08 11:40:20 +00:00
PureTryOut
a0eb18e1e6
main/postmarketos-ui-plasma-mobile-extras: new aport (!214)
This takes over all extra dependencies from Plasma Mobile.

[ci:ignore-count]
2019-03-08 09:50:01 +01:00
PureTryOut
3daead037b
main/kaidan: new aport (!214)
Requires new aport main/qxmpp
2019-03-08 09:49:25 +01:00
PureTryOut
6f3635fc24
main/nota: new aport (!214) 2019-03-08 09:43:32 +01:00
PureTryOut
2829d65e98
main/buho: new aport (!214) 2019-03-08 09:43:32 +01:00
PureTryOut
05358f9a5f
kde/calindori: new aport (!214) 2019-03-08 09:43:32 +01:00
PureTryOut
8a666ce1a9
kde/qmlkonsole: new aport (!214)
This aport replaces qmltermwidget, which is now used as a submodule
instead. kde/qmltermwidget is moved to main/qmltermwidget and uses a
different upstream source, and Index is updated to use it from it's new
source
2019-03-08 09:43:32 +01:00
Robert Yang
e76bd07487 postmarketos-base: Make NetworkManager conf more easily overridable (!260)
Later conf files override earlier ones. With this change, device specific
packages can ship their own NetworkManager configs that override the
postmarketos config.

Example: 10-samsung-p4wifi.conf would override 00-postmarketos.conf
2019-03-07 11:09:05 -05:00
foldedcascode
e1dda38396
lg-hammerhead: switch arch to armv7 (!257) 2019-03-07 10:34:09 +01:00
Oliver Smith
125ab01876
pmbootstrap: update to 1.5.0 2019-03-03 10:45:39 +01:00
Clayton Craft
45fd30fa32 uuu: update to 1.2.91 (!245)
This seems to resolve some issues present on the previous version
2019-03-02 10:43:33 -08:00
rahmanshaber
8909e932d0
coreapps/*: update to 2.4.0 (!249)
[ci:ignore-count]
2019-03-01 09:42:01 +01:00
PureTryOut
27a56b4f18 main/pmbootstrap: update dependencies 2019-02-28 08:40:39 +00:00
Oliver Smith
11d7172334
main/wireguard-postmarketos-stable: remove
This isn't building anymore, because linux-postmarketos-stable has been
switched from armhf to armv7 in pma!240.

We could change the arch of wireguard-postmarketos-stable too, but the
package is not maintained at all, and I doubt that anybody is using it.
So I'm dropping it. If there are any users, please step up to maintain
the package.
2019-02-27 21:27:45 +01:00
Zhuowei Zhang
7df2c93459
main/postmarketos-mkinitfs: support verbose boot (!234)
Adds a new initfs hook, verbose-initfs, which doesn't do anything on its
own. Modify postmarketos-mkinitfs to check if this hook is installed and
if so run `set -x`.

It's done this way so verbose boot is enabled as early as possible,
before hooks are loaded.

Tested on the qemu-aarch64 device.

- pmboostrap initfs hook_add verbose-initfs
- pmbootstrap qemu --arch aarch64
- confirmed that commands are echoed to the console
2019-02-27 21:02:02 +01:00
Luca Weiss
624c046cd4
main/*, unity8/*: update various unity8 packages (!221)
Everything seems to be fine in QEMU.

[skip ci]: too many packages have changed
2019-02-27 19:10:30 +01:00
Zhuowei Zhang
ba902038ca
google-crosshatch: add WIP mainline kernel (!226)
This is tested to boot on google-crosshatch, following these
instructions:

$ pmbootstrap init, choose the mainline kernel
$ pmbootstrap install --no-fde
$ pmbootstrap initfs hook_add debug-shell
(enter fastboot mode on the device)
$ fastboot set_active a
$ fastboot flash dtbo_a ~/.local/var/pmbootstrap/chroot_rootfs_google-crosshatch/boot/dtbo-google-crosshatch-mainline.img
$ pmbootstrap flasher boot

And you should get telnet after a while. This kernel takes a long time
to build, so [skip ci]. I can confirm it builds locally.

Note that this patch adds the mainline dtb path to deviceinfo. But the
parameter gets ignored on the downstream kernel, so it's fine to keep it
in the shared deviceinfo.

Mainlining this device is work in progress, details at:
https://gitlab.com/postmarketOS/pmaports/issues/153
2019-02-27 18:31:51 +01:00
Martijn Braam
f5b9af638e main/linux-postmarketos-stable: Fix ARMv7
This makes the linux-postmarketos-stable kernel generate an armv7 package instead of armhf. The contents
of the package were armv7 already but now it can be correct with the new Alpine support.
2019-02-27 14:09:53 +00:00
ryang
2dc0718ddd grate-driver: Update to more recent revision and build for ARMv7 (!241)
Changes:
- Accelerated screen rotation
- Optimizations to buffer copies
- Pull mesa cache buffer size patch from upstream AlpineLinux mesa aport
2019-02-26 17:24:26 +00:00
PureTryOut
09ce31ca20
kde/frameworks: update to 5.55.0 (!212)
[skip ci]: too many packages changed, build won't finish in time.
	   ollieparanoid made sure that this builds for x86_64,
	   aarch64, armhf, armv7. Also he tested that this boots up
	   in qemu-amd64.
2019-02-19 08:40:18 +01:00
Oliver Smith
a3b88e2e28
main/pmbootstrap: update to 1.4.0 2019-02-15 16:58:48 +01:00
Oliver Smith
2d638d1a3a
main/xcursorgen: build for all arches again
Fix binary package build error caused by package dmz-cursor-theme with
arch=all depending on xcursorgen.
2019-02-15 10:58:39 +01:00
Luca Weiss
8c2a95dbe2
unity8: initial packaging (!27)
* Mir starts up and is able to display system settings
* x86_64 only for now, because at least ubuntu-app-test did not build
  on aarch64

Based on PureTryOut's work. Getting it to this stage was a huge effort
(as it shows in the package count: 111(!)). See the merge request for
details.

[skip ci]: this won't finish in CI; ollieparanoid made sure that
           everything builds for x86_64.
2019-02-13 21:47:29 +01:00
Daniele Debernardi
7b3702e2dd Add gcc4 and gcc4-armhf packages (!216)
Successfully tested both the gcc4 compiler on x86_64 with a simple
program (fbdebug) and the gcc4-armhf cross-compiler to build a very old
u-boot port for Galaxy Nexus (a MR will follow soon) which failed to
boot with either newer version (6 and 8).

[skip ci]: already went through
2019-02-12 21:03:12 +00:00
Luca Weiss
2f4da158d0
Always quote _commit (!207)
[skip ci]: too many aports changed
2019-02-11 22:03:58 +01:00
Luca Weiss
774046c85b Use _commit consistently, use _commit in sources instead of pkgver (!207) 2019-02-11 22:02:26 +01:00
Bhushan Shah
14c0397f26
plasma-mobile: dump scaling based on font sizes (!204)
PureTryOut said: The situation has improved, that's for sure, but the
scaling still isn't perfect. However, according to bshah, this is how it
should be done, so I'm fine with merging this anyway.
2019-02-11 20:56:58 +01:00
Bart Ribbers
17f88bd2f8 kde/ & main/postmarketos-ui-plasma-mobile: bump pkgrel after Qt upgrade (!202) 2019-02-08 13:48:21 +01:00
Bart Ribbers
a72cf419ad
temp/qt5-*,main/libphonenumber: pkgrel bump to fix ICU soname issue (!200)
Alpine Linux has updated their main/icu to 63.1, which means we have to
rebuild some of our packages too.

[skip ci]: simple pkgrel bumps, building won't finish in CI
2019-02-08 08:31:22 +01:00
Oliver Smith
8e00db7fef
main/uuu: only build for x86_64
Fails to build for armhf with the error below, and doesn't seem to be
tested on anything but x86_64 anyway according to the project's
README.md file. I did not report this upstream, because we are using
the version from Purism's repository that is at 1.2.31. Upstream is
already at 1.2.68, which may have fixed this already. So if somebody
needs to have it working for anything other than x86_64, we should try
the upstream version first.

[ 83%] Creating preprocessed clst file /home/pmos/build/src/mfgtools-uuu_1.2.31/uuu/gen/emmc_burn_all.clst
gen_txt_include.sh: applet not found
make[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:63: uuu/gen/uuu.clst] Error 127
make[2]: *** Waiting for unfinished jobs....
gen_txt_include.sh: applet not found
make[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:68: uuu/gen/emmc_burn_loader.clst] Error 127
gen_txt_include.sh: applet not found
gen_txt_include.shmake[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:73: uuu/gen/emmc_burn_all.clst] Error 127
: applet not found
make[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:93: uuu/gen/sd_burn_all.clst] Error 127
make[1]: *** [CMakeFiles/Makefile2:184: uuu/CMakeFiles/uuu.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 83%] Built target uuc
make: *** [Makefile:130: all] Error 2
2019-02-08 08:28:18 +01:00
Clayton Craft
d873bc0d28
main/uuu: Add Universal Update Utility (!196)
This is a flasher tool used by the Librem5 devkit and most likely other
future NXP-based devices.
2019-02-07 09:10:08 +01:00
Bart Ribbers
fd73c12f8d main/qt5-*: remove as it's now in the Alpine repositories 2019-02-06 12:52:06 +01:00
Zhuowei Zhang
2a4d30e52a
main/postmarketos-mkinitfs: fix USB idVendor/idProduct values for ConfigFS (!190)
ConfigFS expects idVendor and idProduct values to be prefixed with 0x.

Without this change, google-crosshatch shows as a device with 0:0 as the
idVendor/idProduct in lsusb:

Bus 001 Device 004: ID 0000:0000

This confuses VirtualBox: it has trouble detaching this device from
a virtual machine, so one must manually use ifconfig to bring down the
old USB network connection before reattaching.

With this change, the idVendor/idProduct is correct:

Bus 001 Device 004: ID 18d1:d001 Google Inc.

This issue also seems to affect other devices with ConfigFS, such as the
Nexus 5:

https://matrix.to/#/!clcCCNrLZYwdfNqkkR:disroot.org/$15487159511194991apGpy:matrix.org
2019-02-05 10:07:21 +01:00
Grant Miller
6b3b08f08a main/devicepkg-dev: Automatically install initfs-hook.sh (!191) 2019-02-05 09:34:34 +01:00
rahmanshaber
34d157a255 Update APKBUILD - qt5-qtsvg-dev 2019-01-30 11:59:38 +00:00
rahmanshaber
99336d5992 main/qt5ct: new aport (!185)
This program allows users to configure Qt5 settings (theme, font, icons,
etc.) under DE/WM without Qt integration.
2019-01-30 09:07:35 +01:00
Bhushan Shah
5b25a32861
plasma-mobile: launch dbus session before kwin (!183)
Otherwise kwin can't register it's services.
2019-01-30 08:41:51 +01:00
Oliver Smith
4328e5fe2f
devicepkg-dev: opt-out compiler-gcc.h replacing (!186)
Instead of never overwriting compiler-gcc.h if it exists, overwrite it
by default except if OVERWRITE_GCCH=0 is set in the environment.

Most kernels *do* need this file replaced and won't build without this
patch.
2019-01-29 09:44:44 +01:00
Clayton Craft
ff25ad7a0c
main/devicepkg-dev: don't overwrite compiler-gcc.h (!141)
At least one newer kernel already includes the compiler support split
stuff, so don't overwrite it if it already exists.
2019-01-28 20:45:18 +01:00
Clayton Craft
018e28cc66
main/postmarketos-mkinitfs: aarch64 uboot initrd (!141)
Support generating the aarch64 legacy uboot initrd files, not only the
armhf version. Use deviceinfo_arch to choose the right arch.
2019-01-28 20:45:18 +01:00
Attila Szollosi
b24a2a4c96 recovery zip: fix "No OS installed" warning (!169)
Tested on sony-amami with TWRP 3.0.2.
2019-01-28 09:52:02 +01:00
Clayton Craft
db85aebd0f
devicepkg-dev: Properly replace -Werror= (!181)
The 5.0 kernel now includes -Werror= parameters in the makefile, this
changes downstreamkernel_prepare.sh to support them. Without this, the
script will replace, for example, -Werror=blah with =blah, which causes
the kernel compilation to fail.
2019-01-28 08:13:52 +01:00
Bart Ribbers
9c51b26162
main/postmarketos-ui-plasma-mobile: remove elisa from depends (!151)
We had 2 music players included which doesn't make sense, and vvave is
actually made with a focus on mobile.

[skip ci]: do not try to build this merge request, ollieparanoid made
           sure that it builds for x86_64, armhf, aarch64.
2019-01-23 11:02:06 +01:00
Bart Ribbers
879213f02c
kde/frameworks*: update to 5.54.0 (!150)
Tested on Qemu amd64. Everything builds and runs correctly.

[skip ci]: ollieparanoid made sure that this builds for x86_64, armhf
           and aarch64.
2019-01-22 09:07:58 +01:00
Oliver Smith
170c9aaaf1
pmbootstrap: update to 1.3.0 2019-01-22 08:59:47 +01:00
Matthias Berndt
f0f6db1bae
pmos-base: skip failures in devmappings.initd (!164)
Continue even if some kpartx commands fail. This is necessary for the
htc vision and perhaps other devices.
2019-01-22 07:30:44 +01:00
Martijn Braam
99700879f3
main/unixbench: Upgrade to latest git master (!166)
Upgrade unixbench to git master instead of the old git tag I've used.
New version has way better way to check core count on ARM machines.
2019-01-22 06:47:55 +01:00
Luca Weiss
8c1ebc31a8
pine-a64lts: add wifi and bluetooth firmware (!153)
Add firmware-rtl8723bt package and Pine wifi and bluetooth firmware
subpackage.

[skip ci]: ollieparanoid will build this MR manually before merging, it
will probably not finish CI within one hour.
2019-01-20 14:47:59 +01:00
Luca Weiss
4edbac805d
pine-a64lts: update kernel to 4.20.0 (!153) 2019-01-20 14:47:50 +01:00
Martijn Braam
fb436c7b29
main/unixbench: add aport for a benchmarking tool (!145)
Adds an aport for unixbench and a wrapper so it can be started with
ubench without requiring write permissions in /usr. To launch the
benchmark on a phone and have it finish in a reasonable amount of time:

$ ubench dhry whets
Output on an i7-7700HQ in the pmbootstrap chroot:
Dhrystone 2 using register variables      146273178.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    44390.3 MWIPS (9.7 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  146273178.2  12534.1
Double-Precision Whetstone                       55.0      44390.3   8071.0
                                                                   ========
System Benchmarks Index Score (Partial Only)                        10057.9

This is a neat way to get relative performance between devices and
testing performance for upstream/downstream kernels.
2019-01-19 22:12:52 +01:00
Oliver Smith
bccf3d10e2
main/wireguard-postmarketos-stable: fix arch
Change arch line to same as linux-postmarketos-stable (so the current
build scripts won't attempt to build linux-postmarketos-stable for
armv7).
2019-01-18 09:46:38 +01:00
Robert Yang
6178ebda12
mesa-grate: Switch to meson build system (!148) 2019-01-18 07:33:58 +01:00
Oliver Smith
82d9c87d4f
main/telepathy-mission-control: fix armv7 build
Add python2 to makedepends, so it builds in strict mode for armv7.
Otherwise it would fail with:

checking whether /usr/bin/python2 version >= 2.6... configure: error: too old
2019-01-15 09:44:16 +01:00
PureTryOut
0bf985f5e1
main/maui*: update apps and plasma-angelfish (!136)
This MR updates the app to the latest commit (currently from 2 days
ago). It also updates plasma-angelfish, but I changed the $pkgrel to
follow the format of the other Git packages.

This also re-enables plasma-angelfish and vvave in the default Plasma
Mobile installation, as they were previously disabled due to
qt5-qtwebengine (which they depend on) requiring a soname bump
upstream.
2019-01-11 08:17:44 +01:00
Grant Miller
61d42aa1e7 heimdall: Fix APKBUILD and switch to GitLab 2019-01-10 21:30:24 +00:00
Oliver Smith
c43d9f22d3
pmbootstrap: update to 1.2.0 2019-01-10 22:14:59 +01:00
PureTryOut
7f1c8ba865
kde/applications*: update to 18.12.0 [skip ci] (!135)
Add main/qt5-qtspeech, required dependency for kde/kpimtextedit. Disable
check in kde/kimap, as it fails at least with QEMU aarch64.

Change the source url for Sink and Kube to the KDE Download mirror
rather than their GitHub organization (they required rebuilding anyway
due to the applications upgrade).
2019-01-10 09:49:52 +01:00
Grant Miller
a03b21723d Revert "hildon: disable building x86 for all packages" (!131)
This reverts commit d7e1a2fb6e.
2019-01-09 07:14:06 +01:00
Grant Miller
13c73cba5a Revert "main/postmarketos-demos, -ui-weston: disable x86" (!131)
This reverts commit 6e0781b7ab.
2019-01-09 07:14:02 +01:00
Bhushan Shah
9f00f17d94
plasma-mobile: fix booting into black screen (!128)
Switch plasma-mobile to use xdg-shell instead of wl-shell. wl-shell is
deprecated in Qt 5.12 and is breaking plasmashell, it seems.

Related upstream issue:
https://invent.kde.org/kde/plasma-phone-components/issues/2

This introduces another regression that applications don't start
maximized. Will have to solve this issue upstream.

Closes #159
2019-01-04 20:31:06 +01:00
Daniele Debernardi
88abc21167
debug-shell: Skip fbsplash properly (!124)
The show_splash function called by the 20-debug-shell.sh script already
skips fbsplash when the device is configured to not use the framebuffer.
But the variable was not defined in the script. This is solved by
including the /etc/deviceinfo file.

Follow-up to !108, where this change got lost in the rebase.
2019-01-03 09:03:37 +01:00
Oliver Smith
7dfb3b8d2b
main/qt5-*/APKBUILD: use double quotation marks in URL (!119)
Let pmbootstrap properly parse the package URLs, this is required for
the next commit where we start comparing the pkgver of all QT packages
- based on the URL like we do it for the KDE packages.
2018-12-30 20:53:46 +01:00
Luca Weiss
f09c7225dd
telepathy-glib: enable vala bindings (!121)
Needed for the unity8 branch.
2018-12-30 20:00:27 +01:00
Bart Ribbers
232aeaf6f3
main/qt5-qtvirtualkeyboard: fix build, remove patch (!118)
Remove a patch that fixed a compilation error, it is not needed anymore
and does not apply to 5.12.
2018-12-29 17:20:28 +01:00
Bart Ribbers
3072439c23
main/qt5-qtwayland: fix depends, drop patch (!117)
Depend on wayland-dev and remove the LuneOS related patch that does not
apply anymore. We don't ship LuneOS UI anymore (see #49), so there's no
point in carrying around the patch.

This package was broken in the upgrade to Qt 5.12.
2018-12-29 17:10:21 +01:00
Oliver Smith
bcd2b13e5e
QT: upgrade to 5.12.0 [skip ci]
Following today's upgrade in Alpine:
https://github.com/alpinelinux/aports/pull/5830

KDE packages have been bumped as described here:
https://wiki.postmarketos.org/wiki/Repository_maintenance
2018-12-28 17:34:27 +01:00
Oliver Smith
8a05aacfc6
pmbootstrap: update to 1.1.0 2018-12-26 22:20:45 +01:00
Daniele Debernardi
a98b900b65
postmarketos-mkinitfs: skip fbsplash for deviceinfo_no_framebuffer (!108)
Also noticed that the debug-shell hook wasn't sourcing the deviceinfo
and still showing the splashscreen even with
deviceinfo_no_framebuffer="true", now is fixed and tested.

Additionally, fix a typo in the existing
"NOTE: Skipping framebuffer setup..." message.
2018-12-26 20:21:55 +01:00
Robert Yang
6d25c1bef6 postmarketos-base: Add openrc service that creates partition mappings (!115)
When util-linux v2.32 updated v2.33, remounting a partition stopped
working.

  mount -n -o remount,rw /
  mount: /: can't find LABEL="pmOS_root".

This service will add the pmOS rootfs partitions to device mapper so that
the remount root partition will succeed.

Fixes issue #156
2018-12-26 12:08:36 -05:00
Bart Ribbers
bfd3159d3c
kde/framework: upgrade to 5.53.0 (!105)
Tested locally on qemu-amd64, everything appears to work correctly.

[skip ci]
2018-12-22 23:33:44 +01:00
Grant Miller
3fe8d0e053
Use openssl for all kernels (!111)
This is a followup to !109 (merged). Affected packages:
* device/linux-samsung-p4wifi
* device/linux-sony-tulip
* device/linux-teclast-x80pro
* main/linux-postmarketos-allwinner
* main/linux-postmarketos-mainline
* main/linux-postmarketos-qcom
* main/linux-postmarketos-stable

[skip ci] I have confirmed that all 7 kernels still compile.
2018-12-22 23:30:02 +01:00
Grant Miller
a6baf4b732
main/abuild-aarch64-qemu-workaround: Use openssl (!109)
Fix the openssl/libressl conflicts that only appeared on aarch64, see
c83052 ("temp/qemu: disable block-curl module") for example.
2018-12-22 08:55:09 +01:00
Oliver Smith
14d60fe243
main/msm-fb-refresher: update to 0.2
The patch from drebrez has been upstreamed.
2018-12-15 01:48:29 +01:00
Oliver Smith
54f977435d main/abuild-sign-noinclude: new aport (!81)
Builds abuild-sign and abuild-tar.static without any dependencies, so
they can be used outside of an Alpine Linux system. We need this for
build.postmarketos.org.
2018-12-13 09:13:07 +01:00
Daniele Debernardi
e090a0a498
msm-fb-refresher: also do ioctl on errors (!89)
I noticed that some times the framebuffer driver gets configured in a
way that the ioctl performed by msm-fb-refresher returns something lower
than zero:

0ed263db09/drivers/video/fbmem.c (L877-L911)

For example when the Xorg starts I noticed it does a ioctl BLANK and
UNBLANK, but if msm-fb-refresher performs a ioctl in that moment it
stops its loop and exit.

For this reason I lost a lot of time trying to understand what was the
problem with Xorg not displaying anything until I noticed that I had
to restart the msm-fb-refresher.

With this change we don't have to care about msm-fb-refresher as it will
continue call ioctl PAN even if the framebuffer returns some negative
error code.
2018-12-03 23:33:03 +01:00
Oliver Smith
afd26b3b97
Revert "main/gcc6: delete in favor of Alpine's gcc6"
This reverts commit d56a2facfb
and changes the main/gcc6 pkgrel to 9999, so it will always be higher
than Alpine's version.
2018-12-01 11:59:48 +01:00
Oliver Smith
1c0108f836
main/pmbootstrap: update to 1.0.4 2018-12-01 02:54:17 +01:00
Grant Miller
d56a2facfb
main/gcc6: delete in favor of Alpine's gcc6
Alpine Linux ships their own GCC6 package now (side by side with GCC8):
https://git.alpinelinux.org/cgit/aports/commit/?id=f76673fb030820b2053cad7e5b81ece31079d4cc
2018-11-29 09:16:00 +01:00
Oliver Smith
b4e50f18be
postmarketos-ui-weston: remove --pixman-type hack
Do not add --pixman-type to the commandline, when
deviceinfo_weston_pixman_type is filled out.

--pixman-type was enabled in Weston with a custom patch, that currently
prevents us from upgrading Weston (#136).

The option allowed working around broken framebuffer drivers in
Android downstream kernels, which reported the wrong color format.
But it only works for Weston, the right way to patch this would be
patching the kernels, and we have some approaches here:
https://wiki.postmarketos.org/wiki/Troubleshooting:display#My_screen_is_red.21
2018-11-29 07:31:06 +01:00
Oliver Smith
d4e4d02774 pmos-ui-plasma-mobile: enable software rendering
When rendering on framebuffer, always do software rendering. This
should make it possible to boot up Plasma Mobile on most devices with
downstream kernels, although terribly slow. Still better than a black
screen though. Tested and working on the samsung-i9100.

We can improve the code and possibly make the rendering mode
configurable per device once we experimented more with:
* llvmpipe vs. softpipe on various devices
* armv7 (around the corner in Alpine)
* a proper display manager like lightdm
2018-11-28 06:31:40 +00:00
Luca Weiss
069a27c331
mkbootimg-osm0sis: update to 2018.10.27 2018-11-27 20:18:58 +01:00
Martijn Braam
18366bb90b
main/postmarketos-splash: add --raw (!75) 2018-11-27 07:50:28 +01:00
Daniele Debernardi
e371209b29
fbdebug: Add options to retrieve the colormap and set the fb mode 2018-11-27 07:47:11 +01:00
Oliver Smith
4468cf9b97
Various N900 improvements, change default i3 terminal to "st" 2018-11-27 07:47:11 +01:00
Oliver Smith
4dbbfbc0ba
main/postmarketos-ui-i3wm: fix lightdm autostart 2018-11-27 07:47:11 +01:00
PureTryOut
eb582ea44e
main/postmarketos-ui*: use lightdm for X11 UIs 2018-11-27 07:47:11 +01:00
Oliver Smith
46aaf093f0
pmos-ui-plasma-mobile: disable angelfish, vvave
Both depend on qt5-qtwebengine, which needs to be rebuilt in Alpine
after the soname bump of libavformat [1]. Disable them for now, so
plasma mobile can still be installed, and the pmbootstrap test case
that installs it runs through again.

[1]: https://github.com/alpinelinux/aports/pull/5586
2018-11-27 07:47:11 +01:00
Robert Yang
ce429a7f80
New aport libvdpau-tegra 2018-11-27 07:47:11 +01:00
Robert Yang
102a2cb2d8
New aport xf86-video-opentegra 2018-11-27 07:47:11 +01:00
Robert Yang
fda3dd366a
mesa-grate: Build mesa from grate driver sources
[skip ci]
2018-11-27 07:47:11 +01:00
Robert Yang
1c75f5080f
New aport mesa-grate
Copied from upstream alpinelinux/aports main/mesa

[skip ci]
2018-11-27 07:47:11 +01:00
Robert Yang
d35de1376d
libdrm-grate: Build libdrm from grate driver sources 2018-11-27 07:47:11 +01:00
Robert Yang
e64b70bd5c
New aport libdrm-grate
Copied from upstream alpinelinux/aports main/libdrm

[skip ci]
2018-11-27 07:47:11 +01:00
Robert Yang
75feba5476
New aport ldpath
Utility to add or remove paths from musl dynamic linker config file
2018-11-27 07:47:11 +01:00
Oliver Smith
9b4a1b0a53
main/kernel-scripts: fix build
Adjust the mime-type that gets used to find executables to
application/x-pie-executable and change the APKBUILD logic to print out
a meaningful error when the executables can not be found.

Also fix the broken patch logic (doesn't display an error anymore).
2018-11-27 07:47:11 +01:00
Oliver Smith
aee2acaeb9
main/kernel-scripts: bump after openssl switch
Alpine switched from libressl to openssl in edge. And we're lucky, this
is the only package that needs to be rebuilt :)
2018-11-27 07:47:11 +01:00
Oliver Smith
82fb0a2d59
pmbootstrap: update to 1.0.3 2018-11-27 07:47:11 +01:00
pinoaffe
0188930f21
main/postmarketos-mkinitfs: iterate over all block devices and partitions in init_functions.sh:mount_subpartitions() 2018-11-27 07:47:11 +01:00
Attila Szöllősi
ea341e8b2f
Autodetect fstab column order and support flashing to e.g. userdata
Before, flashing was just possible to system / external_sd and not to
userdata ("data").
2018-11-27 07:47:11 +01:00
Pierre Parent
5db8fd724c
main/pmos-mkinitfs: wait for rootfs, framebuffer
Fix Nexus 5 (hammerhead) boot and framebuffer issues at startup by
waiting up to 10 seconds until the rootfs and /dev/fb0 have been
found. Waiting for the framebuffer device can be disabled by setting
deviceinfo_no_framebuffer=true in the deviceinfo.
2018-11-27 07:47:11 +01:00
Luca Weiss
ea0040efc1
pmos-android-recovery-install: copy mtk symlinks
Copy Mediatek /emmc@partitionname symlinks to the chroot. This is
needed on Mediatek devices because the fstab file references the
partitions using those symlinks (which the kernel creates - for
whatever reason - in the root directory) and otherwise we don't know
which partition is which.
2018-11-27 07:47:11 +01:00
Bart Ribbers
bd38a672bb
main/pmbootstrap: update to 1.0.2 2018-11-27 07:47:11 +01:00
PureTryOut
2d2e53e95b
maemo/hildon*: update to latest upstream versions 2018-11-27 07:47:11 +01:00
Luca Weiss
98c88bd9f6
Fairphone 1 support 2018-11-27 07:47:11 +01:00
Daniele Debernardi
9249bf2122
Add support to different deviceinfo variables in mainline/downstream subpackages 2018-11-27 07:47:11 +01:00
Robert Yang
da08bebb0b
devicepkg-dev: Make downstreamkernel_prepare callable from any folder
Removes the need to cd $builddir before calling downstreamkernel_prepare
in a kernel APKBUILD prepare function.
2018-11-27 07:47:11 +01:00
PureTryOut
2274c1326d
Remove internal qmltermwidget from index, resolves #111 2018-11-27 07:47:11 +01:00
Luca Weiss
272820674e
Initial audio support on FP2 2018-11-27 07:47:11 +01:00
Daniele Debernardi
632dac179d
chocolate-doom: Remove package 2018-11-27 07:47:11 +01:00
PureTryOut
9e7e7c4bc4
Add some new KDE applications 2018-11-27 07:47:11 +01:00
Bart Ribbers
c62b3642dc
Remove unnecessary source of /etc/deviceinfo 2018-11-27 07:47:11 +01:00
Daniele Debernardi
f1841337e7
apk-file: Remove package 2018-11-27 07:47:11 +01:00
Oliver Smith
ea45d2d4ed
devicepkg-dev: ship compiler-gcc.h for GCC8
We used to put a "compiler-gcc6.h" file inside every vendor kernel's
aport. This is redundant and only works with GCC6. With this patch,
a common "compiler-gcc.h" file will be used, that works independently
of the GCC version.

The file is from Decatf's android_kernel_samsung_p4 repository, where
it was taken from upstream Linux, but adjusted to work with older
vendor kernels (different #ifndef check at the top etc).

bd0772df21/include/linux/compiler-gcc.h
2018-11-27 07:47:11 +01:00
Pierre Parent
7dca9c4703
Fix hammerhead (Nexus 5) backlight. 2018-11-27 07:47:11 +01:00
Pierre Parent
45d4d7ec58
Remove CONFIG_SERIAL_MSM_CONSOLE from conf to avoid booting loops when no serial cable plugged in.
see https://gitlab.com/postmarketOS/pmaports/issues/105
partial revert of f2a27fc0df
2018-11-27 07:47:11 +01:00
Bart Ribbers
1303b77c08
Bump pkgrel of qt5-qtbase and libphonenumber to resolve soname 2018-11-27 07:47:11 +01:00
Oliver Smith
c2f57b050e
bump pkgrel 2018-11-27 07:47:11 +01:00
Sebastian Fleer
e7f828b07f
networkmanager: use built in dhcp client
Network Manager does not support dhcpcd with IPv6. Fixes issue #45
2018-11-27 07:47:11 +01:00
Daniele Debernardi
084663e6cc
linux-postmarketos-qcom: Enable serial console 2018-11-27 07:47:11 +01:00
Daniele Debernardi
e07a79aa5d
Add initfs hook which causes a kernel panic (useful for debugging) 2018-11-27 07:47:11 +01:00
Oliver Smith
dd17dc5c06
*/gcc6*: properly regenerate aports with aportgen
I did it manually in the previous commit and replaced the wrong for
loop in gcc6-armhf. [skip ci]
2018-11-27 07:47:11 +01:00
Oliver Smith
1b78e64748
*/gcc6*: add symlinks for all binutils [skip ci]
I thought only having specific symlinks was enough, and it was for one
kernel. However, to make sure it works with all kernels, let's just add
symlinks for all the binutils.
2018-11-27 07:47:11 +01:00
Oliver Smith
7e89296ab4
*/gcc6*: bump pkgrel [skip ci] 2018-11-27 07:47:11 +01:00
Oliver Smith
4dbef543cd
*/gcc6*: add objdump symlink [skip ci]
Without this symlink, lots of messages like this one appear while
compiling kernels:

/bin/sh: gcc6-armv6-alpine-linux-muslgnueabihf-objdump: not found
2018-11-27 07:47:11 +01:00
Oliver Smith
7bff136eea
main/gcc6: symlink for objcopy is also required
With this commit, pmbootstrap!1699 and a few changes in a linux aport,
it finally compiled successfully with gcc6 \o/

Details described in #103.
2018-11-27 07:47:11 +01:00
Oliver Smith
4101340742
main/gcc6: first changes for gcc6 cross compilers
* remove everything that causes conflicts when installing gcc6 and
  gcc6-armhf side by side
* fix up the existing "if cross compiling" code path to use the
  /usr/gcc6 prefix
* link binutils binaries to the locations they are expected to be
  by gcc (this took me hours to figure out....) as well as by the
  linux build system with CROSS_COMPILE
* link all gcc binaries to /usr/bin/gcc6-*
2018-11-27 07:47:11 +01:00
Oliver Smith
737cff798a
Add gcc6 aport
Based on the last version from Alpine, but installed to /usr/gcc6 and
with pretty much everything disabled except for the C compiler.

We can probably throw out a lot of patches, and make the APKBUILD much
smaller. But let's focus on making it possible to compile old kernels
again first. There's still a lot to do for that, see #103.
2018-11-27 07:47:11 +01:00
Pierre Parent
290bf810d4
main/qtwebbrowser: new aport (!16) 2018-11-27 07:47:17 +01:00
PureTryOut
81822748af Add pmbootstrap as package 2018-09-22 09:36:36 +00:00
Pierre Parent
87e3d17721
plasma-mobile: much nicer keyboard
Got the info from:
<https://developer.puri.sm/Environments/PlasmaMobile.html>
2018-09-17 07:52:21 +02:00
Martijn Braam
fb23669e29 * Added device package for the pine-a64lts
* Added linux-postmarketos-allwinner kernel
* Added copy of alpines u-boot package with pine-a64lts support
* Changed postmarketos-mkinitfs to add the plain .dtb file to the boot partition
2018-09-16 18:02:06 +02:00
Oliver Smith
d7e1a2fb6e
hildon: disable building x86 for all packages
If hildon-desktop doesn't build, then it doesn't make sense to build
the rest right now - and it's likely that this won't build either.
2018-09-14 09:12:38 +02:00
Oliver Smith
6e0781b7ab
main/postmarketos-demos, -ui-weston: disable x86
Weston does not build for x86, because it depends on libunwind. And
libunwind is not available in Alpine for x86. I've also tried to
simply enable x86 in libunwind, but it does not build out of the box.

In order to start building again for x86 at all, let's disable weston
and all packages that depend on it on for now.
2018-09-14 08:52:36 +02:00
Oliver Smith
ee8481e11d
main/libphonenumber: bump pkgrel (soname bump)
so:libprotobuf.so.15 does not exist anymore in Alpine edge
2018-09-04 09:00:57 +02:00
Oliver Smith
a9bca26633
main/linux-postmarketos-*-dev: fix kernel-scripts
When cross compiling, the kernel scripts would be in the native arch
again. That was already fixed in !1234, however the mime type of the
binaries has changed, so we couldn't detect them properly anymore
(#1659).

This commit fixes it again, and also adds a checks so this won't
silently fail in the future.

[skip ci] because this would not run through anyway (building these
packages takes too long). Fixes #1659.
2018-09-04 09:00:57 +02:00
Oliver Smith
67ecea3e25
main/postmarketos-ui-plasma-mobile: bump pkgrel 2018-09-04 09:00:57 +02:00
Jonah Brüchert
779ac2fd7e
Add aport for angelfish 2018-09-04 09:00:57 +02:00
Krait Bosheit Takoj
175645e74b
Update APKBUILD 2018-09-04 09:00:57 +02:00
C0rn3j
6f4bca13bd
make FDE set_passwd notice more flashy 2018-09-04 09:00:57 +02:00
Oliver Smith
dabc26f1c6 linux-pmos: update stable to 4.18.4, mainline to 4.18
[skip ci]
2018-08-23 03:16:34 +02:00
Oliver Smith
925c79e0bd main/libphonenumber: bump pkgrel (soname bump) 2018-08-17 00:35:41 +02:00
Martin
f508cf14b7 recovery zip: support twrp.fstab filename in addition to recovery.fstab (fix for compatibility with TWRP on sony-yuga) 2018-08-16 21:21:45 +00:00
Oliver Smith
9d9d47f04f main/libphonenumber: pkgrel bump
Rebuild libphonenumber, because a soname it depends upon does not exist
anymore: so:libboost_system-mt.so.1.66.0
2018-08-14 04:30:21 +02:00
Marti Raudsepp
ce5a83b978 Add initramfs error message when charging-sdl fails to run
There are devices where charging-sdl/directfb fails (osk-sdl#77).

It's nicer to give an error message than display "Loading..." forever.
2018-08-14 02:02:13 +00:00
NotKit
c5dc9bdba7 Change default user uid to 10000 2018-08-02 20:10:56 +00:00
Grant Miller
b74bf01597 Detect androidboot.bootchg=true
Observed on Samsung Galaxy S4
2018-07-29 17:54:16 -05:00
joshas
1e498ea62a Copy directfbrc config to initfs-extra image 2018-07-28 15:25:47 +03:00
Oliver Smith
c938899431 main/kernel-scripts,temp/weston: don't build x86
They don't build for x86 (in case of weston, because the dependency
libunwind does not exist for x86).
2018-07-22 23:57:39 +02:00
Oliver Smith
3d6da2e4da s/system partition/rootfs: fix remaining mentions
Follow-up to !1373, where `pmbootstrap flasher flash_system` was
replaced with `pmbootstrap flasher flash_rootfs`. We still had used
terms like "system partition" in a lot of places.

This commit replaces it everywhere, so it's clear that we're talking
about the pmOS rootfs (which may or may not be installed to Android's
system partition).
2018-07-15 23:41:31 +02:00
Oliver Smith
095f076659 Merge branch 'qemu-mouse-fixes' into 'master'
Enable hypervisor guest and vmmouse configs for linux-postmarketos x86_64

See merge request postmarketOS/pmbootstrap!1615
2018-07-08 21:39:20 +00:00
Oliver Smith
046bcb7728 main/linux-postmarketos-stable: pkgrel=1 [skip ci] 2018-07-08 21:31:30 +00:00
Oliver Smith
d48f90785a main/linux-postmarketos-mainline: pkgrel=1 [skip ci] 2018-07-08 21:30:38 +00:00
Oliver Smith
987d9c735d Move aports forked from Alpine to aports/temp
Also remove the py-requests, as the version has been updated in Alpine.

Close: #1603
2018-07-06 22:34:38 +02:00
Oliver Smith
51b3c87423 Use Alpine's QEMU rather than host system QEMU (v2) 2018-07-06 19:50:59 +00:00
Oliver Smith
295c3e092a Revert "Merge branch 'alpine-qemu' into 'master'"
This reverts merge request !1612
2018-07-05 17:25:14 +00:00
Oliver Smith
ab4ff21b1e Merge branch 'alpine-qemu' into 'master'
Use Alpine's QEMU rather than host system QEMU

See merge request postmarketOS/pmbootstrap!1612

See also:
https://wiki.postmarketos.org/wiki/Troubleshooting:QEMU

Closes #1150
Closes #543
2018-07-05 17:09:29 +00:00
ryang
8957ce8c3b linux-postmarketos: Enable hypervisor and vmmouse configs for x86_64
The vmmouse driver makes the guest mouse as smooth as native. It is enabled
when running under a hypervisor such as kvm.
2018-07-04 14:11:47 -04:00
ryang
fb32c684ab linux-postmarketos-stable: regenerate configs for 4.16.0-rc6 2018-07-04 14:11:45 -04:00
ryang
7a06206b24 linux-postmarketos-mainline: regenerate configs for 4.16.2 2018-07-04 14:11:44 -04:00
Daniele Debernardi
758c056002 devicepkg-dev kernel prepare function 2018-07-02 00:12:49 +00:00
ryang
b856667d8f main/qemu: Override the pkver of upstream Alpine Linux. 2018-07-01 19:39:00 -04:00
ryang
a1c77ff5f9 main/qemu: Load modules from QEMU_MODULE_PATH env variable 2018-07-01 19:38:58 -04:00
ryang
1be6257820 main/qemu: enable virglrenderer 2018-07-01 19:38:55 -04:00
ryang
7f40954077 main/qemu: Import qemu aport from upstream Alpine Linux
commit:
https://git.alpinelinux.org/cgit/aports/commit/?id=f2abbe83ab2dcb11c6a60cc57e8afdc8ee812d18
2018-07-01 19:38:53 -04:00
Martijn Braam
9771426a39 Updated references for github to gitlab 2018-06-30 16:08:43 +02:00