Commit graph

2541 commits

Author SHA1 Message Date
Minecrell
fcc2a2a1ac
asus-me176c: upgrade mainline kernel to 5.4.17 (LTS) (!922) 2020-02-03 02:45:18 +03:00
srxl
c2fd969169
motorola-harpia: upgrade to mainline kernel (!682)
Support for the downstream kernel has been removed entirely. This is
because the downstream kernel only has support for the armhf
architecture, whereas linux-postmarketos-qcom-msm8916 is only built
for aarch64. Since pmbootstrap has no way to handle having two
kernels on differing architectures, the decision was made to remove
the downstream kernel and only support mainline.
2020-02-01 15:19:53 +03:00
Oliver Smith
9f4b132748
main/pmbootstrap: remove (upstreamed) (!918)
Related: https://gitlab.alpinelinux.org/alpine/aports/merge_requests/2793
2020-01-31 04:30:02 +01:00
Minecrell
83a0a953af
asus-me176c: remove -x11 subpackage (!917)
So far, the -x11 subpackage for asus-me176c was used to install
the Xorg Intel driver (xf86-video-intel). But these days many
distributions actually recommend using the standard Xorg modesetting
driver instead, see e.g.
  - Debian: https://tjaalton.wordpress.com/2016/07/23/intel-graphics-gen4-and-newer-now-defaults-to-modesetting-driver-on-x/
  - Fedora: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/AUPYPJMFJZMHPEKN24LBABZKIEOV4NU5/
  - KDE: https://community.kde.org/Plasma/5.9_Errata#Intel_GPUs

The standard Xorg modesetting driver is included in the main xorg-server
package. Not installing xf86-video-intel saves about ~73 MiB of disk space
(because it also pulls in many unneeded dependencies).

Xfce seems to be working just fine with the modesetting driver.
(And most users will probably prefer Wayland anyway...)
2020-01-30 22:50:57 +01:00
Ferenc Bakonyi
14eef2d5f4
lg-hammerhead: fix framebuffer console and power key in initfs (!915) 2020-01-30 22:48:42 +03:00
Bart Ribbers
78278c5a22
temp/ktp-common-internals: disable on armhf 2020-01-30 19:44:40 +01:00
Minecrell
775298f398
main/postmarketos-ui-sway: remove dependency on xorg-server (!913)
postmarketos-ui-sway already depends on xorg-server-xwayland for
X clients. There is no need to pull in the entire X server including
all necessary drivers.

This saves ~84 MiB of disk space when installing postmarketos-ui-sway
on asus-me176c. X applications are still working fine through Xwayland.

Also remove explicit dependency on dbus - it is already pulled in
by dependencies like lightdm or elogind and nothing in
postmarketos-ui-sway depends on it specifically.
2020-01-30 19:14:53 +01:00
Bart Ribbers
55cd9ee760
temp/ktp-common-internals: new aport (!916) 2020-01-30 16:45:21 +01:00
Bart Ribbers
b7f5ce0f7d
temp/telepathy-logger: remove, not necessary anymore 2020-01-30 14:39:40 +01:00
Bart Ribbers
bdfbb872ef
kde/ktp-common-internals: remove, upstreamed to Alpine 2020-01-30 14:38:46 +01:00
Bart Ribbers
cdd54bb8a5
kde/telepathy-logger-qt: remove, unnecessary since upstreaming ktp-common-internals 2020-01-30 14:38:10 +01:00
Bart Ribbers
b1edecbcfa
main/telepathy-farstream: remove, upstreamed to Alpine 2020-01-30 14:37:39 +01:00
Bart Ribbers
8058b4eaa4
main/telepathy-qt: remove, upstreamed to Alpine 2020-01-30 14:36:12 +01:00
Minecrell
b9ca5e66ff
asus-me176c: install mesa-vulkan-intel as Vulkan driver (!910)
The Intel graphics in asus-me176c have (incomplete) Vulkan support
in Mesa. Make it possible to use Vulkan by installing the Intel
driver that is necessary for it.
2020-01-29 01:09:53 +03:00
Minecrell
4a844dc630
asus-me176c: reduce rootfs size by installing only needed Mesa driver (!910)
The mesa-dri-intel package is deprecated since it was replaced with
mesa-dri-classic and mesa-dri-gallium. Installing mesa-dri-intel
causes both packages to be installed.

