Commit graph

1843 commits

Author SHA1 Message Date
Bart Ribbers
3609074ced
main/postmarketos-welcome-gtk3: modernize (MR 1538) 2020-09-08 10:09:07 +02:00
Martijn Braam
1039f705fb
main/linux-postmarketos-allwinner: hotfix for hdmi output (MR 1524)
Sloppy patch that makes the displayport alt-mode output signal work on
the PinePhone convergence edition. Proper fix is in the 5.8 tree

[ci:skip-build]: Martijn made sure that it builds and works. This is
		 time critical, so skip the CI build.
2020-09-01 16:59:48 +02:00
Luca Weiss
ee5ae81e2a
main/msm-fb-refresher: modernize openrc service (MR 1482) 2020-09-01 14:01:08 +02:00
Oliver Smith
5056fcb576
main/mobile-config-firefox: set maintainer 2020-08-31 10:55:20 +02:00
Oliver Smith
838d5609ca
main/mobile-config-firefox: add pkgver to provides (MR 1507)
Fix mobile-config-firefox not replacing postmarketos-config-firefox on
upgrade. Without the pkgver in provides, apk only considers
mobile-config-firefox as virtual package name, not as replacement.

Verified with the CE factory image:

	$ sudo apk upgrade
	...
	(20/29) Purging postmarketos-config-firefox (1-r0)
	(21/29) Installing mobile-config-firefox (1.0.1-r1)
	...
