Commit Graph
100 Commits
Author SHA1 Message Date
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
Oliver Smith b682ed3a98 cross/binutils-*: update to 2.31.1-r2 2019-01-03 09:47:29 +01:00
Oliver Smith b95b73e26c Update copyright to 2019
Happy new year! \o/
2019-01-02 09:29:47 +01:00
Oliver Smith ac2730385b cross/busybox-static-*: update to 1.29.3-r5 2019-01-02 09:07:03 +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 5a5cfa6b91 kde/libkleo: bump pkgrel after gpgme soname bump
The gpgme update (see last commit) caused a soname bump. Now we need to
rebuild libkleo.
2018-12-31 09:53:24 +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
Oliver Smith 984476227f cross/binutils-*: regenerate with pmbootstrap
Changes spaces to tabs in the APKBUILDs, thanks to this fix:
https://gitlab.com/postmarketOS/pmbootstrap/merge_requests/1734

Alpine uses tabs in almost all their APKBUILDs, so we should do it the
same way. [skip ci].
2018-12-31 08:55:09 +01:00
Oliver Smith 14cf39a836 cross/gcc6-{aarch64,armhf}: regenerate with pmbootstrap
Run 'pmbootstrap aportgen gcc6-aarch64 gcc6-armhf' again and commit
the resulting changes, as these packages are meant to be always
auto-generated and therefore in sync with main/gcc6.

This changes the pkgver to 9999, as it was required in main/gcc6 to
avoid conflicts with Alpine's gcc6 package.
2018-12-31 08:45:39 +01:00
Oliver Smith 8d4232d1fd test_aports_kde: test Qt version too and rename (!119)
Rename test_aports_kde.py to test_aports_framework_versions.py and
generalize all referenes in the code from "KDE frameworks" to
"frameworks". Check that all Qt packages have the same version, support
having the real version in _pkgver and pkgver=9999.

Scan all pmaports, not only the ones in the kde dir. Do not output all
packages of the "other" category anymore, the package count is enough.
2018-12-30 20:53:52 +01:00
Oliver Smith 7dfb3b8d2b main/qt5-*/APKBUILD: use double quotation marks in URL (!119)
Let pmbootstrap properly parse the package URLs, this is required for
the next commit where we start comparing the pkgver of all QT packages
- based on the URL like we do it for the KDE packages.
2018-12-30 20:53:46 +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
Oliver Smith 6d89f465a4 pmaports.cfg: increase min pmbootstrap to 1.1.0
Newer pmbootstrap will generate the deviceinfo_codename line when
creating a new device with "pmbootstrap init".
2018-12-26 22:22:20 +01:00
Oliver Smith 8a05aacfc6 pmbootstrap: update to 1.1.0 2018-12-26 22:20:45 +01:00
Oliver Smith 968bb4ed37 kde/attica-qt: disable tests (!105)
ProviderTest::testFetchInvalidProvider() does not run through anymore:
https://bugs.kde.org/show_bug.cgi?id=402284
2018-12-22 23:33:03 +01:00
Oliver Smith b46484ac65 kde/marble: bump pkgrel after soname bump
This does not exist anymore in Alpine, rebuilding: so:libgps.so.23
2018-12-22 09:29:47 +01:00
Oliver Smith 15ff816233 cross/binutils-*, cross/musl-*: add armv7
Regenerate these aports, so the test case does not complain anymore
that they are outdated. Adds armv7 to the arch lines, as that is the
aportgen change which was done in pmbootstrap!1730.
2018-12-22 09:29:47 +01:00
Oliver Smith ea3dc3d5a5 check_devices_in_wiki.py: update instructions
Explain that one needs to set "booting = yes" in the infobox, instead
of manually adding the device to the overview nowadays.
2018-12-17 08:21:54 +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
Oliver Smith 14d60fe243 main/msm-fb-refresher: update to 0.2
The patch from drebrez has been upstreamed.
2018-12-15 01:48:29 +01:00
Oliver Smith 54f977435d main/abuild-sign-noinclude: new aport (!81)
Builds abuild-sign and abuild-tar.static without any dependencies, so
they can be used outside of an Alpine Linux system. We need this for
build.postmarketos.org.
2018-12-13 09:13:07 +01:00
Oliver Smith 6179f45791 build_changed_aports: allow existing remote
In this CI test, we add the upstrem postmarketOS/pmaports.git
remote to the checked out git repository. Do not crash when it exists
already, so we don't need to remove it before each run when testing
locally.
2018-12-13 07:35:58 +01:00
Oliver Smith 683bc62f96 build_changed_aports: don't build deleted aports
Do not attempt to build deleted aports and fail on them. In the
overview of changed files, note which ones have been deleted.
2018-12-13 07:35:58 +01:00
Oliver Smith c7b42e9ed6 Cosmetic: build_changed_aports: improve comments
* Move a comment that was after a line of code above that line. That
  line was very long compared to all others in the file, and now the
  file fits in 80 characters in every line, like PEP-8 recommends.
