Commit graph

1115 commits

Author SHA1 Message Date
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
Martijn Braam
4631c2c879 srht: Fixed logic error in submit.py 2018-12-14 14:56:24 +01:00
Martijn Braam
76889851be Support submitting multiple files at once with submit.py 2018-12-14 11:22:46 +00:00
Grant Miller
53e3721ac8
temp/qt5-qtbase: Upgrade to upstream version 5.10.1-r3 (!102)
[skip ci]: does not finish building within one hour
2018-12-14 09:48:23 +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
Robert Yang
9ec2f13a38 okular: Build epub backend (!100) 2018-12-13 08:32:20 +01:00
Grant Miller
7a916698dc
temp/qemu: Update to upstream version 3.0.0-r0 (!99)
I didn't test it thoroughly, but it builds now and I can run
plasma-mobile on qemu-amd64.

[skip ci]: this takes longer than one hour to build in CI.
2018-12-13 08:27:48 +01:00
Grant Miller
2076d63cd4
temp/virglrenderer: Remove in favor of upstream aport (!101)
https://github.com/alpinelinux/aports/pull/4688 was merged, so we should
be able to delete temp/virglrenderer.
2018-12-13 07:37:30 +01:00
Oliver Smith
6179f45791
build_changed_aports: allow existing remote
In this CI test, we add the upstrem postmarketOS/pmaports.git
remote to the checked out git repository. Do not crash when it exists
already, so we don't need to remove it before each run when testing
locally.
2018-12-13 07:35:58 +01:00
Oliver Smith
683bc62f96
build_changed_aports: don't build deleted aports
Do not attempt to build deleted aports and fail on them. In the
overview of changed files, note which ones have been deleted.
2018-12-13 07:35:58 +01:00
Oliver Smith
c7b42e9ed6
Cosmetic: build_changed_aports: improve comments
* Move a comment that was after a line of code above that line. That
  line was very long compared to all others in the file, and now the
  file fits in 80 characters in every line, like PEP-8 recommends.
* Replace "folder" with "dir" in the comments (as I learned lately
  that "folder" is only a Windows concept).
2018-12-13 07:35:58 +01:00
Zhuowei Zhang
e735c3f008
New device: google-crosshatch (Google Pixel 3 XL) (!83)
A lot of patching was necessary, see the merge request and device wiki
page for details. Thanks to opendata26 for helping with the port.

https://wiki.postmarketos.org/wiki/Google_Pixel_3_XL_(google-crosshatch)

[skip ci]: this hits the compile timeout
2018-12-12 06:56:17 +01:00
Oliver Smith
017376be29
cross/busybox-static-*: update to 1.29.3-r4 2018-12-10 07:45:05 +01:00
Свободные Мобильные Технология
f5e57dc9fd
linux-samsung-i9003: install kernel modules (!98)
The modules wl12xx, mac80211 and cfg80211.ko are assembled as modules,
but due to the lack of the command 'make modules_install' in APKBUILD,
these modules are not included in the finished package. Because of this,
it was impossible to launch Wi-Fi on Samsung-i9003.
2018-12-10 06:54:37 +01:00
Robert Yang
d7b3ea9b5f
linux-samsung-p4wifi: update to kernel 4.19 (!97)
Modernize the APKBUILD. Load reboot mode kernel module, and uinput
kernel module (used by bluetoothd).

User facing changes:
* Uses some mainline sensor drivers.
* Fixes bluetooth audio stuttering (needs some userspace fixes though).

Various code refactoring happened. I tried to write a better looking
display panel driver rather than reuse the downstream driver. Not
quite there yet though.
2018-12-06 08:02:26 +01:00
Daniele Debernardi
bde7c3b90b
linux-samsung-klte: modernize, update sources (!94)
Use latest sources from LineageOS, instead of the ones from andip71.
The APKBUILD is modernized to use the devicepkg-dev but unfortunately
compiling with gcc8 it doesn't boot.

The kernel config is updated with the required options to start the
lxc-android container and xf86-video-hwcomposer works
(tested with xfce4).

