Commit graph

45 commits

Author SHA1 Message Date
Raymond Hackley
c0db634e92
main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749)
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2023-01-06 21:53:28 +01:00
Anjandev Momi
7270f472e3
treewide: fix tabs, final newline, trailing whitespace (MR 3530) 2022-10-16 16:27:22 +02:00
Anri Dellal
3e677782ab
main/postmarketos-ui-weston: hide for downstream kernels (MR 3367)
Weston doesn't have fbdev backend anymore,
so hide it in pmbootstrap init to avoid
confusion.
2022-08-18 12:14:56 +03:00
Newbyte
819620d7aa
main/postmarketos-ui-*: add explicit networkmanager-openrc dependency (MR 3111)
This should be reverted when this Alpine issue has been closed:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/13778

sxmo-common already had this for some reason.

[ci:ignore-count]
[ci:skip-build] Already built successfuly on CI in MR
2022-05-04 17:09:41 +02:00
Clayton Craft
440aa4ede3
main/postmarketos-ui-*: add networkmanager subpackages for wifi, wwan (MR 3110)
the networkmanager package in alpine was refactored and the wifi and
wwan components were split off into separate subpackages. without these,
wifi and wwan networking are broken.

also see: aports 830af82c6c

[ci:ignore-count]
2022-05-04 07:23:03 +02:00
Martijn Braam
a987568e07
main/postmarketos-ui*: add back nmcli and nmtui (MR 3023)
[ci:ignore-count]
2022-03-27 16:15:39 +02:00
Przemysław Romanik
70c8bd9d23
main/postmarketos-ui-weston: change default backend to drm (MR 2950)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/1431
2022-03-03 18:52:24 +01:00
Newbyte
66608e5440
main/postmarketos-ui-weston: drop dependency on weston-backend-fbdev (MR 2941)
The fbdev backend was removed in Weston 10.0.0.

See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/30486
2022-02-17 16:21:02 +01:00
Oliver Smith
3d06bf36dc
main/postmarketos-ui-*: link to UI pkg reference (MR 2683)
Let every postmarketos-ui-* package have a link on top that points to
the new UI package reference. Do not put the link in <>, as it was done
with other references, since there's no benefit to it. It doesn't look
better and it doesn't make it easier to click the link or something, I
just did this initially because I saw it in GPL license headers.

[ci:skip-vercheck] [ci:ignore-count]
2021-11-14 18:30:27 +01:00
Clayton Craft
dfd882c5fa
postmarketos-ui-*: explicitly depend on pmos-base-ui, dnsmasq (MR 2243)
UIs that depend on networkmanager also have an added dependency on
dnsmasq since this was removed from postmarketos-base

