rpms/kdegraphics/F-9 kdegraphics-4.1.0-update-configuration.patch, NONE, 1.1 kdegraphics.spec, 1.150, 1.151

Than Ngo (than) fedora-extras-commits at redhat.com
Tue Aug 12 13:29:40 UTC 2008


Author: than

Update of /cvs/extras/rpms/kdegraphics/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17647

Modified Files:
	kdegraphics.spec 
Added Files:
	kdegraphics-4.1.0-update-configuration.patch 
Log Message:
update all the configuration each time a document is open in okular


kdegraphics-4.1.0-update-configuration.patch:

--- NEW FILE kdegraphics-4.1.0-update-configuration.patch ---
--- kdegraphics-4.1.0/okular/generators/poppler/generator_pdf.cpp	(Revision 841347)
+++ kdegraphics-4.1.0/okular/generators/poppler/generator_pdf.cpp	(Revision 841348)
@@ -261,8 +261,6 @@
     setFeature( FontInfo );
     setFeature( PrintPostscript );
     setFeature( ReadRawData );
-    // update the configuration
-    reparseConfig();
     // generate the pixmapGeneratorThread
     generatorThread = new PDFPixmapGeneratorThread( this );
     connect(generatorThread, SIGNAL(finished()), this, SLOT(threadFinished()), Qt::QueuedConnection);
@@ -392,7 +390,8 @@
 
     loadPages(pagesVector, 0, false);
 
-    setAAOptions();
+    // update the configuration
+    reparseConfig();
 
     // the file has been loaded correctly
     return true;


Index: kdegraphics.spec
===================================================================
RCS file: /cvs/extras/rpms/kdegraphics/F-9/kdegraphics.spec,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -r1.150 -r1.151
--- kdegraphics.spec	12 Aug 2008 13:17:29 -0000	1.150
+++ kdegraphics.spec	12 Aug 2008 13:29:10 -0000	1.151
@@ -16,6 +16,7 @@
 URL:            http://www.kde.org/
 Source0:        ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/kdegraphics-%{version}.tar.bz2
 Patch100:       kdegraphics-4.1.0-printing-review-crash.patch
+Patch101:       kdegraphics-4.1.0-update-configuration.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  kde-filesystem >= 4
@@ -95,6 +96,7 @@
 
 # upstream patches
 %patch100 -p1 -b .printing-review-crash
+%patch101 -p1 -b .update-configuration
 
 %build
 
@@ -188,6 +190,7 @@
 %changelog
 * Tue Aug 12 2008 Than Ngo <than at redhat.com> 4.1.0-4
 - fix crash in printing review in okular
+- update all the configuration each time a document is open in okular
 
 * Tue Jul 29 2008 Than Ngo <than at redhat.com> 4.1.0-3
 - respun




More information about the scm-commits mailing list