diff options
author | 2007-03-15 13:41:05 +0000 | |
---|---|---|
committer | 2007-03-15 13:41:05 +0000 | |
commit | 12a56920d4e147d629d074a0bff7e21b7d69b07a (patch) | |
tree | 498e00eb6617ea866ce1f4725409bf2b2f4c13d0 /app-text/kbibtex/files | |
parent | Stable on ppc64; bug #169987 (diff) | |
download | gentoo-2-12a56920d4e147d629d074a0bff7e21b7d69b07a.tar.gz gentoo-2-12a56920d4e147d629d074a0bff7e21b7d69b07a.tar.bz2 gentoo-2-12a56920d4e147d629d074a0bff7e21b7d69b07a.zip |
Applied various patches from upstream, previous patch was already present upstream and so replaced it with their patch for consistency.
(Portage version: 2.1.2.2)
Diffstat (limited to 'app-text/kbibtex/files')
-rw-r--r-- | app-text/kbibtex/files/digest-kbibtex-0.1.5-r2 | 3 | ||||
-rw-r--r-- | app-text/kbibtex/files/kbibtex-0.1.5-filteredselection.patch | 41 | ||||
-rw-r--r-- | app-text/kbibtex/files/kbibtex-0.1.5-gcc4.2.patch (renamed from app-text/kbibtex/files/kbibtex-0.1.5-compile-fix.patch) | 8 | ||||
-rw-r--r-- | app-text/kbibtex/files/kbibtex-0.1.5-storesearchurls.patch | 12 | ||||
-rw-r--r-- | app-text/kbibtex/files/kbibtex-0.1.5-webquerypubmedmultiplequeries.patch | 10 |
5 files changed, 70 insertions, 4 deletions
diff --git a/app-text/kbibtex/files/digest-kbibtex-0.1.5-r2 b/app-text/kbibtex/files/digest-kbibtex-0.1.5-r2 new file mode 100644 index 000000000000..c1bbfb4304e4 --- /dev/null +++ b/app-text/kbibtex/files/digest-kbibtex-0.1.5-r2 @@ -0,0 +1,3 @@ +MD5 83a8c1cade06837431b6ebe79d13ef7b kbibtex-0.1.5.tar.bz2 556109 +RMD160 7a7c6ce9ff4b392104e0b35eb888eaa7e7a20383 kbibtex-0.1.5.tar.bz2 556109 +SHA256 588cbd5055c0baea950263c8d768c13c69ef72c54543137dea4d88fb7e4f8f13 kbibtex-0.1.5.tar.bz2 556109 diff --git a/app-text/kbibtex/files/kbibtex-0.1.5-filteredselection.patch b/app-text/kbibtex/files/kbibtex-0.1.5-filteredselection.patch new file mode 100644 index 000000000000..b5012d453c37 --- /dev/null +++ b/app-text/kbibtex/files/kbibtex-0.1.5-filteredselection.patch @@ -0,0 +1,41 @@ +Index: src/documentlistview.cpp +=================================================================== +--- src/documentlistview.cpp (Revision 301) ++++ src/documentlistview.cpp (Revision 302) +@@ -221,10 +221,13 @@ + while ( it.current() ) + { + DocumentListViewItem * kblvi = dynamic_cast<DocumentListViewItem*>( it.current() ); +- m_bibtexFile->deleteElement( kblvi->element() ); +- it++; +- takeItem( kblvi ); +- delete ( kblvi ); ++ if ( kblvi->isVisible() ) ++ { ++ m_bibtexFile->deleteElement( kblvi->element() ); ++ it++; ++ takeItem( kblvi ); ++ delete ( kblvi ); ++ } + } + + if ( above ) +@@ -246,7 +249,7 @@ + { + DocumentListViewItem * kblvi = dynamic_cast<DocumentListViewItem*>( it.current() ); + BibTeX::Entry *entry = dynamic_cast<BibTeX::Entry*>( kblvi->element() ); +- if ( entry != NULL ) ++ if ( entry != NULL && kblvi->isVisible() ) + { + if ( !refs.isEmpty() ) + refs.append( "," ); +@@ -621,7 +624,8 @@ + while ( it.current() ) + { + DocumentListViewItem * kblvi = dynamic_cast<DocumentListViewItem*>( it.current() ); +- exporter->save( &buffer, kblvi->element() ); ++ if ( kblvi->isVisible() ) ++ exporter->save( &buffer, kblvi->element() ); + it++; + } + delete exporter; diff --git a/app-text/kbibtex/files/kbibtex-0.1.5-compile-fix.patch b/app-text/kbibtex/files/kbibtex-0.1.5-gcc4.2.patch index 9f961e083227..56f5e721a6f3 100644 --- a/app-text/kbibtex/files/kbibtex-0.1.5-compile-fix.patch +++ b/app-text/kbibtex/files/kbibtex-0.1.5-gcc4.2.patch @@ -1,7 +1,7 @@ -# Patch from Andreas Ntaflos <daff@dword.org> to fix compilation issue -# 15 Mar 2007 Marcus D. Hanwell <cryos@gentoo.org> from bug 171004. ---- src/fileimporter.h 2007-03-15 05:55:41.000000000 +0100 -+++ src/fileimporter.h.new 2007-03-15 05:56:45.000000000 +0100 +Index: src/fileimporter.h +=================================================================== +--- src/fileimporter.h (Revision 307) ++++ src/fileimporter.h (Arbeitskopie) @@ -39,7 +39,7 @@ ~FileImporter(); diff --git a/app-text/kbibtex/files/kbibtex-0.1.5-storesearchurls.patch b/app-text/kbibtex/files/kbibtex-0.1.5-storesearchurls.patch new file mode 100644 index 000000000000..205ca83f0454 --- /dev/null +++ b/app-text/kbibtex/files/kbibtex-0.1.5-storesearchurls.patch @@ -0,0 +1,12 @@ +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 ); diff --git a/app-text/kbibtex/files/kbibtex-0.1.5-webquerypubmedmultiplequeries.patch b/app-text/kbibtex/files/kbibtex-0.1.5-webquerypubmedmultiplequeries.patch new file mode 100644 index 000000000000..30449f89c4b4 --- /dev/null +++ b/app-text/kbibtex/files/kbibtex-0.1.5-webquerypubmedmultiplequeries.patch @@ -0,0 +1,10 @@ +--- 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(); |