[ci:ignore-count] lots of packages, but no code compilation..
2021-06-23 13:00:00 +02:00
Bart Ribbers
7205d9a6e4
main/postmarketos-ui-weston: enable networkmanager by default (MR 2174) 2021-05-24 11:39:08 +02:00
JuniorJPDJ
93174b17dc
main/*: use xwayland instead of xorg-server-xwayland (MR 2041) 2021-03-19 15:31:12 +01:00
Newbyte
7b05eb6fce
main/postmarketos-ui-weston: switch to tinydm (MR 1968)
Tested and works in QEMU.
2021-02-20 16:56:52 -08:00
Bart Ribbers
c759f7168e
main/postmarketos-ui-weston: use _pmb_recommends (MR 1426) 2020-07-20 19:04:37 +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
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
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
Antoine Fontaine
dafe96e37e
main/postmarketos-ui-weston: launch dbus with weston (!1118) 2020-04-11 01:44:18 +02:00
Drew DeVault
729d4f9e7b
main/postmarketos-ui-weston: add htop to depends (!806) 2019-12-11 17:29:18 +01:00
Michael Orishich
77ea310aac
main/postmarketos-ui-weston: fix weston failing to read config (!767) 2019-11-26 18:48:35 +03: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
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
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
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
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
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
Grant Miller
13c73cba5a Revert "main/postmarketos-demos, -ui-weston: disable x86" (!131)
This reverts commit 6e0781b7ab.
2019-01-09 07:14:02 +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
Bart Ribbers
c62b3642dc
Remove unnecessary source of /etc/deviceinfo 2018-11-27 07:47:11 +01: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
NotKit
c5dc9bdba7 Change default user uid to 10000 2018-08-02 20:10:56 +00: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
Daniele Debernardi
38102885f5 [ui-weston] Set postmarketos artwork as default wallpaper (#1466) 2018-05-05 14:27:13 +00:00
clayton craft
fdff56f4ec Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739)
@drebrez deserves much credit for this one for all the testing,
bisecting and for fixing everything. Thank you very much!
---
* devices which need a custom weston.ini ship it with a install_if
  subpackage, so it only gets installed when weston is installed. This
  sounds complicated, but is actually pretty clean in the APKBUILD.
* postmarketos-ui-weston: has a weston.ini.default, which enables
  xwayland and uses fbdev as backend (because that's what most
  devices use!). It defaults to the weston.ini.default if there is no
  weston.ini (as installed by the device package).
* changed spaces to tabs for consistency, general minor refactoring of
  device-APKBUILDs
2017-10-20 00:07:00 +00:00
Oliver Smith
ec65cb9968 Weston: log to syslog instead of /tmp/weston.log (#762)
Placing such files in /tmp/ is an unnecessary attack vector, as
@pavelmachek showed. All udev rules, which mentioned /tmp/weston.log
do not contain any path anymore.

Logs can be read with:
logread -f /var/log/messages | grep weston

See also: <https://wiki.alpinelinux.org/wiki/Syslog>
2017-10-17 20:38:47 +00:00
Oliver Smith
6c07834748 pmbootstrap init: Show pkgdesc for each postmarketos-ui package (#763)
This way we could give the user a rough idea what will be installed,
and also use this to display a short warning about long compile times
(e.g. until the plasma mobile stuff is upstreamed).
2017-10-16 20:01:21 +00:00
Pablo Castellano
114fdc0a68 Close #709: Improve user creation (#725)
* Allow to specify a custom username in "pmbootstrap init"
* Build chroots have "pmos" instead of "user" as username now
* Installation user UID is 1000 now (as in all other Linux distributions)
* Adjust autologins
* postmarketos-base: enable wheel group for sudo, removed previous sudoers file
* Implement safe upgrade path:
We save the version of the work folder format now, in $WORK/version.
When this file does not exist, it defaults to 0.
In case it does not match the currently required version
(pmb.config.work_version), then ask the user if it should
automatically be upgraded.
2017-10-12 20:08:10 +00:00
Luca Weiss
a83aa92d5a Fix weston arguments (#736)
See "man 1 weston". Fixes dc28cbf.
2017-10-10 19:40:20 +00:00
drebrez
d82e8f7199 Fix #199: Run weston with user instead of root (#707) 2017-10-07 16:14:49 +00:00
Oliver Smith
a68b9e0e40 Fix #633: start postmarketos-demos with weston (#648)
* Remove udev trigger/settle, because we start it properly now
* Try for 10 seconds to start postmarketos-demos, wait 0.5s after each try
2017-10-04 15:28:39 +00:00
Pablo Castellano
dbbdf7cfa4 Fix #436: Clean apkbuilds (#692)
* Remove empty build() functions
* Remove obsolete '|| return 1' statements
2017-10-04 15:05:00 +00:00
Oliver Smith
d48f020477 Workaround for #633: increase sleep before pmOS-demos shows up (#638)
A proper fix will be implemented soon, see #633.
2017-09-27 20:48:08 +00:00
clayton craft
c08ac45efd Fix #396: No root autologin except for weston (#407)
This commit disables root autologin for postmarketos-base and enabled
root autologin for postmarketos-ui-weston (since weston-launcher is not
built, weston can only be run by root).
2017-08-18 15:55:30 +00:00
clayton craft
ea6d952978 Fix #288: Checksum *-install scripts in APKBUILDs (#294)
Per the APKBUILD reference, , package *-install scripts should be checksummed to guard against incomplete/corrupt downloads. The postmarketos-base package is one example where this is not being implemented currently.
2017-07-30 13:38:31 +00:00
Oliver Smith
3e140ea690 Close #194: Aports subfolders! See migration guide in the wiki (#227)
Migration guide:
https://github.com/postmarketOS/pmbootstrap/wiki/Migration-to-aports-subfolders
2017-07-28 22:34:40 +00:00