[sunbird/f14/master] Added missing BuildRequires and missing cflags patch

Jan Horak xhorak at fedoraproject.org
Wed Sep 8 11:42:13 UTC 2010


commit 120d30b9db0a8c71c4f5ca0a8ad250acdc8863c7
Author: Jan Horak <jhorak at redhat.com>
Date:   Wed Sep 8 13:42:16 2010 +0200

    Added missing BuildRequires and missing cflags patch

 mozilla-missing-cflags.patch |    9 +++++++++
 sunbird.spec                 |    5 +++++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/mozilla-missing-cflags.patch b/mozilla-missing-cflags.patch
new file mode 100644
index 0000000..fcef959
--- /dev/null
+++ b/mozilla-missing-cflags.patch
@@ -0,0 +1,9 @@
+diff -up comm-1.9.2/mozilla/toolkit/system/gnome/Makefile.in.mozcflags comm-1.9.2/mozilla/toolkit/system/gnome/Makefile.in
+--- comm-1.9.2/mozilla/toolkit/system/gnome/Makefile.in.mozcflags	2010-07-26 12:52:38.000000000 +0200
++++ comm-1.9.2/mozilla/toolkit/system/gnome/Makefile.in	2010-07-26 12:39:34.000000000 +0200
+@@ -93,4 +93,5 @@ CXXFLAGS += \
+ 	$(MOZ_GNOMEVFS_CFLAGS) \
+ 	$(GLIB_CFLAGS) \
+ 	$(MOZ_LIBNOTIFY_CFLAGS) \
++	$(MOZ_GTK2_CFLAGS) \
+ 	$(NULL)
diff --git a/sunbird.spec b/sunbird.spec
index 0acdb64..0722388 100644
--- a/sunbird.spec
+++ b/sunbird.spec
@@ -42,6 +42,7 @@ Patch1:         xulrunner-1.9.2.1-build.patch
 # Ours
 Patch10:        sunbird-1.0-libical.patch
 Patch11:        sunbird-1.0-uilocale.patch
+Patch12:        mozilla-missing-cflags.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -60,6 +61,9 @@ BuildRequires:  zip
 BuildRequires:  autoconf213
 BuildRequires:  alsa-lib-devel
 BuildRequires:  libnotify-devel >= %{libnotify_version}
+BuildRequires:  gtk2-devel
+BuildRequires:  gnome-vfs2-devel
+BuildRequires:  libgnome-devel
 
 Requires(post):  desktop-file-utils
 Requires(postun): desktop-file-utils
@@ -95,6 +99,7 @@ calendaring tasks.
 %patch1 -p1 -b .protected
 %patch10 -p0 -b .libical
 %patch11 -p0 -b .uilocale
+%patch12 -p1 -b .mozcflags
 
 find . -name '*.cpp' -o -name '*.h' |xargs chmod -x
 


More information about the scm-commits mailing list