Commit graph

77 commits

Author SHA1 Message Date
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
Robert Yang
77706b3b73
temp/qemu: Override upstream qemu package version (!312)
[ci:skip-build]: won't finish in time
2019-04-12 23:17:29 +02:00
Robert Yang
3f05e11467
temp/qemu: Link qemu static against jemalloc (!312)
Work around for issue #1715

Link qemu static binaries to jemalloc. This malloc implementation does not
appear to be susceptible to the deadlock after fork issue.
2019-04-12 23:16:37 +02:00
Robert Yang
1ec81fcdfe
temp/qemu: Package for x86 and x86_64 only (!312)
This is package is meant to work around the qemu static deadlock while
cross-compiling.

- pmbootstrap binfmt_misc chroots on arm hosts are untested
- upstream jemalloc package has armv7 disabled. It is uncertain what is
  wrong with jemalloc for armv7.

For these reasons, disable the arm packages.
2019-04-12 23:16:37 +02:00
Robert Yang
ea072f89f5
temp/qemu: Import qemu from upstream aports (!312) 2019-04-12 23:16:26 +02:00
Robert Yang
d4a468c24a
temp/jemalloc: Package for x86 and x86_64 only (!312) 2019-04-12 23:14:45 +02:00
Robert Yang
d6fdf52351
temp/jemalloc: Import jemalloc from upstream aports unmaintained repo (!312)
Taken from upstream aports @ 7af8be0e7aab4a5fe4315fb162850fad66aa7cb0
2019-04-12 23:14:38 +02:00
Oliver Smith
467338098e
temp/libical: fix db.h: No such file or directory
Fix kcalcore build error. The same fix has been submitted to Alpine.

In file included from /home/pmos/build/src/kcalcore-18.12.3/src/icalformat.cpp:45:
/usr/include/libical/icalss.h:492:10: fatal error: db.h: No such file or directory
 #include <db.h>
          ^~~~~~

Related:
* https://gitlab.com/postmarketOS/pmaports/issues/229
* https://github.com/alpinelinux/aports/pull/6986
2019-04-08 21:55:12 +02:00
Oliver Smith
32a6db0ca6
temp/readline: remove (use upstream again)
Readline has been upgraded in upstream, the original reason why it was
forked is not necessary anymore. See:
https://gitlab.com/postmarketOS/pmaports/issues/217#note_153463712
2019-03-25 09:31:49 +01:00
Clayton Craft
9ac0421a34 mesa-purism-gc7000: new pkg for purism mesa fork for gc7000 (!236)
This package builds Purism's Mesa fork that adds support for the Vivante
GC7000 GPUs (found in the imx8m / Librem5 [incl. dev kit])
2019-03-09 21:26:24 -08: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
Clayton Craft
8c9b01ce8e libdrm: Add new package tracking newer libdrm (!256)
This adds a package overriding the libdrm in Alpine with a newer
version, and also building libdrm with support for experimental devices
(etnaviv and tegra).
2019-03-07 09:53:01 +01:00
Bhushan Shah
d64c80992d
temp/u-boot: use !tracedeps to allow native cross compile (!246)
[ci:skip-build]: CI build fails due to taking one hour or more, which is
                 what the related pmbootstrap patch wants to resolve ;)
2019-02-28 17:47:28 +01:00
JuniorJPDJ
67ceee4079
temp/dhcpcd: fix for old kernels (!228)
Fork the package from Alpine and undefine IFA_F_NOPREFIXROUTE during
compilation, so it works with the old downstream kernels that do not
have this feature yet.
2019-02-28 13:43:28 +01:00
Oliver Smith
778880e87a temp/qt5-qtbase: patch that fixes GLESv2 on arm (!212)
Plasma-framework 5.55.0 isn't building for aarch64 without this patch.

Aleix Pol ran into the same problem with flatpak builds, and created the
patch: https://codereview.qt-project.org/#/c/253276/
2019-02-16 19:01:41 +01:00
Luca Weiss
28502356d6
temp: fix arch of new temp packages from the Unity 8 MR (!220)
lightdm, lttng-tools: build for all instead of x86_64 only.

[skip ci]: already ran in CI successfully
2019-02-15 08:41:33 +01:00
Luca Weiss
8c2a95dbe2
unity8: initial packaging (!27)
* Mir starts up and is able to display system settings
* x86_64 only for now, because at least ubuntu-app-test did not build
  on aarch64

Based on PureTryOut's work. Getting it to this stage was a huge effort
(as it shows in the package count: 111(!)). See the merge request for
details.

[skip ci]: this won't finish in CI; ollieparanoid made sure that
           everything builds for x86_64.
