[arch-commits] Commit in kdenetwork (3 files)
Date: Tuesday, May 24, 2011 @ 06:05:32 Author: andrea Revision: 124770 KDE 4.7beta1 Added: kdenetwork/kde-unstable/ kdenetwork/kde-unstable/PKGBUILD (from rev 121102, kdenetwork/trunk/PKGBUILD) Deleted: kdenetwork/kde-unstable/PKGBUILD ---+ PKGBUILD | 114 kde-unstable/PKGBUILD | 114 2 files changed, 114 insertions(+), 114 deletions(-) Deleted: kde-unstable/PKGBUILD === --- trunk/PKGBUILD 2011-04-06 14:49:30 UTC (rev 118400) +++ kde-unstable/PKGBUILD 2011-05-24 10:05:32 UTC (rev 124770) @@ -1,114 +0,0 @@ -# $Id$ -# Maintainer: Andrea Scarpino and...@archlinux.org -# Contributor: Pierre Schmitz pie...@archlinux.de - -pkgbase=kdenetwork -pkgname=('kdenetwork-filesharing' - 'kdenetwork-kdnssd' - 'kdenetwork-kget' - 'kdenetwork-kopete' - 'kdenetwork-kppp' - 'kdenetwork-krdc' - 'kdenetwork-krfb') -pkgver=4.6.2 -pkgrel=1 -arch=('i686' 'x86_64') -url='http://www.kde.org' -license=('GPL' 'LGPL' 'FDL') -groups=('kde' 'kdenetwork') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'speex' 'ortp' 'libotr' - 'qca-ossl' 'kdebase-workspace' 'kdebase-lib' 'libvncserver' 'libmsn' - 'ppp' 'v4l-utils' 'libidn' 'rdesktop' 'qimageblitz' 'libxdamage' 'libgadu' - 'telepathy-qt4' 'docbook-xsl' 'libktorrent') -source=(http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2;) -sha1sums=('6865c074b87a201b876d11b86a2f14aff5f45abb') - -build() { -cd ${srcdir} - mkdir build - cd build - cmake ../${pkgbase}-${pkgver} \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DMOZPLUGIN_INSTALL_DIR=/usr/lib/mozilla/plugins/ \ --DWITH_Xmms=OFF \ - -DWITH_LibMeanwhile=OFF - make -} - -package_kdenetwork-filesharing() { - pkgdesc='Konqueror properties dialog plugin to share a directory with the local network' - depends=('kdelibs' 'smbclient') - install='kdenetwork.install' - cd $srcdir/build/filesharing - make DESTDIR=$pkgdir install -} - -package_kdenetwork-kdnssd() { - pkgdesc='Monitors the network for DNS-SD services' - depends=('kdelibs') - cd $srcdir/build/kdnssd - make DESTDIR=$pkgdir install -} - -package_kdenetwork-kget() { - pkgdesc='Download Manager' - depends=('kdebase-workspace' 'kdebase-lib' 'libktorrent') - optdepends=('python2: YouTube plugin') - url=http://kde.org/applications/internet/kget/; - install='kdenetwork.install' - cd $srcdir/build/kget - make DESTDIR=$pkgdir install - cd $srcdir/build/doc/kget - make DESTDIR=$pkgdir install - -# Use the python2 executable -find ${pkgdir} -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -} - -package_kdenetwork-kopete() { - pkgdesc='Instant Messenger' - depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr' 'libmsn' -'libidn' 'qimageblitz' 'v4l-utils' 'libgadu') - url=http://kde.org/applications/internet/kopete/; - install='kdenetwork.install' - cd $srcdir/build/kopete - make DESTDIR=$pkgdir install - cd $srcdir/build/doc/kopete - make DESTDIR=$pkgdir install -} - -package_kdenetwork-kppp() { - pkgdesc='Internet Dial-Up Tool' - depends=('kdebase-runtime' 'ppp') - url=http://kde.org/applications/internet/kppp/; - install='kdenetwork.install' - cd $srcdir/build/kppp - make DESTDIR=$pkgdir install - cd $srcdir/build/doc/kppp - make DESTDIR=$pkgdir install -} - -package_kdenetwork-krdc() { - pkgdesc='Remote Desktop Client' - depends=('kdebase-runtime' 'libvncserver' 'rdesktop' 'telepathy-qt4') -optdepends=('kdebase-keditbookmarks: to edit bookmarks') - url=http://kde.org/applications/internet/krdc/; - cd $srcdir/build/krdc - make DESTDIR=$pkgdir install - cd $srcdir/build/doc/krdc - make DESTDIR=$pkgdir install -} - -package_kdenetwork-krfb() { - pkgdesc='Desktop Sharing' - # note on libxdamage: - # not detected by namcap because libgl depends on it - # but nvidia providing libgl does not depend on libxdamage - depends=('kdebase-runtime' 'libvncserver' 'libxdamage') - cd $srcdir/build/krfb - make DESTDIR=$pkgdir install - cd $srcdir/build/doc/krfb - make DESTDIR=$pkgdir install -} Copied: kdenetwork/kde-unstable/PKGBUILD (from rev 121102, kdenetwork/trunk/PKGBUILD) === --- kde-unstable/PKGBUILD (rev 0) +++ kde-unstable/PKGBUILD 2011-05-24 10:05:32 UTC (rev
[arch-commits] Commit in kdenetwork (3 files)
Date: Wednesday, January 26, 2011 @ 19:58:28 Author: andrea Revision: 107789 cleanup Deleted: kdenetwork/kde-unstable/ kdenetwork/repos/kde-unstable-i686/ kdenetwork/repos/kde-unstable-x86_64/
[arch-commits] Commit in kdenetwork (3 files)
Date: Sunday, May 23, 2010 @ 20:54:23 Author: andrea Revision: 80941 first set of KDE 4.5 tarballs (4.4.80) Added: kdenetwork/kde-unstable/ Modified: kdenetwork/kde-unstable/PKGBUILD Deleted: kdenetwork/kde-unstable/CVE-2010-1000.patch -+ CVE-2010-1000.patch | 213 -- PKGBUILD| 20 +--- 2 files changed, 7 insertions(+), 226 deletions(-) Deleted: kde-unstable/CVE-2010-1000.patch === --- trunk/CVE-2010-1000.patch 2010-05-20 13:36:36 UTC (rev 80615) +++ kde-unstable/CVE-2010-1000.patch2010-05-24 00:54:23 UTC (rev 80941) @@ -1,213 +0,0 @@ -diff --git a/kget/transfer-plugins/metalink/metalink.cpp b/kget/transfer-plugins/metalink/metalink.cpp -index 605d4e1..c7d5d75 100644 a/kget/transfer-plugins/metalink/metalink.cpp -+++ b/kget/transfer-plugins/metalink/metalink.cpp -@@ -99,6 +99,7 @@ void Metalink::start() - void Metalink::metalinkInit(const KUrl src, const QByteArray data) - { - kDebug(5001); -+ - bool justDownloaded = !m_localMetalinkLocation.isValid(); - if (!src.isEmpty()) - { -@@ -121,7 +122,9 @@ void Metalink::metalinkInit(const KUrl src, const QByteArray data) - //error - if (!m_metalink.isValid()) - { --kDebug(5001) Unknown error when trying to load the .metalink-file; -+kError(5001) Unknown error when trying to load the .metalink-file. Metalink is not valid.; -+setStatus(Job::Aborted); -+setTransferChange(Tc_Status, true); - return; - } - -@@ -202,7 +205,7 @@ void Metalink::metalinkInit(const KUrl src, const QByteArray data) - if (!m_dataSourceFactory.size()) - { - KMessageBox::error(0, i18n(Download failed, no working URLs were found.), i18n(Error)); --setStatus(Job::Aborted, i18n(An error occurred), SmallIcon(document-preview)); -+setStatus(Job::Aborted); - setTransferChange(Tc_Status, true); - return; - } -@@ -227,16 +230,29 @@ void Metalink::metalinkInit(const KUrl src, const QByteArray data) - ui.treeView-hideColumn(FileItem::SignatureVerified); - dialog-setMainWidget(widget); - dialog-setCaption(i18n(File Selection)); --dialog-setButtons(KDialog::Ok); --connect(dialog, SIGNAL(finished()), this, SLOT(filesSelected())); -+dialog-setButtons(KDialog::Ok | KDialog::Cancel); -+connect(dialog, SIGNAL(finished(int)), this, SLOT(fileDlgFinished(int))); - - dialog-show(); - } - } - --void Metalink::filesSelected() -+void Metalink::fileDlgFinished(int result) - { -+//BEGIN HACK if the dialog was not accepted untick every file, so that the download does not start -+//generally setStatus should do the job as well, but does not as it appears -+if (result != QDialog::Accepted) { -+for (int row = 0; row fileModel()-rowCount(); ++row) { -+QModelIndex index = fileModel()-index(row, FileItem::File); -+if (index.isValid()) { -+fileModel()-setData(index, Qt::Unchecked, Qt::CheckStateRole); -+} -+} -+} -+//END -+ - QModelIndexList files = fileModel()-fileIndexes(FileItem::File); -+int numFilesSelected = 0; - foreach (const QModelIndex index, files) - { - const KUrl dest = fileModel()-getUrl(index); -@@ -244,6 +260,9 @@ void Metalink::filesSelected() - if (m_dataSourceFactory.contains(dest)) - { - m_dataSourceFactory[dest]-setDoDownload(doDownload); -+if (doDownload) { -+++numFilesSelected; -+} - } - } - -@@ -252,9 +271,15 @@ void Metalink::filesSelected() - processedSizeChanged(); - speedChanged(); - -+//no files selected to download or dialog rejected, stop the download -+if (!numFilesSelected || (result != QDialog::Accepted)) { -+ setStatus(Job::Stopped);//FIXME -+ setTransferChange(Tc_Status, true); -+return; -+} -+ - //some files may be set to download, so start them as long as the transfer is not stopped --if (status() != Job::Stopped) --{ -+if (status() != Job::Stopped) { - startMetalink(); - } - } -diff --git a/kget/transfer-plugins/metalink/metalink.h b/kget/transfer-plugins/metalink/metalink.h -index 41988cb..15e8698 100644 a/kget/transfer-plugins/metalink/metalink.h -+++ b/kget/transfer-plugins/metalink/metalink.h -@@ -81,7 +81,7 @@ class Metalink : public Transfer - - private Q_SLOTS: - void metalinkInit(const KUrl url = KUrl(), const QByteArray data = QByteArray()); --void filesSelected(); -+void fileDlgFinished(int result); - void totalSizeChanged(KIO::filesize_t size); - void processedSizeChanged(); - void speedChanged(); -diff --git a/kget/ui/metalinkcreator/metalinker.cpp
[arch-commits] Commit in kdenetwork (3 files)
Date: Tuesday, December 22, 2009 @ 19:42:14 Author: andrea Revision: 61753 prepare kde-unstable repo Added: kdenetwork/kde-unstable/ Modified: kdenetwork/kde-unstable/PKGBUILD Deleted: kdenetwork/kde-unstable/add-overwrite-option-in-kget.patch + PKGBUILD | 22 -- add-overwrite-option-in-kget.patch | 16 2 files changed, 8 insertions(+), 30 deletions(-) Modified: kde-unstable/PKGBUILD === --- trunk/PKGBUILD 2009-12-22 17:51:40 UTC (rev 61738) +++ kde-unstable/PKGBUILD 2009-12-23 00:42:14 UTC (rev 61753) @@ -9,26 +9,20 @@ 'kdenetwork-kppp' 'kdenetwork-krdc' 'kdenetwork-krfb') -pkgver=4.3.4 +pkgver=4.3.85 pkgrel=1 arch=('i686' 'x86_64') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdenetwork') -makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'speex' 'ortp' 'libotr' 'qca-ossl' - 'kdelibs-experimental' 'kdebase-workspace' 'kdebase-lib' 'libvncserver' - 'libmsn' 'ppp' 'libv4l' 'libidn' 'rdesktop' 'qimageblitz' 'libxss' - 'libxdamage' 'libgadu') -source=(http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2; -'add-overwrite-option-in-kget.patch') -md5sums=('71de592596681fc59c5bc0a679703fd2' - 'c22e07a8b211c687d06dfcb61e109e7d') +makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'speex' 'ortp' 'libotr' + 'qca-ossl' 'kdebase-workspace' 'kdebase-lib' 'libvncserver' 'libmsn' + 'ppp' 'libv4l' 'libidn' 'rdesktop' 'qimageblitz' 'libxss' 'libxdamage' + 'libgadu') +source=(http://download.kde.org/unstable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2;) +md5sums=('e67b465a242a15d2fbb375890afd978e') build() { -cd ${srcdir}/${pkgbase}-${pkgver} -# https://bugs.kde.org/show_bug.cgi?id=207215 -patch -p3 -i ${srcdir}/add-overwrite-option-in-kget.patch || return 1 - cd ${srcdir} mkdir build cd build @@ -70,7 +64,7 @@ package_kdenetwork-kopete() { pkgdesc='Instant Messenger' - depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr' 'libmsn=4.0beta8' + depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr' 'libmsn' 'libidn' 'qimageblitz' 'libxss' 'libv4l' 'libgadu') install='kdenetwork.install' cd $srcdir/build/kopete Deleted: kde-unstable/add-overwrite-option-in-kget.patch === --- trunk/add-overwrite-option-in-kget.patch2009-12-22 17:51:40 UTC (rev 61738) +++ kde-unstable/add-overwrite-option-in-kget.patch 2009-12-23 00:42:14 UTC (rev 61753) @@ -1,16 +0,0 @@ trunk/KDE/kdenetwork/kget/core/kget.cpp2009/09/14 12:52:57 1023303 -+++ trunk/KDE/kdenetwork/kget/core/kget.cpp2009/09/14 13:01:00 1023304 -@@ -234,8 +234,11 @@ - - if(m_transferTreeModel-findTransferByDestination(destUrl) != 0 || (destUrl.isLocalFile() QFile::exists(destUrl.path( { - KIO::RenameDialog dlg( m_mainWindow, i18n(Rename transfer), srcUrl, -- destUrl, KIO::M_MULTI); --if (dlg.exec() == KIO::R_RENAME) -+ destUrl, KIO::M_OVERWRITE); -+ -+int result = dlg.exec(); -+ -+if ( result == KIO::R_RENAME || result == KIO::R_OVERWRITE ) - destUrl = dlg.newDestUrl(); - else - return 0;