The Intel graphics in asus-me176c are not supported by the new
Gallium "iris" driver, therefore asus-me176c can only use the old
i965 driver available in mesa-dri-classic.

Removing mesa-dri-gallium reduces the disk space needed for a minimal
installation on asus-me176c:
  - Before: 329M
  - After:  256M (-73M)
2020-01-29 01:09:45 +03:00
David Heidelberg
359267ac91
temp/xf86-video-opentegra: bring back opentegra driver (!832)
Tested on asus-grouper

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-01-28 22:02:52 +01:00
Bart Ribbers
71557f7f0c
device-*: rebuild for the new splash screen generation 2020-01-28 15:40:18 +01:00
Minecrell
d4ee123079
main/devicepkg-dev: Fix shellcheck warnings in splash screen generation (!899)
(These were present before the code was moved to devicepkg-dev.)
2020-01-28 15:33:43 +01:00
Minecrell
e3d07c832c
main/{devicepkg-dev,postmarketos-mkinitfs}: statically generate splash screens (!899)
We need to generate the splash screens separately for each device,
because they are specific to the device's display resolution.

At the moment we do this dynamically during the installation process.
This has the advantage that there is no need to re-build all device
packages when one of the splash screen is changed (or a new one is added).

In reality, however, the splash screens do not change very frequently.
On the other hand, generating the splash screens dynamically has signficant
disk usage overhead for a minimal ("none" UI) rootfs:

The Python interpreter together with the necessary libraries requires
about ~60 MB of disk space on aarch64.
The splash screens itself require about ~100 KB for 720x1280.

This is not necessary if we move the splash screen generation into
devicepkg-dev, which is used to build the device package for all devices.
Another advantage is that we no longer need the (rather complicated)
caching mechanism for splash screens - so we actually end up with less
lines than before.

rootfs size for samsung-a5ulte ("none" UI):
  Before: 450M
  After:  388M (-62M)

After this change, every(!) device package needs to be rebuilt once.
No changes are necessary in device packages.
2020-01-28 15:33:40 +01:00
Minecrell
0c7bcb5431
main/osk-sdl: add missing depends on ttf-dejavu (!899)
ttf-dejavu is referenced in osk.conf:
  keyboard-font = /usr/share/fonts/ttf-dejavu/DejaVuSans.ttf
2020-01-28 15:33:36 +01:00
HenriDellal
a5cf21b4d4
device/device-samsung-p4wifi: fix APKBUILD (!889) 2020-01-28 15:21:10 +01:00
HenriDellal
e5d0607625
device/device-samsung-i927: fix APKBUILD (!889) 2020-01-28 15:21:07 +01:00
HenriDellal
583d2fce32
device/device-ouya-ouya: fix APKBUILD (!889) 2020-01-28 15:21:01 +01:00
Jami Kettunen
264f5dccb1
oneplus-cheeseburger: new device (OnePlus 5) (!908) 2020-01-28 14:28:09 +03:00
CUI Hao
0326ffefa7
zuk-z2-row: new device (!898) 2020-01-28 02:13:31 +03:00
Luca Weiss
ce097f1c51
kde/spacebar: upgrade to 0_git20200119 (!906) 2020-01-27 14:20:59 +01:00
Minecrell
df07842cc1
temp/alsa-lib: remove (!893)
This was only needed to load the ALSA PulseAudio plugin outside
the chroot when running QEMU. Now that we allow configuring the
QEMU PulseAudio backend directly this is no longer needed.
2020-01-27 00:59:02 +01:00
Oliver Smith
3d3deefe29
pmbootstrap: upgrade to 1.14.0 2020-01-27 00:50:05 +01:00
Minecrell
227c63f18c
sony-sirius: use stable mesa-dri-freedreno (!895) 2020-01-26 23:23:17 +01:00
Minecrell
93ee2de6c8
sony-castor-windy: use stable mesa-dri-freedreno (!895) 2020-01-26 23:22:58 +01:00
Minecrell
1af1fbb490
lg-hammerhead: use stable mesa-dri-freedreno (!895) 2020-01-26 23:22:58 +01:00
Minecrell
e599774662
asus-flo: use stable mesa-dri-freedreno (!895) 2020-01-26 23:22:58 +01:00
Minecrell
b334362d72
temp/libdrm-grate: build all drivers, not just tegra (!897)
At the moment, installing the rootfs for ouya-ouya fails with:

