debian/0000755000000000000000000000000012153275160007170 5ustar debian/rules0000755000000000000000000000063112153275063010252 0ustar #!/usr/bin/make -f # -*- makefile -*- # debian/rules for spice-vdagent # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 override_dh_auto_install: $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp override_dh_auto_configure: autoreconf -fi ./configure --prefix=/usr\ --sysconfdir=/etc \ --localstatedir=/var \ --with-session-info=systemd %: dh $@ debian/control0000644000000000000000000000254712153275163010606 0ustar Source: spice-vdagent Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Liang Guo Build-Depends: debhelper (>= 7.0.50~), pkg-config, libspice-protocol-dev (>= 0.12.5), libdbus-1-dev, libx11-dev, libxrandr-dev, libxfixes-dev, desktop-file-utils, libsystemd-login-dev (>= 42), libxinerama-dev, libpciaccess-dev, autoconf, automake, libglib2.0-dev (>= 2.12), Standards-Version: 3.9.4 Section: x11 Homepage: http://www.spice-space.org/ Vcs-Git: git://git.debian.org/collab-maint/spice-vdagent.git Vcs-Browser: http://git.debian.org/?p=collab-maint/spice-vdagent.git;a=summary Package: spice-vdagent Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Spice agent for Linux spice-vdagent is the spice agent for Linux, it is used in conjunction with spice-compitable hypervisor, its feature includs: \* Client mouse mode (no need to grab mouse by client, no mouse lag) this is handled by the daemon by feeding mouse events into the kernel via uinput. This will only work if the active X-session is running a spice-vdagent process so that its resolution can be determined. \* Automatic adjustment of the X-session resolution to the client resolution \* Support of copy and paste (text and images) between the active X-session and the client debian/spice-vdagent.install0000644000000000000000000000014512151131626013305 0ustar usr/bin usr/sbin usr/share etc/xdg/autostart/spice-vdagent.desktop etc/rsyslog.d/spice-vdagentd.conf debian/source/0000755000000000000000000000000012151131626010464 5ustar debian/source/options0000644000000000000000000000012712151131626012102 0ustar diff-ignore = Makefile.in|aclocal.m4|compile|configure|depcomp|missing|.git|.gitignore debian/source/format0000644000000000000000000000001412114627517011702 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000317712153275150011051 0ustar spice-vdagent (0.14.0-1ubuntu1) saucy; urgency=low * Merge with Debian unstable. Remaining Ubuntu changes: - Add libsystemd-login-dev build dep. - debian/rules: Use logind instead of ConsoleKit. -- Martin Pitt Tue, 04 Jun 2013 07:25:28 +0200 spice-vdagent (0.14.0-1) unstable; urgency=low * New upstream release * debian/control: - Update my email address - Depends on libspice-protocol-dev (>= 0.12.5) - Depends on libglib2.0-dev (>= 2.12) - Depends on autoconf, automake * debian/source/options: - Ignore autoreconf generated files * debian/rules: - Call autoreconf before run configure script * Refresh fix-typo-in-vdagentd-c.patch * Add fix-spelling-error-in-manpage.patch * Refresh debian/copyright * Remove debian/spice-vdagent.1 and debian/spice-vdagentd.8, upstream ships manpages * spice-vdagent.install: - Remove var/log/spice-vdagentd - Add etc/rsyslog.d/spice-vdagentd.conf * Bump Standards-Version to 3.9.4(no change required) -- Liang Guo Fri, 12 Apr 2013 23:32:00 +0800 spice-vdagent (0.10.1-1) unstable; urgency=low * New upstream release. * debian/copyright: - Update copyright information. * debian/control: - Add libpciaccess-dev and libxinerama-dev to Build-Depends. - Bump Standards-Version to 3.9.3. * debian/rules: - Compile with console kit -- Liang Guo Fri, 06 Apr 2012 14:03:30 +0800 spice-vdagent (0.8.1-1) unstable; urgency=low * Initial release (Closes: #605966) -- Liang Guo Sun, 21 Aug 2011 15:19:00 +0800 debian/spice-vdagent.init0000644000000000000000000000463112114627517012616 0ustar #!/bin/sh # # spice-vdagent Agent daemon for Spice guests # # chkconfig: 345 70 30 # description: Together with a per X-session agent process the spice agent \ # daemon enhances the spice guest user experience with client \ # mouse mode, guest <-> client copy and paste support and more. ### BEGIN INIT INFO # Provides: spice-vdagent # Required-Start: $local_fs $remote_fs # Required-Stop: $local_fs $remote_fs # Should-Start: dbus # Should-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Agent daemon for Spice guests # Description: Together with a per X-session agent process the spice agent # daemon enhances the spice guest user experience with client # mouse mode, guest <-> client copy and paste support and more. ### END INIT INFO exec="/usr/sbin/spice-vdagentd" prog="spice-vdagentd" pidfile="/var/run/spice-vdagentd/spice-vdagentd.pid" port="/dev/virtio-ports/com.redhat.spice.0" [ -e /etc/default/$prog ] && . /etc/default/$prog [ ! -d /var/run/spice-vdagentd ] && mkdir -p /var/run/spice-vdagentd . /lib/lsb/init-functions lockfile=/var/lock/$prog start() { [ -x $exec ] || exit 5 [ -c $port ] || exit 0 modprobe uinput > /dev/null 2>&1 # In case the previous running vdagentd crashed rm -f /var/run/spice-vdagentd/spice-vdagent-sock log_daemon_msg "Starting Agent daemon for Spice guests" "spice-vdagent" if start-stop-daemon --start --quiet --oknodo --pidfile $pidfile --exec $exec -- ; then log_end_msg 0 else log_end_msg 1 fi } stop() { log_daemon_msg "Stopping Agent daemon for Spice guests" "spice-vdagent" if start-stop-daemon --stop --quiet --oknodo --pidfile $pidfile; then log_end_msg 0 else log_end_msg 1 fi } restart() { stop start } reload() { restart } force_reload() { restart } status() { status_of_proc -p $pidfile $exec $prog && exit 0 || exit $? } case "$1" in start) $1 ;; stop) $1 ;; restart) $1 ;; reload) $1 ;; force-reload) force_reload ;; status) status ;; condrestart|try-restart) status || exit 0 restart ;; *) echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}" exit 2 esac exit $? debian/watch0000644000000000000000000000012412114627517010222 0ustar version=3 http://www.spice-space.org/download/releases/spice-vdagent-(.*)\.tar\.bz2 debian/copyright0000644000000000000000000000211712151131626011120 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174 Upstream-Name: spice-vdagent Source: http://www.spice-space.org/ Files: * Copyright: Copyright 2010-2013 Red Hat, Inc. License: GPL-3+ Files: debian/* Copyright: Copyright (C) 2010-2013 Liang Guo License: GPL-3+ License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/docs0000644000000000000000000000001412114627517010042 0ustar README TODO debian/compat0000644000000000000000000000000212114627517010372 0ustar 7 debian/patches/0000755000000000000000000000000012151134142010607 5ustar debian/patches/fix-typo-in-vdagentd-c.patch0000644000000000000000000000144712151131626016037 0ustar Fix typo --- a/src/vdagentd.c +++ b/src/vdagentd.c @@ -185,7 +185,7 @@ if (!active_session_conn) { syslog(LOG_WARNING, - "Could not find an agent connnection belonging to the " + "Could not find an agent connection belonging to the " "active session, ignoring client clipboard request"); return; } @@ -255,7 +255,7 @@ VDAgentFileXferStartMessage *s = (VDAgentFileXferStartMessage *)data; if (!active_session_conn) { cancel_file_xfer(vport, - "Could not find an agent connnection belonging to the " + "Could not find an agent connection belonging to the " "active session, cancelling client file-xfer request %u", s->id); return; debian/patches/series0000644000000000000000000000010112151133567012026 0ustar fix-typo-in-vdagentd-c.patch fix-spelling-error-in-manpage.patch debian/patches/fix-spelling-error-in-manpage.patch0000644000000000000000000000141012151134142017366 0ustar Fix typo--- a/data/spice-vdagent.1.in +++ b/data/spice-vdagent.1.in @@ -21,7 +21,7 @@ Support of copy and paste (text and images) between the active X11 session and the client, this supports both the primary selection and the clipboard .P -Support for transfering files from the client to the agent +Support for transferring files from the client to the agent .SH OPTIONS .TP \fB-h\fP --- a/data/spice-vdagentd.1.in +++ b/data/spice-vdagentd.1.in @@ -20,7 +20,7 @@ Support of copy and paste (text and images) between the active X11 session and the client, this supports both the primary selection and the clipboard .P -Support for transfering files from the client to the agent +Support for transferring files from the client to the agent .SH OPTIONS .TP \fB-h\fP