Commit graph

1034 commits

Author SHA1 Message Date
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