ERROR: unsatisfiable constraints:
  libdrm-grate-2.4.100_git20191221-r0:
    conflicts: libdrm-2.4.100-r0[libdrm]
               libdrm-2.4.100-r0[so:libdrm.so.2=2.4.0]
               libdrm-2.4.100-r0[so:libdrm_tegra.so.0=0.0.0]
               libdrm-2.4.100-r0[so:libkms.so.1=1.0.0]
    satisfies: device-ouya-ouya-1-r12[libdrm-grate]
               libvdpau-tegra-0_git20190315-r0[libdrm-grate]
               .pmbootstrap-20200110.144341[libdrm-grate]
               .pmbootstrap-20200110.144341[libdrm]
               mesa-gl-19.3.2-r0[so:libdrm.so.2]
               directfb-1.7.7-r1[so:libdrm.so.2]
               directfb-1.7.7-r1[so:libkms.so.1]
               mesa-dri-swrast-19.3.2-r0[so:libdrm.so.2]
               mesa-19.3.2-r0[so:libdrm.so.2]
  libdrm-2.4.100-r0:
    conflicts: libdrm-grate-2.4.100_git20191221-r0
               libdrm-grate-2.4.100_git20191221-r0[so:libdrm.so.2=2.4.0]
               libdrm-grate-2.4.100_git20191221-r0[so:libdrm_tegra.so.0=0.0.0]
               libdrm-grate-2.4.100_git20191221-r0[so:libkms.so.1=1.0.0]
    satisfies: .pmbootstrap-20200110.144341[libdrm]
               mesa-gl-19.3.2-r0[so:libdrm.so.2]
               directfb-1.7.7-r1[so:libdrm.so.2]
               directfb-1.7.7-r1[so:libkms.so.1]
               mesa-dri-swrast-19.3.2-r0[so:libdrm.so.2]
               mesa-dri-swrast-19.3.2-r0[so:libdrm_amdgpu.so.1]
               mesa-dri-swrast-19.3.2-r0[so:libdrm_nouveau.so.2]
               mesa-dri-swrast-19.3.2-r0[so:libdrm_radeon.so.1]
               mesa-19.3.2-r0[so:libdrm.so.2]
               mesa-19.3.2-r0[so:libdrm_amdgpu.so.1]
               mesa-19.3.2-r0[so:libdrm_nouveau.so.2]
               mesa-19.3.2-r0[so:libdrm_radeon.so.1]

Looking closer at the error we see that:
  1. We want to explicitly install libdrm-grate for device-ouya-ouya.
  2. libdrm-grate provides
     - so:libdrm.so.2=2.4.0
     - so:libdrm_tegra.so.0=0.0.0
     - so:libkms.so.1=1.0.0
  3. But the mesa package also builds AMD and Nouveau drivers and
     therefore requires:
     - so:libdrm_amdgpu.so.1
     - so:libdrm_nouveau.so.2
     - so:libdrm_radeon.so.1

These libraries are not provided by libdrm-grate, therefore it is impossible
to install mesa and libdrm-grate at the same time.

A simple solution to fix this problem is to let libdrm-grate provide
these additional libraries as well - the package size overhead is negligible
and the additional drivers build just fine.