My plan was to add the firmware-samsung-klte with the subpackages for
the wifi blobs and a precompiled android system.img to use with
libhybris, but my device just died and I'm not able to power it on (I've
probably burnt the Power IC 😢)
2018-12-06 07:16:45 +01:00
Grant Miller
b99764378c
linux-samsung-jflte: disable virtual framebuffer (!96)
Weston and Plasma Mobile were incorrectly choosing the virtual
framebuffer instead of the real one.
2018-12-05 08:55:16 +01:00
Piotr Halama
dfedbf6485
samsung-s6500d: fix red screen (!95)
Fix red screen by setting CONFIG_FB_MSM_DEFAULT_DEPTH_ARGB8888=y, the
other patch from the wiki didn't work on this kernel:
https://wiki.postmarketos.org/wiki/Troubleshooting:display#My_screen_is_red.21
2018-12-05 08:13:35 +01:00
Grant Miller
15a1f45a4d
linux-samsung-jflte: modernize and use gcc8 (!92)
Kernel still compiles and boots.
2018-12-04 07:42:48 +01:00
NeKit
4c085ddf54
libhybris: replace 7.1-caf pkg with separate test_hwcomposer binary (!88)
As observed on UBPorts, hwcomposer implementation on Android 7 CAF (non-Nexus
Qualcomm) devices has slight differences in employed structs, which makes
them binary incompatible with AOSP headers.

