Commit Graph
100 Commits
Author SHA1 Message Date
Oliver Smith 24d0ce16e5 asus-flo, sony-castor-windy: use mesa-freedreno (!450)
Let all remaining devices that depend on mesa-dri-freedreno use the new
mesa-freedreno package.

[ci:skip-build]: won't finish in time. I'm verifying that the whole
                 merge request builds before merging.
2019-06-30 18:54:08 +02:00
Oliver Smith 71a9fec125 sony-sirius: use mesa-freedreno, change to armv7 (!450)
Switch to armv7, because we're not building linux-postmarketos-qcom for
armhf anymore.
2019-06-30 18:54:08 +02:00
Oliver Smith 7e4b70ddf4 main/linux-postmarketos-qcom: update: 5.2_rc3, disable armhf (!450)
Kernel patches by Brian Masney, this pmaports.git patch is based on work
by Brian and Martijn Braam.
2019-06-30 18:54:08 +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
Oliver Smith ec14336927 teclast-x80pro: enable CONFIG_UEVENT_HELPER (!472)
[ci:skip-build]: will not finish in time. I've built linux-asus-me176c
                 and it builds fine. I'm assuming that
                 linux-teclast-x80pro will also build, since it is
                 pretty much the vanilla kernel.
2019-06-30 18:46:37 +02:00
Oliver Smith 58bb1ab8f3 asus-me176c: enable CONFIG_UEVENT_HELPER (!472)
Make busybox mdev work in the postmarketOS initramfs.
2019-06-30 17:10:31 +02:00
Oliver Smith 17292f4f5e main/postmarketos-base: fix wpa_supplicant config (!365)
Fix wifi on htc-ace by properly setting nl80211 before wext.

/etc/conf.d/wpa_supplicant is supposed to get modified twice with the
current code in the post-install file. The first one was patched
recently to set nl80211 before wext, but that change does not work in
practice, for two reasons:

1. The code block does not even get executed, because apk reports that
   /etc/conf.d/wpa_supplicant was already modified (by a package that
   was installed before, in its post-install script? I could not find
   out which one does that though).
2. Even if it worked, the second code block would revert the change and
   put wext before nl80211 again.

Fix this by removing the first code block, and changing the order in the
second one. Make it easier to catch such errors in the future, by
printing, which files get modified, or get skipped. Set "#!/bin/sh -e",
so the script can not fail silently.

When doing pmbootstrap -y zap and then pmbootstrap install, the output
looks like this:

(141/151) Installing postmarketos-base (3-r26)
Executing postmarketos-base-3-r26.post-install
- Modifying: /etc/fstab
- Modifying: /etc/issue
- Modifying: /etc/motd
- Modifying: /etc/conf.d/syslog
- Modifying: /etc/conf.d/wpa_supplicant
- Modifying: /etc/sudoers
- Modifying: /etc/chrony/chrony.conf
2019-06-30 02:00:08 +02:00
Oliver Smith 7fb32b86a4 main/libofono-qt: disable docs
Documentation depends on texlive, which is currently not available in
Alpine edge x86.
2019-06-24 21:59:45 +02:00
Oliver Smith 020dd0e9f2 main/libofono-qt: remove unused patch files
[ci:skip-vercheck]
2019-06-24 21:58:43 +02:00
Oliver Smith 069fabbd3d main/telepathy-ofono: bump pkgrel
missing depend(s): so:libmission-control-plugins.so.0, so:libofono-qt.so.1
2019-06-24 21:25:06 +02:00
Oliver Smith 6b142e0139 temp/sonnet: remove
Binary package is available in Alpine again.
2019-06-20 14:07:29 +02:00
Oliver Smith 24df480254 main/telepathy-qt: disable tests
Tests are failing at least for armhf. Disable all of them to unblock the
builder for now.

