Commit graph

2528 commits

Author SHA1 Message Date
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
Bart Ribbers
d541ffc2e8
firmware/firmware-motorola-titan: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
74b1554231
firmware/firmware-google-crosshatch-mainline-dtbo: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
99ce00d112
firmware/firmware-samsung-i747m: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
96965e4cf3
firmware/firmware-asus-duma: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
75ce296e8e
firmware/firmware-htc-k2ul: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
dad148f370
firmware/firmware-htc-ville: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
c37d512840
firmware/firmware-xiaomi-kenzo: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
544bce4b47
firmware/firmware-motorola-cedric: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
a406acfe53
firmware/firmware-xiaomi-santoni: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
ef1fa26075
firmware/firmware-samsung-maguro: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
4b28bff187
firmware/firmware-surftab-wintron7.0: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
f5c1cfbd93
firmware/firmware-aosp-broadcom-wlan: fix linting issues (!873) 2020-01-21 02:09:38 +01:00
Bart Ribbers
0dd8582773
firmware/firmware-xiaomi-mido: fix linting issues (!873) 2020-01-21 02:09:38 +01:00