Version bump (bug #376269).
authorTiziano Müller <dev-zero@gentoo.org>
Mon, 25 Jul 2011 09:24:52 +0000 (09:24 +0000)
committerTiziano Müller <dev-zero@gentoo.org>
Mon, 25 Jul 2011 09:24:52 +0000 (09:24 +0000)
Package-Manager: portage-2.1.10.6/cvs/Linux x86_64

app-emulation/spice-vdagent/ChangeLog
app-emulation/spice-vdagent/files/spice-vdagent.initd
app-emulation/spice-vdagent/spice-vdagent-0.8.1.ebuild [new file with mode: 0644]
app-emulation/spice/ChangeLog
app-emulation/spice/spice-0.8.2.ebuild [new file with mode: 0644]

index 93a23bf47bded0020a42a2d9a849f9d31ce3a909..2b03163229a862f8f857c32793958ee8bceeb9fb 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-emulation/spice-vdagent
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-vdagent/ChangeLog,v 1.1 2011/05/11 09:02:31 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-vdagent/ChangeLog,v 1.2 2011/07/25 09:24:52 dev-zero Exp $
+
+*spice-vdagent-0.8.1 (25 Jul 2011)
+
+  25 Jul 2011; Tiziano Müller <dev-zero@gentoo.org>
+  +spice-vdagent-0.8.1.ebuild, files/spice-vdagent.initd:
+  Version bump (bug #376269).
 
 *spice-vdagent-0.8.0 (11 May 2011)
 
index 3d8f71ab00d91213f98c9e5c562e6209dd9f783e..08b685c98251d6eca187d105604cf1e258bbbf51 100644 (file)
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-vdagent/files/spice-vdagent.initd,v 1.1 2011/05/11 09:02:31 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-vdagent/files/spice-vdagent.initd,v 1.2 2011/07/25 09:24:52 dev-zero Exp $
 
 depend() {
     after dbus
@@ -26,6 +26,9 @@ start() {
     fi
     eend 0
 
+    # recreate the directory since /var/run may reside on a ramdisk
+    mkdir -p /var/run/spice-vdagentd
+
     # cleanup stalled socket
     rm -f /var/run/spice-vdagentd/spice-vdagent-sock
 
diff --git a/app-emulation/spice-vdagent/spice-vdagent-0.8.1.ebuild b/app-emulation/spice-vdagent/spice-vdagent-0.8.1.ebuild
new file mode 100644 (file)
index 0000000..84e4fe8
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-vdagent/spice-vdagent-0.8.1.ebuild,v 1.1 2011/07/25 09:24:52 dev-zero Exp $
+
+EAPI=4
+
+inherit linux-info
+
+DESCRIPTION="SPICE VD Linux Guest Agent."
+HOMEPAGE="http://spice-space.org/"
+SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+consolekit"
+
+RDEPEND="x11-libs/libXfixes
+       x11-libs/libXrandr
+       x11-libs/libX11
+       >=app-emulation/spice-protocol-0.8.1
+       consolekit? ( sys-auth/consolekit sys-apps/dbus )"
+DEPEND="dev-util/pkgconfig
+       ${RDEPEND}"
+
+CONFIG_CHECK="INPUT_UINPUT"
+ERROR_INPUT_UINPUT="User level driver support is required to run the spice-vdagent daemon"
+
+src_configure() {
+       econf \
+               --localstatedir=/var \
+               $(use_enable consolekit console-kit)
+}
+
+src_install() {
+       default
+
+       rm -rf "${D}"/etc/{rc,tmpfiles}.d
+
+       keepdir /var/run/spice-vdagentd
+       keepdir /var/log/spice-vdagentd
+
+       newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+       newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+}
+
+pkg_postinst() {
+       elog "Make sure that the User level driver support kernel module 'uinput' is loaded"
+       elog "if built as a module before starting the vdagent daemon."
+}
index 4ef55f178e79b5b251f8b591a338b04e34a5d926..49220f21d1f8b394cd1f4bee362db1bee9626bb2 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-emulation/spice
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/ChangeLog,v 1.12 2011/05/29 11:15:32 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/ChangeLog,v 1.13 2011/07/25 09:21:07 dev-zero Exp $
+
+*spice-0.8.2 (25 Jul 2011)
+
+  25 Jul 2011; Tiziano Müller <dev-zero@gentoo.org> +spice-0.8.2.ebuild:
+  Version bump (bug #376269).
 
   29 May 2011; Christian Faulhammer <fauli@gentoo.org> spice-0.8.1.ebuild:
   add ~x86, bug 368961
diff --git a/app-emulation/spice/spice-0.8.2.ebuild b/app-emulation/spice/spice-0.8.2.ebuild
new file mode 100644 (file)
index 0000000..2d5c817
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/spice-0.8.2.ebuild,v 1.1 2011/07/25 09:21:07 dev-zero Exp $
+
+EAPI=4
+
+DESCRIPTION="SPICE server and client."
+HOMEPAGE="http://spice-space.org/"
+SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+gui sasl static-libs"
+
+RDEPEND=">=app-emulation/spice-protocol-0.1
+       >=x11-libs/pixman-0.17.7
+       media-libs/alsa-lib
+       media-libs/celt:0.5.1
+       dev-libs/openssl
+       >=x11-libs/libXrandr-1.2
+       x11-libs/libX11
+       x11-libs/libXext
+       x11-libs/libXrender
+       x11-libs/libXfixes
+       virtual/jpeg
+       sys-libs/zlib
+       gui? ( =dev-games/cegui-0.6* )
+       sasl? ( dev-libs/cyrus-sasl )"
+DEPEND="dev-util/pkgconfig
+       ${RDEPEND}"
+
+# maintainer notes:
+# * opengl support is currently broken
+# * add slirp for tunnel-support
+# * add libcacard for smartcard support
+
+src_configure() {
+       local myconf=""
+       use gui && myconf+="--enable-gui "
+       econf ${myconf} \
+               $(use_enable static-libs static) \
+               $(use_with sasl)
+}
+
+src_install() {
+       default
+       use static-libs || rm "${D}"/usr/lib*/*.la
+}