Commit graph

111 commits

Author SHA1 Message Date
Oliver Smith
2ac369ed8f
temp/{networkmanager,wpa_supplicant}: new aports (!547)
Fork from Alpine to apply Martijn's patch:
https://github.com/alpinelinux/aports/pull/9894

"This makes wpa_supplicant run in dbus mode if no config file has been
created for it, fixing the networkmanager integration. This config has
been used for a long time in postmarketOS and works fine.

It also removes the iwd dependency from networkmanager again so
wpa_supplicant is used because iwd doesn't support as many chipsets as
wpa_supplicant and it doesn't run on older kernels."

[ci:skip-build]: already built successfully in CI for x86_64, I've
                 tested that it builds for armhf and aarch64 too.
2019-08-06 11:27:35 +02:00
Oliver Smith
84492befc5
temp/mesa-git: build for arm, not for all arches
Avoid build failure for x86:

>>> mesa-git-glapi*: Running postcheck for mesa-git-glapi
>>> ERROR: mesa-git-glapi*: Found textrels:
TEXTREL  /home/pmos/build/pkg/mesa-git-glapi/usr/lib/libglapi.so.0.0.0

The package is only used for armhf, armv7, aarch64 devices currently, so
change the arch line in the APKBUILD accordingly.

$ cd device
$ for i in $(git grep mesa-git | cut -d/ -f1); do grep -H arch $i/deviceinfo; done
device-asus-flo/deviceinfo:deviceinfo_arch="armhf"
device-lg-hammerhead/deviceinfo:deviceinfo_arch="armv7"
device-pine-a64lts/deviceinfo:deviceinfo_arch="aarch64"
device-pine-dontbeevil/deviceinfo:deviceinfo_arch="aarch64"
device-sony-castor-windy/deviceinfo:deviceinfo_arch="armhf"
device-sony-sirius/deviceinfo:deviceinfo_arch="armv7"

[ci:skip-vercheck]: only changed arch line
Fixes: ce7e4d79e1 ("temp/mesa-git: new aport (!524)")
2019-07-28 10:48:51 +02:00
Bart Ribbers
28a04f8ffd
temp/mesa-freedreno: remove in favor of mesa-git (!524) 2019-07-27 20:34:33 +02:00
Bart Ribbers
7686e15af4 temp/mesa: remove in favor of mesa-git (!524) 2019-07-27 18:21:18 +02:00
Bart Ribbers
ce7e4d79e1 temp/mesa-git: new aport (!524)
This package will track the latest Git master for devices that require bleeding edge changes. Should be kept up-to-date fairly often
2019-07-27 18:21:16 +02:00
Daniele Debernardi
ceb3c2a2eb
temp/xkeyboard-config: Fork to add N900 extended layout (!507) 2019-07-25 20:59:48 +02:00
Luca Weiss
8bd5c997b8
temp/libdrm: remove (!522) 2019-07-24 11:18:57 +02:00
Oliver Smith
09ad0c8115
temp/qemu: bump pkgrel after soname bump
Increase 'qemu' pkgrel (0 -> 1), missing depend(s): so:libnettle.so.6
2019-07-23 23:13:31 +02:00
Luca Weiss
be9615a763
temp/mesa-freedreno: fix mesa-freedreno-gl conflict (!520) 2019-07-23 21:04:32 +02:00
Bhushan Shah
9e3fa6e6f7
temp/qt5-qtwayland: apply patches suggested by upstream (!509)
These patches are intended to make things work nicely due to regressions
introduced in qt5.12.4. I've tested them in QEMU and they seem to work
fine.

See: https://mail.kde.org/pipermail/kde-distro-packagers/2019-July/000379.html
2019-07-18 17:58:25 +05:30
Bart Ribbers
40b98f4ca8
temp/wlroots: remove, superseded by Phoc (!495)
[ci:skip-build]: ollieparanoid will make sure this builds locally before
                 merging