2019-02-13 21:47:29 +01:00
Bart Ribbers
54a186d08b temp/qt5-qt* & kde/: bump which I forgot earlier causing all kinds of issues (!205) 2019-02-08 20:20:17 +01:00
Bart Ribbers
3d4b38b014 temp/qt5-qt*: upgrade to 5.12.1 (!201) 2019-02-08 12:04:09 +00:00
Bart Ribbers
a72cf419ad
temp/qt5-*,main/libphonenumber: pkgrel bump to fix ICU soname issue (!200)
Alpine Linux has updated their main/icu to 63.1, which means we have to
rebuild some of our packages too.

[skip ci]: simple pkgrel bumps, building won't finish in CI
2019-02-08 08:31:22 +01:00
Luca Weiss
2f6f4a2afb
u-boot: update to 2019.01 (mainline Pine A64) (!152)
The Pine boots, Weston shows on a HDMI display.

[skip ci]: doesn't finish in time; ollieparanoid tested that this
compiles for armhf, aarch64, armv7
2019-01-20 02:32:13 +01:00
Grant Miller
038ecb45b3 temp/weston: Re-enable x86 (!131) 2019-01-09 07:14:06 +01:00
Oliver Smith
2593798fa0
temp/qemu: remove in favor of upstream version
The QEMU_MODULE_DIR patch has been upstreamed into the 3.10 release:
https://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg01279.html

Also virglrenderer is now enabled in Alpine's qemu aport:
https://github.com/alpinelinux/aports/pull/5951

Now we can use the upstream version. Thanks to ryang for making this
possible!
2019-01-02 08:54:32 +01:00
Oliver Smith
b08b250cd1 temp/gpgme: add again and update (!122)
Turns out we do need to fork this aport, as it builds qgpgme, which
Alpine's aport does not build as of now. Updated to 1.12.0 and changed
the pkgver to 9999, so it does not conflict with Alpine's aport.
2018-12-31 09:23:20 +01:00
Oliver Smith
14bb25ebe1
temp/gpgme: remove, more recent version in Alpine
We had probably added this, because no binary package was present in
Alpine at the time. Now it is present, and the package has been updated
in Alpine. No need to keep this outdated version around.
2018-12-31 09:12:43 +01:00
Bart Ribbers
fd6c875064 temp/qt-5.12: fix build 2018-12-28 21:14:59 +01:00
Oliver Smith
bcd2b13e5e
QT: upgrade to 5.12.0 [skip ci]
Following today's upgrade in Alpine:
https://github.com/alpinelinux/aports/pull/5830

KDE packages have been bumped as described here:
https://wiki.postmarketos.org/wiki/Repository_maintenance
2018-12-28 17:34:27 +01:00
Grant Miller
ea16f7c523
Revert "temp/qemu: disable block-curl module" (!112)
This reverts commit c83052c9f3.
This workaround is no longer needed thanks to !109.
I have confirmed that qemu still compiles for aarch64. [skip ci]
2018-12-23 23:14:34 +01:00
Oliver Smith
c83052c9f3
temp/qemu: disable block-curl module
Workaround for a build error on aarch64, where the binary package
repository is currently stuck. Compiling it for aarch64 like this:

$ pmbootstrap build --strict --arch=aarch64 qemu

Resulted in:

>>> qemu: Analyzing dependencies...
ERROR: unsatisfiable constraints:
  openssl-dev-1.1.1a-r0:
    conflicts: libressl-dev-2.7.4-r2[pc:libcrypto=1.1.1a]
               libressl-dev-2.7.4-r2[pc:libssl=1.1.1a]
               libressl-dev-2.7.4-r2[pc:openssl=1.1.1a]
    satisfies: curl-dev-7.62.0-r2[openssl-dev]
               libssh2-dev-1.8.0-r4[pc:libcrypto]
               libssh2-dev-1.8.0-r4[pc:libssl]
               spice-dev-0.14.1-r3[pc:openssl]
  libressl-dev-2.7.4-r2:
    conflicts: openssl-dev-1.1.1a-r0[pc:libcrypto=2.7.4]
               openssl-dev-1.1.1a-r0[pc:libssl=2.7.4]
               openssl-dev-1.1.1a-r0[pc:openssl=2.7.4]
    satisfies: world[libressl-dev]
               libssh2-dev-1.8.0-r4[pc:libcrypto]
               libssh2-dev-1.8.0-r4[pc:libssl]
               spice-dev-0.14.1-r3[pc:openssl]
>>> ERROR: qemu: builddeps failed

Note that the only package not mentioned in both "satisfies" outputs is
curl-dev. The real questions are: why is libressl-dev getting pulled in
at all? (Alpine switched back from libressl to openssl, so this should
not happen). And why does this only happen for aarch64, but not for
x86_64 and armhf? But at least this patch unblocks the package builder.
2018-12-17 07:17:33 +01: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
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