2020-08-28 12:30:41 +02:00
Oliver Smith
71355c6f13
main/postmarketos-ui-plasma-mobile: disable x86 (MR 1508)
postmarketos-ui-plasma-mobile has plasma-camera in _pmb_recommends.
plasma-camera does not build for x86, because mpg123-libs-1.26.3-r0 is
still broken in Alpine edge repos (aports#11807).

Disable postmarketos-ui-plasma-mobile for x86 again, so the CI check
test_aports_ui doesn't fail anymore with:
postmarketos-ui-plasma-mobile/APKBUILD: package 'plasma-camera' from _pmb_recommends not found for arch 'x86'

[ci:skip-vercheck]: only modifying arches
[ci:skip-build]: unfortunately, postmarketos-ui-plasma-mobile fails to
build for x86_64 too due to broken libdv in Alpine (aports#11892).

I'll create MRs to Alpine to fix the broken depends, so we should be
able to enable it again soon.

Related: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11807
Related: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11892
2020-08-28 12:28:06 +02:00
Bart Ribbers
ae3ea00c88 main/postmarketos-ondev: re-enable on armv7 and x86
Originally disabled because of https://gitlab.alpinelinux.org/alpine/aports/-/issues/11807
but the plasma-pa is available again
2020-08-25 21:19:43 +02:00
Bart Ribbers
a7e9ba6f2c main/postmarketos-ui-plasma-mobile: re-enable on armv7 and x86
Originally disabled because of https://gitlab.alpinelinux.org/alpine/aports/-/issues/11807
but the plasma-pa is available again
2020-08-25 21:19:39 +02:00
Bart Ribbers
aced152afc
main/postmarketos-base: depend on dnsmasq (MR 1438)
dnsmasq is required by NetworkManager for WiFi Hotspot to work.
2020-08-23 12:31:22 +02:00
Bart Ribbers
7b58ed7fce
main/postmarketos-base: stop the power key from shutting down devices (MR 1499)
Pressing power button should not power off a device. Although it is
expected on desktops and laptops, it isn't expected on phones and
tablets. Instead it should just turn off the screen or go into a deep
sleep, but that isn't handled by elogind. So let elogind just ignore the
button altogether.

Also re-order the dependencies alphabetically while we're touching the
package anyway
2020-08-22 22:41:41 +02:00
Luca Weiss
37e43bcaac
main/postmarketos-mkinitfs: add mediatek header in mkinitfs (MR 1483)
Previously we added the header in the kernel packages but as we already
add the ramdisk header here and to simplify the process we also add the
addition of the kernel header into mkinitfs.
2020-08-22 10:38:53 +02:00
Oliver Smith
c9987d2e30
main/mobile-config-firefox: upgrade to 1.0.1 (MR 1501) 2020-08-21 13:00:32 +02:00
Oliver Smith
ffec01ac09
main/postmarketos-android-recovery-installer: upgrade to 1.0.2 (MR 1494)
Changes: https://gitlab.com/postmarketOS/postmarketos-android-recovery-installer/-/tags/1.0.2
2020-08-20 23:00:28 +02:00
Oliver Smith
af2f2e23a4
main/postmarketos-ui-plasma-mobile: update _pmb_recommends (MR 1492)
[ci:skip-vercheck]: _pmb_recommends change doesn't need pkgrel bump
2020-08-15 18:42:00 +02:00
Oliver Smith
fef3af0d75
main/postmarketos-ui-phosh: no scaling for firefox (MR 1492)
With the new mobile-config-firefox, the window width is small enough
that the window does not need to be scaled. This looks better overall,
and avoids scaling glitches.
2020-08-15 18:42:00 +02:00
Oliver Smith
4024d9a770
main/postmarketos-ui-phosh: update _pmb_recommends (MR 1492) 2020-08-15 18:42:00 +02:00
Oliver Smith
56b9ddc27e
main/{postmarketos => mobile}-config-firefox: replace (MR 1492)
New version does not just support Firefox 68 (firefox-esr in Alpine 3.12),
which is going to be EOL soon. It also supports the new ESR 78
(firefox-esr in Alpine edge, soon also in 3.12, supported until ~2021-04)
and 79 (current stable "rapid release" version; firefox in Alpine edge).

The source was moved to a dedicated git repo, so other distributions can
also use it. Keep the distro-specific links here in a separate HTML
file, so they can be modified without changing
mobile-config-firefox.git.

Related: https://gitlab.com/postmarketOS/mobile-config-firefox
2020-08-15 18:41:56 +02:00
Bart Ribbers
0420b71043
main/heimdall: drop, upstreamed to Alpine 2020-08-13 12:20:24 +02:00
Oliver Smith
372f1f8add
main/osk-sdl: upgrade to 0.57 (MR 1486)
Also add myself as maintainer, since I've been reviewing quite a few
osk-sdl MRs lately, tagging new versions and upgrading this pmaport.

Related: https://gitlab.com/postmarketOS/osk-sdl/-/tags/0.57
2020-08-11 17:08:40 +02:00
Martijn Braam
87a009a9b8
main/postmarketos-mkinitfs: fix error on missing dtb (MR 1491) 2020-08-11 10:52:14 +02:00
Minecrell
ef433965c5
main/linux-postmarketos-stericsson: upgrade to 5.8 (MR 1475)
- Update to Linux 5.8
- samsung-skomer:
  - Fix accelerometer mount-matrix
  - Fix some potential display issue(s)
  - Enable touchscreen driver in kernel config

[ci:skip-build]: already built successfully in CI
2020-08-03 15:53:38 +02:00
Oliver Smith
09e7d6cbf5
main/postmarketos-ui-plasma-desktop: !x86,!armv7
Missing "plasma" binary package in Alpine edge.

Related: https://builds.sr.ht/~postmarketos/job/271060#task-pmbootstrap_build-48
Related: https://builds.sr.ht/~postmarketos/job/271039#task-pmbootstrap_build-48
2020-08-03 12:16:58 +02:00
Oliver Smith
e3fa88e244
main/postmarketos-ui-sway: disable x86 2020-08-03 12:16:58 +02:00
Oliver Smith
256e2b853d
main/postmarketos-ui-phosh: disable x86 2020-08-03 12:16:58 +02:00
Oliver Smith
06b0ece8af
main/postmarketos-ui-kodi: disable x86 2020-08-03 12:16:58 +02:00
Oliver Smith
97e5a3a7d2
temp/plasma-phone-components: disable for armv7, x86
Missing plasma-pa, plasma-workspace packages in Alpine edge for these
architectures.
2020-08-03 12:16:58 +02:00
Oliver Smith
5fc66d575a
kde/plasma-camera: disable x86
Dependency mpg123-libs-1.26.3-r0 is currently broken in Alpine edge for
x86. Disable the UI package too, as it depends on plasma-camera.

Related: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11807
2020-08-03 12:16:53 +02:00
Oliver Smith
42e335e9cd
main/postmarketos-ui-sway: disable on armhf
The packages built against musl-1.2 did not get uploaded from the
builders. Disable for now.

Related: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11807
2020-08-03 10:16:42 +02:00
Oliver Smith
273797a767
Revert "*/*: disable armv7 for plasma programs"
The circular dependency has been resolved, and the binary packages have
been pushed to Alpine#s repsitory. This reverts commit
35015139f3.
[ci:skip-build] [ci:skip-vercheck]

Related: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/10757
2020-07-30 18:04:25 +02:00
Luca Weiss
fcb300ebc5
main/telephony-service: bump pkgrel (MR 1468)
The package has to be rebuilt due to a soname bump of libQt5Contacts
(.so.0 -> .so.5)

[ci:skip-build]: already built successfully
2020-07-30 11:51:54 +02:00
Luca Weiss
e4d6385500
main/qt5-qtpim: upgrade to 0_git20190618 and fix up (MR 1468)
See the patch descriptions for more details. All patches will be
submitted upstream (patch 0001 has already been submitted more than half
a year ago but hasn't had any activity yet).
2020-07-30 11:51:20 +02:00
Antoine Fontaine
5aa6d12268
main/postmarketos-ui-plasma-desktop: fix dependency name (MR 1466) 2020-07-29 16:46:22 +02:00
Oliver Smith
08ce273d6f
main/qtwebbrowser: disable armv7
qt5-qtwebengine is currently not available in Alpine edge.
[ci:skip-build], [ci:skip-vercheck]

Related: build.postmarketos.org#72
2020-07-29 12:22:17 +02:00
Oliver Smith
35015139f3
*/*: disable armv7 for plasma programs
"plasma" and some related packages are currently missing in Alpine edge
armv7 due to a cyclic dependency. Let's disable all packages depending
on plasma for armv7 temporarily, to get the pmOS edge armv7 repo up
again.
[ci:skip-build], [ci:skip-vercheck]: only arch line changed

Related: build.postmarketos.org#72
2020-07-29 12:19:04 +02:00
Stefan Strogin
8b29dc4049
main/postmarketos-ui-phosh: fix desktop file name in mimeapps.list (MR 1457)
firefox.desktop -> org.mozilla.firefox.desktop.

NOTE by ollieparanoid: do not cherry-pick to v20.05, unless the file got
renamed in Alpine 3.12 as well!

Related: https://git.alpinelinux.org/aports/commit/community/firefox?id=2d291a4afc2c71e25c8fd9fff188eff436b80580
2020-07-28 13:13:27 +02:00
Oliver Smith
f1680651ea
main/postmarketos-ui-phosh: open links in firefox (MR 1455)
Add mimeapps.list, so links clicked in postmarketos-welcome and other
applications properly open in firefox. Without this patch, they just
don't open at all.

Bump the pkgver instead of the pkgrel, so the APKBUILD is in sync again
on both master and v20.05 (right now, the pkgrel on v20.05 is ahead by
one, otherwise the file is the same).

Related: https://help.gnome.org/admin/system-admin-guide/stable/mime-types-application.html.en
2020-07-26 10:19:29 +02:00
Oliver Smith
9bc80e151f
main/postmarketos-ui-phosh: no gnome-software first run dialog (MR 1453)
Disable the first run screen in GNOME software, which invites the user
to browse and install apps. We do not want people to use GNOME software to
do that when they open it for the first time in postmarketOS after
installing, we want them to do updates. So this dialog is misleading for
our users, and will lead to a bad experience for those who follow what
it suggests.

I think there's more wrong with that dialog (in context of postmarketOS),
more detailed reasoning and screenshot in:
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1449#note_385456592
2020-07-25 23:05:30 +02:00
Oliver Smith
f6cdacfe53
main/postmarketos-hidden-desktop-entries: add FF-ESR safe mode (MR 1448)
Firefox ESR Safe Mode has another name for the .desktop file, hide it as
well.
2020-07-24 18:32:05 +02:00
Martijn Braam
81eb346b87
main/postmarketos-ui-plasma-mobile: add firefox config (MR 1445)
While at it, sort _pmb_recommends alphabetically.

[ci:skip-vercheck]: only _pmb_recommends changed
2020-07-24 17:25:10 +02:00
Martijn Braam
6279468f78
main/postmarketos-ui-phosh: add firefox config (MR 1445)
Replace firefox with firefox-esr, remove epiphany. With the current
version of epiphany, the postmarketOS wiki doesn't even load every time,
so that's not something we want to ship.
2020-07-24 17:24:34 +02:00
Oliver Smith
9b2a0a796d
main/postmarketos-config-firefox: new aport (MR 1445)
Add policies.json and prefs.js to configure Firefox (yes, you need both
to be able to control all this):

Mobile improvements:
* Enable zooming with fingers
* Mobile user agent (from tor browser for android)

Privacy improvements:
* Disable search suggestions, so URLs do not get sent to search engines
  as they are getting typed.
* Disable Firefox studies
* Disable Telemetry
* Set DuckDuckGo as default search engine, not Google

Uncluttering (screen space, remove broken features, less distractions):
* Move all buttons to the overflow menu and remove spacers around the
  address bar
* Empty "new tab" page (loads faster, no annoying "top sites" etc.)
* Disable developer tools, so the hamburger menu fits the screen of the
  pinephone. These aren't really useful on phones anyway.
* Disable "Firefox Screenshots": the feature did not work with the mobile
  resolution in Phosh.
* No default bookmarks from Firefox
* Disable First Run Page
* Disable Post Update Page
* Disable "User Messaging" (What's new, Extension/Feature
  Recommendations, Urlbar Interventions)

Add a local html file that serves as lightweight default homepage. It
links to the postmarketOS blog and wiki, explains that this is desktop
firefox with mobile configuration and explains how to change settings
and install addons (with a direct link to ublock origin). Users can
override the homepage, new tab page, search engine, search suggestions
pre-configured by this package directly in the UI.

I chose Firefox ESR, because:
* It fits the screen better: the "new tab" button is bigger, the menu
  opening when you click the top-right button actually fits the screen,
  with all its submenus. There are zoom controls in the same menu, which
  make the preferences pages very usable.
* It's possible to override the default search engine with a policy
  file; that's not possible in non-ESR firefox (we'd probably need to
  change it in the sources).

Related: https://github.com/mozilla/policy-templates
Co-authored-by: Martijn Braam <martijn@brixit.nl>
2020-07-24 17:24:00 +02:00
Oliver Smith
24b7576bbb
main/postmarketos-ui-{phosh,plasma-mobile}: hide desktop icons (MR 1437)
[ci:skip-vercheck]: _pmb_recommends changes don't need a rebuild
2020-07-24 13:58:49 +02:00
Oliver Smith
2cd60bfddf
main/postmarketos-hidden-desktop-entries: new aport (MR 1437)
In phosh, we have broken Cheese (Camera) and Extensions (from GNOME shell)
icons in the launcher. They get dragged in via dependencies, so the
easiest way to disable them is just overruling the .desktop icon. We can
make Cheese visible again in a post-install script (just check if it
points to nodisplay.desktop and delete the link) once we have it working.

Hide icons for terminal programs (htop, nvim, vim) as well as "Firefox
Safe Mode" too. If somebody really wants to use the FF safe mode, they
can do so via terminal.

Have a simple initial version, maybe make it more sophisticated with
UI-specific hidden icons later (right now, it doesn't make sense to
install this in normal GNOME, because there you would need
org.gnome.Extensions). (There is "NotShowIn=phosh" (untested), but using
this would mean that we need to keep all the information of the original
desktop file for the UIs that will display them; we can't just use the
symlink trick. I'm not sure if we want that at all, but it's
definitively over-engineered for now.)
2020-07-24 13:57:55 +02:00
Oliver Smith
8a3f6a5a46
main/postmarketos-ui-phosh: add first run screen (MR 1441)
[ci:skip-vercheck]: only modified _pmb_recommends
2020-07-24 13:41:51 +02:00
Oliver Smith
03abcef25b
main/postmarketos-welcome-gtk3: upgrade to 0.2.0 (MR 1441)
Run automatically on first login, update text, put proper title and icon
in desktop launcher.
2020-07-24 13:41:51 +02:00
Bart Ribbers
aacc7ca8a4
main/postmarketos-ui-phosh: use xdg-user-dirs (MR 1432) 2020-07-22 11:58:04 +02:00
Bart Ribbers
ad734ac4f9
main/postmarketos-ui-plasma-mobile: use xdg-user-dirs (MR 1432) 2020-07-22 11:58:00 +02:00
Oliver Smith
bfa705b745
main/postmarketos-mkinitfs: fix device sed regex (MR 1436)
The p? is not redundant. Without it, the p in mmcblk0p2 for example does
not get cut off, meaning the resulting device is not "mmcblk0" but
"mmcblk0p". My bad, sorry for the breakage.

Fixes: 9f6600ba ("main/postmarketos-mkinitfs: rm pmOS_deleteme")
Fixes: 9d86f6fe ("main/postmarketos-mkinitfs: resize: unallocated space check, even if forced")
2020-07-22 09:18:10 +02:00
Oliver Smith
9f6600ba18
main/postmarketos-mkinitfs: rm pmOS_deleteme (MR 1428)
Remove the "pmOS_deleteme" partition left behind by the on-device
installer, if it exists. Let the existing resize_root_partition() extend
the root partition over the newly gained space (and rest of the storage
device) right afterwards.
2020-07-21 22:53:03 +02:00
Oliver Smith
b55d95f3a9
main/postmarketos-mkinitfs: resize_root_partition: update comment (cosmetic) (MR 1428) 2020-07-21 22:53:02 +02:00
Oliver Smith
9d86f6fe92
main/postmarketos-mkinitfs: resize: unallocated space check, even if forced (MR 1428)
In resize_root_partition(), put the unallocated space check into an
extra function has_unallocated_space(). Run it even if
PMOS_FORCE_PARTITION_RESIZE is used, so we don't attempt to resize the
partition if there is no free space.

While at it, change "sed 's/p?2$//'" to "sed 's/2$//' in an already
modified line, because it means the same thing and is less confusing
(? in regex means: 0 or 1 time).
2020-07-21 22:53:02 +02:00
Ferenc Bakonyi
460c8de69d
main/postmarketos-mkinitfs-hook-console-shell: Add support for rotated framebuffers (MR 1422) 2020-07-21 11:14:47 +02:00
Bart Ribbers
f343c6b011
main/postmarketos-ui-xfce4: use _pmb_recommends (MR 1426) 2020-07-20 19:04:37 +02:00
Bart Ribbers
c759f7168e
main/postmarketos-ui-weston: use _pmb_recommends (MR 1426) 2020-07-20 19:04:37 +02:00
Bart Ribbers
56abe23715
main/postmarketos-ui-sway: use _pmb_recommends (MR 1426) 2020-07-20 19:04:37 +02:00
Bart Ribbers
d9d439a9ff
main/postmarketos-ui-plasma-mobile: use _pmb_recommends (MR 1426)
Also remove trojita as requested by Bhushan Shah
2020-07-20 19:04:37 +02:00
Bart Ribbers
83e97bd4fe
main/postmarketos-ui-plasma-desktop: use _pmb_recommends (MR 1426) 2020-07-20 19:04:37 +02:00
Bart Ribbers
dba56461f2
main/postmarketos-ui-phosh: use _pmb_recommends (MR 1426) 2020-07-20 19:04:37 +02:00
Minecrell
911fd167a7
main/linux-postmarketos-stericsson: upgrade to 5.8-rc3 (MR 1424) 2020-07-20 18:44:38 +02:00
Oliver Smith
63226cf9b5
main/postmarketos-ondev: upgrade to 0.2.1 (MR 1423)
Most importantly, this makes the on-screen keyboard work reliably.

Related: https://gitlab.com/postmarketOS/postmarketos-ondev/-/tags/0.2.1
2020-07-20 16:27:45 +02:00
Martijn Braam
2fb6d11f91
main/postmarketos-mkinitfs: allow multiple dtbs (MR 1163)
Allow setting multiple dtb filenames in the deviceinfo seperated
by spaces
2020-07-16 23:14:54 +02:00
Martijn Braam
5ac381fc46
main/crust: new aport (MR 1163) 2020-07-16 23:14:45 +02:00
Oliver Smith
2722f6cac5
main/postmarketos-ui-{gnome,phosh}: less revealing epiphany user-agent (MR 1402)
Make it less trivial to fingerprint users of the epiphany browser on
postmarketOS, by replacing the postmarketOS specific user-agent with an
user-agent from a current pixel device.

Old:
	Mozilla/5.0 (postmarketOS device, like iPhone; X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15 Epiphany/605.1.15

New:
	Mozilla/5.0 (Linux; Android 10; Pixel) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.96 Mobile Safari/537.36

Taken from the following page. Note that this seems to be one of the few
cases, where not a full android build ID is included. Which makes it a
bit harder to fingerprint. Not as good as the tor browser one, but with
that one we'd have to pretend that a webkit browser is firefox.

https://developers.whatismybrowser.com/useragents/explore/operating_platform/pixel/2

Related: https://blog.torproject.org/browser-fingerprinting-introduction-and-challenges-ahead
Related: https://developer.chrome.com/multidevice/user-agent
Related: https://webaim.org/blog/user-agent-string-history/
2020-07-15 13:35:33 +02:00
Bart Ribbers
e3e4b01add
main/postmarketos-ui-phosh: add gnome-contacts to depends (MR 1415) 2020-07-14 13:35:03 +02:00
Ferenc Bakonyi
39b6a7e19c
main/postmarketos-ui-fbkeyboard: support rotated fbcon, remove unneeded console resize (MR 1410) 2020-07-11 20:40:30 +03:00
PureTryOut
2f1fb6c371
main/postmarketos-ui-plasma-mobile: add dep on kaccounts-providers (MR 1376)
This way people can setup online accounts like NextCloud to sync contacts and such
2020-07-11 20:30:23 +03:00
Oliver Smith
cb3f7f22ea
main/postmarketos-welcome-gtk3: new aport (MR 1381)
Add a simple welcome screen app, that we should eventually display when
starting Phosh for the first time (needs to be done in a different
patch).
2020-07-11 19:45:17 +03:00
Ferenc Bakonyi
49b18224bb
main/fbkeyboard: upgrade to 0.4 (MR 1409) 2020-07-11 17:19:57 +02:00
Oliver Smith
0cfcc52e0d
*/linux-*: enable CONFIG_CRYPTO_XTS (MR 1405)
Enable CONFIG_CRYPTO_XTS for each kernel, so we can switch to using
aes-xts-plain64 as default cipher for cryptsetup (override with
"pmbootstrap --cipher"), instead of aes-cbc-plain64 (pmbootstrap#1940).

I have executed "pmbootstrap kconfig edit" on each kernel, and manually
toggled the option. The diff is not always clean, because for some
kernels it is apparently the first time, that menuconfig was executed on
the configs like that. In a few instances, it turned out that
CONFIG_ANDROID_PARANOID_NETWORK needed to be disabled too (this is
already a requirement, but as the config was incomplete, it was not
visible that this option was enabled). Very few times, I had to enable
CONFIG_EXPERIMENTAL in order to see and enable CONFIG_CRYPTO_XTS.

It would be great if we could automate such mass kconfig edits in the
future, see pmbootstrap#1942.

[skip ci]: I have verified, that every single one of these kernels builds.
           CI will likely run out of time while downloading source tarballs.
2020-07-11 15:26:35 +02:00
Minecrell
2a8897b079
main/linux-postmarketos-qcom-msm8916: enable CONFIG_CRYPTO_XTS (MR 1405)
Seems like "pmbootstrap kconfig edit" causes unrelated kernel config
changes for some reason (probably because pmbootstrap does not install
a cross compiler for it). For now let's just edit the config manually
with the new options so everything else stays as-is.
2020-07-11 15:26:34 +02:00
Danct12
50aa62358b
main/postmarketos-ui-plasma-mobile: combine extras package into a subpackage (MR 1006) 2020-07-09 09:19:42 +03:00
PureTryOut
6b1b89f271
main/mkbootimg-osm0sis: upgrade to 2020.05.18 (MR 1375) 2020-07-08 19:12:56 +03:00
Oliver Smith
784782f543
main/postmarketos-base: keep /etc/fstab (MR 1398)
Only add a comment, do not try to mount the root or boot partitions
anymore. The initramfs is doing this already.

Related: https://postmarketos.org/fstab
2020-07-08 18:02:49 +02:00
Oliver Smith
863ec713ba
main/postmarketos-mkinitfs: mount /sysroot/boot (MR 1398)
Mount the boot partition at /sysroot/boot and keep it mounted, when
running the switch_root command. This way, OpenRC doesn't need to mount
it and possibly use the wrong partition. The OpenRC service does not use
the same logic to find the boot partition, in particular it does not
support the pmos_boot kernel parameter.

While at it, print the mountpoint and read-only/read-write arguments in
the mounting log message for both root and boot.

Fixes: #664
2020-07-08 18:02:49 +02:00
Oliver Smith
58ae4df2ef
main/postmarketos-base: rm write_unless_modified (MR 1398)
Get rid of the "write_unless_modified" code, which was supposed to only
change /etc/fstab, /etc/issue, /etc/motd if the user did not modify it.

This is nice in theory, but we have a bug report where the code did not
do what it should (apk audit possibly failed due to a qemu bug?), and
then it lead to strange bugs related to not having the expected
/etc/fstab installed.

Fixes: #661, #258
2020-07-08 18:02:49 +02:00
Martijn Braam
4cff95a5bb
main/linux-postmarketos-allwinner: upgrade to 5.7.0_git20200705 (MR 1397)
This adds panel stability patches and enables more resolutions on
the hdmi port of the A64.
2020-07-08 17:26:42 +02:00
Martijn Braam
baa69a57f7
main/postmarketos-ui-phosh: add scaling overrides (MR 1396) 2020-07-06 15:45:22 +02:00
Martijn Braam
0b00e23280
main/linux-postmarketos-allwinner: upgrade to 5.7.0_git20200704 (MR 1393)
This enables mult-sensor support in sun6i-csi, support for the
gc2145 front camera, the new panel driver from mainline linux
and a small fix for the anx7688 that prevents it spamming the
kernel log when no cable is plugged in on 1.2a hardware.
2020-07-05 19:45:53 +02:00
Martijn Braam
d4c55e8712
main/linux-postmarketos-allwinner: upgrade to 5.7.0_git20200629 (MR 1377)
[ci:skip-build]: already built successfully in CI
2020-07-02 13:51:09 +02:00
Oliver Smith
2a83ff4ac0
main/osk-sdl: upgrade to 0.56 (MR 1379) 2020-07-01 00:31:10 +02:00
Oliver Smith
c606d92296
main/postmarketos-ondev: upgrade to 0.2.0 (MR 1378) 2020-07-01 00:23:52 +02:00
Wazup
fea884dd87
main/linux-postmarketos-allwiner: enable IP_SET module (MR 1372) 2020-06-27 19:23:40 +03:00
Alexey Min
8217bbc3c2
main/linux-postmarketos-allwinner: add patch descriptions (MR 1372)
Fixes linter warnings
2020-06-27 19:22:24 +03:00
Oliver Smith
cab8f10d2f
*/*: bump pkgrels for failed builds
gitlab.com had a service disruption, so it was not possible to "git
clone" from gitlab.com from some regions, like where the sourcehut
infrastructure is located. Since we are building our packages on
builds.sr.ht, this caused all packages that should be built at that time
to fail. It is working again, so bump the pkgrels to restart the builds.
2020-06-27 09:13:19 +02:00
Bart Ribbers
d43c2780ac
main/{mauikit,vvave,pix,nota,index,buho}: drop, upstreamed to Alpine (MR 1311) 2020-06-26 11:31:37 +00:00
Bart Ribbers
356e7ecb77
*/*: switch CMake buildtype to None (MR 1311)
This switch has happened in the Alpine repos quite a while ago and most
of the pmOS packages were using it already too, so let's switch over the
last ones as well.

This also cleans up the APKBUILDs where necessary
2020-06-26 11:31:37 +00:00
Antoine Fontaine
d9be626aa7 main/postmarketos-ui-plasma-mobile: force wayland backend for gtk programs 2020-06-25 15:45:50 +02:00
Bart Ribbers
a949531876
main/postmarketos-ui-plasma-mobile: replace pix dependency for koko (MR 1327) 2020-06-25 16:27:34 +03:00
Danct12
ea0fd7cb7f
main/linux-postmarketos-allwinner: upgrade to 0_git20200528 (MR 1267)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-06-25 15:20:38 +02:00
Alexey Min
df57eaf100
main/postmarketos-ondev: rebuild against new libcalamares 2020-06-25 16:04:51 +03:00
Bhushan Shah
3c18b8e09e
main/postmarketos-ui-plasma-mobile: depend on iio-sensor-proxy (MR 1370)
This is needed for rotation to work.
2020-06-25 09:20:41 +02:00
Antoine Fontaine
e2d1438815
main/postmarketos-ui-phosh: enable bluetooth support (MR 1352)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/529.
2020-06-23 11:19:00 +02:00
Bart Ribbers
ae8707a439
main/postmarketos-ui-phosh: install gnome-software by default (MR 1345) 2020-06-22 15:27:55 +03:00
Minecrell
51e97f026b
main/linux-postmarketos-stericsson: upgrade to 5.8-rc2 (MR 1360)
- Update to Linux 5.8-rc2
- samsung-golden: Add magnetometer/proximity sensor, touchkeys
2020-06-22 11:51:02 +02:00
Minecrell
caa2018bce
main/linux-postmarketos-stericsson: rename from -novathor (MR 1360)
In the Linux kernel, the ST-Ericsson NovaThor U8500 SoC is barely
ever mentioned under the "NovaThor" name, more common are names like
U8500, Ux500, ST-Ericsson, STE, ...

Let's rename the kernel package to linux-postmarketos-stericsson
to make that more clear. Also cleanup the APKBUILD a bit while we're
at it, HOSTCC is unneeded, remove unnecessary depends, ...
2020-06-22 11:50:44 +02:00
Bradley
1cf42e6db8
linux-postmarketos-allwinner: enable f2fs module and fs compression (MR 1353)
[ci:skip-build] builds locally
2020-06-21 23:46:42 +03:00
Danct12
df5eec9de6
main/linux-postmarketos-allwinner: only RTL8723CS_NEW (MR 1322)
We cannot have two of them at the same time, most compiler would fail here
but for some reason our didn't.

However, it's better to just use one (the new one, or the old one). Enable
CONFIG_RTL8723CS_NEW, which is the new driver that made it to pine64
kernel since 5.5.

Signed-off-by: Danct12 <danct12@disroot.org>

[ci:skip-build]: already built successfully in CI
2020-06-21 11:18:22 +02:00
Danct12
f7ed67b1b7
main/postmarketos-ui-phosh: disable auto-brightness by default (MR 1348)
We should disable it by default and let the user to enable it
when they want it.

And currently it's causing problems where the backlight would
go very dark with it enabled on PinePhone.

Signed-off-by: Danct12 <danct12@disroot.org>
2020-06-20 18:00:47 +02:00
Luca Weiss
eb30e7b8a8
main/postmarketos-ondev: upgrade to 0.1.5 (MR 1342)
This release gets rid of the hacks needed for out-of-tree modules in the
previous version of calamares.

[ci:skip-build]: already built successfully in CI
2020-06-20 10:42:42 +02:00
Wazup
1e9d04e60c
enable xt_owner and xt_time kernel modules (MR 1343) 2020-06-19 09:14:27 +02:00
Oliver Smith
4aa63d74de
main/postmarketos-ondev: disable armhf
[ci:skip-vercheck]
2020-06-18 22:26:40 +02:00
Oliver Smith
bb5c0cdc7f
main/postmarketos-ondev: new aport (MR 1296) 2020-06-18 21:50:32 +02:00
Oliver Smith
9be8b59a00
main/postmarketos-mkinitfs: support pmOS_install (MR 1296)
Prefer booting from a pmOS_install partition if it exists, but do not
resize it.

Related: https://wiki.postmarketos.org/wiki/On-device_installer
2020-06-17 21:41:06 +02:00
Miles Alan
b89fc77d7c
main/linux-postmarketos-allwiner: add CONFIG_SND_ALOOP=m to allow loopback dev (MR 1309)
This makes recording system audio very simple and feasible in a cross-device
manner since application-logic can always rely / forward ALSA audio to the
loopback device instead of a device-specific audio interface.
2020-06-17 12:51:06 +02:00
Antoine Fontaine
99a29577ef
main/postmarketos-ui-xfce4: remove GTK2 mention in pkgdesc (MR 1279) 2020-06-16 17:49:00 +02:00
Antoine Fontaine
0ad00120a1
main/postmarketos-ui-plasma-mobile: mention that plamo can't run without fb support in the pkgdesc (MR 1279) 2020-06-16 17:49:00 +02:00
Antoine Fontaine
9ca39cbf24
main/postmarketos-ui-gnome: remove armhf mention (MR 1279)
since https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/1937,
people won't see the ui if their device arch is incompatible.
2020-06-16 17:49:00 +02:00
Oliver Smith
1807426f67
main/osk-sdl: upgrade to 0.55 (MR 1316)
Improved keyboard with bigger buttons and layout change from 4 rows
(+ space row) to 3 rows for easier typing.
2020-06-16 16:49:46 +03:00
Antoine Fontaine
41c2e1a307
main/postmarketos-mkinitfs: add mkinitfs to replaces (MR 1300)
fixes pmbootstrap#1851.
2020-06-15 02:32:25 +03:00
Oliver Smith
5aababedf1
main/postmarketos-android-recovery-installer: upgrade to 1.0.1 (MR 1297)
Has various bugfixes. Set myself as maintainer, as Attila isn't very
active.

Related: https://gitlab.com/postmarketOS/postmarketos-android-recovery-installer/-/tags/1.0.1
Related: https://wiki.postmarketos.org/wiki/File:Postmarketos-android-recovery-installer.jpeg
2020-06-10 16:50:19 +02:00
Minecrell
140a04816f
main/linux-postmarketos-qcom-msm8916: upgrade to 5.7.1 (MR 1295)
We are in the midst of the Linux 5.8 merge window so there is no new
-rc version to rebase on. -rc1 next week is also not the perfect choice
for a release (first rc is usually still a bit unstable).

On the other hand the changes that landed the last few days are quite
nice and ready to go, so I decided to rebase on a stable kernel release
(5.7.1). Not sure if I'm ever going to do this again :)

Changes:
- Update to Linux 5.7.1
- bq-paella: Add sound and modem
- Enable some new kernel options for DB410c
2020-06-09 23:18:36 +03:00
Dr. Git
80c94d6b8e
linux-postmarketos-qcom-msm8996: change repository location and upgrade to 5.7 (MR 1292) 2020-06-09 14:05:58 +03:00
Danct12
fa6c5413fd
main/kmscube: upgrade to 0_git20200401 (MR 1287)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-06-06 21:34:04 +07:00
Minecrell
768ae7c1ee
main/linux-postmarketos-qcom-msm8916: upgrade to 5.7 (MR 1284)
- Update to Linux 5.7
- motorola-harpia: Add battery reporting
- bq-paella: Add accelerometer/magnetometer/gyroscope
- bq-paella: Expose touch key backlight as LED
2020-06-06 09:40:59 +03:00
Ferenc Bakonyi
48fa646f08
main/postmarketos-mkinitfs-hook-console-shell: new aport (MR 1094)
Provides early debug shell via initramfs. Might be useful on devices
without USB networking, works well on PinePhone.
2020-06-05 12:57:22 +02:00
Pellegrino Prevete
fc98518f40
linux-postmarketos-qcom-msm8974: enable CONFIG_USER_NS (MR 1282)
This fixes GNOME Web on the hammerhead and other devices using this
kernel
2020-06-03 14:57:25 +02:00
Antoine Fontaine
67493f8003
main/postmarketos-ui-weston: actually start dbus (!1280)
dbus-launch doesn't get installed automatically. On the other hand,
dbus-run-session does. This version ensures that dbus is also launched
for the graphical demos
2020-06-03 14:17:35 +02:00
Ferenc Bakonyi
f1ad4128d5
main/postmarketos-ui-fbkeyboard: new aport (MR 1013)
- Make service restart-safe by resetting console size via stop_post()
- Check if /dev/uinput exists, and if it does not, do "modprobe -q uinput"
2020-06-02 13:58:42 +02:00
Raatty
d2bb9c2b1d
main/postmarketos-ui-{i3wm,kodi,mate,plasma-mobile,sway,weston,xfce4}: fix conflicting autologin file (MR 1238) 2020-05-25 10:35:43 +02:00
HenriDellal
7dcfb89c5f
main/postmarketos-demos: upgrade to 1.1.0 (MR 1266)
Related to https://gitlab.com/postmarketOS/postmarketos-demos/-/merge_requests/1
Version 1.1.0 adds support for small screens and scrollable layout.
2020-05-25 10:31:33 +02:00
Luca Weiss
7fc1292b9b
main/devicepkg-dev: generate /etc/machine-info (MR 1246) 2020-05-24 06:35:02 +02:00
Federico Amedeo Izzo
b6ea0ba1de
{nokia-n900,samsung-i9070}: move swclock initial timestamp back to postmaketos-base.post-install (MR 1166) 2020-05-23 17:57:40 +02:00
Federico Amedeo Izzo
859772a915
*/*: add missing exit 0 in post-install scripts (MR 1166) 2020-05-23 17:57:36 +02:00
Federico Amedeo Izzo
0e502a5139
postmarketos-base: disable swclock for all devices, enable it for nokia-n900 and samsung-i9070 (MR 1166) 2020-05-23 17:57:27 +02:00
Luca Weiss
e350b00b9b
treewide: chmod -x files (MR 1237)
We don't want executable APKBUILDs, deviceinfo files, etc in pmaports.
Remove the executable bit from those files.

[ci:skip-build]
[ci:skip-vercheck]
2020-05-23 17:29:18 +02:00
Luca Weiss
768f534c8b
main/pil-squasher: new aport (MR 1259) 2020-05-23 17:26:36 +02:00
Raatty
5b9b164945
main/lightdm-mobile-greeter: remove aport, upstreamed to Alpine (MR 1189) 2020-05-20 12:02:37 +03:00
Antoine Fontaine
6041d4eed0
Support Anbox explicitly in some kernels: (MR 1232)
* linux-postmarketos-allwinner
* linux-postmarketos-qcom-msm8916
* linux-asus-me176c

They support anbox already.

It will make CI catch errors such as the removal of anbox support in
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1205 when
https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/1916 will
be merged.

[ci:skip-vercheck] and [ci:skip-build]: no need to rebuild the package.
2020-05-19 22:23:39 +03:00
Martijn Braam
05969fc3bc
main/postmarketos-ui-phosh: enable iio-sensor-proxy (MR 1229) 2020-05-17 15:09:54 +02:00
Bart Ribbers
853cfaf381
main/pure-maps: new aport (MR 593) 2020-05-17 10:50:33 +02:00
Bart Ribbers
8398fa0c86
main/qml-module-clipboard: new aport (MR 593) 2020-05-17 10:50:31 +02:00
Bart Ribbers
27ebefefb9
main/mapbox-gl-qml: new aport (MR 593) 2020-05-17 10:50:27 +02:00
Bart Ribbers
a6d909c873
main/mapbox-gl-native: new aport (MR 593) 2020-05-17 10:50:22 +02:00
Minecrell
e950f1215c
main/linux-postmarketos-qcom-msm8916: upgrade to 5.7_rc5 (MR 1228)
- Update to Linux 5.7-rc5
- Add voice call audio
- samsung-a3u/a5u: add speaker
- wileyfox-crackling: add notification LED
- bq-paella: add display, touchscreen, buttons
- Initial support for Samsung Galaxy J5 (2015) (SM-J500FN)
- Initial support for Samsung Galaxy J3 (2016) (SM-J320P)
2020-05-13 15:52:55 +02:00
Antoine Fontaine
d4a99bc43a
main/anbox-image: workaround to make networking work (MR 1230)
Fixes #480.
2020-05-13 15:59:14 +03:00
ben clark
cca40c66bf
main/linux-postmarketos-qcom-msm8974: enable CONFIG_SECCOMP (!1218)
fixes an "Invalid argument" when running a flatpak
2020-05-11 21:50:57 +02:00
Antoine Fontaine
b6d8b5893f
main/linux-postmarketos-allwinner: add anbox support again (!1222)
fix regression caused by
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1205
and closes
https://gitlab.com/postmarketOS/pmaports/-/issues/583.
2020-05-11 20:27:00 +02:00
Martijn Braam
dca8043c33
main/linux-postmarketos-allwinner: cleanup modules (MR 1205)
Disable modules for hardware that's impossible to connect to the
allwinner devices or older than the 90's this shrinks the size from 380
to 250MB.

Then it enables module compression so it shrinks from 250MB to 57MB.

Then the module stripping was enabled, shrinking it to 20MB

[ci:skip-build]: already built successfully in CI
2020-05-08 22:18:22 +02:00
Luca Weiss
b07717d564
main/linux-postmarketos-qcom-msm8974: updates for various devices (MR 1140)
* Support for sharp ls052t3sx02 video mode panel and max1187x
  touchscreen used in Sony Xperia Z2 (sirius)
* Support for display in OnePlus One (bacon)
* Support for touchscreen, touchkeys and notification led in Samsung
  Galaxy S5 (klte)
2020-05-03 12:05:22 +02:00
Minecrell
a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00
Minecrell
c3dcc196ea
*: remove quotes around pkgname (MR 1186)
TP:[AL3]:APKBUILD:5:pkgname must not be quoted

[skip ci]: won't finish within 3 hours
2020-04-25 12:06:47 +02:00
Antoine Fontaine
c1628ecdce
cross/arch-bin-masquerade, main/anbox-image, linux-*: use pmb:cross-native (MR 1169)
https://gitlab.com/postmarketOS/pmbootstrap/-/issues/1910

[skip ci]: CI fails because it can't download every release tarball to
           check checksums in 3h.
2020-04-25 10:50:38 +02:00
Antoine Fontaine
5adbde19ba
main/postmarketos-ui-kodi: disable armhf build (MR 1178)
fixes https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1176

[ci:skip-vercheck] does not require rebuild
2020-04-23 15:57:39 +03:00
Antoine Fontaine
dc9160c2af
main/postmarketos-ui-kodi: fix startup and missing deps (MR 1176)
fixes the desktop file:
* add -- to make cage ignore kodi's arguments
* add --standalone to kodi's arguments

update the dependencies:
* add upower as kodi tries to communicate with it to read battery status
* add pulseaudio as kodi complains it is missing
* add elogind as it is required for cage to run
* remove xorg-server

Fixes #469
2020-04-23 11:31:24 +03:00
Minecrell
bfe15c5c85
main/linux-postmarketos-qcom-msm8916: upgrade to 5.7-rc2 (!1167)
- Update to Linux 5.7-rc2
- Initial support for BQ Aquaris X5 (bq-paella/picmt)
- Add speaker for samsung-gt510wifi/matissevewifi
- Add flash LED for wileyfox-crackling
2020-04-22 20:12:31 +02:00
Martijn Braam
e5ae9d8e2d
main/linux-postmarketos-allwinner: update to 5.6.0_git20200410 (!1143) 2020-04-22 12:06:35 +02:00
Martijn Braam
a134f3fc22
device/pine64-{pinebookpro,rockpro64}: new device (MR 882)
[ci:skip-build]
2020-04-20 14:39:00 +03:00
Raatty
57ca8a9987
main/lightdm-mobile-greeter: upgrade to version 2 (MR 1161) 2020-04-20 05:07:27 +03:00
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
Bart Ribbers
152e709d9d
main/postmarketos-ui-hildon: depend on PulseAudio (!1018) 2020-03-03 21:39:30 +03:00
Bart Ribbers
ff18340fb8
main/postmarketos-ui-gnome: depend on PulseAudio (!1018) 2020-03-03 21:39:30 +03:00
Bart Ribbers
205280cb39
main/postmarketos-ui-phosh: depend on PulseAudio (!1018) 2020-03-03 21:39:29 +03:00
Bart Ribbers
b8485512c7
main/postmarketos-ui-plasma-mobile: depend on PulseAudio (!1018) 2020-03-03 21:39:29 +03:00
Bart Ribbers
98f9320f35
main/postmarketos-base: remove unnecessary dependencies (!1018)
These dependencies don't belong here.
- iw: should be installed by the user themselves when wanted
- nano: should be installed by the user themselves when wanted
- pulseaudio: should be installed by the UI meta packages that need it
  instead
- pulseaudio-alsa: should automatically be installed when both
  PulseAudio and alsa are installed

https://gitlab.alpinelinux.org/alpine/aports/merge_requests/4820
2020-03-03 21:39:27 +03:00
KuroLevin
b16bff03fb
main/powersupply: add missing dependency (!1020)
py3-setuptools is not only a build dependency, but a runtime
dependency too.
2020-03-02 23:26:12 +03:00
Antoine Fontaine
3e12edb9cb
linux-postmarketos-allwinner: enable config options needed for anbox (!956)
see #327.
2020-03-01 23:59:36 +03:00
Antoine Fontaine
eed04e1e13
linux-postmarketos-stable: enable config options needed for anbox (!956)
see #327.
2020-03-01 23:59:30 +03:00
Antoine Fontaine
94f54a4da9
main/postmarketos-anbox: new aport (!956) 2020-03-01 23:58:20 +03:00
Antoine Fontaine
56dd569e56
main/anbox-image: new aport (!956) 2020-03-01 23:58:14 +03:00
Luca Weiss
3fe7e1601c
main/devicepkg-dev: remove Image.gz from list of kernels to consider (!1014)
This breaks booting on Librem 5 and is not needed on any device
currently using downstreamkernel_package, so remove it.
2020-03-01 10:35:04 +01:00
Antoine Fontaine
325ac07381
main/postmarketos-ui-phosh: force qt apps to use wayland (!1008)
Phosh handles very badly X, so let's avoid using it.
2020-03-01 00:51:36 +01:00
Martijn Braam
ec83ab9a06
postmarketos-mkinitfs: fix unlocking with pmos_root (!943)
Fix --fde on the PinePhone (actually it fixes it for devices that
uses the pmos_root cmdline).
2020-03-01 00:43:08 +01:00
Minecrell
ed3eeeeebb
main/postmarketos-mkinitfs: append extra initfs hash to file contents (!983)
Partial revert of 24fa68c9 ("avoid storing initramfs-extra twice").

Some people have (rightfully) complained that including the hash
in the filename of the initramfs-extra prevents the device from booting
whenever the boot partition gets out of sync with the boot image.

In general we should assume that those two are in sync, but there is
no need to unnecessarily break this if previously booting the outdated
extra initramfs worked just fine.

At the end, the hash is just an implementation detail for the caching
mechanism - we need it when (re-)generating the initramfs, but it does
not have to be within the filename. Instead, we can simply append the
hash to the file contents. GZIP will simply ignore the trailing garbage.

The boot partition will then look like:
    $ cat /boot/initramfs-<flavor>-extra
    <GZIP data>d3c7b449c6fc811d97351bbc46852b66 (the hash)

This makes the filename of initramfs-extra nice and stable again.
It also fixes a regression where the initramfs-extra would no longer
get symlinked by "pmbootstrap export" (I was going to fix that in
pmbootstrap but now this solution is more appealing...)

While we're at it: Make the script more resilient again by writing
to a temporary file first, then move it (atomically) to the real path.
2020-03-01 00:31:27 +01:00
Bart Ribbers
820c3a3a31
main/postmarketos-ui-plasma-mobile: enable ofono by default (!971)
We should do this in the UI packages that need it rather than in the
device packages themselves because for example Phosh doesn't need Ofono
but ModemManager
2020-02-29 22:37:53 +01:00
Bart Ribbers
be59b67d6a
main/postmarketos-ui-phosh: enable modemmanager by default (!971) 2020-02-29 22:35:01 +01:00
Oliver Smith
484ca0a24b
main/postmarketos-ui-gnome: disable for armhf (!1015)
gdm is missing in Alpine for armhf [ci:skip-vercheck]

Related: https://builds.sr.ht/~postmarketos/job/160896
2020-02-29 22:01:18 +01:00
Martijn Braam
d5c046c74e
main/postmarketos-ui-gnome: new aport (!990) 2020-02-29 21:40:12 +01:00
Antoine Fontaine
60693e6a6d
main/mauikit: add missing kirigami dep (!1009) 2020-02-29 04:02:20 +03:00
Minecrell
46371f042d
main/devicepkg-dev: make HOSTCC optional (!1007)
HOSTCC defaults to gcc, so we should only set it to override it
if we want to use an older GCC. Removing it avoids annoying linter
warnings caused by the HOSTCC="..." variable assignments.
2020-02-28 18:32:22 +01:00
Dolphin von Chips
6fee64ccd9
main/devicepkg-dev: add downstreamkernel_package helper (!976) 2020-02-27 23:29:38 +01:00
Dolphin von Chips
30bc6faaa9
main/postmarketos-ui-phosh: mention numeric password condition (!997) 2020-02-28 00:51:43 +03:00
Dolphin von Chips
515004105e
main/postmarketos-ui-plasma-mobile: mention numeric password condition (!997) 2020-02-28 00:51:40 +03:00
Dolphin von Chips
2bb9599dce
main/postmarketos-mkinitfs: add option to append SEANDROIDENFORCE to boot.img (!1000) 2020-02-27 20:19:21 +03:00
Minecrell
89fa4dd264
main/linux-postmarketos-qcom-msm8916: upgrade to 5.6-rc3 (!992)
- Update to Linux 5.6-rc3
- Fix orientation on wileyfox-crackling (add mount-matrix)
- Fix sound (workaround inexistent backward compatibility in alsa-lib...)
2020-02-27 16:28:24 +03:00
Danct12
06c3133ab5
main/linux-postmarketos-allwinner: correct voltage for lcd (!994)
Currently, every LCDs inside their (our users) pocket are driving 3.3V,
meanwhile the LCD interface is meant to drive at ~2V.

This turns our LCDs into a timebomb that is ready to trigger at any moment,
killing the display.

Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-26 14:22:14 +03:00
Luca Weiss
1b3f6476da
main/umockdev: upgrade to 0.14.1 (!987) 2020-02-26 01:56:05 +03:00
Luca Weiss
15d2f6ef8a
main/apitrace: upgrade to 9.0 (!985) 2020-02-25 23:36:36 +03:00
Luca Weiss
56f9afaefe
main/linux-postmarketos-allwinner: enable some config options (!968)
* ch341: for PinePhone/PineTab usb serial console
* hidraw: yubikey and many other use cases
* the rest are options required by Anbox
2020-02-23 13:17:37 +01:00
Luca Weiss
920afebc59
main/linux-postmarketos-allwinner: enable some bluetooth options (!820)
also fix linting issues
2020-02-20 23:12:26 +03:00
David Heidelberg
2b91f83c54
main/postmarketos-ui-phosh/APKBUILD: depend on xwayland only (!964) 2020-02-20 18:21:36 +03:00
Bart Ribbers
07fb820e98
main/telephony-service: autostart on boot (!972) 2020-02-20 15:59:25 +01:00
Minecrell
e460d5cce2
main/linux-postmarketos-qcom-msm8916: upgrade to 5.6-rc2 (!970)
- Update to Linux 5.6-rc2
- Major improvements for Motorola Moto G4 Play (motorola-harpia)
  - Display
  - Touchscreen
  - Accelerometer
  - Audio
  - Modem
  - Vibrator

- Fix headphones/headset detection for wileyfox-crackling
- Add mount-matrix for samsung-a3ulte/a5ulte to fix
  orientation detection with iio-sensor-proxy
- A lot of cleanup everywhere

- APKBUILD: Clean up makedepends (a lot of them are unneeded)
2020-02-20 13:36:35 +01:00
Bart Ribbers
d18a04f7c4
main/telephony-service: disable on armhf
[ci:skip] Unbreak the builder
2020-02-19 21:36:50 +01:00
Bhushan Shah
437f47be46
main/telephony-service: new aport (!962) 2020-02-19 19:06:41 +01:00
Danct12
9872289dff
main/linux-postmarketos-allwinner: upgrade to kernel 5.5 (!938) 2020-02-19 10:10:35 +05:30
Bhushan Shah
706be2d3c5
main/qt5-qt{pim,feedback}: build for all architectures (!961)
They are to be used on PlaMo on aarch64 device, so enable the builds for
all architectures.

[ci:skip-vercheck]
2020-02-18 19:44:55 +05:30
Minecrell
bd5992fe54
main/linux-postmarketos-qcom-msm8916: stop generating QCDT image (!907)
wileyfox-crackling was the only user of QCDT. Now that it is also
using appended DTBs, there is no need to generate the QCDT image anymore.

Another advantage of this is that mainline can then be only booted using lk2nd
(as intended), since booting it from the stock bootloader has weird side effects
(e.g. no WiFi/BT MAC address set).
2020-02-16 12:47:39 +01:00
Martijn Braam
5c6a706cd2
main/powersupply: new aport (!946) 2020-02-14 22:28:14 +01:00
Luca Weiss
a240fe19d7
main/postmarketos-ui-plasma-mobile: install qtlogging.ini into /etc/xdg (!955)
That path works just as well as documented at
https://doc.qt.io/qt-5/qstandardpaths.html (GenericConfigLocation) and
it doesn't depend on the user being created after the package has been
installed.
2020-02-14 10:17:27 +01:00
cybik
d01e175c70
main/postmarketos-ui-phosh: add gnome-keyring (!944)
Thi way Phosh users can connect to a password-protected WiFi by clicking on it in Control Center
2020-02-13 18:58:45 +01:00
David Heidelberg
5dc637d1aa
main/postmarketos-ui-phosh: enforce polkit-elogind (!876)
polkit rely on systemd, so we don't get correctly working setup.

This impact non-working backlight control from userspace and other
stuff.

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-02-11 11:57:54 +01:00
Martijn Braam
b38e850966
main/ofonoctl: new aport (!816) 2020-02-10 16:48:47 +03:00
Danct12
a361dda9ee
main/postmarketos-ui-phosh: add kgx terminal (!940) 2020-02-10 01:50:11 +03:00
Minecrell
24fa68c9b6
main/postmarketos-mkinitfs: avoid storing initramfs-extra twice (!932)
At the moment we store the same initramfs-extra twice on the file system:
  - /boot/initramfs-<flavor>-extra
  - /var/cache/postmarketos-mkinitfs/initramfs-<flavor>-extra_<hash>

The second copy is exactly the same file, just with the <hash> (for caching)
appended to the filename.

We can avoid this by appending the hash directly to the filename
on the boot partition, i.e.
  - /boot/initramfs-<flavor>-extra_<hash>

This is possible because we only reference initramfs-extra from the main
initramfs, and we already replace the path in it dynamically.
It will just let the main initramfs load -extra_<hash> instead of just -extra.

This saves a few megabytes of disk space on the rootfs.
2020-02-10 01:38:18 +03:00
Clayton Craft
eab19e845a
main/osk-sdl: upgrade to 0.54 (!937) 2020-02-10 00:47:53 +03:00
Alexey Min
b11e1f0e38
main/postmarketos-mkinitfs-hook-debug-shell: mount pstore (!921) 2020-02-04 11:19:41 +03:00
Oliver Smith
9f4b132748
main/pmbootstrap: remove (upstreamed) (!918)
Related: https://gitlab.alpinelinux.org/alpine/aports/merge_requests/2793
2020-01-31 04:30:02 +01:00
Minecrell
775298f398
main/postmarketos-ui-sway: remove dependency on xorg-server (!913)
postmarketos-ui-sway already depends on xorg-server-xwayland for
X clients. There is no need to pull in the entire X server including
all necessary drivers.

This saves ~84 MiB of disk space when installing postmarketos-ui-sway
on asus-me176c. X applications are still working fine through Xwayland.

Also remove explicit dependency on dbus - it is already pulled in
by dependencies like lightdm or elogind and nothing in
postmarketos-ui-sway depends on it specifically.
2020-01-30 19:14:53 +01:00
Bart Ribbers
b1edecbcfa
main/telepathy-farstream: remove, upstreamed to Alpine 2020-01-30 14:37:39 +01:00
Bart Ribbers
8058b4eaa4
main/telepathy-qt: remove, upstreamed to Alpine 2020-01-30 14:36:12 +01:00
Minecrell
d4ee123079
main/devicepkg-dev: Fix shellcheck warnings in splash screen generation (!899)
(These were present before the code was moved to devicepkg-dev.)
2020-01-28 15:33:43 +01:00
Minecrell
e3d07c832c
main/{devicepkg-dev,postmarketos-mkinitfs}: statically generate splash screens (!899)
We need to generate the splash screens separately for each device,
because they are specific to the device's display resolution.

At the moment we do this dynamically during the installation process.
This has the advantage that there is no need to re-build all device
packages when one of the splash screen is changed (or a new one is added).

In reality, however, the splash screens do not change very frequently.
On the other hand, generating the splash screens dynamically has signficant
disk usage overhead for a minimal ("none" UI) rootfs:

The Python interpreter together with the necessary libraries requires
about ~60 MB of disk space on aarch64.
The splash screens itself require about ~100 KB for 720x1280.

This is not necessary if we move the splash screen generation into
devicepkg-dev, which is used to build the device package for all devices.
Another advantage is that we no longer need the (rather complicated)
caching mechanism for splash screens - so we actually end up with less
lines than before.

rootfs size for samsung-a5ulte ("none" UI):
  Before: 450M
  After:  388M (-62M)

After this change, every(!) device package needs to be rebuilt once.
No changes are necessary in device packages.
2020-01-28 15:33:40 +01:00
Minecrell
0c7bcb5431
main/osk-sdl: add missing depends on ttf-dejavu (!899)
ttf-dejavu is referenced in osk.conf:
  keyboard-font = /usr/share/fonts/ttf-dejavu/DejaVuSans.ttf
2020-01-28 15:33:36 +01:00
Oliver Smith
3d3deefe29
pmbootstrap: upgrade to 1.14.0 2020-01-27 00:50:05 +01:00
Genox997
bdbcfc38dd
main/linux-postmarketos-qcom-msm8974: upgrade to 5.4.0-rc6 (!902)
[ci:skip-build]: already built successfully in CI
2020-01-26 23:13:07 +01:00
Minecrell
47b17d55c7
main/linux-postmarketos-qcom-msm8916: upgrade to 5.5-rc7 (!901)
- Update to Linux 5.5-rc7
- Touchkey support for samsung-a5ulte/a3ulte/serranovelte

[ci:skip-build]: already built successfully in CI
2020-01-26 22:36:49 +01:00
Minecrell
81d8d03d5f
main/devicepkg-dev: Fix deviceinfo variables for kernels with "-" in name (!892)
Kernel subpackages may contain a "-" (e.g. -kernel-mainline-modem);
replace it with an underscore to make sure that we find the
kernel-specific variables in deviceinfo.
2020-01-18 11:47:54 +01:00
Bart Ribbers
26cfbcc4c9
main/uuu: fix linting issues (!872)
[ci:ignore-count]
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
807389d178
main/gesture: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
f9b6f91ea6
main/dbus-test-runner: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
3f7de79f29
main/unixbench: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
ae1ee2385c
main/libofono-qt: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
bd3d4426c0
main/blobtools: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
b8b57bc58f
main/qt5-qtfeedback: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
e6ddd17ca8
main/android-mkdtimg: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
57518d656a
main/qmltermwidget: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
4748cb423a
main/qt5ct: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
09e45bd9a6
main/hello-world-wrapper: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
b62db7e8dc
main/adsp-audio: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
4472f2e267
main/postmarketos-ui-plasma-mobile: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
fd03d537e6
main/abuild-sign-noinclude: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
dc2c8ddb6a
main/charging-sdl: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
e9845b3687
main/msm-fb-refresher: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
3bf5216021
main/wcnss-wlan: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
6cc523ec4f
main/osk-sdl: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
b69f356825
main/kmscube: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
5c90b186a8
main/postmarketos-android-recovery-installer: fix contributor email (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
d7f064f55a
main/mdss-fb-init-hack: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
fd18d7e720
main/postmarketos-splash: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
32a4452c23
main/qt5-qtsystems: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
29bedbadd6
main/sdl_net: remove, unused since upstreaming chocolate-doom to Alpine (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
9607d914e3
main/umockdev: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
53f6b4c60e
main/hwtest: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
956755670f
main/urfkill: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
aa3e09e62d
main/heimdall: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
9bbaab919b
main/mtk-mkimage: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
8fea95d428
main/qt5-qtpim: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
fb88f5e007
main/libdmtx: remove, unused since upstreaming KDE to Alpine (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
bda1669676
main/libsignon-glib: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
4638519cf5
main/triggerhappy: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
e2668e22ab
main/columbiad: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
5fb31d85c0
main/extract-dtb: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
4b400fa0f6
main/telepathy-mission-control: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
fe52ba5c0e
main/mkbootimg-osm0sis: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
8afc6db4da
main/dtbtool-exynos: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
b659e5ee2a
main/watchdog-kick: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
02c0b08cc8
main/hello-world: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
6439348cb1
main/dtbtool: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Luca Weiss
a6ad088e04
main/dmz-cursor-theme: drop (!887)
The package was introduced with unity8 but isn't needed by anything in
pmaports, so drop it.
2020-01-17 17:51:55 +01:00
Oliver Smith
fc8b9c39fa
main/hello-world-rust: new aport (!845) 2020-01-14 02:45:18 +01:00
Pops Dylan
8760409717
main/postmarketos-mkinitfs: enable profiling with bootchart (!852)
If (a) the kernel command line parameters include PMOS_BOOTCHART2 and
(b) /sbin/bootchartd exists (i.e., the bootchart2 package has been
installed), run /sbin/bootchartd instead of /sbin/init.
2020-01-13 15:44:51 +03:00
Pops Dylan
e068de2de5
main/bootchart2: new aport (!852)
Port bootchart2 to PostmarketOS, with three patches:
1. Modification of /etc/bootchartd.conf so that the collector
will stop after sshd has started.
2. Python 3.8 compatibility
3. Disable the interactive mode of pybootchartgui.

Use bootchart2 to profile system boot or a running system.
1. Add the bootchart2 package to your device.
2. Add the following kernel command line parameters: initcall_debug
printk.time=y quiet
3. To profile system boot
	a. add the following kernel command line parameter: PMOS_BOOTCHART2.
	This parameter causes mkinitfs to start /sbin/bootchartd instead of
	/sbin/init. /sbin/bootchartd then starts /sbin/init.
	b. (optional) modify EXIT_PROC in /etc/bootchartd.conf to define
	when the collector is to stop.
	c. Boot the system. Approximately 20 seconds after sshd starts
	(if using the default value of EXIT_PROC), the collector
	will exit.
4. To profile a running system
	a. use the command '/sbin/bootchartd start' (as root) to start
	profiling
	b. use the command '/sbin/bootchartd stop' (as root) to stop
	profiling
5. When the collector exits, /usr/bin/pybootchartgui will create
a visualization in /var/log/bootchart.png.
2020-01-13 15:43:00 +03:00
Bart Ribbers
d1bd790f9d
main/pmbootstrap: modprobe the required kernel module on boot (!847) 2020-01-06 04:13:38 +01:00
Oliver Smith
3fa07dcb1d
*/*: !armhf where depending on qt5-qtdeclarative
Related: https://gitlab.alpinelinux.org/alpine/aports/merge_requests/2230
2020-01-06 03:41:56 +01:00
Oliver Smith
a3a63f2151
main/pmbootstrap: upgrade to 1.13.0 2020-01-03 05:33:13 +01:00
Minecrell
e0021755b0
main/linux-postmarketos-qcom-msm8916: upgrade to 5.5-rc4 (!848)
- Update to Linux 5.5-rc4
- Fix freeze/crash when accessing reserved memory on Samsung devices
  - This happened e.g. when doing large eMMC writes
    because the disk cache filled all available RAM.
- Fix SD card detection on samsung-serranovelte
  - Disable UHS-1 modes since they appear to be broken in hardware

[ci:skip-build]: already built successfully in CI
2020-01-03 03:23:21 +01:00
Alexey Min
e3d1701d5e
main/mauikit: add kquicksyntaxhighlighter dependency (!831) 2019-12-31 11:54:30 +05:30
Minecrell
2c2fbe4236
main/linux-postmarketos-novathor: new aport (!833) 2019-12-30 19:19:40 +01:00
Pops Dylan
7b7c1db0ff
main/postmarketos-base: remove initstepslew from chrony configuration (!838)
Comment out the initstepslew line in /etc/chrony/chrony.conf.
initstepslew can delay booting while chrony sets the time. The
makestep 1 -1 line in the configuration also causes chrony to step
the time (whenever the offset is greater than 1s), making
initstepslew redundant.
2019-12-30 18:34:14 +01:00
Luca Weiss
4cc96c5715
main/abootimg: modernize (!840) 2019-12-30 18:29:22 +01:00
Alexey Min
8529c59859
main/postmarketos-ui-plasma-mobile: add plasma-nm-mobile dep (!829)
Wi-Fi kcm is missing in plasma-settings, so add missing dependency.

This also adds mobile-broadband kcm
2019-12-24 21:44:20 +03:00
Bart Ribbers
598f7c9589
main/postmarketos-ui-plasma-mobile-extras: add ktrip to depends (!813) 2019-12-24 16:43:39 +03:00
Bart Ribbers
2090d3bbc7
main/postmarketos-ui-plasma-mobile: add missing urfkill-openrc dep (!813)
Without it the .post-install script would fail as the init script it's
trying to enable isn't available
2019-12-24 16:43:39 +03:00
Oliver Smith
eeca34eaf4
main/pmbootstrap: depend on openssl (!827)
Fixes: #403
2019-12-24 15:38:12 +03:00
Minecrell
8ac2eaa2cf
main/linux-postmarketos-qcom-msm8916: build for armv7 (!828)
Unfortunately, early firmware versions on MSM8916 (used together with
Android 4.4) are not capable of booting aarch64 kernels. MSM8916 was
Qualcomm's first 64-bit capable CPU, and back when it was introduced
Android did not even support aarch64 yet. So the aarch64 capable
hardware was usually used together with armv7 binaries.

To make things worse, this firmware is also signed (usually per-device),
making it (currently) impossible to update it without help from the manufacturer.
This means that we are currently unable to run mainline on devices
that never received an update to Android 5.0
(e.g. the Samsung Galaxy S4 Mini Value Edition).

One way to circumvent this limitation is to build mainline for armv7.
This works surprisingly well with some additional fixes.
Devices with this firmware limitation are still unable to use aarch64
binaries, but at least we can run mainline on them!
2019-12-24 03:14:54 +03:00
Daniele Debernardi
6798ff9666
main/linux-postmarketos-stable: enable CONFIG_SND_HDA (!794) 2019-12-24 00:03:32 +01:00
Minecrell
403ddcc037
main/linux-postmarketos-qcom-msm8916: upgrade to 5.5-rc3 (!824)
- Rebase on Linux 5.5-rc3
- Add display, touchscreen and GPIO keys for samsung-gt510wifi
- Add vibrator for wileyfox-crackling
- Zinitix touchscreen improvements (used in samsung-a3ulte)
- Upstreamed several patches
2019-12-23 16:40:11 +01:00
Oliver Smith
2accd185de
main/pmbootstrap: upgrade to 1.12.0 2019-12-14 03:40:44 +01:00
Drew DeVault
729d4f9e7b
main/postmarketos-ui-weston: add htop to depends (!806) 2019-12-11 17:29:18 +01:00
Drew DeVault
32de4f4536
main/postmarketos-base: trim down dependencies (!806)
htop and tmux don't belong in this package, and dbus is a transitive
dependency via networkmanager et al, and so it doesn't need to be
specified here.
2019-12-11 17:29:07 +01:00
Bart Ribbers
659508922f
main/postmarketos-ui-plasma-mobile: use the upstream launch script (!784) 2019-12-09 13:10:14 +01:00
Bhushan Shah
891f935705
main/linux-postmarketos-allwinner: switch to conservative governor (!760)
Current default is performance, and that is for sure not a great choice
for battery. We can experiment with ondemand as well, but based on docs,
conservative is recommended.

[ci:skip-build]: build takes too long
2019-12-07 15:08:53 +01:00
Bart Ribbers
777f3e6d61
main/kaidan: remove, upstreamed (!793) 2019-12-07 01:52:36 +01:00
Bart Ribbers
30f039b63b
main/qxmpp: remove, upstreamed (!793) 2019-12-07 01:52:35 +01:00
Pops Dylan
4c67611c90
postmarketos-base: configure getty using deviceinfo_getty variable (!771)
On some devices a getty should run on the serial console.
Configure the getty by setting the deviceinfo_getty variable. The
format is "<port>;<baud rate>". For example, "ttyS0;115200".

A post-installation trigger in postmarketos-base checks
/etc/deviceinfo, and modifies /etc/inittab if the device should run
a getty.
2019-12-07 01:32:23 +01:00
Danct12
970bb0bf0b
main/linux-postmarketos-allwinner: upgrade to 5.4.0 (!778)
[ci:skip-build]: does not finish in time

Signed-off-by: Danct12 <danct12@disroot.org>
2019-12-06 14:45:58 +03:00
Daniele Debernardi
eebc0050cb
main/postmarketos-ui-xfce4: upgrade to 3.0 (!727)
Upgrade the xfce4-phone package to 3.0
2019-12-06 01:33:55 +01:00
Daniele Debernardi
08725a11b0
main/postmarketos-ui-xfce4: add whiskermenu, screensaver and postmarketos icons (!727) 2019-12-06 01:33:55 +01:00
Daniele Debernardi
a3fd6bdfcd
main/postmarketos-ui-xfce4: add terminal and pulseaudio plugin (!727) 2019-12-06 01:33:55 +01:00
Danct12
0cff86852d
main/postmarketos-base: networkmanager permission fix (!777)
This patch fixes nmtui and nm-applet not authorized to control
networking.

Signed-off-by: Danct12 <danct12@disroot.org>
2019-12-05 22:53:30 +01:00
Antoine Fontaine
684dc41f0e
postmarketos-ui-phosh: ask Qt not to show window decorations (!769) 2019-11-28 01:16:29 +03:00
Michael Orishich
77ea310aac
main/postmarketos-ui-weston: fix weston failing to read config (!767) 2019-11-26 18:48:35 +03:00
pedro
b0a8448716
main/wcnss-wlan: allow to insert delay (!762)
Make it possible to sleep before enabling the wlan driver. This is
needed to make it work properly with lg-mako.

Related: #46
2019-11-24 20:49:57 +01:00
Bhushan Shah
079ad8f94a
main/postmarketos-ui-plasma-mobile: add kpeoplevcard (!766)
[ci:skip-build]: already built successfully in CI
2019-11-24 20:26:32 +01:00
Martijn Braam
cfcf1e6d7d
main/postmarketos-mkinitfs: added pmos_boot and pmos_root (!756) 2019-11-24 20:16:41 +01:00
Oliver Smith
b8ed9356b4
main/pmbootstrap: upgrade to 1.11.0 2019-11-22 00:17:32 +01:00
Oliver Smith
5fcb49fcb7
main/urfkill: depend on polkit-elogind, not polkit
Fix the following error when installing postmarketos-ui-plasma-mobile:

ERROR: unsatisfiable constraints:
  polkit-elogind-0.116-r1:
    breaks: polkit-dev-0.116-r0[polkit=0.116-r0]
    satisfies: polkit-kde-agent-1-5.17.3-r0[polkit-elogind]
               .pmbootstrap-20191121.210534[polkit-elogind]
               consolekit2-1.2.1-r1[polkit]
               consolekit2-1.2.1-r1[so:libpolkit-gobject-1.so.0]
               networkmanager-1.20.6-r0[so:libpolkit-agent-1.so.0]
               networkmanager-1.20.6-r0[so:libpolkit-gobject-1.so.0]
               polkit-qt-1-0.113.0-r0[so:libpolkit-agent-1.so.0]
               polkit-qt-1-0.113.0-r0[so:libpolkit-gobject-1.so.0]
               accountsservice-0.6.55-r0[so:libpolkit-gobject-1.so.0]
               urfkill-0.5.0_git20170118-r0[so:libpolkit-gobject-1.so.0]

This is the reason, why the pmbootstrap qemu test (which performs a full
plasma mobile installation and checks running processes) check failed:
https://postmarketos.gitlab.io/-/pmbootstrap/-/jobs/357942365/artifacts/log_testsuite.txt
2019-11-21 23:19:06 +01:00
Oliver Smith
874e979c04
maemo/*: disable armhf, armv7
Most of the time, gtk+2.0-maemo hangs infinitely while building.
Detailed reasoning here:
https://gitlab.com/postmarketOS/pmaports/issues/388
2019-11-21 21:27:15 +01:00
Bhushan Shah
c8c3cfd7d9
main/postmarketos-ui-plasma-mobile: enable urfkill by default (!638) 2019-11-21 11:11:22 +05:30
Bart Ribbers
b0bbce0e1b main/urfkill: new aport (!638) 2019-11-21 05:39:21 +00:00
Luca Weiss
c6c6bc75bf
main/telepathy-ofono: switch to branch ofono-on-ring (!759)
Required for Plasma Mobile to be able to initiate calls.

[ci:skip-build]: already built successfully in CI
2019-11-20 23:41:16 +01:00
David Heidelberg
e561fffd30
phosh/*: enable on armhf (!746)
Enable armhf again, because "gnome-session" is available in Alpine for
armhf now.

[ci:skip-build]: already built successfully in CI. ollieparanoid made
                 sure that all packages build for armhf.
[ci:skip-vercheck]

Signed-off-by: David Heidelberg <david@ixit.cz>
2019-11-20 23:07:01 +01:00
Bhushan Shah
a35e19dbda
linux-postmarketos-allwinner: enable thermal driver and wakelocks (!757)
They can be used for power management

[ci:skip-build]: won't finish in time
2019-11-20 22:58:25 +01:00
Luca Weiss
c6e3000931
main/dtbtool: add patch for providing alternative dt tag (!641)
Add the equivalent of the --dt-tag option found in dtbToolCM or
dtbToolLineage, needed on htc-memul.
2019-11-20 22:29:51 +01:00
Oliver Smith
45a79246ab
main/unicsy-demo: remove
Depends on py-gtk-dev, which was removed from Alpine. It doesn't seem
like anybody is using this demo, so let's just remove it.
2019-11-20 21:09:56 +01:00
Luca Weiss
66db4dff0c
main/xf86-video-opentegra: remove (!754)
The package doesn't build anymore and blocks the binary repository.

See postmarketOS/pmaports#339
2019-11-19 19:53:55 +01:00
Oliver Smith
7308632f6c
main/buho: fix build
It seems the the CFLAGS are not properly set in the CMakeLists.txt.
Cmake currently appends -std=gnu90 at the end of the CFLAGS, overriding
the earlier set -std=c99. Work around this with sed. Better fix is
welcome, this is a stop-gap solution to unbreak the build (which is
blocking build.postmarketos.org).
2019-11-17 20:10:19 +01:00
Bart Ribbers
6ba8b2d7ed
postmarketos-ui-matchbox: drop (!729)
It's unmaintained both on our side and upstream. Nobody stepped up to
maintain it (https://gitlab.com/postmarketOS/pmaports/issues/372), so
let's drop it before it introduces security issues and compilation
problems.
2019-11-17 15:13:10 +01:00
Bart Ribbers
ecf9cb8729
main/telepathy-ofono: rebuild against telepathy-qt (!742) 2019-11-14 14:20:31 +01:00
Bart Ribbers
d73bb462b8
main/telepathy-qt: fix lib install location (!742) 2019-11-14 14:20:27 +01:00
Bart Ribbers
ed0e78eb80
main/telepathy-qt: upgrade to 0.9.8 (!735) 2019-11-13 21:29:51 +01:00
Danct12
dd028490c4
main/postmarketos-mkinitfs: make android_usb attrs customizable (!734)
ConfigFS USB attrs are customizable based on the `deviceinfo_usb_*` variables,
however some downstream kernels (e.g: msm-3.18) doesn't use configfs, instead
uses the traditional Android USB Gadget.

Based on `deviceinfo_usb_{idVendor/idProduct}` variables, we can change the USB
vendor and product.

So that on these devices, we can make it appear on USB bus as the correct USB
vendor/product ID, not "Google Inc. Nexus 4 (fastboot)"

Signed-off-by: Danct12 <danct12@disroot.org>
2019-11-11 13:56:47 +07:00
Daniele Debernardi
95324f1b5f
postmarketos-artwork-wallpapers: remove aport (!725) 2019-11-10 13:58:57 +01:00
Daniele Debernardi
1bd04dfe88
postmarketos-artwork: add wallpapers/icons/sounds subpackages (!725) 2019-11-10 13:58:48 +01:00
Oliver Smith
0bf6919046
main/pmbootstrap: upgrade to 1.10.0 2019-11-10 13:53:15 +01:00
Oliver Smith
df79ae6b33
postmarketos-splash: depend explicitly on python3
Python was upgraded to 3.8 in Alpine. Since then, we need explicit
depends on Python 3, as explained here:

1e442e585b
2019-11-10 13:12:18 +01:00
lambdadroid
803b8dcec9
main/postmarketos-mkinitfs: stop forcing full fsck on every boot (!723)
At the moment, a full file system check is forced even if the
file system is marked clean (i.e. it was properly unmounted the
last time it was used). On large file systems with slow I/O
(e.g. SD cards), this can take a significant amount of time.

Removing the -f option of e2fsck allows skipping the full
file system check if it is marked clean, speeding up the boot time.
2019-11-06 00:08:50 +01:00
lambdadroid
160c0d9cfb
main/kmscube: upgrade to 0_git20190918 (!720)
Makes kmscube working on lima devices without additional
command line parameters.

[ci:skip-build]: already built successfully in CI
2019-11-05 23:58:14 +01:00
Alexey Min
68821d2cb2
main/postmarketos-mkinitfs: make USB configfs attrs customizable (!706)
Some devices' downstream kernels may have different RNDIS/functionfs
drivers (ex. QCRNDIS) that require different values for some
configfs gadget attributes. Make it possible to customize with
deviceinfo file from device- package.

The idea is that each device- package can optionally specify a
bunch of `deviceinfo_usb_*` variables to customize the way it is
visible on USB bus. The ability to override
`deviceinfo_usb_rndis_function` is essential to make downstream
sdm660 based device to appear on USB bus.

While at it, make `idVendor`, `idProduct` and `serialnumber` also
customizable. So that we can make, for example, PineTab appear on
USB bus as PineTab, not as "Google Inc. Nexus 4 (fastboot)".
2019-11-05 23:33:22 +01:00
Bart Ribbers
5f53f6ac9c
main/postmarketos-ui-weston: fix linting issues in start_weston.sh (!694) 2019-11-05 22:15:10 +01:00
Bart Ribbers
6c42c53cd5
main/postmarketos-splash: build from new repo (!694) 2019-11-05 22:15:10 +01:00
Bart Ribbers
b87c9240e2
main/postmarketos-android-recovery-installer: build from new repo (!694) 2019-11-05 22:15:10 +01:00
Bart Ribbers
f23239d8d7
main/fbdebug: build from new repo (!694) 2019-11-05 22:15:10 +01:00
Bart Ribbers
9b0a3e4c4a
main/postmarketos-demos: build from new repo (!694) 2019-11-05 22:15:10 +01:00
Bart Ribbers
34f6f86f08
main/reboot-mode: build from new repo (!694) 2019-11-05 22:15:00 +01:00
Bart Ribbers
1f9508605c
main/telepathy-mission-control: upgrade to 5.16.5 (!708)
[ci:skip-build]: already built successfully in CI
2019-11-03 16:15:53 +01:00
Bart Ribbers
6693c14a75
main/telepathy-mission-control: remove unused patch (!703)
[ci:skip-build]: already built successfully in CI
2019-10-30 23:12:20 +01:00
lambdadroid
74815e3312
main/postmarketos-mkinitfs: add option to place DTB in Android boot image second area (!700)
Mainline U-Boot looks for the device tree blob in the "second" area
of the Android boot image (see https://patchwork.ozlabs.org/patch/1025211/).

Add an option "deviceinfo_bootimg_dtb_second" to place the device DTB there.
2019-10-30 19:15:00 +01:00
Martijn Braam
9ae7a4f9fd
main/postmarketos-ui-plasma-mobile: fix gtk3 buttons (!702)
[ci:skip-build]: already built successfully in CI
2019-10-26 01:50:14 +02:00
Bart Ribbers
b48a1dd527
main/telepathy-mission-control: upgrade to 5.16.5 pre-release (!698)
This removes the Python 2 requirement

[ci:skip-build]: already built successfully in CI
2019-10-26 00:41:54 +02:00
Bart Ribbers
68fdd20012
main/postmarketos-ui-sway: set license to GPL-3.0-or-later (!696)
Like our other UI packages; we don't need special snowflakes
2019-10-24 02:29:01 +02:00
Bart Ribbers
35ed159172
main/postmarketos-ui-hildon: fix lightdm (!696)
Set license to proper SPDX identifier
2019-10-24 02:27:54 +02:00
Bart Ribbers
c56c4b3781
main/postmarketos-ui-i3wm: fix lightdm (!696)
Set Martijn Braam as maintainer
2019-10-24 02:26:58 +02:00
Martijn Braam
a21ff74b36
linux-postmarketos-qcom-msm8974: fix usbnet (!695)
Having the charging driver in the initramfs fixes the USB gadget modes.

[ci:skip-build]: already built successfully in CI
2019-10-23 23:55:42 +02:00
lambdadroid
0c76dd4ce3
main/postmarketos-mkinitfs: configure USB gadget serialnumber (!684)
Currently, the USB networking setup using configfs does not configure
a "serialnumber" for the USB gadget. This means that an empty
serial number will be sent during USB enumeration.

This is usually not a problem, but it seems to cause issues under
special circumstances (on asus-me176c on one of my PCs).

The USB Gadget configfs documentation also suggests setting
the "serialnumber":
  https://www.kernel.org/doc/Documentation/usb/gadget_configfs.txt
It can be any string, so we can just set it as "postmarketOS" like
the manufacturer.
2019-10-23 23:27:16 +02:00
Bart Ribbers
eec980c7a1
main/postmarketos-ui-xfce4: fix lightdm, cosmetics (!690)
Fix missing lightdm dependency, replace post-upgrade script with
symlink, set drebrez as maintainer.
2019-10-23 21:49:54 +02:00
Bart Ribbers
473b32990f
main/postmarketos-ui-weston: fix lightdm (!690)
Fix missing lightdm dependency, replace post-upgrade script with
symlink.
2019-10-23 21:44:56 +02:00
Bart Ribbers
f16207547b
main/postmarketos-ui-sway: fix lightdm (!690)
Fix missing lightdm dependency, replace post-upgrade script with
symlink.
2019-10-23 21:44:01 +02:00
Bart Ribbers
de143332b8
main/postmarketos-ui-mate: fix lightdm, cosmetics (!690)
Fix missing lightdm dependency, replace post-upgrade script with
symlink, set drebrez as maintainer.
2019-10-23 21:43:52 +02:00
Bart Ribbers
e96dd73cae
main/postmarketos-ui-shelli: use new main/shelli (!690) 2019-10-23 21:43:40 +02:00
Bart Ribbers
55b4a42de4
main/shelli: new aport (!690) 2019-10-23 21:43:37 +02:00
Bart Ribbers
512326566c
main/postmarketos-ui-plasma-mobile: fix lightdm (!690)
Fix missing lightdm dependency, add post-upgrade symlink.
2019-10-23 21:43:27 +02:00
Bart Ribbers
c4d04b5be7
main/postmarketos-ui-phosh: fix lightdm (!690)
Fix missing lightdm dependency, add post-upgrade symlink.
2019-10-23 21:43:17 +02:00
Bart Ribbers
7e4a5de7fe
main/postmarketos-ui-kodi: fix lightdm (!690)
Fix missing lightdm dependency, add post-upgrade symlink.
2019-10-23 21:42:38 +02:00
Oliver Smith
c6e8a72de4
main/postmarketos-ui: depend on lightdm-openrc
The openrc service of lightdm has been moved to lightdm-openrc in
Alpine. Fix all UIs depending on lightdm, so their post-install script
does not fail with:

Executing postmarketos-ui-plasma-mobile-2-r6.post-install
 * rc-update: service `lightdm' does not exist
2019-10-20 21:54:46 +02:00
Bart Ribbers
eb097dab35
main/postmarketos-ui-plasma-mobile: add plasma-phonebook to depends (!681)
[ci:skip-build]: already built successfully in CI
2019-10-13 23:11:40 +02:00
Oliver Smith
51bdfb303c
main/mkbootimg-osm0sis: upgrade to 2019.09.20
Disable -Werror too, to fix the build with GCC-9.
2019-10-13 22:10:29 +02:00
Oliver Smith
14cccd4bad
main/libaccounts-glib: remove (upstreamed) 2019-10-13 22:10:29 +02:00
Oliver Smith
1d861f0334
main/iio-sensor-proxy: remove (upstreamed) 2019-10-13 22:10:28 +02:00
Oliver Smith
9e94a89cb4
main/abuild-sign-noinclude: upgrade to 3.4.0
Upgrade and add depends to static libraries to make it build again. When
the package was added initially, the static libraries were part of the
respective -dev packages.
2019-10-13 22:10:28 +02:00
lambdadroid
2c57359b8a
main/postmarketos-mkinitfs: include ext4 and usb_f_rndis in initramfs (!673)
The initramfs needs ext4 (to mount the rootfs) and usb_f_rndis
(to enable USB networking on devices that use USB configfs).
If these are built as modules, they need to be included in initramfs.

[ci:skip-build]: already built successfully in CI
2019-10-13 21:22:42 +02:00
Bhushan Shah
b008c67292
main/apitrace: add qt5-qtbase-dev as a dependency (!676)
apitrace have a GUI tool to inspect the trace dumped by apitrace tool.
This is built when a optional dependency of qt5 widgets and qt5 network
is satisfied. So build that as well.
2019-10-11 18:22:20 +02:00
Bhushan Shah
259fcc6e6f
main/apitrace: fix building package on aarch64/armhf (!676)
current version merged was missing the zlib-dev and libpng-dev
dependency which would make apitrace build internal copies of them, and
that would fail due to missing patches for musl.

add dependencies zlib-dev and libpng-dev
2019-10-11 18:22:19 +02:00
lambdadroid
686d7b4792
main/linux-postmarketos-qcom-msm8916: upgrade to v5.4-rc2-msm8916 (!669)
[ci:skip-build]: already built successfully in CI
2019-10-09 23:30:55 +02:00
Bart Ribbers
cb822c3160
main/postmarketos-ui-plasma-mobile: remove conflicting file with plasma-phone-components (!652) 2019-10-09 11:42:03 +05:30
Luca Weiss
fa6ab64407
main/zmqpp: remove (!671)
The package was added with the initial Unity 8 packaging but even then
it seems that this package was never actually used.

Remove it because it no longer builds (some patches upstream might get
it building again).

[ci:skip-build]: already built successfully in CI
2019-10-08 23:08:32 +02:00
Luca Weiss
9db1b80f7a
main/pix: fix build (!671)
Part of the patch is submitted as MR upstream:
  https://invent.kde.org/kde/maui-pix/merge_requests/1
2019-10-08 22:55:06 +02:00
Luca Weiss
bc62c5affd
main/dbus-test-runner: disable Werror (!671) 2019-10-08 22:26:54 +02:00
Luca Weiss
b064d4e634
main/libqofono: remove, upstreamed to Alpine (!671) 2019-10-08 22:24:19 +02:00
Bhushan Shah
0572e65323
main/apitrace: new aport (!518)
useful for debugging OpenGL/GLES applications.
2019-10-08 14:00:48 +02:00
lambdadroid
a855164812
main/linux-postmarketos-qcom: rename to linux-postmarketos-qcom-msm8974 (!662)
We have linux-postmarketos-qcom and linux-postmarketos-qcom-msm8916 now,
which is quite confusing. linux-postmarketos-qcom was originally added
for MSM8974 devices (e.g. Nexus 5) and its patches on top of mainline
are therefore quite focused on MSM8974.

linux-postmarketos-qcom-msm8916 on the other hand, has patches specific
to MSM8916. The two packages do not have any patch in common, therefore
merging the two would only cause signficiant overhead to coordinate
testing for devices of the two SoCs.
Therefore, it is better to keep them separate.

To avoid confusion, rename linux-postmarketos-qcom to
linux-postmarketos-qcom-msm8974 to make it clear that it is really
a close-to-mainline kernel for MSM8974 devices.

[ci:skip-build]: already built successfully in CI
2019-10-08 00:51:38 +02:00
Danct12
0ff1dadc82
main/linux-postmarketos-*: upgrade to the latest (!660)
[ci:skip-build]: does not finish in time on CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-10-08 00:34:09 +02:00
Bhushan Shah
4bbd821d3d
main/telepathy-mission-control: add patch to fix autoconnection (!664)
5.17.x will be released soon with python3 changes, but before it is, for
now let's add this critical bugfix

[ci:skip-build]: already built successfully in CI
2019-10-07 23:34:39 +02:00
lambdadroid
bdb1bdc87b
main/libsparse: remove (!661)
The sparse image tools (img2simg, simg2img, append2simg) are now
part of Alpine's android-tools package where they are continously
updated. (See https://github.com/nmeum/android-tools/pull/8)

Remove "libsparse" as depends from all packages because it is either:

 - installed automatically by pmbootstrap when needed for
   deviceinfo_flash_sparse="true"
    (device-chuwi-hi10plus, device-htc-flounder, device-lg-bullhead,
     device-semc-anzu, device-xiaomi-kenzo)

 - seemingly unused(?)
    (device-asus-z00t, linux-motorola-falcon, linux-motorola-peregrine)

[ci:skip-build]: already built successfully in CI
2019-10-07 23:06:31 +02:00
Oliver Smith
c4718e8105
pmbootstrap: upgrade to 1.9.0 2019-10-07 23:03:11 +02:00
Oliver Smith
e36c225408
phosh: disable armhf
Phosh depends on gnome-session, which is currently not available in
Alpine for armhf. Fix the arch-lines to unblock building the binary
repository. [ci:skip-vercheck]
2019-10-07 22:52:33 +02:00
Bart Ribbers
e749cd1ae5
main/nota: upgrade to 0_git20190923 (!658)
[ci:skip-build]: already ran in CI successfully
2019-10-07 22:35:31 +02:00
Bart Ribbers
7c519f960d
main/vvave: upgrade to 0_git20190930 (!658) 2019-10-07 22:35:00 +02:00
Bart Ribbers
0cf0fddafc
main/index: upgrade to 0_git20190924 (!658) 2019-10-07 22:35:00 +02:00
Bart Ribbers
d593809c7c
main/buho: upgrade to 0_git20190924 (!658) 2019-10-07 22:35:00 +02:00
Bart Ribbers
e57f0bd9b9
main/mauikit: upgrade to 0_git20191002 (!658) 2019-10-07 22:34:55 +02:00
Oliver Smith
dfbe6549b4
main/cage: remove
Made its way into Alpine.
2019-10-07 21:43:40 +02:00
Bart Ribbers
ae87e3386f
main/postmarketos-ui-phosh: multiple improvements (!655)
* Enable on armhf
* Add Epiphany to depends
* Add more upstream gsettings
* Add keyboard launch script
2019-10-05 17:56:25 +02:00
Bhushan Shah
605fbe7587
linux-postmarketos-allwinner: upgrade kernel to latest revision (!656)
This upgrades kernel to 5.3.y release instead of rc4 release previously.

[ci:skip-build]: takes too long to build in CI
2019-10-03 21:45:59 +02:00
TheKit
c59275256f
postmarketos-ui-hildon: set maintainer on all the related packages (!657)
[ci:skip-build]
[ci:skip-vercheck]
2019-10-02 22:16:17 +02:00
Clayton Craft
db25354d7c
uuu: upgrade to Purism fork (!590)
This fork has a few updates from upstream for resolving issues on the
librem5 devkit flashing process.
2019-10-02 20:59:53 +02:00
Oliver Smith
a21d7897e3
main/pmbootstrap: upgrade to 1.8.3
Fixes 'pmbootstrap flasher boot' for fastboot devices. This is probably
not used as often as 'pmbootstrap flasher flash_*', so I'm not enforcing
the upgrade by modifying pmaports.cfg this time.
2019-09-30 00:41:18 +02:00
Oliver Smith
ef61d1cb1e
main/pmbootstrap: upgrade to 1.8.2 2019-09-26 23:13:53 +02:00
Oliver Smith
63544524b7
main/devicepkg-dev: make shellcheck happy (!636) 2019-09-26 21:43:34 +02:00
Oliver Smith
8c34ea6f81
main/postmarketos-mkinitfs: make shellcheck happy (!636)
We'll switch from whatever version of shellcheck is packaged in Debian
stretch to the newer version in Alpine edge in the next commit. Adjust
postmarketos-mkinitfs first, so it doesn't report any errors.
2019-09-26 21:27:58 +02:00
Bart Ribbers
9c7cffa8f4
main/telepathy-qt: upgrade to 0_git20190920 (!644)
[ci:skip-build]: already built successfully in CI
2019-09-25 22:57:05 +02:00
Bart Ribbers
50c7ce6c12
main/telepathy-ofono: upgrade to 0_git20190805 (!643)
Also removed the explicit depends on telepathy-mission-control, as that
was already picked up by abuild with the soname

[ci:skip-build]: already built successfully in CI
2019-09-25 22:24:11 +02:00
Bart Ribbers
e512493acd
main/telepathy-farstream: upgrade to commit which actually supports Python 3 (!642)
[ci:skip-build]: already built successfully in CI
2019-09-25 21:39:58 +02:00
Bart Ribbers
061c154e26
main/kaidan: enable translations (!637)
[ci:skip-build]: already built successfully in CI
2019-09-22 21:27:57 +02:00
Luca Weiss
b13b653d65
main/iio-sensor-proxy: new aport (!622) 2019-09-20 16:45:13 +02:00
Bart Ribbers
799f7b7806
main/libofono-qt: remove unneeded explicit dependency on qt5-qtbase (!621) 2019-09-20 16:14:47 +02:00
Bart Ribbers
5e3a2dd7a6
main/postmarketos-base: add pulseaudio and pulseaudio-alsa to enable audio (!621) 2019-09-20 15:41:25 +02:00
Bart Ribbers
bb6fb98587
main/telepathy-ofono: add missing runtime dependencies (!621) 2019-09-20 15:41:17 +02:00
Bart Ribbers
fe13302d0c
main/kaidan: upgrade to 0.4.1 (!635)
[ci:skip-build]: already built successfully in CI
2019-09-19 00:09:28 +02:00
Oliver Smith
40c1e90f2f
main/abuild-aarch64-qemu-workaround: remove
Related: pmbootstrap!1814
2019-09-18 22:11:47 +02:00
Oliver Smith
9bf06a52e4
pmbootstrap: upgrade to 1.8.1 2019-09-18 22:09:01 +02:00
Oliver Smith
f6b3d01dac
main/pmbootstrap: upgrade to 1.8.0 2019-09-16 22:32:07 +02:00
Oliver Smith
0d9b581c86
main/*: remove ubports leftovers
Related: #357
2019-09-16 22:28:58 +02:00
Oliver Smith
1ff97c82e9
main/telepathy-ofono: bump pkgrel
missing depend(s): so:libpulsecommon-12.2.so, so:libpulsecore-12.2.so
2019-09-16 22:27:21 +02:00
Oliver Smith
68edbf1a8b
main/cmake-extras: restore aport
This was in the unity8 dir, but dbus-cpp, net-cpp, process-cpp
and properties-cpp from main depend on it.
2019-09-14 07:01:11 +02:00
Bart Ribbers
5722b3ba93
main/telepathy-farstream: drop Python 2 (!606) 2019-09-14 06:42:50 +02:00
Bart Ribbers
3ef0605ab6
main/telepathy-qt: drop Python 2 (!606) 2019-09-14 06:42:50 +02:00
Luca Weiss
858edb3b4d
main/py3-*: remove, upstream (!603)
Packages are now available on Alpine
2019-09-14 06:31:54 +02:00
Daniele Debernardi
34507896c7
linux-postmarketos-stable: enable audio for N900 (!629)
This MR enable the new CONFIG_SND_SOC_NOKIA_RX51 kernel option which
replaces the old CONFIG_SND_OMAP_SOC_RX51, enabling the audio on the
N900 again (just tested).

[ci:skip-build]: won't finish in time
2019-09-14 05:45:46 +02:00
Martijn Braam
b0ccb7c22a
main/hwtest: upgrade to 0.5.2 (!617)
[ci:skip-build]: already built successfully in CI
2019-09-14 04:57:30 +02:00
Martijn Braam
0a512b8435
main/postmarketos-boot-hwtest: new aport (!617) 2019-09-14 04:57:14 +02:00
Oliver Smith
5a8fd121dd
main/dbus-cpp: bump pkgrel
missing depend(s): so:libboost_filesystem.so.1.69.0, so:libboost_program_options.so.1.69.0
2019-09-11 21:53:40 +02:00
Oliver Smith
5f6425c4c7
main/process-cpp: bump pkgrel
missing depend(s): so:libboost_iostreams.so.1.69.0
2019-09-11 21:52:15 +02:00
Oliver Smith
e72aad5dba
{main,cross}/gcc{4,6}*: bump pkgrel
Rebuild all other GCC packages against mpfr4, so they don't fail with:

Error loading shared library libmpfr.so.4: No such file or directory (needed by /usr/gcc4/libexec/gcc/x86_64-alpine-linux-musl/4.9.2/cc1)

[ci:skip-build]: won't finish in time
Related: 2b32ed3a48786fa151cad8f920e5d9997bee94ed in Alpine's aports.git
2019-09-11 21:32:52 +02:00
Bart Ribbers
ed38995a80
main/pmbootstrap: clean-up and switch maintainer to ollieparanoid (!597) 2019-09-11 18:36:02 +02:00
Luca Weiss
ccea0d4ad1
main/gnome-menus: remove,upstream (!604)
gnome-menus is now in Alpine
2019-09-09 14:28:05 +02:00
Luca Weiss
f8271a28bd
main/0xffff: upgrade to 0.8 (!609) 2019-09-09 14:20:39 +02:00
Luca Weiss
ca4391170d
main/libqofono: upgrade to 0.98 (!611) 2019-09-09 14:19:28 +02:00
Luca Weiss
7630ba5ba6
main/qt5ct: upgrade to 0.41 (!614) 2019-09-09 14:18:02 +02:00
Luca Weiss
0ab00f7cbd
main/umockdev: upgrade to 0.13.2 (!615) 2019-09-09 14:15:20 +02:00
Luca Weiss
ef96ce3b5b
main/xcursorgen: upgrade to 1.0.7 (!616) 2019-09-09 14:13:26 +02:00
Bhushan Shah
350ac7af21
device-pine-pinephone: new device (PINE64 PinePhone) (!583)
* Added display in final pinephone to the kernel
* Added getty
* Use RGB led to signify booting status in u-boot
* Enable CONFIG_GPIO_SYSFS

[ci:skip-build]: won't finish in time
2019-09-05 18:49:54 +02:00
Bhushan Shah
84e0f43802
linux-postmarketos-allwinner: upgrade kernel to latest revision (!583)
This adds support for pinephone dts

[ci:skip-build]: takes too long to build in CI
2019-09-05 17:21:57 +02:00
Martijn Braam
04c832f77f
main/hwtest: upgrade to 0.4.0 (!585) 2019-08-31 20:52:47 +02:00
mgulin
9e37742928
main/postmarketos-mkinitfs: custom legacy uboot initfs addr (!578)
Seems like VIA/Wondermedia 8850 devices do not boot with the default
address. Add new deviceinfo_legacy_uboot_load_address variable to
allow setting a custom one.
2019-08-31 20:21:11 +02:00
lambdadroid
e80aabe73f
soc-qcom-msm8916: Add common packages for mainline MSM8916 devices (!582)
Add main/linux-postmarketos-qcom-msm8916 as shared mainline kernel
for all MSM8916 devices.
2019-08-31 19:47:15 +02:00
Danct12
45977421f8
main/linux-postmarketos-allwinner: kernel development files (!576)
[ci:skip-build]: does not finish on CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-08-25 22:11:25 +02:00
Oliver Smith
fef768c57f
main/postmarketos-ui-weston: update ollie's e-mail
[ci:skip-build] [ci:skip-vercheck]

Related: https://ollieparanoid.github.io/post/2019-new-mail/
2019-08-24 01:51:55 +02:00
Oliver Smith
a62ec3a4a9
main/zeitgeist: remove (upstreamed)
1aafcfde44
2019-08-24 01:37:19 +02:00
Luca Weiss
43fc1cc526
main/xf86-video-opentegra: add note to fix pkgver (!565)
[ci:skip-build]
[ci:skip-vercheck]
2019-08-24 00:59:07 +02:00
Luca Weiss
7fe16db19b
main/properties-cpp: switch to lib-cpp source (!565) 2019-08-24 00:59:07 +02:00
Luca Weiss
894ac97fa2
main/dbus-test-runner: switch to ubports source (!565) 2019-08-24 00:59:07 +02:00
Luca Weiss
7cf5d4c054
main/process-cpp: fix pkgver (!565) 2019-08-24 00:59:07 +02:00
Luca Weiss
74f8386ee0
main/net-cpp: fix pkgver (!565) 2019-08-24 00:59:07 +02:00
Luca Weiss
718c8693da
main/dbus-cpp: fix pkgver (!565) 2019-08-24 00:59:06 +02:00
Luca Weiss
ff0fd83238
main/zeitgeist: upgrade to 1.0.2 (!569) 2019-08-24 00:53:22 +02:00
Luca Weiss
61232b3257
main/py3-dbusmock: rebuild against python3.7 (!568) 2019-08-24 00:47:52 +02:00
Luca Weiss
3a6e078480
main/py3-httpbin: rebuild against python3.7 (!568) 2019-08-24 00:47:40 +02:00
Martijn Braam
2406d29aec
linux-postmarketos-allwinner: upgrade to 5.3-rc4 (!557)
[ci:skip-build]: takes too long to build in CI
2019-08-23 21:33:25 +02:00
Bart Ribbers
168e640a85
temp/libdrm-grate: move from main (!571)
[ci skip] Package output does not change except for meta
information (licenses), so don't build or verify checksums
of the packages to prevent outdated source URL's breaking it.
This will have to be looked at later
2019-08-23 21:27:42 +02:00
Bart Ribbers
670fa0377a
temp/libvdpau-tegra: move from main (!571) 2019-08-23 21:27:41 +02:00
Bart Ribbers
4cd09020b1
temp/mesa-grate: move from main (!571) 2019-08-23 21:27:41 +02:00
Luca Weiss
0e461212f6
main/py-rdflib: remove (!574)
py3 version is in alpine aports now
2019-08-23 21:08:20 +02:00
Luca Weiss
04d53a3ef5
main/py-isodate: remove (!574)
py3 version is in alpine aports now
2019-08-23 21:08:18 +02:00
Bart Ribbers
d7eb5d77c3
main/postmarketos-ui-kodi: new aport (!561) 2019-08-19 18:28:41 +02:00
Danct12
d44646737e
device-pine-pinetab: enable bluetooth (!553)
[ci:skip-build]: does not finish on CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-08-19 16:57:22 +02:00
Dolphin von Chips
1c930cd0d3
main/cage: new aport (!554)
A Wayland kiosk. Works in Wayland (tested in weston), X11 (tested in
i3wm) and tty. Works with both dri-virtio and dri-swrast, but I won't
recommend you running with swrast because it's veeeeery slow.

[ci:skip-build]: already built successfully in CI
2019-08-17 13:43:23 +02:00
Luca Weiss
dfdba5b4a7
main/reboot-mode: Fix printing of error (!551)
Previously, running reboot-mode as an unprivileged user resulted in

    Error: No error information

without a newline at the end. According to SYSCALL(2), the return value
of -1 indicated an error, but the actual error code is stored in errno.
2019-08-10 14:41:06 +02:00
Danct12
370a9fbbb1
device-pine-pinetab: rotate framebuffer console (!550)
[ci:skip-build] because kernel changes

Signed-off-by: Danct12 <danct12@disroot.org>
2019-08-10 13:19:48 +02:00
lambdadroid
68be470893
main/postmarketos-mkinitfs: Do not forcefully include DRM in initfs (!548)
The DRM module itself can not do anything without a DRM driver.
It just takes up precious space (about ~5 MB for aarch64)
on the boot partition.

Devices that do include the appropriate DRM driver via
deviceinfo_modules_initfs will automatically pull in
"drm" and "drm_kms_helper" as dependencies, if needed.
So there is no need to depend on it explicitly.
2019-08-06 12:51:38 +02:00
Luca Weiss
c2444a0870
main/postmarketos-mkinitfs: Fix spaces->tabs (!536)
[ci:skip-vercheck]
2019-08-06 12:37:12 +02:00
Luca Weiss
ed182b60ff
main/postmarketos-mkinitfs: Use the original filename for the dtb (!536) 2019-08-06 12:37:12 +02:00
Daniele Debernardi
e4e38c2001
main/postmarketos-mkinitfs: add deviceinfo_framebuffer_landscape (!546)
Use deviceinfo_framebuffer_landscape during splash screen generation.
Also add the postmarketos-splash arguments variable to the computation
of the hash for the cache.

Adjust device-pine-pinetab to use the new variable, and therefore rotate
its splash screen.

[ci:skip-build]: already built successfully in CI
2019-08-06 12:00:31 +02:00
Luca Weiss
fef416f198
pine-pinetab: new device (Pine PineTab) (!528)
Thanks to Martijn Braam for additional patches that were squashed into
this one.

[ci:skip-build]: won't finish in time
2019-08-03 02:27:39 +02:00
Danct12
d2492564c4
main/postmarketos-ui-sway: remove mesa-dri-swrast (!539)
Signed-off-by: Danct12 <danct12@disroot.org>
2019-08-03 02:08:57 +02:00
Bhushan Shah
eb154010c6
main/postmarketos-ui-plasma-mobile: add dep to kirigami-gallery (!531)
kirigami-gallery is not meant for users, but it is good testing
application and is even part of reference image provided by Plasma
Mobile team.

For now we are not targetting plasma-mobile towards users anyway and
only developers, so include kirigami-gallery in main UI package.
2019-07-30 22:44:05 +02:00
Daniele Debernardi
00030d793f
main/postmarketos-splash: implement landscape mode (!530)
This actually implement the creation of the images in landscape mode.
The parameter was already present, just the implementation was missing.
2019-07-30 21:02:47 +02:00
dzmitry
c6896dd46a
main/dtbtool-exynos: new aport (!527)
This is a solution to integrate dtb.img building into Exynos kernel
sources.
2019-07-30 20:09:32 +02:00
rahmanshaber
b7a9cb7439
coreapps, main/libarchive-qt: remove (!532)
Upstreamed to Alpine.
2019-07-30 19:55:52 +02:00
Daniele Debernardi
d913c6e796
linux-postmarketos-allwinner: enable framebuffer (!529)
[ci:skip-build]
2019-07-29 23:26:06 +02:00
Martijn Braam
9fde750935
main/linux-postmarketos-allwinner: update to 5.3.x-git (!526)
[ci:skip-build]
2019-07-27 17:44:21 +02:00
rahmanshaber
90e8979961
main/qt5ct: update to 0.39 (!499)
[ci:skip-build]: already built successfuly in CI
2019-07-25 21:15:12 +02:00
Luca Weiss
7699f8d537
main/postmarketos-mkinitfs: set pmOS-specific firmware path (!515)
Currently we rely on the fact, that the kernel asks user space to load
the firmware for it, so we can use the /lib/firmware/postmarketos
directory for firmware.

As the kernel has support for loading the firmware itself since
v3.7, and the parameter for adding an additional path to the search
paths was added with v3.10, we can use that to not rely on
CONFIG_FW_LOADER_USER_HELPER being set.
2019-07-25 20:30:04 +02:00
Brian Masney
0e8cb764e1
main/linux-postmarketos-qcom: update to kernel v5.2 (!514)
Update to the 5.2 kernel plus my patches for the Nexus 5 display that
will also work for other msm8974-based systems:
https://github.com/masneyb/linux/commits/v5.2-nexus5-display. There's
currently 25 extra patches on top of 5.2:

- The first 9 patches after the 5.2 commit are currently in 5.3rc1 and
  were back ported to 5.2. All of these patches have 'Commit XXX
  upstream.' messages in the commit message.
- The next 9 patches are for ocmem support and some msm display fixes. I
  expect that these will be merged upstream for 5.4rc1.
- The remaining 7 patches are still not suitable to send upstream.

[ci:skip-build]: already built successfully in CI
2019-07-24 00:22:12 +02:00
Martijn Braam
33b8a219f5
postmarketos-ui-phosh: enable armv7 2019-07-23 16:37:59 +02:00
Luca Weiss
063330935b
main/linux-postmarketos-allwinner: update kernel & build more modules (!508)
[ci:skip-build]
2019-07-18 23:19:37 +02:00
Luca Weiss
3d57e0b688
main/linux-postmarketos-allwinner: fix indentation (!508) 2019-07-18 23:19:22 +02:00
Martijn Braam
057c14ad62
postmarketos-ui-phosh: set pmos wallpaper (!503)
[ci:skip-build]: already built successfully in CI
2019-07-18 23:01:11 +02:00
Daniele Debernardi
f5ef288dce
postmarketos-mkinitfs-hook-debug-shell: add reboot-mode (!492) 2019-07-13 14:05:00 +02:00
Konrad Dybcio
7fcb579030
postmarketos-ui-phosh: Mention support for aarch64 (!491)
Related: 2bff253d7d ("phosh/phosh: enabled aarch64 (!414)")
2019-07-13 13:53:53 +02:00
Bart Ribbers
05aa9bed4d
main/postmarketos-ui-plasma-mobile: new depends (!459)
I've ordered the $depends list alphabetically for better readability,
and added the bluedevil (for Bluetooth) kwallet-pam and
xdg-desktop-portal-kde runtime dependencies.

[ci:skip-build]: already built successfully in CI
2019-07-10 00:05:56 +02:00
Martijn Braam
00ed89baff
main/postmarketos-ui-phosh: enabled aarch64 (!414)
[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2019-07-09 21:53:42 +02:00
Luca Weiss
7c079a69fd
QEMU: fix case sensitivity, unify device names (!480)
[ci:skip-vercheck]
2019-07-06 03:30:37 +02:00
Oliver Smith
f90149a024
osk-sdl: update to 0.53
As Idan Horo wrote in osk-sdl!82:
"Newer versions of cryptsetup automatically encrypt with LUKS v2.
osk-sdl assumes all partitions are encrytped with v1 and as such fails.
By just changing the encryption type to NULL cryptsetup automatically
detects and chooses the correct LUKS version. Tested on xiaomi-kenzo."
2019-07-06 03:24:53 +02:00
Oliver Smith
975640fc7b
main/pmbootstrap: update to 1.7.0 2019-07-05 21:20:57 +02:00
Oliver Smith
7e4b70ddf4
main/linux-postmarketos-qcom: update: 5.2_rc3, disable armhf (!450)
Kernel patches by Brian Masney, this pmaports.git patch is based on work
by Brian and Martijn Braam.
2019-06-30 18:54:08 +02:00
Martijn Braam
74ac6819c9
main/postmarketos-mkinitfs: verbose network log (!468)
Make the initfs show better errors in the network setup part.
2019-06-30 11:49:03 +02:00
Oliver Smith
17292f4f5e
main/postmarketos-base: fix wpa_supplicant config (!365)
Fix wifi on htc-ace by properly setting nl80211 before wext.

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

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

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

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

(141/151) Installing postmarketos-base (3-r26)
Executing postmarketos-base-3-r26.post-install
- Modifying: /etc/fstab
- Modifying: /etc/issue
- Modifying: /etc/motd
- Modifying: /etc/conf.d/syslog
- Modifying: /etc/conf.d/wpa_supplicant
- Modifying: /etc/sudoers
- Modifying: /etc/chrony/chrony.conf
2019-06-30 02:00:08 +02:00
Luca Weiss
82b143f3f0
Fix spelling mistakes (!466)
codespell --skip="./.git,*.patch,*.diff,config-*.*"

[ci:skip-build]
[ci:skip-vercheck]
2019-06-30 01:40:02 +02:00
Bart Ribbers
0cebe2a3a2
main/libphonenumber: remove, upstreamed (!467) 2019-06-27 11:05:01 +02:00
Bart Ribbers
8220ed31e6
main/postmarketos-ui-plasma-mobile: add lightdm-openrc to depends (!460)
Fixes post-install script.
2019-06-26 22:50:37 +02:00
Bart Ribbers
df665a4980
kde/kube: remove in favor of trojita (!460) 2019-06-26 22:50:31 +02:00
Luca Weiss
a66fed62cc
Format **/*.c with clang-format (!465)
[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2019-06-26 22:36:24 +02:00
Bart Ribbers
4f3360c051
main/vvave: update and move to newer sources (!454)
[ci:skip-build]: already built successfully in CI
2019-06-24 22:09:09 +02:00
Bart Ribbers
377426d090
main/pix: update and move to newer sources (!454) 2019-06-24 22:08:57 +02:00
Bart Ribbers
359991bcab
main/nota: update and move to newer sources (!454) 2019-06-24 22:08:57 +02:00
Bart Ribbers
c72e009383
main/index: update and move to newer sources (!454) 2019-06-24 22:08:57 +02:00
Bart Ribbers
8cae9e1b2b
main/buho: update and move to newer sources (!454) 2019-06-24 22:08:57 +02:00
Bart Ribbers
98b21a669b
main/mauikit: update and move to newer sources (!454) 2019-06-24 22:08:53 +02:00
Oliver Smith
7fb32b86a4
main/libofono-qt: disable docs
Documentation depends on texlive, which is currently not available in
Alpine edge x86.
2019-06-24 21:59:45 +02:00
Oliver Smith
020dd0e9f2
main/libofono-qt: remove unused patch files
[ci:skip-vercheck]
2019-06-24 21:58:43 +02:00
Oliver Smith
069fabbd3d
main/telepathy-ofono: bump pkgrel
missing depend(s): so:libmission-control-plugins.so.0, so:libofono-qt.so.1
2019-06-24 21:25:06 +02:00
Daniele Debernardi
375e98b950
main/reboot-mode: new aport (!442)
New tool to reboot the device to a specific mode.
2019-06-24 21:09:47 +02:00
Bart Ribbers
af263907ca
main/libofono-qt: rename from ofono-qt and move to newer sources (!408)
[ci:skip-vercheck] libofono-qt switched to newer sources but uses a
different version numbering system
2019-06-24 11:06:44 +02:00
Bart Ribbers
f0a25157c2
kde/plasma-phone-components: enable calls (!408) 2019-06-24 11:06:44 +02:00
Bart Ribbers
95592e8fb9
main/postmarketos-ui-plasma-mobile: fix dependency name (!451) 2019-06-20 15:30:04 +02:00
Bart Ribbers
b5398b9723
main/grantlee: remove, upstreamed (!449) 2019-06-20 13:41:25 +02:00
Bart Ribbers
c2a2670d3d
main/postmarketos-ui-plasma-mobile: minimize runtime dependencies (!449) 2019-06-20 12:41:05 +02:00
Martijn Braam
d591cd2a38
device/pine-dontbeevil: Seperate version for longts (!407)
This adds a seperate dts for the longts version of the devkit (which was
the un-inverted version before) and adds a shortts version which was
inverted before, but didn't exist in pmaports yet because I manually
edited the dts for every release.

This MR abuses the kernel switching feature to switch the dtb instead so
shortts/longts can be selected in the init step.

[ci:skip-build]: build won't finish in time
2019-06-20 00:19:29 +02:00
Oliver Smith
24df480254
main/telepathy-qt: disable tests
Tests are failing at least for armhf. Disable all of them to unblock the
builder for now.

[ci:skip-vercheck]
2019-06-18 08:34:45 +02:00
Bart Ribbers
80a260d778
main/postmarketos-ui-plasma-mobile: add spacebar to depends (!376)
An SMS application for Plasma Mobile, finally!

Please note that it's still in development, and it doesn't work
flawlessly yet. For example new chats can't be initiated, someone else
has to send an SMS to you first before you can send an SMS back.

However, with this application basic phone functionality should work
with Plasma Mobile. I'll keep it up-to-date while it develops, just like
the other to-be-released Plasma Mobile applications we already package
(e.g. Plasma Camera).

[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2019-06-17 21:58:25 +02:00
Bart Ribbers
9e5424ec42
main/telepathy-qt: rename from telepathy-qt5 [ci:skip-vercheck] (!376) 2019-06-17 21:58:11 +02:00
Bart Ribbers
bdce39ee7d
main/telepathy-glib: remove, has been upstreamed (!376) 2019-06-17 21:58:07 +02:00
drebrez
7bc1750d64
main/libfakekey: remove (upstreamed) (!441) 2019-06-17 20:42:58 +02:00
Bart Ribbers
918579087a
main/postmarketos-ui-hildon: fix launch (!439)
[ci:skip-build]: already built successfully in CI
2019-06-14 02:01:24 +02:00
Martijn Braam
c1d859554e
main/hwtest: update to 0.3.0 (!436)
* Added --skip option to skip specific tests
* Allow skipping broken inputs in interactive mode with ctrl+c
* Added basic modem test that lists modems in ofono
* Added audio test based on alsabat
* Added pressure sensor support
* Fixed temperature calculations
2019-06-14 01:24:36 +02:00
Tito Ragusa
7a320245bc main/msm-fb-refresher: fix typo 2019-06-07 21:36:29 +00:00
Bart Ribbers
71815d8718
main/postmarketos-ui-weston: fix custom configs (!423)
Use the start_weston.sh wrapper script again, and make it work with
lightdm. It makes custom weston configs possible, and allows starting
postmarketos-demos together with weston. The custom config logic uses a
default config from postmarketos-ui-weston unless it is overwritten
with a device specific config. Our default configs use fbdev in most
cases, as this is not the case since the change to lightdm, weston was
broken for most devices with downstream kernels, that only work with
framebuffer.

Lastly, set myself as maintainer for this UI. Resolves #289

Ollieparanoid extended this patch and made sure that this boots up
weston on the samsung-i9100 again.
2019-06-07 22:46:49 +02:00
Alexey Min
80cf689e81
main/linux-postmarketos-qcom: update to 7370f062 (!415)
* Add panel driver for oneplus-bacon
* Add dts for oneplus-bacon
* Remove msm-id and board-id properties from samsung-klte

after https://gitlab.com/postmarketOS/linux-postmarketos/merge_requests/2
2019-06-05 22:05:14 +02:00
Asriel Dreemurr
96e2e6df66
main/postmarketos-ui-sway: new aport/new UI (!374)
Does not work without hw acceleration!
2019-06-04 22:34:53 +02:00
Asriel Dreemurr
5b1a20fbaf
main/postmarketos-ui-*: fix lightdm autologin after reinstall (!385)
When the UI package is reinstalled (due to the package being recompiled
or upgraded), it runs $pkgname.post-upgrade instead of
$pkgname.post-install which would run the sed replacement LightDM
autologin. This will cause LightDM to show the greeter when the UI
package is rebuilt, and the user ran pmbootstrap install without
deleting the old chroot.

Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>
Reviewed-by: Danct12 <danct12@disroot.org>
Signed-off-by: Danct12 <danct12@disroot.org>
2019-06-04 20:42:13 +02:00
Danct12
bbf3e19294
main/linux-postmarketos-*: upgrade mainline to 5.2-rc2, stable to 5.1.5 (!392)
[ci:skip-build]: Takes more than an hour to build on CI.

Signed-off-by: Danct12 <danct12@disroot.org>
2019-06-02 04:52:45 +02:00
Bart Ribbers
3bcc7efacb
phosh/chatty: new aport (!8)
[ci:skip-build]: already built successfully in CI
2019-06-02 03:40:25 +02:00
Bart Ribbers
3c2ed666a6
phosh/calls: new aport (!8) 2019-06-02 03:39:39 +02:00
Bart Ribbers
15e5de079c
main/postmarketos-ui-phosh: new aport (!8) 2019-06-02 03:39:39 +02:00
Luca Weiss
693079abb5
mkinitfs: Introduce deviceinfo_append_dtb variable (!387)
We don't need to append the dtb to the kernel image in all cases, with
e.g. the u-boot bootloader we can load the dtb seperately from the
kernel image. Introduce a new variable deviceinfo_append_dtb, if set to
"true", append the dtb, otherwise just copy the dtb file to the boot
partition.

Fixes #260

[ci:ignore-count]
2019-06-02 03:13:43 +02:00
Martijn Braam
3bba29a6ef
Add postmarketos-ui-shelli (!397)
A framebuffer console plus gesture recognition UI option. Tested locally
building and on nexus 5. The power key works fine for me and the freeze
after sitting for about 5 minutes still happens for me but I don't
consider that necessarily a shelli bug, maybe the code needs to feed a
watchdog or something.
2019-06-01 23:06:37 +02:00
Bart Ribbers
36d68814fd
kde/* && main/buho: fix upstream compatiblity by renaming attica and phonon dependencies (!411) 2019-06-01 22:42:50 +02:00
Luca Weiss
83592a0522
postmarketos-ui-xfce4: remove xfce4-mixer (!405)
It has been removed from the Alpine aports because it depends on the
unmaintained gstreamer0.10 package. Remove it from our metapackage.
2019-06-01 15:53:44 +00:00
Martijn Braam
07cbc8cf18
main/hwtest: Update to 0.2.0 (!401)
This adds the first interactive tests for inputs, interactive tests are
only run when specifying --interactive/-i. This also adds --export and
--verify. The export option will write the test results to an .ini file.
The verify option will run the tests and compare it to the saved export
and then will show a diff of hardware functionality.
2019-05-31 03:30:09 +02:00
Bart Ribbers
a4c298f829
Plasma mobile, weston: use lightdm, elogind (!379)
Move Wayland meta packages to LightDM and replace ConsoleKit2 for
elogind for Plasma.

Now we don't need the hacky scripts in /etc/profile.d anymore!
This change requires elogind for both Weston and Plasma Mobile. Using
elogind allows us to use one patch less in kwin. Weston has logind
(which elogind provides) support disabled in Alpine Linux, so I put the
package in temp/ with it enabled for now, but will upstream this change
to Alpine.

Remove consolekit2 dependency in postmarketos-ui-xfce4.

[ci:skip-build]: already built successfully.
2019-05-30 01:39:25 +02:00
Danct12
b77f0911b8
main/onboard: removed package (!388)
https://github.com/alpinelinux/aports/pull/8030\#issuecomment-496246018
2019-05-28 23:54:58 +02:00
Bart Ribbers
9302c5f9aa
kde/plasma* && main/postmarketos-ui-plasma-mobile*: disable armhf (!206)
They don't work on that arch because of https://gitlab.com/postmarketOS/pmaports/issues/75
2019-05-28 22:53:30 +02:00
Danct12
9ea0ca4de7
main/linux-postmarketos-*: upgrade mainline (5.2-rc1) and stable (5.1.4) (!367)
Tested with qemu. Tested on N900 by ollieparanoid.

[ci:skip-build]: kernel takes more than an hour to compile on CI.
2019-05-25 01:55:57 +02:00
Martijn Braam
d72923dcd5
main: linux-postmarketos-allwinner: PinePhone updates
- main: postmarketos-mkinitfs: Add /run
  Create the /run directory in the initramfs so that cryptsetup doesn't
  crash on not being able to create /run/cryptsetup for lockfiles

- device: pine-dontbeevil: Remove workaround for touchscreen

- main: linux-postmarketos-allwinner: Implemented supplies for touchscreen
  This uses a slightly newer commit from the kernel repo that implements
  requesting a regulator in the touchscreen driver

- device: pine-dontbeevil: Remove ethernet from initramfs
  This actually makes debugging more complicated since networkmanager wont
  touch the ethernet adapter afterwards and the initramfs can be debugged
  over uart

- temp/u-boot: sync APKBUILD with upstream and update to 2019.04

- main: linux-postmarketos-allwinner: Use 20190521 git version
2019-05-23 14:39:21 +02:00
Martijn Braam
4f5aa75375 Add hwtest 0.1.0 2019-05-21 19:39:26 +00:00
Danct12
f343cb5a0e
main/onboard: new aport (!370)
Currently we're using matchbox-keyboard as on screen keyboard. However,
onboard seems to be a better alternative to, it has auto-show, word
suggestions, themes and settings you can choose. So far the best OSK out
there on the market.

There are a few minor issue such as word suggestions doesn't work (not
sure why, but i assume that onboard doesn't know about the program that
was in front of it), sound feedback doesn't work at all due to missing
sound despite it exists in
/usr/share/sounds/freedesktop/stereo/onboard-key-feedback.oga. Other
than that, I haven't found any issue while testing.

Tested on qemu-amd64.
2019-05-19 20:57:20 +02:00
Oliver Smith
3b35907c50
main/pmbootstrap: update to 1.6.1 2019-05-19 19:58:52 +02:00
Bart Ribbers
e927feb4d5
main/maui*: update to latest git (!366)
Built and tested on x86_64, everything works as before.

[ci:skip-build]: ollieparanoid made sure that this builds for all
                 arches.
2019-05-18 02:21:55 +02:00
hacker12455
322cec513c
main/columbiad: new package (full screen launcher) (!364)
It is a standalone app, I'm planning to make a UI version of it.
2019-05-16 20:23:56 +02:00
Danct12
aff352d9c3
main/postmarketos-base: ignore confusing p2p0 interface (!344)
On some devices (mainly the ones that uses wcnss-wlan), there is another
interface beside wlan0, which is p2p0. It is used for Wi-Fi Direct, but
beside that, this might also cause confusion to other users as well. And
also you cannot connect into any network with this interface.
2019-05-14 22:24:26 +02:00
Robert Yang
acf5e6d394
main/mesa-grate: replace libelf-dev dependency for elfutils-libelf (!356)
libelf-dev has been removed in the upstream repos.

[ci:skip-build]: already built successfully in CI
2019-05-08 21:17:37 +02:00
Robert Yang
d559a0fe7e
main/mesa-grate: Add python2 to makedepends (!356)
Fixes missing python2 dependency. For some reason it was building fine
in the past. Some other dependency must have been pulling python2.
2019-05-08 14:36:15 -04:00
Martijn Braam
5cf1ee92e8 pine-dontbeevil: Fixed sound and battery (!348)
* Fixed audio
* Fixed battery handeling
* Added fix for touchscreen not working for everyone
* Use newer upstream kernel

[ci:skip-build]: won't finish in time, Martijn made sure that it builds.
2019-05-06 22:01:34 +00:00
Luca Weiss
d3d2b8dfdb
main/kmscube: update to new git snapshot (!342)
Upstream also provides the meson build system now, so use it.
2019-05-06 22:21:59 +02:00
Oliver Smith
230433ad9d
various: pkgrel bump after icu-dev upgrade
Rebuild to fix missing dependencies:
so:libicui18n.so.63, so:libicuuc.so.63

Currently we are facing another upstream compatibility issue with
Alpine, which is why CI will fail: polkit and therefore
networkmanager don't exist for armhf, armv7. See #244 for details.
2019-05-05 12:08:54 +02:00
Alexey Min
6818cd6bac postmarketos-base: add deferred-initcalls openrc service (!338)
This script triggers late initialization of some platform
drivers that cannot be probed at boot time, because for
example they use firmware blobs on partitions that are
not mounted during early kernel startup.

Disabled by default, can be enabled on per-device basis.
2019-05-02 21:07:31 +00:00
Alexey Min
7d8587a9db
postmarketos-ui-plasma-mobile: add unlock-plasma helper script (!337)
Plasma lockscreen is currently hard or impossible to unlock
using phone itself, that's why you should send a command to
ConsoleKit over DBus in a shell. This script saves from extra
typing.
2019-05-01 00:11:20 +03:00
Martin Piatka
8caa370611 postmarketos-mkinitfs: Support initramfs compressions other than gzip (!334)
The postmarketos initramfs is larger than android initramfs. This causes
problems on some devices like htc-ace that have a very small boot
partition (4MB in htc-ace). I've been able to make the boot image small
enough to fit by compressing initramfs using lzma.
With this change it should be possible to change the compression in
deviceinfo like this: deviceinfo_initfs_compression='lzma'
or even deviceinfo_initfs_compression='lzma -9'. When no option is
specified it defaults to 'gzip -1'.

I've also added dependencies to compression utilities for all possible
initramfs compression algorithms.
2019-04-30 17:12:33 +00:00
Martijn Braam
badaed7177 pine-dontbeevil: update kernel, config, more CMA mem (!336)
* Moved more PinePhone related kernel stuff to the upstream
* Added cma=256M so the CSI subsystem doesn't throw out-of-memory errors
  when capturing at higher than 1280x720 resolutions (but it still hangs)
* Removed a lot of modules that get compiled for DVB tuners after
  enableing the camera stuff.

[ci:skip-build]: doesn't finish in time
2019-04-28 23:03:02 +00:00
Oliver Smith
c6e854b186
main/gcc{4,6}, cross/gcc{4,6}*: fix depends
Explicitly depend on mpc1. Our generated gcc aports use the !tracedeps
option, so we need to explicitly set the libraries it depends on.

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

Fixes #236.

[ci:skip-build]: takes too long to build.
2019-04-26 22:45:54 +02:00
Oliver Smith
e91b7e780e
main/pmbootstrap: update to 1.6.0
First release with crossdirect support, meaning crossdirect is stable
now!
2019-04-24 16:10:54 +02:00
Martijn Braam
74142b4d67 pine-dontbeevil: Touch and wifi (!331)
* Inverted the X-axis on the touchscreen
* Enabled the driver for the wifi/bluetooth chip and added it to the dts
* Added a horrible hack for making the touchscreen work

This also decreases the kernel version because the previous version I've
used was technically incorrect.

[ci:skip-build]: doesn't finish in time
2019-04-24 13:50:00 +00:00
Oliver Smith
ffbbe41d63
main/kernel-scripts: remove (!329)
This package was a workaround for out-of-tree modules (wireguard). We
have dropped the wireguard kernel module package already, and since
kernel-scripts is failing to build now (it would need to be updated),
let's drop it as well.

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

[ci:skip-build]: building the kernels that have been adjusted to drop
                 kernel-scripts related code would take too long for CI,
                 but I'm making sure that everything still builds before
                 merging.
2019-04-19 19:31:06 +02:00
Martijn Braam
9353bca73f pine-dontbeevil: various dtb improvements (!323)
* Created seperate DTB for the devkit named sun50i-a64-dontbeevil.dts so
  it can easily be edited and the diff remains readable in gitlab
* Added patch to build the new dtb
* Added the ST LIS3MDL to the new dtb (Magnetometer)
* Added the SensorTek STK3335 to the new dtb (Proximity and ambient
  light sensor)
* InvenSense MPU-6050 to the new dtb (Accelerometer and gyroscope)
* Added CSI bus and OV5640 camera

Remaining issues:
* The STK3310 module doesn't load automatically
* Camera doesn't want to capture but does show up as /dev/video0

[ci:skip-build]: doesn't finish in time
2019-04-18 20:59:11 +00:00
Robert Yang
5aa8866347
android-recovery-installer: Use an explicit list of zip file contents (!324)
The working directory can contain other files. For example pmbootstrap uses
the same directory for generating android recovery zip files. Extra files
can end up being archived into the recovery zip.

This change explicitly passes the list of files to be archived.
2019-04-18 21:10:21 +02:00
Oliver Smith
db9611cdab
py3-brotlipy: bump pkgrel after soname bump
Library doesn't exist anymore, so we need to rebuild the package:
so:libpython3.6m.so.1.0
2019-04-18 20:49:58 +02:00
Betty Cooper
4c42992532
main/postmarketos-artwork-wallpapers: new wallpaper (!320)
Use new wallpaper instead of the old one, and only install one wallpaper
file.
2019-04-18 20:34:40 +02:00
Bart Ribbers
3d0b44dded
kde/frameworks*: update to 5.57 (!317)
Built and tested on x86_64, everything works as expected.

[ci:skip-build]: ollieparanoid made sure, that this builds for all
                 relevant arches. With crossdirect, so that means it is
                 pretty stable now \o/
2019-04-15 21:38:24 +02:00
Robert Yang
24814b2ccb
xf86-video-opentegra: Compositing improvements (!311)
Includes pull request 51 from upstream.

[ci:skip-build]: already built successfully in CI
2019-04-12 01:03:28 +02:00
Robert Yang
e66967c06e
libdrm-grate: Caching improvements (!311)
Includes pull request 43 from upstream.
2019-04-12 01:02:57 +02:00
Robert Yang
e752240ee7
libvdpau-tegra: Fix drawing problems on tegra30 (!311) 2019-04-12 01:02:52 +02:00
Luca Weiss
a169c1335a
all: remove install scripts from source (!310) 2019-04-12 00:38:38 +02:00
Martijn Braam
9b88689b9d
new device: device-pine-dontbeevil (Don't be evil devkit) (!308)
UART and SSH work and HDMI works in u-boot (just like the pine-a64lts).
It should work now with display and xorg/weston works directly after
installing. Plasma mobile doesn't work directly because both kms and
fbdev are enabled and kms doesn't work yet.

linux-postmarketos-allwinner: update to 5.0.0-rc3 with patches for this
devkit, tested on this device and on pinea64lts (the only other device
using the allwinner kernel).

[ci:skip-build]: won't finish in time
2019-04-11 23:49:03 +02:00
Oliver Smith
f540943f0c
main, unity8: bump pkgrels after boost upgrade
$ pmbootstrap pkgrel_bump --auto
Increase 'libphonenumber' pkgrel (5 -> 6), missing depend(s): so:libboost_system-mt.so.1.67.0, so:libboost_thread-mt.so.1.67.0
Increase 'unity-system-compositor' pkgrel (0 -> 1), missing depend(s): so:libboost_system-mt.so.1.67.0
Increase 'trust-store' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0
Increase 'process-cpp' pkgrel (0 -> 1), missing depend(s): so:libboost_iostreams-mt.so.1.67.0
Increase 'mir' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_iostreams-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0
Increase 'location-service' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0
Increase 'ubuntu-download-manager' pkgrel (0 -> 1), missing depend(s): so:libboost_log-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0, so:libboost_thread-mt.so.1.67.0
Increase 'dbus-cpp' pkgrel (0 -> 1), missing depend(s): so:libboost_filesystem-mt.so.1.67.0, so:libboost_program_options-mt.so.1.67.0, so:libboost_system-mt.so.1.67.0

[ci:skip-build]: I doubt that this would finish in time
2019-04-03 21:25:34 +02:00
Luca Weiss
40d110fcc9 Change default NetworkManager DHCP client to dhcpcd (!278)
Remove the override in ouya-ouya (and in postmarketos-base) and add an
override for raspbery-pi3

Fixes #210
2019-03-29 14:53:47 +01:00
Martijn Braam
4c222eee7b main/postmarketos-ui-i3wm: Added xinput dependency (!282)
This adds the missing xinput dependency that's needed for lock.sh
2019-03-18 06:47:48 +00:00
PureTryOut
2a0dcdac5a kde/frameworks*: update to 5.56 (!275)
Built and tested on x86_64.

[ci:skip-build]: ollieparanoid made sure that this builds for
                 x86_64, aarch64, armhf, armv7
2019-03-15 17:46:37 +00:00
Luca Weiss
8b9998fc64 unity8/mir: update to 1.1.2, update related pkgs (!276)
Mir 1.1.2 builds without any out-of-tree patches, which is great.
I've updated a few other unity8-related packages too.

[ci:skip-build]: ollieparanoid made sure, that everything builds.
2019-03-14 06:34:40 +00:00
Oliver Smith
7ab24cb685
pmbootstrap: update to 1.5.1 2019-03-10 02:45:58 +01:00
Matthias Berndt
83bdddad4c
postmarketos-base: nl80211 before wext in wpa_supplicant (!264)
Fixes wifi on htc-vision.
2019-03-09 22:33:33 +01:00
Bhushan Shah
70d0fe5272 plasma-mobile: Fix the virtualkeyboard for mobile (!262)
Without QT_QUICK_CONTROLS_MOBILE=true, kwin would assume it is on
desktop with touchscreen and would try to show resize overlay. which
doesn't work on phone.

Fixes #206
2019-03-08 11:40:20 +00:00
PureTryOut
a0eb18e1e6
main/postmarketos-ui-plasma-mobile-extras: new aport (!214)
This takes over all extra dependencies from Plasma Mobile.

[ci:ignore-count]
2019-03-08 09:50:01 +01:00
PureTryOut
3daead037b
main/kaidan: new aport (!214)
Requires new aport main/qxmpp
2019-03-08 09:49:25 +01:00
PureTryOut
6f3635fc24
main/nota: new aport (!214) 2019-03-08 09:43:32 +01:00
PureTryOut
2829d65e98
main/buho: new aport (!214) 2019-03-08 09:43:32 +01:00
PureTryOut
05358f9a5f
kde/calindori: new aport (!214) 2019-03-08 09:43:32 +01:00
PureTryOut
8a666ce1a9
kde/qmlkonsole: new aport (!214)
This aport replaces qmltermwidget, which is now used as a submodule
instead. kde/qmltermwidget is moved to main/qmltermwidget and uses a
different upstream source, and Index is updated to use it from it's new
source
2019-03-08 09:43:32 +01:00
Robert Yang
e76bd07487 postmarketos-base: Make NetworkManager conf more easily overridable (!260)
Later conf files override earlier ones. With this change, device specific
packages can ship their own NetworkManager configs that override the
postmarketos config.

Example: 10-samsung-p4wifi.conf would override 00-postmarketos.conf
2019-03-07 11:09:05 -05:00
foldedcascode
e1dda38396
lg-hammerhead: switch arch to armv7 (!257) 2019-03-07 10:34:09 +01:00
Oliver Smith
125ab01876
pmbootstrap: update to 1.5.0 2019-03-03 10:45:39 +01:00
Clayton Craft
45fd30fa32 uuu: update to 1.2.91 (!245)
This seems to resolve some issues present on the previous version
2019-03-02 10:43:33 -08:00
rahmanshaber
8909e932d0
coreapps/*: update to 2.4.0 (!249)
[ci:ignore-count]
2019-03-01 09:42:01 +01:00
PureTryOut
27a56b4f18 main/pmbootstrap: update dependencies 2019-02-28 08:40:39 +00:00
Oliver Smith
11d7172334
main/wireguard-postmarketos-stable: remove
This isn't building anymore, because linux-postmarketos-stable has been
switched from armhf to armv7 in pma!240.

We could change the arch of wireguard-postmarketos-stable too, but the
package is not maintained at all, and I doubt that anybody is using it.
So I'm dropping it. If there are any users, please step up to maintain
the package.
2019-02-27 21:27:45 +01:00
Zhuowei Zhang
7df2c93459
main/postmarketos-mkinitfs: support verbose boot (!234)
Adds a new initfs hook, verbose-initfs, which doesn't do anything on its
own. Modify postmarketos-mkinitfs to check if this hook is installed and
if so run `set -x`.

It's done this way so verbose boot is enabled as early as possible,
before hooks are loaded.

Tested on the qemu-aarch64 device.

- pmboostrap initfs hook_add verbose-initfs
- pmbootstrap qemu --arch aarch64
- confirmed that commands are echoed to the console
2019-02-27 21:02:02 +01:00
Luca Weiss
624c046cd4
main/*, unity8/*: update various unity8 packages (!221)
Everything seems to be fine in QEMU.

[skip ci]: too many packages have changed
2019-02-27 19:10:30 +01:00
Zhuowei Zhang
ba902038ca
google-crosshatch: add WIP mainline kernel (!226)
This is tested to boot on google-crosshatch, following these
instructions:

$ pmbootstrap init, choose the mainline kernel
$ pmbootstrap install --no-fde
$ pmbootstrap initfs hook_add debug-shell
(enter fastboot mode on the device)
$ fastboot set_active a
$ fastboot flash dtbo_a ~/.local/var/pmbootstrap/chroot_rootfs_google-crosshatch/boot/dtbo-google-crosshatch-mainline.img
$ pmbootstrap flasher boot

And you should get telnet after a while. This kernel takes a long time
to build, so [skip ci]. I can confirm it builds locally.

Note that this patch adds the mainline dtb path to deviceinfo. But the
parameter gets ignored on the downstream kernel, so it's fine to keep it
in the shared deviceinfo.

Mainlining this device is work in progress, details at:
https://gitlab.com/postmarketOS/pmaports/issues/153
2019-02-27 18:31:51 +01:00
Martijn Braam
f5b9af638e main/linux-postmarketos-stable: Fix ARMv7
This makes the linux-postmarketos-stable kernel generate an armv7 package instead of armhf. The contents
of the package were armv7 already but now it can be correct with the new Alpine support.
2019-02-27 14:09:53 +00:00
ryang
2dc0718ddd grate-driver: Update to more recent revision and build for ARMv7 (!241)
Changes:
- Accelerated screen rotation
- Optimizations to buffer copies
- Pull mesa cache buffer size patch from upstream AlpineLinux mesa aport
2019-02-26 17:24:26 +00:00
PureTryOut
09ce31ca20
kde/frameworks: update to 5.55.0 (!212)
[skip ci]: too many packages changed, build won't finish in time.
	   ollieparanoid made sure that this builds for x86_64,
	   aarch64, armhf, armv7. Also he tested that this boots up
	   in qemu-amd64.
2019-02-19 08:40:18 +01:00
Oliver Smith
a3b88e2e28
main/pmbootstrap: update to 1.4.0 2019-02-15 16:58:48 +01:00
Oliver Smith
2d638d1a3a
main/xcursorgen: build for all arches again
Fix binary package build error caused by package dmz-cursor-theme with
arch=all depending on xcursorgen.
2019-02-15 10:58:39 +01:00
Luca Weiss
8c2a95dbe2
unity8: initial packaging (!27)
* Mir starts up and is able to display system settings
* x86_64 only for now, because at least ubuntu-app-test did not build
  on aarch64

Based on PureTryOut's work. Getting it to this stage was a huge effort
(as it shows in the package count: 111(!)). See the merge request for
details.

[skip ci]: this won't finish in CI; ollieparanoid made sure that
           everything builds for x86_64.
2019-02-13 21:47:29 +01:00
Daniele Debernardi
7b3702e2dd Add gcc4 and gcc4-armhf packages (!216)
Successfully tested both the gcc4 compiler on x86_64 with a simple
program (fbdebug) and the gcc4-armhf cross-compiler to build a very old
u-boot port for Galaxy Nexus (a MR will follow soon) which failed to
boot with either newer version (6 and 8).

[skip ci]: already went through
2019-02-12 21:03:12 +00:00
Luca Weiss
2f4da158d0
Always quote _commit (!207)
[skip ci]: too many aports changed
2019-02-11 22:03:58 +01:00
Luca Weiss
774046c85b Use _commit consistently, use _commit in sources instead of pkgver (!207) 2019-02-11 22:02:26 +01:00
Bhushan Shah
14c0397f26
plasma-mobile: dump scaling based on font sizes (!204)
PureTryOut said: The situation has improved, that's for sure, but the
scaling still isn't perfect. However, according to bshah, this is how it
should be done, so I'm fine with merging this anyway.
2019-02-11 20:56:58 +01:00
Bart Ribbers
17f88bd2f8 kde/ & main/postmarketos-ui-plasma-mobile: bump pkgrel after Qt upgrade (!202) 2019-02-08 13:48:21 +01:00
Bart Ribbers
a72cf419ad
temp/qt5-*,main/libphonenumber: pkgrel bump to fix ICU soname issue (!200)
Alpine Linux has updated their main/icu to 63.1, which means we have to
rebuild some of our packages too.

[skip ci]: simple pkgrel bumps, building won't finish in CI
2019-02-08 08:31:22 +01:00
Oliver Smith
8e00db7fef
main/uuu: only build for x86_64
Fails to build for armhf with the error below, and doesn't seem to be
tested on anything but x86_64 anyway according to the project's
README.md file. I did not report this upstream, because we are using
the version from Purism's repository that is at 1.2.31. Upstream is
already at 1.2.68, which may have fixed this already. So if somebody
needs to have it working for anything other than x86_64, we should try
the upstream version first.

[ 83%] Creating preprocessed clst file /home/pmos/build/src/mfgtools-uuu_1.2.31/uuu/gen/emmc_burn_all.clst
gen_txt_include.sh: applet not found
make[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:63: uuu/gen/uuu.clst] Error 127
make[2]: *** Waiting for unfinished jobs....
gen_txt_include.sh: applet not found
make[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:68: uuu/gen/emmc_burn_loader.clst] Error 127
gen_txt_include.sh: applet not found
gen_txt_include.shmake[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:73: uuu/gen/emmc_burn_all.clst] Error 127
: applet not found
make[2]: *** [uuu/CMakeFiles/uuu.dir/build.make:93: uuu/gen/sd_burn_all.clst] Error 127
make[1]: *** [CMakeFiles/Makefile2:184: uuu/CMakeFiles/uuu.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 83%] Built target uuc
make: *** [Makefile:130: all] Error 2
2019-02-08 08:28:18 +01:00
Clayton Craft
d873bc0d28
main/uuu: Add Universal Update Utility (!196)
This is a flasher tool used by the Librem5 devkit and most likely other
future NXP-based devices.
2019-02-07 09:10:08 +01:00
Bart Ribbers
fd73c12f8d main/qt5-*: remove as it's now in the Alpine repositories 2019-02-06 12:52:06 +01:00
Zhuowei Zhang
2a4d30e52a
main/postmarketos-mkinitfs: fix USB idVendor/idProduct values for ConfigFS (!190)
ConfigFS expects idVendor and idProduct values to be prefixed with 0x.

Without this change, google-crosshatch shows as a device with 0:0 as the
idVendor/idProduct in lsusb:

Bus 001 Device 004: ID 0000:0000

This confuses VirtualBox: it has trouble detaching this device from
a virtual machine, so one must manually use ifconfig to bring down the
old USB network connection before reattaching.

With this change, the idVendor/idProduct is correct:

Bus 001 Device 004: ID 18d1:d001 Google Inc.

This issue also seems to affect other devices with ConfigFS, such as the
Nexus 5:

https://matrix.to/#/!clcCCNrLZYwdfNqkkR:disroot.org/$15487159511194991apGpy:matrix.org
2019-02-05 10:07:21 +01:00
Grant Miller
6b3b08f08a main/devicepkg-dev: Automatically install initfs-hook.sh (!191) 2019-02-05 09:34:34 +01:00
rahmanshaber
34d157a255 Update APKBUILD - qt5-qtsvg-dev 2019-01-30 11:59:38 +00:00
rahmanshaber
99336d5992 main/qt5ct: new aport (!185)
This program allows users to configure Qt5 settings (theme, font, icons,
etc.) under DE/WM without Qt integration.
2019-01-30 09:07:35 +01:00
Bhushan Shah
5b25a32861
plasma-mobile: launch dbus session before kwin (!183)
Otherwise kwin can't register it's services.
2019-01-30 08:41:51 +01:00
Oliver Smith
4328e5fe2f
devicepkg-dev: opt-out compiler-gcc.h replacing (!186)
Instead of never overwriting compiler-gcc.h if it exists, overwrite it
by default except if OVERWRITE_GCCH=0 is set in the environment.

Most kernels *do* need this file replaced and won't build without this
patch.
2019-01-29 09:44:44 +01:00
Clayton Craft
ff25ad7a0c
main/devicepkg-dev: don't overwrite compiler-gcc.h (!141)
At least one newer kernel already includes the compiler support split
stuff, so don't overwrite it if it already exists.
2019-01-28 20:45:18 +01:00
Clayton Craft
018e28cc66
main/postmarketos-mkinitfs: aarch64 uboot initrd (!141)
Support generating the aarch64 legacy uboot initrd files, not only the
armhf version. Use deviceinfo_arch to choose the right arch.
2019-01-28 20:45:18 +01:00
Attila Szollosi
b24a2a4c96 recovery zip: fix "No OS installed" warning (!169)
Tested on sony-amami with TWRP 3.0.2.
2019-01-28 09:52:02 +01:00
Clayton Craft
db85aebd0f
devicepkg-dev: Properly replace -Werror= (!181)
The 5.0 kernel now includes -Werror= parameters in the makefile, this
changes downstreamkernel_prepare.sh to support them. Without this, the
script will replace, for example, -Werror=blah with =blah, which causes
the kernel compilation to fail.
2019-01-28 08:13:52 +01:00
Bart Ribbers
9c51b26162
main/postmarketos-ui-plasma-mobile: remove elisa from depends (!151)
We had 2 music players included which doesn't make sense, and vvave is
actually made with a focus on mobile.

[skip ci]: do not try to build this merge request, ollieparanoid made
           sure that it builds for x86_64, armhf, aarch64.
2019-01-23 11:02:06 +01:00
Bart Ribbers
879213f02c
kde/frameworks*: update to 5.54.0 (!150)
Tested on Qemu amd64. Everything builds and runs correctly.

[skip ci]: ollieparanoid made sure that this builds for x86_64, armhf
           and aarch64.
2019-01-22 09:07:58 +01:00
Oliver Smith
170c9aaaf1
pmbootstrap: update to 1.3.0 2019-01-22 08:59:47 +01:00
Matthias Berndt
f0f6db1bae
pmos-base: skip failures in devmappings.initd (!164)
Continue even if some kpartx commands fail. This is necessary for the
htc vision and perhaps other devices.
2019-01-22 07:30:44 +01:00
Martijn Braam
99700879f3
main/unixbench: Upgrade to latest git master (!166)
Upgrade unixbench to git master instead of the old git tag I've used.
New version has way better way to check core count on ARM machines.
2019-01-22 06:47:55 +01:00
Luca Weiss
8c1ebc31a8
pine-a64lts: add wifi and bluetooth firmware (!153)
Add firmware-rtl8723bt package and Pine wifi and bluetooth firmware
subpackage.

[skip ci]: ollieparanoid will build this MR manually before merging, it
will probably not finish CI within one hour.
2019-01-20 14:47:59 +01:00
Luca Weiss
4edbac805d
pine-a64lts: update kernel to 4.20.0 (!153) 2019-01-20 14:47:50 +01:00
Martijn Braam
fb436c7b29
main/unixbench: add aport for a benchmarking tool (!145)
Adds an aport for unixbench and a wrapper so it can be started with
ubench without requiring write permissions in /usr. To launch the
benchmark on a phone and have it finish in a reasonable amount of time:

$ ubench dhry whets
Output on an i7-7700HQ in the pmbootstrap chroot:
Dhrystone 2 using register variables      146273178.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    44390.3 MWIPS (9.7 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  146273178.2  12534.1
Double-Precision Whetstone                       55.0      44390.3   8071.0
                                                                   ========
System Benchmarks Index Score (Partial Only)                        10057.9

This is a neat way to get relative performance between devices and
testing performance for upstream/downstream kernels.
2019-01-19 22:12:52 +01:00
Oliver Smith
bccf3d10e2
main/wireguard-postmarketos-stable: fix arch
Change arch line to same as linux-postmarketos-stable (so the current
build scripts won't attempt to build linux-postmarketos-stable for
armv7).
2019-01-18 09:46:38 +01:00
Robert Yang
6178ebda12
mesa-grate: Switch to meson build system (!148) 2019-01-18 07:33:58 +01:00
Oliver Smith
82d9c87d4f
main/telepathy-mission-control: fix armv7 build
Add python2 to makedepends, so it builds in strict mode for armv7.
Otherwise it would fail with:

checking whether /usr/bin/python2 version >= 2.6... configure: error: too old
2019-01-15 09:44:16 +01:00
PureTryOut
0bf985f5e1
main/maui*: update apps and plasma-angelfish (!136)
This MR updates the app to the latest commit (currently from 2 days
ago). It also updates plasma-angelfish, but I changed the $pkgrel to
follow the format of the other Git packages.

This also re-enables plasma-angelfish and vvave in the default Plasma
Mobile installation, as they were previously disabled due to
qt5-qtwebengine (which they depend on) requiring a soname bump
upstream.
2019-01-11 08:17:44 +01:00
Grant Miller
61d42aa1e7 heimdall: Fix APKBUILD and switch to GitLab 2019-01-10 21:30:24 +00:00
Oliver Smith
c43d9f22d3
pmbootstrap: update to 1.2.0 2019-01-10 22:14:59 +01:00
PureTryOut
7f1c8ba865
kde/applications*: update to 18.12.0 [skip ci] (!135)
Add main/qt5-qtspeech, required dependency for kde/kpimtextedit. Disable
check in kde/kimap, as it fails at least with QEMU aarch64.

Change the source url for Sink and Kube to the KDE Download mirror
rather than their GitHub organization (they required rebuilding anyway
due to the applications upgrade).
2019-01-10 09:49:52 +01:00
Grant Miller
a03b21723d Revert "hildon: disable building x86 for all packages" (!131)
This reverts commit d7e1a2fb6e.
2019-01-09 07:14:06 +01:00
Grant Miller
13c73cba5a Revert "main/postmarketos-demos, -ui-weston: disable x86" (!131)
This reverts commit 6e0781b7ab.
2019-01-09 07:14:02 +01:00
Bhushan Shah
9f00f17d94
plasma-mobile: fix booting into black screen (!128)
Switch plasma-mobile to use xdg-shell instead of wl-shell. wl-shell is
deprecated in Qt 5.12 and is breaking plasmashell, it seems.

Related upstream issue:
https://invent.kde.org/kde/plasma-phone-components/issues/2

This introduces another regression that applications don't start
maximized. Will have to solve this issue upstream.

Closes #159
2019-01-04 20:31:06 +01:00
Daniele Debernardi
88abc21167
debug-shell: Skip fbsplash properly (!124)
The show_splash function called by the 20-debug-shell.sh script already
skips fbsplash when the device is configured to not use the framebuffer.
But the variable was not defined in the script. This is solved by
including the /etc/deviceinfo file.

Follow-up to !108, where this change got lost in the rebase.
2019-01-03 09:03:37 +01:00
Oliver Smith
7dfb3b8d2b
main/qt5-*/APKBUILD: use double quotation marks in URL (!119)
Let pmbootstrap properly parse the package URLs, this is required for
the next commit where we start comparing the pkgver of all QT packages
- based on the URL like we do it for the KDE packages.
2018-12-30 20:53:46 +01:00
Luca Weiss
f09c7225dd
telepathy-glib: enable vala bindings (!121)
Needed for the unity8 branch.
2018-12-30 20:00:27 +01:00
Bart Ribbers
232aeaf6f3
main/qt5-qtvirtualkeyboard: fix build, remove patch (!118)
Remove a patch that fixed a compilation error, it is not needed anymore
and does not apply to 5.12.
2018-12-29 17:20:28 +01:00
Bart Ribbers
3072439c23
main/qt5-qtwayland: fix depends, drop patch (!117)
Depend on wayland-dev and remove the LuneOS related patch that does not
apply anymore. We don't ship LuneOS UI anymore (see #49), so there's no
point in carrying around the patch.

This package was broken in the upgrade to Qt 5.12.
2018-12-29 17:10:21 +01:00
Oliver Smith
bcd2b13e5e
QT: upgrade to 5.12.0 [skip ci]
Following today's upgrade in Alpine:
https://github.com/alpinelinux/aports/pull/5830

KDE packages have been bumped as described here:
https://wiki.postmarketos.org/wiki/Repository_maintenance
2018-12-28 17:34:27 +01:00
Oliver Smith
8a05aacfc6
pmbootstrap: update to 1.1.0 2018-12-26 22:20:45 +01:00
Daniele Debernardi
a98b900b65
postmarketos-mkinitfs: skip fbsplash for deviceinfo_no_framebuffer (!108)
Also noticed that the debug-shell hook wasn't sourcing the deviceinfo
and still showing the splashscreen even with
deviceinfo_no_framebuffer="true", now is fixed and tested.

Additionally, fix a typo in the existing
"NOTE: Skipping framebuffer setup..." message.
2018-12-26 20:21:55 +01:00
Robert Yang
6d25c1bef6 postmarketos-base: Add openrc service that creates partition mappings (!115)
When util-linux v2.32 updated v2.33, remounting a partition stopped
working.

  mount -n -o remount,rw /
  mount: /: can't find LABEL="pmOS_root".

This service will add the pmOS rootfs partitions to device mapper so that
the remount root partition will succeed.

Fixes issue #156
2018-12-26 12:08:36 -05:00
Bart Ribbers
bfd3159d3c
kde/framework: upgrade to 5.53.0 (!105)
Tested locally on qemu-amd64, everything appears to work correctly.

[skip ci]
2018-12-22 23:33:44 +01:00
Grant Miller
3fe8d0e053
Use openssl for all kernels (!111)
This is a followup to !109 (merged). Affected packages:
* device/linux-samsung-p4wifi
* device/linux-sony-tulip
* device/linux-teclast-x80pro
* main/linux-postmarketos-allwinner
* main/linux-postmarketos-mainline
* main/linux-postmarketos-qcom
* main/linux-postmarketos-stable

[skip ci] I have confirmed that all 7 kernels still compile.
2018-12-22 23:30:02 +01:00
Grant Miller
a6baf4b732
main/abuild-aarch64-qemu-workaround: Use openssl (!109)
Fix the openssl/libressl conflicts that only appeared on aarch64, see
c83052 ("temp/qemu: disable block-curl module") for example.
2018-12-22 08:55:09 +01:00
Oliver Smith
14d60fe243
main/msm-fb-refresher: update to 0.2
The patch from drebrez has been upstreamed.
2018-12-15 01:48:29 +01:00
Oliver Smith
54f977435d main/abuild-sign-noinclude: new aport (!81)
Builds abuild-sign and abuild-tar.static without any dependencies, so
they can be used outside of an Alpine Linux system. We need this for
build.postmarketos.org.
2018-12-13 09:13:07 +01:00
Daniele Debernardi
e090a0a498
msm-fb-refresher: also do ioctl on errors (!89)
I noticed that some times the framebuffer driver gets configured in a
way that the ioctl performed by msm-fb-refresher returns something lower
than zero:

0ed263db09/drivers/video/fbmem.c (L877-L911)

For example when the Xorg starts I noticed it does a ioctl BLANK and
UNBLANK, but if msm-fb-refresher performs a ioctl in that moment it
stops its loop and exit.

For this reason I lost a lot of time trying to understand what was the
problem with Xorg not displaying anything until I noticed that I had
to restart the msm-fb-refresher.

With this change we don't have to care about msm-fb-refresher as it will
continue call ioctl PAN even if the framebuffer returns some negative
error code.
2018-12-03 23:33:03 +01:00
Oliver Smith
afd26b3b97
Revert "main/gcc6: delete in favor of Alpine's gcc6"
This reverts commit d56a2facfb
and changes the main/gcc6 pkgrel to 9999, so it will always be higher
than Alpine's version.
2018-12-01 11:59:48 +01:00
Oliver Smith
1c0108f836
main/pmbootstrap: update to 1.0.4 2018-12-01 02:54:17 +01:00
Grant Miller
d56a2facfb
main/gcc6: delete in favor of Alpine's gcc6
Alpine Linux ships their own GCC6 package now (side by side with GCC8):
https://git.alpinelinux.org/cgit/aports/commit/?id=f76673fb030820b2053cad7e5b81ece31079d4cc
2018-11-29 09:16:00 +01:00
Oliver Smith
b4e50f18be
postmarketos-ui-weston: remove --pixman-type hack
Do not add --pixman-type to the commandline, when
deviceinfo_weston_pixman_type is filled out.

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

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

We can improve the code and possibly make the rendering mode
configurable per device once we experimented more with:
* llvmpipe vs. softpipe on various devices
* armv7 (around the corner in Alpine)
* a proper display manager like lightdm
2018-11-28 06:31:40 +00:00
Luca Weiss
069a27c331
mkbootimg-osm0sis: update to 2018.10.27 2018-11-27 20:18:58 +01:00
Martijn Braam
18366bb90b
main/postmarketos-splash: add --raw (!75) 2018-11-27 07:50:28 +01:00
Daniele Debernardi
e371209b29
fbdebug: Add options to retrieve the colormap and set the fb mode 2018-11-27 07:47:11 +01:00
Oliver Smith
4468cf9b97
Various N900 improvements, change default i3 terminal to "st" 2018-11-27 07:47:11 +01:00
Oliver Smith
4dbbfbc0ba
main/postmarketos-ui-i3wm: fix lightdm autostart 2018-11-27 07:47:11 +01:00
PureTryOut
eb582ea44e
main/postmarketos-ui*: use lightdm for X11 UIs 2018-11-27 07:47:11 +01:00
Oliver Smith
46aaf093f0
pmos-ui-plasma-mobile: disable angelfish, vvave
Both depend on qt5-qtwebengine, which needs to be rebuilt in Alpine
after the soname bump of libavformat [1]. Disable them for now, so
plasma mobile can still be installed, and the pmbootstrap test case
that installs it runs through again.

[1]: https://github.com/alpinelinux/aports/pull/5586
2018-11-27 07:47:11 +01:00
Robert Yang
ce429a7f80
New aport libvdpau-tegra 2018-11-27 07:47:11 +01:00
Robert Yang
102a2cb2d8
New aport xf86-video-opentegra 2018-11-27 07:47:11 +01:00
Robert Yang
fda3dd366a
mesa-grate: Build mesa from grate driver sources
[skip ci]
2018-11-27 07:47:11 +01:00
Robert Yang
1c75f5080f
New aport mesa-grate
Copied from upstream alpinelinux/aports main/mesa

[skip ci]
2018-11-27 07:47:11 +01:00
Robert Yang
d35de1376d
libdrm-grate: Build libdrm from grate driver sources 2018-11-27 07:47:11 +01:00
Robert Yang
e64b70bd5c
New aport libdrm-grate
Copied from upstream alpinelinux/aports main/libdrm

[skip ci]
2018-11-27 07:47:11 +01:00
Robert Yang
75feba5476
New aport ldpath
Utility to add or remove paths from musl dynamic linker config file
2018-11-27 07:47:11 +01:00
Oliver Smith
9b4a1b0a53
main/kernel-scripts: fix build
Adjust the mime-type that gets used to find executables to
application/x-pie-executable and change the APKBUILD logic to print out
a meaningful error when the executables can not be found.

Also fix the broken patch logic (doesn't display an error anymore).
2018-11-27 07:47:11 +01:00
Oliver Smith
aee2acaeb9
main/kernel-scripts: bump after openssl switch
Alpine switched from libressl to openssl in edge. And we're lucky, this
is the only package that needs to be rebuilt :)
2018-11-27 07:47:11 +01:00
Oliver Smith
82fb0a2d59
pmbootstrap: update to 1.0.3 2018-11-27 07:47:11 +01:00
pinoaffe
0188930f21
main/postmarketos-mkinitfs: iterate over all block devices and partitions in init_functions.sh:mount_subpartitions() 2018-11-27 07:47:11 +01:00
Attila Szöllősi
ea341e8b2f
Autodetect fstab column order and support flashing to e.g. userdata
Before, flashing was just possible to system / external_sd and not to
userdata ("data").
2018-11-27 07:47:11 +01:00
Pierre Parent
5db8fd724c
main/pmos-mkinitfs: wait for rootfs, framebuffer
Fix Nexus 5 (hammerhead) boot and framebuffer issues at startup by
waiting up to 10 seconds until the rootfs and /dev/fb0 have been
found. Waiting for the framebuffer device can be disabled by setting
deviceinfo_no_framebuffer=true in the deviceinfo.
2018-11-27 07:47:11 +01:00
Luca Weiss
ea0040efc1
pmos-android-recovery-install: copy mtk symlinks
Copy Mediatek /emmc@partitionname symlinks to the chroot. This is
needed on Mediatek devices because the fstab file references the
partitions using those symlinks (which the kernel creates - for
whatever reason - in the root directory) and otherwise we don't know
which partition is which.
2018-11-27 07:47:11 +01:00
Bart Ribbers
bd38a672bb
main/pmbootstrap: update to 1.0.2 2018-11-27 07:47:11 +01:00
PureTryOut
2d2e53e95b
maemo/hildon*: update to latest upstream versions 2018-11-27 07:47:11 +01:00
Luca Weiss
98c88bd9f6
Fairphone 1 support 2018-11-27 07:47:11 +01:00
Daniele Debernardi
9249bf2122
Add support to different deviceinfo variables in mainline/downstream subpackages 2018-11-27 07:47:11 +01:00
Robert Yang
da08bebb0b
devicepkg-dev: Make downstreamkernel_prepare callable from any folder
Removes the need to cd $builddir before calling downstreamkernel_prepare
in a kernel APKBUILD prepare function.
2018-11-27 07:47:11 +01:00
PureTryOut
2274c1326d
Remove internal qmltermwidget from index, resolves #111 2018-11-27 07:47:11 +01:00
Luca Weiss
272820674e
Initial audio support on FP2 2018-11-27 07:47:11 +01:00
Daniele Debernardi
632dac179d
chocolate-doom: Remove package 2018-11-27 07:47:11 +01:00
PureTryOut
9e7e7c4bc4
Add some new KDE applications 2018-11-27 07:47:11 +01:00
Bart Ribbers
c62b3642dc
Remove unnecessary source of /etc/deviceinfo 2018-11-27 07:47:11 +01:00
Daniele Debernardi
f1841337e7
apk-file: Remove package 2018-11-27 07:47:11 +01:00
Oliver Smith
ea45d2d4ed
devicepkg-dev: ship compiler-gcc.h for GCC8
We used to put a "compiler-gcc6.h" file inside every vendor kernel's
aport. This is redundant and only works with GCC6. With this patch,
a common "compiler-gcc.h" file will be used, that works independently
of the GCC version.

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

bd0772df21/include/linux/compiler-gcc.h
2018-11-27 07:47:11 +01:00
Pierre Parent
7dca9c4703
Fix hammerhead (Nexus 5) backlight. 2018-11-27 07:47:11 +01:00
Pierre Parent
45d4d7ec58
Remove CONFIG_SERIAL_MSM_CONSOLE from conf to avoid booting loops when no serial cable plugged in.
see https://gitlab.com/postmarketOS/pmaports/issues/105
partial revert of f2a27fc0df
2018-11-27 07:47:11 +01:00
Bart Ribbers
1303b77c08
Bump pkgrel of qt5-qtbase and libphonenumber to resolve soname 2018-11-27 07:47:11 +01:00
Oliver Smith
c2f57b050e
bump pkgrel 2018-11-27 07:47:11 +01:00
Sebastian Fleer
e7f828b07f
networkmanager: use built in dhcp client
Network Manager does not support dhcpcd with IPv6. Fixes issue #45
2018-11-27 07:47:11 +01:00
Daniele Debernardi
084663e6cc
linux-postmarketos-qcom: Enable serial console 2018-11-27 07:47:11 +01:00
Daniele Debernardi
e07a79aa5d
Add initfs hook which causes a kernel panic (useful for debugging) 2018-11-27 07:47:11 +01:00
Oliver Smith
dd17dc5c06
*/gcc6*: properly regenerate aports with aportgen
I did it manually in the previous commit and replaced the wrong for
loop in gcc6-armhf. [skip ci]
2018-11-27 07:47:11 +01:00
Oliver Smith
1b78e64748
*/gcc6*: add symlinks for all binutils [skip ci]
I thought only having specific symlinks was enough, and it was for one
kernel. However, to make sure it works with all kernels, let's just add
symlinks for all the binutils.
2018-11-27 07:47:11 +01:00
Oliver Smith
7e89296ab4
*/gcc6*: bump pkgrel [skip ci] 2018-11-27 07:47:11 +01:00
Oliver Smith
4dbef543cd
*/gcc6*: add objdump symlink [skip ci]
Without this symlink, lots of messages like this one appear while
compiling kernels:

/bin/sh: gcc6-armv6-alpine-linux-muslgnueabihf-objdump: not found
2018-11-27 07:47:11 +01:00
Oliver Smith
7bff136eea
main/gcc6: symlink for objcopy is also required
With this commit, pmbootstrap!1699 and a few changes in a linux aport,
it finally compiled successfully with gcc6 \o/

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

We can probably throw out a lot of patches, and make the APKBUILD much
smaller. But let's focus on making it possible to compile old kernels
again first. There's still a lot to do for that, see #103.
2018-11-27 07:47:11 +01:00
Pierre Parent
290bf810d4
main/qtwebbrowser: new aport (!16) 2018-11-27 07:47:17 +01:00
PureTryOut
81822748af Add pmbootstrap as package 2018-09-22 09:36:36 +00:00
Pierre Parent
87e3d17721
plasma-mobile: much nicer keyboard
Got the info from:
<https://developer.puri.sm/Environments/PlasmaMobile.html>
2018-09-17 07:52:21 +02:00
Martijn Braam
fb23669e29 * Added device package for the pine-a64lts
* Added linux-postmarketos-allwinner kernel
* Added copy of alpines u-boot package with pine-a64lts support
* Changed postmarketos-mkinitfs to add the plain .dtb file to the boot partition
2018-09-16 18:02:06 +02:00
Oliver Smith
d7e1a2fb6e
hildon: disable building x86 for all packages
If hildon-desktop doesn't build, then it doesn't make sense to build
the rest right now - and it's likely that this won't build either.
2018-09-14 09:12:38 +02:00
Oliver Smith
6e0781b7ab
main/postmarketos-demos, -ui-weston: disable x86
Weston does not build for x86, because it depends on libunwind. And
libunwind is not available in Alpine for x86. I've also tried to
simply enable x86 in libunwind, but it does not build out of the box.

In order to start building again for x86 at all, let's disable weston
and all packages that depend on it on for now.
2018-09-14 08:52:36 +02:00
Oliver Smith
ee8481e11d
main/libphonenumber: bump pkgrel (soname bump)
so:libprotobuf.so.15 does not exist anymore in Alpine edge
2018-09-04 09:00:57 +02:00
Oliver Smith
a9bca26633
main/linux-postmarketos-*-dev: fix kernel-scripts
When cross compiling, the kernel scripts would be in the native arch
again. That was already fixed in !1234, however the mime type of the
binaries has changed, so we couldn't detect them properly anymore
(#1659).

This commit fixes it again, and also adds a checks so this won't
silently fail in the future.

[skip ci] because this would not run through anyway (building these
packages takes too long). Fixes #1659.
2018-09-04 09:00:57 +02:00
Oliver Smith
67ecea3e25
main/postmarketos-ui-plasma-mobile: bump pkgrel 2018-09-04 09:00:57 +02:00
Jonah Brüchert
779ac2fd7e
Add aport for angelfish 2018-09-04 09:00:57 +02:00
Krait Bosheit Takoj
175645e74b
Update APKBUILD 2018-09-04 09:00:57 +02:00
C0rn3j
6f4bca13bd
make FDE set_passwd notice more flashy 2018-09-04 09:00:57 +02:00
Oliver Smith
dabc26f1c6 linux-pmos: update stable to 4.18.4, mainline to 4.18
[skip ci]
2018-08-23 03:16:34 +02:00
Oliver Smith
925c79e0bd main/libphonenumber: bump pkgrel (soname bump) 2018-08-17 00:35:41 +02:00
Martin
f508cf14b7 recovery zip: support twrp.fstab filename in addition to recovery.fstab (fix for compatibility with TWRP on sony-yuga) 2018-08-16 21:21:45 +00:00
Oliver Smith
9d9d47f04f main/libphonenumber: pkgrel bump
Rebuild libphonenumber, because a soname it depends upon does not exist
anymore: so:libboost_system-mt.so.1.66.0
2018-08-14 04:30:21 +02:00
Marti Raudsepp
ce5a83b978 Add initramfs error message when charging-sdl fails to run
There are devices where charging-sdl/directfb fails (osk-sdl#77).

It's nicer to give an error message than display "Loading..." forever.
2018-08-14 02:02:13 +00:00
NotKit
c5dc9bdba7 Change default user uid to 10000 2018-08-02 20:10:56 +00:00
Grant Miller
b74bf01597 Detect androidboot.bootchg=true
Observed on Samsung Galaxy S4
2018-07-29 17:54:16 -05:00
joshas
1e498ea62a Copy directfbrc config to initfs-extra image 2018-07-28 15:25:47 +03:00
Oliver Smith
c938899431 main/kernel-scripts,temp/weston: don't build x86
They don't build for x86 (in case of weston, because the dependency
libunwind does not exist for x86).
2018-07-22 23:57:39 +02:00
Oliver Smith
3d6da2e4da s/system partition/rootfs: fix remaining mentions
Follow-up to !1373, where `pmbootstrap flasher flash_system` was
replaced with `pmbootstrap flasher flash_rootfs`. We still had used
terms like "system partition" in a lot of places.

This commit replaces it everywhere, so it's clear that we're talking
about the pmOS rootfs (which may or may not be installed to Android's
system partition).
2018-07-15 23:41:31 +02:00
Oliver Smith
095f076659 Merge branch 'qemu-mouse-fixes' into 'master'
Enable hypervisor guest and vmmouse configs for linux-postmarketos x86_64

See merge request postmarketOS/pmbootstrap!1615
2018-07-08 21:39:20 +00:00
Oliver Smith
046bcb7728 main/linux-postmarketos-stable: pkgrel=1 [skip ci] 2018-07-08 21:31:30 +00:00
Oliver Smith
d48f90785a main/linux-postmarketos-mainline: pkgrel=1 [skip ci] 2018-07-08 21:30:38 +00:00
Oliver Smith
987d9c735d Move aports forked from Alpine to aports/temp
Also remove the py-requests, as the version has been updated in Alpine.

Close: #1603
2018-07-06 22:34:38 +02:00
Oliver Smith
51b3c87423 Use Alpine's QEMU rather than host system QEMU (v2) 2018-07-06 19:50:59 +00:00
Oliver Smith
295c3e092a Revert "Merge branch 'alpine-qemu' into 'master'"
This reverts merge request !1612
2018-07-05 17:25:14 +00:00
Oliver Smith
ab4ff21b1e Merge branch 'alpine-qemu' into 'master'
Use Alpine's QEMU rather than host system QEMU

See merge request postmarketOS/pmbootstrap!1612

See also:
https://wiki.postmarketos.org/wiki/Troubleshooting:QEMU

Closes #1150
Closes #543
2018-07-05 17:09:29 +00:00
ryang
8957ce8c3b linux-postmarketos: Enable hypervisor and vmmouse configs for x86_64
The vmmouse driver makes the guest mouse as smooth as native. It is enabled
when running under a hypervisor such as kvm.
2018-07-04 14:11:47 -04:00
ryang
fb32c684ab linux-postmarketos-stable: regenerate configs for 4.16.0-rc6 2018-07-04 14:11:45 -04:00
ryang
7a06206b24 linux-postmarketos-mainline: regenerate configs for 4.16.2 2018-07-04 14:11:44 -04:00
Daniele Debernardi
758c056002 devicepkg-dev kernel prepare function 2018-07-02 00:12:49 +00:00
ryang
b856667d8f main/qemu: Override the pkver of upstream Alpine Linux. 2018-07-01 19:39:00 -04:00
ryang
a1c77ff5f9 main/qemu: Load modules from QEMU_MODULE_PATH env variable 2018-07-01 19:38:58 -04:00
ryang
1be6257820 main/qemu: enable virglrenderer 2018-07-01 19:38:55 -04:00
ryang
7f40954077 main/qemu: Import qemu aport from upstream Alpine Linux
commit:
https://git.alpinelinux.org/cgit/aports/commit/?id=f2abbe83ab2dcb11c6a60cc57e8afdc8ee812d18
2018-07-01 19:38:53 -04:00
Martijn Braam
9771426a39 Updated references for github to gitlab 2018-06-30 16:08:43 +02:00
Oliver Smith
a31244d28a Remove github.com references
* Travis and Coveralls badges
* aports: instead of <https://github.com/postmarketOS>, use
  <https://postmarketos.org>
* References to full URLs to issues and pull requests replaced with
  a hash and the number
* grsec check: simplify error message, remove link to github issue
  (nobody is using that anymore anyway)
2018-06-30 09:00:48 +02:00
Oliver Smith
9a30d85be0 osk-sdl: Update to 0.52 (#1395)
The code got refactored. Updating the version used in pmbootstrap, so
it does not diverge too much.
2018-06-25 20:59:33 +00:00
Bhushan Shah
0e3f710b86 main/postmarketos-base: Disable randomizing mac address while scanning
While this feature is nifty, it doesn't really work with most mobile
wireless drivers. Wireless drivers decide to go in "weird" state when
the mac address changes at runtime.

I remember talking to someone in IRC about this and getting it disabled.
not sure how this ended up here.

See: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1681513

This option is not working with most of the wireless drivers normally.
For example e.g it doesn't really play nice with one of my laptop's
wireless driver.
2018-06-25 22:53:22 +02:00
Oliver Smith
e91d2f7ba3 Don't run dhcpcd on the raspberry pi (#1580)
Adds deviceinfo_disable_dhcpcd and sets it to true for the pi.

Related: #1547.
2018-06-21 21:10:12 +00:00
Oliver Smith
0921c2eaf1 Fix conflict with mkbootimg and android-tools (#1557)
Alpine ships `mkbootimg` with the `android-tools` package now. This
conflicts with the `mkbootimg` fork from osm0sis (see #441).

Changes:
* Rename `mkbootimg` to `mkbootimg-osm0sis` (aport and binary name)
* `mkbootimg-osm0sis`: provides `mkbootimg` now (so we don't need to
  change all the device aports), update version to 2018.05.10
* Adjust our `mkinitfs` script to call `mkbootimg-osm0sis`
* Better aport description
* pkgrel_bump testcase: don't fail on deleted aport
2018-06-17 21:26:34 +00:00
Bart Ribbers
35be4c17e5 Switch mesa and libdrm back to Alpine's repos (#1560)
Both Mesa and libdrm are now newer in Alpine's repos than in ours,
so we can safely remove these again.
2018-06-13 22:25:48 +00:00
steamport
aff6137268 menuconfig: add gconfig/xconfig support (#1509)
* change "pmbootstrap kconfig_check" to "pmbootstrap kconfig check"
* change "pmbootstrap menuconfig" to "pmbootstrap kconfig edit [-x|-g]"
  (with legacy alias, because the first syntax was referenced to a lot)
* enable X11 interfaces: -x: xconfig, -g: gconfig
* new function to copy the xauthority file:
  pmb.chroot.other.copy_xauthority()
* remove menufconfig() function from the kernel template and all kernel
  aports ([skip ci] because it would rebuild all kernels and run out of
  time). Alpine has dropped this as well, and it wouldn't work with the
  new code anyway.
2018-06-09 06:52:24 +00:00
Oliver Smith
d6b53de2e3 main/qt5-qtwebchannel: remove
This was forked from Alpine, but it's no longer necessary.

Close #1530
2018-06-04 23:03:08 +02:00
Bhushan Shah
0d39be5065 aport/main: Add aport for telepathy-ofono (#1512)
Plasma Mobile uses the telepathy-ofono through telepathy,
telepathy-ofono was developed by canonical for ubuntu touch and it is
also used by dialer-app of ubports.

telepathy-ofono is alternative to telepathy-ring.
2018-06-01 21:19:47 +02:00
Bhushan Shah
ff29f3a7db aports/main: Introduce ofono-qt aport (#1512)
This is basically too old stuff from meego times, and is added only
because telepathy-ofono needs it for now, I will talk with ubports
people to get telepathy-ofono ported to libqofono so we can dump this 6
year old unmaintained library.

(patches to make it build with qt5 and modern compiler are taken from
ubuntu packaging)
2018-06-01 21:19:43 +02:00
Bhushan Shah
215bc53a00 aports/main: Add the aport for telepathy-mission-control-5 (#1512)
This is used by the telepathy-ofono/telepathy-ring to provide the
telepathy account which is in turn used by plasma mobile dialer to do
telephony.
2018-06-01 21:19:39 +02:00
Bhushan Shah
3df962da7a aport/main: Add aport for libphonenumber (#1512)
libphonenumber is used by the telepathy-ofono, it is library by Google
to parse, format and validate international phone number
2018-06-01 21:19:35 +02:00
Mayeul Cantan
71010f6d73 Add charging mode detection for kylevess (#1526)
As documented here:
https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Trend_lite_(s7390g)

This might be set on other devices as well. This patch also bumps
postmarketos-mkinitfs one minor version.
2018-06-01 12:36:05 +02:00
Oliver Smith
cca32f2610 Only use gtk+2.0-maemo for Hildon (#1445) 2018-05-28 22:12:01 +00:00
yangxuan8282
05c583cced add some plugins for postmarketos-ui-xfce4 (#1503)
* add some plugins for postmarketos-ui-xfce4
* make start_xfce4.sh start xfce4 properly and add related dependencies
2018-05-21 17:53:29 +02:00
Bhushan Shah
01af1c2834 main: Add aport for libqofono (#1502)
libqofono provides the Qt/QML bindings for the ofono, and are used by
Plasma Mobile and nemo/sailfishos.
2018-05-18 10:45:55 +05:30
Bhushan Shah
e911489338 main/linux-postmarketos-qcom: Disable the sample qmi and rpmsg clients (#1485)
This was done for testing locally and is not needed for any
functionality, it managed to slip into the initial qcom kernel package,
but it is not needed.
2018-05-16 23:12:56 +02:00
Bhushan Shah
9edb856684 main/linux-postmarketos-qcom: Turn the remoteproc drivers into modules (#1485)
Upstream suggests to keep remoteproc drivers as modules given they
require the firmware files to be present when they are probed, instead
of putting required firmware files in initramfs due to size
restrictions. We make these drivers modules and load them from
userspace.
2018-05-16 23:12:45 +02:00
Daniele Debernardi
d5a12b1f0f [samsung-klte] Add mainline kernel (linux-postmarketos-qcom) (#1479)
Changes:
* device-samsung-klte with both downstream and mainline kernel
  subpackages
* linux-postmarketos-qcom updated to last commit

What works in mainline kernel:
* internal SD card
* volume and home key buttons
* usb network
2018-05-13 19:47:32 +00:00
Oliver Smith
89be40d875 main/weston: disable backend-rdp 2018-05-13 00:23:00 +02:00
Duncan Guthrie
77b61a05ba matchbox: miscellaneous fixes (#1475) 2018-05-10 21:45:25 +00:00
Luca Weiss
b65ae44275 main/weston: add patch for compilation with freerdp 2.0.0-rc2 (#1480) 2018-05-10 19:53:15 +00:00
Oliver Smith
95ba4c51b9 main/weston: fix build
This makes weston build again on x86_64. (It still won't build for
armhf and aarch64, because Alpine's mesa binary package is currently
stuck there, I'll look into that as well.) Detailed fixes:

1. New makedepends needed, because mesa-libwayland-egl does not exist
   anymore (see Alpine's aports commits 257a236 and 4f8b36b):
     wayland-libs-egl wayland-dev
   This fixes configure errors:

checking for EGL_TESTS... no
configure: error: Package requirements (egl glesv2 wayland-client wayland-egl) were not met:

Package 'wayland-client', required by 'virtual:world', not found
Package 'wayland-egl', required by 'virtual:world', not found

2. Disable RDP backend, because Weston source is incompatible with
   freerdp 2.0.0. This avoids compilation errors like this one:

libweston/compositor-rdp.c:193:5: error: 'SURFACE_BITS_COMMAND {aka struct _SURFACE_BITS_COMMAND}' has no member named 'bpp';
2018-05-10 20:42:11 +02:00
Oliver Smith
e96e183cad main/weston: bump pkgrel after soname bump
This doesn't exist anymore: so:libfreerdp.so.1.2
2018-05-10 00:17:11 +02:00
Oliver Smith
2864fa2bbf main/weston: bump pkgrel (soname bump)
This doesn't exist anymore: so:libfreerdp.so.1.2
2018-05-08 23:33:33 +02:00
opendata26
758b05e1f3 main/linux-postmarketos-qcom: update to latest revision (#1472)
* main/linux-postmarketos-qcom: update to latest revision
2018-05-07 00:02:47 +02:00
Martijn Braam
c813b146b6 linux-postmarketos-qcom: Remove composite usb gadget for networking (#1462)
* linux-postmarketos-qcom: Remove composite USB gadget
* linux-postmarketos-qcom: Fix usb networking
- Enable functionfs so we're able to actually configure the USB
  networking
- Enable the USB serial console for convenience, although not enabled by
  default pre-composed configuration
2018-05-06 22:34:17 +02:00
Martijn Braam
c8616eb683 main/postmarketos-artwork-wallpapers: Added the grass wallpapers (#1471) 2018-05-06 14:12:20 +00:00
Daniele Debernardi
38102885f5 [ui-weston] Set postmarketos artwork as default wallpaper (#1466) 2018-05-05 14:27:13 +00:00
Daniele Debernardi
5f2a577cff [ui-mate] Set postmarketOS artwork as default wallpaper (#1452) 2018-05-05 14:04:12 +00:00
Bhushan Shah
302b6f5c29 Use postmarketOS artwork on plasma-mobile (#1464) 2018-05-05 13:51:18 +00:00
Oliver Smith
ca92b35948 Disable LuneOS UI (see #1459) [skip ci]
Moved from aports/main to aports/luna, so we can disable the entire
folder from building in the binary repository:
* qt5-qtwebengine
* postmarketos-ui-luna
2018-05-02 22:38:19 +02:00
Craig Tatlor
9db916caa0 aports/main: linux-postmarketos-qcom: various configuration updates for sirius 2018-05-02 22:53:49 +02:00
Craig Tatlor
ede07e1eea aports/main: linux-postmarketos-qcom: update kernel 2018-05-02 22:53:49 +02:00
Craig Tatlor
0ab0fbe09f aports/main: linux-postmarketos-qcom: remove unused patch 2018-05-02 22:53:49 +02:00
Craig Tatlor
11f99b7d88 aports/main: linux-postmarketos-qcom: generate a dt.img for use with qcdt based devices 2018-05-02 22:53:49 +02:00
Oliver Smith
b73ad9e455 qt5-qtwebchannel: fix dependency
qt5-websockets has been renamed to qt5-qtwebsockets in Alpine.
2018-05-02 20:23:19 +02:00
Oliver Smith
5ff16dfef6 Update QT packages to QT 5.10 [skip ci]
Alpine's QT packages are at 5.10 as well, see #1458.
Building binary packages is going to take some time, I'm on it.
2018-05-02 01:42:24 +02:00
Oliver Smith
f5d5a9be19 msm-fb-refresher: use initfs hook (#1438)
The `msm-fb-refresher` updates the screen for msm based devices. It is
not needed for all devices, so we had some extra code in the initramfs,
that would only add it when the `deviceinfo_msm_refresher` variable was
set. However, we are able now to add files to initramfs hooks, so this
hack can be removed and simplify everything.

Changes:
* Remove `deviceinfo_msm_refresher` from all deviceinfos
* Add sanity check for it
* Move all `deviceinfo` sanity checks to an extra function
* `postmarketos-mkinitfs`: remove code for msm refresher
* `msm-fb-refresher`: add initramfs hook
2018-04-24 21:09:53 +00:00
Sicelo
2f52a22248 Fix issues with lock.sh for i3wm/N900 (#1439) 2018-04-23 21:04:31 +00:00
Oliver Smith
340a17d98f Set all of user's groups in "pmbootstrap install" (#1432)
The postmarketos-base package used to make the user part of the "video"
and "audio" groups. However, this did not work reliably, and we were
adding the "wheel" group in "pmbootstrap install" anyway.

Now all groups get added in "pmbootstrap install", and the names of the
groups have been moved to `pmb.config.install_user_groups`.
2018-04-23 20:52:03 +00:00
Oliver Smith
3bfc752cf3 Remove uboot-tools again (upstream is fixed)
Reverts 83633a9237026a86f34799cca326e14306682b69.
2018-04-21 20:39:25 +02:00
Nikk Saan
1acb17b164 Upgrade linux-pmos-stable to 4.16.2 (#1435)
Fix for n900 audio not working
2018-04-21 16:21:35 +00:00
Bhushan Shah
21469fdb7e Properly style the plasma-mobile
This provides some configuration which provides better plasma mobile
experience in terms of scaling, fonts and theme
2018-04-21 00:37:57 +02:00
Duncan Guthrie
044c496fc5 New UI: matchbox (#1420)
Add matchbox-window-manager, matchbox-desktop, and their associated
dependencies.
2018-04-19 19:01:02 +00:00
Bhushan Shah
3930a95f9b Add newer version of libdrm (2.4.91) 2018-04-19 20:22:09 +02:00
Bhushan Shah
ef66300eee Add the linux-postmarketos-qcom package
This is based on the linux-postmarketos-mainline, uses the fork of
<https://github.com/postmarketOS/linux>
2018-04-19 20:22:09 +02:00
Oliver Smith
e7551a4d33 Temporarily package uboot-tools as workaround
This package is currently broken in Alpine's binary packages for
the testing repository, and their build bot is stuck with another
package. In turn, this makes our package building for the repo get
stuck, as we can't build device-nokia-n900 (and it stops there).

See also: #1408
2018-04-17 17:31:09 +02:00
Bart Ribbers
d372f6f000 Bump pkgrel due to libressl soname upgrade (#1400)
Affected packages:
* qca-qt5
* qt5-qtbase
* libsamsung-ipc
2018-04-09 16:29:57 +00:00
Oliver Smith
a7e49ff158 Remove sdl2 aport again (fix is merged in Alpine) 2018-04-05 00:08:19 +02:00
Michael Hamann
24b2c2f799 Add SDL2 from Alpine Linux, force-enable directFB 2018-04-04 23:30:12 +02:00
Oliver Smith
63f921fbac pmbootstrap init: kernel selection / remove linux-pmos-lts (#1363)
* As discussed in IRC/matrix, we're removing `linux-postmarketos-lts`
  for now. The kernel isn't used right now, and we save lots of
  maintenance effort with not updating it every week or so.
* new config option `"kernel"` with possible values:
  `"downstream", "mainline", "stable"` (downstream is always
  `linux-$devicename`)
* ask for the kernel during `pmbootstrap init` if the device package
  has kernel subpackages and install it in `_install.py`
* postmarketos-mkinitfs: display note instead of exit with error when
  the `deviceinfo_dtb` file is missing (because we expect it to be
  missing for downstream kernels)
* device-sony-amami:
  * add kernel subpackages for downstream, mainline
  * set `deviceinfo_dtb`
* device-qemu-amd64: add kernel subpackages for stable, lts, mainline
* test cases and test data for new functions
* test case that checks all aports for right usage of the feature:
  * don't mix specifying kernels in depends *and* subpackages
  * 1 kernel in depends is maximum
  * kernel subpackages must have a valid name
  * Test if devices packages reference at least one kernel
* Remove `_build_device_depends_note()` which informs the user that
  `--ignore-depends` can be used with device packages to avoid building
  the kernel. The idea was to make the transition easier after a change
  we did months ago, and now the kernel doesn't always get built before
  building the device package so it's not relevant anymore.
* pmb/chroot/other.py:
  * Add autoinstall=True to kernel_flavors_installed(). When the flag
    is set, the function makes sure that at least one kernel for the
    device is installed.
  * Remove kernel_flavor_autodetect() function, wherever it was used,
    it has been replaced with kernel_flavors_installed()[0].
* pmb.helpers.frontend.py: remove code to install at least one kernel,
  kernel_flavors_installed() takes care of that now.
2018-04-03 23:50:09 +00:00
Daniele Debernardi
bfce4aae18 apk-file: Update to version 0.3.0 and new repository (#1382) 2018-04-02 00:02:12 +00:00
Oliver Smith
30076c1acc qt5-qtbase: bump pkgrel because of soname bump
This doesn't exist anymore:
so:libmysqlclient.so.18
2018-04-01 01:38:23 +02:00
Lionel Duboeuf
99c649cb5b re-enable RDP for weston (#1377)
RDP is the Remote Desktop Protocol. Usage information:
https://wiki.postmarketos.org/wiki/Weston
2018-03-30 16:44:40 +00:00
Oliver Smith
f468d3ed7e Disable metadata_csum when generating ext4 rootfs (#1367)
Some downstream kernels don't support this, and this recently became
the default in e2fsprogs.
2018-03-28 18:00:18 +00:00
Daniele Debernardi
5f6afd3b39 Add additional files into initramfs when debug-shell is installed (#1358) 2018-03-26 18:12:58 +00:00
Luca Weiss
dbb9cc144a Kernel updates (#1357)
* linux-postmarketos-mainline 4.16_rc6 [skip ci]
* linux-postmarketos-lts 4.14.29 [skip ci]
* linux-postmarketos-stable 4.15.12 [skip ci]
2018-03-21 21:59:35 +00:00
Luca Weiss
e917f5f013 Kernel updates (#1348)
* linux-postmarketos-stable 4.15.11 [skip ci]
* linux-postmarketos-lts 4.14.28 [skip ci]

NOTE: linux-postmarketos-mainline 4.16_rc6
has a regression, not updated yet (#1352)
2018-03-20 21:02:12 +00:00
Attila Szöllősi
ca5b16d6a4 Fix regex in recovery installer (#1339)
Fixes #1322.
2018-03-17 18:25:39 +00:00
Bhushan Shah
388a1bee06 Export some environment variables when starting plasma (#1341)
This environnment variables provides better integration and themeing to
various components and is inline with what reference Plasma Mobile
images is doing

Signed-off-by: Bhushan Shah <bhush94@gmail.com>
2018-03-16 19:42:48 +00:00
alive4ever
3e198bac24 recovery-installer: include tar inside recovery.zip (#1337)
busybox tar applet is messing with symbolic link extraction. Include GNU
tar binary to handle tarball extraction correctly.
2018-03-15 22:16:50 +00:00
Bhushan Shah
3b01bb6faf Add kwayland-integration to plasma-mobile dep (#1338)
* Add kwayland-integration packaging
* Make postmarketos-ui-plasma-mobile depend on kwayland-integration
2018-03-15 21:40:52 +00:00
Daniele Debernardi
70d797b6bc postmarketos-ui-xfce: Update to 0.2 (#1326)
* Add default icon theme
* Set pmOS wallpaper
* Add battery icon in top panel
* Use builddir (so --src works)
2018-03-12 19:17:36 +00:00
Joey Hewitt
0a2dbea03d i9195/Qualcomm modem support (#1314)
* Qualcomm MSM modem: 'rmtfs' support packages
* qcom_rmtfs: Server that talks to modem over IPC to allow it
  read/write data for its persistent storage. This is needed for it to
  boot, as well as periodically during usage. Added a patch that
  it expects the storage path symlinks in /etc instead of /boot.
* qrtr: IPC library for rmtfs
* libqipcrtr4msmipc: adapter library to make qrtr work on kernels with
  AF_MSM_IPC support. AF_QIPCRTR is the mainline equivalent since Linux
  ~4.7.
* msmipc-dev: Header files for qrtr and libqipcrtr4msmipc.
  Thanks to Bjorn Andersson <https://github.com/andersson> for rmtfs and
  qrtr.
* libsmdpkt_wrapper: adapter lib for QMI clients
  The SMD serial packet driver in Qualcomm kernels has, AFAICT, a bug
  in poll(); this works around it so that qmicli et al can work.
* i9195: firmware (modem only right now)
* add ofono (with patch for MSM devices)
  Based on Alpine's package.
* i9195: add modem support
* move all modem related packages to aports/modem
2018-03-11 15:59:09 +00:00
Luca Weiss
a3a5a35de0 Kernel updates (#1312)
* linux-postmarketos-stable 4.15.8 [skip ci]
* linux-postmarketos-lts 4.14.25 [skip ci]
2018-03-10 15:43:29 +00:00
Luca Weiss
44c74fc28f Kernel updates (#1295) [skip ci]
* linux-postmarketos-mainline 4.16_rc4
* linux-postmarketos-lts 4.14.24
2018-03-06 22:32:56 +00:00
Daniele Debernardi
f614c9df88 Implement charging mode (#1285)
* Add charging-sdl package
* Include charging-sdl into the initramfs-extra
* [initramfs] Detect charging mode and use triggerhappy to start
charging-sdl when the power key is pressed
2018-03-05 22:59:23 +00:00
Daniele Debernardi
19df13804c Remove /etc/network/interfaces and networking service from device packages (#1293)
This is not necessary anymore since there is now NetworkManager.
2018-03-05 21:18:13 +00:00
Oliver Smith
b541254994 linux-postmarketos-mainline: fix weston (x86_64) (#1283)
Since it works for linux-postmarketos-stable, I've simply copied over
the config, and ran "pmbootstrap menuconfig" on it again. Then it
worked again in Qemu.
2018-03-04 11:15:47 +00:00
Martijn Braam
6caeba319e postmarketos-base: Enable NetworkManager by default (#388) 2018-03-04 11:07:21 +00:00
Bart Ribbers
9b18e344dd Add NetworkManager and PulseAudio applets to Plasma (#1040)
* Add NetworkManager and PulseAudio applets to Plasma
* This crashes plasma mobile on armhf (where it is not usable due
  to performance problems anyway), except on mainlined kernels
  with hardware accelerated graphics. This is mentioned in the
  pkgdesc of postmarketos-ui-plasma-mobile now.
2018-03-02 21:07:18 +00:00
Luca Weiss
ef9cd3d784 Kernel updates (#1280)
* linux-postmarketos-stable 4.15.7
* linux-postmarketos-lts 4.14.23
2018-03-01 23:53:19 +00:00
Oliver Smith
c8f54ddcf4 Bump pkgrel of qt5-qtbase and db8
Upstream soname bumps, these don't exist anymore:
* so:libicui18n.so.59
* so:libicuuc.so.59
2018-02-28 21:49:48 +01:00
Bart Ribbers
23b5c7d3a1 Package the Plasma phone dialler (#1270)
* Package everything required for the Plasma dialler

* Improve build scripts

* Bump pkgrel of plasma-phone-components
2018-02-27 21:06:46 +01:00
Oliver Smith
76ed56905a postmarketos-mkinitfs: don't fail without deviceinfo [skip ci] (#1269)
When building device packages, the postmarketos-mkinitfs package gets
installed as dependency of postmarketos-base. It must not try to
create an initramfs at this point, when there is not deviceinfo file.

We build the initramfs during the installation, so it's fine.

Added [skip ci] because linux kernels and KDE updates are currently
getting built for the binary repository (so Travis couldn't finish
anyway).
2018-02-26 23:57:56 +00:00
Luca Weiss
6dd916d6c7 Kernel updates (#1267) [skip ci]
* linux-postmarketos-stable 4.15.6
* linux-postmarketos-lts 4.14.22
* linux-postmarketos-mainline 4.16_rc3
2018-02-26 23:27:28 +00:00
Daniele Debernardi
7cb729cbe3 Include fbdebug tool in debug-shell hook (#1266) 2018-02-26 20:32:01 +00:00
Oliver Smith
e654a995e6 device packages: depend on postmarketos-base (#1258)
* device-*: add postmarketos-base to depends
* aportgen: add postmarketos-base to depends
* Add test case
* postmarketos-base: Don't depend on devicepkg
* msm-fb-refresher: Enable service in post-install
2018-02-25 18:40:54 +00:00
Luca Weiss
c44c78d2de Kernel updates (#1253)
* linux-postmarketos-lts 4.14.21
* linux-postmarketos-stable 4.15.5
2018-02-24 08:34:42 +00:00
Pierre Rudloff
0685ccaee7 gp-peak: Add support for osk-sdl and audio (#1243)
* gp-peak: Add support for osk-sdl
* gp-peak: Move non-kernel files to device-gp-peak
* gp-peak: Add audio support
Manually trigger the udev rules for audio devices and add the default user to the audio group
2018-02-22 23:36:24 +00:00
Mayeul Cantan
e885f6a725 Add a maximum-attention hook to help with debugging boot issues (#1238)
The hook flashes every LED it can find, as well as the vibration motor.
More paths are probably necessary to support more devices and kernels.
2018-02-22 22:10:19 +00:00
Luca Weiss
9660d13ea2 Kernel updates (#1240)
* linux-postmarketos-mainline 4.16-rc2
* linux-postmarketos-stable 4.15.4
* linux-postmarketos-lts 4.14.20
2018-02-21 19:19:37 +00:00
Martijn Braam
64166249da postmarketos-ui-i3wm (#1225)
* Added a ui package for i3wm

* Added n900 specific i3wm config

* Fixed mixed tabs and spaces in i3status.

This is also the first commit made on an n900
running postmarketOS.

* Removed redundant X11

* Use lock.sh to lock the device

* Windows management improvements

* bump pkgver

* Fix device-nokia-n900 checksums

* Fixed path in the i3wm split package
2018-02-20 11:21:03 +01:00
Oliver Smith
a3310dbefc pmbootstrap build --src: override source for any package (#1210)
* New "pmbootstrap build --src=/local/source/path hello-world" syntax
* The local source path gets mounted inside the chroot
* From there, a copy of the source code gets created with rsync (so
  we can write into the source folder if necessary, for better
  compatibility with all kinds of APKBUILDs)
* After the aport gets copied into the chroot before building (as
  usually), we extend the APKBUILD with overrides to make it use
  mountpoint's source instead of downloading the package's source
  from the web as usually
* The package built with the local source gets _pYYYYMMDDHHMMSS
  appended to the pkgver
* linux-postmarketos-mainline: use $builddir, fix patch checksum
2018-02-19 22:04:01 +00:00
Martijn Braam
fa0dae0838 Wireguard for postmarketos-stable (#1231)
* Added modified wireguard APKBUILD from alpine
* Add required kernel options to postmarketos-stable
2018-02-19 16:51:00 +00:00
Pierre Rudloff
eb6ab4c641 gp-peak: display and touch screen (#1226)
Adds a /etc/local.d/ script in order to work around
udev being broken with this kernel.
2018-02-18 01:42:46 +00:00
Oliver Smith
b2495a917b linux-*: Don't depend on postmarketos-mkinitfs
Binary packages are rebuilding. If your kernel is not rebuilt yet, and
you don't want to build it yourself, just checkout the previous
pmbootstrap commit.

This commit also changes the arch from the postmarketOS kernels from
"all" to the ones where we actually have a kernel config.

Fixes #1229.
2018-02-17 18:26:31 +01:00
Oliver Smith
6aba5f73d4 Package kernel-scripts separately (#1234)
We have two methods of cross-compiling:
* native: everything runs with the host architecture, QEMU is not
  involved. This is the fastest, but requires the build system to be
  working with it. We use this for all linux-* packages currently.
* distcc: everything runs through QEMU emulating the target arch,
  *except* for the compiler. This is the most compatible approach
  working with all packages.

When compiling `linux-*` packages natively, kernel scripts needed
during the build process get generated. Some of these are C files that
get compiled as executables. In native mode, these get compied to the
native architecture, in distcc mode to the target architecture.

The problem is, that we need these scripts compiled for the target
architecture in the kernel's dev package in order to compile kernel
modules outside of the kernel's package (e.g. wireguard).

It is not possible to just rewrite this logic to generate target-arch
binaries when running in native mode, because these binaries require
musl-dev, linux-headers and some other packages to be installed for the
target architecture inside the native chroot.

We solve this by introducing a new `kernel-scripts` package. which
contains just the binary scripts. In case the dev package was
cross-compiled, it depends on `kernel-scripts` and symlinks these
binaries. The `kernel-scripts` package always gets compiled in distcc
mode since it does not have a `linux-` prefix.

Fixes #1230.
2018-02-16 22:00:37 +01:00
Oliver Smith
f05438b4e4 Various linux packages: Fix broken dev subpackage (#1228)
Fixes #1227.
This also updates the hash in linux-postmarketos-mainline, because the
hash changed upstream (they updated their git version server-side?).
2018-02-15 00:20:40 +01:00
Lucas Ramage
e5d88d4de7 mkbootimg: replace Python version with osm0sis' C version (#1193)
Closes #441. Adjust bootimg_analyze code:
* Install mkbootimg (which now provides unpackbootimg) instead of
  unpackbootimg. In theory, pmbootstrap should recognize this
  automatically, however right now it does not yet handle this case.
* The file names of the extracted files have changed.
2018-02-11 11:41:41 +00:00
Michael Hamann
99b398a7e5 devicepkg-dev: Generate calibration matrix for libinput (#1205)
* Automatically generate a calibration matrix for libinput
  This takes the calibration matrix for wayland and divides the pixel
  offsets by the device width/height.
* Bump pkgrels of devices using devicepkg-dev
  This causes new packages to be generated, using the new devicepkg-dev
  version.
2018-02-11 10:20:31 +00:00
alive4ever
f870333b99 Add triggerhappy: HID input device handler (#1211)
More information:
<https://wiki.postmarketos.org/wiki/Troubleshooting:HID_buttons>
2018-02-11 10:09:18 +00:00
Pavel Machek
ef60968c20 Update unicsy-demo to 0.4.6 (#1215) 2018-02-09 20:41:15 +00:00
Daniele Debernardi
4c91a72ff1 [fbdebug] Add panning functionality (#1207) 2018-02-06 21:21:25 +00:00