fix build

This commit is contained in:
Matthias Clasen 2012-01-19 22:00:58 -05:00
parent 67ea9e6eb1
commit ff9232bff0
2 changed files with 17 additions and 0 deletions

11
gnome-shell-gl.patch Normal file
View File

@ -0,0 +1,11 @@
diff -up gnome-shell-3.3.3/configure.ac.gl gnome-shell-3.3.3/configure.ac
--- gnome-shell-3.3.3/configure.ac.gl 2012-01-19 21:58:03.637964155 -0500
+++ gnome-shell-3.3.3/configure.ac 2012-01-19 21:59:19.634969153 -0500
@@ -84,6 +84,7 @@ PKG_CHECK_MODULES(GNOME_SHELL, gio-unix-
gjs-internals-1.0 >= $GJS_MIN_VERSION
libgnome-menu-3.0 $recorder_modules
gdk-x11-3.0 libsoup-2.4
+ gl
clutter-x11-1.0 >= $CLUTTER_MIN_VERSION
clutter-glx-1.0 >= $CLUTTER_MIN_VERSION
libstartup-notification-1.0 >= $STARTUP_NOTIFICATION_MIN_VERSION

View File

@ -13,6 +13,9 @@ Patch0: gnome-shell-avoid-redhat-menus.patch
# Replace Epiphany with Firefox in the default favourite apps list
Patch1: gnome-shell-favourite-apps-firefox.patch
# upstream fix
Patch2: gnome-shell-gl.patch
%define clutter_version 1.7.5
%define gobject_introspection_version 0.10.1
%define mutter_version 3.3.3
@ -84,6 +87,9 @@ easy to use experience.
%setup -q
%patch0 -p1 -b .avoid-redhat-menus
%patch1 -p1 -b .firefox
%patch2 -p1 -b .gl
rm configure
%build
export CFLAGS="$RPM_OPT_FLAGS -Wno-error=deprecated-declarations"