2019-07-16 23:57:08 +02:00
Martijn Braam
8ae04602a9
temp/gnome-session: remove, upstreamed (!488) 2019-07-11 18:22:53 +02:00
Martijn Braam
fd34a04679
temp/gnome-shell: remove, upstreamed (!488) 2019-07-11 18:22:35 +02:00
Martijn Braam
a4e0754cd8
temp/wlroots: pulled upsteam changes (!414) 2019-07-09 21:52:41 +02:00
Martijn Braam
4df7d8011d
temp/gnome-shell: fork to enable aarch64 (!414) 2019-07-09 21:52:51 +02:00
Martijn Braam
a238ca4ff1
temp/gnome-session: fork to enable aarch64 (!414) 2019-07-09 21:52:41 +02:00
Oliver Smith
a4f35cb7d6
temp/mesa-freedreno: current mesa master (!450)
Freedreno is broken in latest mesa stable, but it is fixed in current
master. Let's use master for now.

Based on Brian Masney's patch, but with a hardcoded commit and a
separate package.
2019-06-30 18:54:02 +02:00
Luca Weiss
82b143f3f0
Fix spelling mistakes (!466)
codespell --skip="./.git,*.patch,*.diff,config-*.*"

[ci:skip-build]
[ci:skip-vercheck]
2019-06-30 01:40:02 +02:00
Bart Ribbers
fb05a9e586
temp/kwin: remove (!467)
The patch we forked it for is in KWin 5.16.2 which is in Alpine Linux
2019-06-27 11:04:20 +02:00
Bart Ribbers
86b267ee8a
temp/kwin: new aport to fix Plasma Mobile issue (!456)
[ci:skip-build] Won't succeed in time
2019-06-23 11:57:54 +02:00
Oliver Smith
6b142e0139
temp/sonnet: remove
Binary package is available in Alpine again.
2019-06-20 14:07:29 +02:00
Bart Ribbers
9c2d1e2124
temp/qt5-qtbase & qt5-qtdeclarative: update to 5.12.4 (!447)
[ci:skip-build]: won't finish in time
2019-06-17 19:38:01 +02:00
Bart Ribbers
7974e392f1
temp/u-boot: remove (!437)
Pine64 support has been upstreamed:
21aad5d318
2019-06-14 01:36:01 +02:00
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
7bc8d09013
temp/sonnet: fork from Alpine for armv7
Alpine's build bot is stuck on another package, but this needs to be
rebuilt against the recently updated libhunspell. Otherwise Plasma
Mobile cannot be installed, as pmbootstrap fails with:

ERROR: Could not find dependency 'so:libhunspell-1.6.so.0' in any aports folder or APKINDEX.

I've tested that this builds properly.
2019-06-11 21:37:37 +02:00
Bart Ribbers
30e708c0f7
temp/weston: remove, changes have been upstreamed (!421) 2019-06-07 16:49:09 +02:00
Oliver Smith
568b156c14
temp/wlroots: don't build for arm*
Disable for arm arches, because there it fails with:

[89/300] Compiling C object 'xcursor/c7765ab@@wlr_xcursor@sta/xcursor.c.o'.
FAILED: xcursor/c7765ab@@wlr_xcursor@sta/xcursor.c.o
gcc -Ixcursor/c7765ab@@wlr_xcursor@sta -Ixcursor ...
cc1: error: /home/pmos/build/pkg/mesa/usr/include: No such file or directory [-Werror=missing-include-dirs]

I suspect, that this relates to our custom mesa packaging, which is only
built for arm architectures currently. Phosh isn't running on anything
other than x86_64 so far in postmarketOS, so let's just disable wlroots
arm too until this is figured out.

[ci:skip-vercheck]: only modified the arch line
2019-06-02 04:31:05 +02:00
Bart Ribbers
4d7b35d0de
temp/wlroots: fork to enable elogind, rootston (!8) 2019-06-02 03:39:39 +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
72822cf030
temp/multipath-tools: remove
The package was rebuilt in upstream.
2019-06-01 23:29:37 +02:00
Oliver Smith
cb1e3c20b4
temp/multipath-tools: fork from alpine to rebuild
Rebuild to fix:
ERROR: unsatisfiable constraints:
  so:liburcu.so.6 (missing):
    required by: multipath-tools-0.8.1-r0[so:liburcu.so.6]

Upstream patch:
https://github.com/alpinelinux/aports/pull/8319
2019-05-31 02:19:40 +02:00
Alexey Min
da47e5faab
temp/qt5-qtdeclarative: resurrect (!400)
We need our build of qtdeclarative, otherwise building plasma/kde
components fails on arm with:

ld: /usr/lib/libQt5Quick.so.5.12.3: undefined reference to `QOpenGLFunctions_1_0::versionProfile()@Qt_5'
ld: /usr/lib/libQt5Quick.so.5.12.3: undefined reference to `QOpenGLFunctions_3_2_Core::versionProfile()@Qt_5'

