Commit graph

895 commits

Author SHA1 Message Date
Antoine Fontaine
9f6c41c832
main/postmarketos-ui-xfce4: set XDG_RUNTIME_DIR (MR 1151)
working towards #458. See [1] for an explaination

 [1]: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1131#note_318923711
2020-04-14 01:33:08 +02:00
Niklas Cathor
6e75bf0e40
main/postmarketos-mkinitfs: fix mkbootimg call for devices w/o dtb (MR 1148)
Don't pass empty arguments to mkbootimg, when _second or _dt are not set.
2020-04-12 19:51:22 +02:00
Oliver Smith
23c58a681f
main/postmarketos-mkinitfs: modules from files (!1123)
Read kernel module names from files in
/etc/postmarketos-mkinitfs/modules and print out which modules are
required by which of these files as the initramfs gets generated. Put
the default modules into a new 00-default.modules. This allows mkinitfs
hooks to add modules to the initramfs.

Parse the modules from a file similar to modules-load.d, with commented
lines and empty lines ignored. Add a simple test script for that and run
it in check().
2020-04-12 00:56:22 +02:00
Oliver Smith
3e7604601a
main/postmarketos-mkinitfs: split mkinitfs funcs (!1123)
Split mkinitfs.sh into two files, so the functions (now in
mkinitfs_functions.sh) can be sourced in a test. Such a test will be
added in the next commit.

Move $BINARIES_EXTRA into the get_binaries_extra() function, so its
$(find...) does not get executed when sourcing the functions file. Move
$BINARIES into get_binaries() too for consistency.
2020-04-12 00:56:22 +02:00
Oliver Smith
74f42ebeb0
main/postmarketos-mkinitfs: pass shellcheck (!1123)
Make it pass shellcheck by fixing obvious mistakes like '==' instead of
'='. Add "shellcheck disable" lines for things that are intentionally done
or would be a bit more complicated to rewrite. It would be nice to
refactor some things like '${outfile/initramfs-/uImage-}', but this should
be done in a separate change (patches welcome).

Remove unused variable "modules_path". While at it, add two new fatal
error messages instead of just "exit 1" without any comment and remove
redundant mkdir in APKBUILD.
2020-04-12 00:56:17 +02:00
Danct12
7f64e287e7
main/linux-postmarketos-allwinner: use rtl8723cs driver from kernel tree (!1002)
We'll use the new RTL8723CS driver in the kernel tree instead
of using the one that we have to fetch from GitHub.

Signed-off-by: Danct12 <danct12@disroot.org>
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>