[ci:skip-vercheck]
2019-06-18 08:34:45 +02:00
Oliver Smith 9fcf7798c6 maemo/hildon-thumbnail: update to 3.1.2
gstreamer 0.10 has been dropped from Alpine, but hildon-thumbnail 3.0.51
was still depending on it. Update to 3.1.2, where it now depends on
gstreamer 1.0 (which is in Alpine).

The aarch64 patch can be dropped, it does not apply anymore, and
building for aarch64 works without it.
2019-06-17 21:32:22 +02:00
Oliver Smith 6834486531 maemo/hildon-thumbnail: rebuild after soname bump 2019-06-17 20:41:25 +02:00
Oliver Smith eecd32812d cross/busybox-static-*: update to 1.30.1-r2 2019-06-13 22:07:51 +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
Oliver Smith cd94b3ef74 CI: test_upstream_compat: disable binutils check
We need to freeze binutils at 2.31 (Alpine has 2.32 already), until
issue #295 is resolved. Let's disable the test, so the testsuite passes
again if everything else is good, and we don't start to ignore whether
it fails or not.
2019-06-11 21:33:32 +02:00
Oliver Smith c61f0dae5e Revert "cross/binutils-*: update to 2.32-r0"
This reverts commit 593fe01bb8.

Binaries in binutils-armhf etc. break the build system:

Error loading shared library libopcodes-2.32.so: Exec format error (needed by /usr/bin/as)
Error loading shared library libbfd-2.32.so: Exec format error (needed by /usr/bin/as)
Error loading shared library libz.so.1: Exec format error (needed by /usr/bin/as)
Error relocating /usr/bin/as: bfd_errmsg: symbol not found
Error relocating /usr/bin/as: deflateEnd: symbol not found
Error relocating /usr/bin/as: bfd_arch_bits_per_address: symbol not found
Error relocating /usr/bin/as: bfd_set_error_program_name: symbol not found
Error relocating /usr/bin/as: xcalloc: symbol not found

Reverting for now. The upstream compatibility CI test is expected to fail.
The postmarketOS binary repositories still have the old binutils package.

I'm analyzing this issue in #295.

[ci:skip-vercheck]: package downgrade
2019-06-09 22:44:04 +02:00
Oliver Smith 593fe01bb8 cross/binutils-*: update to 2.32-r0 2019-06-09 21:24:16 +02:00
Oliver Smith 974fa8e028 cross/musl-*: update to 1.1.22-r2 2019-06-06 22:22:51 +02:00
Oliver Smith 2cba912d15 cross/grub-x86: fix pmb:strict option name
This package should use the pmb:strict option, in order to force
pmbootstrap to always build it in strict mode. Otherwise it can have
a conflict with packages installed earlier.

I've just noticed that the merged patch was still using the early name
of the option, "pmbootstrap-strict". It was later changed to
"pmb:strict" in the related pmbootstrap!1771 merge request, for
consistency with !pmb:kconfig-check. Fix grub-x86 to use the proper
option name.

[ci:skip-vercheck]: version bump not needed
2019-06-04 23:28:39 +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
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 33634b0b58 kde/powerdevil: bump pkgrel
Current binary package has missing dependency: so:libkworkspace5.so.5
2019-06-01 22:41:44 +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
Oliver Smith 75c8eaeaf7 CI: fix package count check + ci:skip-build (!404)
Do not require ci:ignore-count, when using ci:skip-build in a MR that
has change a lot of packages. If the user already supplies ci:skip-build
then we can safely assume that we don't to check the package count.

Fixes #267
2019-05-31 00:38:17 +02:00
Oliver Smith e504c8d1b9 CI: version check: fix running on upstream/master (!403)
When running on upstream/master, don't compare HEAD against
upstream/master. This is the same commit, so all versions will be the
same. Instead compare against HEAD~1.
2019-05-31 00:27:41 +02:00
Oliver Smith 11b1448aa5 CI: add check_changed_aports_versions.py (!382)
Make sure that changed aports always have a higher version than what is
currently in master. This check can be skipped with ci:skip-vercheck (in
square brackets).

