summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-07-02 02:45:53 +0000
committerJon Hood <squinky86@gentoo.org>2004-07-02 02:45:53 +0000
commitb3ccca3c9fb725e7beb843cc934edaf17e3c1bf7 (patch)
treeda1439791ec97b2e08c08675dc54663b51d120bd /net-p2p/qtella
parentstable on ppc64, bug #54804 (Manifest recommit) (diff)
downloadgentoo-2-b3ccca3c9fb725e7beb843cc934edaf17e3c1bf7.tar.gz
gentoo-2-b3ccca3c9fb725e7beb843cc934edaf17e3c1bf7.tar.bz2
gentoo-2-b3ccca3c9fb725e7beb843cc934edaf17e3c1bf7.zip
for yummy nokde goodness, we need a patch to disable some functions that rely on kde headers (#55284)
Diffstat (limited to 'net-p2p/qtella')
-rw-r--r--net-p2p/qtella/ChangeLog6
-rw-r--r--net-p2p/qtella/files/0.7.0-nokde.patch48
-rw-r--r--net-p2p/qtella/files/qtella-0.6.1-nokde.diff13
-rw-r--r--net-p2p/qtella/qtella-0.7.0.ebuild10
4 files changed, 61 insertions, 16 deletions
diff --git a/net-p2p/qtella/ChangeLog b/net-p2p/qtella/ChangeLog
index 13ba1778bfec..8d035530354d 100644
--- a/net-p2p/qtella/ChangeLog
+++ b/net-p2p/qtella/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-p2p/qtella
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/qtella/ChangeLog,v 1.18 2004/06/29 00:25:31 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/qtella/ChangeLog,v 1.19 2004/07/02 02:45:53 squinky86 Exp $
+
+ 01 Jul 2004; Jon Hood <squinky86@gentoo.org> +files/0.7.0-nokde.patch,
+ -files/qtella-0.6.1-nokde.diff, qtella-0.7.0.ebuild:
+ add nokde patch, #55284
29 Jun 2004; Carsten Lohrke <carlo@gentoo.org> qtella-0.5.3-r2.ebuild,
qtella-0.6.4.ebuild, qtella-0.7.0.ebuild:
diff --git a/net-p2p/qtella/files/0.7.0-nokde.patch b/net-p2p/qtella/files/0.7.0-nokde.patch
new file mode 100644
index 000000000000..1236e54c7fed
--- /dev/null
+++ b/net-p2p/qtella/files/0.7.0-nokde.patch
@@ -0,0 +1,48 @@
+diff -Naur qtella-0.7.0.vanilla/src/QtellaSubConfig.cpp qtella-0.7.0/src/QtellaSubConfig.cpp
+--- qtella-0.7.0.vanilla/src/QtellaSubConfig.cpp 2004-05-26 16:32:00.000000000 -0500
++++ qtella-0.7.0/src/QtellaSubConfig.cpp 2004-07-01 21:37:51.156045376 -0500
+@@ -519,7 +519,7 @@
+ for(i = 0; i < vString.size(); i++)
+ _widget_config->ui_blocked_words->insertItem( vString[i].c_str() );
+ }
+-
++ #ifdef USEKDE
+ if( s1 == "YID" ) {
+ _widget_config->lineedit_yahooid->setText( s2.c_str() );
+ }
+@@ -529,6 +529,7 @@
+ if( s1 == "YCONNECT" ) {
+ _widget_config->checkbox_yahooconnect->setChecked( ( s2 == "1" ) ? true : false );
+ }
++ #endif
+ }
+ }
+ f.close();
+@@ -632,11 +633,12 @@
+ << "GROUP=" << (const char*)_widget_config->ui_lineedit_userid->text() << std::endl
+ << "RESERVE_IN=" << _widget_config->ui_checkbox_reserve_in->isChecked() << std::endl
+ << "RESERVE_UP=" << _widget_config->ui_checkbox_reserve_up->isChecked() << std::endl;
+-
++ #ifdef USEKDE
+ QCString result = KCodecs::base64Encode( _widget_config->lineedit_yahoopasswd->text().ascii() );
+ f << "YID=" << (const char*) _widget_config->lineedit_yahooid->text() << std::endl
+ << "YPWD=" << (const char*) result << std::endl
+ << "YCONNECT=" << ( _widget_config->checkbox_yahooconnect->isChecked() ? "1" : "0" ) << std::endl;
++ #endif
+ f << "GROUPS=";
+ for( unsigned i = 0; i < _widget_config->ui_listbox_groups->count(); ++i ) {
+ f << (const char*)_widget_config->ui_listbox_groups->text( i ) << ";";
+diff -Naur qtella-0.7.0.vanilla/src/main.cpp qtella-0.7.0/src/main.cpp
+--- qtella-0.7.0.vanilla/src/main.cpp 2004-05-20 11:14:13.000000000 -0500
++++ qtella-0.7.0/src/main.cpp 2004-07-01 21:09:23.000000000 -0500
+@@ -73,8 +73,10 @@
+
+ a.setMainWidget(&qtella);
+ qtella.show();
++ #ifdef USEKDE
+ KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
+ if( args->isSet( "show-searches" ) )
+ qtella.setSearchLogging( true );
++ #endif
+ return a.exec();
+ }
diff --git a/net-p2p/qtella/files/qtella-0.6.1-nokde.diff b/net-p2p/qtella/files/qtella-0.6.1-nokde.diff
deleted file mode 100644
index 8b16a239f825..000000000000
--- a/net-p2p/qtella/files/qtella-0.6.1-nokde.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/QtellaSub.cpp 2003-02-03 01:39:07.000000000 +0200
-+++ src/QtellaSub.cpp 2003-02-25 18:28:48.000000000 +0200
-@@ -796,8 +796,8 @@
-
- #ifndef USEKDE
- #ifndef SHARP
-- ui_checkbox_fileassociations->hide();
-- ui_checkbox_systemtray->hide();
-+ _widget_config->ui_checkbox_fileassociations->hide();
-+ _widget_config->ui_checkbox_systemtray->hide();
- #endif
- #endif
-
diff --git a/net-p2p/qtella/qtella-0.7.0.ebuild b/net-p2p/qtella/qtella-0.7.0.ebuild
index c27273776daf..edb3bfea2a89 100644
--- a/net-p2p/qtella/qtella-0.7.0.ebuild
+++ b/net-p2p/qtella/qtella-0.7.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/qtella/qtella-0.7.0.ebuild,v 1.3 2004/06/29 00:25:31 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/qtella/qtella-0.7.0.ebuild,v 1.4 2004/07/02 02:45:53 squinky86 Exp $
-inherit kde
+inherit kde eutils
IUSE="kde"
use kde && need-kde 3 || need-qt 3
@@ -17,6 +17,12 @@ LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc"
export MAKEOPTS="$MAKEOPTS -j1"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-nokde.patch
+}
+
src_compile() {
kde_src_compile myconf
use kde || myconf="$myconf --with-kde=no"