[ci:skip-build]: already built successfully in CI
2020-01-26 23:18:35 +01:00
Genox997
bdbcfc38dd
main/linux-postmarketos-qcom-msm8974: upgrade to 5.4.0-rc6 (!902)
[ci:skip-build]: already built successfully in CI
2020-01-26 23:13:07 +01:00
Minecrell
47b17d55c7
main/linux-postmarketos-qcom-msm8916: upgrade to 5.5-rc7 (!901)
- Update to Linux 5.5-rc7
- Touchkey support for samsung-a5ulte/a3ulte/serranovelte

[ci:skip-build]: already built successfully in CI
2020-01-26 22:36:49 +01:00
Minecrell
6ea8296ac6
samsung-golden: depend only on mesa-git-dri-gallium (!896)
mesa-git-dri-gallium covers all Gallium DRI drivers
(including lima and kmsro).

Also mesa-git-dri-gallium now depends directly on all relevant
mesa-git subpackages, so the subpackages do not need to be specified
in each device APKBUILD anymore.
2020-01-26 02:38:10 +01:00
Minecrell
d4f0417a1d
purism-*: depend only on mesa-git-dri-gallium (!896)
mesa-git-dri-gallium covers all Gallium DRI drivers
(including lima and kmsro).

Also mesa-git-dri-gallium now depends directly on all relevant
mesa-git subpackages, so the subpackages do not need to be specified
in each device APKBUILD anymore.
2020-01-26 02:38:10 +01:00
Minecrell
38ed2425f1
pine64-*: depend only on mesa-git-dri-gallium (!896)
mesa-git-dri-gallium covers all Gallium DRI drivers
(including lima and kmsro).

Also mesa-git-dri-gallium now depends directly on all relevant
mesa-git subpackages, so the subpackages do not need to be specified
in each device APKBUILD anymore.
2020-01-26 02:38:09 +01:00
Minecrell
aa353fab03
temp/mesa-git: list relevant subpackages as depends for -dri- package (!896)
At the moment, every device that wants to make use of mesa-git needs
to depend on all relevant mesa-git subpackages.

We can simplify this by adding these directly as depends for the
-dri- package that most devices will be depending on. That way,
the fact that you need to depend on all relevant subpackages is
mostly hidden away as "implementation detail" in the mesa-git
package, and no special care is required when using mesa-git.
2020-01-26 02:38:08 +01:00
Minecrell
1943ead268
temp/mesa-git: align with upstream APKBUILD (consolidate subpackages) (!896)
Included changes:

  - main/mesa: build freedreno only for arm
    https://gitlab.alpinelinux.org/alpine/aports/merge_requests/2809

  - tree-wide: use --buildtype=debugoptimized for meson packages
    https://gitlab.alpinelinux.org/alpine/aports/merge_requests/2619

  - main/mesa: consolidate subpackages
    https://gitlab.alpinelinux.org/alpine/aports/merge_requests/2816

  - main/mesa: use qualified provides for deprecated subpackages
    https://gitlab.alpinelinux.org/alpine/aports/merge_requests/3167
2020-01-26 02:38:07 +01:00
red-black-bonsai
10d8f5d4b0
medion-kai: get wifi working (!904) 2020-01-23 15:43:30 +01:00
Bart Ribbers
ef0ee9498d
firmware/firmware-samsung-jflte: fix linting issues (!873)
[ci:ignore-count]
2020-01-21 22:43:06 +01:00
Luca Weiss
73837b5d5c
firmware/firmware-asus-me176c-acpi: quote _commit (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
a7c72df41b
firmware/firmware-xiaomi-tissot: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
122433b3b0
firmware/firmware-samsung-kylepro: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
d44b34bebd
firmware/firmware-hisense-m470bsa: fix linting issues (!873)
I'm not sure how this package even worked before... The install location
on the second loop was invalid as the "$fw" variable would result to
nothing. This would normally cause all files in that loop to be named
the same...
2020-01-21 02:09:38 +01:00
Bart Ribbers
146d4775ec
firmware/firmware-samsung-i9070: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
695fb13480
firmware/firmware-samsung-i9305: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
58dde2fbb5
firmware/firmware-t2m-flame: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
df5eb65a1c
firmware/firmware-huawei-y530: fix linting issues (!873) 2020-01-21 02:09:38 +01:00