[arch-commits] Commit in kdenetwork/trunk (PKGBUILD icq-login.patch)

Andrea Scarpino andrea at archlinux.org
Mon Nov 29 23:20:18 UTC 2010


    Date: Monday, November 29, 2010 @ 18:20:17
  Author: andrea
Revision: 101637

KDE 4.5.4 (re-tagged)

Modified:
  kdenetwork/trunk/PKGBUILD
Deleted:
  kdenetwork/trunk/icq-login.patch

-----------------+
 PKGBUILD        |   10 ---
 icq-login.patch |  144 ------------------------------------------------------
 2 files changed, 2 insertions(+), 152 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-11-29 23:20:05 UTC (rev 101636)
+++ PKGBUILD	2010-11-29 23:20:17 UTC (rev 101637)
@@ -20,16 +20,10 @@
 	'qca-ossl' 'kdebase-workspace' 'kdebase-lib' 'libvncserver' 'libmsn'
 	'ppp' 'v4l-utils' 'libidn' 'rdesktop' 'qimageblitz' 'libxdamage' 'libgadu'
 	'telepathy-qt4' 'docbook-xsl' 'libktorrent' 'kwebkitpart')
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2"
-        'icq-login.patch')
-sha1sums=('6e380d87937060a572a32b6eda955a82ec393ecf'
-          '2166c658bde4a207c8f9e033838d6bc40336382b')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
+sha1sums=('95a69183912fe9f29a2e877c0655050d4a7252d1')
 
 build() {
-    # Already fixed upstream
-    cd ${srcdir}/${pkgbase}-${pkgver}
-    patch -Np4 -i ${srcdir}/icq-login.patch
-
 	cd ${srcdir}
 	mkdir build
 	cd build

Deleted: icq-login.patch
===================================================================
--- icq-login.patch	2010-11-29 23:20:05 UTC (rev 101636)
+++ icq-login.patch	2010-11-29 23:20:17 UTC (rev 101637)
@@ -1,144 +0,0 @@
---- branches/KDE/4.5/kdenetwork/kopete/protocols/oscar/icq/icqaccount.cpp	2010/11/16 15:01:13	1197797
-+++ branches/KDE/4.5/kdenetwork/kopete/protocols/oscar/icq/icqaccount.cpp	2010/11/16 15:04:32	1197798
-@@ -136,7 +136,7 @@
- 	// Create actions
- 	mEditInfoAction = new KAction( KIcon("user-properties"), i18n( "Edit User Info..." ), this );
- 	QObject::connect( mEditInfoAction, SIGNAL(triggered(bool)), this, SLOT(slotUserInfo()) );
--	
-+
- 	mActionInvisible = new KToggleAction( i18n( "In&visible" ), this );
- 	QObject::connect( mActionInvisible, SIGNAL(triggered(bool)), this, SLOT(slotToggleInvisible()) );
- 
-@@ -188,7 +188,7 @@
- 	*/
- 
- 	KActionMenu *xtrazStatusMenu = new KActionMenu( i18n( "Set Xtraz Status" ), actionMenu );
--	
-+
- 	KAction* xtrazStatusSetAction = new KAction( i18n( "Set Status..." ), xtrazStatusMenu );
- 	QObject::connect( xtrazStatusSetAction, SIGNAL(triggered(bool)), this, SLOT(setXtrazStatus()) );
- 	xtrazStatusMenu->addAction( xtrazStatusSetAction );
-@@ -236,7 +236,7 @@
- 		myself()->setOnlineStatus( protocol()->statusManager()->connectingStatus() );
- 		QString icqNumber = accountId();
- 		kDebug(14153) << "Logging in as " << icqNumber;
--		QString server = configGroup()->readEntry( "Server", QString::fromLatin1( "login.oscar.aol.com" ) );
-+		QString server = configGroup()->readEntry( "Server", QString::fromLatin1( "login.icq.com" ) );
- 		uint port = configGroup()->readEntry( "Port", 5190 );
- 
- 		//set up the settings for the account
---- branches/KDE/4.5/kdenetwork/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp	2010/11/16 15:01:13	1197797
-+++ branches/KDE/4.5/kdenetwork/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp	2010/11/16 15:04:32	1197798
-@@ -65,7 +65,7 @@
- 
- 	mProtocol->fillComboFromTable( mAccountSettings->encodingCombo, mProtocol->encodings() );
- 
--	//Setup the edtAccountId 
-+	//Setup the edtAccountId
- 	QRegExp rx("[0-9]{9}");
- 	QValidator* validator = new QRegExpValidator( rx, this );
- 	mAccountSettings->edtAccountId->setValidator(validator);
-@@ -80,9 +80,9 @@
- 		mAccountSettings->mPasswordWidget->load(&mAccount->password());
- 		mAccountSettings->chkAutoLogin->setChecked(mAccount->excludeConnect());
- 
--		QString serverEntry = mAccount->configGroup()->readEntry("Server", "login.oscar.aol.com");
-+		QString serverEntry = mAccount->configGroup()->readEntry("Server", "login.icq.com");
- 		int portEntry = mAccount->configGroup()->readEntry("Port", 5190);
--		mAccountSettings->optionOverrideServer->setChecked( serverEntry != "login.oscar.aol.com" || ( portEntry != 5190) );
-+		mAccountSettings->optionOverrideServer->setChecked( serverEntry != "login.icq.com" || ( portEntry != 5190) );
- 
- 		mAccountSettings->edtServerAddress->setText( serverEntry );
- 		mAccountSettings->edtServerPort->setValue( portEntry );
-@@ -181,7 +181,7 @@
- 			default:
- 				encodingId=4;
- 		}
--		
-+
- 		mProtocol->setComboFromTable( mAccountSettings->encodingCombo,
- 		                              mProtocol->encodings(),
- 		                              encodingId );
-@@ -253,7 +253,7 @@
- 	}
- 	else
- 	{
--		mAccount->setServerAddress("login.oscar.aol.com");
-+		mAccount->setServerAddress("login.icq.com");
- 		mAccount->setServerPort(5190);
- 	}
- 
-@@ -286,17 +286,17 @@
- 	{
- 		if ( m_visibleEngine )
- 			m_visibleEngine->storeChanges();
--		
-+
- 		if ( m_invisibleEngine )
- 			m_invisibleEngine->storeChanges();
--		
-+
- 		if ( m_ignoreEngine )
- 			m_ignoreEngine->storeChanges();
- 
- 		//Update Oscar settings
- 		static_cast<ICQMyselfContact*>( mAccount->myself() )->fetchShortInfo();
- 	}
--	
-+
- 	return mAccount;
- }
- 
-@@ -306,7 +306,7 @@
- 	bool bOk;
- 	QString userId = mAccountSettings->edtAccountId->text();
- 	qulonglong uid = userId.toULongLong( &bOk );
--	
-+
- 	if( !bOk || uid == 0 || userId.isEmpty() )
- 	{	KMessageBox::queuedMessageBox(this, KMessageBox::Sorry,
- 	 	                              i18n("<qt>You must enter a valid ICQ No.</qt>"), i18n("ICQ"));
---- branches/KDE/4.5/kdenetwork/kopete/kopete/kconf_update/CMakeLists.txt	2010/11/19 19:32:07	1198790
-+++ branches/KDE/4.5/kdenetwork/kopete/kopete/kconf_update/CMakeLists.txt	2010/11/19 19:33:39	1198791
-@@ -4,9 +4,9 @@
- endif(NOT WIN32)
- 
- 
--install( FILES kopete-pluginloader.upd  kopete-nameTracking.upd  kopete-initialstatus.upd  kopete-gaim_to_pidgin_style.upd kopete-update_yahoo_server.upd  DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
-+install( FILES kopete-pluginloader.upd  kopete-nameTracking.upd  kopete-initialstatus.upd  kopete-gaim_to_pidgin_style.upd kopete-update_yahoo_server.upd kopete-update_icq_server.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
- 
--install( PROGRAMS kopete-pluginloader.pl kopete-update_yahoo_server.pl
-+install( PROGRAMS kopete-pluginloader.pl kopete-update_yahoo_server.pl kopete-update_icq_server.pl
- 	kopete-account-0.10.pl kopete-initialstatus.pl kopete-gaim_to_pidgin_style.pl
-   DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
- 
---- /dev/null	2010-11-23 14:10:08.536666668 +0100
-+++ branches/KDE/4.5/kdenetwork/kopete/kopete/kconf_update/kopete-update_icq_server.pl	2010-11-23 15:36:38.626671763 +0100
-@@ -0,0 +1,20 @@
-+#!/usr/bin/perl
-+
-+# AOL sold ICQ; change the default server to login.icq.com
-+
-+my $inICQ = 0;
-+foreach (<>) {
-+    $inICQ = 1 if (/^\[Account_ICQProtocol_.*$/);
-+    if ($inICQ) {
-+        if (/^Server\=(.*)/) {
-+            my $oldServer = $1;
-+            if ($oldServer =~ m/\.aol\.com$/) {
-+                print "Server=login.icq.com\n";
-+                $inICQ = 0;
-+                next;
-+            }
-+        }
-+    }
-+
-+    print $_;
-+}
---- /dev/null	2010-11-23 14:10:08.536666668 +0100
-+++ branches/KDE/4.5/kdenetwork/kopete/kopete/kconf_update/kopete-update_icq_server.upd	2010-11-23 15:38:08.133338428 +0100
-@@ -0,0 +1,4 @@
-+Id=kopete-update-icq-server/r1
-+File=kopeterc
-+Options=overwrite
-+Script=kopete-update_icq_server.pl,perl




More information about the arch-commits mailing list