Commit Graph
3332 Commits
Author SHA1 Message Date
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 e1a3324e5a hybris: remove
Libhybris is failing to build for armhf too. Instead of adding !armhf
everywhere, let's just remove it: as it became clear in #703, nobody is
willing to put in the effort to maintain this properly.

If you would like to continue with libhybris on postmarketOS, please
create your own aports repository and put the aports there.

Related: https://wiki.postmarketos.org/wiki/Hybris
Closes: #703, #700, #678
2020-08-03 10:16:10 +02:00
Oliver Smith 124f740af8 xiaomi-santoni: remove hybris 2020-08-03 10:11:34 +02:00
Oliver Smith 2455a3bb21 planet-geminipda: remove hybris 2020-08-03 10:11:29 +02:00
Mark Hargreaves df1e368e8c samsung-klte: disable downstream libhybris subpackages (MR 1469)
[ci:skip-build]: build in CI is currently failing with 'BAD signature'
errors; probably caused by outdated Alpine packages in the dl-cdn
mirror, related to the musl-1.2 rebuild in Alpine edge.
2020-08-03 09:23:05 +02:00
Bart Ribbers 8c59659937 temp/plasma-phone-components: upgrade to 5.19.4_git20200728
Note that this doesn't actually increase the version of the source
files, it's just a bump to be newer than the Alpine packages again
2020-08-02 18:44:55 +02:00
Bart Ribbers e65dec50cc temp/plasma-nano: upgrade to 5.19.4_git20200728
Note that this doesn't actually increase the version of the source
files, it's just a bump to be newer than the Alpine packages again
2020-08-02 18:44:07 +02:00
Danct12 76cade06e1 device-pine64-pinephone: make the proximity sensor usable within iio-sensor-proxy (MR 1416)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-07-31 18:03:12 +02:00
Amy Grace 72f7f69b2e motorola-channel: fix touchscreen (MR 1460) 2020-07-31 18:00:15 +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
Oliver Smith 983bc8318b temp/mesa-git: apply more patches to build on 32-bit arm
Apply the rest of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4279
to fix the build for real. I've verified that this builds for armv7 on
edge.
2020-07-30 12:55:01 +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 a48995c877 hybris: disable libhybris for armv7
It is getting stuck during compile, disable on armv7 for now and also
all packages that depend on it.

Related: https://builds.sr.ht/~postmarketos/job/267225#task-pmbootstrap_build-780
2020-07-29 15:32:53 +02:00
Oliver Smith cb22119c3d temp/mesa-git: apply patch to build on 32-bit arm
Taken from upstream. Our mesa-git is pretty outdated, we should update
it soon. But we need to unblock the repository first, so this is the
fastest way for now.
2020-07-29 13:30:10 +02:00
Oliver Smith 1915c4ecb3 cross/*: limit arches to x86_64 where makes sense
Run "pmbootstrap aportgen" on these packages with pmbootstrap!1965 and
pmbootstrap!1963 applied. [ci:skip-build], [ci:skip-vercheck]
2020-07-29 12:58:13 +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
Oliver Smith 203becec0b temp/evtest: fork from Alpine
Add patch to fix build for armv7, armhf. That patched version is being
upstreamed to Alpine. Fork it now, so our builds are not blocked.

Related: builds.postmarketos.org#72
2020-07-29 11:39:15 +02:00
Federico Amedeo Izzo 4a0b0e7b18 samsung-serranovelte: fix Phosh scaling (MR 1407)
[ci:skip-build]: already built successfully in CI
2020-07-28 15:34:03 +02:00
Federico Amedeo Izzo 57b59eafb6 samsung-a3ulte: Fix Phosh scaling, make ui elements bigger (MR 1407) 2020-07-28 15:33:08 +02:00
Danct12 0a99b6c27d linux-xiaomi-lavender: unbreak libinput (MR 1444)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-07-28 13:51:52 +02:00
Danct12 13b4e78338 console/*: drop
We already have fbkeyboard, which seems to look and works better
than this.

Signed-off-by: Danct12 <danct12@disroot.org>
2020-07-28 18:36:44 +07: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 7f159956f4 cross/busybox-static-*: upgrade to 1.32.0-r1 2020-07-28 13:09:53 +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 SmithandMartijn Braam 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
Dahrkael 33ab18c54b vernee-k506: new device (MR 1439) 2020-07-24 13:49:41 +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
Clayton Craft 25f3534d9b linux-purism-librem5: upgrade to 5.7.9+librem5.1 (MR 1447)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/70f4e814deda6c822420f1718d929592a10c00f7
2020-07-24 13:37:15 +02:00
Oliver Smith 3a8cddc219 cross/busybox-static-arm{hf,v7}: update checksums
The packages were rebuilt in Alpine, so update the checksums. Also
point to a deterministic mirror URL instead of CDN, so it won't randomly
fail depending on which (possibly outdated) mirror CDN gives.

Related: pmbootstrap!1963
2020-07-22 15:59:21 +02:00
Oliver Smith 4ccfe92e59 cross/musl-*: upgrade to 1.2.0
Related: https://postmarketos.org/blog/2020/07/21/breaking-update-in-edge/
2020-07-22 13:13:55 +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 802add79d4 pine64-pinephone: use PMOS_FORCE_PARTITION_RESIZE (MR 1428)
Automatically resize the root partition, if it is followed by
unallocated space.
2020-07-21 22:53:03 +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
Nikita Travkin dea5488d93 samsung-a3lte: new device (Samsung Galaxy A3 - SM-A300F) (MR 1433)
SM-A300F is pretty much identical to SM-A300FU (note the U),
but it needs different firmware for some reason.
2020-07-21 21:31:54 +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
Daniele Debernardi 8819a30f05 device-samsung-i927: install xf86-video-opentegra for x11 (MR 911) 2020-07-20 21:27:27 +02:00