diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2006-01-21 21:00:42 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2006-01-21 21:00:42 +0000 |
commit | 46dd057728fed2ac05876eef56e19dcc71815c6f (patch) | |
tree | f271a10b62628ad0216b10218b40576e52821a97 /app-office | |
parent | Stable on ppc; bug #112742. (diff) | |
download | gentoo-2-46dd057728fed2ac05876eef56e19dcc71815c6f.tar.gz gentoo-2-46dd057728fed2ac05876eef56e19dcc71815c6f.tar.bz2 gentoo-2-46dd057728fed2ac05876eef56e19dcc71815c6f.zip |
cleanup
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/oooqs/files/digest-oooqs-2.0.3-r1 | 1 | ||||
-rw-r--r-- | app-office/oooqs/files/fixxooo.patch | 82 | ||||
-rw-r--r-- | app-office/oooqs/oooqs-2.0.3-r1.ebuild | 32 |
3 files changed, 0 insertions, 115 deletions
diff --git a/app-office/oooqs/files/digest-oooqs-2.0.3-r1 b/app-office/oooqs/files/digest-oooqs-2.0.3-r1 deleted file mode 100644 index 5d78f6742d54..000000000000 --- a/app-office/oooqs/files/digest-oooqs-2.0.3-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 5d401aa7250f80734d785d4c286f635b oooqs-2.0.3.tar.gz 584849 diff --git a/app-office/oooqs/files/fixxooo.patch b/app-office/oooqs/files/fixxooo.patch deleted file mode 100644 index a1c2d609b14e..000000000000 --- a/app-office/oooqs/files/fixxooo.patch +++ /dev/null @@ -1,82 +0,0 @@ -diff -ru oooqs-2.0.3/src/oooqs.cpp oooqs-2.0.3-fixed/src/oooqs.cpp ---- oooqs-2.0.3/src/oooqs.cpp 2005-06-01 20:08:30.000000000 +0300 -+++ oooqs-2.0.3-fixed/src/oooqs.cpp 2005-06-01 20:07:55.000000000 +0300 -@@ -3,6 +3,7 @@ - */ - - #include <qdir.h> -+#include <qfile.h> - #include <qmap.h> - - #include <kaboutdata.h> -@@ -44,21 +45,36 @@ - */ - KPopupMenu* menu = contextMenu(); - -- ( new KAction( i18n( "Textdocument" ), -- "ooo_writer", 0, this, -- SLOT( startWriter() ), this ) ) ->plug( menu ); -- ( new KAction( i18n( "Spreadsheet" ), -- "ooo_calc", 0, this, -- SLOT( startCalc() ), this ) ) ->plug( menu ); -- ( new KAction( i18n( "Presentation" ), -- "ooo_impress", 0, this, -- SLOT( startImpress() ), this ) ) ->plug( menu ); -- ( new KAction( i18n( "Drawing" ), -- "ooo_draw", 0, this, -- SLOT( startDraw() ), this ) ) ->plug( menu ); -- ( new KAction( i18n( "From Template" ), -- "wizard", 0, this, -- SLOT( startTemplate() ), this ) ) ->plug( menu ); -+ if ( QFile::exists( QDir::homeDirPath() + QDir::separator() + ".xversionrc" ) ) { -+ ( new KAction( i18n( "Textdocument" ), -+ "ximian-openoffice-writer", 0, this, -+ SLOT( startWriter() ), this ) ) ->plug( menu ); -+ ( new KAction( i18n( "Spreadsheet" ), -+ "ximian-openoffice-calc", 0, this, -+ SLOT( startCalc() ), this ) ) ->plug( menu ); -+ ( new KAction( i18n( "Presentation" ), -+ "ximian-openoffice-impress", 0, this, -+ SLOT( startImpress() ), this ) ) ->plug( menu ); -+ ( new KAction( i18n( "Drawing" ), -+ "ximian-openoffice-draw", 0, this, -+ SLOT( startDraw() ), this ) ) ->plug( menu ); -+ } else { -+ ( new KAction( i18n( "Textdocument" ), -+ "ooo_writer", 0, this, -+ SLOT( startWriter() ), this ) ) ->plug( menu ); -+ ( new KAction( i18n( "Spreadsheet" ), -+ "ooo_calc", 0, this, -+ SLOT( startCalc() ), this ) ) ->plug( menu ); -+ ( new KAction( i18n( "Presentation" ), -+ "ooo_impress", 0, this, -+ SLOT( startImpress() ), this ) ) ->plug( menu ); -+ ( new KAction( i18n( "Drawing" ), -+ "ooo_draw", 0, this, -+ SLOT( startDraw() ), this ) ) ->plug( menu ); -+ } -+ ( new KAction( i18n( "From Template" ), -+ "wizard", 0, this, -+ SLOT( startTemplate() ), this ) ) ->plug( menu ); - menu->insertSeparator(); - ( new KAction( i18n( "Open Document" ), - "fileopen", 0, this, -@@ -92,9 +108,15 @@ - Try to autodetect settings if they aren't found in our own config. - */ - if ( _exec.length() < 2 ) { -- oooConfig = new KSimpleConfig( -- QDir::homeDirPath() + QDir::separator() -- + ".sversionrc", true ); -+ if ( QFile::exists( QDir::homeDirPath() + QDir::separator() + ".xversionrc" ) ) { -+ oooConfig = new KSimpleConfig( -+ QDir::homeDirPath() + QDir::separator() -+ + ".xversionrc", true ); -+ } else { -+ oooConfig = new KSimpleConfig( -+ QDir::homeDirPath() + QDir::separator() -+ + ".sversionrc", true ); -+ } - oooConfig->setGroup( "Versions" ); - versions = oooConfig->entryMap( "Versions" ); - /** diff --git a/app-office/oooqs/oooqs-2.0.3-r1.ebuild b/app-office/oooqs/oooqs-2.0.3-r1.ebuild deleted file mode 100644 index 7cd0ce080fb6..000000000000 --- a/app-office/oooqs/oooqs-2.0.3-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/oooqs/oooqs-2.0.3-r1.ebuild,v 1.2 2005/01/01 15:37:51 eradicator Exp $ - -inherit kde eutils - -need-kde 3 - -DESCRIPTION="OpenOffice.org Quickstarter, runs in the KDE SystemTray" -HOMEPAGE="http://segfaultskde.berlios.de/index.php" -SRC_URI="http://download.berlios.de/segfaultskde/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~x86 ~sparc ~amd64 ~ppc" -IUSE="" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/fixxooo.patch -} - -pkg_postinst() -{ - einfo "If upgrading from version 2.0, please remove the oooqs.desktop file from" - einfo "your "Autostart" directory (linked in the "Goto" menu in Konqueror)." - einfo - einfo "If you want to use this for openoffice-ximian and already had it installed" - einfo "for vanilla openoffice.org before, make sure to delete the old config file in" - einfo "~/.kde/share/config/oooqsrc" - -} |