That is, because Alpine's qt5-qtdeclarative is built against a
qt5-qtbase version, where the opengl version is not changed to
opengl es2, like it is done in pmaports.

Related: #270
2019-05-30 21:44:51 +02:00
Bart Ribbers
a4c298f829
Plasma mobile, weston: use lightdm, elogind (!379)
Move Wayland meta packages to LightDM and replace ConsoleKit2 for
elogind for Plasma.

Now we don't need the hacky scripts in /etc/profile.d anymore!
This change requires elogind for both Weston and Plasma Mobile. Using
elogind allows us to use one patch less in kwin. Weston has logind
(which elogind provides) support disabled in Alpine Linux, so I put the
package in temp/ with it enabled for now, but will upstream this change
to Alpine.

Remove consolekit2 dependency in postmarketos-ui-xfce4.

[ci:skip-build]: already built successfully.
2019-05-30 01:39:25 +02:00
Luca Weiss
96c46d92d6
temp/lttng-tools: remove (!390)
It was used at some point during the unity8 bringup but wasn't even used
anymore in the final MR. Remove it.
2019-05-29 00:14:19 +02:00
Bart Ribbers
c45bca7099
temp/qt5-qtdeclarative: remove as armv7 is now in Alpine Linux (!206) 2019-05-28 22:53:29 +02:00
Bart Ribbers
6cfc00bbdd
temp/qt5-qtbase: update to 5.12.3 (!393) 2019-05-28 20:09:32 +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
Martijn Braam
d72923dcd5
main: linux-postmarketos-allwinner: PinePhone updates
- main: postmarketos-mkinitfs: Add /run
  Create the /run directory in the initramfs so that cryptsetup doesn't
  crash on not being able to create /run/cryptsetup for lockfiles

- device: pine-dontbeevil: Remove workaround for touchscreen

- main: linux-postmarketos-allwinner: Implemented supplies for touchscreen
  This uses a slightly newer commit from the kernel repo that implements
  requesting a regulator in the touchscreen driver

- device: pine-dontbeevil: Remove ethernet from initramfs
  This actually makes debugging more complicated since networkmanager wont
  touch the ethernet adapter afterwards and the initramfs can be debugged
  over uart

- temp/u-boot: sync APKBUILD with upstream and update to 2019.04

- main: linux-postmarketos-allwinner: Use 20190521 git version
2019-05-23 14:39:21 +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
85586ffbed
temp/networkmanager: remove (exists in upstream again) 2019-05-14 18:55:35 +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
d934c86f52
temp/{mozjs60,polkit}: remove
They are available in Alpine again for armhf and armv7.
Networkmanager is still missing, so we keep it it temp for now. Upstream
patch submitted: https://github.com/alpinelinux/aports/pull/7626

Related: #244
2019-05-06 22:20:19 +02:00
Oliver Smith
271aba5d0f
temp: build networkmanager for armhf, armv7
Due to the following dependency chain, it is currently not available
in Alpine for armhf and armv7. This breaks postmarketos-base.

postmarketos-base -> networkmanager -> polkit -> mozjs60

This can be reverted, when networkmanager is back for arm{hf,v7} in
Alpine. The mozjs60 arm fix is from here:
https://github.com/alpinelinux/aports/pull/7561

Related: #244
2019-05-05 17:54:58 +02:00
Oliver Smith
230433ad9d
various: pkgrel bump after icu-dev upgrade
Rebuild to fix missing dependencies:
so:libicui18n.so.63, so:libicuuc.so.63

Currently we are facing another upstream compatibility issue with
Alpine, which is why CI will fail: polkit and therefore
networkmanager don't exist for armhf, armv7. See #244 for details.
2019-05-05 12:08:54 +02:00
Oliver Smith
7a0543c414
temp/libical: remove (fix was merged upstream)
See: https://github.com/alpinelinux/aports/pull/6986
2019-04-26 21:03:49 +02:00
Luca Weiss
de62525708
temp/weston: remove (!319)
Pull request was merged upstream
2019-04-15 21:20:10 +02:00
Luca Weiss
517e93edc0
temp/lightdm: remove (!319)
Pull request was merged upstream
2019-04-15 21:20:04 +02:00