rpms/xulrunner/OLPC-2 xulrunner-1.9a6-no-native-theme.patch, NONE, 1.1 xulrunner.spec, 1.14, 1.15

Marco Pesenti Gritti (mpg) fedora-extras-commits at redhat.com
Wed Jul 18 13:37:00 UTC 2007


Author: mpg

Update of /cvs/extras/rpms/xulrunner/OLPC-2
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20455

Modified Files:
	xulrunner.spec 
Added Files:
	xulrunner-1.9a6-no-native-theme.patch 
Log Message:
* Wed Jul 18 2007 Marco Pesenti Gritti <mpg at redhat.com> - 1.9-0.3.a6
- Add patch to disable native theme



xulrunner-1.9a6-no-native-theme.patch:

--- NEW FILE xulrunner-1.9a6-no-native-theme.patch ---
Index: widget/src/gtk2/nsWidgetFactory.cpp
===================================================================
RCS file: /cvsroot/mozilla/widget/src/gtk2/nsWidgetFactory.cpp,v
retrieving revision 1.39
diff -u -r1.39 nsWidgetFactory.cpp
--- widget/src/gtk2/nsWidgetFactory.cpp	15 Apr 2007 22:23:00 -0000	1.39
+++ widget/src/gtk2/nsWidgetFactory.cpp	18 Jul 2007 12:18:37 -0000
@@ -242,7 +242,7 @@
     NS_SCREENMANAGER_CID,
     "@mozilla.org/gfx/screenmanager;1",
     nsScreenManagerGtkConstructor },
-#ifdef NATIVE_THEME_SUPPORT
+#if 0
    { "Native Theme Renderer",
     NS_THEMERENDERER_CID,
     "@mozilla.org/chrome/chrome-native-theme;1",


Index: xulrunner.spec
===================================================================
RCS file: /cvs/extras/rpms/xulrunner/OLPC-2/xulrunner.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- xulrunner.spec	11 Jul 2007 10:48:07 -0000	1.14
+++ xulrunner.spec	18 Jul 2007 13:36:27 -0000	1.15
@@ -15,12 +15,10 @@
 Source10:       xulrunner-mozconfig
 Source12:       xulrunner-olpc-default-prefs.js
 
-# build patches
-
-# patches from upstream (Patch100+)
-Patch201:       xulrunner-1.9a3pre-dpi.patch
-Patch202:       xulrunner-1.9a5pre-build.patch
-Patch203:       firefox-0.7.3-psfonts.patch
+Patch1:         xulrunner-1.9a6-no-native-theme.patch
+Patch2:         xulrunner-1.9a3pre-dpi.patch
+Patch3:         xulrunner-1.9a5pre-build.patch
+Patch4:         firefox-0.7.3-psfonts.patch
 
 # ---------------------------------------------------
 
@@ -65,9 +63,10 @@
 %prep
 %setup -q -n xulrunner-%{version}%{prerelease}
 
-%patch201 -p0 -b .dpi
-%patch202 -p0 -b .build
-%patch203 -p1 -b .psfonts
+%patch2 -p0 -b .no-native-theme
+%patch2 -p0 -b .dpi
+%patch3 -p0 -b .build
+%patch4 -p1 -b .psfonts
 
 %{__rm} -f .mozconfig
 %{__cp} %{SOURCE10} .mozconfig
@@ -146,6 +145,9 @@
 %{_datadir}/aclocal/nspr.m4
 
 %changelog
+* Wed Jul 18 2007 Marco Pesenti Gritti <mpg at redhat.com> - 1.9-0.3.a6
+- Add patch to disable native theme
+
 * Tue Jul 10 2007 Marco Pesenti Gritti <mpg at redhat.com> - 1.9-0.3.a6
 - Require curl-devel for airbag
 - Disable system png for now, it misses APNG




More information about the fedora-extras-commits mailing list