Commit graph

262 commits

Author SHA1 Message Date
David Heidelberg
05439148e4
temp/iio-sensor-proxy: include patches for RAW devices (!888)
* First patch for getting data from RAW sensors. (Purism)
* Second patch is for mount-matrix passing. (digetx)

Useful for most Tegra devices, including AL3010 sensor.

First patch merged, second patch queued for a merge.

Ref: https://github.com/hadess/iio-sensor-proxy/pull/292
Ref: https://github.com/hadess/iio-sensor-proxy/pull/299

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-01-19 19:17:40 +03:00
Clayton Craft
b7c3f95dc5
temp/u-boot-librem5: rename package & upgrade to latest version (!869)
This renamed the u-boot package for Purism librem5 devices, since the
phone and devkit share the same u-boot version. It also updates the
various components to the latest versions
2020-01-19 11:57:54 +01:00
Clayton Craft
6fcee615b1
temp/u-boot-librem5dev: upgrade & generate unified firmware image (!869)
This updates ATF, DDR/HDMI firmmware, and u-boot versions, and generates
a unified image that can be flashed at an offset of 2KiB.

mkimage is also no longer used to generate the final image.

Some old unused functions copied when this APKBUILD was forked were also
removed.
2020-01-19 11:57:54 +01:00
Minecrell
6f8cbddcf0
temp/mesa-purism-gc7000: remove (!869)
purism-librem5dev uses mesa-git now so we can remove this package.
2020-01-19 11:57:04 +01:00
Danct12
77a4f7ce1c
temp/mesa-git: upgrade to 0_git20200116 (!886)
[ci:skip-build]: already built successfully in CI
2020-01-19 11:45:58 +01:00
Danct12
489a496442
temp/mesa-git: upgrade to 0_git20200110 (!861)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-01-13 00:19:00 +03:00
Luca Weiss
4204e78546
temp/ofono: upgrade to 1.31 (!818) 2019-12-28 21:13:29 +05:30
David Heidelberg
9322dca2ea
temp/libdrm-grate: bring back to life (!819)
- installes only grate/tegra drivers
- installs itself systemwide

Signed-off-by: David Heidelberg <david@ixit.cz>
2019-12-25 14:45:22 +01:00
Minecrell
63c40525f8
temp/mesa-git: place new libraries in correct package (!826)
Some of the DRI drivers are not moved to the correct subpackage
and therefore installed everywhere through the main package.
This wastes about 8 MB of disk space, so lets move them to the
correct subpackage.
2019-12-24 16:02:40 +01:00
Minecrell
25703c6be8
temp/mesa-git: upgrade to 0_git20191223 (!826)
Build src/git_sha1.h early to avoid build failure:

../src/vulkan/overlay-layer/overlay.cpp:31:10: fatal error: git_sha1.h: No such file or directory
   31 | #include "git_sha1.h"
      |          ^~~~~~~~~~~~
2019-12-24 16:02:36 +01:00
Minecrell
06d449cecd
temp/mesa-git: align with upstream APKBUILD (!826) 2019-12-24 16:02:33 +01:00
Daniele Debernardi
62bc6bb2ec
temp/alsa-lib: fork from Alpine (!794)
Added patch to support ALSA_PLUGIN_DIRS environment variable
2019-12-24 00:03:37 +01:00
Bart Ribbers
427ec6e16f
temp/mesa-git: upgrade to 0_git20191205 (!781) 2019-12-05 23:46:06 +01:00
Bhushan Shah
f4540b2032
temp/ofono: allow wheel group to access ofono dbus (!749)
Default dbus policy of ofono allows only root user and users who are
logged into tty using at_console policy. However since our dbus is not
built with elogind, at_console is never set.

This allows user in wheel group to access ofono

[ci:skip-build]: already built successfully in CI
2019-11-20 23:25:59 +01:00
Daniele Debernardi
730aedd408
temp/kbd: remove (!748)
Drop the temporary kbd package because the upstream package has been
updated to include the busybox fix:
https://git.alpinelinux.org/aports/commit/main/kbd?id=81189e08a0c497a44660eb479120917291a67776

