Compare commits

...
Author SHA1 Message Date
Luca Weiss ca924ffd86 main/libsignon-glib: remove
unity8/wlcs: remove

upstreamed
2021-04-05 07:46:54 +02:00
Luca Weiss 3e483441a3 unity8/qmenumodel: fix compile 2021-04-04 20:44:26 +02:00
Luca Weiss b218ee2b57 unity8/url-dispatcher: fix compile 2021-04-04 20:44:26 +02:00
Luca Weiss b5e6ba71fa unity8/ubuntu-app-launch: fix compile 2021-04-04 20:44:26 +02:00
Luca Weiss 5804d5fb5c unity8/mir: remove dmz-cursor-theme depends
Don't think it's needed
2021-04-04 20:44:26 +02:00
Luca Weiss ec6fdf0f9c main/dmz-cursor-theme: remove
Don't think it's needed
2021-04-04 20:44:26 +02:00
Luca Weiss 5ae2d7f363 unity8/wlcs: upgrade to 1.2.1 2021-04-04 20:44:26 +02:00
Luca Weiss 3524335a4b main/dbus-cpp: remove
main/net-cpp: remove

main/process-cpp: remove

main/properties-cpp: remove
2021-04-04 20:44:26 +02:00
Luca Weiss 0250ad6059 main/libsignon-glib: update to Alpine version 2021-04-04 20:44:25 +02:00
Luca Weiss b47f2f6ddb main/xcursorgen: remove 2021-04-04 20:44:25 +02:00
Luca Weiss 01b1b8dcaa DNM main/properties-cpp: new aport 2021-04-04 20:44:25 +02:00
Luca Weiss 04fe37043b main/net-cpp: upgrade to 2.2.1 2021-04-04 20:44:25 +02:00
Luca Weiss 2e9b48a286 main/process-cpp: upgrade to 3.0.1 2021-04-04 20:44:25 +02:00
Luca Weiss 8d577714cb main/dbus-cpp: upgrade to 5.0.2 2021-04-04 20:44:25 +02:00
Luca Weiss 7c5bf89af3 main/umockdev: remove
In Alpine now
2021-04-04 20:44:25 +02:00
Luca Weiss 6a7b18c9a3 unity8/mir: fix compile 2021-04-04 20:44:25 +02:00
Luca Weiss 1a8b997a93 unity8/*: various upgrades
unity8/location-service: upgrade to 0_git20200818

unity8/qmenumodel: upgrade to 0_git20201008

unity8/settings-components: upgrade to 0_git20201125

unity8/system-settings: upgrade to 0_git20201218

unity8/trust-store: upgrade to 0_git20201008

unity8/ubuntu-download-manager: upgrade to 0_git20201109

unity8/ubuntu-ui-toolkit: upgrade to 0_git20201106

unity8/unity-api: upgrade to 0_git20201016

unity8/url-dispatcher: upgrade to 0_git20200925
2021-04-04 20:44:25 +02:00
Luca Weiss 22d1ba7622 unity8/unity8: upgrade to 0_git20201130 2021-04-04 20:44:25 +02:00
Luca Weiss 08ccd73275 unity8/mir: upgrade to 1.8.1 2021-04-04 20:44:25 +02:00
Luca Weiss 6332d4e778 Remove cmake-3.15 workaround; fixed upstream 2021-04-04 20:44:25 +02:00
Luca Weiss 0d73234f3c unity8/*: Various upgrades
unity8/lomiri-deviceinfo: new aport

unity8/click: upgrade to 0_git20200517

unity8/gmenuharness: upgrade to 0_git20200517

unity8/gsettings-qt: upgrade to 0_git20200715

unity8/libusermetrics: upgrade to 0_git20200517

unity8/platform-api: upgrade to 0_git20200720

unity8/qmenumodel: upgrade to 0_git20171227

unity8/qtmir: upgrade to 0_git20200610

unity8/settings-components: upgrade to 0_git20200527

unity8/system-settings: upgrade to 0_git20200827

unity8/trust-store: upgrade to 0_git20200527

unity8/ubuntu-app-launch: upgrade to 0_git20181230

unity8/ubuntu-download-manager: upgrade to 0_git20200118

unity8/ubuntu-themes: upgrade to 0_git20200211

unity8/ubuntu-ui-toolkit: upgrade to 0_git20200722

unity8/unity-api: upgrade to 0_git20200512

unity8/unity-system-compositor: upgrade to 0_git20200813

unity8/unity8: upgrade to 0_git20200908

unity8/url-dispatcher: upgrade to 0_git20181007
2021-04-04 20:44:25 +02:00
Luca Weiss 4e266223bb Revert "unity8/url-dispatcher: switch source to gitlab"
This reverts commit af2cb6b4656707039b33ad460a8c09d4bc1a9e27.
2021-04-04 20:44:25 +02:00
Luca Weiss 2e9887c918 Add system-settings as dependency of UI package 2021-04-04 20:44:25 +02:00
Luca Weiss ea849be63a unity8/platform-api: update patch 2021-04-04 20:44:25 +02:00
Luca Weiss 8fde605a1d unity8/qtmir: add missing makedepend 2021-04-04 20:44:25 +02:00
Luca Weiss 04cb433ab6 unity8/unity-system-compositor: upgrade to 0_git20200414 2021-04-04 20:44:25 +02:00
Luca Weiss f483bc3436 Revert "unity8/unity-system-compositor: remove"
This reverts commit 4e10be6834a55f934a871154b79904f01077df77.
2021-04-04 20:44:25 +02:00
Luca Weiss 523493464f unity8/url-dispatcher: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss 61406ca9ab unity8/ubuntu-app-launch: add missing makedepend 2021-04-04 20:44:25 +02:00
Luca Weiss 393e700277 unity8/unity-api: fix checksum 2021-04-04 20:44:25 +02:00
Luca Weiss e271215019 unity8/mir: add makedepend
Alpine split the lttng-ust package
2021-04-04 20:44:25 +02:00
Luca Weiss a9465fe2ee unity8/unity8: upgrade to 0_git20200527 2021-04-04 20:44:25 +02:00
Luca Weiss 7f3e6abe08 unity8/unity7-schemas: remove
schema is included in unity8 source now
2021-04-04 20:44:25 +02:00
Luca Weiss 58ebd08c3c unity8/unity-api: satisfy lint 2021-04-04 20:44:25 +02:00
Luca Weiss 34fb72f13b unity8/ubuntu-ui-toolkit: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss 1a35ea5df0 unity8/qtmir: update gtest patch 2021-04-04 20:44:25 +02:00
Luca Weiss e8e7ee6c7b unity8/ubuntu-themes: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss a6607678b9 unity8/ubuntu-download-manager: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss e50c53a79e unity8/ubuntu-app-launch: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss 0fbd799a2b unity8/trust-store: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss f97421e4d3 unity8/ubuntu-ui-toolkit: add missing dependency 2021-04-04 20:44:25 +02:00
Luca Weiss 1444b3742c unity8/system-settings: clean up, build from xenial, partially fix tests 2021-04-04 20:44:25 +02:00
Luca Weiss a372d39668 unity8/settings-components: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss d23b8be385 unity8/qtmir: fix tests 2021-04-04 20:44:25 +02:00
Luca Weiss 30a1d1b15c unity8/qmenumodel: clean up and fix tests 2021-04-04 20:44:25 +02:00
Luca Weiss 48dec5a232 unity8/qdjango: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss 0a1dc60d83 unity8/platform-api: clean up, refresh patches 2021-04-04 20:44:25 +02:00
Luca Weiss bc53146111 main/umockdev: add checkdepends 2021-04-04 20:44:25 +02:00
Luca Weiss 32bb2c06a4 unity8/mir: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss f078eb837c unity8/gmenuharness: disable tests again, fail when cross compiled 2021-04-04 20:44:25 +02:00
Luca Weiss 831b2bd86e main/postmarketos-ui-lomiri: new aport
Just with a default wallpaper for now
2021-04-04 20:44:25 +02:00
Luca Weiss 17d955dfc9 unity8/unity8: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss 8b37a88a35 unity8/unity8: add suru-icon-theme dependency 2021-04-04 20:44:25 +02:00
Luca Weiss 4d4aff35ad unity8/qtmir: add wayland patch 2021-04-04 20:44:25 +02:00
Luca Weiss da7c53cc0c unity8/location-service: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss e26601b18f unity8/libusermetrics: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss f70f2d86f2 unity8/libqtdbustest: clean up 2021-04-04 20:44:25 +02:00
Luca Weiss 1e1fcbe1f5 unity8/libqtdbusmock: clean up and fix tests 2021-04-04 20:44:25 +02:00
Luca Weiss 1aedc71470 unity8/indicator-network: clean up 2021-04-04 20:44:24 +02:00
Luca Weiss 9c6a4dc6b6 Add ubuntu-themes 2021-04-04 20:44:24 +02:00
Luca Weiss 5d332ff356 unity8/gsettings-ubuntu-touch-schemas: clean up 2021-04-04 20:44:24 +02:00
Luca Weiss be463a876e unity8/gsettings-qt: clean up and fix tests 2021-04-04 20:44:24 +02:00
Luca Weiss 448e73050e unity8/gmenuharness: clean up and enable tests 2021-04-04 20:44:24 +02:00
Luca Weiss da4c8fb8a2 unity8/geonames: prettify 2021-04-04 20:44:24 +02:00
Luca Weiss b7212d5478 unity8/cmake-extras: remove 2021-04-04 20:44:24 +02:00
Luca Weiss 18a88fbda2 unity8/click: upgrade to 0_git20200424 2021-04-04 20:44:24 +02:00
Luca Weiss febfeed4ab Rename pmb:no-crossdirect option to !pmb:crossdirect 2021-04-04 20:44:24 +02:00
Luca Weiss ddc67f4199 unity8/content-hub: work around issue in cross build 2021-04-04 20:44:24 +02:00
Luca Weiss 892d58340d unity8/ubuntu-download-manager: disable failing tests 2021-04-04 20:44:24 +02:00
Luca Weiss f881fdfd8e unity8/ubuntu-app-launch: "fix" cross build 2021-04-04 20:44:24 +02:00
Luca Weiss 210574d127 unity8/pthread-cancel-noop: new aport 2021-04-04 20:44:24 +02:00
Luca Weiss 16133d5a4f unity8/unity-api: skip broken test under QEMU 2021-04-04 20:44:24 +02:00
Luca Weiss b799bfeb81 unity8/ubuntu-download-manager: fix tests 2021-04-04 20:44:24 +02:00
Luca Weiss 681d385667 unity8/unity-api: fix tests 2021-04-04 20:44:24 +02:00
Luca Weiss 1609a7e552 unity8/ubuntu-download-manager: add missing impl 2021-04-04 20:44:24 +02:00
Luca Weiss d6a148799f unity8/system-settings: build with cmake 3.15 2021-04-04 20:44:24 +02:00
Luca Weiss 8b4ad6e3f4 unity8/qtmir: get building again 2021-04-04 20:44:24 +02:00
Luca Weiss 890c73b04c unity8/mir: upgrade to 1.8.0 2021-04-04 20:44:24 +02:00
Luca Weiss bd89b62a11 Revert "main/umockdev: remove"
This reverts commit a10a1c8b41.
2021-04-04 20:44:24 +02:00
Luca Weiss 2fa90493e6 unity8/*: everything until qtmir builds 2021-04-04 20:44:24 +02:00
Luca Weiss ad65fc1d7d Revert lomiri package renames 2021-04-04 20:44:24 +02:00
Luca Weiss 00be87e271 main/properties-cpp: remove 2021-04-04 20:44:24 +02:00
Luca Weiss 0934fb83c5 unity8/url-dispatcher: switch source to gitlab 2021-04-04 20:44:24 +02:00
Luca Weiss bdcdfc9e4b unity8/lomiri-app-launch: upgrade to 0_git20200306 2021-04-04 20:44:24 +02:00
Luca Weiss d458d2ed43 unity8/lomiri-api: upgrade to 0_git20200303 2021-04-04 20:44:24 +02:00
Luca Weiss 69c92f260e unity8/lomiri-download-manager: upgrade to 0_git20200303 2021-04-04 20:44:24 +02:00
Luca Weiss bcb5730c25 unity8/cmake-extras: upgrade to 0_git20200225 2021-04-04 20:44:24 +02:00
Luca Weiss e9f0a19d5b unity8/mir: upgrade to 1.7.1 2021-04-04 20:44:24 +02:00
Luca Weiss cdce5ecab9 unity8/content-hub: adjust makedepends 2021-04-04 20:44:24 +02:00
Luca Weiss 0fbb1ab9db unity8/content-hub: adjust check function 2021-04-04 20:44:24 +02:00
Luca Weiss f0cfaaea48 unity8/trust-store: remove invalid -doc subpackage 2021-04-04 20:44:24 +02:00
Luca Weiss 2a98c18502 unity8/mir: upgrade to 1.7.0 2021-04-04 20:44:24 +02:00
Luca Weiss 4fbe0923fd unity8/mir: upgrade to 1.6.0 2021-04-04 20:44:24 +02:00
Luca Weiss b6a1bd79df unity8/unity8: fix build with patch from xenial branch 2021-04-04 20:44:24 +02:00
Luca Weiss 9c711f4205 unity8/unity-system-compositor: remove
apparently not used on desktop
2021-04-04 20:44:24 +02:00
Luca Weiss 05bf94a7be unity8/trust-store: add -lang subpackage 2021-04-04 20:44:24 +02:00
Luca Weiss 5ac8e62fa0 unity8/qtmir: fix build 2021-04-04 20:44:24 +02:00
Luca Weiss 9eb16f4548 main/dbus-cpp & unity8/unity-api: fix build 2021-04-04 20:44:24 +02:00
Luca Weiss e207c77c98 unity8/mir: upgrade to 1.5.0 2021-04-04 20:44:24 +02:00
Luca Weiss 77b0cfff25 unity8/url-dispatcher: disable Werror 2021-04-04 20:44:24 +02:00
Luca Weiss 1311066db4 unity8/indicator-network: remove merged patch 2021-04-04 20:44:24 +02:00
Luca Weiss 1b248fc089 unity8/click: fix build with new abuild 2021-04-04 20:44:24 +02:00
Luca Weiss a319710978 unity8/mir: upgrade to 1.4.0 2021-04-04 20:44:24 +02:00
Luca Weiss b228af534a unity8/ubuntu-download-manager: add patch to fix build 2021-04-04 20:44:24 +02:00
Luca Weiss 08ecd6ae2c unity8/*: various upgrades 2021-04-04 20:44:24 +02:00
Luca Weiss 63af95f34f unity8/wlcs: new aport 2021-04-04 20:44:24 +02:00
Luca Weiss add9ae8460 unity8/*: update some packages 2021-04-04 20:44:24 +02:00
Luca Weiss 1d6beb0f19 main/process-cpp: Don't build tests 2021-04-04 20:44:24 +02:00
Luca Weiss 582ff3ef29 unity8/*: update some packages with patches merged 2021-04-04 20:44:23 +02:00
Luca Weiss 310372907c unity8/mir: add patch to force a drm device
Needed on the pinephone devkit
2021-04-04 20:44:23 +02:00
Luca Weiss 7de8d5c0b1 main/process-cpp: disable tests because they hangs in QEMU 2021-04-04 20:44:23 +02:00
Luca Weiss e009c7b611 unity8/system-settings: fix build with new NetworkManager version 2021-04-04 20:44:23 +02:00
Luca Weiss 3692e213d7 unity8/indicator-network: fix build with new NetworkManager version 2021-04-04 20:44:23 +02:00
Luca Weiss 9457c1f180 unity8/libqtdbusmock: fix build with new NetworkManager version 2021-04-04 20:44:23 +02:00
Luca Weiss 6680a29728 unity8/libqtdbustest: disable tests because of issues when being cross compiled 2021-04-04 20:44:23 +02:00
Luca Weiss 1030770548 unity8/mir: go back to GCC 2021-04-04 20:44:23 +02:00
Luca Weiss 63f857734e unity8: enable all arches again 2021-04-04 20:44:23 +02:00
Luca Weiss 6e279e927e Revert "main/dmz-cursor-theme: drop (!887)"
This reverts commit a6ad088e04.
2021-04-04 20:44:23 +02:00
Luca Weiss 94b260960c Revert "unity8: remove (mir does not build anymore)"
This reverts commit 7d005e693e.
2021-04-04 20:44:23 +02:00
Luca Weiss fafea543d6 Revert "main/cmake-extras: restore aport"
This reverts commit 68edbf1a8b.
2021-04-04 20:44:23 +02:00
Luca Weiss acb2d7e387 Revert "main/*: remove ubports leftovers"
This reverts commit 0d9b581c86.
2021-04-04 20:44:23 +02:00
Luca Weiss e30de3b203 kde/mygnuhealth: new aport (MR 1866)
[ci:skip-build]: already built successfully in CI
2021-04-04 20:21:50 +02:00
MightyM17 00dbf49d30 main/mesa-pvr-dri-classic: bump _llvmver to 11 (MR 2049)
[ci:skip-build]: already built successfully in CI
2021-04-04 20:17:32 +02:00
Oliver Smith d765c4ba14 channels.cfg: mark v21.03 as released
* Move v21.03 before v20.05
* Add note that the release channels have been renamed
* Update all descriptions, mention edge blog in edge description
2021-04-04 11:59:38 +02:00
Newbyte 5503682b82 main/linux-postmarketos-exynos4: upgrade to 5.11.8 (MR 2046)
[ci:skip-build] Already built fine on CI
2021-04-04 03:46:27 +03:00
Miles Alan 629d22b02f sxmo/sxmo-utils: add xcalib as dependency (MR 2091) 2021-04-04 03:39:49 +03:00
Clayton Craft de0bc01e34 purism-librem5: fix bluetooth by disabling LE mode (MR 2089)
This forces coex. mode to only support BT classic/EDR, and disabled LE.
When LE coex. is enabled, BT controller init fails.

see: https://gitlab.com/postmarketOS/pmaports/-/issues/1042
fixes: https://gitlab.com/postmarketOS/pmaports/-/issues/976
2021-04-03 10:58:24 -07:00
Luca Weiss 43eceac673 kde/rattlesnake: upgrade to 0_git20201121 (MR 2090)
[ci:skip-build] already built successfully in CI
2021-04-03 10:37:32 -07:00
Luca Weiss 11929dcc3d kde/qrca: upgrade to 0_git20210401 (MR 2090) 2021-04-03 10:37:32 -07:00
Luca Weiss 12dd7426cb kde/plasma-camera: upgrade to 1.0_git20210328 (MR 2090) 2021-04-03 10:37:32 -07:00
Luca Weiss 626b79e4c7 kde/plasma-bigscreen: upgrade to 0_git20210402 (MR 2090) 2021-04-03 10:37:32 -07:00
Luca Weiss 029cb523f0 kde/peruse: upgrade to 0_git20210402 (MR 2090) 2021-04-03 10:37:32 -07:00
Luca Weiss 772ad884d7 kde/kpeoplesink: upgrade to 0_git20210224 (MR 2090) 2021-04-03 10:37:32 -07:00
Luca Weiss 6879cc0fe1 kde/koko: upgrade to 0_git20210401 (MR 2090) 2021-04-03 10:37:32 -07:00
Luca Weiss 96442f00d3 kde/kairo: upgrade to 0_git20210330 (MR 2090) 2021-04-03 10:37:31 -07:00
Luca Weiss ae2761df67 kde/aura-browser: upgrade to 0_git20210319 (MR 2090) 2021-04-03 10:37:31 -07:00
Luca Weiss 16650e1792 kde/audiotube: upgrade to 0_git20210327 (MR 2090) 2021-04-03 10:37:31 -07:00
Luca Weiss d6857a1521 kde/krecorder: remove, upstreamed to alpine 2021-04-03 15:36:48 +02:00
Luca Weiss c943845c4e kde/qmlkonsole: remove, upstreamed to alpine 2021-04-03 15:36:45 +02:00
Luca Weiss c6ae69ff2d main/qmltermwidget: remove, upstreamed to alpine 2021-04-03 15:36:30 +02:00
Maarten van Gompel 314ad6af62 main/postmarketos-ui-sxmo: upgrade to 1.4.1-r1 (MR 2086)
Added some pmb_recommends dependencies that were missing
from default install:
 - megapixels (camera app)
 - feh (image viewer)
2021-04-02 22:43:57 +03:00
Minecrell aa1eefc44a unmaintained/bq-paella-downstream: cleanup, add various debug patches (MR 2081)
These are various debugging related patches that I have used over the time
when attempting to get new features working for the mainline kernel.
Given that the downstream kernel is just intended for debugging in this case,
it seems convenient to add them to pmaports so I don't need to go search for
them in case I need them again in the future.

[ci:skip-build] Already built on CI
2021-03-31 23:49:26 +03:00
Maarten van Gompel dfb394ab8b sxmo/sxmo-utils: upgrade to 1.4.1 (MR 2082) 2021-03-31 17:12:31 +02:00
Maarten van Gompel 13b9b0dc86 sxmo/sxmo-xdm-config: upgrade to 0.3.1 (MR 2082) 2021-03-31 17:10:13 +02:00
Maarten van Gompel 85b07123c7 main/postmarketos-ui-sxmo: upgrade to 1.4.1 (version bump) (MR 2082) 2021-03-31 17:08:47 +02:00
Oliver Smith 708d3bcbdb cross/busybox-static-*: upgrade to 1.33.0-r5 2021-03-30 23:53:41 +02:00
Oliver Smith a909e543f3 nokia-n900: add PMOS_FORCE_PARTITION_RESIZE (MR 2076)
Resize the partition when using a pre-built image. We didn't notice that
this was missing, because N900 images are new and we only tested from
pmbootstrap install --sdcard, which already uses the full SD card size.
2021-03-30 23:03:49 +02:00
Rasmus Rendal 06b1e1cffb main/gpodder-adaptive: add dependency to icons (MR 2069)
As suggested by ollieparanoid, adds adwaita-icon-theme as a dependency
to gpodder-adaptive, for users that don't use phosh.

[ci:skip-build]: already built successfully in CI
2021-03-29 23:48:18 +02:00
Maarten van Gompel 2aca3104bd main/postmarketos-ui-sxmo: upgrade to 1.4.0 (MR 2067) 2021-03-29 22:18:32 +02:00
Maarten van Gompel b04e722de7 sxmo/sxmo-utils: upgrade to 1.4.0.4 (MR 2067) 2021-03-29 22:18:28 +02:00
Maarten van Gompel caf7ca11e1 sxmo/clickclack: new aport (MR 2067) 2021-03-29 22:17:30 +02:00
Maarten van Gompel 700d863c27 sxmo/sxmo-st: upgrade to 0.8.3.4 (MR 2067) 2021-03-29 22:17:30 +02:00
Maarten van Gompel 22a65ae655 sxmo/sxmo-dwm: upgrade to 6.2.12 (MR 2067) 2021-03-29 22:17:30 +02:00
Maarten van Gompel b7f8c92787 sxmo/sxmo-xdm-config: upgrade to 0.3.0 (MR 2067) 2021-03-29 22:17:30 +02:00
Maarten van Gompel 1edc0b8c3f sxmo/sxmo-dmenu: upgrade to 5.0.9 (MR 2067) 2021-03-29 22:17:26 +02:00
Oliver Smith a9a343dc16 pine64-pinephone: drop setup-modem.sh.ofono (MR 2066)
Now that eg25-manager is able to send the AT commands to the modem, even
when ofono is used, drop the ofono specific script.
2021-03-28 23:26:36 +02:00
Oliver Smith 99a4cf071d temp/eg25-manager: fork from alpine (MR 2066)
Upgrade to latest git master version, which has a couple of patches to
fix ofono incompatibilities. The few other patches look fine too.
2021-03-28 23:26:30 +02:00
Oliver Smith 768369df16 cross/gcc-*: upgrade to 10.2.1_git20210328 2021-03-28 20:50:54 +02:00
JuniorJPDJ 817de9fd0a temp/u-boot-goclever-gcta741l: split to separate packages (MR 2064)
[ci:skip-vercheck] bugged subpackage version
2021-03-28 16:29:54 +03:00
Alexey Minnekhanov bb12ca1424 device-samsung-klte: workaround to probe bluetooth reliably (MR 2015)
Buetooth modules have to be probed after Wi-Fi ones.
2021-03-28 03:53:01 +03:00
Alexey Minnekhanov 2735b9b64b firmware-samsung-klte: add Bluetooth firmware (MR 2015) 2021-03-28 03:52:57 +03:00
Alexey Minnekhanov 21673bb9d0 device-lg-hammerhead: workaround to probe bluetooth reliably (MR 2015)
Buetooth modules have to be probed after Wi-Fi ones.
2021-03-28 03:52:54 +03:00
Alexey Minnekhanov 130ae69c69 lg-hammerhead: move Wi-Fi firmware file to firmware package (MR 2015)
brcmfmac4339-sdio.txt file does not belong to device package.
2021-03-28 03:52:51 +03:00
Alexey Minnekhanov c760101d68 device-lg-hammerhead: remove unused file and sort sources (MR 2015)
modules-load.conf was completely unused by this package,
not installed anywhere. brcmfmac is loaded automatically anyway.

Sort values in sources= alphabetically
2021-03-28 03:52:47 +03:00
Luca Weiss 6eeab7840c msm8974 devices: allow vram carveout (MR 2015)
This is needed with the 5.11 kernel. Also adjust the vram & cma sizes
for all msm8974 devices.

The CMA size is 256MB as set in the kernel config.

VRAM is default 16MB although it is set to 192MB with a kernel patch;
but set it manually for all devices to make it possible to remove this
patch in the future - until we have IOMMU working.
2021-03-28 03:52:43 +03:00
Luca Weiss aca8e29d17 main/linux-postmarketos-qcom-msm8974: upgrade to 5.11.10 (MR 2015)
- Remove bam-dmux raw-ip related patches (already included in source)
- Depend on gmp-dev, mpc1-dev, mpfr-dev to build with GCC_PLUGINS support.
- Reduce package size (INSTALL_MOD_STRIP=1) from 119.6 MB to 21.5 MB
- Kernel config changes:
  - make interconnect module built-in
  - remove unused built-in DSI PHY drivers
2021-03-28 03:52:28 +03:00
JuniorJPDJ 698a49058d lark-freeme-70-2s: new device (MR 2040)
still missing:
* touchscreen driver
* front camera

[ci:skip-build] Already built fine on CI
2021-03-28 00:37:38 +03:00
JuniorJPDJ 34b1b44046 main/linux-postmarketos-allwinner: add lark-freeme-70-2s device tree and LCD panel (MR 2040)
also enables Domintech DMARD06 accelerometer and X-Powers AXP20X PMU pinctl driver
2021-03-27 17:48:08 +00:00
JuniorJPDJ ab59db10e7 main/linux-postmarketos-allwinner: enable USB OTG and Gadget options on armv7 (MR 2040) 2021-03-27 17:48:08 +00:00
JuniorJPDJ 90641c110b main/linux-postmarketos-allwinner: enable USB wireless drivers on armv7 (MR 2040) 2021-03-27 17:48:08 +00:00
JuniorJPDJ a39240bce7 goclever-gcta741l: new device (MR 2040)
still missing:
* audio
* lcd backlight control
* touchscreen driver
* front camera
* accelerometer mount fix (driver seem not to support mount-matrix)
* 3D acceleration
* HDMI support
2021-03-27 17:48:08 +00:00
JuniorJPDJ caa3f7193f main/linux-postmarketos-allwinner: add goclever-gcta741l device tree and LCD panel (MR 2040)
also enables Freescale MMA7660 accelerometer driver
2021-03-27 17:48:08 +00:00
JuniorJPDJ 3ae93e8bd5 main/linux-postmarketos-allwinner: upgrade to orange-pi-5.11-20210325-1125 tag (MR 2040)
No manual config changes.
WoWLAN patch is in magi's tree now
2021-03-27 17:48:08 +00:00
JuniorJPDJ 41330a554d main/linux-postmarketos-allwinner: add armv7 architecture (MR 2040)
config is based on sunxi_defconfig altered to conform with kconfig check
2021-03-27 17:48:08 +00:00
Clayton Craft 3d09f9c10d device-purism-librem5: add nonfree subpackage w/ wifi/bt firmware (MR 2059)
Workaround for https://source.puri.sm/Librem5/linux-next/-/issues/290

This requires a kernel with the flash mode *disabled* in the Redpine
RS911x driver.

[ci:skip-build] already passed CI
2021-03-27 18:37:12 +01:00
Clayton Craft ddf56b5169 linux-purism-librem5: disable RS9116 fw flashing (MR 2059)
This allows loading nonfree fw from rootfs (/lib/firmware), to work
around: https://source.puri.sm/Librem5/linux-next/-/issues/290

This change will break wifi unless the nonfree
firmware-siliconlabs-rs9116 package is installed.
2021-03-27 18:37:11 +01:00
Clayton Craft b8c77b240e device/community/firmware-siliconlabs-rs9116: new aport (MR 2059)
This packages the nonfree Silicon Labs RS9116 firmware, required by the
RS9116 chip when flash mode is *not* enabled in the kernel driver.
2021-03-27 18:37:10 +01:00
Clayton Craft aaca2d5d38 linux-purism-librem5: upgrade to 5.11.6 (MR 2059)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/61e6fc1d50487aa3a7ca112d78f94c3e4ddee976
2021-03-27 18:37:02 +01:00
Yassine Oudjana 0b12d68ae6 xiaomi-scorpio: switch to mainline kernel (MR 2063)
[ci:skip-build] already passed CI
2021-03-27 18:23:23 +01:00
Yassine Oudjana 45cf222a72 firmware-xiaomi-scorpio: new aport (MR 2063) 2021-03-27 20:12:45 +04:00
Yassine Oudjana d44da6db7d oneplus-oneplus3t: add soc-qcom-msm8996 dependency (MR 2063) 2021-03-27 20:11:30 +04:00
Yassine Oudjana 65c099277d oneplus-oneplus3: add soc-qcom-msm8996 dependency (MR 2063) 2021-03-27 20:10:51 +04:00
Yassine Oudjana 9075406d79 soc-qcom-msm8996: new aport (MR 2063) 2021-03-27 20:10:34 +04:00
Yassine Oudjana f01b077431 main/linux-postmarketos-qcom-msm8996: upgrade to 5.11.10 (MR 2063) 2021-03-27 20:08:12 +04:00
Angus Gibson 9738f61aa5 lenovo-tb8504f: new device (Lenovo Tab 4 8) (TB-8504F) (MR 2048)
[ci:skip-build] Already built in CI
2021-03-25 20:37:39 -07:00
Oleg Chernovskiy 88da612343 device-oneplus-bacon: Add firmware dependency (MR 2027) 2021-03-25 20:32:26 -07:00
Oleg Chernovskiy 754902d3ae device/testing/firmware-oneplus-bacon: new aport (MR 2027) 2021-03-25 20:31:36 -07:00
frojnd da4afb710b linux-motorola-falcon: fix fb format, upgrade to latest commit (MR 2058)
[ci:skip-build] Already built successfully on CI
2021-03-24 17:18:10 +03:00
Vincent Knecht bd3f2f5933 alcatel-idol347: new device (MR 2050)
New mainline port with most things working (usb/wifi/bt/3d-accel/sound/gps).
Modem/calls/sms/mobile-data should work but couldn't test it recently
due to broken devices.
2021-03-23 20:29:41 +01:00
Minecrell fbdb5f9164 main/linux-postmarketos-qcom-msm8974: add BAM-DMUX patches (MR 2053)
These are required to make it work with the latest ModemManager patches,
especially the patch that switches BAM-DMUX to Raw-IP mode.

[ci:skip-build]: already built successfully in CI
2021-03-22 21:43:26 +01:00
Minecrell 0108b8ba6e main/linux-postmarketos-qcom-msm8916: upgrade to 5.11.7 (MR 2039)
- Update to Linux 5.11.7
- Upstreamed more patches
- Switch BAM DMUX (mobile data) driver to Raw-IP mode.
  This makes it work with the upstream version of ModemManager,
  reduces overhead a bit and is overall cleaner.
- Add QMI "memshare" driver which is needed for GPS to work on most
  MSM8916 devices.
  - GPS has been tested successfully on:
    - alcatel-idol347
    - lg-m216
    - longcheer-l8150 (wileyfox-crackling)
    - longcheer-l8910 (bq-paella)
    - motorola-harpia
    - motorola-osprey
    - samsung-a2015 (a3(u)lte, a5(u)lte)
    - samsung-serranovelte
    - wingtech-wt88047 (xiaomi-wt88047)
  - Needs more testing/investigation on:
    - asus-z00l
    - asus-z010d
    - wingtech-wt865x8

- Add SMB1360 battery/charger/OTG driver for longcheer-l8190
  and wingtech-wt88047.
- Rework TFA9895 speaker amplifier driver for potential upstreaming,
  make it work for TFA9897, add channel selection and a lot of cleanup.

- Add INSTALL_MOD_STRIP=1 to maybe reduce the size of modules a bit.
- Other things I forgot :)

Device changes:
  - alcatel-alto5-vdf: Initial support for Vodafone Smart prime 6
    - USB
    - Storage (eMMC, SD card)
    - Buttons
    - WiFi, Bluetooth
  - alcatel-idol347: Initial support for Alcatel Idol 3 (4.7")
    - USB
    - Storage (eMMC, SD card)
    - Display, Brightness
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Accelerometer, Magnetometer, Gyroscope, Proximity
    - Audio (no headphones yet)
    - Modem (voice call audio needs some more minor changes)
  - asus-z00l
    - SD card
    - IMU (Accelerometer + Gyroscope), Magnetometer
  - lg-m216
    - Battery/charging
  - longcheer-l8150 (wileyfox-crackling)
    - Tweak battery values slightly for 25°C instead of 0°C
  - longcheer-l8910 (bq-paella)
    - Battery/charging
    - USB OTG
  - motorola-harpia
    - Add panel driver for "boe" panel
  - samsung-gt510wifi/matissevewifi:
    - Fix touchscreen
  - wingtech-wt88047 (xiaomi-wt88047)
    - Battery/charging
    - USB OTG

[ci:skip-build]: already built successfully in CI
2021-03-22 21:22:40 +01:00
Minecrell 47ec08d635 community/soc-qcom-msm8916: update UCM files (MR 2039)
- Fix speaker on xiaomi-mido
- Add UCM configuration for alcatel-idol347
2021-03-22 21:22:08 +01:00
Minecrell e9275054fa xiaomi-wt88047: include smb1360 (battery/charger driver) in initfs (MR 2039)
This is needed for USB to initialize correctly.
2021-03-22 21:22:08 +01:00
Minecrell b208647c58 bq-paella: include smb1360 (battery/charger driver) in initfs (MR 2039)
This is needed for USB to initialize correctly.
2021-03-22 21:22:08 +01:00
Dylan Van Assche a57d0c630e device-pine64-pinephone: Override eg25-manager configs (MR 1931)
Figured out with a Quectel engineer and the ModemManager maintainer
2021-03-22 21:20:31 +01:00
Dylan Van Assche 2055cfad30 device-pine64-pinephone: disable ModemManager's suspend/resume hooks (MR 1931) 2021-03-22 21:20:06 +01:00
Minecrell 23d94d7b8c temp/ofono: add patch to update modem data format if necessary (MR 2037)
(Also sync with Alpine while I'm at it...)

This is necessary for mobile data to work on MSM8916-based devices
after some changes in the network driver (bam-dmux) to operate in
Raw-IP mode instead of Ethernet mode (which is somewhat broken).
2021-03-22 21:18:34 +01:00
Dylan Van Assche 520894dc1b temp/modemmanager: dropped, upstreamed to Alpine 2021-03-22 21:18:10 +01:00
Martijn Braam 15d740b746 device/pine64-pinebookpro: switch to mainline (MR 2021)
* Add u-boot build with a lot of patches that makes the display work in
  u-boot for boot selection
* Upgrade the rockchip kernel to 5.11 mainline with config for the
  rk3399 devices built-in
* Make the rockpro64 and pinebook pro use the newer kernel

[ci:skip-build]
2021-03-22 00:41:27 +01:00
Minecrell 86eff19e0b community/asus-me176c: fix splash screen width and phosh scaling (MR 2047)
Actually the display in asus-me176c has a width of 800px, which means
that the splash screen isn't perfectly centered. Correct this in
deviceinfo to make it show up correctly.

Also, add configuration file for Phosh to reduce scaling a bit to 1.75.
It's kind of subjective but scaling = 2 definitely feels too large.

[ci:skip-build]: already built successfully in CI
2021-03-21 21:17:59 +01:00
Minecrell 2094a44b23 community/linux-asus-me176c: upgrade to 5.4.107 (MR 2047) 2021-03-21 21:17:57 +01:00
Clayton Craft 2751cd7c64 temp/gtk+3.0: upgrade to 3.24.27 (MR 2042)
This is 3.24.27 w/ Purism's mobile UI patches in their fork. According
to Purism, 3.24.27 resolves some stability issues (like a segfault when
scrolling)

[ci:skip-build]: already built successfully in CI
2021-03-21 20:27:54 +01:00
Oliver Smith d20d4d2430 temp/sqlite*: fork from alpine, downgrade to 3.34.1 (MR 2054)
Fork because the newer version 3.35 causes segfaults in the "calls" app
and others on the PinePhone.

[ci:skip-build]: already built successfully in CI
2021-03-21 19:46:39 +01:00
Clayton Craft 56a0531ad2 linux-purism-librem5: build led-pattern driver into kernel (MR 2043)
There's a race condition between when the pwmled device is initialized,
which kicks off a feedbackd udev rule that configures the led trigger to
'pattern', and when ledtrig_pattern actually loads. It seems to mostly
load after the rule runs, so the trigger is never set to 'pattern' on
boot.

This removes the race by building the ledtrig_pattern driver into the
kernel.

[ci:skip-build] Already build successfully in CI
2021-03-21 10:54:29 -07:00
Clayton Craft a44713cf0d linux-purism-librem5: add patch to fix wifi performance regression (MR 2043)
This patch fixes a fairly severe performance regression with wifi on the
L5 (something like 20x improvement in performance with this patch)

[ci:skip-build] Already build successfully in CI
2021-03-21 10:54:29 -07:00
Oliver Smith 31ed6f21ef main/postmarketos-mkinitfs: fix space issues (MR 2051)
In order to have hardware acceleration in osk-sdl, we have included mesa
for some devices (like the PinePhone) in initfs-extra. Mesa drags in
libLLVM, which got a size increase of 27 MB in the last version. This
leads to running out of space on the boot partition:

  ==> initramfs: creating /boot/initramfs-postmarketos-allwinner-extra
  gzip: write error: No space left on device
  cpio: write error: Broken pipe

Improve the situation by not directly writing initfs-extra to /boot
(next to the old version), but to a temporary directory first. Replace
the old version with the new version afterwards (like before).

This is a rather minimal fix for this specific issue. The mkinitfs
script needs more fixing (it's one of the oldest pieces of code in
postmarketOS and could use a rewrite...), but that's out of scope for
this patch.
2021-03-21 17:22:44 +01:00
Newbyte c6539b51e5 temp/gnome-contacts: rebuild against latest evolution-data-server (MR 2045) 2021-03-20 11:48:05 +01:00
JuniorJPDJ 93174b17dc main/*: use xwayland instead of xorg-server-xwayland (MR 2041) 2021-03-19 15:31:12 +01:00
Bart Ribbers 3f45a260a3 main/telephony-service: drop, not required anymore 2021-03-19 15:11:04 +01:00
Clayton Craft 759c2aa94e temp/wys: drop, newer version in Alpine (MR 2036)
Upstream Alpine has a later version now, the fork is no longer needed.
2021-03-19 13:08:49 +01:00
Ben Court eb3ab3f0f8 device/motorola-osprey: remove msm and rmi-i2c from initfs (MR 2038)
These drivers make the boot.img to large to fit on the boot partition
of the osprey
2021-03-18 17:21:44 +01:00
Minecrell a28c58a704 cross/binutils-*: fix build
aportgen generates this incorrectly, we don't want any subpackages
for these cross packages...
2021-03-18 13:41:12 +01:00
Minecrell c7bd805910 cross/gcc-*: upgrade to 10.2.1_git20210318 2021-03-18 13:26:51 +01:00
Minecrell 5110703bd6 cross/binutils-*: upgade to 2.35.2 2021-03-18 13:26:24 +01:00
Luca Weiss 63d374e694 kde/audiotube: new aport (MR 2029) 2021-03-18 01:36:38 -07:00
Unknown 4d651d6069 pegatron-chagall: initial mainline port (formerly fujitsu-m532) (MR 1907)
The device has been renamed from fujitsu-m532 to pegatron-chagall since several rebrands of this board exist (Olivetti Olipad3, Siragon 4N, etc.), and Fujitsu M532 is just one of those.

Signed-off-by: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
2021-03-18 01:25:51 -07:00
Clayton Craft 9ae9a7eb2c device-purism-librem5: do not start nonexistent service (MR 2034)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/1010
2021-03-17 13:36:40 -07:00
Clayton Craft 0dc254adef device-purism-librem5: use bq25890 ship mode support in kernel (MR 2032)
Ship mode via the mechanism used by purism doesn't work; it's either not
possible or outside my understanding to run an openrc runscript with a
busybox init on *poweroff* and *not reboot*, which is what is required
for this to work properly..

This module param requires a corresponding kernel patch to enable ship
mode support in the bq25890-charger module
2021-03-16 07:38:22 +01:00
Clayton Craft ee89b6cb24 linux-purism-librem5: add bq25890 patch for ship mode on poweroff (MR 2032)
Submitted to purism here:
https://source.puri.sm/Librem5/linux-next/-/merge_requests/333
2021-03-16 07:38:17 +01:00
Anri Dellal 03847696e1 linux-nobby-230: install modules (MR 2031)
- Changes APKBUILD to build and install kernel modules
- Build UBIFS support as module

[ci:skip-build] Already passed CI
2021-03-16 07:43:46 +03:00
Amy 847f4414d2 linux-motorola-channel: recreate defconfig (MR 2028)
This fixes the issues with the touch screen on XT1952-1.

[ci:skip-build] Already built fine on CI
2021-03-16 07:26:19 +03:00
Clayton Craft fe3620e93d linux-purism-librem5: upgrade to 5.11.4 (MR 2018)
Upstream change logs:

5.11.2:
https://source.puri.sm/Librem5/linux-next/-/commit/fdc91c4e20af5146c9733f16ca6912fb5721e69b

5.11.4:
https://source.puri.sm/Librem5/linux-next/-/commit/a178aa515c9474d8a3d4b473def3027be96d6772

This also adds a -dev subpackage, and cleans up makedepends

[ci:skip-build]: already built successfully in CI
2021-03-14 23:28:31 -07:00
David W 6ecdcbf9b5 samsung-santos10wifi: new device (Samsung Galaxy Tab 3 10.1 Wi-Fi) (MR 2022)
[ci:skip-build]: already built successfully in CI
2021-03-14 21:33:25 +01:00
Oliver Smith 743c3eda7e Revert "CI: skip armhf, x86 build on stable branches (MR 2024)"
This does not work as expected, CI doesn't run for x86 and armhf on
master too. An attempt to fix this was made in MR 2030, but it didn't
work as expected and it's not worth looking into this further right now.

This reverts commit d695455f08.
2021-03-14 21:29:05 +01:00
Svyatoslav Ryhel 93f2d82d1d asus-tf300t: new device (ASUS Transformer PAD) (MR 2026)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
[ci:skip-build]: already built successfully in CI
2021-03-14 21:17:19 +01:00
Svyatoslav Ryhel 1714502033 main/linux-postmarketos-grate: update to 5.12_rc2 (MR 2026)
This updates the current commit hash to latest on grate/master.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2021-03-14 21:16:33 +01:00
Svyatoslav Ryhel 9ef16ab7b6 testing/firmware-asus-transformer: rebrand firmware package (MR 2026)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2021-03-14 21:16:23 +01:00
Luca Weiss ed02df3fe1 cross/gcc-*: upgrade to 10.2.1_pre2-r0 2021-03-14 11:32:02 +01:00
Oliver Smith d695455f08 CI: skip armhf, x86 build on stable branches (MR 2024)
Don't try to build for arches where we don't have a binary repository on
stable branches.
2021-03-13 02:30:45 +01:00
Clayton Craft cbc8a94392 device-purism-librem5dev: use new u-boot location (MR 2023)
[ci:skip-build]: already built successfully in CI
2021-03-13 02:18:36 +01:00
Clayton Craft 07193614cb device-purism-librem5: use new u-boot location (MR 2023) 2021-03-13 02:18:13 +01:00
Clayton Craft d2014e2606 temp/u-boot-librem5: upgrade to latest u-boot from purism (MR 2023)
Changes from purism:
- 2 second boot delay removed
- This includes an updated DDR memory training firmware version.
- patch to work around wifi device not being available on boot

Package changes:
- u-boot installed in location consistent with other pmaports/u-boot
  packages
- update-u-boot script added for upgrading u-boot on the device
- devkit u-boot split off into a sep. subpackage
2021-03-13 02:18:09 +01:00
Alexey Min 27c3de6c82 cross/busybox-static-*: upgrade to 1.33.0-r4 2021-03-12 16:24:18 +03:00
Bart Ribbers 5c11c04856 kde/peruse: add missing dep on okular-common-qml (MR 2016) 2021-03-12 10:26:14 +01:00
Clayton Craft 17720fa870 gitlab-ci: disable ccache when building changed aports (MR 2020)
This disables ccache in the CI when building packages. I think ccache is
not necessary since the CI will never build a package twice in the same
pipeline, and ccache dir is not preserved for use between pipelines.
There is a real time cost to compiling with ccache enabled on the
initial compile (compressing objects for cache, etc), and some testing
with building the linux-purism-librem5 kernel in the CI shows this cost
can be significant... ~160 minutes when ccache is enabled vs ~105
minutes when it is disabled with this patch.

kernel compile CI runs referenced:
https://gitlab.com/postmarketOS/pmaports/-/jobs/1087602863
https://gitlab.com/postmarketOS/pmaports/-/jobs/1087956999

Some testing on my laptop using osk-sdl with and without ccache for
initial compile:

ccache disabled:
$ rm _build -r && CCACHE_DISABLE=1 meson _build >/dev/null && CCACHE_DISABLE=1 time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
7.76
$ rm _build -r && CCACHE_DISABLE=1 meson _build >/dev/null && CCACHE_DISABLE=1 time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
7.89
$ rm _build -r && CCACHE_DISABLE=1 meson _build >/dev/null && CCACHE_DISABLE=1 time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
7.71

ccache enabled:
$ rm /tmp/ccache _build -r && CCACHE_DIR=/tmp/ccache meson _build >/dev/null&& CCACHE_DIR=/tmp/ccache time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
8.62
$ rm /tmp/ccache _build -r && CCACHE_DIR=/tmp/ccache meson _build >/dev/null&& CCACHE_DIR=/tmp/ccache time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
8.46
$ rm /tmp/ccache _build -r && CCACHE_DIR=/tmp/ccache meson _build >/dev/null&& CCACHE_DIR=/tmp/ccache time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
8.54
2021-03-11 19:40:43 +01:00
Alexander Brzoska 8b70a0c012 main/qtwebbrowser: add missing dependencies (MR 2012)
`qt5-qtquickcontrols` and `qt5-qtgraphicaleffects` are needed, else
qtwebbrowser shows a blackscreen on start.

[ci:skip-build]: already built successfully in CI
2021-03-07 21:14:52 +01:00
Clayton Craft 6ed0879afe device-purism-librem5: upgrade to 1.15 (MR 2009)
This includes a new librem5-base config release, the most notable change
being some mic echo cancellation changes in pulseaudio config.

Upstream changelog:
https://source.puri.sm/Librem5/librem5-base/-/commit/351958ffc0ff21e31647d69e23e47aefdf2ec396

Note: I did not include the upstream change to disable wifi PM. I don't
find the performance to be so bad that it's worth giving up some battery
efficiency for.

Note: the librem5-base thing from purism has a new naming/versioning
format, which is in line with some of their other projects, so the
APKBUILD has been updated to support that too
2021-03-07 20:15:28 +01:00
Bart Ribbers 4c470a4c69 main/pure-maps: drop, upstreamed to Alpine 2021-03-07 17:42:35 +01:00
Bart Ribbers 886a03f0e0 main/mapbox-gl-native: drop, upstreamed to Alpine 2021-03-07 17:42:19 +01:00
Bart Ribbers ded44ff3a1 main/mapbox-gl-qml: drop, upstreamed to Alpine 2021-03-07 17:42:04 +01:00
Minecrell 157dd0aa75 cross/gcc-*: upgrade to 10.2.1_pre1-r4 2021-03-07 16:34:33 +01:00
Joel Selvaraj 14ecfb8ead device/testing/soc-qcom-sdm845: add ALSA UCM subpackage (MR 1962)
Based on https://gitlab.com/sdm845-mainline/alsa-ucm-conf
[ci:skip-build]: already built successfully in CI
2021-03-06 16:14:34 +01:00
Joel Selvaraj 140a3b528b device/testing/linux-xiaomi-beryllium*: remove (MR 1962)
Downstream kernel is outdated and no longer maintained by us. Thus,
removed. The linux-xiaomi-beryllium-mainline kernel is removed because
its superseded by the common sdm845 kernel and is no longer needed.
2021-03-06 16:12:07 +01:00
Joel Selvaraj 0f7c330712 xiaomi-beryllium: switch kernel to qcom-sdm845 (MR 1962)
Remove downstream kernel and use the common linux-postmarketos-qcom-sdm845
kernel.
2021-03-06 16:09:24 +01:00
Joel Selvaraj 524287186d firmware-xiaomi-beryllium: update to different source (MR 1962) 2021-03-06 16:09:19 +01:00
Mark Hargreaves 241f34f4fe xiaomi-clover: new device (Xiaomi Mi Pad 4) (MR 2003)
[ci:skip-build] Already built on CI
2021-03-05 16:48:25 +03:00
Mark Hargreaves a690b29510 linux-postmarketos-qcom-sdm660: update to 5.10-rc6 (MR 2003) 2021-03-04 21:54:16 +03:00
Bart Ribbers af512dbfca main/postmarketos-ui-plasma-mobile: configure the keyboard to be less huge (MR 2007) 2021-03-04 11:24:15 +01:00
Bart Ribbers 67316c2088 main/postmarketos-ui-plasma-mobile: add hfd-service to dependencies (MR 2006)
This will allow tactile feedback on key presses when using the Maliit
keyboard
2021-03-04 00:04:36 -08:00
InsanePrawnandCaleb Connolly 2fdbd70d48 soc-qcom-sdm845: add udev rule to tag haptics motor for feedbackd (MR 2002)
Co-authored-by: Caleb Connolly <caleb@connolly.tech>
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-03-03 15:43:09 +03:00
Oliver Smith f23e6117bb main/mobile-config-firefox: upgrade to 2.0.1 (MR 2004) 2021-03-03 15:21:47 +03:00
Alexey Min a857a69c87 linux-postmarketos-qcom-msm8916: add support for zram (MR 2005) 2021-03-03 12:32:52 +03:00
Duje Mihanovic 2978b95c1f lg-vee3e: new device (MR 1977)
[ci:skip-build]: already built successfully in CI
2021-03-02 23:34:31 +01:00
Oliver Smith fcc2ef8f86 temp/u-boot-librem5: use pmb:cross-native (MR 1988)
Let pmbootstrap build the package in the native chroot. This is
important for the v21.03 branch, which needs to ship its own
cross-embedded toolchain, as the one from Alpine is only in testing and
therefore not available in the Alpine v3.13 branch that pmOS v21.03 is
based on. By using the native branch, it is enough to build the
cross-embedded toolchain for x86_64, and we can avoid qemu related
errors when attempting to build it for arm architectures.

As a nice benefit, this makes compilation of the package faster on edge,
too.

[ci:skip-build]: already built successfully in CI
2021-03-02 23:22:46 +01:00
Oliver Smith 989444eb05 cross/musl-*: upgrade to 1.2.2-r2 2021-03-02 23:00:06 +01:00
Edwin 079f4f59f9 xiaomi-dior: new device (Xiaomi Redmi Note 4G) (MR 1992)
Add support for xiaomi-dior. Fix framebuffer bugs, now fbcon
and X server works.

[ci:skip-build] Already built in CI
2021-03-02 14:56:47 +03:00
Clayton Craft 184bc634e6 temp/upower: fix led detection on the librem5 (MR 1986)
The previous implementation of this caused upower to select a thing
called 'flash_strobe' in the L5, which doesn't operate like a
flashlight. This changes the detection logic to look at the suffix, on
the pinephone the device ends in ':flash', and on the L5 it ends in
':torch'.

fixed #967
2021-03-02 11:34:45 +03:00
Clayton Craft 81e374c3c6 temp/upower: add patch for supporting usb chargers (MR 1986)
This patch is in purism's fork and it removes messages like this when
starting upower on the librem5 by properly detecting/setting the type:

    TI:15:11:12     did not recognise USB path /sys/devices/platform/soc@0/30800000.bus/30a20000.i2c/i2c-0/0-003f/power_supply/tps6598x-source-psy-0-003f, please report
    ...
    TI:15:11:12     did not recognise USB path /sys/devices/platform/soc@0/30800000.bus/30a50000.i2c/i2c-3/3-006a/power_supply/bq25890-charger, please report
2021-03-02 11:34:42 +03:00
Bart Ribbers acde488d3c main/mapbox-gl-qml: upgrade to 1.7.6 (MR 2001) 2021-03-01 22:29:22 +01:00
Caleb Connolly 41bd4c2373 linux-postmarketos-qcom-sdm845: fix LOCALVERSION (MR 2000)
[ci:skip-build] Already built on CI
2021-03-01 10:33:02 +03:00
Clayton Craft 3ed8a1b07c device-purism-librem5: add smartcard reader support (MR 1993)
This adds a new subpackage that installs dependencies and configures the
smartcard reader on the librem 5. Some setup is required before this
will work (e.g. upgrading reader firmware), the L5 wiki page will have
this information.

The pcsc init script was forked into this package to allow for powering
on the reader *before* the service started. Doing this in a separate
init script would have caused the reader to power on regardless of
whether the pcsc service was set to start, which is not desirable since
it should *only* be powered on when pcsc is starting
2021-02-28 10:50:36 +03:00
Oliver Smith bf1e0b82bc main/postmarketos-android-recovery-installer: upgrade to 1.0.4 (MR 1999)
Fix crash if /etc/skel is missing.
2021-02-28 06:57:22 +03:00
Iskren Chernev d8ac6e9a35 oneplus-billie2: new device (OnePlus Nord N100) (MR 1989)
So far the debug-shell in initfs works. The device uses dynamic
partitions, so that has to be figured out to get a proper rootfs.

One thing to look out for is that mount_subpartitions task in initfs
hangs, so pmos_boot=sth was added to kernel cmdline to skip it. This is
also related to dynamic partitions, anyway.

[ci:skip-build] Already built on CI
2021-02-28 05:47:34 +03:00
Clayton Craft f65516e2cf community/linux-purism-librem5: upgrade to 5.11.1pureos1 (MR 1987)
Changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/42b617ee93593724aa4f57cf26e98c12d5c73829

[ci:skip-build]: doesn't finish within 3 hours (can somebody fix this?)
2021-02-27 23:30:05 +01:00
Bart Ribbers 66bd18c49b main/pure-maps: rebuild against mapbox-gl-qml (MR 1997) 2021-02-27 19:25:14 +01:00
Bart Ribbers bddcea0851 main/mapbox-gl-qml: switch to CMake (MR 1997) 2021-02-27 19:25:14 +01:00
Bart Ribbers 00fd796a2e main/mapbox-gl-native: upgrade to 1.6.0 (MR 1997)
Fix previous version not building anymore, as seen on v21.03 branch:
https://builds.sr.ht/~postmarketos/job/433826
2021-02-27 19:25:14 +01:00
Caleb Connolly 93f29f1fd9 linux-postmarketos-qcom-sdm845: upgrade to 5.11 (MR 1990)
Update to the 5.11.0 kernel release.

This also fixes the previous build warnings.

[ci:skip-build] Already built fine on CI.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2021-02-27 09:48:53 +03:00
Clayton Craft 8d05efae6b linux-postmarketos-allwinner: add patch enabling WoWLAN (MR 1955)
[ci:skip-build] Already built successfully in CI
2021-02-26 17:08:57 -08:00
Clayton Craft a2524184ed linux-postmarketos-allwinner: upgrade to 5.11.0 (MR 1955)
Upgrades to megi's 5.11 orange-pi-5.11-20210218-0749 tag.

All patches were rebased.
2021-02-26 17:08:53 -08:00
Maarten van Gompel f25b49af0b main/postmarketos-ui-sxmo: upgrade to 1.3.2 (MR 1994) 2021-02-26 15:18:20 -08:00
Maarten van Gompel 84eb92419b sxmo/sxmo-dwm: upgrade to 6.2.11 (MR 1994) 2021-02-26 15:18:17 -08:00
Maarten van Gompel 924f76597c sxmo/sxmo-utils: upgrade to 1.3.2 (MR 1994) 2021-02-26 15:18:05 -08:00
Philip Scherer 187aceea77 lg-d855: switch arch to armv7 (MR 1991)
Contiributes to: #599

[ci:skip-build] Already built on CI
2021-02-26 17:08:38 +03:00
Felix Kehrer 0f561503bc samsung-manta: update arch to armv7 (MR 1984)
[ci:skip-build]: already built successfully in CI
2021-02-25 00:53:52 +01:00
Bart Ribbers bd4209177e main/qmltermwidget: fix build 2021-02-24 10:39:17 +00:00
Bart Ribbers b7c6e1634c kde/plasmatube: drop, unmaintained and doesn't work anymore
Resolves #986
2021-02-24 11:30:25 +01:00
Luca Weiss a807b01d8f device/testing/firmware-*: move firmware to /lib/firmware/postmarketos
We keep device-specific firmware in this directory and not in
/lib/firmware.
2021-02-24 02:07:46 +01:00
Alexey Andreyev 73a5cace0d temp/ofono: implement USSD indication in qmimodem driver (MR 1976)
Handle USSD QMI indication messages.
Add support for UCS2 USS Data coding scheme.
Check for User Action TLV type.

Downstream the accepted ofono patch as temporary solution.
2021-02-24 03:55:44 +03:00
Oliver Smith eceef70578 treewide: update git.sr.ht checksums (MR 1978)
Update checksums after tar upgrade on sr.ht servers.
[ci:skip-vercheck] [ci:skip-build]
2021-02-24 00:13:02 +01:00
Jonathan Bakker 7a82f5d19a CODEOWNERS: Add xc-racer99 to main/mesa-pvr-dri-classic (MR 1868)
I'd like to be notified if anyone makes a change to this package

[ci:skip-build]: already built successfully in CI
2021-02-23 22:10:39 +01:00
Jonathan Bakker ea4d3837e4 main/mesa-pvr-dri-classic: new aport (MR 1868)
Based on the Alpine mesa APKBUILD, but only the DRI driver
is packaged.  It conflicts with the DRI gallium driver as
they both provide ARM dri drivers.  It depends on the main
Mesa packages.
2021-02-23 22:10:17 +01:00
Jonathan Bakker f247bf1e2a non-free/sgx-ddk-um: new aport (MR 1868)
From TI, they must not be redistributed in a modified form. They
are built against GLIBC 2.29

To be functional, they need to be paired with a special build
of Mesa.  There are subpackages for each different soc and only
one soc can be installed at a time.  The Exynos S5PV210 subpackage
uses the same SGX540-120 as the ti443x blobs, but needs a binary
edit to be loaded.  Due to the license restrictions, it must be
done in a post-install script.
2021-02-23 22:10:12 +01:00
Jonathan Bakker 1018a95ddd CI: Add non-free as an expected directory APKBUILDs (MR 1868)
We may wish to distribute some files that are explicitly
non-free, and it makes sense to place them in a separate
non-free directory rather than in main.
2021-02-23 22:10:07 +01:00
Johannes Marbach c334997339 main/gpodder-adaptive: upgrade to 3.10.17_git20210220 (MR 1975)
The work on an adaptive gpodder UI by tpikonen has continued
and is now available in the official gpodder repo as a dedicated
branch. This commit updates the package to the latest current
version of the branch.
2021-02-23 20:54:03 +01:00
Bart Ribbers caa3b3197b kde/plasma-settings: drop, upstreamed to Alpine 2021-02-23 15:38:03 +01:00
Bart Ribbers b6d5d76498 kde/spacebar: drop, upstreamed to Alpine 2021-02-23 15:38:01 +01:00
Bart Ribbers f1f6146626 kde/alligator: drop, upstreamed to Alpine 2021-02-23 15:37:55 +01:00
Bart Ribbers 7acf6895a4 kde/plasma-phonebook: drop, upstreamed to Alpine 2021-02-23 15:37:37 +01:00
Dylan Van Assche 8330d2a552 main/postmarketos-base: add dependency on wireless-regdb (MR 1974)
CRDA in the kernel requires a regulatory database to be available
to configure the WiFi card correctly following the regulations in
each possible environment.
2021-02-23 14:54:49 +01:00
Oliver Smith 2d5ad32455 treewide: adjust to broadcom Wi-Fi firmware move (MR 1971)
Let all devices, which depend on linux-firmware-brcm depend on
linux-firmware-cypress too (like done in MR 1969 for lg-hammerhead).

Related: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=060ad8b3d505e2ff8878d11a81da3532b983cd45

[ci:skip-build] Already built on CI
2021-02-22 19:00:50 -08:00
Gianluca Boiano 8cb9d39b8b linux-xiaomi-vince: upgrade to 4.9.257 (MR 1973)
[ci:skip-build] already built on CI
2021-02-22 17:04:58 +03:00
Clayton Craft 5023b9c433 device-pine64-pinephone: add gpio_vibra module to initfs (MR 1870)
This is needed to enable osk-sdl's haptic feedback when typing
2021-02-22 15:40:48 +03:00
Clayton Craft 4243b95bd0 main/postmarketos-mkinitfs: refactor osk-sdl config/running (MR 1870)
- Simplified logic for setup/running osk-sdl in initfs
- include libGLESv2 when running osk-sdl w/ mesa
- depends on osk-sdl >=0.62
2021-02-22 15:40:44 +03:00
Clayton Craft 33a565156a main/osk-sdl: upgrade to 0.63 (MR 1870) 2021-02-22 15:40:40 +03:00
Uclydde e512666c65 motorola-ali: revert arch to armv7 (MR 1956)
[ci:skip-build]: already built successfully in CI
2021-02-21 21:48:23 +01:00
Antoine Fontaine 94476a7482 main/anbox-image: upgrade to FDroid 1.11 and remove obsolete patch (MR 1972)
The patch can be removed as a proper fix has been found.
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1798 and
https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2005.

[ci:skip-build]: already built successfully in CI
2021-02-21 20:57:16 +01:00
Oliver Smith cf743791e5 channels.cfg: add v21.03 as stable-next 2021-02-21 14:56:28 +01:00
Clayton Craft fa786b02a3 temp/wys: fork from alpine to build fixes for Librem5 call audio (MR 1960)
This has upstreamed fixes for call audio on the L5, but upstream hasn't
made a release yet. In the meantime, this is needed for calls to work on
5.11.0 and later kernels

[ci:skip-build]: won't finish in time
2021-02-21 13:54:43 +01:00
Clayton Craft 5943517ffe device-purism-librem5: upgrade to 1.13 (MR 1960)
Main change is librem5-base v35, upstream changelog:
https://source.puri.sm/Librem5/librem5-base/-/commit/89c9c55defcd26353fa63de67a10d4695f6bdf3b

Removed a dtb in the deviceinfo that is no longer generated on newer
kernels
2021-02-21 13:54:22 +01:00
Clayton Craft 9ebdbd023c linux-purism-librem5: upgrade to 5.11.0pureos1 (MR 1960)
Purism has changed the kernel name they used, so that's reflected in the
apkbuild.

This kernel includes patches for renaming the audio device, and requires
a corresponding upgrade to the device package to bring in the new ucm2
config changes for that.
2021-02-21 13:54:18 +01:00
Pavel Frolov 625a71bf25 lg-hammerhead: add linux-firmware-cypress package dependency (MR 1969)
Cypress bought the brcm WiFi stuff from broadcom so they want their firmware to
be called cyfmac instead of brcmfmac
a lot of brcmfmac firmware is now symlinked to cyfmac
2021-02-21 13:43:00 +01:00
Martijn Braam f099d73fc8 main/postmarketos-base: update motd for the cheatsheet (MR 1961) 2021-02-21 11:47:07 +01:00
Newbyte af5baee543 main/pure-maps: upgrade to 2.6.0 (MR 1970) 2021-02-21 08:08:45 +03:00
Newbyte 7b05eb6fce main/postmarketos-ui-weston: switch to tinydm (MR 1968)
Tested and works in QEMU.
2021-02-20 16:56:52 -08:00
Caleb Connolly d3bde7f838 device/testing/linux-stable-sdm845: remove unused package (MR 1967)
This package is no longer used, as the OnePlus 6 will now use the
linux-postmarketos-qcom-sdm845 package.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2021-02-20 00:39:20 +03:00
Caleb Connolly de7a6777b4 device/testing/device-oneplus-fajita: use shared sdm845 kernel (MR 1967)
Switch to the linux-postmarketos-qcom-sdm845 common kernel.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2021-02-20 00:39:20 +03:00
Caleb Connolly cc4f72f35a device/testing/device-oneplus-enchilada: use shared sdm845 kernel (MR 1967)
Switch to the linux-postmarketos-qcom-sdm845 common kernel.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2021-02-20 00:39:18 +03:00
Oliver Smith 6e7b75abb5 main/postmarketos-base: add dummy post-upgrade (MR 1964)
Add post-upgrade file with a warning, so we don't symlink it to the
post-install script.
[ci:skip-vercheck]: no need to rebuild the package

Related: build.postmarketos.org#85
2021-02-17 17:49:58 -08:00
Alexey AndreyevandJoey Hewitt f7f7716efa temp/ofono: implement DTMF in qmimodem driver (MR 1922)
The TLVs are documented in GobiAPI. I pass 0xff for the call ID, as the
stock RIL appears to always do. I would guess it means "current foreground
call."

The call ID is returned in TLV 0x10, but I didn't implement parsing of
that.

Co-authored-by: Joey Hewitt <joey@joeyhewitt.com>
Acked-by: Alexey Andreyev <aa13q@ya.ru>
2021-02-18 01:07:26 +03:00
Minecrell 55503f0e52 samsung-a3lte: move from testing to community (MR 1963)
There is already samsung-a3ulte in community, and the devices actually
share the same kernel, device tree, and basically everything except
firmware. We just need separate firmware packages because Samsung uses
different secure boot certificates on a3lte and a3ulte.

They also share the same wiki page which suggests installation using
the pre-built images now, so having pre-built images only for
samsung-a3ulte is quite confusing for users.

The situation is similar as for samsung-a5ulte and samsung-a5lte
which also are both in community already.
2021-02-17 12:05:08 +01:00
Timon Baetz f4d9d832e2 samsung-i9100: set deviceinfo_mesa_driver to get fast osk-sdl (MR 1957) 2021-02-16 18:25:09 -08:00
Joel Selvaraj 040ce14a22 main/linux-postmarketos-qcom-sdm845: fix CONFIG_LOCALVERSION (MR 1958)
Fixes mkinitfs failure due to mismatch between APKBUILD and .config

[ci:skip-build] Already built on CI
2021-02-16 23:28:48 +03:00
Bart Ribbers d1cba29182 temp/plasma*: drop, newer version in Alpine repos 2021-02-16 20:04:47 +01:00
Joel Selvaraj e7c0fde43f main/linux-postmarketos-qcom-sdm845: new aport (MR 1954)
Add main/linux-postmarketos-qcom-sdm845 as shared mainline kernel
for all SDM845 devices.

[ci:skip-build]: already took hours on CI
2021-02-16 10:22:20 +01:00
Svyatoslav 16e5be302a asus-tf201: new device (ASUS Transformer Prime) (MR 1883)
[ci:skip-build]: already built successfully in CI
2021-02-16 00:14:56 +01:00
Ion Agorria 21f535583a main/linux-postmarketos-grate: upgrade to 5.11_rc5 (MR 1883)
This updates the current commit and refactor APKBUILD to
more modern way of writing downstream kernels. Also move to main/ to fit
other linux-postmarketos-* kernels.
2021-02-16 00:14:53 +01:00
Newbyte 98afa750e7 main/pure-maps: upgrade to 2.5.0 (MR 1926)
[ci:skip-build]: already built successfully in CI
2021-02-15 23:58:40 +01:00
Minecrell 38fea40bcc bq-paella-downstream: remove QEMU / fixup nonfree-firmware pkgdesc (MR 1912)
Not sure why "qemu" is listed in the depends of bq-paella-downstream,
that does not really make sense. Also fixup the pkgdesc of the
nonfree-firmware subpackage, the modem works somewhat now.

[ci:skip-build]: already built successfully in CI
2021-02-15 23:28:29 +01:00
Minecrell 425340a353 bq-picmt: Rename to "bq-paella-downstream" (MR 1912)
The "bq-picmt" device port is actually for the same device as the
"bq-paella" device package in community, just with the downstream
kernel. This is useful occasionally for testing.

However, the name applies that this device package should be used
on the BQ variant of the BQ Aquaris X5 (picmt) and the mainline
package should be used on the Cyanogen variant (paella). Actually
both packages work on both variants since the hardware is the same.

To make that clear, rename "bq-picmt" to "bq-paella-downstream".
2021-02-15 23:24:06 +01:00
Minecrell 0ff83cbedc bq-picmt: move to unmaintained (MR 1912)
Right now the "bq-picmt" device port is quite confusing.
It's actually for the same device as "bq-paella", which is in community
and uses the mainline kernel, except that it uses the downstream kernel.

Having the downstream kernel packaged is useful for testing sometimes,
but otherwise the device package is completely unsupported.
The mainline port works much better. The downstream port should only
be used if you know what you are doing (e.g. because you want to test
if something is working on downstream but not mainline) and therefore
it should not show up in "pmbootstrap init" by default.

Move the device package to unmaintained to implement that.
Also, add an "# Unmaintained: ..." comment that will be displayed
in "pmbootstrap init" if the device is selected anyway.
2021-02-15 23:24:06 +01:00
Minecrell b7d90580b3 Introduce support for "unmaintained" devices (MR 1912)
Unmaintained devices are device packages that:
  - Are known to be broken in some way without an active maintainer
    who can investigate how to fix it, or
  - Have not received any updates for a very long time, or
  - Are discouraged from using because they are just intended for testing.
    An example for this are ports using the downstream kernel for devices
    which have a mainline port that is working quite well.

Unmaintained devices are still built by bpo (otherwise it would not make
sense to keep them), but they do not show up in "pmbootstrap init".
However, it is possible to manually select them by entering the name.
pmbootstrap will warn in that case.

Unmaintained packages should have a # Unmaintained: <reason> comment
in the APKBUILD, this comment is displayed in "pmbootstrap init"
so that the user knows why the device should not be used unless they
know what they are doing.
2021-02-15 23:24:06 +01:00
Minecrell f2acd86a08 CI: Check that devices in main/community have necessary maintainers (MR 1912)
Devices in
  - main should have >= 2 maintainers
  - community should have at least one maintainer

Use the new functions in pmbootstrap to ensure that.
2021-02-15 23:24:01 +01:00
Timon Baetz 1d562fc44b linux-postmarketos-exynos4: add kernel patches to fix charging (MR 1766)
Also update to latest stable kernel and remove patch that got
integrated upstream.

[ci:skip-build] Already built on CI
2021-02-16 00:03:30 +03:00
Newbyte 7d697fef05 device-raspberry-pi{,0,3,4}: don't move dtbs (MR 1944)
See https://git.alpinelinux.org/aports/commit/main/linux-rpi/APKBUILD?id=fb542395e33ab9eaab13d5cf40029173240c7836

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/965
2021-02-15 23:31:31 +03:00
arpio c5692dfc71 samsung-a20: new device (Galaxy A20) (MR 1880) 2021-02-15 20:08:11 +01:00
Sebastià Serra Rigo 962a64697d CI: Change test file names to remove redundant aports. (MR 1938)
In this git repository, everything is about aports, this distinction was only
useful back in the day when pmbootstrap and pmaports were in the same git
repository.
2021-02-13 22:02:51 +01:00
Sebastià Serra Rigo e86ac9a493 CI: Extracted args pytest fixture to a different file (MR 1938) 2021-02-13 22:02:51 +01:00
Sebastià Serra Rigo 6a31acecfe CI: Moved test outside the file containing all pmaports tests (MR 1938) 2021-02-13 22:02:51 +01:00
Maarten van Gompel 6ddca124a1 sxmo/sxmo-utils: upgrade to 1.3.1 (MR 1953) 2021-02-13 23:36:58 +03:00
Maarten van Gompel 7c62928fd5 main/postmarketos-ui-sxmo: add post-upgrade and pre-deinstall hooks (MR 1952) 2021-02-13 23:27:27 +03:00
Oliver Smith e4820e1ed2 main/postmarketos-ui-phosh: fix pipewire startup (MR 1951)
Override pipewire.desktop with a different X-GNOME-Autostart-Phase, so
Phosh can start it properly.
2021-02-13 08:51:15 +01:00
Martijn Braam 3ce53843f0 device/pine64-pinephone: fix pogopin i2c bus (MR 1950)
The i2c bus for the pogo pins was locked up because the level shifter is
powered by the regulator used for the cameras. This enables that
specific regular for the gpios the i2c bus is on so the pull-ups work
when reading and writing from the pogo pins.

[ci:skip-build] Already built in CI
2021-02-12 13:03:53 -08:00
Bart Ribbers ff8d7458ef main/postmarketos-ondev: drop, upstreamed to Alpine 2021-02-12 16:36:59 +01:00
Bart Ribbers b713582d98 main/calamares-extensions: drop, upstreamed to Alpine 2021-02-12 16:36:43 +01:00
Bart Ribbers 99b8c5b1e5 pine64-pinetab: enable Kirigami lowpower mode (MR 1928) 2021-02-11 09:50:05 +01:00
Bart Ribbers e2cbd9e4ed pine64-pinephone: enable Kirigami lowpower mode (MR 1928)
Should increase performance a bit of Kirigami applications by disabling
some fancy stuff like shadows
2021-02-11 09:50:05 +01:00
Dylan Van Assche 6a8a62c327 temp/gnome-settings-daemon: remove idle notification before suspend (MR 1937)
GNOME settings daemon notifies the user that the device will
suspend soon through a notification.
However, this triggers the notification LED which stays on during
suspend, causing unnecessary power consumption.
2021-02-11 09:17:24 +01:00
Martijn Braam 6fe006aa52 device-pine64-pinephone: Enable jack detection (MR 1943)
Enable headset jack detection and automatic switching in the UCM
2021-02-11 09:15:10 +01:00
linuxgorl 49a45c5567 motorola-surnia: add firmware for wi-fi/bluetooth, video and modem (MR 1947) 2021-02-11 09:13:08 +01:00
Maarten van Gompel 652b3b85e4 sxmo/sxmo-xdm-config: upgrade to 0.2.2 (MR 1948) 2021-02-10 23:11:02 -08:00
BO41 37893a4bda huawei-kiwi: add touchscreen driver, enable sensors, enable GPU firmware (rename panel driver) (MR 1946)
[ci:skip-build] Already built in CI
2021-02-10 23:05:19 -08:00
Bart Ribbers 8ae5611a3e temp/plasma-workspace: rebuild on x86 against libgps
Plasma 5.20.90 was being built while a libgps upgrade happened. It seems
that even though the package had already been built for every arch, it
had not for x86 yet and thus our plasma-workspace is still depending on
the older package and fails to install because it isn't available
anymore

Just bump the pkgrel so it now gets correctly build against libgps.so.27
2021-02-10 12:13:16 +01:00
Bart Ribbers c0d3428ad6 main/postmarketos-ui-plasma-bigscreen: replace plasma-mycroft for mycroft-plasmoid
The dependency got renamed in Alpine Linux
2021-02-10 12:01:27 +01:00
Oliver Smith d49e0a8628 main/hello-world: bump pkgrel
Quick workaround for bug build.postmarketos.org#79.
2021-02-10 10:59:11 +01:00
Oliver Smith f28ffc0ec5 main/postmarketos-ondev: upgrade to 0.4.1 (MR 1933)
Fix SD to eMMC dialog showing up after flashing to eMMC.
2021-02-10 00:11:30 +01:00
Oliver Smith 4a6f4594da cross/busybox-static-*: upgrade to 1.33.0-r2 2021-02-09 23:26:53 +01:00
Oliver Smith f7a938b1a7 main/calamares-extensions: bump pkgrel (MR 1945)
Fix missing depend(s): so:libcalamares.so.3.2.35.1
2021-02-09 23:15:13 +01:00
Luca Weiss c57aa7b299 device/*/linux-*: enable CONFIG_TMPFS_POSIX_ACL (MR 1939)
This is required by some software, e.g. bluez/gnome to set some ACLs on
/dev/rfkill (see #904). While probably nobody will notice on the
downstream kernels (as we don't have any proper software there anyways)
it's definitely needed on mainline-ish kernels. Surprisingly only one
kernel has broken by enabling this option (linux-sony-tulip) which I've
patched up.

linux-postmarketos-qcom-sdm660 did not break by enabling this option,
but required linux4.17-gcc10-extern_YYLOC_global_declaration.patch to
build again, so this was fixed too.

[ci:skip-build] [ci:ignore-count]
2021-02-09 21:54:35 +01:00
Bart Ribbers e968923155 temp/calamares: drop, upstream is available again (MR 1942) 2021-02-09 10:30:35 +01:00
Minecrell d994993030 modem/q6voiced: rebuild against libtinyalsa.so.2 (MR 1941)
Fix "Could not find dependency 'so:libtinyalsa.so.1' in any aports folder or APKINDEX."
2021-02-09 09:53:03 +01:00
Miles Alan ed35f094e7 main/postmarketos-ui-sxmo: don't recommend installing foxtrotgps (MR 1940)
Fixes installs with pmbootstrap using default recommends. Foxtrotgps has been
removed from alpine since it depends on libglade which will soon be deprecated
from alpine.
2021-02-09 09:48:21 +01:00
Maarten van Gompel cfd23ff202 sxmo/sxmo-xdm-config: openrc post-install moved to main/postmarketos-ui-sxmo (MR 1930) 2021-02-08 01:26:05 +01:00
Maarten van Gompel 6e6bc2e1ea postmarketos-ui-sxmo: Upgrade to 1.3.0 (MR 1930) 2021-02-08 01:26:05 +01:00
Maarten van Gompel 96a6e6817c sxmo/sxmo-utils: upgrade to 1.3.0 (MR 1930) 2021-02-08 01:26:05 +01:00
Maarten van Gompel 68feafaea3 sxmo/sxmo-dmenu: upgrade to 5.0.8 (MR 1930) 2021-02-08 01:26:00 +01:00
Newbyte 1c2b90df6f raspberry-pi{,0,3,4}: rc-service add -> rc-update add (MR 1936)
rc-service add does not work, so change it to rc-update add
2021-02-07 23:42:25 +01:00
Bart Ribbers 320ebcd2c8 main/postmarketos-ui-phosh: enable on x86 (MR 1934)
The original issue which caused us to block it has long-since been
resolved

[ci:skip-vercheck] Enabling an architecture, no pkgrel bump needed
2021-02-07 19:27:55 +01:00
Michal 89126941c5 linux-xiaomi-begonia: update kconfig and upgrade to 4.14.218 (MR 1925) 2021-02-07 10:17:02 +01:00
Clayton Craft 4e2766552c linux-postmarketos-allwinner: upgrade to 5.10.12 (MR 1916)
Upstream changelog:
https://github.com/megous/linux/releases/tag/orange-pi-5.10-20210130-2109
2021-02-05 12:15:51 +01:00
Johannes Marbach 88e1d0d0d3 main/gpodder: Add gpodder (MR 1822) 2021-02-05 03:10:34 +01:00
Alexey Min 00e0036ff2 pine64-pinetab: enable sd to emmc installation (MR 1927)
This enables to build ondev installer image
with an ability to install to internal eMMC
with `pmbootstrap install --ondev --sdcard=...`.
2021-02-04 23:48:30 +03:00
Clayton Craft 361114359f device-purism-librem5: change default dtb when board_rev is not set (MR 1920)
According to Purism, the imx8mq-librem5.dtb alias is going away soon,
and we should be using the -r2 dtb. The -r2 dtb (which represents
Birch/Chestnut L5 variants) is most compatible, it'll boot on later
variants. dtbs for later L5 devices won't work on older devices.
2021-02-03 15:40:46 -08:00
Clayton Craft 8c97c2d27f main/uuu: drop package (MR 1919)
uuu is in Alpine now (nxp-mfgtools-uuu), so this isn't needed.

This should not be merged until this is:
https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2021
2021-02-03 09:05:50 -08:00
Bart Ribbers ff000af8a8 temp/plasma-workspace: armv7: remove all ecm_find_qmlmodule
Seems there are more places where ecm_find_qmlmodule is used
To fix the build from failing on armv7 we should disable them all

[ci:skip-build]: don't try to build all depends, takes too long
[ci:skip-vercheck]: unblocking armv7 build, no need to bump pkgrel
2021-02-03 16:34:41 +01:00
Oliver Smith bb5731fc5a temp/kwin: armv7: remove all ecm_find_qmlmodule
The build is still failing, probably because ecm_find_qmlmodule is not
only present in the main CMakeLists.txt, but also in others.

$ git grep ecm_find_qmlmodule
CMakeLists.txt:ecm_find_qmlmodule(QtQuick 2.3)
CMakeLists.txt:ecm_find_qmlmodule(QtQuick.Controls 1.2)
CMakeLists.txt:ecm_find_qmlmodule(QtQuick.Layouts 1.3)
CMakeLists.txt:ecm_find_qmlmodule(QtQuick.Window 2.1)
CMakeLists.txt:ecm_find_qmlmodule(QtMultimedia 5.0)
CMakeLists.txt:ecm_find_qmlmodule(org.kde.kquickcontrolsaddons 2.0)
CMakeLists.txt:ecm_find_qmlmodule(org.kde.plasma.core 2.0)
CMakeLists.txt:ecm_find_qmlmodule(org.kde.plasma.components 2.0)
kcmkwin/kwindesktop/CMakeLists.txt:ecm_find_qmlmodule(org.kde.plasma.core 2.0)
kcmkwin/kwineffects/CMakeLists.txt:ecm_find_qmlmodule(org.kde.plasma.core 2.0)

[ci:skip-build]: don't try to build all depends, takes too long
[ci:skip-vercheck]: unblocking arm build, no need to bump pkgrel
2021-02-03 15:01:24 +01:00
Bart Ribbers 0ccb5c05fd temp/*: add qmlplugindump workaround (MR 1921)
Seems we missed these when forking Plasma and now the armv7 builders are
failing on it

[ci:skip-build] Won't succeed anyway as the packages haven't been
uploaded to the repos yet, so pmbootstrap will try to build the entirety
of Plasma and fail because it takes too long
[ci:skip-vercheck] No need to bump pkgrel
2021-02-03 12:51:55 +01:00
Bart Ribbers c0f7cd679d temp/plasma-workspace: rebuild against libgps 2021-02-03 09:03:58 +01:00
jenneron f35f577011 device-tablet-x86uefi: new device (MR 1913)
This is a generic package for devices which use x86_64 CPU and 32-bit
EFI. Most distributions don't provide installation for 32-bit EFI, so
installation is not user-friendly.

Actually, these tablets deserve device-specific packages (I am going to
make ones for ASUS VivoTab Note 8 and ASUS Transformer Book T100TA), but
this one includes basic functions and can be booted on any 32-bit EFI
tablet with disabled secure boot and missing device-specific package.
I guess 32-bit EFI with 64-bit CPU is Intel's "feature" and AMD doesn't
have such stuff, so this package will be installed only on devices with
Intel CPU, unlike device-tablet-x64uefi which can be installed on any
x86_64 PC. So i decided to enable some Intel specific things (userspace
GPU stuff and alsa-ucm-conf).

I used for reference device-tablet-x64uefi and
device-trekstor-surftabduow1 packages. This package also can be used as
a reference for device-specific ones.
2021-02-02 22:56:58 -08:00
Dylan Van AsscheandOliver Smith aa77b10c44 main/postmarketos-ui-phosh: add user to feedbackd (MR 1750)
Use _pmb_groups and post-upgrade mechanisms to add the user to the
feedbackd group.

Depends: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/17489
Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
2021-02-03 00:51:44 +01:00
Bart Ribbers 3b96926f6f main/postmarketos-ui-plasma-mobile: sync kwinrc with upstream (MR 1918)
It doesn't need changing much, but screen edges actions have been
disabled there so let's do the same
Upstream: https://invent.kde.org/plasma-mobile/plasma-phone-settings/-/blob/master/etc/xdg/kwinrc

[ci:skip-build]: kde packages weren't built by bpo yet, so this won't
finish in time.
2021-02-02 23:10:06 +01:00
Clayton Craft 1c5ce5f16f temp/sdl2: fork from Alpine, upgrade to 2.0.15 (MR 1914)
2.0.15 is a development 'version' (it'll never be released), and will be
replaced by 2.0.16 when that is released. The reason for forking this
is because there are some issues that are resolved here that prevent
SDL2 from working on the Librem 5. The fixes cannot be easily
backported to 2.0.14, hence the fork and upgrade.

fixes #950
2021-02-02 17:00:26 +01:00
Newbyte d228df99c1 main/pure-maps: take ownership (MR 1917)
Bart Ribbers suggested this, so I imagine he's okay with it
2021-02-02 16:53:11 +01:00
Newbyte bf4cdd65c1 main/pure-maps: enable tests (MR 1917) 2021-02-02 16:53:11 +01:00
Alexey Min 3ff6fc578b main/postmarketos-ui-plasma-mobile: add Discover to recommends (MR 1881)
[ci:skip-build] Never succeeds in time, too many packages for CI
[ci:skip-vercheck] We need our Mauikit to have -r1 to be newer
than in Alpine repos, but the CI requires all new packages to
have -r0.
2021-02-02 14:16:15 +01:00
Alexey Min 9d9c735a0a temp/discover: build with apk backend support (MR 1881) 2021-02-02 14:13:31 +01:00
Bart Ribbers 9aa3a65a83 temp/plasma*: fork from Alpine to upgrade to 5.20.90 (MR 1881)
[ci:skip-build] Never succeeds in time
[ci:skip-vercheck] We need our Mauikit to be a rel newer than in Alpine
repos, but the CI doesn't like it

This includes a big rewrite in kwin which should increase the
performance a whole lot, and some awesome other stuff
2021-02-02 14:13:31 +01:00
Bart Ribbers 354e454c8f main/postmarketos-ui-plasma-mobile: sync default apps with KDE CE PinePhone (MR 1915)
We're going to omit Telegram though, we shouldn't recommend a walled
garden with proprietary backend like that. Besides, NeoChat (and thus
Matrix) is already in there
2021-02-01 16:26:22 -08:00
Michal 2748241a2f xiaomi-begonia: new device (Redmi Note 8 Pro) (MR 1909) 2021-01-31 14:29:09 +01:00
antony-jr 7ae5c5fb03 asus-z00l: new device (Asus Zenfone 2 Laser 720p) (MR 1633)
Runs mainline linux kernel. All features except GPS, Camera, USB OTG and
Notification LED is working fine.
2021-01-30 18:05:51 +01:00
8osm 437d1d8ebb lenovo-p1m: new device (Lenovo Vibe P1m) (MR 1905) 2021-01-29 09:44:08 +01:00
BogdanTheGeek a7efb145a9 motorola-condor: new device (MR 1887)
Added support for Motorola Moto E 2014 codename: condor
It is booting, has usb, battery, flashing needs special fastboot command for the boot partition
2021-01-29 09:41:03 +01:00
Bhushan Shah 3a82b531f5 device-purism-librem5*: drop workaround for mesa (MR 1906)
This is now no longer needed in both Plasma Mobile or Phosh. Compositor
seems to handle it correctly.
2021-01-29 09:35:38 +01:00
Dylan Van Assche 0a202c17c2 main/postmarketos-ui-kodi: switch to tinydm (MR 1908) 2021-01-29 10:14:33 +03:00
Dylan Van Assche a6bc3c30eb main/postmarketos-ui-kodi: align supported arches with Alpine (MR 1908) 2021-01-28 20:47:56 +01:00
Martijn Braam 5612316c92 pmaports.cfg: require pmbootstrap 1.29.0
Require new version, which supports the new cross-storage on-device
installer.

Related: pmbootstrap#2008
2021-01-27 16:24:14 +01:00
Oliver Smith 10fc2090d2 main/postmarketos-ondev: upgrade to 0.4.0 (MR 1820) 2021-01-27 16:12:29 +01:00
Oliver Smith 8497cd0433 main/calamares-extensions: upgrade to 1.1.0 (MR 1820) 2021-01-27 16:12:28 +01:00
Oliver Smith e4ef9fba72 main/postmarketos-base: retire devmappings service (MR 1820)
Remove devmappings service. The original purpose of this service was to
ensure that /boot is mounted properly after the initramfs passed control
to OpenRC, because the initramfs used to umount /boot before that. With
/etc/fstab alone, /boot get not get mounted with subpartitions (which we
use on Android devices), if util-linux >= 2.33 was installed (MR 115).

Nowadays, we don't umount /boot in the initramfs before passing control
to OpenRC anymore (MR 1398). So this service isn't needed anymore, and
prevented the previous pmOS_inst_boot <> pmOS_boot patch from working
correctly.
2021-01-27 16:12:27 +01:00
Oliver Smith e8c76175f6 main/postmarketos-mkinitfs: add pmOS_inst_boot (MR 1820)
Find partitions with the label "pmOS_inst_boot" too, and prefer using
them as boot partition over ones with label "pmOS_boot". (I'd use
"pmOS_install_boot", but there is a character limit in the label.)

Without this, the initramfs may choose the wrong boot partition if
postmarketOS is available once as install OS (on device installer) on
the SD card and once on the eMMC (installed).

I just had this problem with QEMU when simulating the install from SD to
eMMC use case with pmbootstrap qemu --second-storage. The pmOS initramfs
scripts would detect the previously created eMMC boot partition as the
proper one and mount it. It would boot into the right root partition,
because that already has a different label (pmOS_install instead of
pmOS_root), but because the wrong boot partition is already mounted,
during the install it would not be possible to run mkfs on it.
2021-01-27 16:12:27 +01:00
Oliver Smith c3b1ffe1df qemu-amd64: add deviceinfo_dev_internal_storage (MR 1820)
Use to simulate installation from SD to eMMC with:
$ pmbootstrap qemu --second-storage
2021-01-27 16:12:26 +01:00
Oliver Smith c48037d5ed pine64-pinephone: add deviceinfo_dev_internal_storage (MR 1820) 2021-01-27 16:11:44 +01:00
Clayton Craft 22a5e4dda5 device-purism-librem5: upgrade to 1.11 (MR 1896)
- Upgrade librem5-base to v33
- Include the haptic vibration driver in initfs for supporting osk-sdl's
  haptic feedback feature
- remove gps udev rule in pmaports in favor of using rule from
  librem5-base
- install modem audio udev rule from librem5-base
- add openrc service for putting device into 'ship mode' on shutdown
  (prevents battery from slowly draining)
- include Evergreen/r4 dtb in /boot
- Fix audio with port of ucm config to ucm2 (patch submitted upstream
  here: https://source.puri.sm/Librem5/librem5-base/-/merge_requests/214)
2021-01-27 15:36:21 +01:00
Bobby The Builder e4a4e80667 temp/u-boot-pinephone: upgrade to 2021.01_git20201228 (MR 1846)
Also add DRAM clock protection (552)
2021-01-27 15:34:29 +01:00
Bobby The Builder 515081af20 main/crust: upgrade to 0.3 (MR 1846) 2021-01-27 15:34:02 +01:00
Martijn Braam 67706609f9 device/motorola-osprey: switch to mainline (MR 1872) 2021-01-27 13:45:24 +01:00
Stefan c395f9c94b samsung-zerofltexx: new device Samsung Galaxy S6 (G920F) (MR 1865)
Port based on an unofficial LineageOS port
from https://www.los-legacy.de/17.1/zerofltexx, using kernel from https://github.com/Exynos7420/android_kernel_samsung_exynos7420/

What works:
- Kernel boots
- Display and touch input (tested with Weston)
- USB networking

Note: I removed camera support in kernel config for now, as there were related kernel crashes.
Wifi doesn't work either yet because the firmware dependencies/paths need to be fixed first.
2021-01-27 10:51:02 +01:00
Caleb Connolly 144b88ef16 device/testing/device-oneplus-fajita: override phosh scaling (MR 1861) 2021-01-27 10:45:59 +01:00
Caleb Connolly 2d0c5adc2d device/testing/device-oneplus-enchilada: override phosh scaling (MR 1861)
When installing phosh UI, add /etc/phosh/rootston.ini to increase
scaling.
2021-01-27 10:45:59 +01:00
jenneron 4b7706d562 lenovo-a6010: new device (MR 1748) 2021-01-27 10:37:37 +01:00
jenneron 407911ab1a lenovo-a6000: new device (MR 1898) 2021-01-27 10:25:07 +01:00
Bart Ribbers be2f27a342 pine64-pinephone: re-add checksums
Not sure how I missed that one, and here I was wondering why CI was
broken
2021-01-27 10:19:29 +01:00
Minecrell eb776065a5 main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc5 (MR 1871)
- Update to Linux 5.11-rc5
- Upstreamed more patches
- Fix more audio regressions without modem introduced
  by some refactoring from Qualcomm upstream

Devices:
  - asus-z00l: Add modem
  - wingtech-wt88047 (Xioami Redmi 2):
    - Add additional sharp-r69431 panel driver
  - wingtech-wt86528 (Lenovo A6010):
    - Add battery status
    - Add additional tianma-hx8394d panel driver
  - wingtech-wt86518: Initial support for Lenovo A6000
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Accelerometer
    - Battery status, charging
    - Audio
    - Modem
2021-01-27 10:09:01 +01:00
Minecrell deec2ee3b8 main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc4 (MR 1871)
- Update to Linux 5.11-rc4
- Upstreamed more patches
- Fix audio regression without modem introduced by some refactoring
  from Qualcomm upstream

Devices:
  - samsung-a2015 (a3/a5): Fix speaker on some devices
  - motorola-osprey: Add modem
2021-01-27 10:09:01 +01:00
Nikita Travkin b9af242f4f wileyfox-crackling: updates for 5.11 kernel (MR 1871)
Change modules included in initfs, remove "no charging" note for
mainline kernel.
2021-01-27 10:09:01 +01:00
jonathan 332b6b5d6e bq-paella: add truly display panel to initfs, update dtb paths (MR 1871) 2021-01-27 10:09:00 +01:00
Minecrell ac1a2e71f2 xiaomi-wt88047: add new panel modules for 5.11-rc3 (MR 1871) 2021-01-27 10:09:00 +01:00
Minecrell 7bef094fae {bq-paella,wileyfox-crackling,xiaomi-wt88047}: remove modprobe.conf (MR 1871)
The modprobe.conf is not necessary on those devices because they already
load the panel module using deviceinfo_modules_initfs. Let's skip the
modprobe.conf in that case so we don't need to add all panels in two places.
2021-01-27 10:09:00 +01:00
Minecrell 2305bc9762 main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc3 (MR 1871)
- Update to Linux 5.11-rc3
- Upstreamed more patches

Devices:
  - bq-paella:
     - Rename to longcheer-l8910 for consistency with longcheer-l8150
     - Add second panel driver for truly-otm1288a
  - wileyfox-crackling: Add better battery status and charging
  - xiaomi-wt88047: Add second panel driver for ebbg-otm1285a
  - oppo-a51f:
    - Display/Brightness
    - Touchscreen
    - Accelerometer
    - Audio
  - lg-m216: Initial support for LG K10 (K420n)
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons
    - WiFi, Bluetooth
    - Accelerometer, Magnetometer
    - Audio
    - Modem
  - motorola-osprey: Initial support for Motorola Moto G 2015
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Audio (no headphone detection)
    - Battery status
  - lenovo-a6010: Initial support for Lenovo A6010
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Accelerometer, Gyroscope, Magnetometer
    - Audio
    - Modem
  - asus-z00l: Initial support for Asus Zenfone 2 Laser (720p)
    - USB
    - Storage (eMMC)
    - Display
    - Touchscreen, Buttons
    - WiFi, Bluetooth
    - Audio
  - asus-z010d: Initial support for Asus Zenfone Max (ZC550KL)
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - Notification LED
    - WiFi, Bluetooth
    - Accelerometer, Magnetometer
    - Audio
    - Modem
2021-01-27 10:09:00 +01:00
Bart Ribbers 71c3d3cc90 pine64-pinephone: change permissions of flashlight so PlaMo can toggle it (MR 1894)
A hack shamelessly stolen from Manjaro. Plasma Mobile runs in the user
session and needs direct access to the sys entries of the flashlight to
be able to toggle it in the GUI

[skip ci] Broken, thinks there is an unreferenced file while there is
not
2021-01-27 10:03:33 +01:00
Luca Weiss 8bcf432326 main/ofono-phonesim: new aport (MR 1900) 2021-01-27 09:30:27 +01:00
Oliver Smith 4b8f37e46e pine64-pinephone: move shelli alsa cfg to subpkg (MR 1902)
Move the shelli-specific alsa config from MR 1741 into a subpackage that
only gets installed together with shelli.

With the config installed, programs using alsa instead of pulseaudio,
can't be controlled through the volume setting in Phosh anymore (and
probably other UIs too). Shelli doesn't use pulseaudio.

Change the path of the config file like in MR 1877, so it's easier to
override it if necessary.

While at it, improve the APKBUILD slightly by fixing the install_if of
the phosh subpkg (should depend on =$pkgver-r$pkgrel, see APKBUILD
reference), and fix long lines.
2021-01-27 09:29:03 +01:00
Clayton Craft afe338cee4 linux-purism-librem5: upgrade to 5.9.16+librem5.2 (MR 1904)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/ef903bb16a81ee6af7f87f7903bea48cc9126600
2021-01-27 09:26:18 +01:00
Oliver Smith 1d67df18b2 temp/gtk+3.0: upgrade to 9999_git20210108 (MR 1903)
Fix about dialogs not being adaptive and all other changes by Purism,
which are the reason why we use the fork in the first place. The patches
didn't get applied in the previous version we had packaged in
postmarketOS, because the patches are in debian/patches now.

Remove check-version.py, it's in the source tree now.
2021-01-27 09:24:55 +01:00
Bart Ribbers 79532aac89 kde/spacebar: upgrade to 0_git20210122 (MR 1891) 2021-01-27 09:14:19 +03:00
Oliver Smith 5b98e52851 temp/dbus-elogind: remove (unused)
Related: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/668#note_453360249
Related: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/668#note_494515849
2021-01-26 23:59:45 +01:00
Oliver Smith 529c00a012 cross/busybox-static-*: upgrade to 1.33.0-r1 2021-01-26 22:15:35 +01:00
Oliver Smith 572bd339c8 kde/kairo: disable timercontroltest (MR 1901)
This keeps on failing for armv7 and aarch64.
[ci:skip-vercheck]: no need to rebuild the others.

Related: https://builds.sr.ht/~postmarketos/job/407839
Related: https://builds.sr.ht/~postmarketos/job/407822
2021-01-26 21:58:46 +01:00
Bart Ribbers ca30770d60 kde/peruse: upgrade to 0_git20210124 (MR 1893) 2021-01-26 18:48:58 +01:00
Bart Ribbers 0d9d0e2ee6 kde/kpeoplesink: upgrade 0_git20201129 (MR 1892) 2021-01-26 18:39:31 +01:00
Bart Ribbers c4e1ebb38f kde/qmlkonsole: upgrade to 0_git20210122 (MR 1889) 2021-01-26 18:34:09 +01:00
Bart Ribbers 2c4f0621b4 kde/trainer: replace with kde/kairo (MR 1897)
Trainer is unmaintained upstream and replaced by Kairo
2021-01-26 17:19:59 +01:00
Newbyte 83a4ab75e8 main/pure-maps: upgrade to 2.4.1 (MR 1899) 2021-01-26 16:15:08 +01:00
Bart Ribbers e1fd838cc9 kde/koko: upgrade to 0_git20210114 (MR 1888) 2021-01-26 05:56:21 +03:00
Simon Brand a1129ee0a1 samsung-kccat6: new device (MR 1842) 2021-01-25 11:32:48 +01:00
Bart Ribbers accd854378 kde/plasma-dialer: drop, upstreamed to Alpine 2021-01-24 22:14:11 +01:00
Henrik Grimler 1c99082f9d device-samsung-chagallwifi: use msm-fb-refresher (MR 1884)
With this package the display works, and touch mostly works.

[ci:skip-build]: already built successfully in CI
2021-01-24 15:04:12 +01:00
Henrik Grimler 3cb681bc87 firmware-samsung-chagall: add wifi fw pkg for exynos5420 tablets (MR 1884)
Should work for at least chagallwifi and chagalllte, probably some
other models as well.
2021-01-24 15:00:25 +01:00
Henrik Grimler 0bb64c2e96 linux-samsung-chagallwifi: fix kernel boot problem (MR 1884)
Simply disabling FIMC IS does not work however due to compilation
errors and a null pointer dereference.  01-fix-FIMC-IS-disabling.patch
takes care of this.

As with other exynos devices some additional things had to be disabled
to make the kernel compile after FIMC IS had been disabled,
specifically:

CONFIG_CAMERA_EEPROM
CONFIG_VIDEO_EXYNOS_MIPI_CSIS
CONFIG_LEDS_MAX77803

Apart from that we also have:

02-netfilter-symbols.patch, which fixes another compilation error.

03-usb_gadget-set-random-rndis-host-MAC-address-to-prev.patch (taken
from another device) which prevents host mac address being set to
00:00:00:00:00.

Kernel sources have been changed to the lineage-16.0 branch in the
exynos5420 repo, as that is where development happens at the moment.
2021-01-24 15:00:20 +01:00
Bart Ribbers 8d2731467e kde/ktrip: drop, upstreamed to Alpine 2021-01-24 14:45:39 +01:00
Bart Ribbers 88e9ab4c75 kde/kpublictransport: drop, upstreamed to Alpine 2021-01-24 14:34:13 +01:00
Bart Ribbers 8d5d3c9ef2 kde/itinerary: drop, upstreamed to Alpine 2021-01-24 14:33:26 +01:00
Stanislav Jakubek e3e31a5617 samsung-kyleprods: new device (Samsung Galaxy S Duos 2) (MR 1885) 2021-01-24 11:29:37 +01:00
Oliver Smith 919265006b cross/busybux-static-*: upgrade to 1.33.0-r0 2021-01-24 11:11:32 +01:00
Oliver Smith b0ab6a04b0 cross/busybox-static-*: upgrade to 1.32.1-r1 2021-01-21 19:02:09 +01:00
Oliver Smith 5edfdf1ddb cross/musl-*: upgrade to 1.2.2-r1 2021-01-21 19:02:02 +01:00
Miles Alan 81a3cf755e CODEOWNERS: Add @milesalan as codeowner for device/*/*-pine64-pinephone/ (MR 1878) 2021-01-19 00:04:50 -05:00
Oliver Smith 097dbf783c temp/calamares: fork from Alpine to rebuild (MR 1876)
bpo is currently failing to build images with the on-device installer,
because calamares needs to be rebuilt against libboost_python38.so. Fork
it until that's resolved. [ci:skip-vercheck]

[ci:skip-build]: already built successfully in CI

Related: https://builds.sr.ht/~postmarketos/job/398948#task-img_installer-307
2021-01-17 23:41:43 +01:00
Oliver Smith b8444ed8a3 temp/dino: enable x86 again (MR 1875)
[ci:skip-vercheck]
2021-01-17 17:43:53 +01:00
Alexey Min 337b7939a2 cross/musl-*: upgrade to 1.2.2
upstream commit:
https://gitlab.alpinelinux.org/alpine/aports/-/commit/7b0c0aacd3d29e2e31a4a5f5c6200a75249d79d3
2021-01-17 04:07:11 +03:00
Oliver Smith d639bff0da temp/dino: disable x86
Related: https://gitlab.com/postmarketOS/pmaports/-/issues/941
2021-01-16 01:25:45 +01:00
mimi89999 c1d1e1a6f8 temp/dino: Update to latest commit (MR 1874)
[ci:skip-build]: already built in CI
2021-01-15 10:16:55 -08:00
Henrik Grimler eed8631c02 main/dtbtool-sprd: fork and upgrade to 1.1.2 (MR 1864)
Fix error if -p arg or dtb dir do not end with /.

Currently, running

$ dtbTool-sprd -p "scripts/dtc" -o "arch/arm/boot/dt.img" "arch/arm/boot/dts/"

or

$ dtbTool-sprd -p "scripts/dtc/" -o "arch/arm/boot/dt.img" "arch/arm/boot/dts"

fails with something like
	DTB combiner:
	  Input directory: 'arch/arm/boot/dts/'
	  Output file: 'dt.img'
	Found file: sprd-scx20_sp7731ceb.dtb ... skip, failed to scan for 'sprd,sc-id =<' tag
	=> Found 0 unique DTB(s)

instead of succeeding with something like
	DTB combiner:
	  Input directory: 'arch/arm/boot/dts/'
	  Output file: 'dt.img'
	Found file: sprd-scx20_sp7731ceb.dtb ... chipset: 8830, platform: 1, rev: 131072
	=> Found 1 unique DTB(s)

	Generating master DTB... completed

The reason for the failure is that the tool tries to run external
commands and concatenates the path from the args, meaning that it
tries to run scripts/dtcdtc instead of scripts/dtc/dtc.
2021-01-15 00:06:39 +01:00
Clayton Craft 6db0e21df7 device-purism-librem5: add udev rule for toggling wifi PM on charger change (MR 1863) 2021-01-11 23:34:23 -08:00
Clayton Craft 6606d81688 device-pine64-pinephone: add udev rule for toggling wifi PM on charger change (MR 1863) 2021-01-11 23:30:17 -08:00
Stephan Hilb 0c4c50d071 htc-pme: new device (HTC 10, 2016) (MR 1860)
based off from lineage os, manages to boot including ssh over usb.

had to disable:

  CONFIG_HTC_RADIO_SMEM
  CONFIG_HTC_MODEM_NOTIFIER
  CONFIG_MSM_SMP2P
  CONFIG_UIO_MSM_SHAREDMEM

[ci:skip-build]: already built successfully in CI
2021-01-11 23:52:40 +01:00
ignapk e13377c1ef huawei-warsaw: new device (MR 1848)
[ci:skip-build]: already built successfully in CI
2021-01-11 23:42:36 +01:00
Antoine Fontaine 577564795a cross/gcc-*: upgrade to 10.2.1_pre1-r3 (MR 1869)
[ci:skip-build]
2021-01-11 17:08:10 +01:00
Clayton Craft 3a6500492e device-pine64-pinephone: enable eg25-manager in post-upgrade (MR 1867)
On existing installs of pmOS, the service should also be enabled...
2021-01-10 12:36:39 -08:00
Martijn Braam 0eb590d611 cross/gcc-*: upgrade to 10.2.1_pre1-r2 2021-01-09 20:56:30 +01:00
Max Buchholz cc3e4a1812 trekstor-surftabduow1: new device (MR 1827) 2021-01-09 14:26:25 +03:00
clayton craft d0588c4046 device-pine64-pinephone: do not rely on modem-power from kernel (MR 1815)
This adds eg25-manager for managing modem power in userspace instead of
relying on the modem-power stuff in the kernel. The userspace
eg25-manager has proven to be more reliable than using modem-power.

An older setup-modem script is installed for ofono, since eg25-manager
cannot interface with ofono (yet).

The eg25 init script was removed since it only dealt with configuring
the modem-power driver in the kernel

[ci:skip-build]: already built successfully in CI
2021-01-08 15:28:11 -08:00
clayton craft c175be405a linux-postmarketos-allwinner: disable modem-power driver (MR 1815)
Disabling in favor of controlling modem in userspace (e.g., eg25-manager)

[ci:skip-build]: already built successfully in CI
2021-01-08 15:26:02 -08:00
Bart Ribbers 8512075ff0 temp/plasma-nano: upgrade to 5.20.80_git20201001 (MR 1862) 2021-01-08 21:11:51 +01:00
Bart Ribbers 620b40d37a temp/plasma-phone-components: upgrade to 5.20.80_git20201206 (MR 1862) 2021-01-08 21:11:32 +01:00
Bart Ribbers 7b9b00d2dd kde/plasma-dialer: fix dep (MR 1862)
With the upgrade from Plasma 5.20.4 to 5.20.5, the files we need moved
from oxygen to oxygen-sounds
2021-01-08 13:33:33 +01:00
Martijn Braam ce8dcc54a2 main/linux-postmarketos-allwinner: Fix mmc numbering for the PineTab (MR 1856)
[ci:skip-build] already built on CI twice and locally
2021-01-08 14:05:29 +03:00
Richard Qian 0688e7b9ab lg-d851: New device LG G3 (T-Mobile) (MR 1762)
[ci:skip-build]: already built sucessfully in CI
2021-01-08 00:12:40 -08:00
BO41 53fc41e7d0 huawei-kiwi: rework to use mainline kernel (MR 1826)
[ci:skip-build]: already built successfully in CI
2021-01-08 00:07:57 -08:00
BO41 ea96c354c0 huawei-kiwi: add firmware (MR 1826)
[ci:skip-build]: already built successfully in CI
2021-01-08 00:07:57 -08:00
Oliver Smith 45657e430c CI: bump copyright to 2021 2021-01-08 00:16:08 +01:00
begs 8c39c913d1 samsung-superior: new device (Samsung Galaxy Premier) (MR 1852)
[ci:skip-build]: already built successfully in CI
2021-01-08 00:12:07 +01:00
Oliver Smith 0a9ac24560 pmaports.cfg: require pmbootstrap 1.28.0 (MR 1522)
This version doesn't write /etc/os-release anymore in 'pmbootstrap
install'.
2021-01-07 23:43:22 +01:00
Martijn Braam 3ac6f21c6c main/postmarketos-base: ship os-release (MR 1522)
Ship the /etc/os-release file from the postmarketos-base package instead
of having it generated by pmbootstrap.
2021-01-07 23:42:49 +01:00
Bart Ribbers 1ccfe1bffe kde/plasma-settings: upgrade to 0_git20210107 (MR 1859)
[ci:skip-build]: already built successfully in CI
2021-01-07 23:17:07 +01:00
Bart Ribbers 47e4a2d67e kde/plasma-dialer: add missing oxygen dep for ringtones 2021-01-07 20:15:06 +01:00
Error1000 8f994d8c34 samsung-jxelte: new device (MR 1853) 2021-01-07 12:37:06 +01:00
Martijn Braam 61e0dce335 main/linux-postmarketos-allwinner: upgrade to 5.10.4_git20210102 (MR 1854)
[ci:skip-build]: already passed CI
2021-01-07 01:30:52 -08:00
Oliver Smith 4a6dd5fd67 cross/busybox-static-*: upgrade to 1.32.1 2021-01-06 21:04:49 +01:00
Oliver Smith 98349c48f9 main/calamares-extensions: fix tracedeps, rebuild (MR 1855)
Rebuild against new calamares version. Usually the upstream-compat CI
job should have warned about this, but it didn't. Turns out, that abuild
did not trace the dependencies of calamares-extension-mod-mobile because
the main package had arch="noarch".

Related: https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10022
2021-01-06 02:30:42 +01:00
Henrik Grimler a2b1accbc0 linux-samsung-dream: fix issue with swapped red and blue colors (MR 1843) 2021-01-05 22:18:08 +03:00
Henrik Grimler 4d327313e4 device-samsung-dream: use minimal initfs-hook (MR 1843)
Instead of running the entire setup_usb_network_configfs function we
run the parts that are actually necessary for
setup_usb_network_android to succeed when it is run afterwards.
2021-01-05 22:18:04 +03:00
Bastiaan Teeuwen b4760587b7 samsung-jfvelte: new device (MR 1841)
USB networking, Touchscreen and display are working.
CONFIG_SND_SOC_QDSP6V2 is omitted from kernel config for now as the resulting driver fails to build.
2021-01-05 16:18:30 +03:00
Oliver Smith 7842ad231b main/postmarketos-ui-phosh: depend on xdg-desktop-portal-gtk (MR 1844)
Add the dependency to properly support file transfer between sandboxed
applications. Currently they can be used with flatpak (e.g. for quickly
testing out applications, not a recommended way to applications) and long
term we could use this in combination with apparmor for natively packaged
applications.

Notably the KDE version is already getting pulled in by when installing
postmarketos-ui-plasma-*.
2021-01-05 15:51:07 +03:00
Oliver Smith c5c8d507ff cross/musl-*: upgrade to 1.2.2_pre7 2021-01-04 18:26:20 +01:00
Oliver Smith 4929c227ed main/linux-postmarketos-allwinner: dts: add 'pine64,pinephone' to compat list (MR 1838)
Add Dylan's patch from MR 1750, so the feedbackd configuration can use
this for the device specific configuration.

[ci:skip-build]: built locally
2020-12-29 16:16:47 +01:00
clayton craft aad151f3ee main/linux-postmarketos-allwinner: enable nftables support (MR 1838)
This allows using nftables on pmOS
2020-12-29 16:15:00 +01:00
Dylan Van Assche 6e33ebe6f3 main/linux-postmarketos-allwinner: set leds-gpio max_brightness to 1 (MR 1838)
LEDs controlled through the leds-gpio driver are not PWM capable.
Setting the max_brightness property to 1 instead of 255.
2020-12-29 16:15:00 +01:00
Alexander Brzoska e42ff4ebd4 main/linux-postmarketos-allwinner: Add IPv4 support for wireguard-tools (MR 1838)
Wireguard's userspace tool 'wg-quick' requires certain network and
netfilter options in the kernel config to be enabled, since it uses
policy routing and some 'iptables' modules. An overview of the options
and why they are required can be found in pmaports#909.

NOTE: after rebasing this patch on the one that enables anbox related
kconfig options, only CONFIG_IP_MULTIPLE_TABLES=y was left.
2020-12-29 16:15:00 +01:00
edp17andAntoine Fontaine 9b9a47ed2c main/linux-postmarketos-allwinner: enable Anbox networking options (MR 1838)
Co-Authored-By: Antoine Fontaine <antoine.fontaine@epfl.ch>
2020-12-29 16:14:55 +01:00
Bart Ribbers d22d501091 main/postmarketos-ui-plasma-mobile: add NeoChat to default programs (MR 1837)
NeoChat is available in community, and will be shipped by default on the
PinePhone KDE CE, so let's do the same

[ci:skip-vercheck]: just modifying _pmb_recommends
2020-12-28 16:14:05 +01:00
clayton craft 6410ab3fe5 linux-purism-librem5: upgrade to 5.9.15 (MR 1836)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/868f3eb8525afae3be7b74320ee85bcaa722a758

Suspend is also disabled in the kconfig, since it is not
supported/working on this device

[ci:skip-build]: already built successfully in CI
2020-12-28 15:34:10 +01:00
Ion Agorria 02c6181e57 device-asus-tf101: Update blobtools to new name (MR 1803) 2020-12-28 15:04:12 +01:00
Ion Agorria e4a99772e8 main/asus-transformer-blobtools: Add blob signing (MR 1803)
This adds a patch that enables signing blobs via flag.

Certain recent Asus Tegra devices (tf201, tf300, tf700/1)
only accept signed blobs, this was implemented upstream
but seems that some lines got deleted.

This also updates upstream repository to use PMOS one.
2020-12-28 15:04:12 +01:00
Ion Agorria 4351a5bc1c main/mkinitfs: Pass signing flag to blobpack (MR 1803)
This patch checks if deviceinfo_bootimg_blobpack is "sign"
in that case it passes signing flag for devices that require.

Devices (tf101) that don't use signing will continue working
when passing "true" as now.
2020-12-28 15:04:07 +01:00
El Koulali András 0141b19438 samsung-coreprimevelte: new device (MR 1823)
[ci:skip-build]: already built successfully in CI
2020-12-27 21:39:44 -08:00
El Koulali András 676f86fd43 main/postmarketos-mkinitfs: include support for pxa-mkbootimg (MR 1823)
[ci:skip-build]: already built successfully in CI
2020-12-27 21:39:43 -08:00
El Koulali András deefe27fc0 main/pxa-mkbootimg: new aport (MR 1823)
[ci:skip-build]: already built successfully in CI
2020-12-27 21:39:43 -08:00
Newbyte f85d5fa3fd htc-golfu: new device (MR 1824)
[ci:skip-build]: already built successfully in CI
2020-12-27 19:22:05 -08:00
Newbyte 3a09499708 temp/evince: upgrade to 9999_git20201106 (MR 1834) 2020-12-27 19:09:57 -08:00
clayton craft 5298584f14 gitlab-ci: remove shellcheck for elogind-system-suspend hook (MR 1825) 2020-12-28 00:36:53 +01:00
clayton craft 5a06a6bb06 postmarketos-base: replace elogind suspend hook with sleep-inhibitor (MR 1825)
This adds sleep-inhibitor as a dependency when elogind is present, and
installs a conf for it with some plugins enabled that are beneficial to
devices running pmOS. The elogind suspend hook is dropped.

This resolves issues where suspend is aborted in the hook *after*
PrepareForSleep is sent over dbus (which might cause some things to
disable radios/modems, etc for suspend).

The 'period' in the conf is in minutes, a value of 0.1 is 6 seconds,
which seems reasonable for releasing the lock when conditions for
inhibiting no longer apply, without spinning the CPU too frequently.
2020-12-28 00:36:35 +01:00
SUNGOLDSV c7368d68c6 xiaomi-ferrari: update and add more firmware blobs (MR 1829) 2020-12-27 22:43:36 +01:00
Newbyte d135ba5499 main/linux-postmarketos-allwinner: build CONFIG_CRYPTO_ZSTD support as a module (MR 1816)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/894

[ci:skip-build]: already built successfully in CI
2020-12-26 13:08:00 -08:00
Newbyte d5690fcc36 main/linux-postmarketos-allwinner: add findutils as makedepend (MR 1816)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/910

[ci:skip-build]: already built successfully in CI
2020-12-26 13:07:54 -08:00
Newbyte f856e967d8 main/linux-postmarketos-allwinner: upgrade to 5.10.0_git20201214 (MR 1816)
[ci:skip-build]: already built successfully in CI
2020-12-26 13:07:46 -08:00
Clayton Craft fde9171d6a main/osk-sdl: upgrade to 0.61 (MR 1830) 2020-12-26 11:03:40 -08:00
Bart Ribbers 3ee2cec714 kde/neochat: remove, upstreamed 2020-12-24 10:54:22 +01:00
Caleb Connolly 64b8f211f4 linux-oneplus-sdm845: update to v5.10 (MR 1828)
Enable support for f2fs, btrfs and XFS. Rebase on the 5.10 release!

[ci:skip-build]: already built successfully in CI
2020-12-22 21:31:26 -08:00
Caleb Connolly 42c0d5bed3 modem/tqftpserv: don't let init.d fail on missing qrtr (MR 1806) 2020-12-22 04:09:33 +03:00
Caleb Connolly 55d402c0b3 modem/pd-mapper: don't let init.d fail on missing qrtr (MR 1806) 2020-12-22 04:09:29 +03:00
alter0ne 690d55512e acer-swing: new device (MR 1513)
[ci:skip-build]: already built successfully in CI
2020-12-20 15:40:42 +01:00
Oliver Smith 12e548fe4a main/postmarketos-ui-phosh: autostart mpris-proxy (MR 1804)
Make bluetooth headset controls work. While at it, order sources
alphabetically.
2020-12-20 13:34:10 +01:00
JuniorJPDJ 1e1d6a7ee3 lg-hammerhead: firmware: use google URLs, add BT (MR 1818) 2020-12-20 13:21:27 +01:00
Oliver Smith 411f3160a3 main/postmarketos-ondev: upgrade to 0.3.2 (MR 1780)
The calamares module and branding was made distro-agnostic and moved to
calamares-extensions.git. A new "make install" target inside
postmarketos-ondev.git installs all files, so we need less logic in the
APKBUILD.

Replace lightdm with tinydm. Add xset dependency to disable screen
blanking.
2020-12-19 22:19:40 -08:00
Oliver Smith 0f5fd1f8fc main/qtvirtualkeyboard-plasma: fix install dir (MR 1780)
Don't use cmake to copy the files to the target path, because it would
install to the wrong directory:
	/usr/lib/qml/QtQuick/VirtualKeyboard/Styles/Plasma/
instead of:
	/usr/lib/qt5/qml/QtQuick/VirtualKeyboard/Styles/Plasma/

I've spent some time trying to figure out why it does that, but could
not find it right away. This is just a legacy component, so not worth
spending much time on this detail.
2020-12-19 22:19:40 -08:00
Nihal Jere 65c0da83a0 testing/linux-motorola-channel: upgrade to 4.9.206 (MR 1817)
[ci:skip-build]: already built successfully in CI
2020-12-19 22:08:34 -08:00
Sireesh Kodali efd7a047bd device/linux-motorola-potter: remove aport (MR 1796)
potter now uses linux-postmarketos-qcom-msm8953

[ci:skip-build]: already built successfully in CI
2020-12-18 18:15:31 -08:00
Sireesh Kodali b581147c0b motorola-potter: switch to linux-postmarketos-qcom-msm8953 (MR 1796)
* add optional nonfree-firmware dependency
* drop downstream kernel

[ci:skip-build]: already built successfully in CI
2020-12-18 18:15:31 -08:00
Sireesh Kodali 8e5edb3858 firmware/firmware-motorola-potter: new aport (MR 1796)
[ci:skip-build]: already built successfully in CI
2020-12-18 18:15:31 -08:00
Sireesh Kodali a7daff97d1 main/linux-postmarketos-qcom-msm8953: upgrade to 5.10-rc6 (MR 1796)
[ci:skip-build]: already built successfully in CI
2020-12-18 18:15:31 -08:00
Craig Comstock 13e9c9e9b5 main/postmarketos-ui-shelli: update shelli to 0.6 (MR 1814)
Adds support for pinephone
Adds migration away from python and to C for event path discovery and touch dimensions

[ci:skip-build]: already built successfully in CI
2020-12-18 11:07:21 -08:00
Oliver Smith e07b405b69 main/tinydm: remove, upstreamed to alpine 2020-12-16 20:31:56 +01:00
Oliver Smith 632792f85d main/autologin: remove, upstreamed to alpine 2020-12-16 20:31:34 +01:00
Oliver Smith 0713cba533 cross/busybox-static-*: upgrade to 1.32.0-r8 2020-12-15 11:56:38 +01:00
Timon Baetz d7d5424b5d device/testing/linux-samsung-i9100-mainline: remove (MR 1794)
i9100 now uses shared exynos4 kernel

[ci:skip-build]: already built successfully in CI
2020-12-14 23:49:36 -08:00
Timon Baetz 622bf040ab device-samsung-i9100: use exynos4 as mainline kernel (MR 1794)
While at it, remove deviceinfo_dev_touchscreen and set DATAFS as system
partition.

[ci:skip-build]: already built successfully in CI
2020-12-14 23:49:28 -08:00
Timon Baetz ec1305c64f main/linux-postmarketos-exynos4: upgrade to 5.9.12 and fix touchscreen (MR 1794)
- use gzip kernel compression
- disable debug and tracing
- disable exynos{3,5}

[ci:skip-build]: already built successfully in CI
2020-12-14 23:49:00 -08:00
Oliver Smith d1bd6eb84d main/postmarketos-ui-*: fix tinydm-openrc depend (MR 1811)
Let all packages depending on tinydm depend on tinydm-openrc too. This
is needed to make sure that tinydm-openrc is installed, before the
tinydm service is enabled in the UI's post-install scripts.

This was not an issue because tinydm currently depends on tinydm-openrc.
But that's a hack and will be removed when upstreaming tinydm to alpine.

[ci:skip-build]: already built successfully in CI
2020-12-14 23:40:01 -08:00
Maarten van Gompel bb6f079f73 sxmo/sxmo-utils: upgrade to 1.2.0 (MR 1789)
[ci:skip-build]: already built successfully in CI
2020-12-14 14:27:57 +01:00
Maarten van Gompel d533a0bd92 main/postmarketos-ui-sxmo: upgrade to 1.2.0 (MR 1789) 2020-12-14 14:26:55 +01:00
Maarten van Gompel 2fb227c924 sxmo/sxmo-dwm: upgrade to 6.2.10 (MR 1789) 2020-12-14 14:26:55 +01:00
Maarten van Gompel 4cf7604ca5 sxmo/sxmo-dmenu: upgrade to 4.9.7 (MR 1789) 2020-12-14 14:26:55 +01:00
Maarten van Gompel e712dface9 sxmo/sxmo-xdm: removed, replaced by new sxmo-xdm-config (MR 1789) 2020-12-14 14:26:55 +01:00
Maarten van Gompel 938d909768 sxmo/sxmo-xdm-config: new aport (MR 1789) 2020-12-14 14:26:55 +01:00
Maarten van Gompel 0181172240 sxmo/sxmo-svkbd: remove (MR 1789) 2020-12-14 14:26:50 +01:00
Newbyte 830626375f temp/gtk+3.0: upgrade to latest Purism version (MR 1810)
[ci:skip-build]: already built successfully in CI
2020-12-14 11:41:37 +01:00
clayton craft 7b8b0ede43 temp/geary: upgrade to 3.38.0.1 w/ Purism patches (MR 1809)
fixes #880
2020-12-14 00:54:44 -08:00
Luca Weiss b97cf37789 main/linux-postmarketos-qcom-msm8974: upgrade to 5.9.13 (MR 1799)
[ci:skip-build]: already built successfully in CI
2020-12-14 09:31:09 +01:00
devajithvs 4113502ad4 firmware-asus-z010d: fix incorrect url (MR 1808) 2020-12-13 15:53:44 +05:30
devajithvs 4f5bad9ce5 device-asus-z010d: enable modem (MR 1808) 2020-12-13 15:44:22 +05:30
Bart Ribbers 02e5e765db temp/phosh: drop, upstreamed to Alpine 2020-12-12 09:25:26 +01:00
HenriDellal 97ec465822 samsung-j3xnlte: port rename (MR 1805)
[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2020-12-12 03:26:18 +01:00
Bart Ribbers 49fa7d35f6 temp/plasma-phone-components: upgrade to 5.20.4_git20201206 (MR 1797) 2020-12-11 13:40:48 +03:00
Bart Ribbers 7389b6cd93 kde/qqc2-breeze-style: new aport (MR 1797) 2020-12-11 13:40:45 +03:00
Martijn Braam 0668874ccf main/linux-postmarketos-allwinner: upgrade to 5.10.0_git20201202 (MR 1802)
[ci:skip-build]: already built successfully in CI
2020-12-11 09:51:19 +01:00
Oliver Smith 79d512e73e cross/musl-*: upgrade to 1.2.2_pre6 2020-12-10 16:26:27 +01:00
Oliver Smith 9e45b14267 cross/musl-*: upgrade to 1.2.2_pre5 2020-12-09 17:10:54 +01:00
Oliver Smith f430dae13b main/postmarketos-base: add tinydm config (MR 1795)
Set postmarketOS default UID in tinydm config, so tinydm can be
upstreamed to Alpine without hardcoding the pmOS default UID in the
tinydm packaging.
2020-12-07 18:21:28 -08:00
Bart Ribbers f056e79f9e main/postmarketos-ui-plasma-bigscreen: add aura-browser to _pmb_recommends (MR 1792) 2020-12-07 19:40:54 +03:00
Bart Ribbers 1a6ba8334c kde/aura-browser: new aport (MR 1792) 2020-12-07 19:40:52 +03:00
HenriDellal d6eeae1ee4 samsung-j3nxlte: port improvements (MR 1787)
Changes:
- Depends on soc-sprd-audio-sc8830 package for audio support
- Includes fixes for X11 and color mode
- Switches to dtbtool-sprd

[ci:skip-build] Already built fine on CI in a MR
2020-12-07 17:15:37 +03:00
Oliver Smith e5004e6356 main/calamares-extensions: new aport (MR 1773)
Build "mobile" module and "default-mobile" branding for now, because
that's what is used by postmarketos-ondev.

Related: https://wiki.postmarketos.org/wiki/On-device_installer
2020-12-07 11:07:51 +01:00
Luca Weiss 5d41f51909 linux-t2m-flame: use devicepkg-dev (MR 1751)
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2020-12-07 09:45:08 +01:00
Luca Weiss 1a5b9a2937 linux-oneplus-bacon: use devicepkg-dev (MR 1751) 2020-12-07 09:44:59 +01:00
Luca Weiss 0179168f64 linux-lg-d285: use devicepkg-dev (MR 1751) 2020-12-07 09:44:59 +01:00
Luca Weiss af9df7a7dc linux-samsung-i9300: use devicepkg-dev (MR 1751) 2020-12-07 09:44:59 +01:00
Luca Weiss ee14ec3272 linux-samsung-n7100: use devicepkg-dev (MR 1751) 2020-12-07 09:44:59 +01:00
Luca Weiss 1212611108 linux-motorola-osprey: use devicepkg-dev (MR 1751) 2020-12-07 09:44:58 +01:00
Luca Weiss 3bf72cb6ae linux-motorola-titan: use devicepkg-dev (MR 1751) 2020-12-07 09:44:58 +01:00
Luca Weiss 1e07f880eb linux-lg-d855: use devicepkg-dev (MR 1751) 2020-12-07 09:44:58 +01:00
Luca Weiss 5d12c429ce linux-huawei-angler: use devicepkg-dev (MR 1751) 2020-12-07 09:44:58 +01:00
Luca Weiss 9744317cce linux-htc-ace: use devicepkg-dev (MR 1751) 2020-12-07 09:44:58 +01:00
Luca Weiss f283ebe709 linux-lg-lenok: use devicepkg-dev (MR 1751) 2020-12-07 09:44:53 +01:00
Newbyte 64258e51fe main/pure-maps: upgrade to 2.1.1 (MR 1779) 2020-12-06 20:54:34 -08:00
Gianluca Boiano 98db972307 linux-xiaomi-vince: update kernel to 4.9.247 (MR 1793)
[ci:skip-build]: already built successfully in CI
2020-12-06 20:45:51 -08:00
clayton craft 19b6965bd6 temp/u-boot-librem5: upgrade to 0.8 (MR 1790)
This syncs u-boot with the upstream branch, and includes the following
new features:
- support for board rev in u-boot
- fix uart4

[ci:skip-build]: already built successfully in CI
2020-12-06 18:10:14 -08:00
Luca Weiss de9b5d3c21 pine64-pinetab: move to community (MR 1753)
[ci:skip-build]: already built successfully in CI
2020-12-06 18:06:31 -08:00
clayton craft e067004579 linux-purism-librem5: upgrade to 5.9.12+purism5.1 (MR 1791)
[ci:skip-build]: already built successfully
2020-12-06 18:01:13 -08:00
Alexey Min eb18df5f24 Revert "temp/xorg-server: temporarily fork from alpine (+depends) (MR 1768)"
This reverts commit 01d2a8e767.

All of those packages are now available in Alpine repos
and even a newer version of xorg-server is already there.
2020-12-07 01:16:10 +03:00
Alexey Min b250f1ba16 Revert "temp/libinput: temporarily fork from alpine (+depends) (MR 1771)"
This reverts commit 3bd9f62da2.

Both libevdev and libinput are now available for armv7.

- http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/libevdev-1.10.0-r0.apk
- http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/libinput-1.16.4-r0.apk
2020-12-07 01:02:35 +03:00
HenriDellal 19c7fd692f samsung-gts210ve{lte,wifi}: disable SEC_RESTRICT_ROOTING (MR 1786)
SEC_RESTRICT_ROOTING is a Samsung-specific option,
which makes unable to get root permissions
on the device.
Needed for postmarketos/pmbootstrap!2000 to be merged.

[ci:skip-build] Builds fine locally
2020-12-06 18:27:27 +03:00
clayton craft 7e509ccbc2 main/osk-sdl: upgrade to 0.60 (MR 1781) 2020-12-04 21:01:21 -08:00
clayton craft 7f8cf5322b CODEOWNERS: add initial file (MR 1783) 2020-12-04 20:16:50 -08:00
Oliver Smith 28c6c6f107 main/postmarketos-ondev: rebuild against new calamares (MR 1785)
missing depend(s): so:libcalamares.so.3.2.32.1, so:libcalamaresui.so.3.2.32.1
2020-12-04 15:25:10 +01:00
Craig Comstock c3078f5e97 pine64-pinephone: add default alsa config (MR 1741)
For use with or without pulseaudio.
2020-12-04 13:24:01 +01:00
mimi89999 bb2a0d945e samsung-a3y17lte: new device (Samsung A3 2017) (MR 1784) 2020-12-04 11:59:44 +01:00
Oliver Smith 2f4a2ea087 main/postmarketos-mkinitfs: improve keyboard-font check (MR 1782)
Fix failure in the osk-sdl "keyboard-font" check when there is a second
key starting with "keyboard-font" (as in osk-sdl MR 105):

	==> initramfs: creating /boot/initramfs-postmarketos-allwinner-extra
	ERROR: Font specified in /etc/osk.conf does not exist!
	ERROR: postmarketos-mkinitfs-0.17-r0.trigger: script exited with error 1
2020-12-03 20:02:02 -08:00
Oliver Smith aa84e67981 cross/gcc-*: upgrade to 10.2.1_pre1-r1 2020-12-04 00:14:14 +01:00
Dylan Van Assche 83dc3396c6 temp/gnome-control-center: upgrade to 9999_git20201203 (MR 1777)
[ci:skip-build]: already built successfully in CI
2020-12-03 16:11:20 +01:00
Oliver Smith 8b7adeddf3 main/postmarketos-base: remove post-install config overrides (MR 1713)
Do not change config files in post-install scripts anymore (with sed
commands or by other means). Instead, ship the files inside the packages
and use "replaces", so apk allows the package to overwrite files from
other packages:
https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#replaces

Notes on specific files:
* /etc/elogind/logind.conf: original file only consists of commented out
  compile defaults. Copy them over for now. In the future we should be
  able to install our own config into a .d directory, without all the
  comments: https://github.com/elogind/elogind/commit/8358fc595027145bf1f3ff572a4c3f23b232830a
* /etc/fstab: original file only has /dev/cdrom and /dev/usbdisk
  entries, which are not useful for postmarketOS:
  https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/alpine-baselayout/APKBUILD
* /etc/motd: reformat the text, add link to the chat
* /etc/conf.d/syslog: original file only contained 'SYSLOGD_OPTS="-t"',
  make the override file as if the sed statement from post-install was
  executed
* /etc/wpa_supplicant/wpa_supplicant.conf: post-install script touches
  this file. We probably added it back in 2017 in relation to enabling
  D-Bus (though the PR does not mention it explicity), but at least with
  the current init.d script of NetworkManager, we can simply have '-u' in
  wpa_supplicant_args:
  https://github.com/postmarketOS/pmbootstrap/pull/578
  https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/wpa_supplicant/wpa_supplicant.initd
* /etc/sudoers: base on original /etc/sudoers, but remove all the
  commented out stuff except for the visudo note at the top. We could
  also put a file in /etc/sudoers.d, but since the wheel line is present
  in the original /etc/sudoers and only commented out, it would be kind
  of unexpected to enable it in a file in /etc/sudoers.d. I prefer this
  stripped down version of the file, that is easy to read.
2020-12-03 13:11:03 +01:00
Oliver Smith c8a79d6fa6 main/postmarketos-base: fix install_if for subpkgs (MR 1713)
Instead of install_if="$pkgname xorg-server" etc, it should be
install_if="$pkgname=$pkgver-r$pkgrel xorg-server".

Reference: https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#install_if
2020-12-03 13:11:03 +01:00
Oliver Smith 0105a1d8ef main/postmarketos-base: put full path in filenames (MR 1713)
Refactor the install code to be generic, so we only need to add the new
path in one place when adding a new file. Put the full path into the
filename to make this possible.

I've tried to mimic the final directory structure in the aport first
(e.g. $pkgdir/sbin/swapfile -> main/postmarketos-base/sbin/swapfile),
but that leads to conflicts as abuild only takes the filename for
checksums (conflict with etc/conf.d/swapfile):
https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10013

We don't really need checksum verification for the files shipped in the
same directory (not downloaded), but nevertheless this is a bug. It
leads to confusing behavior and might be fixed by letting abuild demand
that there is only one source file with the same name, as I suggested in
the issue linked above. So let's avoid this altogether with the flat
file name.
2020-12-03 13:11:03 +01:00
Oliver Smith 4d6a1a2458 main/postmarketos-mvcfg: new package (MR 1713)
Add scripts to move configs from legacy packaging, as described at:
https://postmarketos.org/mvcfg
2020-12-03 13:10:58 +01:00
Oliver Smith c108a5a8d1 main/postmarketos-mkinitfs: allow splash override (MR 1776)
Make it possible to set a custom splash screen by placing a
splash.ppm.gz file on the boot partition.
2020-12-03 11:30:25 +03:00
Oliver Smith 88ebc699f3 CI: unreferenced files: parse source from checksums (MR 1759)
postmarketos-base will soon build its source="" variable with a shell
function. Support this use case by not trying to parse source="" with
pmbootstrap anymore, but rather parsing the trivial sha512sums
variable.
2020-12-03 09:35:00 +03:00
Oliver Smith 52e1621408 CI: unreferenced files: be less verbose (MR 1759)
Don't print a message for each APKBUILD that is getting parsed. pytest
will display the stdout below the raised exception, so with the print
one had to scroll up a lot to find the actual error message. Now it is
printed at the bottom.
2020-12-03 09:35:00 +03:00
Oliver Smith d6eb5dc5b2 CI: test_aports: use realpath for pmaports (MR 1759)
Do not print ".gitlab-ci/testcases/../../" in the paths to the
APKBUILDs.
2020-12-03 09:34:57 +03:00
Martijn Braam cd7295d017 main/linux-postmarketos-allwinner: enable ipv6 wireguard (MR 1778)
wireguard needs the ipv6 multitable option to make a seperate routing
table for the inside and outside vpn part of the network.

[ci:skip-build]: already built successfully in CI
2020-12-02 21:54:15 -08:00
Bart Ribbers c13839f2de temp/plasma-phone-components: upgrade to 5.20.4_git20201112 2020-12-02 19:38:29 +01:00
Bart Ribbers 6c445189b5 temp/plasma-nano: upgrade to 5.20.4_git20201001 2020-12-02 19:37:52 +01:00
Martijn Braam fdc0731516 main/powersupply: update to 0.4.0 (MR 1772)
This fixes a crash when a 3A powersupply is used on the latest kernel
2020-12-02 17:31:47 +03:00
Bart Ribbers 5d1e53493e main/postmarketos-ui-plasma-mobile: swap plasma-camera for megapixels (MR 1770)
Even on the PinePhone KDE community edition Megapixels will be shipped
instead of plasma-camera, so let's do the same

The resulting package doesn't change, _pmb_recommends is only a
pmbootstrap thing, so we don't have to bump pkgrel

[ci:skip-vercheck]
2020-12-02 12:56:28 +01:00
Oliver Smith 3cf792d157 temp/xcb-util-cursor: temporarily fork from alpine
Make it available for armv7 again. This is the last missing package to
build postmarketos-ui-plasma-mobile again, I verified it.
2020-12-02 12:33:55 +01:00
Oliver Smith 3bd9f62da2 temp/libinput: temporarily fork from alpine (+depends) (MR 1771)
Make libinput available for armv7 in postmarketOS edge, until it is in
Alpine edge again.
2020-12-02 11:55:04 +01:00
Devin Lin 25beffccdd main/postmarketos-ui-plasma-mobile: add kclock, kweather and kalk to extras subpackage (MR 1769) 2020-12-02 11:39:48 +01:00
Bart Ribbers c981d35ce6 pine64-pinephone: move from community to main (MR 1752)
First actual phone in main 🎉
Fits the requirements for main devices as listed on
https://wiki.postmarketos.org/wiki/Device_categorization.
2020-12-02 02:30:13 +01:00
dominduchami 77c0bf245f device/htc-leo: enable wifi (MR 1767) 2020-12-01 16:58:49 +01:00
Oliver Smith 01d2a8e767 temp/xorg-server: temporarily fork from alpine (+depends) (MR 1768)
Add it to pmOS for arm, until they are in Alpine again.
Related: https://postmarketos.org/edge/2020/12/01/xorg-server-moved/

[ci:skip-vercheck]: pkgrel doesn't need to be -r0
2020-12-01 15:59:23 +01:00
Oliver Smith e544c65b7e cross/musl-*: upgrade to 1.2.2_pre4 2020-12-01 15:43:20 +01:00
Dylan Van Assche 42e857ab79 temp/modemmanager: Fix missing text messages in deep sleep and reduce probing time
[ci:skip-build]: already built successfully in CI
2020-11-29 11:50:18 -08:00
Dylan Van Assche a7b8e0289b temp/modemmanager: Upgrade to 1.14.8
[ci:skip-build]: already built successfully in CI
2020-11-29 11:50:11 -08:00
clayton craft 15a07ac74c device-pine64-pinephone: add craftyguy as co-maintainer (MR 1765)
I have been working a lot with this device lately, and own one, so it
seems appropriate right‽

[ci:skip-build]: already built successfully in CI
2020-11-27 22:20:03 -08:00
clayton craft 4915578771 device-pine64-pinephone: fix audio after pulseaudio upgrade (MR 1765)
After pulseaudio 14.0 was released, audio on the pinephone was broken.
This applies the relevant config from here to fix it:
https://gitlab.manjaro.org/manjaro-arm/packages/community/phosh/alsa-ucm-pinephone/-/commit/c23f92aa4621f04f6ad028201371383d834b2a09

[ci:skip-build]: already built successfully in CI
2020-11-27 22:19:52 -08:00
clayton craft ca1adb070a temp/geary: upgrade to git20201126 (MR 1764)
The notable change here is a *much* better folder view on mobile.

[ci:skip-build]: already built successfully in CI
2020-11-27 14:37:50 +01:00
devajithvs 03a96f0f28 asus-z010d: new device (MR 1757)
Device: Asus Zenfone Max ZC550KL
MSM8916
Mainline Kernel

Works:
- Boots
- external sdcard
- Wifi/bt
- Display
- Touchscreen

I'm still working on this device. You can expect more things to work in
the future.
2020-11-27 14:27:41 +01:00
Minecrell b3248bfd32 device/community/soc-qcom-msm8916: fix regressions after PA update (MR 1760)
New upstream ALSA/PulseAudio release, new UCM regressions - of course!
Introduce some new hacks to make the ALSA UCM configurations work again.

This fixes weird "Combination of Speaker,Primary Microphone" outputs
appearing in the PulseAudio mixer.

And while we're at it, some minor improvements/additions:

  - Default to Speaker/PrimaryMic instead of Headphones/Headset
    I believe this is just a workaround until headphones detection
    works properly.

  - Add UCM configurations for oppo-a51f and lenovo-a6010
2020-11-26 11:45:14 +01:00
Oliver Smith 881a86068d cross/busybox-static-*: upgrade to 1.32.0-r7 2020-11-26 10:25:15 +01:00
clayton craft 1340cffecf temp/dino: fork from Alpine to build feature/handy mobile UI branch (MR 1754)
This packages the libhandy work in dino's feature/handy branch, which
makes the UI quite usable on mobile displays. A couple of windows don't
work well yet (e.g., the setting window), but chatting/omemo/file
transfer all work pretty well.
2020-11-25 22:36:01 -08:00
Oliver Smith 6e3ddf62d7 main/mobile-config-firefox: upgrade to 2.0.0 (MR 1758) 2020-11-25 22:32:50 +01:00
Oliver Smith a77d4ed26a main/linux-postmarketos-allwinner: upgrade to 5.9.10_git20201123 (MR 1755)
[ci:skip-build]: already built successfully in CI
2020-11-25 14:31:29 +01:00
Oliver Smith 2faf47adec cross/gcc-*: upgrade to 10.2.1_pre0-r3 2020-11-25 11:59:13 +01:00
M0Rf30 0a20973d44 linux-xiaomi-vince: Update to 4.9.245 (MR 1749)
[ci:skip-build]: already built successfully in CI
2020-11-24 12:00:45 +01:00
Alexey Min 8bc2cacd9f device-samsung-klte: several small fixes (MR 1746)
* Mainline kernel: enable installation of Wi-Fi firmware.
  Now that we have Wi-Fi support in mainline kernel, use it.
* Mainline kernel: adjust description of mainline kernel
  subpackage; we still cannot recommend it over downstream,
  but it is not so experimental anymore.
* Downstream kernel: add workaround for broken SSH:
  use dropbear instead of openssh server. See #808
  https://gitlab.com/postmarketOS/pmaports/-/issues/808
2020-11-23 11:57:56 +01:00
Bart Ribbers 915d11748a kde/neochat: new aport (MR 1737) 2020-11-22 11:07:11 +01:00
Bart Ribbers dcf939622b temp/geary: fork from Alpine to apply Purism's mobile patches (MR 1358)
[ci:skip-build]: already built successfully in CI
2020-11-21 13:54:56 -08:00
Alexey Min f729822823 linux-postmarketos-qcom-msm8974: improve device support (MR 1745)
Battery percentage monitoring support:
 * lg-hammerhead
 * samsung-klte

Mobile internet support:
 * fairphone-fp2

QCOM_SOCINFO for querying information from the SoC

[ci:skip-build]: already built successfully in CI
2020-11-21 13:52:01 -08:00
Maarten van Gompel 68ef03efbc temp/modemmanager: Fix sending SMS with UTF-16 characters (MR 1714)
Upstream: no

Patch recommended by Aleksander Morgado in upstream issue, until a proper
fix is developed:
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/274#note_671679
2020-11-21 13:35:29 -08:00
Luca Weiss a27209ac29 main/qt5-qtsystems: enable all arches (MR 1747)
[ci:skip-vercheck]
2020-11-21 17:03:51 +01:00
Luca Weiss e455700135 main/dbus-test-runner: remove 2020-11-21 12:02:52 +01:00
1215 changed files with 105743 additions and 32664 deletions

No files matched your search

+4 -3
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright 2020 Oliver Smith
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import sys
@@ -15,8 +15,9 @@ import pmb.helpers.pmaports
def build_strict(packages, arch):
common.run_pmbootstrap(["build_init"])
common.run_pmbootstrap(["--details-to-stdout", "build", "--strict",
"--force", "--arch", arch] + list(packages))
common.run_pmbootstrap(["--details-to-stdout", "--no-ccache", "build",
"--strict", "--force",
"--arch", arch, ] + list(packages))
def verify_checksums(packages, arch):
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright 2020 Oliver Smith
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import glob
+9 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright 2020 Oliver Smith
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import argparse
@@ -16,6 +16,14 @@ def get_devices():
"/..")))
for path in glob.glob(pmaports + "/device/*/device-*/"):
device = os.path.dirname(path).split("device-", 1)[1]
# -downstream suffix is used when packaging the downstream kernel for
# devices that have a working mainline kernel. Those are usually
# unmaintained and therefore might not appear in the wiki. However,
# the main device should be documented (remove the -downstream suffix).
if device.endswith('-downstream'):
device = device[:-len('-downstream')]
ret.append(device)
return sorted(ret)
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright 2020 Oliver Smith
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
# Various functions used in CI scripts
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/sh -e
# Copyright 2020 Oliver Smith
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
if [ -z "$1" ]; then
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/sh -e
# Copyright 2020 Oliver Smith
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
# Require pmbootstrap
+3 -3
View File
@@ -1,5 +1,5 @@
#!/bin/sh -e
# Copyright 2020 Oliver Smith
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
set -e
@@ -15,8 +15,7 @@ fi
# Shell: shellcheck
sh_files="
./main/postmarketos-base/firmwareload.sh
./main/postmarketos-base/elogind-system-suspend-disable-conditions.hook
./main/postmarketos-base/rootfs-usr-lib-firmwareload.sh
./main/postmarketos-mkinitfs/init.sh.in
./main/postmarketos-mkinitfs/init_functions.sh
./main/postmarketos-mkinitfs/mkinitfs.sh
@@ -36,6 +35,7 @@ sh_files="
$(find . -name '*.trigger')
$(find . -path './main/devicepkg-dev/*.sh')
$(find . -path './main/postmarketos-mvcfg/*.sh')
$(find . -path '.gitlab-ci/*.sh')
"
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright 2020 Oliver Smith
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import shutil
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/env python3
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import add_pmbootstrap_to_import_path
import pmb.parse
import pytest
import sys
import os
@pytest.fixture
def args(request):
# Initialize args
pmaports = os.path.realpath(f"{os.path.dirname(__file__)}/../..")
sys.argv = ["pmbootstrap",
"--aports", pmaports,
"--log", "$WORK/log_testsuite_pmaports.txt"
"chroot"]
args = pmb.parse.arguments()
# Initialize logging
pmb.helpers.logging.init(args)
request.addfinalizer(args.logfd.close)
return args
-244
View File
@@ -1,244 +0,0 @@
#!/usr/bin/env python3
# Copyright 2020 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import glob
import pytest
import sys
import os
import add_pmbootstrap_to_import_path
import pmb.parse
import pmb.parse._apkbuild
import pmb.parse.apkindex
import pmb.helpers.repo
@pytest.fixture
def args(request):
# Initialize args
sys.argv = ["pmbootstrap",
"--aports", os.path.dirname(__file__) + "/../..",
"--log", "$WORK/log_testsuite_pmaports.txt"
"chroot"]
args = pmb.parse.arguments()
# Initialize logging
pmb.helpers.logging.init(args)
request.addfinalizer(args.logfd.close)
return args
def deviceinfo_obsolete(info):
"""
Test for obsolete options used in the deviceinfo file. They must still be
defined in pmbootstrap's config/__init__.py.
"""
obsolete_options = ["weston_pixman_type"]
for option in obsolete_options:
if info[option]:
raise RuntimeError("option '" + option + "' is obsolete, please"
" remove it (reasons for removal are at"
" <https://postmarketos.org/deviceinfo>)")
def test_deviceinfo(args):
"""
Parse all deviceinfo files successfully and run checks on the parsed data.
"""
# Iterate over all devices
last_exception = None
count = 0
for folder in glob.glob(args.aports + "/device/*/device-*"):
device = folder[len(args.aports):].split("-", 1)[1]
try:
# Successful deviceinfo parsing / obsolete options
info = pmb.parse.deviceinfo(args, device)
deviceinfo_obsolete(info)
# deviceinfo_name must start with manufacturer
name = info["name"]
manufacturer = info["manufacturer"]
if not name.startswith(manufacturer) and \
not name.startswith("Google"):
raise RuntimeError("Please add the manufacturer in front of"
" the deviceinfo_name, e.g.: '" +
manufacturer + " " + name + "'")
# Don't abort on first error
except Exception as e:
last_exception = e
count += 1
print(device + ": " + str(e))
# Raise the last exception
if last_exception:
print("deviceinfo error count: " + str(count))
raise last_exception
def device_dependency_check(apkbuild, path):
""" Raise an error if a device package has a dependency that is not allowed
(e.g. because it should be in a subpackage instead). """
# asus-me176c: without this, the device will simply run the broken ACPI
# DSDT table, so we might as well update it. See pmaports!699.
firmware_ok = {"device-asus-me176c": ["firmware-asus-me176c-acpi"]}
pkgname = apkbuild["pkgname"]
for depend in apkbuild["depends"]:
if (depend.startswith("firmware-") or
depend.startswith("linux-firmware")):
if pkgname in firmware_ok and depend in firmware_ok[pkgname]:
continue
raise RuntimeError("Firmware package '" + depend + "' found in"
" depends of " + path + ". These go into"
" subpackages now, see"
" <https://postmarketos.org/devicepkg>.")
def test_aports_kernel(args):
"""
Various tests performed on the /**/linux-* aports.
"""
for path in glob.iglob(args.aports + "**/linux-*/APKBUILD", recursive=True):
apkbuild = pmb.parse.apkbuild(args, path)
if "pmb:cross-native" not in apkbuild["options"]:
raise RuntimeError("\"pmb:cross-native\" missing in"
f" options= line: {path}")
def test_aports_device(args):
"""
Various tests performed on the /device/*/device-* aports.
"""
for path in glob.iglob(args.aports + "/device/*/device-*/APKBUILD"):
apkbuild = pmb.parse.apkbuild(args, path)
# Depends: Require "postmarketos-base"
if "postmarketos-base" not in apkbuild["depends"]:
raise RuntimeError("Missing 'postmarketos-base' in depends of " +
path)
# Depends: Must not have firmware packages
for depend in apkbuild["depends"]:
device_dependency_check(apkbuild, path)
# Architecture
device = apkbuild["pkgname"][len("device-"):]
deviceinfo = pmb.parse.deviceinfo(args, device)
if "".join(apkbuild["arch"]) != deviceinfo["arch"]:
raise RuntimeError("wrong architecture, please change to arch=\"" +
deviceinfo["arch"] + "\": " + path)
if "!archcheck" not in apkbuild["options"]:
raise RuntimeError("!archcheck missing in options= line: " + path)
def test_aports_device_kernel(args):
"""
Verify the kernels specified in the device packages:
* Kernel must not be in depends when kernels are in subpackages
* Check if only one kernel is defined in depends
"""
# Iterate over device aports
for path in glob.glob(args.aports + "/device/*/device-*/APKBUILD"):
# Parse apkbuild and kernels from subpackages
apkbuild = pmb.parse.apkbuild(args, path)
device = apkbuild["pkgname"][len("device-"):]
kernels_subpackages = pmb.parse._apkbuild.kernels(args, device)
# Parse kernels from depends
kernels_depends = []
for depend in apkbuild["depends"]:
if not depend.startswith("linux-"):
continue
kernels_depends.append(depend)
# Kernel in subpackages *and* depends
if kernels_subpackages:
raise RuntimeError("Kernel package '" + depend + "' needs to"
" be removed when using kernel" +
" subpackages: " + path)
# No kernel
if not kernels_depends and not kernels_subpackages:
raise RuntimeError("Device doesn't have a kernel in depends or"
" subpackages: " + path)
# Multiple kernels in depends
if len(kernels_depends) > 1:
raise RuntimeError("Please use kernel subpackages instead of"
" multiple kernels in depends (see"
" <https://postmarketos.org/devicepkg>): " +
path)
def test_aports_unreferenced_files(args):
"""
Raise an error if an unreferenced file is found
"""
for apkbuild_path in glob.iglob(args.aports + "/**/APKBUILD", recursive=True):
print(f"Checking {apkbuild_path}...")
apkbuild = pmb.parse.apkbuild(args, apkbuild_path)
# Collect install files from subpackages
subpackage_installs = []
if apkbuild["subpackages"]:
for subpackage in apkbuild["subpackages"].values():
if not subpackage:
continue
try:
subpackage_installs += subpackage["install"]
except KeyError:
continue
# Collect trigger files
trigger_sources = []
if apkbuild["triggers"]:
for trigger in apkbuild["triggers"]:
trigger_sources.append(trigger.split("=")[0])
dirname = os.path.dirname(apkbuild_path)
for file in glob.iglob(dirname + "/**", recursive=True):
rel_file_path = os.path.relpath(file, dirname)
# Skip APKBUILDs and directories
if rel_file_path == "APKBUILD" or os.path.isdir(file):
continue
if rel_file_path not in apkbuild["source"] \
and rel_file_path not in apkbuild["install"] \
and rel_file_path not in subpackage_installs \
and rel_file_path not in trigger_sources:
raise RuntimeError(f"{apkbuild_path}: found unreferenced file: {rel_file_path}")
def test_aports_ui(args):
"""
Raise an error if package in _pmb_recommends is not found
"""
for arch in pmb.config.build_device_architectures:
for path in glob.iglob(args.aports + "/main/postmarketos-ui-*/APKBUILD"):
apkbuild = pmb.parse.apkbuild(args, path)
# Skip if arch isn't enabled
if not pmb.helpers.package.check_arch(args, apkbuild["pkgname"], arch, False):
continue
for package in apkbuild["_pmb_recommends"]:
depend = pmb.helpers.package.get(args, package,
arch, must_exist=False)
if depend is None or not pmb.helpers.package.check_arch(args, package, arch):
raise RuntimeError(f"{path}: package '{package}' from"
f" _pmb_recommends not found for arch '{arch}'")
# Check packages from "_pmb_recommends" of -extras subpackage if one exists
if f"{apkbuild['pkgname']}-extras" in apkbuild["subpackages"]:
apkbuild = apkbuild["subpackages"][f"{apkbuild['pkgname']}-extras"]
for package in apkbuild["_pmb_recommends"]:
depend = pmb.helpers.package.get(args, package,
arch, must_exist=False)
if depend is None or not pmb.helpers.package.check_arch(args, package, arch):
raise RuntimeError(f"{path}: package '{package}' from _pmb_recommends "
f"of -extras subpackage is not found for arch '{arch}'")
+128
View File
@@ -0,0 +1,128 @@
#!/usr/bin/env python3
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import glob
import pytest
import sys
import os
import add_pmbootstrap_to_import_path
import pmb.parse
import pmb.parse._apkbuild
def device_dependency_check(apkbuild, path):
""" Raise an error if a device package has a dependency that is not allowed
(e.g. because it should be in a subpackage instead). """
# asus-me176c: without this, the device will simply run the broken ACPI
# DSDT table, so we might as well update it. See pmaports!699.
firmware_ok = {"device-asus-me176c": ["firmware-asus-me176c-acpi"]}
pkgname = apkbuild["pkgname"]
for depend in apkbuild["depends"]:
if (depend.startswith("firmware-") or
depend.startswith("linux-firmware")):
if pkgname in firmware_ok and depend in firmware_ok[pkgname]:
continue
raise RuntimeError("Firmware package '" + depend + "' found in"
" depends of " + path + ". These go into"
" subpackages now, see"
" <https://postmarketos.org/devicepkg>.")
def test_aports_device(args):
"""
Various tests performed on the /device/*/device-* aports.
"""
for path in glob.iglob(args.aports + "/device/*/device-*/APKBUILD"):
apkbuild = pmb.parse.apkbuild(args, path)
# Depends: Require "postmarketos-base"
if "postmarketos-base" not in apkbuild["depends"]:
raise RuntimeError("Missing 'postmarketos-base' in depends of " +
path)
# Depends: Must not have firmware packages
for depend in apkbuild["depends"]:
device_dependency_check(apkbuild, path)
# Architecture
device = apkbuild["pkgname"][len("device-"):]
deviceinfo = pmb.parse.deviceinfo(args, device)
if "".join(apkbuild["arch"]) != deviceinfo["arch"]:
raise RuntimeError("wrong architecture, please change to arch=\"" +
deviceinfo["arch"] + "\": " + path)
if "!archcheck" not in apkbuild["options"]:
raise RuntimeError("!archcheck missing in options= line: " + path)
def test_aports_device_kernel(args):
"""
Verify the kernels specified in the device packages:
* Kernel must not be in depends when kernels are in subpackages
* Check if only one kernel is defined in depends
"""
# Iterate over device aports
for path in glob.glob(args.aports + "/device/*/device-*/APKBUILD"):
# Parse apkbuild and kernels from subpackages
apkbuild = pmb.parse.apkbuild(args, path)
device = apkbuild["pkgname"][len("device-"):]
kernels_subpackages = pmb.parse._apkbuild.kernels(args, device)
# Parse kernels from depends
kernels_depends = []
for depend in apkbuild["depends"]:
if not depend.startswith("linux-"):
continue
kernels_depends.append(depend)
# Kernel in subpackages *and* depends
if kernels_subpackages:
raise RuntimeError("Kernel package '" + depend + "' needs to"
" be removed when using kernel" +
" subpackages: " + path)
# No kernel
if not kernels_depends and not kernels_subpackages:
raise RuntimeError("Device doesn't have a kernel in depends or"
" subpackages: " + path)
# Multiple kernels in depends
if len(kernels_depends) > 1:
raise RuntimeError("Please use kernel subpackages instead of"
" multiple kernels in depends (see"
" <https://postmarketos.org/devicepkg>): " +
path)
def test_aports_maintained(args):
"""
Ensure that aports in /device/{main,community} have "Maintainer:" and
"Co-Maintainer:" (only required for main) listed in their APKBUILDs.
"""
for path in glob.iglob(f"{args.aports}/device/main/*/APKBUILD"):
if '/firmware-' in path:
continue
maintainers = pmb.parse._apkbuild.maintainers(path)
assert maintainers and len(maintainers) >= 2, \
f"{path} in main needs at least 1 Maintainer and 1 Co-Maintainer"
for path in glob.iglob(f"{args.aports}/device/community/*/APKBUILD"):
if '/firmware-' in path:
continue
maintainers = pmb.parse._apkbuild.maintainers(path)
assert maintainers, f"{path} in community needs at least 1 Maintainer"
def test_aports_unmaintained(args):
"""
Ensure that aports in /device/unmaintained have an "Unmaintained:" comment
that describes why the aport is unmaintained.
"""
for path in glob.iglob(f"{args.aports}/device/unmaintained/*/APKBUILD"):
unmaintained = pmb.parse._apkbuild.unmaintained(path)
assert unmaintained, f"{path} should have an Unmaintained: " +\
"comment that describes why the package is unmaintained"
+60
View File
@@ -0,0 +1,60 @@
#!/usr/bin/env python3
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import glob
import pytest
import sys
import os
import add_pmbootstrap_to_import_path
import pmb.parse
def deviceinfo_obsolete(info):
"""
Test for obsolete options used in the deviceinfo file. They must still be
defined in pmbootstrap's config/__init__.py.
"""
obsolete_options = ["weston_pixman_type"]
for option in obsolete_options:
if info[option]:
raise RuntimeError("option '" + option + "' is obsolete, please"
" remove it (reasons for removal are at"
" <https://postmarketos.org/deviceinfo>)")
def test_deviceinfo(args):
"""
Parse all deviceinfo files successfully and run checks on the parsed data.
"""
# Iterate over all devices
last_exception = None
count = 0
for folder in glob.glob(args.aports + "/device/*/device-*"):
device = folder[len(args.aports):].split("-", 1)[1]
try:
# Successful deviceinfo parsing / obsolete options
info = pmb.parse.deviceinfo(args, device)
deviceinfo_obsolete(info)
# deviceinfo_name must start with manufacturer
name = info["name"]
manufacturer = info["manufacturer"]
if not name.startswith(manufacturer) and \
not name.startswith("Google"):
raise RuntimeError("Please add the manufacturer in front of"
" the deviceinfo_name, e.g.: '" +
manufacturer + " " + name + "'")
# Don't abort on first error
except Exception as e:
last_exception = e
count += 1
print(device + ": " + str(e))
# Raise the last exception
if last_exception:
print("deviceinfo error count: " + str(count))
raise last_exception
@@ -10,10 +10,12 @@ expected_directories = [
"device/community",
"device/main",
"device/testing",
"device/unmaintained",
"kde",
"maemo",
"main",
"modem",
"non-free",
"sxmo",
"temp",
]
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright 2020 Oliver Smith
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
""" Make sure that components of frameworks (Qt, KDE, ...) have the same
@@ -17,21 +17,6 @@ import pmb.config
import pmb.parse
@pytest.fixture
def args(request):
# Initialize args
sys.argv = ["pmbootstrap",
"--aports", os.path.dirname(__file__) + "/../..",
"--log", "$WORK/log_testsuite_pmaports.txt"
"chroot"]
args = pmb.parse.arguments()
# Initialize logging
pmb.helpers.logging.init(args)
request.addfinalizer(args.logfd.close)
return args
def get_categorized_packages(args):
"""
Parse all aports and categorize them.
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/env python3
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import glob
import pytest
import sys
import os
import add_pmbootstrap_to_import_path
import pmb.parse
def test_aports_kernel(args):
"""
Various tests performed on the /**/linux-* aports.
"""
for path in glob.iglob(args.aports + "**/linux-*/APKBUILD", recursive=True):
apkbuild = pmb.parse.apkbuild(args, path)
if "pmb:cross-native" not in apkbuild["options"]:
raise RuntimeError("\"pmb:cross-native\" missing in"
f" options= line: {path}")
+40
View File
@@ -0,0 +1,40 @@
#!/usr/bin/env python3
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import glob
import pytest
import sys
import os
import add_pmbootstrap_to_import_path
import pmb.parse
def test_aports_ui(args):
"""
Raise an error if package in _pmb_recommends is not found
"""
for arch in pmb.config.build_device_architectures:
for path in glob.iglob(args.aports + "/main/postmarketos-ui-*/APKBUILD"):
apkbuild = pmb.parse.apkbuild(args, path)
# Skip if arch isn't enabled
if not pmb.helpers.package.check_arch(args, apkbuild["pkgname"], arch, False):
continue
for package in apkbuild["_pmb_recommends"]:
depend = pmb.helpers.package.get(args, package,
arch, must_exist=False)
if depend is None or not pmb.helpers.package.check_arch(args, package, arch):
raise RuntimeError(f"{path}: package '{package}' from"
f" _pmb_recommends not found for arch '{arch}'")
# Check packages from "_pmb_recommends" of -extras subpackage if one exists
if f"{apkbuild['pkgname']}-extras" in apkbuild["subpackages"]:
apkbuild = apkbuild["subpackages"][f"{apkbuild['pkgname']}-extras"]
for package in apkbuild["_pmb_recommends"]:
depend = pmb.helpers.package.get(args, package,
arch, must_exist=False)
if depend is None or not pmb.helpers.package.check_arch(args, package, arch):
raise RuntimeError(f"{path}: package '{package}' from _pmb_recommends "
f"of -extras subpackage is not found for arch '{arch}'")
@@ -0,0 +1,97 @@
#!/usr/bin/env python3
# Copyright 2021 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import glob
import pytest
import sys
import os
import add_pmbootstrap_to_import_path
import pmb.parse
import pmb.parse._apkbuild
import pmb.parse.apkindex
import pmb.helpers.repo
def parse_source_from_checksums(args, apkbuild_path):
"""
Read the APKBUILD file and parse source files from the checksums at the
bottom. This has always the same format, even if $source is built with hard
to parse shell code (like in postmarketos-base).
:param apkbuild_path: full path to the APKBUILD
:returns: list of parsed "source" files, e.g.:
["first.patch", "second.patch"]
"""
start = 'sha512sums="'
in_block = False
ret = []
with open(apkbuild_path, encoding="utf-8") as handle:
for line in handle.readlines():
# Find start
if not in_block:
if line.startswith(start):
in_block = True
else:
continue
# sha512sums may have lines without checksums:
# https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/73
if " " not in line:
continue
try:
_, filename = line.rstrip().split(" ", 2)
except ValueError:
raise ValueError("Failed to parse checksums. Try to delete the"
" checksums and generate them again with"
f" 'pmbootstrap checksum': {apkbuild_path}")
# Find end
if filename.endswith('"'):
ret += [filename[:-1]]
break
ret += [filename]
return ret
def test_aports_unreferenced_files(args):
"""
Raise an error if an unreferenced file is found
"""
for apkbuild_path in glob.iglob(args.aports + "/**/APKBUILD", recursive=True):
apkbuild = pmb.parse.apkbuild(args, apkbuild_path)
sources_chk = parse_source_from_checksums(args, apkbuild_path)
# Collect install files from subpackages
subpackage_installs = []
if apkbuild["subpackages"]:
for subpackage in apkbuild["subpackages"].values():
if not subpackage:
continue
try:
subpackage_installs += subpackage["install"]
except KeyError:
continue
# Collect trigger files
trigger_sources = []
if apkbuild["triggers"]:
for trigger in apkbuild["triggers"]:
trigger_sources.append(trigger.split("=")[0])
dirname = os.path.dirname(apkbuild_path)
for file in glob.iglob(dirname + "/**", recursive=True):
rel_file_path = os.path.relpath(file, dirname)
# Skip APKBUILDs and directories
if rel_file_path == "APKBUILD" or os.path.isdir(file):
continue
if os.path.basename(rel_file_path) not in sources_chk \
and rel_file_path not in apkbuild["install"] \
and rel_file_path not in subpackage_installs \
and rel_file_path not in trigger_sources:
raise RuntimeError(f"{apkbuild_path}: found unreferenced file: {rel_file_path}")
+9
View File
@@ -0,0 +1,9 @@
# https://docs.gitlab.com/ee/user/project/code_owners.html
device/*/*-pine64-pinephone/ @craftyguy @milesalan
device/*/*-purism-librem5/ @craftyguy
main/osk-sdl/ @craftyguy
main/mesa-pvr-dri-classic/ @xc-racer99
temp/u-boot-librem5/ @craftyguy
# vim: ts=4 sw=4 et
+12 -2
View File
@@ -3,13 +3,23 @@
recommended=edge
[edge]
description=Rolling release channel
description=Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
branch_pmaports=master
branch_aports=master
mirrordir_alpine=edge
# NOTE: "stable", "stable-next" are actually "v20.05" and "v21.03". They will
# get changed in this file in the near future, keeping the old names for a bit
# to give everybody time to upgrade to pmbootstrap 1.30.0. More information:
# https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2015
[stable-next]
description=Latest release / Recommended for best stability
branch_pmaports=v21.03
branch_aports=3.13-stable
mirrordir_alpine=v3.13
[stable]
description=Stable release channel (first beta v20.05, does not have many devices yet)
description=Old release (unsupported)
branch_pmaports=v20.05
branch_aports=3.12-stable
mirrordir_alpine=v3.12
+3 -3
View File
@@ -3,8 +3,8 @@
# Based on: main/binutils
pkgname=binutils-aarch64
pkgver=2.35.1
pkgrel=1
pkgver=2.35.2
pkgrel=0
pkgdesc="Tools necessary to build programs for aarch64 targets"
url="https://www.gnu.org/software/binutils/"
makedepends="gettext libtool autoconf automake bison texinfo"
@@ -60,7 +60,7 @@ package() {
sha512sums="94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb binutils-2.35.1.tar.xz
sha512sums="9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 binutils-2.35.2.tar.xz
ecee33b0e435aa704af1c334e560f201638ff79e199aa11ed78a72f7c9b46f85fbb227af5748e735fd681d1965fcc42ac81b0c8824e540430ce0c706c81e8b49 binutils-ld-fix-static-linking.patch
f55cf2e0bf82f97583a1abe10710e4013ecf7d64f1da2ef8659a44a06d0dd8beaf58dab98a183488ea137f03e32d62efc878d95f018f836f8cec870bc448556f gold-mips.patch
314d2ef9071c89940aa6c8118e8a1e2f191a5d0a4bf596da1ad9cc84f884d8bc7dea8bd7b9fc3f8f1bddd3fd41c6eb017e1e804044b3bf084df1ed9e6e095e2d ld-bfd-mips.patch
+3 -3
View File
@@ -3,8 +3,8 @@
# Based on: main/binutils
pkgname=binutils-armhf
pkgver=2.35.1
pkgrel=1
pkgver=2.35.2
pkgrel=0
pkgdesc="Tools necessary to build programs for armhf targets"
url="https://www.gnu.org/software/binutils/"
makedepends="gettext libtool autoconf automake bison texinfo"
@@ -60,7 +60,7 @@ package() {
sha512sums="94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb binutils-2.35.1.tar.xz
sha512sums="9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 binutils-2.35.2.tar.xz
ecee33b0e435aa704af1c334e560f201638ff79e199aa11ed78a72f7c9b46f85fbb227af5748e735fd681d1965fcc42ac81b0c8824e540430ce0c706c81e8b49 binutils-ld-fix-static-linking.patch
f55cf2e0bf82f97583a1abe10710e4013ecf7d64f1da2ef8659a44a06d0dd8beaf58dab98a183488ea137f03e32d62efc878d95f018f836f8cec870bc448556f gold-mips.patch
314d2ef9071c89940aa6c8118e8a1e2f191a5d0a4bf596da1ad9cc84f884d8bc7dea8bd7b9fc3f8f1bddd3fd41c6eb017e1e804044b3bf084df1ed9e6e095e2d ld-bfd-mips.patch
+3 -3
View File
@@ -3,8 +3,8 @@
# Based on: main/binutils
pkgname=binutils-armv7
pkgver=2.35.1
pkgrel=1
pkgver=2.35.2
pkgrel=0
pkgdesc="Tools necessary to build programs for armv7 targets"
url="https://www.gnu.org/software/binutils/"
makedepends="gettext libtool autoconf automake bison texinfo"
@@ -60,7 +60,7 @@ package() {
sha512sums="94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb binutils-2.35.1.tar.xz
sha512sums="9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 binutils-2.35.2.tar.xz
ecee33b0e435aa704af1c334e560f201638ff79e199aa11ed78a72f7c9b46f85fbb227af5748e735fd681d1965fcc42ac81b0c8824e540430ce0c706c81e8b49 binutils-ld-fix-static-linking.patch
f55cf2e0bf82f97583a1abe10710e4013ecf7d64f1da2ef8659a44a06d0dd8beaf58dab98a183488ea137f03e32d62efc878d95f018f836f8cec870bc448556f gold-mips.patch
314d2ef9071c89940aa6c8118e8a1e2f191a5d0a4bf596da1ad9cc84f884d8bc7dea8bd7b9fc3f8f1bddd3fd41c6eb017e1e804044b3bf084df1ed9e6e095e2d ld-bfd-mips.patch
+3 -3
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=busybox-static-aarch64
pkgver=1.32.0
pkgrel=4
pkgver=1.33.0
pkgrel=5
_arch="aarch64"
_mirror="http://dl-2.alpinelinux.org/alpine/"
@@ -31,4 +31,4 @@ package() {
rm .PKGINFO .SIGN.*
}
sha512sums="c101e490becccf14381bece807738bf29827d53f7d803b198068f7ecf420d46b77701185da98faa3cc19ea2b6a2ac6b564665e0dedb5aa56cb59f1a4931f278b busybox-static-1.32.0-r4-aarch64-edge.apk"
sha512sums="816f62deb3473d7c430cf3babf537e559cb68667673c8e9f41b3603603b3049e5e8c6bf86ce82a4b8545ea20afc7e635a33eb2c0f0305ac2a20ae1495050c381 busybox-static-1.33.0-r5-aarch64-edge.apk"
+3 -3
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=busybox-static-armhf
pkgver=1.32.0
pkgrel=4
pkgver=1.33.0
pkgrel=5
_arch="armhf"
_mirror="http://dl-2.alpinelinux.org/alpine/"
@@ -31,4 +31,4 @@ package() {
rm .PKGINFO .SIGN.*
}
sha512sums="52acbc4b39adf80b5c31cc221aee96666327803c1b5eb70377e245b3cdc4da05bd81d095b4a8e7d01a8c2e379198e5ae4df0c7d21dc7fa6a7843b3e64460b382 busybox-static-1.32.0-r4-armhf-edge.apk"
sha512sums="08b21b30f67b84ebdbb36108c7e911046bd027cb3c8c4a50aba796e0b8a59f0786859c30387f241696024c174ad658184428262546ef865e31d705f787adc740 busybox-static-1.33.0-r5-armhf-edge.apk"
+3 -3
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=busybox-static-armv7
pkgver=1.32.0
pkgrel=4
pkgver=1.33.0
pkgrel=5
_arch="armv7"
_mirror="http://dl-2.alpinelinux.org/alpine/"
@@ -31,4 +31,4 @@ package() {
rm .PKGINFO .SIGN.*
}
sha512sums="fcc7619f591b44992b03268dff2c0cfade24577bcb277006794c628f8de7093107a0c191f320e7d2e307aa0680be3b93d2e433a1d1527c035f966ecdb8ed7b0f busybox-static-1.32.0-r4-armv7-edge.apk"
sha512sums="7f576e91a9b19e4b33833655ca87cba19cd6e0a2e25c2809f4c651315bb7c63e196a8d6f68276cc0ca4830c8980ca369d1e5ec5b8b8912838b48b0e6b7be7f67 busybox-static-1.33.0-r5-armv7-edge.apk"
+3 -3
View File
@@ -1,7 +1,7 @@
From 4ed2cc3054f444c683f54954c32e586a54066337 Mon Sep 17 00:00:00 2001
From 56ba7da205f1ec49b1379ab40d533c2e2d70a1a7 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Fri, 26 Jan 2018 20:32:50 +0000
Subject: [PATCH 01/40] posix_memalign
Subject: [PATCH] posix_memalign
---
gcc/config/i386/pmm_malloc.h | 9 +++++----
@@ -38,5 +38,5 @@ index 87344d9383f..ece428df487 100644
else
return NULL;
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 09a32a40b34477cd787deb12833c063a09dea7b2 Mon Sep 17 00:00:00 2001
From 4c53f798c9823dcfc7fe8e2dd26de0077545069d Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 08:59:00 +0400
Subject: [PATCH 02/40] gcc: poison-system-directories
Subject: [PATCH] gcc: poison-system-directories
Add /sw/include and /opt/include based on the original
zecke-no-host-includes.patch patch. The original patch checked for
@@ -26,7 +26,7 @@ Upstream-Status: Pending
7 files changed, 68 insertions(+)
diff --git a/gcc/common.opt b/gcc/common.opt
index dfed6ec76ba..8bb65e0e1af 100644
index 9cc47b16cac..d8b2e237d89 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -682,6 +682,10 @@ Wreturn-local-addr
@@ -58,7 +58,7 @@ index 364eba47737..9551c0dfdf9 100644
optimizer and back end) to be checked for dynamic type safety at runtime.
This is quite expensive. */
diff --git a/gcc/configure b/gcc/configure
index b4088d8fd1e..793530e21cf 100755
index 8fe9c91fd7c..17b878e4b4e 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -1010,6 +1010,7 @@ with_system_zlib
@@ -78,7 +78,7 @@ index b4088d8fd1e..793530e21cf 100755
--enable-plugin enable plugin support
--enable-host-shared build host code as shared libraries
--disable-libquadmath-support
@@ -30271,6 +30274,19 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
@@ -30276,6 +30279,19 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
fi
@@ -99,10 +99,10 @@ index b4088d8fd1e..793530e21cf 100755
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 070b9c6c497..0fd438e39e5 100644
index 84dceb8074a..bf64ffbe46f 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -6605,6 +6605,16 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
@@ -6608,6 +6608,16 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
[specify that runtime libraries should be
installed in a compiler-specific directory])])
@@ -120,7 +120,7 @@ index 070b9c6c497..0fd438e39e5 100644
AC_SUBST(subdirs)
AC_SUBST(srcdir)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 0d532a64bfe..86e57038042 100644
index 0c1b5975e6b..ede239a0ccd 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -348,6 +348,7 @@ Objective-C and Objective-C++ Dialects}.
@@ -199,5 +199,5 @@ index 8a2bda00f80..9098ab044ab 100644
/* Use given -I paths for #include "..." but not #include <...>, and
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 77e75a23e9bdf8863823225567c509b6fed49e6e Mon Sep 17 00:00:00 2001
From caf66e830299ba0a865041800ea9b32a3091f141 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:45:49 +0000
Subject: [PATCH 03/40] Turn on -Wl,-z,relro,-z,now by default.
Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default.
---
gcc/doc/invoke.texi | 3 +++
@@ -9,10 +9,10 @@ Subject: [PATCH 03/40] Turn on -Wl,-z,relro,-z,now by default.
2 files changed, 4 insertions(+)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 86e57038042..87ff404bc20 100644
index ede239a0ccd..43d02c26a1a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -14645,6 +14645,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the
@@ -14663,6 +14663,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the
linker. When using the GNU linker, you can also get the same effect with
@option{-Wl,-Map=output.map}.
@@ -35,5 +35,5 @@ index b2200c5185a..625c9ab7902 100644
%{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!r:%{!nostartfiles:%S}}} \
%{Wno-poison-system-directories:--no-poison-system-directories} \
--
2.29.2
2.31.0
@@ -1,8 +1,8 @@
From 3b76b0c848746d4adbc4e8db408efd41aefb829c Mon Sep 17 00:00:00 2001
From 48413b53fb7c9d780b55b84eaf6c70f154719907 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:22 +0000
Subject: [PATCH 04/40] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++,
ObjC, ObjC++, if the optimization level is > 0
Subject: [PATCH] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++, ObjC,
ObjC++, if the optimization level is > 0
---
gcc/c-family/c-cppbuiltin.c | 4 ++++
@@ -25,7 +25,7 @@ index db91a36794a..ed976c71404 100644
if (flag_gnu89_inline)
cpp_define (pfile, "__GNUC_GNU_INLINE__");
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 87ff404bc20..01e67e97491 100644
index 43d02c26a1a..78469ebe55d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -9230,6 +9230,12 @@ also turns on the following optimization flags:
@@ -42,5 +42,5 @@ index 87ff404bc20..01e67e97491 100644
@opindex O3
Optimize yet more. @option{-O3} turns on all optimizations specified
--
2.29.2
2.31.0
@@ -1,8 +1,8 @@
From 483912c560424ee8b5cc996990d45802671fc73f Mon Sep 17 00:00:00 2001
From 31ec8fceef33284c4ed3ca4bb97e4a24eb088265 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:56 +0000
Subject: [PATCH 05/40] On linux targets pass --as-needed by default to the
linker, but always link the sanitizer libraries with --no-as-needed.
Subject: [PATCH] On linux targets pass --as-needed by default to the linker,
but always link the sanitizer libraries with --no-as-needed.
---
gcc/config/aarch64/aarch64-linux.h | 1 +
@@ -265,5 +265,5 @@ index 625c9ab7902..7aec9d3a016 100644
#else
#define LIBUBSAN_SPEC "-lubsan" STATIC_LIBUBSAN_LIBS
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From c57a8b43401ca9a1b889fa9fd421ac49c3dbd380 Mon Sep 17 00:00:00 2001
From 1a17780987ee63da34d330e9a2b186751c929c46 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:47:43 +0000
Subject: [PATCH 06/40] Enable -Wformat and -Wformat-security by default.
Subject: [PATCH] Enable -Wformat and -Wformat-security by default.
---
gcc/c-family/c.opt | 4 ++--
@@ -30,5 +30,5 @@ index c49da99d395..93f25319005 100644
Wformat-overflow=
--
2.29.2
2.31.0
@@ -1,14 +1,14 @@
From a58dad2c52639422671ac6986c36e48499fc2f20 Mon Sep 17 00:00:00 2001
From 901acffb0caae749c5b830d01a6e858f34311cd5 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:48:24 +0000
Subject: [PATCH 07/40] Enable -Wtrampolines by default.
Subject: [PATCH] Enable -Wtrampolines by default.
---
gcc/common.opt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/common.opt b/gcc/common.opt
index 8bb65e0e1af..ace932b300d 100644
index d8b2e237d89..5087ae84d49 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -774,7 +774,7 @@ Common Var(warn_system_headers) Warning
@@ -21,5 +21,5 @@ index 8bb65e0e1af..ace932b300d 100644
Wtype-limits
--
2.29.2
2.31.0
@@ -1,8 +1,8 @@
From 98b2b8f7de60ed1b6b7602124ef6db278cf3c212 Mon Sep 17 00:00:00 2001
From 4d09aa762edd682ffb7665b21f7ecd6e1cf90a3f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:49:40 +0000
Subject: [PATCH 08/40] Disable ssp on -nostdlib, -nodefaultlibs and
-ffreestanding Change the buffer size.
Subject: [PATCH] Disable ssp on -nostdlib, -nodefaultlibs and -ffreestanding
Change the buffer size.
---
gcc/gcc.c | 8 +++++++-
@@ -49,5 +49,5 @@ index 4aec480798b..eaecfab37ad 100644
-param=stack-clash-protection-guard-size=
--
2.29.2
2.31.0
@@ -1,8 +1,8 @@
From 035775ef38206ed2859500efe5fb42ceec2e858d Mon Sep 17 00:00:00 2001
From e9b5aa5bb3788b2600a719d3b5ed56e3397ec0ad Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:50:33 +0000
Subject: [PATCH 09/40] Ensure that msgfmt doesn't encounter problems during
gcc bootstrapping.
Subject: [PATCH] Ensure that msgfmt doesn't encounter problems during gcc
bootstrapping.
Solves error messages like the following:
@@ -50,5 +50,5 @@ index a0f84b0cfa0..ab24a47a2fd 100644
all-local: all-local-$(USE_NLS)
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From e9875d74e75c601b95dba677bc9e58c869150212 Mon Sep 17 00:00:00 2001
From d87e3805d5f308798e82008b9b3c3440958b6f20 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:52:07 +0000
Subject: [PATCH 10/40] Don't declare asprintf if defined as a macro.
Subject: [PATCH] Don't declare asprintf if defined as a macro.
---
include/libiberty.h | 3 +++
@@ -24,5 +24,5 @@ index 141cb886a85..fa0e78eb62f 100644
/* Like asprintf but allocates memory without fail. This works like
xmalloc. */
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 764e64bba73a7b7eb5154c8537781412252ed33e Mon Sep 17 00:00:00 2001
From 33b3fa0e5bc57219de066c04beaf4fcd09054812 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:53:00 +0000
Subject: [PATCH 11/40] libiberty: copy PIC objects during build process
Subject: [PATCH] libiberty: copy PIC objects during build process
---
libiberty/Makefile.in | 1 +
@@ -20,5 +20,5 @@ index d6b302e02fd..fd39928546f 100644
else true; fi
--
2.29.2
2.31.0
@@ -1,17 +1,17 @@
From da46d99b1b7661a98064a45bdccf08c1867582b0 Mon Sep 17 00:00:00 2001
From 0538fa07136fefd76a0b958db48cd6a06eaf630c Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:53:36 +0000
Subject: [PATCH 12/40] libitm: disable FORTIFY
Subject: [PATCH] libitm: disable FORTIFY
---
libitm/configure.tgt | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/libitm/configure.tgt b/libitm/configure.tgt
index 04109160e91..107b957ece3 100644
index d1beb5c9ec8..c2b50b95c01 100644
--- a/libitm/configure.tgt
+++ b/libitm/configure.tgt
@@ -46,6 +46,16 @@ if test "$gcc_cv_have_tls" = yes ; then
@@ -47,6 +47,16 @@ if test "$gcc_cv_have_tls" = yes ; then
esac
fi
@@ -29,5 +29,5 @@ index 04109160e91..107b957ece3 100644
# work out any special compilation flags as necessary.
case "${target_cpu}" in
--
2.29.2
2.31.0
+5 -5
View File
@@ -1,7 +1,7 @@
From 354f2a8ceb70f9f6e1688ba41c1cc1c17ac87329 Mon Sep 17 00:00:00 2001
From 7f4a2e2f3ab6b649538f3fd775a6f7a5507de543 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 24 Oct 2015 20:09:53 +0000
Subject: [PATCH 13/40] libgcc_s
Subject: [PATCH] libgcc_s
---
gcc/config/i386/i386-expand.c | 4 ++--
@@ -10,10 +10,10 @@ Subject: [PATCH 13/40] libgcc_s
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/gcc/config/i386/i386-expand.c b/gcc/config/i386/i386-expand.c
index c6033688f51..a60e5162995 100644
index 47d52550e5e..9cb8cc7950e 100644
--- a/gcc/config/i386/i386-expand.c
+++ b/gcc/config/i386/i386-expand.c
@@ -10966,10 +10966,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
@@ -10976,10 +10976,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
{
case IX86_BUILTIN_CPU_INIT:
{
@@ -53,5 +53,5 @@ index 8506a635790..564296f788e 100644
+HOST_LIBGCC2_CFLAGS += -mlong-double-80 $(CET_FLAGS)
CRTSTUFF_T_CFLAGS += $(CET_FLAGS)
--
2.29.2
2.31.0
+7 -7
View File
@@ -1,7 +1,7 @@
From 7fb84007ff62309abffdbddfa751e69c331e82c3 Mon Sep 17 00:00:00 2001
From 6c3e5f01e4ac338e85b1a6b5956699d882705882 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 7 Nov 2015 02:08:05 +0000
Subject: [PATCH 14/40] nopie
Subject: [PATCH] nopie
---
gcc/configure | 27 +++++++++++++++++++++++++++
@@ -9,10 +9,10 @@ Subject: [PATCH 14/40] nopie
2 files changed, 40 insertions(+)
diff --git a/gcc/configure b/gcc/configure
index 793530e21cf..2d874d3defe 100755
index 17b878e4b4e..808570b6c99 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -30779,6 +30779,33 @@ fi
@@ -30784,6 +30784,33 @@ fi
$as_echo "$gcc_cv_no_pie" >&6; }
if test "$gcc_cv_no_pie" = "yes"; then
NO_PIE_FLAG="-no-pie"
@@ -47,10 +47,10 @@ index 793530e21cf..2d874d3defe 100755
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 0fd438e39e5..0b257e687ee 100644
index bf64ffbe46f..9c2571de709 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -6863,6 +6863,19 @@ AC_CACHE_CHECK([for -no-pie option],
@@ -6866,6 +6866,19 @@ AC_CACHE_CHECK([for -no-pie option],
LDFLAGS="$saved_LDFLAGS"])
if test "$gcc_cv_no_pie" = "yes"; then
NO_PIE_FLAG="-no-pie"
@@ -71,5 +71,5 @@ index 0fd438e39e5..0b257e687ee 100644
AC_SUBST([NO_PIE_FLAG])
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 3f764eb6dc371cc48cfdf231cbd40e64b1f2a671 Mon Sep 17 00:00:00 2001
From 66657865719efb0a86ea2ab75511cb326e8aa46f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:57:09 +0000
Subject: [PATCH 15/40] libffi: use __linux__ instead of __gnu_linux__ for musl
Subject: [PATCH] libffi: use __linux__ instead of __gnu_linux__ for musl
---
libffi/src/closures.c | 2 +-
@@ -21,5 +21,5 @@ index 721ff00ea43..22a699c6340 100644
with both write and execute permission. Code compiled when this
option is defined will attempt to map such pages once, but if it
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From b78dea0f8f09d4092bec52b7ada719ead2552dd2 Mon Sep 17 00:00:00 2001
From b8a954b1e4033ff559e312d693c74e90e3f13210 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:57:51 +0000
Subject: [PATCH 16/40] dlang: update zlib binding
Subject: [PATCH] dlang: update zlib binding
---
libphobos/src/std/zlib.d | 266 ++++++++++++++++++++++++++++-----------
@@ -421,5 +421,5 @@ index e6cce240fd5..bd2fe37ebec 100644
}
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 58c529af8a9673b90dc7137065ab788c25b358a8 Mon Sep 17 00:00:00 2001
From 4d1fe9d5df3ab850df21d68c73d2d3c601910288 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:58:22 +0000
Subject: [PATCH 17/40] dlang: fix fcntl on mips, add libucontext dep
Subject: [PATCH] dlang: fix fcntl on mips, add libucontext dep
---
libphobos/configure.tgt | 1 +
@@ -47,5 +47,5 @@ index 9febcff849b..cb34e2108bd 100644
static assert(0, "Platform not supported");
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 2a614f9b702b02c312cd513eddb1fc6745f9a3ad Mon Sep 17 00:00:00 2001
From 04d8d2c7052c0e92825b4246da0df9ac8753701e Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:16 +0000
Subject: [PATCH 18/40] ada: fix shared linking
Subject: [PATCH] ada: fix shared linking
---
gcc/ada/link.c | 12 ++++++------
@@ -38,5 +38,5 @@ index 02c413a412f..f0e52a87d6e 100644
unsigned char __gnat_objlist_file_supported = 1;
const char *__gnat_object_library_extension = ".a";
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From dab36b973223e0d6853f564e845bc22dadcc4d2d Mon Sep 17 00:00:00 2001
From 3da9a00035f6052926918200fdbeff478ff88d28 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:43 +0000
Subject: [PATCH 19/40] build: fix CXXFLAGS_FOR_BUILD passing
Subject: [PATCH] build: fix CXXFLAGS_FOR_BUILD passing
---
Makefile.in | 1 +
@@ -20,5 +20,5 @@ index 36e369df6e7..63627db68cf 100644
# This is the list of directories to built for the host system.
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From ca8a8331acef15d0b3b095b8c63539acd1d93e8b Mon Sep 17 00:00:00 2001
From 1274452fed850d4910aac101aa50c26a2011e15f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:01:06 +0000
Subject: [PATCH 21/40] add fortify-headers paths
Subject: [PATCH] add fortify-headers paths
---
gcc/config/linux.h | 2 ++
@@ -21,5 +21,5 @@ index 95654bcdb5a..d88df8f154a 100644
{ NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 0 },
#else
--
2.29.2
2.31.0
@@ -1,32 +0,0 @@
From c2efb7703c2ef381a8b1d1cd751222e0a7e10665 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:00:17 +0000
Subject: [PATCH 20/40] libstdc++: futex: add time64 compatibility
---
libstdc++-v3/src/c++11/futex.cc | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/libstdc++-v3/src/c++11/futex.cc b/libstdc++-v3/src/c++11/futex.cc
index c9de11a7ec7..7be702dbeda 100644
--- a/libstdc++-v3/src/c++11/futex.cc
+++ b/libstdc++-v3/src/c++11/futex.cc
@@ -61,7 +61,15 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
struct timeval tv;
gettimeofday (&tv, NULL);
// Convert the absolute timeout value to a relative timeout
+#if defined(SYS_futex_time64)
+ struct
+ {
+ long tv_sec;
+ long tv_nsec;
+ } rt;
+#else
struct timespec rt;
+#endif
rt.tv_sec = __s.count() - tv.tv_sec;
rt.tv_nsec = __ns.count() - tv.tv_usec * 1000;
if (rt.tv_nsec < 0)
--
2.29.2
@@ -1,9 +1,9 @@
From 23468db70f830e99ac138826d28cc33fa71d3405 Mon Sep 17 00:00:00 2001
From 427c95f4cd889f97983d2b5ac4de6501bcf53166 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
Date: Fri, 21 Aug 2020 07:03:00 +0000
Subject: [PATCH 22/40] Alpine musl package provides libssp_nonshared.a. We
link to it unconditionally, as otherwise we get link failures if some objects
are -fstack-protector built and final link happens with -fno-stack-protector.
Subject: [PATCH] Alpine musl package provides libssp_nonshared.a. We link to
it unconditionally, as otherwise we get link failures if some objects are
-fstack-protector built and final link happens with -fno-stack-protector.
This seems to be the common case when bootstrapping gcc, the piepatches do
not seem to fully fix the crosstoolchain and bootstrap sequence wrt.
stack-protector flag usage.
@@ -27,5 +27,5 @@ index daeb4d0c8ea..6920bec0fa0 100644
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
"|fstack-protector-strong|fstack-protector-explicit" \
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 67513cb76a43014172f54384c3bad0c41e949c8a Mon Sep 17 00:00:00 2001
From d3440b3e7d5d9448309b4c3f74487f4c05726a5a Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:03:42 +0000
Subject: [PATCH 23/40] DP: Use --push-state/--pop-state for gold as well when
Subject: [PATCH] DP: Use --push-state/--pop-state for gold as well when
linking libtsan.
---
@@ -65,5 +65,5 @@ index 6920bec0fa0..40e07354b3d 100644
#else
#define LIBUBSAN_SPEC "-lubsan" STATIC_LIBUBSAN_LIBS
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 5d9d38da4f523c052a5bcd2562d79809b4136f2c Mon Sep 17 00:00:00 2001
From 5b1bffa6323f1e9f981f1db2b574a876ebcf2bd6 Mon Sep 17 00:00:00 2001
From: Nils Andreas Svee <me@lochnair.net>
Date: Thu, 21 Dec 2017 03:14:33 +0100
Subject: [PATCH 24/40] Pure 64-bit MIPS
Subject: [PATCH] Pure 64-bit MIPS
---
gcc/config/mips/mips.h | 8 ++++----
@@ -43,5 +43,5 @@ index ceb58d3b5f3..8116e23ebba 100644
+ ../lib32 \
+ ../lib
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From ac0eeb3237ac2cf75c19be92afe3335c9a0d83bb Mon Sep 17 00:00:00 2001
From 7a38f81aa9cc5ed4a39b54480209e29615bd6594 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:04:40 +0000
Subject: [PATCH 25/40] use pure 64-bit configuration where appropriate
Subject: [PATCH] use pure 64-bit configuration where appropriate
---
gcc/config/aarch64/t-aarch64-linux | 2 +-
@@ -117,5 +117,5 @@ index cc6ab367072..7f498ee1cdc 100644
+MULTILIB_OSDIRNAMES = m64=../lib
+MULTILIB_OSDIRNAMES+= m32=../lib32
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 3f35cf750117fa7cbceaf33e4bea008d0688bd93 Mon Sep 17 00:00:00 2001
From eb4c45fb32845cf9ed5e3627380d889f972dbb02 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:05:41 +0000
Subject: [PATCH 26/40] always build libgcc_eh.a
Subject: [PATCH] always build libgcc_eh.a
highly inspired by:
http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch
@@ -47,5 +47,5 @@ index 851e7657d07..99ec513a1a6 100644
for file in $$parts; do \
rm -f $(DESTDIR)$(inst_libdir)/$$file; \
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 48342d154084bb9610b8f02f93fcfc2aa606595a Mon Sep 17 00:00:00 2001
From f06868abe42037e8a97fb1e724df56a81b6d3b36 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:06:30 +0000
Subject: [PATCH 27/40] ada: libgnarl compatibility for musl
Subject: [PATCH] ada: libgnarl compatibility for musl
---
gcc/ada/libgnarl/s-osinte__linux.ads | 11 ------
@@ -9,7 +9,7 @@ Subject: [PATCH 27/40] ada: libgnarl compatibility for musl
2 files changed, 3 insertions(+), 61 deletions(-)
diff --git a/gcc/ada/libgnarl/s-osinte__linux.ads b/gcc/ada/libgnarl/s-osinte__linux.ads
index 80cb2b2a793..701b7a3aeab 100644
index ef449af33d1..bd7312e6686 100644
--- a/gcc/ada/libgnarl/s-osinte__linux.ads
+++ b/gcc/ada/libgnarl/s-osinte__linux.ads
@@ -399,12 +399,6 @@ package System.OS_Interface is
@@ -131,5 +131,5 @@ index c45559e5ba0..0b0f173e7d4 100644
pragma Assert (Result in 0 | ENOMEM);
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 0d517a7c90f9e21616c8ad0c66e24c1554f6658c Mon Sep 17 00:00:00 2001
From b87099f99e9b97efa684d59a63a7585bc0ae7c34 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:07:48 +0000
Subject: [PATCH 28/40] ada: musl support fixes
Subject: [PATCH] ada: musl support fixes
---
gcc/ada/Makefile.rtl | 10 +++++-----
@@ -219,5 +219,5 @@ index af4417fab90..bab6bf3ca87 100644
status = openpty (&master_fd, &slave_fd, NULL, NULL, NULL);
#elif defined (USE_CLONE_DEVICE)
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 3d86ab883c2a67dc9828f73a3d84c9fdb202ec32 Mon Sep 17 00:00:00 2001
From ebfdc1ed30206086a1f59c0e45d11b735ca22181 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:58:08 +0200
Subject: [PATCH 29/40] gcc-go: Use _off_t type instead of _loff_t
Subject: [PATCH] gcc-go: Use _off_t type instead of _loff_t
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -44,5 +44,5 @@ index 88286c07b6e..f8f5cfb5011 100644
}
n, err = splice(rfd, plroff, wfd, plwoff, len, flags)
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From da63b5262701f91a2261812332f2850be0180634 Mon Sep 17 00:00:00 2001
From 53c8bd07ef19cefadfd5ca6e2b845862ba9c4d14 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:58:21 +0200
Subject: [PATCH 30/40] gcc-go: Don't include sys/user.h
Subject: [PATCH] gcc-go: Don't include sys/user.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -26,5 +26,5 @@ index 0692fd41eb7..c8d987358d9 100644
#include <sys/utsname.h>
#endif
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 18d6d2d1f62a4232340696fb7d68d248c751e416 Mon Sep 17 00:00:00 2001
From 4ebf1f48bae799d4d9c0d3de88c5d8e0f1f2900e Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:59:22 +0200
Subject: [PATCH 31/40] gcc-go: Fix ucontext_t on PPC64
Subject: [PATCH] gcc-go: Fix ucontext_t on PPC64
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -25,5 +25,5 @@ index b429fdb2403..fd1c885f043 100644
ret.sigpc = ((ucontext_t*)(context))->uc_mcontext.jmp_context.iar;
#elif defined(__aarch64__) && defined(__linux__)
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From d9942a2e54f69dee9c03e5e4339a6c62473e6845 Mon Sep 17 00:00:00 2001
From 2ea8b4f0d7cd8e96436ca14ef7f08615496d6d38 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:59:45 +0200
Subject: [PATCH 32/40] gcc-go: Fix handling of signal 34 on musl
Subject: [PATCH] gcc-go: Fix handling of signal 34 on musl
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -39,5 +39,5 @@ index 11e4ec436bd..fe866eacb27 100644
if test "${GOOS}" = "aix"; then
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 38e7c12086acae4507f9d5067f947431a28c34db Mon Sep 17 00:00:00 2001
From 65212bcce99563e6fa7a0334f1a82bde47ade70c Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 18:01:03 +0200
Subject: [PATCH 33/40] gcc-go: Use int64 type as offset argument for mmap
Subject: [PATCH] gcc-go: Use int64 type as offset argument for mmap
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -34,5 +34,5 @@ index ba38ebaa9ab..3c9e5ce9461 100644
if uintptr(p) == _MAP_FAILED {
return nil, errno()
--
2.29.2
2.31.0
@@ -1,8 +1,7 @@
From a4e800081081b00539bbb6fd8b5cf6b66504cfaa Mon Sep 17 00:00:00 2001
From 1fa468989614c5ada2d2a0fac67cc542900ff5de Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 18:02:28 +0200
Subject: [PATCH 34/40] gcc-go: Fix st_{a,m,c}tim fields in generated
sysinfo.go
Subject: [PATCH] gcc-go: Fix st_{a,m,c}tim fields in generated sysinfo.go
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -34,5 +33,5 @@ index bd2ba32cba1..972e2c379bc 100755
-e 's/\([^a-zA-Z0-9_]\)_timespec_t\([^a-zA-Z0-9_]\)/\1Timespec\2/g' \
-e 's/\([^a-zA-Z0-9_]\)_st_timespec_t\([^a-zA-Z0-9_]\)/\1StTimespec\2/g' \
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 57ccf0ad7f0c4b1f998ebfb6cdaa7d1876012d66 Mon Sep 17 00:00:00 2001
From 1e401424a24c4d09890c498e9cf37dd65f98fd40 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 18:03:03 +0200
Subject: [PATCH 35/40] gcc-go: signal 34 is special on musl libc
Subject: [PATCH] gcc-go: signal 34 is special on musl libc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -25,5 +25,5 @@ index c555712a03c..9e228580d37 100644
}
throw("sigaction read failure")
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From e6d4cdd4d03cceb01e8ed03bbe7d35b5798abc88 Mon Sep 17 00:00:00 2001
From c32a6473e0b51b02401c403b4fa104a82b2c6147 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Sun, 30 Aug 2020 19:26:53 +0200
Subject: [PATCH 36/40] gcc-go: Prefer _off_t over _off64_t
Subject: [PATCH] gcc-go: Prefer _off_t over _off64_t
musl does not seem to have _off64_t.
---
@@ -26,5 +26,5 @@ index 972e2c379bc..8d6da15f983 100755
echo "type Pid_t _pid_t" >> ${OUT}
echo "type Uid_t _uid_t" >> ${OUT}
--
2.29.2
2.31.0
@@ -1,14 +1,14 @@
From ac54a2afa01a3ebb06346f8dac505f0babbbe1a7 Mon Sep 17 00:00:00 2001
From 87b7fd27b0b2cc041e2cc989e77a7eda8fc330a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Sun, 30 Aug 2020 19:27:51 +0200
Subject: [PATCH 37/40] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c
Subject: [PATCH] gcc-go: undef SETCONTEXT_CLOBBERS_TLS in proc.c
---
libgo/runtime/proc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c
index 274ce01c0bf..92a540bdde9 100644
index 6f7d2e27996..5afd7902497 100644
--- a/libgo/runtime/proc.c
+++ b/libgo/runtime/proc.c
@@ -66,6 +66,10 @@ static void gscanstack(G*);
@@ -23,5 +23,5 @@ index 274ce01c0bf..92a540bdde9 100644
static inline void
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From e456a63af7f0bd1f519de98e74f864be0f73572a Mon Sep 17 00:00:00 2001
From 16fd7a533bba015aca4d1c08c7a18f7a6d07ad26 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Mon, 31 Aug 2020 08:59:40 +0200
Subject: [PATCH 38/40] gcc-go: link to libucontext
Subject: [PATCH] gcc-go: link to libucontext
---
Makefile.in | 2 +-
@@ -21,5 +21,5 @@ index 63627db68cf..c7f1f84d683 100644
--srcdir=$${topdir}/$$module_srcdir \
$(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
--
2.29.2
2.31.0
@@ -1,8 +1,7 @@
From f3a1e98d6d4d546bfb749b91c1f3639df905c1d0 Mon Sep 17 00:00:00 2001
From a56c34c3ca3b83f5481dad3888d936f859788614 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Mon, 31 Aug 2020 20:26:56 +0200
Subject: [PATCH 39/40] gcc-go: Disable printing of unaccessible ppc64 struct
members
Subject: [PATCH] gcc-go: Disable printing of unaccessible ppc64 struct members
These struct members do not seem to exist on musl.
---
@@ -23,5 +22,5 @@ index fd1c885f043..e845e453332 100644
mcontext_t *m = &((ucontext_t*)(context))->uc_mcontext;
int i;
--
2.29.2
2.31.0
@@ -1,4 +1,4 @@
From ca0b670b87284afa341f1bef57f5614d88aecb4b Mon Sep 17 00:00:00 2001
From 7b2278e6d857f68c9cb956865c5037d73be69fc6 Mon Sep 17 00:00:00 2001
From: Geod24 <pro.mathias.lang@gmail.com>
Date: Mon, 16 Nov 2020 18:40:46 +0100
Subject: [PATCH] CRuntime_Musl: Support v1.2.0 for 32 bits
@@ -6,14 +6,14 @@ Subject: [PATCH] CRuntime_Musl: Support v1.2.0 for 32 bits
As explained in the comment, `time_t` on Musl is now always 64 bits,
but used to be 32 bits on 32 bits systems.
---
libphobos/libdruntime/core/sys/posix/sys/types.d | 25 ++++++++++++++++++++++++-
1 files changed, 25 insertions(+), 1 deletion(-)
.../libdruntime/core/sys/posix/sys/types.d | 25 ++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
diff --git a/libphobos/libdruntime/core/sys/posix/sys/types.d b/libphobos/libdruntime/core/sys/posix/sys/types.d
index fcf39b5b..aacd0df0 100644
index 451c8b4fccc..ca654fbe424 100644
--- a/libphobos/libdruntime/core/sys/posix/sys/types.d
+++ b/libphobos/libdruntime/core/sys/posix/sys/types.d
@@ -140,10 +140,33 @@ else version (CRuntime_Musl)
@@ -139,10 +139,33 @@ else version (CRuntime_Musl)
alias int pid_t;
alias uint uid_t;
alias uint gid_t;
@@ -48,3 +48,6 @@ index fcf39b5b..aacd0df0 100644
alias c_long clock_t;
alias c_ulong pthread_t;
version (D_LP64)
--
2.31.0
@@ -0,0 +1,269 @@
From 8108772b5430b8d7a4fef8cd9d917a11fbb26fab Mon Sep 17 00:00:00 2001
From: Drew DeVault <sir@cmpwn.com>
Date: Wed, 9 Dec 2020 16:07:26 +0000
Subject: [PATCH] configure: Add --enable-autolink-libatomic, use in
LINK_GCC_C_SEQUENCE_SPEC [PR81358]
This fixes issues with RISC-V.
---
Makefile.in | 1 +
gcc/config.in | 6 ++++++
gcc/config/gnu-user.h | 12 +++++++++++-
gcc/configure | 34 ++++++++++++++++++++++++++++++++--
gcc/configure.ac | 23 ++++++++++++++++++++++-
gcc/doc/install.texi | 8 ++++++++
gcc/doc/tm.texi | 8 +++++++-
gcc/doc/tm.texi.in | 8 +++++++-
gcc/gcc.c | 12 +++++++++++-
9 files changed, 105 insertions(+), 7 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index c7f1f84d683..cb3983ca547 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -222,6 +222,7 @@ HOST_EXPORTS = \
RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
+ TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS; \
HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
GMPINC="$(HOST_GMPINC)"; export GMPINC; \
diff --git a/gcc/config.in b/gcc/config.in
index 9551c0dfdf9..c8ca910df8a 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -106,6 +106,12 @@
#endif
+/* Define if libatomic should always be linked. */
+#ifndef USED_FOR_TARGET
+#undef ENABLE_AUTOLINK_LIBATOMIC
+#endif
+
+
/* Define to 1 to specify that we are using the BID decimal floating point
format instead of DPD */
#ifndef USED_FOR_TARGET
diff --git a/gcc/config/gnu-user.h b/gcc/config/gnu-user.h
index 7f30c363e4a..246698bfea5 100644
--- a/gcc/config/gnu-user.h
+++ b/gcc/config/gnu-user.h
@@ -109,8 +109,18 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define LINK_EH_SPEC "%{!static|static-pie:--eh-frame-hdr} "
#endif
+#if !defined(LINK_LIBATOMIC_SPEC) && defined(ENABLE_AUTOLINK_LIBATOMIC)
+# ifdef LD_AS_NEEDED_OPTION
+# define LINK_LIBATOMIC_SPEC LD_AS_NEEDED_OPTION " -latomic " LD_NO_AS_NEEDED_OPTION
+# else
+# define LINK_LIBATOMIC_SPEC "-latomic"
+# endif
+#elif !defined(LINK_LIBATOMIC_SPEC)
+# define LINK_LIBATOMIC_SPEC ""
+#endif
+
#define GNU_USER_TARGET_LINK_GCC_C_SEQUENCE_SPEC \
- "%{static|static-pie:--start-group} %G %{!nolibc:%L} \
+ "%{static|static-pie:--start-group} %G %{!nolibc:" LINK_LIBATOMIC_SPEC " %L} \
%{static|static-pie:--end-group}%{!static:%{!static-pie:%G}}"
#undef LINK_GCC_C_SEQUENCE_SPEC
diff --git a/gcc/configure b/gcc/configure
index 808570b6c99..6c1e95e0444 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -969,6 +969,7 @@ with_documentation_root_url
with_changes_root_url
enable_languages
with_multilib_list
+enable_autolink_libatomic
with_zstd
with_zstd_include
with_zstd_lib
@@ -1695,6 +1696,9 @@ Optional Features:
--disable-shared don't provide a shared libgcc
--disable-gcov don't provide libgcov and related host tools
--enable-languages=LIST specify which front-ends to build
+ --enable-autolink-libatomic
+ enable automatic linking of libatomic (ignored if
+ not built)
--disable-rpath do not hardcode runtime library paths
--enable-sjlj-exceptions
arrange to use setjmp/longjmp exception handling
@@ -8009,6 +8013,33 @@ else
fi
+# If libatomic is available, whether it should be linked automatically
+# Check whether --enable-autolink-libatomic was given.
+if test "${enable_autolink_libatomic+set}" = set; then :
+ enableval=$enable_autolink_libatomic;
+ case $enable_autolink_libatomic in
+ yes | no) ;;
+ *) as_fn_error $? "'$enable_autolink_libatomic' is an invalid value for
+--enable-autolink-libatomic. Valid choices are 'yes' and 'no'." "$LINENO" 5 ;;
+ esac
+
+else
+ enable_autolink_libatomic=''
+fi
+
+
+if test x$enable_autolink_libatomic = xyes; then
+ if echo " ${TARGET_CONFIGDIRS} " | grep " libatomic " > /dev/null 2>&1 ; then
+
+$as_echo "#define ENABLE_AUTOLINK_LIBATOMIC 1" >>confdefs.h
+
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libatomic is not build for this target, --enable-autolink-libatomic ignored" >&5
+$as_echo "$as_me: WARNING: libatomic is not build for this target, --enable-autolink-libatomic ignored" >&2;}
+ fi
+fi
+
+
# -------------------------
# Checks for other programs
# -------------------------
@@ -19131,7 +19162,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 19131 "configure"
+#line 19158 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -32267,4 +32298,3 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
-
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 9c2571de709..52fd6d8fe06 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1110,6 +1110,28 @@ AC_ARG_WITH(multilib-list,
:,
with_multilib_list=default)
+# If libatomic is available, whether it should be linked automatically
+AC_ARG_ENABLE(autolink-libatomic,
+[AS_HELP_STRING([--enable-autolink-libatomic],
+ [enable automatic linking of libatomic (ignored if not built)])],
+[
+ case $enable_autolink_libatomic in
+ yes | no) ;;
+ *) AC_MSG_ERROR(['$enable_autolink_libatomic' is an invalid value for
+--enable-autolink-libatomic. Valid choices are 'yes' and 'no'.]) ;;
+ esac
+], [enable_autolink_libatomic=''])
+
+if test x$enable_autolink_libatomic = xyes; then
+ if echo " ${TARGET_CONFIGDIRS} " | grep " libatomic " > /dev/null 2>&1 ; then
+ AC_DEFINE(ENABLE_AUTOLINK_LIBATOMIC, 1,
+ [Define if libatomic should always be linked.])
+ else
+ AC_MSG_WARN([libatomic is not build for this target, --enable-autolink-libatomic ignored])
+ fi
+fi
+
+
# -------------------------
# Checks for other programs
# -------------------------
@@ -6945,4 +6967,3 @@ done
],
[subdirs='$subdirs'])
AC_OUTPUT
-
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 7d98ec4190a..a58d5a05be2 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -2169,6 +2169,14 @@ files, but these changed header paths may conflict with some compilation
environments. Enabled by default, and may be disabled using
@option{--disable-canonical-system-headers}.
+@item --enable-autolink-libatomic
+@itemx --disable-autolink-libatomic
+Tell GCC that it should automatically link libatomic; if supported by
+the linker, the file is only linked as needed. This flag is ignored
+when libatomic is not built. Note that this conigure flag is in particular
+useful when building an offloading-target compiler; as for those, a
+user had to specify @code{-foffload=target=-latomic} otherwise.
+
@item --with-glibc-version=@var{major}.@var{minor}
Tell GCC that when the GNU C Library (glibc) is used on the target it
will be version @var{major}.@var{minor} or later. Normally this can
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index fcb7245e95c..67b485e8d0c 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -381,7 +381,13 @@ the argument @option{-lgcc} to tell the linker to do the search.
@defmac LINK_GCC_C_SEQUENCE_SPEC
The sequence in which libgcc and libc are specified to the linker.
-By default this is @code{%G %L %G}.
+By default this is @code{%G LINK_LIBATOMIC_SPEC %L %G}.
+@end defmac
+
+@defmac LINK_LIBATOMIC_SPEC
+This macro is used in the default @code{LINK_GCC_C_SEQUENCE_SPEC} to link
+libatomic. By default, it is unset unless @code{ENABLE_AUTOLINK_LIBATOMIC}
+is set.
@end defmac
@defmac POST_LINK_SPEC
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in
index c17209daa51..3ec63f6d091 100644
--- a/gcc/doc/tm.texi.in
+++ b/gcc/doc/tm.texi.in
@@ -381,7 +381,13 @@ the argument @option{-lgcc} to tell the linker to do the search.
@defmac LINK_GCC_C_SEQUENCE_SPEC
The sequence in which libgcc and libc are specified to the linker.
-By default this is @code{%G %L %G}.
+By default this is @code{%G LINK_LIBATOMIC_SPEC %L %G}.
+@end defmac
+
+@defmac LINK_LIBATOMIC_SPEC
+This macro is used in the default @code{LINK_GCC_C_SEQUENCE_SPEC} to link
+libatomic. By default, it is unset unless @code{ENABLE_AUTOLINK_LIBATOMIC}
+is set.
@end defmac
@defmac POST_LINK_SPEC
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 40e07354b3d..81bd50b4d7c 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -877,13 +877,23 @@ proper position among the other output files. */
# define ASM_DEBUG_SPEC ""
#endif
+#if !defined(LINK_LIBATOMIC_SPEC) && defined(ENABLE_AUTOLINK_LIBATOMIC)
+# ifdef LD_AS_NEEDED_OPTION
+# define LINK_LIBATOMIC_SPEC LD_AS_NEEDED_OPTION " -latomic " LD_NO_AS_NEEDED_OPTION
+# else
+# define LINK_LIBATOMIC_SPEC "-latomic"
+# endif
+#elif !defined(LINK_LIBATOMIC_SPEC)
+# define LINK_LIBATOMIC_SPEC ""
+#endif
+
/* Here is the spec for running the linker, after compiling all files. */
/* This is overridable by the target in case they need to specify the
-lgcc and -lc order specially, yet not require them to override all
of LINK_COMMAND_SPEC. */
#ifndef LINK_GCC_C_SEQUENCE_SPEC
-#define LINK_GCC_C_SEQUENCE_SPEC "%G %{!nolibc:%L %G}"
+#define LINK_GCC_C_SEQUENCE_SPEC "%G %{!nolibc:" LINK_LIBATOMIC_SPEC " %L %G}"
#endif
#ifdef ENABLE_DEFAULT_SSP
--
2.31.0
@@ -1,66 +0,0 @@
From b36fd572e6cbe63dca6fbedd91f17d2797524eaa Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Tue, 17 Nov 2020 10:35:40 +0000
Subject: [PATCH 40/40] opts: move -fpartial-inlining from -O2 to -O3 or
higher.
We have observed strange behavior from the inliner on mips and on
s390x when the new partial inlining feature is enabled.
---
gcc/doc/invoke.texi | 5 +++--
gcc/opts.c | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 01e67e97491..6c4c2937b8f 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -9212,7 +9212,6 @@ also turns on the following optimization flags:
-flra-remat @gol
-foptimize-sibling-calls @gol
-foptimize-strlen @gol
--fpartial-inlining @gol
-fpeephole2 @gol
-freorder-blocks-algorithm=stc @gol
-freorder-blocks-and-partition -freorder-functions @gol
@@ -9234,7 +9233,8 @@ NOTE: In Alpine Linux, @option{-D_FORTIFY_SOURCE=2} is
set by default, and is activated when @option{-O} is set to 2 or higher.
This enables additional compile-time and run-time checks for several libc
functions. To disable, specify either @option{-U_FORTIFY_SOURCE} or
-@option{-D_FORTIFY_SOURCE=0}.
+@option{-D_FORTIFY_SOURCE=0}. Additionally, @option{-fpartial-inlining}
+is only activated when @option{-O} is set to 3 or higher.
@item -O3
@opindex O3
@@ -9246,6 +9246,7 @@ by @option{-O2} and also turns on the following optimization flags:
-fipa-cp-clone
-floop-interchange @gol
-floop-unroll-and-jam @gol
+-fpartial-inlining @gol
-fpeel-loops @gol
-fpredictive-commoning @gol
-fsplit-loops @gol
diff --git a/gcc/opts.c b/gcc/opts.c
index 73162528938..1d0d997eda2 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -492,7 +492,6 @@ static const struct default_options default_options_table[] =
{ OPT_LEVELS_2_PLUS, OPT_fisolate_erroneous_paths_dereference, NULL, 1 },
{ OPT_LEVELS_2_PLUS, OPT_flra_remat, NULL, 1 },
{ OPT_LEVELS_2_PLUS, OPT_foptimize_sibling_calls, NULL, 1 },
- { OPT_LEVELS_2_PLUS, OPT_fpartial_inlining, NULL, 1 },
{ OPT_LEVELS_2_PLUS, OPT_fpeephole2, NULL, 1 },
{ OPT_LEVELS_2_PLUS, OPT_freorder_functions, NULL, 1 },
{ OPT_LEVELS_2_PLUS, OPT_frerun_cse_after_loop, NULL, 1 },
@@ -530,6 +529,7 @@ static const struct default_options default_options_table[] =
{ OPT_LEVELS_3_PLUS, OPT_fipa_cp_clone, NULL, 1 },
{ OPT_LEVELS_3_PLUS, OPT_floop_interchange, NULL, 1 },
{ OPT_LEVELS_3_PLUS, OPT_floop_unroll_and_jam, NULL, 1 },
+ { OPT_LEVELS_3_PLUS, OPT_fpartial_inlining, NULL, 1 },
{ OPT_LEVELS_3_PLUS, OPT_fpeel_loops, NULL, 1 },
{ OPT_LEVELS_3_PLUS, OPT_fpredictive_commoning, NULL, 1 },
{ OPT_LEVELS_3_PLUS, OPT_fsplit_loops, NULL, 1 },
--
2.29.2
+83 -75
View File
@@ -25,13 +25,13 @@ _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-aarch64
_pkgbase=10.2.1
pkgver=10.2.1_pre0
pkgver=10.2.1_git20210328
[ "$BOOTSTRAP" = "nolibc" ] && pkgname="gcc-pass2"
[ "$CBUILD" != "$CHOST" ] && _cross="-$CARCH" || _cross=""
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-aarch64
pkgrel=2
pkgrel=0
pkgdesc="Stage2 cross-compiler for aarch64"
url="https://gcc.gnu.org"
arch="x86_64"
@@ -170,7 +170,7 @@ if $LANG_FORTRAN; then
_languages="$_languages,fortran"
fi
if $LANG_ADA; then
subpackages="$subpackages libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat"
subpackages="$subpackages libgnat-static:libgnatstatic:$CTARGET_ARCH libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat"
_languages="$_languages,ada"
[ "$CBUILD" = "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat-bootstrap"
[ "$CBUILD" != "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat gcc-gnat$_cross"
@@ -180,8 +180,11 @@ makedepends="$makedepends_build $makedepends_host"
# when using upstream releases, use this URI template
# https://gcc.gnu.org/pub/gcc/releases/gcc-${_pkgbase:-$pkgver}/gcc-${_pkgbase:-$pkgver}.tar.xz
#
# right now, we are using a git snapshot
source="https://dev.alpinelinux.org/~nenolod/gcc-10.2.1.tar.xz
# right now, we are using a git snapshot.
#
# PLEASE submit all patches to gcc to https://gitlab.alpinelinux.org/kaniini/alpine-gcc-patches,
# so that they can be properly tracked and easily rebased if needed.
source="https://dev.alpinelinux.org/~nenolod/gcc-${pkgver}.tar.xz
0001-posix_memalign.patch
0002-gcc-poison-system-directories.patch
0003-Turn-on-Wl-z-relro-z-now-by-default.patch
@@ -201,34 +204,31 @@ source="https://dev.alpinelinux.org/~nenolod/gcc-10.2.1.tar.xz
0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch
0018-ada-fix-shared-linking.patch
0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
0020-libstdc-futex-add-time64-compatibility.patch
0021-add-fortify-headers-paths.patch
0022-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
0023-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
0024-Pure-64-bit-MIPS.patch
0025-use-pure-64-bit-configuration-where-appropriate.patch
0026-always-build-libgcc_eh.a.patch
0027-ada-libgnarl-compatibility-for-musl.patch
0028-ada-musl-support-fixes.patch
0029-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch
0030-gcc-go-Don-t-include-sys-user.h.patch
0031-gcc-go-Fix-ucontext_t-on-PPC64.patch
0032-gcc-go-Fix-handling-of-signal-34-on-musl.patch
0033-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
0034-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch
0035-gcc-go-signal-34-is-special-on-musl-libc.patch
0036-gcc-go-Prefer-_off_t-over-_off64_t.patch
0037-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
0038-gcc-go-link-to-libucontext.patch
0039-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
0040-opts-move-fpartial-inlining-from-O2-to-O3-or-higher.patch
0041-dlang-support-musl-1.2.0.patch
0020-add-fortify-headers-paths.patch
0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
0023-Pure-64-bit-MIPS.patch
0024-use-pure-64-bit-configuration-where-appropriate.patch
0025-always-build-libgcc_eh.a.patch
0026-ada-libgnarl-compatibility-for-musl.patch
0027-ada-musl-support-fixes.patch
0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch
0029-gcc-go-Don-t-include-sys-user.h.patch
0030-gcc-go-Fix-ucontext_t-on-PPC64.patch
0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch
0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch
0034-gcc-go-signal-34-is-special-on-musl-libc.patch
0035-gcc-go-Prefer-_off_t-over-_off64_t.patch
0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
0037-gcc-go-link-to-libucontext.patch
0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch
0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch
"
# gcc-4.8-build-args.patch
# we build out-of-tree
_gccdir="$srcdir"/gcc-${_pkgbase:-$pkgver}
_gccdir="$srcdir"/gcc-$pkgver
_gcclibdir="/usr/lib/gcc/$CTARGET/${_pkgbase:-$pkgver}"
_gcclibexec="/usr/libexec/gcc/$CTARGET/${_pkgbase:-$pkgver}"
@@ -396,14 +396,16 @@ package() {
done
fi
paxmark -pmrs "$pkgdir"/$_gcclibexec/cc1
# move ada runtime libs
if $LANG_ADA; then
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.so"); do
mv "$i" "$pkgdir"/usr/lib/
ln -s ../../../../${i##*/} $i
done
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.a"); do
mv "$i" "$pkgdir"/usr/lib/
ln -s ../../../../${i##*/} $i
done
fi
if [ "$CHOST" != "$CTARGET" ]; then
@@ -488,7 +490,6 @@ gpp() {
"$subpkgdir"/usr/${_target:+$CTARGET/}lib \
mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/"
paxmark -pmrs "$subpkgdir/$_gcclibexec/cc1plus"
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/*++* "$subpkgdir"/usr/${_target:+$CTARGET/}lib/
mv "$pkgdir"/usr/${_target:+$CTARGET/}include/c++ "$subpkgdir"/usr/${_target:+$CTARGET/}include/
@@ -645,6 +646,14 @@ libgnat() {
mv "$pkgdir"/usr/lib/libgna*.so "$subpkgdir"/usr/lib/
}
libgnatstatic() {
pkgdesc="GNU Ada static libraries"
depends=
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libgna*.a "$subpkgdir"/usr/lib/
}
gnat() {
pkgdesc="Ada support for GCC"
depends="gcc=$_gccrel"
@@ -659,45 +668,44 @@ gnat() {
mv "$pkgdir"/usr/bin/*gnat* "$subpkgdir"/usr/bin/
}
sha512sums="30c3e36c6e001d172b6219dbf5f0383655d29cbed8a197e1d6139213aacbfdb7cbca63553eedf3a4b35bd445a87ee0f555838d8b2cd7a46ab6bba7951a6b60c5 gcc-10.2.1.tar.xz
70cfaed5960c5c9fa542d4f491be9c3291e7b0bf89f3e08212b6f490b8e9daa0474717c95e06454ff3c3258fe54a9ed13db35dbb316db161837b2a7f5fdeab7e 0001-posix_memalign.patch
b821d95f0279564fad1c504f2d6968a38e518828643bb88466cc5eb2ff5a968ab998c12ef24d9ae4bee5663bf912fe751985a52483b86e09b3825fd3aa5e9bc2 0002-gcc-poison-system-directories.patch
04f60941b5bed089be6e38d38346caaa9e91bc7b91a3e805df2661e728e43c276595efa4c2e40f99b4528d699121f12a0f1a59efd66d20f8b18908ce6f80ead3 0003-Turn-on-Wl-z-relro-z-now-by-default.patch
97aff34931460d341cc0af337da783409139d520910cb1f8c68a54981fc68028161274d4ac3c7f264e3c87fa5222e439321fbe02a01d79b0470b644c118aa3e9 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
b58f3ae0d22009bc13d9f9cabf74a42db8019bfb5da8a31f5f5bf3042782bcb736d555a7ab8439d65894627094b8e0e65ba077b501f939b6f5171e435e77b3fd 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
67226e4f49cde2e5b27b987d1b89b903fdb4127d1339754e85eb135d99601b0718448f9decd3d36a27ba8bde92c50a886f0f6853d44206dba0f0d5d0de126c02 0006-Enable-Wformat-and-Wformat-security-by-default.patch
0756f53b630e8211cb278a8d91859de5bf4758d04e6f3b7e105633aaa1e319c87ab3f63cda0debb97fce430c44aa2d2c744f41c400711cae5187601e9280e8d6 0007-Enable-Wtrampolines-by-default.patch
1db23c64e29d7c373a57df6ed6935557bc7e5e7627e5df3604ee179907fc663421c3c9e9c16fd406b80533bd653e5388669619a908e30c799e8bd25201a7352e 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
e7ac9b12bc66b72cbab02dba17d7bed8aa6365dbe800ce46ba3428d66004f9308f4d26c97f2c2575cf787ee265a343a05c52f1f90e4257d3e97de281c3d14bf9 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
a62736b28b667b53419a433aa9b73a89a28079639b0fd45dae37faa1eae5dbc8c4f81ccad56c5076d1fab50460512114478bd0d20af58216827632da13109d67 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
afe3a9733c972c90d8d303c7f7308afb016a012d7f61ac62a23a37e98932d87c3d6d8999688c45e1d664f8e793155691f66465651888db3d9ad48d595fb7ceb4 0011-libiberty-copy-PIC-objects-during-build-process.patch
62bf455a214586ef8be20d998971df77a198df3638197638634ee0dca972f5cc302f8ff3ac7763af0e92f59398fe109520f8ffab143678ed4517fa62de0bd2e5 0012-libitm-disable-FORTIFY.patch
55877b8b81d6a58ca1d02d207469b03d8fdb197b932ef389a393249091ac9619d4d80467232ff521dac733fdb2fd62eb1bd475d54025c74b03afc5ab411a98e4 0013-libgcc_s.patch
ec75812674114c48e44eb6330d7e79a0155351377c928ca374b9c577af3ca3b19b435ece2d5ae41c6f32ac7410257a518f0d917775f6e0a6fa272ef8f8915921 0014-nopie.patch
c6b04ffcf1d55de9a44cc09b8d9258bd9d3d479e629defb19d42631180b37f57b16d05bbbdac29e98d1d3aff02758baef43203882e46e38f00df118d7d4eef37 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch
d800abe3ec4db542ed9a87af7c714338156be98e013e547e201111b390b0018e3f107c494cc1c8b7c75b7409b8560d14320b6dfd1bf6714c1aa887602060ae31 0016-dlang-update-zlib-binding.patch
478250c9462f61540b202a17c91f30c8e0a8bef380f473a7828f327773dbc6c8d7d2df9d510289eedfad66d14d661620f358d4e2248a6a3176535368743ef16f 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch
74076bafd154d4af206cecb5e338ebb5c8ff4098e7ded862f92e87b66a5c2d8abc20ea7acfe967a969e1a575c9686ba444e0d7f03e5020a8f846fda00cce0bce 0018-ada-fix-shared-linking.patch
1eb3a2a762194daccdac2494ddac59cc60257999532685faa5606fdb5b6965945e6c199cd2218ee5b9e11b54c2f59b81519692956a06f7af1ff500efa5d22a5e 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
785d6441eccd4323ed0c787a0fc71a8699bddca6f080ff2bfa2eaf3a3e55450076323d01893cf9ff3aa49ee19267611f27b5f725b822af17eeb05aa6a5745f63 0020-libstdc-futex-add-time64-compatibility.patch
4df558cd8c2311cf0b84f481c14b2381134ca8bbcdd2a34c289edd0dd24c8732b7b05bdea9a3f1d328f42f8df30f2131100d50b151b60ff64b71a14e09fcf8e1 0021-add-fortify-headers-paths.patch
061980a1ed749ca305e0577ed9f9c80f7e1c49a133dd59d1598c553a6e1e577ad2a28daf117f7ff6210e625b2408ea1430477036f2212bdbe9100af9158b5951 0022-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
3100aa94fdcf616e635bce1e711a4f93f39ddfff92021e1446764e95a24f4dfc71d36614138ba407bb1221456658ec51fc0d40d4ac696e9931cb10492da75c06 0023-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
bcc546f087e84a9b806fcf8f0efdc354dc89a9d93dcd7dab2a9b29a1a88d233eb827b10bd76ca910c0d114772135368d7565a3e7b3440b500e9609a4db4bff8b 0024-Pure-64-bit-MIPS.patch
f2b852c8799064305ebf7b5c9dd0edada0a534c9e4664fe06f3e25efba83afda12e8b147f7a28e812ef6e7a587565da9ee51b2a8990a110975f7b8d8345007f6 0025-use-pure-64-bit-configuration-where-appropriate.patch
5b47adaa008020d0d42273ff5da646ace84a7c196aff0529dbabe75c1c03cdd89fe63a8f02904d58fa02d1b1a639923a111f4007d4e7c2cc2cdecceba28a0c74 0026-always-build-libgcc_eh.a.patch
4cd8309e60e1bab29f2d5150f9cda8a6a2da9c14010d5f33fd4bb25318f031d36bb5650c69d7c4a0ff077e222229ad59f36d74a27f22f96321f0893b556e83c6 0027-ada-libgnarl-compatibility-for-musl.patch
6e307a0b575284c0d4e99a134ac681cd58ed07a31411d43060184f1a1c9ed27af27396afca415a37120fecb3393ce10daeac9312f82d7d0e83be3c2c744a1eea 0028-ada-musl-support-fixes.patch
121e297b1b0b2cc9cc2c4785c1e1d33995db050f428d92d8327d9720fe10319cf35592ad6e18e4c98d6f68a2ce6a2ccb172ad7ace26d0e4ad450229e673c2c40 0029-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch
c0217653d19c2495fa3aeda18e40251531e64d5aa67221451a9e86fbd7a696ff063d6aaa01c8662c07bf85512ac8397592df2e4f622933438bf43b2915247d20 0030-gcc-go-Don-t-include-sys-user.h.patch
70727dc46af7c0c46d7fcb58edc210f7b2be3fab91263e0b65458fc0073fe7c25c937f00fcb4dcd1a76d44d3b3895fd96853ed16f03daeb7786945bcb7391a76 0031-gcc-go-Fix-ucontext_t-on-PPC64.patch
7058a1f8ce66a69e987a308e5b2521234ee3712955f46ab3bccb5c87b0bf6f666e3df585f0323e9494588b51e8300ed9b5d53e7d6229a03f9743892e1b88560b 0032-gcc-go-Fix-handling-of-signal-34-on-musl.patch
ae4fc6ee120376902adb90aa7aea2d6fff35dfcafd75aea3ab62be7ffd72364ef0db2584134d48bc7f7fb6392bb8ca44c2970cd75a82a3e0ff12ad9f292fe61a 0033-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
d6d28d4e22129cf585d4481302b2f304c38568008a23c111a1d02544519bfcde7a5c26802861973c95669f2854c2f4e4670b480f6884bacab27c356d360e7054 0034-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch
f7582eaa9b6f421652b6705e28a22ba68210ea7e32d3c468e86b481a26bf391c86146e1a3ee4dda51c5cd4bdf4f167d2284c2ac47c97e02b9e5bb755b68cd6d6 0035-gcc-go-signal-34-is-special-on-musl-libc.patch
85a5759fe0c736cd637b009b4d42a20c836c54435e90d3fa34b3e1a24a7e703e9e18470c2f7a4d6b2a0c5361b5de75b2467415647cb3d232ee67691e82e7f47c 0036-gcc-go-Prefer-_off_t-over-_off64_t.patch
c7d48b3657d37fbaef0696c96f858819bbe5469d7387e99db890eb925703dbeaf11858fdf2ecd556ac85d766c739374d71c5509f5e2fba88eb427cf93e9fdcc0 0037-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
1e85dd650a43ce96d489f77e37fd247186e4e1fe2d088be991c3ff8233c923408137d94b72788ebc2ddcac8873c6f326a92138790ab0281722c67cce400f76cc 0038-gcc-go-link-to-libucontext.patch
c93e8b0797c54483174b77f942e932eeb832c0784af9948ead7d8d95ca6392ffe3edee0740e835cf3d9310904718384e846a882284c21ccf26a055f8f940a874 0039-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
ff74dbf6a3e10f6abececdce57672e76cca8f8a92f67ed495ae2631265402fed74e9b567fc35ad16d2a62449ca4074b6868ebbc56c68b9cecf8e686018f26554 0040-opts-move-fpartial-inlining-from-O2-to-O3-or-higher.patch
eb2d8e432206250a4c4682305390883343e3c8285ac26701a910c1418b6ba5b3681612db846eb298fd47f0163772403340a348b719af751afe410742d6e92472 0041-dlang-support-musl-1.2.0.patch"
sha512sums="44d785af0f7aa321487f23b7656877e8112ca2e0b93df538508031d6541db6f7e92ddefb40e44870f4f86adc8dd0efbca3b1748539d62c46f18ac667e134c7f6 gcc-10.2.1_git20210328.tar.xz
3b26000b0ffb3467d8d1b37782a4ba03564813ca33a2842ec2f86213e4ad8f0eba4dd55c43fe965fb90ab21bfecb7c8abd174b5faf09aad128ee25bfd1f48578 0001-posix_memalign.patch
9b6e01b6c61c6d30a5965a16f9057495b6e73387085ecff3db87ad4153305fdcec132ade9f13229539cf35c29e0ceaac38a0eeb9f9598e1a30a4f67a2352c0b6 0002-gcc-poison-system-directories.patch
eee255b920cfe35cb1df1c62a44f17c81479573308df87c12c0971a1dca82dd1c73a0544cc6ab9974cd75d212e19450fc855eaf794843f0d5541e9ba7985af2f 0003-Turn-on-Wl-z-relro-z-now-by-default.patch
b1967302576ede18efbfd7de6c191b7503bc43f205a6c22787823d1bd66f03d197bb2f0e674594707a9958932605b4b524568b2383fa62117bd5d80ecacce29c 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
45c21abd2153541959352ed75ec322038c0950351c164d5540b61070fcaf158feee3ee82fd6dd9aea03d846edb99f487f76a312d442d70de16371c783fe3704b 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
16a7b2a1e5c2191694131f2eee06adf3e45d59de83e1b5fa1dff43210b9a7f13234cf27a95d9a1d799bcd944aa2af8dc33396d518b574b8773ad52ebc6e80edc 0006-Enable-Wformat-and-Wformat-security-by-default.patch
daef4ebe907027b9ed2a4d940bb729355c86146dedd963f19b6f3e293e9e9807312c457a76c8599cc759283e7c35b85b721a60cabfc3026538efcbce212e10ea 0007-Enable-Wtrampolines-by-default.patch
f67ca64ef00350404a4db016e605a255e1669c9d05c86061816905348ddc9ffe260ae8d05d0fd1b9c9c2268b2943b2507a95e63ced39a4c5dfb791964f6f4a16 0008-Disable-ssp-on-nostdlib-nodefaultlibs-and-ffreestand.patch
a7867b548b54ac81eedfda56679ee6658e690bb47528f9c437538c09bfeb5c8f0051788d61b480ddef3b3d16c4b2c35669741d5f99b2e68a89c7aec6280bc65f 0009-Ensure-that-msgfmt-doesn-t-encounter-problems-during.patch
3d21fae6c58aabf7f05caabcc54635650e178d87d3816cfd367f14dfcfb0fa971526ce06d0c5f84557ce66220c2859b66897ede76c7e5d59cb72789b3b4edcae 0010-Don-t-declare-asprintf-if-defined-as-a-macro.patch
da4005b10d0222ebddc44dc9334933d80064583dc9f4e949ceef5b9739556d01ed91513a1a26758bf1211fd7a941d4e0d7cd1093b2f03cd00950981b8be87c1a 0011-libiberty-copy-PIC-objects-during-build-process.patch
f9acc3d4691525b6f64344485b9566a5e916572159c2b779f79324c56d6a3d9acb9c8dd79c0cf4d067737ca9c966aa1ba6b22c0eb6a4aadf91c54a3455a2bcd9 0012-libitm-disable-FORTIFY.patch
78fa151c0121455d52b7499b1e94761c4bb1150acaa751275df8e26ee27be785c78e2f7c7ec6fd3fda8cba431f2c151c79d61f9c00d51f55b2ae0ea588f3880c 0013-libgcc_s.patch
01afd5aab0f73ad2ee59459520d0fd93e772e954907e453ffc853e2b03f0c963f04abaea4479b202f79fa5c535b3a5b95f3ecde727ddfefb2c3e02e269ab39cc 0014-nopie.patch
1da8e1e5124e480b29b35c0401298d4c9a15b871e7bfede525df33e0ebaf56dc63d0854c28876d3ea77438353641c9ff5d4050698bca9fb91765ab92f9208359 0015-libffi-use-__linux__-instead-of-__gnu_linux__-for-mu.patch
79853461889abccf810f70c8b6de5bb8a201681957dfeb1e7f0bc6acc3e939958f3e4012ff76ff01f7004398170566f100e49fa2ad3187dde4cdee60ac28a00d 0016-dlang-update-zlib-binding.patch
bbd954ac46d52d1fa8dcc731714424e026189d93eb6da6e632da997b3555b22dcff341626975d7acb795b655355ca493ebcffb925ba8b95e6dc3682a1c1e3fcf 0017-dlang-fix-fcntl-on-mips-add-libucontext-dep.patch
e6cd2ff6c03cad621bfd8b6c50bd7f9280a8a944096d0994cb11a7689c40cecffb2efc813db39e040c064ed1a8fa8bbd60ff51ab3bb69485faa216f4d9bab17d 0018-ada-fix-shared-linking.patch
a16631492e020f54fe19dc41ab831df881c96903d7ae9beaf9cfaed8c3bb65fdabea2ed0fc0945736a21432032623acb4403e9dc96d6020bd08b3836669719be 0019-build-fix-CXXFLAGS_FOR_BUILD-passing.patch
1313e45ea2a9f8118d86a68e0942afc85840bbcc0154683f19660a09b7d51448f87ceb2e04fa9e70d84b7494467855f3062bb6be896cfbccb4ffb33dc3f836dd 0020-add-fortify-headers-paths.patch
a7f159ee2719cf16df666c58cac7266c6d14531076c719e3723f74b022c30338b7a53b0580aa373bcef8ccf607e7e54d4fb8d4da92da9ed82046797d8d4530e0 0021-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch
b2d84e116538be203b10b795eb2ec11cd5aac3dc4b6d9216118b61de417929c68f3f961ae9c6edbb86a4f74305dabc26619aac1fe1ad289b274e4c546eeeb2dc 0022-DP-Use-push-state-pop-state-for-gold-as-well-when-li.patch
72bb76b5e039c341c01d23dd503faaf290efd7389c748696ef058f9534d96bbfea8e56c52be4737a4ef7ab6bef8806c729d35175f5f55fddced42b3317ab223d 0023-Pure-64-bit-MIPS.patch
775fd10e51e80f22b21158c64cab69fbf7783dba784904a364614f319dca9c227d219714ddf4bb8c84d5e226322ce46739313f85e8b564df73f6ee91d54cfd82 0024-use-pure-64-bit-configuration-where-appropriate.patch
1fb0f5b812045f485051b16f5e7f4cf9785471a1c6069f88086edd41c65db4eb35681cc52916ef36586224ce7f5a66fc4e548076525afe6a6b56e21668fa5c81 0025-always-build-libgcc_eh.a.patch
84eb567250c6cc3c4dc00fb5a0de32648eb81b8bc50fb5b0fdcc7208118c887c7274677aafdc8e2400be4d44346ddaccc0b2a3eb99b000f06cc446e90e6c760d 0026-ada-libgnarl-compatibility-for-musl.patch
d6ea8bba98cca5cb9ef952c344f063d126dab7f7d30fbf411334be29e9aae611af85e137c92c16e6e72410fe7fed26d984d8807f0469770cae85f98f7b4d8eac 0027-ada-musl-support-fixes.patch
551da64e652effcb3b8bab8f4fee27d83665505ebe4207f891fd0149a04d601bd0ca60b232e58dc2190a7b9469e47a628e4b0b9986a260535aa3416e662c2fcc 0028-gcc-go-Use-_off_t-type-instead-of-_loff_t.patch
156c9f987f9579a05509dcdf0575559692be337a1412b4eb0a5eb3a0662ecf8ea2feed8a581741ff637b8dcb186769f54ae2e1b0e4dcace8ac7bb9eb9dd4e918 0029-gcc-go-Don-t-include-sys-user.h.patch
835be5d6477613def7866d2c9392d3327fe09564890d955db7dd0e77c6aacc234f4a8881b1fb15abae20b0b490fd6cebc5211562629166dc546b33b4f3207a24 0030-gcc-go-Fix-ucontext_t-on-PPC64.patch
e0f2b85c4ef4bc83a450e48badc879f67b582d08d9bebad0f466393c9bda9e1898da2af30f90019d65e42bcdbd9fd30540dc3f307bb564470e9b8cae1a8a1e57 0031-gcc-go-Fix-handling-of-signal-34-on-musl.patch
0e6b051452f5f70a279eb323700b933cc856a7a7ec402f822af9cb3d57327fca9ebdeb253e6d87b76098bfd7da9a29591a051f57756ce5a2111da64886b066b4 0032-gcc-go-Use-int64-type-as-offset-argument-for-mmap.patch
5df836874e41ce132a385f8b407f53feaa7854c7e3ecd5bbebc73622d9f0dfdd5000fa1f1545c4c4126d1d83e5d78d203180aec1f09d05369776c5b70f7ffddc 0033-gcc-go-Fix-st_-a-m-c-tim-fields-in-generated-sysinfo.patch
a49b175ac231ae683bfbd8e422ac61e55f8ed265ec6bfa5b5a32800ba0605fde48088c12bf5b4ed29c9e202dea93c9443c67c61c2f2eecd709e6aefb3f1ffd32 0034-gcc-go-signal-34-is-special-on-musl-libc.patch
70d8725a3969e7b153db01c84dac5accb911d1b595072eda3bf0e2f24037ebcba478b7c2e80ab105ba3f06b404fd47deb8b509e1f5e652f40bf3b6eafef6f0d0 0035-gcc-go-Prefer-_off_t-over-_off64_t.patch
eeb75092443f65e4da76293be1d1a742a0e951c763b5a59ffce056b4a7a84b33dade0e1c96a9887474d16571c797d916c7357ad7fb8004ddbe5195175ca55954 0036-gcc-go-undef-SETCONTEXT_CLOBBERS_TLS-in-proc.c.patch
c6dbba1ae7e11ab0ff58f4c001b5b76c776bf42f17591bc035b42bd7c4e473d837e7daf58e71949889cd1631a88ef5da7058e5d65292090d844077fbb2f6ae02 0037-gcc-go-link-to-libucontext.patch
11e017e82c9e3a8216703972a2d5195eb9153f224d43aeda0aa63519f39212d735b9018ea1c28a214e1eaac31339b5b48273d46a009d82c16a5041d1c0462b2f 0038-gcc-go-Disable-printing-of-unaccessible-ppc64-struct.patch
f83a53fefcadcae65fbda5e7d7f3dc3ee949596056ac1b4fbd3117af469a2ea306cacb4f58c345018c12868f64d63d82b1de63a65fcba21749a0a85c6dcaa95a 0039-CRuntime_Musl-Support-v1.2.0-for-32-bits.patch
b19533749ca4048a2956eab18b99fb2e1c5e4cffe9bf4a77d628b0e167af1f9dbb08a747d7888b365789ab9c6e5ce8cd6c09ef171e33f08c136ef6d4b5f05192 0040-configure-Add-enable-autolink-libatomic-use-in-LINK_.patch"
+3 -3
View File
@@ -1,7 +1,7 @@
From 4ed2cc3054f444c683f54954c32e586a54066337 Mon Sep 17 00:00:00 2001
From 56ba7da205f1ec49b1379ab40d533c2e2d70a1a7 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Fri, 26 Jan 2018 20:32:50 +0000
Subject: [PATCH 01/40] posix_memalign
Subject: [PATCH] posix_memalign
---
gcc/config/i386/pmm_malloc.h | 9 +++++----
@@ -38,5 +38,5 @@ index 87344d9383f..ece428df487 100644
else
return NULL;
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 09a32a40b34477cd787deb12833c063a09dea7b2 Mon Sep 17 00:00:00 2001
From 4c53f798c9823dcfc7fe8e2dd26de0077545069d Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 29 Mar 2013 08:59:00 +0400
Subject: [PATCH 02/40] gcc: poison-system-directories
Subject: [PATCH] gcc: poison-system-directories
Add /sw/include and /opt/include based on the original
zecke-no-host-includes.patch patch. The original patch checked for
@@ -26,7 +26,7 @@ Upstream-Status: Pending
7 files changed, 68 insertions(+)
diff --git a/gcc/common.opt b/gcc/common.opt
index dfed6ec76ba..8bb65e0e1af 100644
index 9cc47b16cac..d8b2e237d89 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -682,6 +682,10 @@ Wreturn-local-addr
@@ -58,7 +58,7 @@ index 364eba47737..9551c0dfdf9 100644
optimizer and back end) to be checked for dynamic type safety at runtime.
This is quite expensive. */
diff --git a/gcc/configure b/gcc/configure
index b4088d8fd1e..793530e21cf 100755
index 8fe9c91fd7c..17b878e4b4e 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -1010,6 +1010,7 @@ with_system_zlib
@@ -78,7 +78,7 @@ index b4088d8fd1e..793530e21cf 100755
--enable-plugin enable plugin support
--enable-host-shared build host code as shared libraries
--disable-libquadmath-support
@@ -30271,6 +30274,19 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
@@ -30276,6 +30279,19 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
fi
@@ -99,10 +99,10 @@ index b4088d8fd1e..793530e21cf 100755
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 070b9c6c497..0fd438e39e5 100644
index 84dceb8074a..bf64ffbe46f 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -6605,6 +6605,16 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
@@ -6608,6 +6608,16 @@ AC_ARG_ENABLE(version-specific-runtime-libs,
[specify that runtime libraries should be
installed in a compiler-specific directory])])
@@ -120,7 +120,7 @@ index 070b9c6c497..0fd438e39e5 100644
AC_SUBST(subdirs)
AC_SUBST(srcdir)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 0d532a64bfe..86e57038042 100644
index 0c1b5975e6b..ede239a0ccd 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -348,6 +348,7 @@ Objective-C and Objective-C++ Dialects}.
@@ -199,5 +199,5 @@ index 8a2bda00f80..9098ab044ab 100644
/* Use given -I paths for #include "..." but not #include <...>, and
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 77e75a23e9bdf8863823225567c509b6fed49e6e Mon Sep 17 00:00:00 2001
From caf66e830299ba0a865041800ea9b32a3091f141 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:45:49 +0000
Subject: [PATCH 03/40] Turn on -Wl,-z,relro,-z,now by default.
Subject: [PATCH] Turn on -Wl,-z,relro,-z,now by default.
---
gcc/doc/invoke.texi | 3 +++
@@ -9,10 +9,10 @@ Subject: [PATCH 03/40] Turn on -Wl,-z,relro,-z,now by default.
2 files changed, 4 insertions(+)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 86e57038042..87ff404bc20 100644
index ede239a0ccd..43d02c26a1a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -14645,6 +14645,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the
@@ -14663,6 +14663,9 @@ For example, @option{-Wl,-Map,output.map} passes @option{-Map output.map} to the
linker. When using the GNU linker, you can also get the same effect with
@option{-Wl,-Map=output.map}.
@@ -35,5 +35,5 @@ index b2200c5185a..625c9ab7902 100644
%{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!r:%{!nostartfiles:%S}}} \
%{Wno-poison-system-directories:--no-poison-system-directories} \
--
2.29.2
2.31.0
@@ -1,8 +1,8 @@
From 3b76b0c848746d4adbc4e8db408efd41aefb829c Mon Sep 17 00:00:00 2001
From 48413b53fb7c9d780b55b84eaf6c70f154719907 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:22 +0000
Subject: [PATCH 04/40] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++,
ObjC, ObjC++, if the optimization level is > 0
Subject: [PATCH] Turn on -D_FORTIFY_SOURCE=2 by default for C, C++, ObjC,
ObjC++, if the optimization level is > 0
---
gcc/c-family/c-cppbuiltin.c | 4 ++++
@@ -25,7 +25,7 @@ index db91a36794a..ed976c71404 100644
if (flag_gnu89_inline)
cpp_define (pfile, "__GNUC_GNU_INLINE__");
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 87ff404bc20..01e67e97491 100644
index 43d02c26a1a..78469ebe55d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -9230,6 +9230,12 @@ also turns on the following optimization flags:
@@ -42,5 +42,5 @@ index 87ff404bc20..01e67e97491 100644
@opindex O3
Optimize yet more. @option{-O3} turns on all optimizations specified
--
2.29.2
2.31.0
@@ -1,8 +1,8 @@
From 483912c560424ee8b5cc996990d45802671fc73f Mon Sep 17 00:00:00 2001
From 31ec8fceef33284c4ed3ca4bb97e4a24eb088265 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:46:56 +0000
Subject: [PATCH 05/40] On linux targets pass --as-needed by default to the
linker, but always link the sanitizer libraries with --no-as-needed.
Subject: [PATCH] On linux targets pass --as-needed by default to the linker,
but always link the sanitizer libraries with --no-as-needed.
---
gcc/config/aarch64/aarch64-linux.h | 1 +
@@ -265,5 +265,5 @@ index 625c9ab7902..7aec9d3a016 100644
#else
#define LIBUBSAN_SPEC "-lubsan" STATIC_LIBUBSAN_LIBS
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From c57a8b43401ca9a1b889fa9fd421ac49c3dbd380 Mon Sep 17 00:00:00 2001
From 1a17780987ee63da34d330e9a2b186751c929c46 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:47:43 +0000
Subject: [PATCH 06/40] Enable -Wformat and -Wformat-security by default.
Subject: [PATCH] Enable -Wformat and -Wformat-security by default.
---
gcc/c-family/c.opt | 4 ++--
@@ -30,5 +30,5 @@ index c49da99d395..93f25319005 100644
Wformat-overflow=
--
2.29.2
2.31.0
@@ -1,14 +1,14 @@
From a58dad2c52639422671ac6986c36e48499fc2f20 Mon Sep 17 00:00:00 2001
From 901acffb0caae749c5b830d01a6e858f34311cd5 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:48:24 +0000
Subject: [PATCH 07/40] Enable -Wtrampolines by default.
Subject: [PATCH] Enable -Wtrampolines by default.
---
gcc/common.opt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/common.opt b/gcc/common.opt
index 8bb65e0e1af..ace932b300d 100644
index d8b2e237d89..5087ae84d49 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -774,7 +774,7 @@ Common Var(warn_system_headers) Warning
@@ -21,5 +21,5 @@ index 8bb65e0e1af..ace932b300d 100644
Wtype-limits
--
2.29.2
2.31.0
@@ -1,8 +1,8 @@
From 98b2b8f7de60ed1b6b7602124ef6db278cf3c212 Mon Sep 17 00:00:00 2001
From 4d09aa762edd682ffb7665b21f7ecd6e1cf90a3f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:49:40 +0000
Subject: [PATCH 08/40] Disable ssp on -nostdlib, -nodefaultlibs and
-ffreestanding Change the buffer size.
Subject: [PATCH] Disable ssp on -nostdlib, -nodefaultlibs and -ffreestanding
Change the buffer size.
---
gcc/gcc.c | 8 +++++++-
@@ -49,5 +49,5 @@ index 4aec480798b..eaecfab37ad 100644
-param=stack-clash-protection-guard-size=
--
2.29.2
2.31.0
@@ -1,8 +1,8 @@
From 035775ef38206ed2859500efe5fb42ceec2e858d Mon Sep 17 00:00:00 2001
From e9b5aa5bb3788b2600a719d3b5ed56e3397ec0ad Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:50:33 +0000
Subject: [PATCH 09/40] Ensure that msgfmt doesn't encounter problems during
gcc bootstrapping.
Subject: [PATCH] Ensure that msgfmt doesn't encounter problems during gcc
bootstrapping.
Solves error messages like the following:
@@ -50,5 +50,5 @@ index a0f84b0cfa0..ab24a47a2fd 100644
all-local: all-local-$(USE_NLS)
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From e9875d74e75c601b95dba677bc9e58c869150212 Mon Sep 17 00:00:00 2001
From d87e3805d5f308798e82008b9b3c3440958b6f20 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:52:07 +0000
Subject: [PATCH 10/40] Don't declare asprintf if defined as a macro.
Subject: [PATCH] Don't declare asprintf if defined as a macro.
---
include/libiberty.h | 3 +++
@@ -24,5 +24,5 @@ index 141cb886a85..fa0e78eb62f 100644
/* Like asprintf but allocates memory without fail. This works like
xmalloc. */
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 764e64bba73a7b7eb5154c8537781412252ed33e Mon Sep 17 00:00:00 2001
From 33b3fa0e5bc57219de066c04beaf4fcd09054812 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:53:00 +0000
Subject: [PATCH 11/40] libiberty: copy PIC objects during build process
Subject: [PATCH] libiberty: copy PIC objects during build process
---
libiberty/Makefile.in | 1 +
@@ -20,5 +20,5 @@ index d6b302e02fd..fd39928546f 100644
else true; fi
--
2.29.2
2.31.0
@@ -1,17 +1,17 @@
From da46d99b1b7661a98064a45bdccf08c1867582b0 Mon Sep 17 00:00:00 2001
From 0538fa07136fefd76a0b958db48cd6a06eaf630c Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:53:36 +0000
Subject: [PATCH 12/40] libitm: disable FORTIFY
Subject: [PATCH] libitm: disable FORTIFY
---
libitm/configure.tgt | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/libitm/configure.tgt b/libitm/configure.tgt
index 04109160e91..107b957ece3 100644
index d1beb5c9ec8..c2b50b95c01 100644
--- a/libitm/configure.tgt
+++ b/libitm/configure.tgt
@@ -46,6 +46,16 @@ if test "$gcc_cv_have_tls" = yes ; then
@@ -47,6 +47,16 @@ if test "$gcc_cv_have_tls" = yes ; then
esac
fi
@@ -29,5 +29,5 @@ index 04109160e91..107b957ece3 100644
# work out any special compilation flags as necessary.
case "${target_cpu}" in
--
2.29.2
2.31.0
+5 -5
View File
@@ -1,7 +1,7 @@
From 354f2a8ceb70f9f6e1688ba41c1cc1c17ac87329 Mon Sep 17 00:00:00 2001
From 7f4a2e2f3ab6b649538f3fd775a6f7a5507de543 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 24 Oct 2015 20:09:53 +0000
Subject: [PATCH 13/40] libgcc_s
Subject: [PATCH] libgcc_s
---
gcc/config/i386/i386-expand.c | 4 ++--
@@ -10,10 +10,10 @@ Subject: [PATCH 13/40] libgcc_s
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/gcc/config/i386/i386-expand.c b/gcc/config/i386/i386-expand.c
index c6033688f51..a60e5162995 100644
index 47d52550e5e..9cb8cc7950e 100644
--- a/gcc/config/i386/i386-expand.c
+++ b/gcc/config/i386/i386-expand.c
@@ -10966,10 +10966,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
@@ -10976,10 +10976,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
{
case IX86_BUILTIN_CPU_INIT:
{
@@ -53,5 +53,5 @@ index 8506a635790..564296f788e 100644
+HOST_LIBGCC2_CFLAGS += -mlong-double-80 $(CET_FLAGS)
CRTSTUFF_T_CFLAGS += $(CET_FLAGS)
--
2.29.2
2.31.0
+7 -7
View File
@@ -1,7 +1,7 @@
From 7fb84007ff62309abffdbddfa751e69c331e82c3 Mon Sep 17 00:00:00 2001
From 6c3e5f01e4ac338e85b1a6b5956699d882705882 Mon Sep 17 00:00:00 2001
From: Szabolcs Nagy <nsz@port70.net>
Date: Sat, 7 Nov 2015 02:08:05 +0000
Subject: [PATCH 14/40] nopie
Subject: [PATCH] nopie
---
gcc/configure | 27 +++++++++++++++++++++++++++
@@ -9,10 +9,10 @@ Subject: [PATCH 14/40] nopie
2 files changed, 40 insertions(+)
diff --git a/gcc/configure b/gcc/configure
index 793530e21cf..2d874d3defe 100755
index 17b878e4b4e..808570b6c99 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -30779,6 +30779,33 @@ fi
@@ -30784,6 +30784,33 @@ fi
$as_echo "$gcc_cv_no_pie" >&6; }
if test "$gcc_cv_no_pie" = "yes"; then
NO_PIE_FLAG="-no-pie"
@@ -47,10 +47,10 @@ index 793530e21cf..2d874d3defe 100755
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 0fd438e39e5..0b257e687ee 100644
index bf64ffbe46f..9c2571de709 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -6863,6 +6863,19 @@ AC_CACHE_CHECK([for -no-pie option],
@@ -6866,6 +6866,19 @@ AC_CACHE_CHECK([for -no-pie option],
LDFLAGS="$saved_LDFLAGS"])
if test "$gcc_cv_no_pie" = "yes"; then
NO_PIE_FLAG="-no-pie"
@@ -71,5 +71,5 @@ index 0fd438e39e5..0b257e687ee 100644
AC_SUBST([NO_PIE_FLAG])
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 3f764eb6dc371cc48cfdf231cbd40e64b1f2a671 Mon Sep 17 00:00:00 2001
From 66657865719efb0a86ea2ab75511cb326e8aa46f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:57:09 +0000
Subject: [PATCH 15/40] libffi: use __linux__ instead of __gnu_linux__ for musl
Subject: [PATCH] libffi: use __linux__ instead of __gnu_linux__ for musl
---
libffi/src/closures.c | 2 +-
@@ -21,5 +21,5 @@ index 721ff00ea43..22a699c6340 100644
with both write and execute permission. Code compiled when this
option is defined will attempt to map such pages once, but if it
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From b78dea0f8f09d4092bec52b7ada719ead2552dd2 Mon Sep 17 00:00:00 2001
From b8a954b1e4033ff559e312d693c74e90e3f13210 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:57:51 +0000
Subject: [PATCH 16/40] dlang: update zlib binding
Subject: [PATCH] dlang: update zlib binding
---
libphobos/src/std/zlib.d | 266 ++++++++++++++++++++++++++++-----------
@@ -421,5 +421,5 @@ index e6cce240fd5..bd2fe37ebec 100644
}
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 58c529af8a9673b90dc7137065ab788c25b358a8 Mon Sep 17 00:00:00 2001
From 4d1fe9d5df3ab850df21d68c73d2d3c601910288 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:58:22 +0000
Subject: [PATCH 17/40] dlang: fix fcntl on mips, add libucontext dep
Subject: [PATCH] dlang: fix fcntl on mips, add libucontext dep
---
libphobos/configure.tgt | 1 +
@@ -47,5 +47,5 @@ index 9febcff849b..cb34e2108bd 100644
static assert(0, "Platform not supported");
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 2a614f9b702b02c312cd513eddb1fc6745f9a3ad Mon Sep 17 00:00:00 2001
From 04d8d2c7052c0e92825b4246da0df9ac8753701e Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:16 +0000
Subject: [PATCH 18/40] ada: fix shared linking
Subject: [PATCH] ada: fix shared linking
---
gcc/ada/link.c | 12 ++++++------
@@ -38,5 +38,5 @@ index 02c413a412f..f0e52a87d6e 100644
unsigned char __gnat_objlist_file_supported = 1;
const char *__gnat_object_library_extension = ".a";
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From dab36b973223e0d6853f564e845bc22dadcc4d2d Mon Sep 17 00:00:00 2001
From 3da9a00035f6052926918200fdbeff478ff88d28 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:43 +0000
Subject: [PATCH 19/40] build: fix CXXFLAGS_FOR_BUILD passing
Subject: [PATCH] build: fix CXXFLAGS_FOR_BUILD passing
---
Makefile.in | 1 +
@@ -20,5 +20,5 @@ index 36e369df6e7..63627db68cf 100644
# This is the list of directories to built for the host system.
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From ca8a8331acef15d0b3b095b8c63539acd1d93e8b Mon Sep 17 00:00:00 2001
From 1274452fed850d4910aac101aa50c26a2011e15f Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:01:06 +0000
Subject: [PATCH 21/40] add fortify-headers paths
Subject: [PATCH] add fortify-headers paths
---
gcc/config/linux.h | 2 ++
@@ -21,5 +21,5 @@ index 95654bcdb5a..d88df8f154a 100644
{ NATIVE_SYSTEM_HEADER_DIR, 0, 0, 0, 1, 0 },
#else
--
2.29.2
2.31.0
@@ -1,32 +0,0 @@
From c2efb7703c2ef381a8b1d1cd751222e0a7e10665 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:00:17 +0000
Subject: [PATCH 20/40] libstdc++: futex: add time64 compatibility
---
libstdc++-v3/src/c++11/futex.cc | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/libstdc++-v3/src/c++11/futex.cc b/libstdc++-v3/src/c++11/futex.cc
index c9de11a7ec7..7be702dbeda 100644
--- a/libstdc++-v3/src/c++11/futex.cc
+++ b/libstdc++-v3/src/c++11/futex.cc
@@ -61,7 +61,15 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
struct timeval tv;
gettimeofday (&tv, NULL);
// Convert the absolute timeout value to a relative timeout
+#if defined(SYS_futex_time64)
+ struct
+ {
+ long tv_sec;
+ long tv_nsec;
+ } rt;
+#else
struct timespec rt;
+#endif
rt.tv_sec = __s.count() - tv.tv_sec;
rt.tv_nsec = __ns.count() - tv.tv_usec * 1000;
if (rt.tv_nsec < 0)
--
2.29.2
@@ -1,9 +1,9 @@
From 23468db70f830e99ac138826d28cc33fa71d3405 Mon Sep 17 00:00:00 2001
From 427c95f4cd889f97983d2b5ac4de6501bcf53166 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
Date: Fri, 21 Aug 2020 07:03:00 +0000
Subject: [PATCH 22/40] Alpine musl package provides libssp_nonshared.a. We
link to it unconditionally, as otherwise we get link failures if some objects
are -fstack-protector built and final link happens with -fno-stack-protector.
Subject: [PATCH] Alpine musl package provides libssp_nonshared.a. We link to
it unconditionally, as otherwise we get link failures if some objects are
-fstack-protector built and final link happens with -fno-stack-protector.
This seems to be the common case when bootstrapping gcc, the piepatches do
not seem to fully fix the crosstoolchain and bootstrap sequence wrt.
stack-protector flag usage.
@@ -27,5 +27,5 @@ index daeb4d0c8ea..6920bec0fa0 100644
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
"|fstack-protector-strong|fstack-protector-explicit" \
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 67513cb76a43014172f54384c3bad0c41e949c8a Mon Sep 17 00:00:00 2001
From d3440b3e7d5d9448309b4c3f74487f4c05726a5a Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:03:42 +0000
Subject: [PATCH 23/40] DP: Use --push-state/--pop-state for gold as well when
Subject: [PATCH] DP: Use --push-state/--pop-state for gold as well when
linking libtsan.
---
@@ -65,5 +65,5 @@ index 6920bec0fa0..40e07354b3d 100644
#else
#define LIBUBSAN_SPEC "-lubsan" STATIC_LIBUBSAN_LIBS
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 5d9d38da4f523c052a5bcd2562d79809b4136f2c Mon Sep 17 00:00:00 2001
From 5b1bffa6323f1e9f981f1db2b574a876ebcf2bd6 Mon Sep 17 00:00:00 2001
From: Nils Andreas Svee <me@lochnair.net>
Date: Thu, 21 Dec 2017 03:14:33 +0100
Subject: [PATCH 24/40] Pure 64-bit MIPS
Subject: [PATCH] Pure 64-bit MIPS
---
gcc/config/mips/mips.h | 8 ++++----
@@ -43,5 +43,5 @@ index ceb58d3b5f3..8116e23ebba 100644
+ ../lib32 \
+ ../lib
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From ac0eeb3237ac2cf75c19be92afe3335c9a0d83bb Mon Sep 17 00:00:00 2001
From 7a38f81aa9cc5ed4a39b54480209e29615bd6594 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:04:40 +0000
Subject: [PATCH 25/40] use pure 64-bit configuration where appropriate
Subject: [PATCH] use pure 64-bit configuration where appropriate
---
gcc/config/aarch64/t-aarch64-linux | 2 +-
@@ -117,5 +117,5 @@ index cc6ab367072..7f498ee1cdc 100644
+MULTILIB_OSDIRNAMES = m64=../lib
+MULTILIB_OSDIRNAMES+= m32=../lib32
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 3f35cf750117fa7cbceaf33e4bea008d0688bd93 Mon Sep 17 00:00:00 2001
From eb4c45fb32845cf9ed5e3627380d889f972dbb02 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:05:41 +0000
Subject: [PATCH 26/40] always build libgcc_eh.a
Subject: [PATCH] always build libgcc_eh.a
highly inspired by:
http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch
@@ -47,5 +47,5 @@ index 851e7657d07..99ec513a1a6 100644
for file in $$parts; do \
rm -f $(DESTDIR)$(inst_libdir)/$$file; \
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 48342d154084bb9610b8f02f93fcfc2aa606595a Mon Sep 17 00:00:00 2001
From f06868abe42037e8a97fb1e724df56a81b6d3b36 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:06:30 +0000
Subject: [PATCH 27/40] ada: libgnarl compatibility for musl
Subject: [PATCH] ada: libgnarl compatibility for musl
---
gcc/ada/libgnarl/s-osinte__linux.ads | 11 ------
@@ -9,7 +9,7 @@ Subject: [PATCH 27/40] ada: libgnarl compatibility for musl
2 files changed, 3 insertions(+), 61 deletions(-)
diff --git a/gcc/ada/libgnarl/s-osinte__linux.ads b/gcc/ada/libgnarl/s-osinte__linux.ads
index 80cb2b2a793..701b7a3aeab 100644
index ef449af33d1..bd7312e6686 100644
--- a/gcc/ada/libgnarl/s-osinte__linux.ads
+++ b/gcc/ada/libgnarl/s-osinte__linux.ads
@@ -399,12 +399,6 @@ package System.OS_Interface is
@@ -131,5 +131,5 @@ index c45559e5ba0..0b0f173e7d4 100644
pragma Assert (Result in 0 | ENOMEM);
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 0d517a7c90f9e21616c8ad0c66e24c1554f6658c Mon Sep 17 00:00:00 2001
From b87099f99e9b97efa684d59a63a7585bc0ae7c34 Mon Sep 17 00:00:00 2001
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 07:07:48 +0000
Subject: [PATCH 28/40] ada: musl support fixes
Subject: [PATCH] ada: musl support fixes
---
gcc/ada/Makefile.rtl | 10 +++++-----
@@ -219,5 +219,5 @@ index af4417fab90..bab6bf3ca87 100644
status = openpty (&master_fd, &slave_fd, NULL, NULL, NULL);
#elif defined (USE_CLONE_DEVICE)
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 3d86ab883c2a67dc9828f73a3d84c9fdb202ec32 Mon Sep 17 00:00:00 2001
From ebfdc1ed30206086a1f59c0e45d11b735ca22181 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:58:08 +0200
Subject: [PATCH 29/40] gcc-go: Use _off_t type instead of _loff_t
Subject: [PATCH] gcc-go: Use _off_t type instead of _loff_t
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -44,5 +44,5 @@ index 88286c07b6e..f8f5cfb5011 100644
}
n, err = splice(rfd, plroff, wfd, plwoff, len, flags)
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From da63b5262701f91a2261812332f2850be0180634 Mon Sep 17 00:00:00 2001
From 53c8bd07ef19cefadfd5ca6e2b845862ba9c4d14 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:58:21 +0200
Subject: [PATCH 30/40] gcc-go: Don't include sys/user.h
Subject: [PATCH] gcc-go: Don't include sys/user.h
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -26,5 +26,5 @@ index 0692fd41eb7..c8d987358d9 100644
#include <sys/utsname.h>
#endif
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From 18d6d2d1f62a4232340696fb7d68d248c751e416 Mon Sep 17 00:00:00 2001
From 4ebf1f48bae799d4d9c0d3de88c5d8e0f1f2900e Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:59:22 +0200
Subject: [PATCH 31/40] gcc-go: Fix ucontext_t on PPC64
Subject: [PATCH] gcc-go: Fix ucontext_t on PPC64
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -25,5 +25,5 @@ index b429fdb2403..fd1c885f043 100644
ret.sigpc = ((ucontext_t*)(context))->uc_mcontext.jmp_context.iar;
#elif defined(__aarch64__) && defined(__linux__)
--
2.29.2
2.31.0
@@ -1,7 +1,7 @@
From d9942a2e54f69dee9c03e5e4339a6c62473e6845 Mon Sep 17 00:00:00 2001
From 2ea8b4f0d7cd8e96436ca14ef7f08615496d6d38 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Sun, 30 Aug 2020 17:59:45 +0200
Subject: [PATCH 32/40] gcc-go: Fix handling of signal 34 on musl
Subject: [PATCH] gcc-go: Fix handling of signal 34 on musl
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -39,5 +39,5 @@ index 11e4ec436bd..fe866eacb27 100644
if test "${GOOS}" = "aix"; then
--
2.29.2
2.31.0
Loaded 100 of 1215 files, more files were not shown because too many files have changed in this diff. Show more