build
This commit is contained in:
parent
d1f3b5422a
commit
bba71b1ecf
19
spice-gtk-build.patch
Normal file
19
spice-gtk-build.patch
Normal file
@ -0,0 +1,19 @@
|
||||
diff -up spice-gtk-0.5/spice-gtk3-0.5/gtk/spice-session.c.glib-build spice-gtk-0.5/spice-gtk3-0.5/gtk/spice-session.c
|
||||
--- spice-gtk-0.5/spice-gtk3-0.5/gtk/spice-session.c.glib-build 2011-02-11 11:55:51.188263533 -0500
|
||||
+++ spice-gtk-0.5/spice-gtk3-0.5/gtk/spice-session.c 2011-02-11 11:56:05.478084885 -0500
|
||||
@@ -984,7 +984,6 @@ int spice_session_get_connection_id(Spic
|
||||
return s->connection_id;
|
||||
}
|
||||
|
||||
-#if !GLIB_CHECK_VERSION(2,28,0)
|
||||
static guint64 g_get_monotonic_clock(void)
|
||||
{
|
||||
GTimeVal tv;
|
||||
@@ -994,7 +993,6 @@ static guint64 g_get_monotonic_clock(voi
|
||||
|
||||
return (((gint64) tv.tv_sec) * 1000000) + tv.tv_usec;
|
||||
}
|
||||
-#endif
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
guint32 spice_session_get_mm_time(SpiceSession *session)
|
@ -11,7 +11,7 @@
|
||||
|
||||
Name: spice-gtk
|
||||
Version: 0.5
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: A GTK2 widget for SPICE clients
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -37,6 +37,8 @@ BuildRequires: libtool
|
||||
|
||||
ExclusiveArch: %{ix86} x86_64
|
||||
|
||||
Patch0: spice-gtk-build.patch
|
||||
|
||||
%description
|
||||
Client libraries for SPICE desktop servers.
|
||||
|
||||
@ -116,6 +118,8 @@ snappy is a tool to capture screen-shots of a SPICE desktop.
|
||||
|
||||
%prep
|
||||
%setup -q -n spice-gtk-%{version} -c
|
||||
%patch0 -p1 -b .build
|
||||
|
||||
%if %{with_gtk3}
|
||||
cp -a spice-gtk-%{version} spice-gtk3-%{version}
|
||||
%endif
|
||||
@ -215,6 +219,9 @@ rm -rf %{buildroot}
|
||||
%{_bindir}/spicy
|
||||
|
||||
%changelog
|
||||
* Fri Feb 11 2011 Matthias Clasen <mclasen@redhat.com> - 0.5-5
|
||||
- Fix build against glib 2.28
|
||||
|
||||
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> - 0.5-4
|
||||
- Rebuild against newer gtk
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user