[ci:skip-build]: already built successfully in CI
2020-04-11 01:48:52 +02:00
Antoine Fontaine
dafe96e37e
main/postmarketos-ui-weston: launch dbus with weston (!1118) 2020-04-11 01:44:18 +02:00
Antoine Fontaine
4046873480
main/postmarketos-ui-i3wm: set XDG_RUNTIME_DIR (!1131)
working towards https://gitlab.com/postmarketOS/pmaports/-/issues/458.
2020-04-09 11:05:26 +02:00
Daniele Debernardi
bd15afc217
main/postmarketos-mkinitfs: execute lddtree without privileges (!1133)
The lddtree script uses the scanelf utility which has some security check that causes a slowdown of the operation, executing it without privileges it's really faster.
2020-04-09 10:35:06 +02:00
Daniele Debernardi
36f15b58f6
main/postmarketos-mkinitfs: remove initramfs-extra cache (!1133) 2020-04-09 10:35:03 +02:00
Dolphin von Chips
e2ab2fcd47
main/dtbtool: use "python3" binary instead of "python" (!1136) 2020-04-08 17:37:48 +03:00
Alexey Min
5119c7a043
main/dtbtool: fix upstream compat issues
fix depends and force a rebuild
2020-04-07 07:03:33 +03:00
Alexey Min
213d01a99a
main/linux-postmarketos-qcom-sdm660: new aport (!1095)
tracks https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git/tree/?h=for-next
and adds sdm660 patches on top of it
2020-04-06 04:00:40 +03:00
Oliver Smith
0ea9d8db52
main/anbox-image: fix armv7 build (!1128)
[ci:skip-vercheck]
2020-04-05 19:49:17 +02:00
Antoine Fontaine
db0af6a8ed
main/anbox-image: move image to /usr/share/anbox and updates armv7 to 64bit binder (!1116) 2020-04-05 15:30:46 +02:00
Oliver Smith
ca708dd453
maemo: remove (!1126)
The current postmarketOS port does not do Hildon/Maemo Leste justice.
Various features are missing or broken. We can't even upgrade to the newest
version, because of packaging issues that can't easily be resolved. And
nobody is maintaining it currently. So for the people who want to use
Hildon, please use Maemo Leste (https://maemo-leste.github.io/).

If somebody is willing to invest a lot of time for a new postmarketOS
port of Hildon/Maemo Leste, let us know!
2020-04-05 15:22:13 +02:00
Dolphin von Chips
176555a4a1
**/linux-*: update usage of downstreamkernel_prepare helper (!1084)
[skip-ci]: just downloading all kernel sources takes about one hour
           and ollieparanoid wants to merge it now. This already ran
	   successfully with [ci:skip-build] and [ci:skip-vercheck].
2020-04-05 12:43:25 +02:00
Dolphin von Chips
a4b1fb8371
devicepkg-dev: implement out-of-tree build for kernel (!1084) 2020-04-05 12:30:39 +02:00
Bhushan Shah
8af4d8c27a
main/telepathy-mission-control: backport bugfix for newer glib (!1119)
This fixes telephony functions on plasma mobile
2020-04-05 04:12:51 +03:00
Minecrell
4db63c0627
main/devicepkg-dev: install modules-load.conf/modprobe.conf (!1124)
Many device ports install extra modules-load.conf/modprobe.conf
configurations. Simplify this a bit by installing these automatically
to appropriate locations in the file system.
2020-04-04 21:17:18 +03:00
Minecrell
c747733aec
main/linux-postmarketos-qcom-msm8916: upgrade to 5.6 (!1115)
- Update to Linux 5.6
- Major improvements for Samsung Galaxy Tab 4 10.1 WiFi (samsung-matissevewifi)
  - Buttons
  - Accelerometer
  - Display
  - Touchscreen
  - Audio (Speaker is WIP)
- Upstreamed some patches
2020-03-31 21:42:36 +03:00
Alexey Min
53147b32d0
main/linux-postmarketos-qcom-msm8974: add findutils build dependency (!1090)
Forces to use normal "find" instead of busybox find.
This fixes unrecognized -printf parameter error dutring build:

 ...
 GEN     usr/initramfs_data.cpio
find: unrecognized: -printf
BusyBox v1.31.1 () multi-call binary.

Usage: find [-HL] [PATH]... [OPTIONS] [ACTIONS]
 ...
2020-03-30 20:34:34 +02:00
Luca Weiss
c185730ef3
main/linux-postmarketos-qcom-msm8974: enable useful config options (!1090) 2020-03-30 20:34:34 +02:00
Luca Weiss
9e4c2f697d
main/linux-postmarketos-qcom-msm8974: upgrade to 5.6.0_rc6 (!1090) 2020-03-30 20:34:34 +02:00
Bart Ribbers
49d057c79a
main/postmarketos-ui-plasma-mobile: add plasma-dialer to depends (!1093) 2020-03-30 12:51:01 +02:00
Oliver Smith
a10a1c8b41
main/umockdev: remove
Left over from unity 8, which has been removed from pmaports earlier.
umockdev depends on libgudev in Alpine, which has been moved from main
to community. As of writing, there is no armhf package, so the upstream
compatibility test is failing. There is no point in waiting until the
package was built though, since nobody is currently using in in
pmaports.
2020-03-29 21:58:02 +02:00
Raatty
e8892392e8
main/lightdm-mobile-greeter: new aport (!1017)
[ci:skip-build]: already built successfully in CI
2020-03-29 17:16:39 +02:00
Bakonyi Ferenc
9f1fbc77eb
main/fbkeyboard: add missing dependency (!1108) 2020-03-26 20:27:29 +01:00
HenriDellal
466cf9a0e8
main/hwtest: add missing dependency (!1106) 2020-03-26 17:43:30 +03:00
Alexey Min
8a45592949
main/linux-postmarketos-allwinner: enable CONFIG_INPUT_UINPUT and some fixes (!1051)
CONFIG_INPUT_UINPUT is needed for !1012

- linter fix: remove unneeded HOSTCC
- use downstreamkernel_package
- _abi_release was never used
- this package is only enabled for aarch64, so always use
  modules_install dbts_install in package(), remove redundant
  switch case
2020-03-24 14:50:13 +03:00
Ferenc Bakonyi
987add16a9
main/fbkeyboard: new framebuffer console keyboard tool (!1012) 2020-03-23 04:45:15 +03:00
Oliver Smith
81b5d606f3
main/postmarketos-ui-plasma-mobile: remove pmos-demos dependency (!1086)
The point of this program was to have something to play with once weston
boots up. It does not make sense to ship this with
postmarketos-ui-plasma-mobile.

Related: postmarketos-demos#1
2020-03-22 21:33:45 +03:00
Daniele Debernardi
ecb510c295
main/linux-postmarketos-stable: remove (!1073)
[ci:skip-build]: already built successfully in CI
2020-03-21 21:12:02 +01:00
Oliver Smith
27018c7ce8
main/postmarketos-ui-phosh: disable armhf
Some package postmarketos-ui-phosh depends on, is in turn depending on
qt5-qtwayland, which is currently not available for armhf.

[ci:skip-vercheck]
2020-03-21 16:24:36 +01:00
Danct12
43364cd064
main/linux-postmarketos-allwinner: completely disable sysrq (!1078)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-03-19 16:52:54 +01:00
Antoine Fontaine
9ae464c2b2
main/postmarketos-ui-phosh: force wayland backend for gtk programs (!1059) 2020-03-19 01:35:31 +03:00
Minecrell
0b35afde22
main/linux-postmarketos-stable: disable on all except armv7 (!1064)
nokia-n900 is the last user of linux-postmarketos-stable.
Let's keep it as-is temporarily until nokia-n900 has been migrated
to Alpine's linux-lts or a custom kernel.

Disable it on all other architectures to make it clear
that it is obsolete.

[ci:skip-vercheck]: no changes, only disabled architectures
2020-03-18 13:38:50 +01:00
Minecrell
841707b42b
main/linux-postmarketos-mainline: remove (!1064)
See #464
2020-03-18 13:38:47 +01:00
Luca Weiss
ae769fd180
main/ofonoctl: upgrade to 0.4.1 (!986) 2020-03-16 03:13:20 +03:00
Daniele Debernardi
5e68cafad9
main/postmarketos-demos: remove leftover files (!1062)
The application has now it's own repository and is not built anymore using these files.
2020-03-14 13:16:58 +01:00
Oliver Smith
1783d28bcc
main/postmarketos-ui-plasma-desktop: !armhf
Plasma isn't available in Alpine for armhf.

[ci:skip-vercheck]
2020-03-14 05:19:23 +01:00
Danct12
5029f563be
main/postmarketos-ui-plasma-desktop: new aport (!1005)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-03-14 03:50:21 +01:00
Dolphin von Chips
2ec1db16b5
main/devicepkg-dev: allow specifying kernel image in downstreamkernel_prepare (!1026) 2020-03-14 01:39:33 +01:00
Dr. Git
212b03dc36
{oneplus-oneplus3,oneplus-oneplus3t}: new device (OnePlus 3/3T) (!923) 2020-03-13 12:39:25 +01:00
Antoine Fontaine
ca0d788edd
main/anbox-image: drop input patch (!1054)
It is no longer necessary, as input patch has been backported
https://gitlab.alpinelinux.org/alpine/aports/merge_requests/5277
2020-03-11 20:57:24 +01:00
Minecrell
b566e05cf9
main/linux-postmarketos-qcom-msm8916: upgrade to 5.6-rc5 (!1055)
- Update to Linux 5.6-rc5
- Basic audio support on samsung-gt510wifi (speaker is WIP)
- Initial support for samsung-matissevewifi
- Enable some kernel config options for elogind/Anbox/fbkeyboard
2020-03-11 20:12:06 +03:00
Alexey Min
5e7e254e08
main/avbtool: new aport (!1019)
Tools to work with Android Verified Boot 2.0 images (vbmeta)
2020-03-10 21:01:43 +01:00
Daniele Debernardi
de6deb8201
main/postmarketos-mkinitfs: check if initramfs-extra is missing (!1046) 2020-03-10 01:23:14 +01:00
HenriDellal
36a2e78c2c
main/dtbtool-sprd: new aport (!1041)
dtbtool-sprd is a version of dtbtool which is meant for
Spreadtrum devices. Spreadtrum uses different header magic.
2020-03-09 19:21:21 +03:00
Luca Weiss
f332c7d29e
main/qmi-ping: new aport (!1031) 2020-03-08 02:47:10 +03:00