Commit graph

3310 commits

Author SHA1 Message Date
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 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
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:
70f4e814de
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
Daniele Debernardi
2ce3dfed34
device-samsung-p4wifi: install xf86-video-opentegra for x11 (MR 911) 2020-07-20 21:27:27 +02:00
Daniele Debernardi
8a5f29913e
device-ouya-ouya: install xf86-video-opentegra for x11 (MR 911) 2020-07-20 21:27:22 +02:00
Oliver Smith
c19d5dfc26
pine64-pinephone: fix setup-modem.initd (MR 1427)
The OpenRC service failed with the following error, as shown on serial:
	command_background option used but no pidfile specified
2020-07-20 20:17:59 +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
aca8b8551e
samsung-skomer: new device (Samsung Galaxy Xcover 2) (MR 1424)
Move kwin.sh to extra subpackage in samsung-golden.
2020-07-20 18:44:39 +02:00
Minecrell
ab02b3416e
firmware/firmware-samsung-u8500: rename from firmware-samsung-golden (MR 1424)
samsung-skomer basically uses the same BCM4334 WiFi/BT chip as
samsung-golden, and the WiFi/BT firmware is also the same.

There seems to be a slightly different NVRAM file, so we package
that just to do things properly.
2020-07-20 18:44:38 +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
Oliver Smith
2a1fa1cf20
pmaports.cfg: require pmbootstrap 1.22.0
Require new version, which supports _pmb_recommends.

Related: pmbootstrap#1933
2020-07-20 14:56:49 +02:00
Luca Weiss
9a878ee7ee temp/u-boot-pinephone: apply patch for 3GB RAM support (MR 1420) 2020-07-18 21:59:13 +02:00
Martijn Braam
957dc9356a
pine64-pinephone: add multiple dtbs (MR 1163) 2020-07-16 23:16:17 +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
Bart Ribbers
dff419cf10
pine64-pinephone: setup modem to wake device (MR 1163) 2020-07-16 23:14:54 +02:00
Bart Ribbers
a1aae9ff47
temp/u-boot-pinephone: add crust firmware (MR 1163) 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
Oliver Smith
7381619a40
cross/gcc-*: upgrade to 9.3.0-r4 2020-07-14 18:06:49 +02:00