rpms/kbibtex/devel kbibtex-0.1.5-storesearchurls.patch, NONE, 1.1 kbibtex-0.1.5-webquerypubmedmultiplequeries.patch, NONE, 1.1 kbibtex-0.1.5-xslthtmlexport.patch, NONE, 1.1 kbibtex.spec, 1.8, 1.9
Christian Nolte (noltec)
fedora-extras-commits at redhat.com
Wed Mar 21 19:43:11 UTC 2007
Author: noltec
Update of /cvs/extras/rpms/kbibtex/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6632
Modified Files:
kbibtex.spec
Added Files:
kbibtex-0.1.5-storesearchurls.patch
kbibtex-0.1.5-webquerypubmedmultiplequeries.patch
kbibtex-0.1.5-xslthtmlexport.patch
Log Message:
- update to latest patches
kbibtex-0.1.5-storesearchurls.patch:
--- NEW FILE kbibtex-0.1.5-storesearchurls.patch ---
diff -Naur kbibtex-0.1.5_orig/src/settings.cpp kbibtex-0.1.5/src/settings.cpp
--- kbibtex-0.1.5_orig/src/settings.cpp 2006-10-03 21:14:45.000000000 +0200
+++ kbibtex-0.1.5/src/settings.cpp 2007-02-27 13:20:13.000000000 +0100
@@ -170,7 +170,7 @@
config->setGroup( "SearchURLs" );
int i = 1;
- for ( QValueList<SearchURL*>::ConstIterator it = searchURLs.begin(); it != searchURLs.end(); ++it )
+ for ( QValueList<SearchURL*>::ConstIterator it = searchURLs.begin(); it != searchURLs.end(); ++it, ++i )
{
config->writeEntry( QString( "SearchURLDescription%1" ).arg( i ), ( *it ) ->description );
config->writeEntry( QString( "SearchURL%1" ).arg( i ), ( *it ) ->url );
kbibtex-0.1.5-webquerypubmedmultiplequeries.patch:
--- NEW FILE kbibtex-0.1.5-webquerypubmedmultiplequeries.patch ---
--- kbibtex-0.1.5_orig/src/webquerypubmed.cpp 2006-10-04 21:10:15.000000000 +0200
+++ kbibtex-0.1.5/src/webquerypubmed.cpp 2007-02-27 13:44:16.000000000 +0100
@@ -206,6 +206,7 @@
doc.setContent( buffer );
QDomElement docElem = doc.documentElement();
ResultParser resultParser( m_listViewResults, doc.documentElement() );
+ buffer->close();
setEnabled( TRUE );
QApplication::restoreOverrideCursor();
kbibtex-0.1.5-xslthtmlexport.patch:
--- NEW FILE kbibtex-0.1.5-xslthtmlexport.patch ---
--- kbibtex-0.1.5_orig/src/documentwidget.cpp 2006-10-05 21:48:04.000000000 +0200
+++ kbibtex-0.1.5/src/documentwidget.cpp 2007-03-16 18:59:39.000000000 +0100
@@ -255,7 +255,11 @@
updateFromGUI();
- BibTeX::XSLTransform * transform = NULL;
+ KStandardDirs * kstd = KGlobal::dirs();
+ QString resPath = kstd->findResource( "data", "kbibtexpart/xslt/html.xsl" );
+ BibTeX::XSLTransform *transform = NULL;
+ if ( resPath != NULL )
+ transform = new BibTeX::XSLTransform( resPath );
BibTeX::FileExporter * exporter = NULL;
switch ( format )
Index: kbibtex.spec
===================================================================
RCS file: /cvs/extras/rpms/kbibtex/devel/kbibtex.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- kbibtex.spec 5 Dec 2006 22:13:07 -0000 1.8
+++ kbibtex.spec 21 Mar 2007 19:42:38 -0000 1.9
@@ -1,6 +1,6 @@
Name: kbibtex
Version: 0.1.5
-Release: 4%{?dist}
+Release: 8%{?dist}
Summary: A BibTeX editor for KDE
Group: Applications/Editors
@@ -10,6 +10,9 @@
Patch0: kbibtex-0.1.5-filteredselection.patch
Patch1: kbibtex-0.1.5-gcc4.2.patch
Patch2: kbibtex-0.1.5-viewdocument.patch
+Patch3: kbibtex-0.1.5-storesearchurls.patch
+Patch4: kbibtex-0.1.5-webquerypubmedmultiplequeries.patch
+Patch5: kbibtex-0.1.5-xslthtmlexport.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kdebase-devel >= 3.3 libxslt-devel desktop-file-utils
@@ -25,6 +28,9 @@
%patch0 -p0 -b .filteredselection
%patch1 -p0 -b .gcc4.2
%patch2 -p0 -b .viewdocument
+%patch3 -p1 -b .storesearchurls
+%patch4 -p1 -b .webquerypubmedmultiplequeries
+%patch5 -p1 -b .xslthtmlexport
%build
unset QTDIR || : ; . /etc/profile.d/qt.sh
@@ -119,6 +125,10 @@
%{_datadir}/applications/fedora-kbibtex_part.desktop
%changelog
+* Wed Mar 21 2007 Christian Nolte <ch.nolte at noltec.org> - 0.1.5-8
+- latest patches (storesearchurls, webquerypubmedmultiplequeries,
+ xslhtmlexport)
+
* Tue Dec 05 2006 Christian Nolte <ch.nolte at fh-wolfenbuettel.de> - 0.1.5-4
- Bumped release ver. to solve the violated upgrade path (BUG #216007)
More information about the fedora-extras-commits
mailing list