Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485334 - =app-emulation/spice-vdagent-0.12.0 - Enable support for systemd logind.
Summary: =app-emulation/spice-vdagent-0.12.0 - Enable support for systemd logind.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on: 451956
Blocks:
  Show dependency tree
 
Reported: 2013-09-18 19:40 UTC by Chris Mayo
Modified: 2015-08-14 05:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to ebuild enabling systemd (spice-vdagent-0.12.1-systemd.patch,500 bytes, patch)
2013-09-18 19:40 UTC, Chris Mayo
Details | Diff
Patch to ebuild enabling systemd (spice-vdagent-0.12.1-systemd.patch,793 bytes, patch)
2013-09-19 18:07 UTC, Chris Mayo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2013-09-18 19:40:02 UTC
Created attachment 358956 [details, diff]
Patch to ebuild enabling systemd

Patch attached that allows me to build spice-vdagent using logind instead of consolekit in the guest OS (and a minor version bump).

N.B. if using startx in the guest, I had to replace /etc/X11/xinit/xserverrc from x11-apps/xinit-1.3.2 with:

https://projects.archlinux.org/svntogit/packages.git/tree/trunk/xserverrc?h=packages/xorg-xinit

X apparently needs to be started on the same tty as login, so that
$ loginctl show-session $XDG_SESSION_ID
 shows Remote=no and Active=yes
https://wiki.archlinux.org/index.php/General_Troubleshooting#Session_permissions
Comment 1 Chris Mayo 2013-09-19 18:07:42 UTC
Created attachment 359044 [details, diff]
Patch to ebuild enabling systemd
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2013-09-23 01:12:10 UTC
Have you submitted these patches upstream? Gentoo really discourages carrying downstream distro patches for features.
Comment 3 Chris Mayo 2013-09-23 18:34:26 UTC
The patch is only against the ebuild, making use of options included in upstream configure file.
Comment 4 Matthias Maier gentoo-dev 2015-08-14 05:25:13 UTC
commit 53097b83636c12033e2eebd7260a8204bda84889
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Fri Aug 14 00:17:55 2015 -0500

    app-emulation/spice-vdagent: version bump to 0.16.0 (bug #554320)
    
    This version bump also addresses
    
     - update dependency on app-emulation/spice-protocol
     - install systemd unit files
     - support for systemd session-info support via systemd use flag, bug #485334
     - remove keepdir /var/run, bug #453042
    
    Gentoo-Bug: 453042
    Gentoo-Bug: 485334
    Gentoo-Bug: 554320
    
    Package-Manager: portage-2.2.20.1