diff options
author | Caleb Tennis <caleb@gentoo.org> | 2006-11-14 17:54:12 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2006-11-14 17:54:12 +0000 |
commit | e2d3c5eff1e8649f50584102dbed7414e58f8226 (patch) | |
tree | 36428c55a958193d1195bfa7d149e0dfdd9badbc /app-text | |
parent | Stable on sparc wrt #147570 (diff) | |
download | gentoo-2-e2d3c5eff1e8649f50584102dbed7414e58f8226.tar.gz gentoo-2-e2d3c5eff1e8649f50584102dbed7414e58f8226.tar.bz2 gentoo-2-e2d3c5eff1e8649f50584102dbed7414e58f8226.zip |
Patch to fix an error, see bug #155113
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/kbibtex/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/kbibtex/files/digest-kbibtex-0.1.5-r1 | 3 | ||||
-rw-r--r-- | app-text/kbibtex/files/kbibtex-0.1.5-viewdocument.patch | 56 | ||||
-rw-r--r-- | app-text/kbibtex/kbibtex-0.1.5-r1.ebuild | 28 |
4 files changed, 94 insertions, 1 deletions
diff --git a/app-text/kbibtex/ChangeLog b/app-text/kbibtex/ChangeLog index 7077b2d98c86..e65ce4e81adc 100644 --- a/app-text/kbibtex/ChangeLog +++ b/app-text/kbibtex/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/kbibtex # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/kbibtex/ChangeLog,v 1.15 2006/11/01 15:05:33 cryos Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/kbibtex/ChangeLog,v 1.16 2006/11/14 17:54:12 caleb Exp $ + +*kbibtex-0.1.5-r1 (14 Nov 2006) + + 14 Nov 2006; Caleb Tennis <caleb@gentoo.org> + +files/kbibtex-0.1.5-viewdocument.patch, +kbibtex-0.1.5-r1.ebuild: + Patch to fix an error, see bug #155113 01 Nov 2006; Marcus D. Hanwell <cryos@gentoo.org> -kbibtex-0.1.4.ebuild: Removed old version. diff --git a/app-text/kbibtex/files/digest-kbibtex-0.1.5-r1 b/app-text/kbibtex/files/digest-kbibtex-0.1.5-r1 new file mode 100644 index 000000000000..c1bbfb4304e4 --- /dev/null +++ b/app-text/kbibtex/files/digest-kbibtex-0.1.5-r1 @@ -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-viewdocument.patch b/app-text/kbibtex/files/kbibtex-0.1.5-viewdocument.patch new file mode 100644 index 000000000000..f00aceb5d319 --- /dev/null +++ b/app-text/kbibtex/files/kbibtex-0.1.5-viewdocument.patch @@ -0,0 +1,56 @@ +Index: src/documentwidget.h +=================================================================== +--- src/documentwidget.h (Revision 308) ++++ src/documentwidget.h (Revision 310) +@@ -106,6 +106,7 @@ + int m_newElementCounter; + EditMode m_editMode; + KActionMenu *m_viewDocumentActionMenu; ++ QStringList m_viewDocumentActionMenuURLs; + KActionMenu *m_searchWebsitesActionMenu; + KAction *m_find; + KAction *m_findNext; +Index: src/documentwidget.cpp +=================================================================== +--- src/documentwidget.cpp (Revision 308) ++++ src/documentwidget.cpp (Revision 310) +@@ -471,13 +471,13 @@ + m_listViewElements->setFactory( factory, client ); + m_sourceView->setFactory( factory, client ); + ++ m_viewDocumentActionMenu = dynamic_cast<KActionMenu*>( client->action( "view_document" ) ); + if ( m_viewDocumentActionMenu != NULL ) + connect( m_viewDocumentActionMenu->popupMenu(), SIGNAL( activated( int ) ), this, SLOT( slotViewDocument( int ) ) ); + + m_copyReference = client->action( "edit_copyref" ); + m_find = client->action( "edit_find" ); + m_findNext = client->action( "edit_find_next" ); +- m_viewDocumentActionMenu = dynamic_cast<KActionMenu*>( client->action( "view_document" ) ); + m_listViewElements->setViewShowColumnsMenu( dynamic_cast<KActionMenu*>( client->action( "view_showcolumns" ) ) ); + m_searchWebsitesActionMenu = dynamic_cast<KActionMenu*>( client->action( "search_document_online" ) ); + } +@@ -486,6 +486,7 @@ + { + KPopupMenu * popup = m_viewDocumentActionMenu->popupMenu(); + popup->clear(); ++ m_viewDocumentActionMenuURLs.clear(); + + BibTeX::Element * currentElement = NULL; + +@@ -517,6 +518,7 @@ + popup->insertItem( SmallIcon( "html" ), prettyURL ); + else + popup->insertItem( prettyURL ); ++ m_viewDocumentActionMenuURLs.append( prettyURL ); + } + m_viewDocumentActionMenu->setEnabled( TRUE ); + } +@@ -908,7 +910,7 @@ + + void DocumentWidget::slotViewDocument( int id ) + { +- kapp->invokeBrowser( m_viewDocumentActionMenu->popupMenu() ->text( id ) ); ++ kapp->invokeBrowser( m_viewDocumentActionMenuURLs[ m_viewDocumentActionMenu->popupMenu() ->indexOf( id ) ] ); + } + + } diff --git a/app-text/kbibtex/kbibtex-0.1.5-r1.ebuild b/app-text/kbibtex/kbibtex-0.1.5-r1.ebuild new file mode 100644 index 000000000000..243052f147ad --- /dev/null +++ b/app-text/kbibtex/kbibtex-0.1.5-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/kbibtex/kbibtex-0.1.5-r1.ebuild,v 1.1 2006/11/14 17:54:12 caleb Exp $ + +inherit kde eutils + +DESCRIPTION="BibTeX editor for KDE" +HOMEPAGE="http://www.unix-ag.uni-kl.de/~fischer/kbibtex/" +SRC_URI="http://www.unix-ag.uni-kl.de/~fischer/kbibtex/download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-libs/libxml2-2.6.22 + >=dev-libs/libxslt-1.1.15" +RDEPEND="${DEPEND} + virtual/tetex + >=dev-tex/bibtex2html-1.70" + +need-kde 3.3 + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/kbibtex-0.1.5-viewdocument.patch +} |