Related: #187
2019-05-30 16:11:33 +02:00
Oliver Smith f45faa2c2a cross/grub-efi-x86: update to 2.0.2-r17 2019-05-28 23:21:13 +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
Oliver Smith debf530c78 CI: add common.py (from build_changed_aports.py)
Move most code from build_changed_aports.py to common.py. Another patch
will follow soon, which uses common.py to check the versions of changed
aports.

Related: #187
2019-05-24 22:48:05 +02:00
Oliver Smith 21852b3cc6 CI: verify sources when ci:skip-build (!371)
Instead of simply skipping the build check, when ci:skip-build is in
the last commit message (in brackets), download the sources and verify
their checksums.

Depends: pmbootstrap!1788
2019-05-24 19:37:13 +00:00
Oliver Smith 3b35907c50 main/pmbootstrap: update to 1.6.1 2019-05-19 19:58:52 +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
Oliver Smith b42a538152 modem/libqipcrtr4msmipc: add armv7 to arches
Fix building modem-qcom-msm-downstream-common for armv7 (which was
done in the last commit, although it only mentions aarch64 in the
commit message).
2019-05-11 23:23:00 +02: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 4e9d08d39e cross/gcc-*: re-generate with pmbootstrap aportgen
Adjust the depends of the GCC-8 cross compiler packages after the change
from pmbootstrap!1778. This does not have any effect (since the GCC-8
aports don't have !tracedeps in options, in contrary to the other GCC
aports we ship). But it makes sure that we don't get any changes after
running the repository maintenance script from here:
https://wiki.postmarketos.org/wiki/Repository_maintenance

[ci:skip-build]: cosmetic change, build would take too long anyway
2019-04-30 19:12:56 +02:00
Oliver Smith c6e854b186 main/gcc{4,6}, cross/gcc{4,6}*: fix depends
Explicitly depend on mpc1. Our generated gcc aports use the !tracedeps
option, so we need to explicitly set the libraries it depends on.

This has mostly not been an issue, as we are installing our gcc
packages together with Alpine's gcc package, which causes the libraries
to get installed anyway.

Fixes #236.

[ci:skip-build]: takes too long to build.
2019-04-26 22:45: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
Oliver Smith b4ed4fce33 cross/busybox-static-*: update to 1.30.1-r1 2019-04-26 21:02:37 +02:00
Oliver Smith e91b7e780e main/pmbootstrap: update to 1.6.0
First release with crossdirect support, meaning crossdirect is stable
now!
2019-04-24 16:10:54 +02:00
Oliver Smith ffbbe41d63 main/kernel-scripts: remove (!329)
This package was a workaround for out-of-tree modules (wireguard). We
have dropped the wireguard kernel module package already, and since
kernel-scripts is failing to build now (it would need to be updated),
let's drop it as well.

If somebody wants to bring back *and maintain* the wireguard
out-of-tree kernel module, I've documented how we had done it here:
https://wiki.postmarketos.org/wiki/Out-of-tree_kernel_modules

[ci:skip-build]: building the kernels that have been adjusted to drop
                 kernel-scripts related code would take too long for CI,
                 but I'm making sure that everything still builds before
                 merging.
2019-04-19 19:31:06 +02:00
Oliver Smith db9611cdab py3-brotlipy: bump pkgrel after soname bump
Library doesn't exist anymore, so we need to rebuild the package:
so:libpython3.6m.so.1.0
2019-04-18 20:49:58 +02:00
Oliver Smith 1031ff82a6 CI: enable crossdirect again
All bugs should be ironed out now. Let's get some more testing by
enabling crossdirect in CI again. The crossdirect feature is still only
in pmbootstrap master, not in the latest pmbootstrap release. But if it
works without problems for some time, we're ready to make a release.