* Replace "folder" with "dir" in the comments (as I learned lately
  that "folder" is only a Windows concept).
2018-12-13 07:35:58 +01:00
Oliver Smith 017376be29 cross/busybox-static-*: update to 1.29.3-r4 2018-12-10 07:45:05 +01:00
Oliver Smith 7aded95988 Revert "linux-*: use upstream gcc6 [skip ci]"
This reverts commit ee659a5bb4
and increases the pkgrels of all affected linux pmaports.

I have compiled *every single kernel* that was modified with this
commit, and it worked. That took 12 hours. So I'm pretty confident that
this is a good commit. Let's roll it out and go back to stability \o/

I'll kick off the binary repo building directly after pushing this, but
it will take some time until all binary packages are available again.

[skip ci]: it wouldn't finish in time.
2018-12-01 12:10:10 +01:00
Oliver Smith a1acf0128d linux-infocus-flatfish: fix race condition
Add -j1 to compiling the standby code, which is compiled separately
already. This change seems to make the kernel always compile, I've
tried it 6 times, 3 times of that with pmbootstrap's "--no-ccache"
option. It got past an error about 30 seconds into the build, which
happened roughly 2 out of 10 times:

gcc6-armv6-alpine-linux-muslgnueabihf-ld: cannot find standby.o: No such file or directory

I thought, this was related to gcc6 changes, or to changes in abuild,
but both were not the case.

Grant Miller confirmed that this fixed the build, he was able to
compile the kernel ten times in a row with this commit.
2018-12-01 12:03:15 +01:00
Oliver Smith afd26b3b97 Revert "main/gcc6: delete in favor of Alpine's gcc6"
This reverts commit d56a2facfb
and changes the main/gcc6 pkgrel to 9999, so it will always be higher
than Alpine's version.
2018-12-01 11:59:48 +01:00
Oliver Smith 9a009ca393 various kde: increase pkgrel after soname bumps 2018-12-01 03:03:41 +01:00
Oliver Smith 1c0108f836 main/pmbootstrap: update to 1.0.4 2018-12-01 02:54:17 +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
Oliver Smith 0ab7ce3676 tests: check for deviceinfo_weston_pixman_type
Make sure this obsolete option won't be used by future devices.
2018-11-29 07:31:06 +01:00
Oliver Smith 81c3b3c2dd devices: remove deviceinfo_weston_pixman_type
This is not supported anymore, see previous commit for reasoning.
2018-11-29 07:31:06 +01:00
Oliver Smith b4e50f18be postmarketos-ui-weston: remove --pixman-type hack
Do not add --pixman-type to the commandline, when
deviceinfo_weston_pixman_type is filled out.