Halium 7.1 android-headers extracted from LineageOS include those
modifications (e. g. https://github.com/Halium/android-headers/blob/halium-7.1/hardware/hwcomposer.h#L290),
so it is enough to add QTI_BSP/QCOM_BSP to defines of programs utilizing
those headers. In case of libhybris, only test_hwcomposer is affected so
far on 7.1 (might be not true for Android 5.1/6!).

This change avoids providing libhybris-7.1-caf package by building a
separate binary of test_hwcomposer for affected devices.
2018-12-04 07:16:25 +01:00
Sicelo
ec1016b385
Set tabbed layout as default for i3 on N900 (!91)
For i3 on the N900, which seems to be the only device using i3 at the
moment, I thought using Tabbed workspace layout as the default would be
best, since the screen is quite small, and having two split windows can
quickly make it impractical.

With this commit, all new windows will be created in tabbed
configuration. It is still possible to switch to stacking or standard
layout as needed, using the appropriate shortcut keys.
2018-12-03 23:40:17 +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
Piotr Halama
aaf1fbe17a
samsung-s6500d: use gcc8 (!86)
It finally compiles with GCC8 and modernized prepare()

Signed-off-by: Piotr Halama <skrzynka@halamix2.pl>
2018-12-03 22:56:11 +01:00
Grant Miller
242ab9ac7a
Recreate gcc8-fix-put-user.patch without context (!87)
gcc-fix-put-user.patch doesn't apply cleanly to any kernel that
includes commit 538094 ("ARM: 8051/1: put_user: fix possible data
corruption in put_user") or a backport of it because the surrounding
lines (context) of the patch are different:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=537094b64b229bf3ad146042f83e74cf6abe59df

This commit fixes the problem by removing the context from the patch. It
also changes linux-sony-amami, linux-sony-aries, and linux-sony-taoshan
to use the shared patch.

I have confirmed that all six affected kernels still compile. [skip ci]
2018-12-03 22:37:05 +01:00
rendeko
6e7c39bbe7
New device: Ouya (!80)
Ouya boots. Install instructions are being refined, but device does
boot through fastboot. Hoping to merge into master to encourage others
to contribute to the device.
2018-12-03 21:19:18 +01:00
Oliver Smith
7aded95988
Revert "linux-*: use upstream gcc6 [skip ci]"
This reverts commit ee659a5bb4
and increases the pkgrels of all affected linux pmaports.

I have compiled *every single kernel* that was modified with this
commit, and it worked. That took 12 hours. So I'm pretty confident that
this is a good commit. Let's roll it out and go back to stability \o/

I'll kick off the binary repo building directly after pushing this, but
it will take some time until all binary packages are available again.

[skip ci]: it wouldn't finish in time.
2018-12-01 12:10:10 +01:00
Oliver Smith
a1acf0128d
linux-infocus-flatfish: fix race condition
Add -j1 to compiling the standby code, which is compiled separately
already. This change seems to make the kernel always compile, I've
tried it 6 times, 3 times of that with pmbootstrap's "--no-ccache"
option. It got past an error about 30 seconds into the build, which
happened roughly 2 out of 10 times:

gcc6-armv6-alpine-linux-muslgnueabihf-ld: cannot find standby.o: No such file or directory

I thought, this was related to gcc6 changes, or to changes in abuild,
but both were not the case.

Grant Miller confirmed that this fixed the build, he was able to
compile the kernel ten times in a row with this commit.
2018-12-01 12:03:15 +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
9a009ca393
various kde: increase pkgrel after soname bumps 2018-12-01 03:03:41 +01:00
Oliver Smith
1c0108f836
main/pmbootstrap: update to 1.0.4 2018-12-01 02:54:17 +01:00
Oliver Smith
9933a27128
temp/gcc6: remove again
The purpose of this package was to fill in until it is built in Alpine.
However, it takes forever to build the foreign arch versions. That's
due to the fact that GCC is compiling it self, and then the distcc
cross compiler magic does not work. Not worth it. [skip ci].
2018-11-30 19:34:37 +01:00
Oliver Smith
fd20344cff
temp/gcc6: adjust the APKBUILD so it builds with pmbootstrap
Further adjustments. It would have been better if I tried to build
it first, sorry for that. Another patch is coming in the pmbootstrap
repo, which makes it work even without the gcc6 pmaport.
2018-11-30 09:51:38 +01:00
Oliver Smith
7a6e8aa044
temp/gcc6: remove misleading second pkgname line
Remove the pkgname="$pkgname" line from the APKBUILD, this confuses
pmbootstrap.
2018-11-30 08:59:36 +01:00
Oliver Smith
5cef6135da
temp/gcc6: add until Alpine builds it for arm
Copy Alpine's gcc6 aport to temp. They don't have it built for aarch64
and armhf at the moment. Due to dependency checks, this means we can't
build the kernels that need gcc6, even when cross compiling with
gcc6-armhf etc. See #138 for details.
2018-11-30 08:53:28 +01:00
Grant Miller
ee659a5bb4
linux-*: use upstream gcc6 [skip ci]
Adjust HOSTCC to work with Alpine's version.
2018-11-29 09:16:00 +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
a9570538e2
weston: update to 5.0.0
pmaport recreated on top of Alpine's current aport. The --pixman-type
patches were removed, it would have needed to be rewritten to work with
newer Weston source code. It is a Weston specific workaround for a
problem with the downstream kernels, so this is better fixed in the
kernel source code:
https://wiki.postmarketos.org/wiki/Troubleshooting:display#My_screen_is_red.21

The ABGR patch was rebased and submitted for upstreaming here:
https://gitlab.freedesktop.org/wayland/weston/merge_requests/61

Fixes #136.
2018-11-29 07:52:48 +01:00
Oliver Smith
0ab7ce3676
tests: check for deviceinfo_weston_pixman_type
Make sure this obsolete option won't be used by future devices.
2018-11-29 07:31:06 +01:00
Oliver Smith
81c3b3c2dd
devices: remove deviceinfo_weston_pixman_type
This is not supported anymore, see previous commit for reasoning.
2018-11-29 07:31:06 +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
Konrad Dybcio
542acc1953
sony-tulip: new device (!77) 2018-11-27 07:52:26 +01:00
PureTryOut
48b497e22d
kde-frameworks/*: update to 5.52.0 [skip ci] 2018-11-27 07:47:11 +01:00
Oliver Smith
ffee5d6a4a
cross/busybox-static-*: update to 1.29.3-r3 2018-11-27 07:47:11 +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
PureTryOut
7728b65460
temp/qt5-qtdeclarative: rebuild to resolve graphic issue introduced by !63 2018-11-27 07:47:11 +01:00
Piotr Halama
87434c2062
sony-taoshan: add Sony Xperia L 2018-11-27 07:47:11 +01:00