[packages/spice-gtk] - updated to 0.30 - added codegen patch (don't require sources of codegen library)

qboosh qboosh at pld-linux.org
Fri Oct 2 21:43:19 CEST 2015


commit fc53070c0418f421d7e19b595e52368721330927
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Oct 2 21:44:16 2015 +0200

    - updated to 0.30
    - added codegen patch (don't require sources of codegen library)

 spice-gtk-codegen.patch | 15 +++++++++++++++
 spice-gtk.spec          | 31 ++++++++++++++++++++++---------
 2 files changed, 37 insertions(+), 9 deletions(-)
---
diff --git a/spice-gtk.spec b/spice-gtk.spec
index aa898f0..a9d927e 100644
--- a/spice-gtk.spec
+++ b/spice-gtk.spec
@@ -9,17 +9,18 @@
 Summary:	A GTK+ client and libraries for SPICE remote desktop servers
 Summary(pl.UTF-8):	Klient i biblioteki GTK+ dla serwerów zdalnych pulpitów SPICE
 Name:		spice-gtk
-Version:	0.29
+Version:	0.30
 Release:	1
 License:	LGPL v2.1+
 Group:		X11/Applications
 Source0:	http://www.spice-space.org/download/gtk/%{name}-%{version}.tar.bz2
-# Source0-md5:	f84b8fd6a5e926dce07ec5ebb5f0caf3
+# Source0-md5:	723e0e9ce9d507ba5d6cd331a3a9b7fb
 Patch0:		%{name}-builddir.patch
 Patch1:		%{name}-am.patch
+Patch2:		%{name}-codegen.patch
 URL:		http://spice-space.org/
-BuildRequires:	autoconf >= 2.57
-BuildRequires:	automake >= 1.6
+BuildRequires:	autoconf >= 2.63
+BuildRequires:	automake >= 1:1.11
 BuildRequires:	cairo-devel >= 1.2.0
 BuildRequires:	celt051-devel >= 0.5.1.1
 BuildRequires:	cyrus-sasl-devel >= 2.0
@@ -46,7 +47,8 @@ BuildRequires:	pixman-devel >= 0.17.7
 BuildRequires:	pkgconfig
 BuildRequires:	pulseaudio-devel
 BuildRequires:	sed >= 4.0
-BuildRequires:	spice-protocol >= 0.10.1
+BuildRequires:	spice-protocol >= 0.12.10
+BuildRequires:	spice-protocol-codegen >= 0.12.10
 BuildRequires:	xorg-lib-libX11-devel
 BuildRequires:	xorg-lib-libXrandr-devel
 BuildRequires:	zlib-devel
@@ -142,7 +144,7 @@ Requires:	openssl-devel
 Requires:	pixman-devel >= 0.17.7
 Requires:	pulseaudio-devel
 Requires:	spice-glib = %{version}-%{release}
-Requires:	spice-protocol >= 0.10.1
+Requires:	spice-protocol >= 0.12.10
 %if %{with usbredir}
 Requires:	libusb-devel >= 1.0.16
 Requires:	usbredir-devel >= 0.5.2
@@ -234,7 +236,7 @@ Pythonowy interfejs do biblioteki klienckiej SPICE GTK.
 Summary:	Vala API for SPICE client library
 Summary(pl.UTF-8):	Interfejs języka Vala do biblioteki klienckiej SPICE
 Group:		Development/Libraries
-Requires:	spice-protocol >= 0.10.1
+Requires:	spice-protocol >= 0.12.10
 Requires:	vala >= 2:0.14
 
 %description -n vala-spice-protocol
@@ -247,6 +249,7 @@ Interfejs języka Vala do biblioteki klienckiej SPICE.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 mkdir %{?with_gtk2:gtk2} %{?with_gtk3:gtk3}
 
@@ -257,6 +260,12 @@ mkdir %{?with_gtk2:gtk2} %{?with_gtk3:gtk3}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+cd spice-common
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+cd ..
 
 %if %{with gtk2}
 cd gtk2
@@ -267,7 +276,9 @@ cd gtk2
 	%{?with_static_libs:--enable-static} \
 	%{!?with_usbredir:--disable-usbredir} \
 	--with-gtk=2.0 \
-	--with-html-dir=%{_gtkdocdir}
+	--with-html-dir=%{_gtkdocdir} \
+	--with-pnp-ids-path=/lib/hwdata/pnp.ids \
+	--with-usb-ids-path=/lib/hwdata/usb.ids
 %{__make}
 cd ..
 %endif
@@ -282,7 +293,9 @@ cd gtk3
 	%{?with_static_libs:--enable-static} \
 	%{!?with_usbredir:--disable-usbredir} \
 	--with-gtk=3.0 \
-	--with-html-dir=%{_gtkdocdir}
+	--with-html-dir=%{_gtkdocdir} \
+	--with-pnp-ids-path=/lib/hwdata/pnp.ids \
+	--with-usb-ids-path=/lib/hwdata/usb.ids
 %{__make}
 %endif
 
diff --git a/spice-gtk-codegen.patch b/spice-gtk-codegen.patch
new file mode 100644
index 0000000..18a771d
--- /dev/null
+++ b/spice-gtk-codegen.patch
@@ -0,0 +1,15 @@
+--- spice-gtk-0.30/spice-common/common/Makefile.am.orig	2015-09-03 17:25:34.000000000 +0200
++++ spice-gtk-0.30/spice-common/common/Makefile.am	2015-10-02 19:20:13.650132689 +0200
+@@ -100,12 +100,6 @@
+ 	$(NULL)
+ 
+ MARSHALLERS_DEPS =							\
+-	$(CODE_GENERATOR_BASEDIR)/python_modules/__init__.py		\
+-	$(CODE_GENERATOR_BASEDIR)/python_modules/codegen.py		\
+-	$(CODE_GENERATOR_BASEDIR)/python_modules/demarshal.py		\
+-	$(CODE_GENERATOR_BASEDIR)/python_modules/marshal.py		\
+-	$(CODE_GENERATOR_BASEDIR)/python_modules/ptypes.py		\
+-	$(CODE_GENERATOR_BASEDIR)/python_modules/spice_parser.py	\
+ 	$(CODE_GENERATOR_BASEDIR)/spice_codegen.py			\
+ 	$(NULL)
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/spice-gtk.git/commitdiff/fc53070c0418f421d7e19b595e52368721330927



More information about the pld-cvs-commit mailing list