--pixman-type was enabled in Weston with a custom patch, that currently
prevents us from upgrading Weston (#136).

The option allowed working around broken framebuffer drivers in
Android downstream kernels, which reported the wrong color format.
But it only works for Weston, the right way to patch this would be
patching the kernels, and we have some approaches here:
https://wiki.postmarketos.org/wiki/Troubleshooting:display#My_screen_is_red.21
2018-11-29 07:31:06 +01:00
Oliver Smith d4e4d02774 pmos-ui-plasma-mobile: enable software rendering
When rendering on framebuffer, always do software rendering. This
should make it possible to boot up Plasma Mobile on most devices with
downstream kernels, although terribly slow. Still better than a black
screen though. Tested and working on the samsung-i9100.

We can improve the code and possibly make the rendering mode
configurable per device once we experimented more with:
* llvmpipe vs. softpipe on various devices
* armv7 (around the corner in Alpine)
* a proper display manager like lightdm
2018-11-28 06:31:40 +00:00
Oliver Smith ffee5d6a4a cross/busybox-static-*: update to 1.29.3-r3 2018-11-27 07:47:11 +01:00
Oliver Smith 4468cf9b97 Various N900 improvements, change default i3 terminal to "st" 2018-11-27 07:47:11 +01:00
Oliver Smith 1358b1a91d cross/gcc-*: update to upstream (8.2.0-r1) 2018-11-27 07:47:11 +01:00
Oliver Smith 80a704e1c6 cross/binutils-*: regenerate aports (update src url)
Download URL was changed from HTTP to HTTPS in Alpine's binutils
aport. Adjust our automatically generated binutils-* aports.
2018-11-27 07:47:11 +01:00
Oliver Smith 4dbbfbc0ba main/postmarketos-ui-i3wm: fix lightdm autostart 2018-11-27 07:47:11 +01:00
Oliver Smith a777bf071b kfilemetadata: bump pkgrel after soname bump 2018-11-27 07:47:11 +01:00
Oliver Smith 2f125587fe cross/busybox-static-*: update to 1.29.3-r2 2018-11-27 07:47:11 +01:00
Oliver Smith 46aaf093f0 pmos-ui-plasma-mobile: disable angelfish, vvave
Both depend on qt5-qtwebengine, which needs to be rebuilt in Alpine
after the soname bump of libavformat [1]. Disable them for now, so
plasma mobile can still be installed, and the pmbootstrap test case
that installs it runs through again.

[1]: https://github.com/alpinelinux/aports/pull/5586
2018-11-27 07:47:11 +01:00
Oliver Smith c7096e13ad kde/kfilemetadata: rebuild after soname bump
in libavformat.so
2018-11-27 07:47:11 +01:00
Oliver Smith 70a3d3b9d5 cross/*-x86_64: remove aports
These can be manually generated when one really wants to cross compile
from arm to x86_64. Usually this is not needed, so let's save the
compile time. [skip ci]
2018-11-27 07:47:11 +01:00
Oliver Smith 2e7437825b cross/gcc*: set arch to x86_64 only
This covers most use cases and saves a lot of build time. Can be
changed on demand. Again, this simplifies package building as part of
the new build infrastructure effort. [skip ci]
2018-11-27 07:47:11 +01:00
Oliver Smith 9b4a1b0a53 main/kernel-scripts: fix build
Adjust the mime-type that gets used to find executables to
application/x-pie-executable and change the APKBUILD logic to print out
a meaningful error when the executables can not be found.

Also fix the broken patch logic (doesn't display an error anymore).
2018-11-27 07:47:11 +01:00
Oliver Smith aee2acaeb9 main/kernel-scripts: bump after openssl switch
Alpine switched from libressl to openssl in edge. And we're lucky, this
is the only package that needs to be rebuilt :)
2018-11-27 07:47:11 +01:00
Oliver Smith 771612344d other device related packages: don't use noarch
It does not make sense to build most of them for x86_64 for example.
2018-11-27 07:47:11 +01:00
Oliver Smith 82fb0a2d59 pmbootstrap: update to 1.0.3 2018-11-27 07:47:11 +01:00
Oliver Smith ac6c0a2997 test_aports.py: disallow noarch device packages
Check if all device packages have the same arch in their device
APKBUILD as they have in their deviceinfo. And that they have
!archcheck set in the options.
2018-11-27 07:47:11 +01:00
Oliver Smith 658b6c75c9 pmaports.cfg: require pmbootstrap 1.0.3
The new version doesn't create noarch device packages anymore.
2018-11-27 07:47:11 +01:00
Oliver Smith 9814d78e73 device-*: don't use noarch anymore
Use the device's architecture instead of noarch. Because the device
packages should never be built for other architectures, even if all
depends can be built for other arches as well.

This simplifies package building as part of the new build
infrastructure effort.

pmbootstrap has also been changed to output this by default in
aportgen.
2018-11-27 07:47:11 +01:00
Oliver Smith 61489b8367 cross/busybox-static-*: update to 1.29.3-r1 2018-11-27 07:47:11 +01:00
Oliver Smith 70496ed696 luna/*: remove LuneOS UI aports
They have been unmaintained and didn't build for months now.
Removing, so the new build infra structure can build all packages and
we don't need to exclude this folder anymore like we are doing now.
More information: <https://wiki.postmarketos.org/wiki/LuneOS_UI>

[skip ci]
2018-11-27 07:47:11 +01:00
Oliver Smith c7dd66ad40 increase min. required pmbootstrap version
Also related to the GCC6/GCC8 kernel changes.
2018-11-27 07:47:11 +01:00
Oliver Smith 652105d7fc increase pmaports version
After all the GCC6-as-extra-package related changes.
2018-11-27 07:47:11 +01:00
Oliver Smith 3d99fad482 linux-lg-mako: modernize with new gcc8 linux aportgen code 2018-11-27 07:47:11 +01:00
Oliver Smith ea45d2d4ed devicepkg-dev: ship compiler-gcc.h for GCC8
We used to put a "compiler-gcc6.h" file inside every vendor kernel's
aport. This is redundant and only works with GCC6. With this patch,
a common "compiler-gcc.h" file will be used, that works independently
of the GCC version.

The file is from Decatf's android_kernel_samsung_p4 repository, where
it was taken from upstream Linux, but adjusted to work with older
vendor kernels (different #ifndef check at the top etc).

https://github.com/Decatf/android_kernel_samsung_p4/blob/bd0772df2132bf56cda78e7204facf434cd5aa40/include/linux/compiler-gcc.h
2018-11-27 07:47:11 +01:00
Oliver Smith b90a4abbe0 add shared patches for GCC8 compatibility
This introduces a new .shared-patches folder. New
"pmbootstrap aportgen" code will make use of this, and create symlinks
to the patches inside that folder when running
"pmbootstrap aportgen linux-..." (or using the new device wizard).
2018-11-27 07:47:11 +01:00
Oliver Smith 4472448e6b device/linux-*: make all kernels compile again
All kernels compile again, after the GCC 8 upgrade.

All 3.x kernels have been changed to use GCC 6 now, because we can't
say for sure that they boot with GCC 8 even if we made them compile
with that newer GCC. If someone wants to test a kernel for a newer
device which they can test, see the instructions on
<https://postmarketos.org/vendorkernel>.

The linux-sony-castor-windy 4.x kernel did not compile out of the box
with the latest GCC, so we set it to GCC 6 as well. This can probably
be fixed easily.

linux-teclast-x80-pro: removed Werror and updated to latest 4.14 kernel
from kernel.org, otherwise this would not compile anymore (tested with
both GCC 6 and 8, probably incompatibility with the latest binutils or
something).

This commit will take too long to compile in CI, so let's [skip ci].
I've compiled all kernels multiple times and fixed them up until all of
them were working again.

Related: #103
2018-11-27 07:47:11 +01:00
Oliver Smith c2f57b050e bump pkgrel 2018-11-27 07:47:11 +01:00
Oliver Smith dd17dc5c06 */gcc6*: properly regenerate aports with aportgen
I did it manually in the previous commit and replaced the wrong for
loop in gcc6-armhf. [skip ci]
2018-11-27 07:47:11 +01:00
Oliver Smith 1b78e64748 */gcc6*: add symlinks for all binutils [skip ci]
I thought only having specific symlinks was enough, and it was for one
kernel. However, to make sure it works with all kernels, let's just add
symlinks for all the binutils.
2018-11-27 07:47:11 +01:00
Oliver Smith 7e89296ab4 */gcc6*: bump pkgrel [skip ci] 2018-11-27 07:47:11 +01:00
Oliver Smith 4dbef543cd */gcc6*: add objdump symlink [skip ci]
Without this symlink, lots of messages like this one appear while
compiling kernels:

/bin/sh: gcc6-armv6-alpine-linux-muslgnueabihf-objdump: not found
2018-11-27 07:47:11 +01:00
Oliver Smith 1ffa59d892 cross/gcc-*, cross/gcc6-*: regenerate [skip ci]
GCC6 cross compiler packages, based on the latest pmbootstrap
aportgen code. Related: #103
2018-11-27 07:47:11 +01:00
Oliver Smith 7bff136eea main/gcc6: symlink for objcopy is also required
With this commit, pmbootstrap!1699 and a few changes in a linux aport,
it finally compiled successfully with gcc6 \o/

Details described in #103.
2018-11-27 07:47:11 +01:00
Oliver Smith 4101340742 main/gcc6: first changes for gcc6 cross compilers
* remove everything that causes conflicts when installing gcc6 and
  gcc6-armhf side by side
* fix up the existing "if cross compiling" code path to use the
  /usr/gcc6 prefix
* link binutils binaries to the locations they are expected to be
  by gcc (this took me hours to figure out....) as well as by the
  linux build system with CROSS_COMPILE
* link all gcc binaries to /usr/bin/gcc6-*
2018-11-27 07:47:11 +01:00
Oliver Smith 479055e896 cross/busybox-*: update to 1.29.3-r0 2018-11-27 07:47:11 +01:00
Oliver Smith 737cff798a Add gcc6 aport
Based on the last version from Alpine, but installed to /usr/gcc6 and
with pretty much everything disabled except for the C compiler.

We can probably throw out a lot of patches, and make the APKBUILD much
smaller. But let's focus on making it possible to compile old kernels
again first. There's still a lot to do for that, see #103.
2018-11-27 07:47:11 +01:00
Oliver Smith 56f1e0c10f cross/gcc-*: upgrade to gcc 8.2.0 [skip ci]
Skipping CI, because it would probably not finish building all of them.
Major breakage incoming. Details discussed here:
<https://gitlab.com/postmarketOS/pmaports/issues/103>
2018-11-27 07:47:11 +01:00