Closed neochapay closed 1 year ago
Which services? All of them?
jmlich@manajro-virt:~/workspace/nemo-packaging (master *%=)$ git grep ".wants"|grep "ln -s"
buteo-syncfw/PKGBUILD: ln -s ../msyncd.service ${pkgdir}/usr/lib/systemd/user/graphical-session.target.wants/
commhistory-daemon/PKGBUILD: ln -s ../commhistoryd.service ${pkgdir}/usr/lib/systemd/user/graphical-session.target.wants/
contactsd/PKGBUILD: ln -s ../contactsd.service ${pkgdir}/usr/lib/systemd/user/graphical-session-pre.target.wants
glacier-dialer-git/PKGBUILD: ln -s ../voicecall-ui-prestart.service ${pkgdir}/usr/lib/systemd/user/graphical-session.target.wants/
maliit-nemo-keyboard-git/PKGBUILD: ln -s ../nemo-keyboard.service $pkgdir/usr/lib/systemd/user/graphical-session.target.wants/
nemo-qml-plugin-devicelock/PKGBUILD: ln -s ../nemo-devicelock.service ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants/
nemo-qml-plugin-devicelock/PKGBUILD: ln -s ../nemo-devicelock.socket ${pkgdir}/usr/lib/systemd/system/multi-user.target.wants/
ngfd/PKGBUILD: ln -s ../ngfd.service ${pkgdir}/usr/lib/systemd/user/graphical-session.target.wants
ohm/PKGBUILD: ln -s ../ohmd.service $pkgdir/usr/lib/systemd/system/basic.target.wants/
qmf-qt5/PKGBUILD: ln -s ../messageserver5.service ${pkgdir}/usr/lib/systemd/user/graphical-session.target.wants/
qmf-qt5/PKGBUILD: ln -s ../messageserver5-accounts-check.service ${pkgdir}/usr/lib/systemd/user/graphical-session.target.wants/
sensorfw/PKGBUILD: ln -s ../sensorfwd.service $pkgdir/usr/lib/systemd/system/graphical.target.wants
telepathy-mission-control/PKGBUILD: ln -s ../mission-control-5.service $pkgdir/usr/lib/systemd/user/user-session.target.wants/mission-control-5.service
timed/PKGBUILD: ln -s ../timed-qt5.service ${pkgdir}/usr/lib/systemd/user/graphical-session.target.wants/
usb-moded/PKGBUILD: ln -s ../usb-moded.service $pkgdir/usr/lib/systemd/system/basic.target.wants/
voicecall/PKGBUILD: ln -s ../voicecall-manager.service ${pkgdir}/usr/lib/systemd/user/graphical-session.target.wants/
all
I think, that it is not possible in arm-profiles/services without changes in manjaro-arm-tools.
The manjaro-arm-tools does only systemctl enable $service
. See https://gitlab.manjaro.org/manjaro-arm/applications/manjaro-arm-tools/-/blob/master/lib/functions.sh#L375
Most of those services needs systemctl enable --user $service
which needs probably dbus and others.. I can probably change it to make symlinks same as in PKGBUILDs. It can be the same as lomiri, but it looks ugly to me. See https://gitlab.manjaro.org/manjaro-arm/applications/manjaro-arm-tools/-/blob/master/lib/functions.sh#L486
I would prefer to define that part in arm-profiles and other part in manjaro-arm-tools.
I think we can add those symlinks to nemo-device-* packages without change of manjaro-arm-tools.
I am not convinced that removing of those files from PKBUILD to arm-profiles is good idea. Systemd presets might solve the problem in cleaner way.
It could be done probably using presets https://www.freedesktop.org/software/systemd/man/systemd.preset.html
Services must be enabled into https://github.com/manjaro-pinephone/arm-profiles/blob/master/services/nemomobile not into PKGBUILD