Updated for phosh
This commit is contained in:
parent
32cf9f3e0f
commit
d663432c9b
@ -58,4 +58,15 @@ src_install() {
|
|||||||
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
|
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
|
||||||
mv "${ED}"/usr/share/doc/libfeedback-${SLOT} "${ED}"/usr/share/gtk-doc/html/ || die
|
mv "${ED}"/usr/share/doc/libfeedback-${SLOT} "${ED}"/usr/share/gtk-doc/html/ || die
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
udev_newrules "${S}/debian/feedbackd.udev" 90-feedbackd.rules
|
||||||
|
systemd_newunit "${FILESDIR}"/org.sigxcpu.Feedback.service 'org.sigxcpu.Feedback.service'
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
udev_reload
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
udev_reload
|
||||||
}
|
}
|
3
dev-libs/feedbackd/files/org.sigxcpu.Feedback.service
Normal file
3
dev-libs/feedbackd/files/org.sigxcpu.Feedback.service
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[D-BUS Service]
|
||||||
|
Name=org.sigxcpu.Feedback
|
||||||
|
Exec=@libexecdir@/feedbackd
|
8
gui-wm/phosh/files/osk-wayland
Normal file
8
gui-wm/phosh/files/osk-wayland
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
OSK=/usr/bin/virtboard
|
||||||
|
|
||||||
|
if [ -x /usr/bin/squeekboard ]; then
|
||||||
|
OSK=/usr/bin/squeekboard
|
||||||
|
fi
|
||||||
|
exec $OSK
|
@ -2,10 +2,15 @@
|
|||||||
Description=Phosh, a shell for mobile phones
|
Description=Phosh, a shell for mobile phones
|
||||||
Documentation=https://gitlab.gnome.org/World/Phosh/phosh
|
Documentation=https://gitlab.gnome.org/World/Phosh/phosh
|
||||||
|
|
||||||
# Make sure we are started after logins are permitted.
|
# replaces the getty
|
||||||
After=systemd-user-sessions.service
|
Conflicts=getty@tty1.service
|
||||||
# If Plymouth is used, we want to start when it is on its way out.
|
After=getty@tty1.service
|
||||||
After=plymouth-quit-wait.service
|
|
||||||
|
# Needs all the dependencies of the services it's replacing
|
||||||
|
# (currently getty@tty1.service):
|
||||||
|
After=rc-local.service plymouth-quit-wait.service systemd-user-sessions.service
|
||||||
|
|
||||||
|
OnFailure=getty@tty1.service
|
||||||
|
|
||||||
# D-Bus is necessary for contacting logind. Logind is required.
|
# D-Bus is necessary for contacting logind. Logind is required.
|
||||||
Wants=dbus.socket
|
Wants=dbus.socket
|
||||||
@ -26,7 +31,7 @@ ConditionPathExists=/dev/tty0
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=LANG=C.UTF-8
|
Environment=LANG=C.UTF-8
|
||||||
Environment=XDG_CURRENT_DESKTOP=GNOME:Phosh
|
Environment=XDG_CURRENT_DESKTOP=Phosh:GNOME
|
||||||
Environment=XDG_SESSION_DESKTOP=phosh
|
Environment=XDG_SESSION_DESKTOP=phosh
|
||||||
Environment=XDG_SESSION_TYPE=wayland
|
Environment=XDG_SESSION_TYPE=wayland
|
||||||
ExecStart=/usr/bin/phosh
|
ExecStart=/usr/bin/phosh
|
||||||
|
@ -44,6 +44,7 @@ DEPEND="
|
|||||||
app-misc/geoclue
|
app-misc/geoclue
|
||||||
net-libs/libnma
|
net-libs/libnma
|
||||||
media-sound/callaudiod
|
media-sound/callaudiod
|
||||||
|
media-libs/mesa[zink]
|
||||||
"
|
"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
@ -86,6 +87,7 @@ src_install() {
|
|||||||
newpamd "${FILESDIR}"/pam_phosh 'phosh'
|
newpamd "${FILESDIR}"/pam_phosh 'phosh'
|
||||||
systemd_newunit "${FILESDIR}"/phosh.service 'phosh.service'
|
systemd_newunit "${FILESDIR}"/phosh.service 'phosh.service'
|
||||||
domenu "${FILESDIR}"/sm.puri.OSK0.desktop
|
domenu "${FILESDIR}"/sm.puri.OSK0.desktop
|
||||||
|
dobin "${FILESDIR}"/osk-wayland
|
||||||
|
|
||||||
DOC_CONTENTS="To amend the existing password policy please see the man 5 passwdqc.conf
|
DOC_CONTENTS="To amend the existing password policy please see the man 5 passwdqc.conf
|
||||||
page and then edit the /etc/security/passwdqc.conf file to change enforce=none
|
page and then edit the /etc/security/passwdqc.conf file to change enforce=none
|
||||||
|
Loading…
Reference in New Issue
Block a user