This reverts commit 6e3252e401.
2019-04-14 04:11:01 +02:00
Oliver Smith 2c07f28419 cross/crossdirect: use qemu when linking (!318)
Cross linker (e.g. ld from binutils-armhf) does not support any method
of setting additional link paths, and this causes problems when building
various packages. Work around this problem by calling the qemu binary
instead of the cross binary from the native chroot, whenever we are
linking.

I have tested that this allows successfully building hello-world,
coreinfo, libhybris for armhf. So this fixes #227 and fixes #228.

Regarding performance, this is the same way as distcc does it. We would
get a performance gain if we were able to use the cross-linker. But so
far I could not figure out how to patch the binutils source to make it
work like we want to have it. Maybe I'll ask on some binutils mailing
list for advice. In the meantime, this workaround should make
crossdirect work for all use-cases, and it is still faster than the
previous distcc setup, because we can avoid the overhead of setting up
and running a ssh server locally to work around missing authentication
in distcc (see pmbootstrap!1649). Let's test this for some more time,
and then make a pmbootstrap release that rolls out crossdirect for
everyone.
2019-04-14 04:03:21 +02:00
Oliver Smith 9b6ea60690 cross/musl-*: update to 1.1.22-r0 2019-04-11 23:48:26 +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 de7e9c1456 kde/kcalcore: rebuild after soname bump
missing depends: so:libical.so.2, so:libicalss.so.2, so:libicalvcal.so.2
2019-04-08 21:10:49 +02:00
Oliver Smith 3928475fd6 cross/grub-efi-x86: update to 2.02-15 (!302) 2019-04-06 01:30:29 +02:00
Oliver Smith dfebf60c9b CI: upstream compatibility: add grub-efi-x86 (!302)
Make sure we keep it in sync with Alpine's version.
2019-04-06 01:29:32 +02:00
Oliver Smith 6e3252e401 CI: disable crossdirect for now (!301)
Disable it, until more bugs are ironed out (see pmaports issues,
everything related to crossdirect that is still open). Will be enabled
again soon.
2019-04-06 00:17:55 +02:00
Oliver Smith 9bf7948303 pmaports.cfg: bump version (!299) 2019-04-03 21:26:12 +02:00
Oliver Smith 958f597a6c cross/crossdirect: use ccache, execve, -Werror (!299)
Instead of running compilers directly, let them go through the native
ccache binary. Note that it will still use the foreign arches cache dir
because the native cache dir would be at /native/home/pmos/.ccache.