I've tested it by rebuilding the n900 device package, which will
re-create the keymaps using the loadkeys tool.
2019-11-20 21:41:21 +01:00
Oliver Smith
51807847ea
temp/mesa-*: remove suffix in pkgconfig version (!744)
Fix build with current abuild version by removing the "-devel" suffix
in /usr/lib/pkgconfig/*.pc. Set "pcprefix" instead, so abuild doesn't
confuse these packages with the regular mesa.

[ci:skip-build]: already built successfully in CI
Fixes: #386
2019-11-17 19:35:00 +01:00
Danct12
fc30659221
temp/mesa-git: upgrade to 0_git20191101 (!705)
Signed-off-by: Danct12 <danct12@disroot.org>

[ci:skip-build]: already built successfully in CI
2019-11-05 23:01:17 +01:00
Oliver Smith
f01661505e
temp/libphonenumber: remove
Turns out, that the pkgrel was bumped in Alpine. I had looked at an
outdated error message from the postmarketos-ui-* related MR and
assumed that this issue is still present (somwhat confused by the other
upstream-compat issues).

This reverts commit 07653d60a8.
2019-10-23 22:58:07 +02:00
Oliver Smith
07653d60a8
temp/libphonenumber: fork from Alpine
Needs a pkgrel bump because dependency libboost was upgraded. This is
currently breaking everything depending on libphonenumber, for example
plasma mobile.

>>> postmarketos-ui-plasma-mobile: Analyzing dependencies...
ERROR: unsatisfiable constraints:
  so:libprotobuf.so.20 (missing):
    required by: libphonenumber-8.10.21-r0[so:libprotobuf.so.20]
>>> ERROR: postmarketos-ui-plasma-mobile: builddeps failed
2019-10-23 21:16:44 +02:00
Oliver Smith
9931aa8f05
temp/telepathy-logger: fork from Alpine
It was deleted from Alpine, but telepathy-logger-qt depends on it.
2019-10-23 20:51:52 +02:00
Oliver Smith
c99c017870
temp/*: remove plasma (5.17 is in Alpine)
It was forked to build the 5.17 pre-release, which is not needed
anymore. Remove now to unclutter pmaports, and to get pretty much all
remaining packages for x86_64 out of the queue on
build.postmarketos.org.
2019-10-20 20:32:34 +02:00
Luca Weiss
dc4af7d32a
temp/dhcpcd: upgrade to 8.0.6 (!610)
[ci:skip-build]: already built successfully in CI
2019-10-09 23:48:31 +02:00
Alexey Min
be2f68b721
temp/mesa-git: fix build with --strict (!659)
For llvm8-dev llvm-config executable is no longer in PATH
(it is in PATH now for llvm9-dev) and now it is in
/usr/lib/llvm8/bin/llvm-config, so it is more reliable
to adjust $PATH before calling meson build.

It will work for all past, current and future llvm versions.

Fixes 90d3deb7b4

[ci:skip-build]: already built successfully in CI
2019-10-05 02:39:44 +02:00
Bhushan Shah
90d3deb7b4
temp/mesa-git: upgrade to 0_git20191002 (!656)
[ci:skip-build]: would not finish in time
2019-10-03 21:46:15 +02:00
Clayton Craft
eb99b93f56
temp/mesa-purism-gc7000: upgrade to 19.1 (!590) 2019-10-02 20:59:53 +02:00
Clayton Craft
7bf1b5dcf8
temp/u-boot-librem5dev: upgrade uboot and firmware (!590)
This commit:

- Updates u-boot
- Updates arm trusted firmware
- Builds the m4 firmware using cross compilation (no more dependency on
  downloading the binary from purism \o/)
2019-10-02 20:59:53 +02:00
Oliver Smith
f0159bd0aa
temp/*: don't build plamo related pkgs for armhf
postmarketos-ui-plasma-mobile has !armhf in its arches list, so it does
not make sense to build these packages for armhf either. Let's save some
building time.

[ci:skip-vercheck], [ci:skip-build]
2019-09-29 23:42:30 +02:00
Bart Ribbers
95de9a34c2
temp/plasma: fork from Alpine to build Plasma 5.17 pre-release (!639) 2019-09-29 20:39:03 +02:00
Oliver Smith
e09aa15c08
temp/mesa-grate: removed (!648)
This depends on non-existing package py2-mako, and therefore blocks
building the binary repository.

Related: #370
2019-09-25 21:17:41 +02:00
Luca Weiss
7d937582c3
temp/dbus-elogind: fork from Alpine for elogind patch (!625)
Needed for ofono to work because of the at_console directive to work.

[ci:skip-build]: already built successfully in CI
2019-09-19 01:31:02 +02:00
Bart Ribbers
11e638b075
temp/mesa-git: upgrade to 0_git20190917 (!591)
- Remove the outdated patch, it has been fixed differently upstream
- Update patch for use-elf-tls slots

[ci:skip-build]: already built successfully in CI
2019-09-19 00:46:21 +02:00
Daniele Debernardi
dd0f32d9aa
temp/xfce4-battery-plugin: fix battery capacity detection (!595)
If someone also noticed the missing battery icon in the xfce4 panel,
please test with this patched plugin and report back. Thanks.
2019-09-19 00:34:13 +02:00
Bart Ribbers
d47c83f51c
temp/qt5-qtwayland: remove, patches are in upstream (!632) 2019-09-18 23:00:33 +02:00
Oliver Smith
66a856f5d0
temp/qt5-qtwayland: remove non-applying patches
I did not check if patches still applied yesterday, and it turns out
that almost all of them don't apply anymore (probably because the
changes are in the upstream source now?).

Note that I did not test if plasma mobile is working correctly again
with this version, I'm just making the build errors go away (which I
did not notice right away yesterday, as qt5-qtbase was still building
and we had to upgrade that anyway, so there was no point in waiting).

Build tested and working for x86_64.

Fixes: 86a0ecc04a ("temp/qt5-qt*: upgrade to 5.12.5")
2019-09-17 08:24:39 +02:00
Oliver Smith
86a0ecc04a
temp/qt5-qt*: upgrade to 5.12.5 2019-09-16 22:22:38 +02:00
Luca Weiss
e1c430f069
temp/qemu: remove (!608)
The package was originally added with jemalloc to work around a deadlock
while compiling mesa. I've tested compiling the mesa-git package on
x86_64 for armhf and armv7 and it worked fine. Looking at the original
issue report, the problem only happened with the autotools build system
and not with meson - and as all our mesa or networkmanager aports are
using meson now, I think we can delete this.
2019-09-14 06:39:08 +02:00
Luca Weiss
8ed41357e0
temp/mesa-git: provide mesa-dev in mesa-git-dev (!626)
[ci:skip-build]: already built successfully in CI
2019-09-14 04:35:03 +02:00
Daniele Debernardi
6b0aae4442
temp/kbd: new aport (!572)
[ci:skip-build]: already built successfully in CI
2019-09-14 04:32:19 +02:00
Daniele Debernardi
4f400a67c8
temp/xkeyboard-config: Bind square brackets for N900 us keymap (!572) 2019-09-14 04:31:08 +02:00
Bart Ribbers
6dd3b2400b
temp/qt5-qtwayland: explain why we forked it from Alpine (!607)
[ci:skip-vercheck]
2019-09-09 14:25:00 +02:00
Luca Weiss
d2b89c4cf9
temp/ofono: move from modem, upgrade to 1.30 (!612) 2019-09-09 14:23:51 +02:00
Luca Weiss
63acf61012
main/libvdpau-tegra: fix pkgver (!565) 2019-08-24 00:59:07 +02:00
Luca Weiss
d334073811
main/libdrm-grate: fix pkgver (!565)
The libdrm version is 2.4.96 according to configure.ac
2019-08-24 00:59:07 +02:00
Luca Weiss
eed0275d6b
temp/mesa-purism-gc7000: use _commit as variable name (!565) 2019-08-24 00:59:01 +02:00
Bart Ribbers
168e640a85
temp/libdrm-grate: move from main (!571)
[ci skip] Package output does not change except for meta
information (licenses), so don't build or verify checksums
of the packages to prevent outdated source URL's breaking it.
This will have to be looked at later
2019-08-23 21:27:42 +02:00
Bart Ribbers
670fa0377a
temp/libvdpau-tegra: move from main (!571) 2019-08-23 21:27:41 +02:00
Bart Ribbers
4cd09020b1
temp/mesa-grate: move from main (!571) 2019-08-23 21:27:41 +02:00
Bart Ribbers
7eaffd519c
temp/u-boot-librem5dev: move from device (!571) 2019-08-23 21:27:40 +02:00
Bart Ribbers
aa33d82bba
temp/gpgme: remove, upstreamed (!563) 2019-08-22 01:40:41 +02:00
Bart Ribbers
5c3a3967ea
temp/{wpa_supplicant,networkmanager}: remove, upstreamed (!564) 2019-08-20 18:48:35 +02:00
Oliver Smith
29e53f44ee
temp/{networkmanager,wpa_supplicant}: pkgrel bump
Increase pkgrels, so the resulting versions are higher than the aports
in Alpine. Seems like this was done in the upstream PR initially, but
then got lost during rebase.
2019-08-06 11:56:21 +02:00
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
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
Oliver Smith
9933a27128
temp/gcc6: remove again
The purpose of this package was to fill in until it is built in Alpine.
However, it takes forever to build the foreign arch versions. That's
due to the fact that GCC is compiling it self, and then the distcc
cross compiler magic does not work. Not worth it. [skip ci].
2018-11-30 19:34:37 +01:00
Oliver Smith
fd20344cff
temp/gcc6: adjust the APKBUILD so it builds with pmbootstrap
Further adjustments. It would have been better if I tried to build
it first, sorry for that. Another patch is coming in the pmbootstrap
repo, which makes it work even without the gcc6 pmaport.
2018-11-30 09:51:38 +01:00
Oliver Smith
7a6e8aa044
temp/gcc6: remove misleading second pkgname line
Remove the pkgname="$pkgname" line from the APKBUILD, this confuses
pmbootstrap.
2018-11-30 08:59:36 +01:00
Oliver Smith
5cef6135da
temp/gcc6: add until Alpine builds it for arm
Copy Alpine's gcc6 aport to temp. They don't have it built for aarch64
and armhf at the moment. Due to dependency checks, this means we can't
build the kernels that need gcc6, even when cross compiling with
gcc6-armhf etc. See #138 for details.
2018-11-30 08:53:28 +01:00
Oliver Smith
a9570538e2
weston: update to 5.0.0
pmaport recreated on top of Alpine's current aport. The --pixman-type
patches were removed, it would have needed to be rewritten to work with
newer Weston source code. It is a Weston specific workaround for a
problem with the downstream kernels, so this is better fixed in the
kernel source code:
https://wiki.postmarketos.org/wiki/Troubleshooting:display#My_screen_is_red.21

The ABGR patch was rebased and submitted for upstreaming here:
https://gitlab.freedesktop.org/wayland/weston/merge_requests/61

Fixes #136.
2018-11-29 07:52:48 +01:00
PureTryOut
7728b65460
temp/qt5-qtdeclarative: rebuild to resolve graphic issue introduced by !63 2018-11-27 07:47:11 +01:00
Bart Ribbers
d32efabc06
temp/qt5-qtbase: only use OpenGL ES2 for arm* architectures 2018-11-27 07:47:11 +01:00
PureTryOut
9e7e7c4bc4
Add some new KDE applications 2018-11-27 07:47:11 +01:00
Bart Ribbers
1303b77c08
Bump pkgrel of qt5-qtbase and libphonenumber to resolve soname 2018-11-27 07:47:11 +01:00
Martijn Braam
fb23669e29 * Added device package for the pine-a64lts
* Added linux-postmarketos-allwinner kernel
* Added copy of alpines u-boot package with pine-a64lts support
* Changed postmarketos-mkinitfs to add the plain .dtb file to the boot partition
2018-09-16 18:02:06 +02:00
Oliver Smith
3db4c14c0f
temp/xorg-server: not needed anymore
Update happened upstream in Alpine edge:
https://github.com/alpinelinux/aports/pull/4983
2018-09-04 09:00:57 +02:00
Oliver Smith
b3f1d81f35 temp/qemu: bump pkgrel (soname bump) 2018-08-17 00:52:24 +02:00
Oliver Smith
95b6d96c01 temp/xorg-server: update to 1.20.1
Fixes #1625.
2018-08-15 21:49:34 +02:00
Oliver Smith
c938899431 main/kernel-scripts,temp/weston: don't build x86
They don't build for x86 (in case of weston, because the dependency
libunwind does not exist for x86).
2018-07-22 23:57:39 +02:00
Oliver Smith
987d9c735d Move aports forked from Alpine to aports/temp
Also remove the py-requests, as the version has been updated in Alpine.

Close: #1603
2018-07-06 22:34:38 +02:00