Commit graph

454 commits

Author SHA1 Message Date
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