Use execve instead of setenv and execv, because that didn't work with
LD_LIBRARY_PATH (ccache was complaining that it couldn't load zlib).

Enable -Werror, because we are maintaining this program and it helps
us catching bugs early.
2019-04-03 21:26:12 +02:00
Oliver Smith 9c90da7969 ccache-cross-symlinks: all arches, relative, clang (!299)
Create symlinks for all supported arches (armhf, armv7, aarch64, x86_64,
x86), not only armhf and aarch64. Skip creating symlinks for the arch
that the package gets built for, so we can include x86_64 in the list
without conflicting with the ccache package from Alpine.

Link to ../../../bin/ccache instead of /usr/bin/ccache, so it works
properly with crossdirect (where we mount the native chroot to /native
in the foreign chroot).

Add symlinks for clang and clang++.
2019-04-03 21:26:12 +02:00
Oliver Smith f540943f0c main, unity8: bump pkgrels after boost upgrade
$ pmbootstrap pkgrel_bump --auto
Increase 'libphonenumber' pkgrel (5 -> 6), missing depend(s): so:libboost_system-mt.so.1.67.0, so:libboost_thread-mt.so.1.67.0
Increase 'unity-system-compositor' pkgrel (0 -> 1), missing depend(s): so:libboost_system-mt.so.1.67.0
Increase 'trust-store' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0
Increase 'process-cpp' pkgrel (0 -> 1), missing depend(s): so:libboost_iostreams-mt.so.1.67.0
Increase 'mir' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_iostreams-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0
Increase 'location-service' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0
Increase 'ubuntu-download-manager' pkgrel (0 -> 1), missing depend(s): so:libboost_log-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0, so:libboost_thread-mt.so.1.67.0
Increase 'dbus-cpp' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0

[ci:skip-build]: I doubt that this would finish in time
2019-04-03 21:25:34 +02:00
Oliver Smith c6aae11598 cross/musl-*: update to 1.1.21-r2 2019-03-26 23:19:56 +01: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
Oliver Smith b6ec855077 pmaports.cfg: bump version to 3 (!222)
This version has the "crossdirect" package, which will be required for
the new pmbootstrap code that uses the crossdirect compilation method by
default.
2019-03-23 01:06:42 +01:00
Oliver Smith 0d966c7a6f cross/musl-*: update to 1.1.21-r1 2019-03-20 08:23:39 +01: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
Oliver Smith a2200d5d15 pmaports.cfg: min pmbootstrap version 1.5.1
This version allows us to override mesa only for the arm arches, still
using Alpine's package for x86_64 and x86. This is currently needed, as
described here:
https://gitlab.com/postmarketOS/pmbootstrap/issues/1741
2019-03-10 02:46:18 +01:00
Oliver Smith 7ab24cb685 pmbootstrap: update to 1.5.1 2019-03-10 02:45:58 +01:00
Oliver Smith f1121b5e07 cross/musl-*: regenerate pmaports (!270)
Regenerated with:
$ pmbootstrap aportgen musl-armhf musl-aarch64 musl-aarch64

This new version fixes the build for gitlab-ci and builds.sr.ht:
https://gitlab.com/postmarketOS/pmaports/issues/26
2019-03-10 02:01:23 +01:00
Oliver Smith 233a401645 ouya: blacklist partitions to avoid brick (!247)
Thanks to Robert Yang's pmbootstrap patch, we can now avoid flashing
anything to the boot and recovery partition of the Ouya. With this
patch, the latest pmbootstrap will refuse to do so with:

ERROR: 'boot' partition is blacklisted from being flashed! See the Ouya device wiki page for more information.
2019-03-08 07:47:34 +01:00
Oliver Smith d0cbf68aec temp/mesa: fix checksum of source tarball 2019-03-07 10:30:19 +01:00
Oliver Smith 3030c00ba2 CI: check_mr_settings.py: fix check for same repo (!255)
Do not crash when a MR was made from the same repository, because the
"allow_maintainer_to_push" key does not exist in the GitLab API's
output. Check first if the "source_project_id" is the same as the
"target_project_id", and if it is, do not try to access
"allow_maintainer_to_push" at all.
2019-03-05 09:00:23 +01:00
Oliver Smith 125ab01876 pmbootstrap: update to 1.5.0 2019-03-03 10:45:39 +01:00
Oliver Smith e8a7926eb6 CI: check if maintainers can write to MR branch (!248)
Check if users activated the 'Allow commits from members who can merge
to the target branch' option in their MRs.

Add the "only" parameter to each job in .gitlab.yml, so the pipeline
can properly run in a "merge request specific context" and give us the
environment variable that contains the MR ID.
2019-02-28 17:54:27 +01:00
Oliver Smith 17dae7d98c cross/gcc4-{aarch64,armv7}: add generated aports
Make it possible to build old kernels with gcc4 for armv7 and aarch64.

The packages have been generated with (as usually):
$ pmbootstrap aportgen gcc4-aarch64 gcc4-armv7

[ci:skip-build]: I have tested that this builds locally.

Fixes #193.
2019-02-28 13:29:03 +01:00
Oliver Smith 946328507b CI: add "ci:ignore-count" and "ci:skip-build" (!210)
Allow skipping the "too many packages changed" check by specifying
"ci:ignore-count" in the commit message.

Allow skipping the package build step by specifying "ci:skip-build"
in the commit message. In contrary to the usual "skip ci" method,
this will still run all the other CI checks.
2019-02-28 09:34:43 +01:00
Oliver Smith 11d7172334 main/wireguard-postmarketos-stable: remove
This isn't building anymore, because linux-postmarketos-stable has been
switched from armhf to armv7 in pma!240.

We could change the arch of wireguard-postmarketos-stable too, but the
package is not maintained at all, and I doubt that anybody is using it.
So I'm dropping it. If there are any users, please step up to maintain
the package.
2019-02-27 21:27:45 +01:00
Oliver Smith bf12556657 purisum-librem5dev: skip kconfig check (!215)
Ignore this kernel in "pmbootstrap kconfig check" by default, so we can
use the upstream kernel config without any changes. But still enable the
kernel config check again.

The related pmbootstrap change will be merged soon:
https://gitlab.com/postmarketOS/pmbootstrap/merge_requests/1753

[skip ci]: this change doesn't affect the build
2019-02-21 19:24:55 +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
Oliver Smith 3de8300f91 cross/busybox-static-*: update to 1.30.1 2019-02-16 18:39:41 +01:00
Oliver Smith a3b88e2e28 main/pmbootstrap: update to 1.4.0 2019-02-15 16:58:48 +01:00
Oliver Smith bc0a942628 cross/musl-*: update to 1.1.21 2019-02-15 11:00:38 +01:00
Oliver Smith 2d638d1a3a main/xcursorgen: build for all arches again
Fix binary package build error caused by package dmz-cursor-theme with
arch=all depending on xcursorgen.
2019-02-15 10:58:39 +01:00
Oliver Smith 6d3d5723b6 CI: ignore _git packages in Qt version check
Do not fail the CI check with the _git packages that have been added
in the initial unity8 packaging.
2019-02-15 10:56:55 +01:00
Oliver Smith 8e00db7fef main/uuu: only build for x86_64
Fails to build for armhf with the error below, and doesn't seem to be
tested on anything but x86_64 anyway according to the project's
README.md file. I did not report this upstream, because we are using
the version from Purism's repository that is at 1.2.31. Upstream is
already at 1.2.68, which may have fixed this already. So if somebody
needs to have it working for anything other than x86_64, we should try
the upstream version first.

[ 83%] Creating preprocessed clst file /home/pmos/build/src/mfgtools-uuu_1.2.31/uuu/gen/emmc_burn_all.clst
gen_txt_include.sh: applet not found
make[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:63: uuu/gen/uuu.clst] Error 127
make[2]: *** Waiting for unfinished jobs....
gen_txt_include.sh: applet not found
make[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:68: uuu/gen/emmc_burn_loader.clst] Error 127
gen_txt_include.sh: applet not found
gen_txt_include.shmake[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:73: uuu/gen/emmc_burn_all.clst] Error 127
: applet not found
make[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:93: uuu/gen/sd_burn_all.clst] Error 127
make[1]: *** [CMakeFiles/Makefile2:184: uuu/CMakeFiles/uuu.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 83%] Built target uuc
make: *** [Makefile:130: all] Error 2
2019-02-08 08:28:18 +01:00
Oliver Smith dcaf388c44 cross/busybox-static-*: update to 1.29.3-r12 2019-02-07 06:53:58 +01:00
Oliver Smith e04192baf3 linux-purism-librem5dev: set REPLACE_GCCH=0
Do not replace compiler-gcc.h. This is necessary now, as we are
replacing compiler-gcc.h by default again, as it is needed for most
kernels. Not increasing the pkgrel to avoid unnecessary rebuild, I have
verified that this works.

NOTE: in the last commit message, I wrote about OVERWRITE_GCC=0. But
the variable is called REPLACE_GCC, as I've decided to rename it before
submitting. I forgot to change it in the commit message.

[skip ci]: this kernel takes more than one hour to build, so it won't
           finish in CI.
2019-01-29 09:55:45 +01:00
Oliver Smith 4328e5fe2f devicepkg-dev: opt-out compiler-gcc.h replacing (!186)
Instead of never overwriting compiler-gcc.h if it exists, overwrite it
by default except if OVERWRITE_GCCH=0 is set in the environment.

Most kernels *do* need this file replaced and won't build without this
patch.
2019-01-29 09:44:44 +01:00
Oliver Smith 7828c621da busybox-static-*: update to 1.29.3-r10 2019-01-25 08:37:02 +01:00
Oliver Smith 170c9aaaf1 pmbootstrap: update to 1.3.0 2019-01-22 08:59:47 +01:00
Oliver Smith 158ac15143 CI: show meaningful error for outdated pmaports (!167)
When we bump the version in pmaports.cfg and the min. required pmaports
version in the pmbootstrap code, then forks of pmaports.git must be
rebased on pmaports.git master. Otherwise "pmbootstrap init" fails, and
because we have it set to quiet (so the output does not distract from
the interesting output if everything goes fine), there was no meaningful
error message yet.

Wrap the "pmbootstrap init" call and display a helpful message that
tells the user to rebase.
2019-01-22 07:47:12 +00:00
Oliver Smith a56afc54c3 kde/itinerary, kde/kitineary: remove (!156)
Right now, this doesn't build anymore, it is failing with:

/home/pmos/build/src/itinerary-c47772e49de6662acd7769d5c8cef94379ea7bcf/src/app/reservationmanager.h:21:10: fatal error: KItinerary/ExtractorRepository: No such file or directory
 #include <KItinerary/ExtractorRepository>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I've tried to update it to the latest commit, but then it fails with
another error. Turns out, this package depends on kitinerary (with a
k!), and whenever we update that, we also need to update this package
to the latest commit. Unfortunatelly, itinerary does not have tagged
versions yet.

So I would like to remove it for now, it does not seem like anybody is
using it at this point, and so it's just additional maintenance effort
for nothing. We could package it again, when it has tagged versions and
is therefore easy to update together with kitinerary.

Remove kitinerary too, because it isn't used by anything else.
2019-01-21 06:45:55 +01:00
Oliver Smith bccf3d10e2 main/wireguard-postmarketos-stable: fix arch
Change arch line to same as linux-postmarketos-stable (so the current
build scripts won't attempt to build linux-postmarketos-stable for
armv7).
2019-01-18 09:46:38 +01:00
Oliver Smith 6e7778f4bd cross/busybox-static-*: update to 1.29.3-r9 2019-01-18 07:29:57 +01:00
Oliver Smith 82d9c87d4f main/telepathy-mission-control: fix armv7 build
Add python2 to makedepends, so it builds in strict mode for armv7.
Otherwise it would fail with:

checking whether /usr/bin/python2 version >= 2.6... configure: error: too old
2019-01-15 09:44:16 +01:00
Oliver Smith ab9d05eea6 cross/arch-bin-masquerade: add armv7
Make our distcc+ccache+cross compiling setup work with armv7.
2019-01-10 22:43:13 +01:00
Oliver Smith f9c6aa17cc cross/busybox-static-*: update to 1.29.3-r6 2019-01-10 22:26:56 +01:00
Oliver Smith e832d89b38 pmaports.cfg: require pmbootstrap 1.2.0
The new version changed the way firmware is written to SD cards, see:
https://postmarketos.org/deviceinfo
2019-01-10 22:15:00 +01:00
Oliver Smith c43d9f22d3 pmbootstrap: update to 1.2.0 2019-01-10 22:14:59 +01:00
Oliver Smith 6225dfa554 cross/musl-*: update to 1.1.20-r3 2019-01-04 21:07:23 +01:00
Oliver Smith 9b4435bcd0 cross/gcc-*: add missing patch file
I forgot to add it with the last commit, sorry for that.
2019-01-03 16:03:55 +01:00
Oliver Smith 81b184522a cross/gcc-*: update to 8.2.0-r2
[skip ci], as the build takes too long.
2019-01-03 15:57:32 +01:00