Commit graph

14 commits

Author SHA1 Message Date
Luca Weiss
e3d9cc2a9e
temp/mesa: update to 19.1.0 (!433)
[ci:skip-build]: already built once in CI
2019-06-11 23:41:00 +02:00
Bart Ribbers
e5e8991f79
temp/mesa: fix install prefix, enable release optimizations (!431)
The description below is a quote from Brian Masney in #296.

The pmOS mesa packages need to have -Db_ndebug=true passed to the meson
build so that debug assertions and extra validations are disabled to
improve overall system performance. See [1] for more details. Fedora
also recently made this change: [2]

This change, along with using the master branch of mesa, gets the
Freedreno driver working properly with X11 on the Nexus 5 and presumably
other A3XX-based systems.

--buildtype=release should also be passed to meson for extra
optimizations. See the thread [3] for more details.

[1] https://gitlab.freedesktop.org/mesa/mesa/blob/master/docs/meson.html#L321
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1692426.
[3] https://lists.freedesktop.org/archives/mesa-dev/2019-June/219960.html

[ci:skip-build]: already built successfully in CI
2019-06-11 23:02:07 +02:00
Oliver Smith
77a57de7ed
Cosmetic: temp/*: fix comments on top of APKBUILD
Remove Alpine's maintainers and contributors from the APKBUILDs in temp
where we still had them. In general, we don't keep them there, because
we don't want them to get e-mailed about questions from the postmarketOS
aports. It is obvious that they were copy pasted from Alpine, with minor
adjustments.

Remove "Remember to increase pkgrel after changing _pkgver!" from
temp/mesa, because we have a CI check for that now.

[ci:skip-build]: cosmetic changes only
2019-06-01 23:32:45 +02:00
Oliver Smith
1fb005eec4
temp/mesa: build freedreno for armv7 (!383)
Fix the regression from the mesa refactoring and from switching to armv7
in hammerhead.

[ci:skip-build]: already built successfully in CI for x86_64; I've
                 tested manually that it builds for armv7.
2019-05-25 02:01:48 +02:00
Luca Weiss
a49f691f49
temp/mesa: fix symlink, refactor, split dri-kmsro (!362)
Fix missing symlink for the first driver in mv_dri() (caused by "shift"
at the wrong position). Build freedreno for arm only, not for all
arches.

Lima is for rendering and sun4i-drm (part of kmsro) for the display, so
split it into its own subpackage and use it in device-pine-*.

[ci:skip-build]: ollieparanoid made sure, that this builds. This won't
                 finish in time in CI.
2019-05-14 21:51:39 +02:00
Oliver Smith
67eb31effd
temp/mesa: bump pkgrel
Fix up for !359: the pkgrel was not bumped, and because the real mesa
version was stored in _pkgver instead of pkgver (which is set to 9999),
this means that the APKBUILD has exactly the same version as before. So
pmbootstrap will not try to build it, resulting in a missing
mesa-dri-lima package and general confusion.

See also:
https://gitlab.com/postmarketOS/pmaports/merge_requests/359#note_170054969
2019-05-14 16:14:38 +02:00
Bart Ribbers
85dfee5b75
temp/mesa: update to latest git master to include Lima (!359)
temp/mesa: enable mesa-dri-lima subpackage
temp/mesa: add a fix for Wayland on Lima
temp/mesa-purism-gc7000: update to latest Git and try to resolve conflicts with mesa
temp/mesa: switch version to 19.1.0-rc1
device/device-pine-a64lts: add mesa and mesa-dri-lima to depends
device/device-pine-dontbeevil: add mesa to depends
device/device-purism-librem5dev: remove now defunct mesa-purism-gc7000-dri-imx from depends
temp/mesa*: re-add X11 support
temp/mesa-purism-gc7000: fix build error which for some reason didn't cause problems earlier
temp/mesa*: fix X11 DRI symlinks
2019-05-14 16:26:21 +02:00
PureTryOut
a84c8ce6f8 temp/mesa*: replace libelf-dev dependency for elfutils-libelf 2019-05-08 15:24:45 +00:00
Oliver Smith
e086865713
temp/mesa: only build for armhf armv7 aarch64
Make it possible to use Alpine's mesa for x86 and x86_64.
Closes https://gitlab.com/postmarketOS/pmbootstrap/issues/1741
2019-03-10 02:51:02 +01:00
Clayton Craft
e274604193
temp/mesa: Build tag and include mesa-xatracker (!261)
This updates the PKGBUILD to build tags instead of the release branch
(which will see commits until the specific release is EOL),

This commit also adds building the mesa-xatracker package.

[ci:skip-build]: already built successfully in CI
2019-03-08 07:54:47 +01:00
Oliver Smith
d0cbf68aec
temp/mesa: fix checksum of source tarball 2019-03-07 10:30:19 +01:00
Clayton Craft
6dd3ef2fcb mesa: Add new package tracking newer Mesa version (!256)
This adds a Mesa package overriding Mesa in Alpine, and:

1) builds a much newer version of Mesa than what is found in Alpine (by
*not* building amd/radeonsi support, so no dependency on llvm).

2) builds Mesa with tegra and etnaviv drivers (note, as of now, the
librem5 devkit gpu is not supported in the etnaviv driver here)

This breaks "pmbootstrap qemu" for some people, use --host-qemu as
workaround for now (a fix will be available soon):
https://wiki.postmarketos.org/wiki/Troubleshooting:QEMU#Using_QEMU_from_the_host_system

Since this also fixes the blackscreen bug on lg-hammerhead, the
trade-off with the qemu bug is worth it.

[ci:skip-build]: already built successfully in CI
2019-03-07 10:00:10 +01:00
Bart Ribbers
35be4c17e5 Switch mesa and libdrm back to Alpine's repos (#1560)
Both Mesa and libdrm are now newer in Alpine's repos than in ours,
so we can safely remove these again.
2018-06-13 22:25:48 +00:00
Oliver Smith
1b7d2781c5 temp: add mesa
This new mesa package isn't built for armhf yet in Alpine, but the
previous one breaks plasma mobile right now.
2018-05-16 23:55:56 +02:00