diff options
author | markd <markd@pkgsrc.org> | 2013-05-21 12:06:58 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2013-05-21 12:06:58 +0000 |
commit | 33cae32008f45860fa773496158496159d740389 (patch) | |
tree | 12b72375dcb69f57b157c3eff56a86c517892aa8 /multimedia/kmix | |
parent | f887b862535bf5268fe5d38c4dd78c5d78ce5d21 (diff) | |
download | pkgsrc-33cae32008f45860fa773496158496159d740389.tar.gz |
Backout nullptr patches - g++ doesn't have support until 4.6.
Diffstat (limited to 'multimedia/kmix')
-rw-r--r-- | multimedia/kmix/Makefile | 4 | ||||
-rw-r--r-- | multimedia/kmix/distinfo | 8 | ||||
-rw-r--r-- | multimedia/kmix/patches/patch-apps_kmixd.cpp | 13 | ||||
-rw-r--r-- | multimedia/kmix/patches/patch-backends_mixer__backend.cpp | 13 | ||||
-rw-r--r-- | multimedia/kmix/patches/patch-backends_mixer__mpris2.cpp | 13 | ||||
-rw-r--r-- | multimedia/kmix/patches/patch-core_mixertoolbox.cpp | 20 | ||||
-rw-r--r-- | multimedia/kmix/patches/patch-gui_kmixdockwidget.cpp | 22 | ||||
-rw-r--r-- | multimedia/kmix/patches/patch-gui_viewdockareapopup.cpp | 19 |
8 files changed, 3 insertions, 109 deletions
diff --git a/multimedia/kmix/Makefile b/multimedia/kmix/Makefile index face5702f08..354c8fd6e66 100644 --- a/multimedia/kmix/Makefile +++ b/multimedia/kmix/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2013/05/09 07:40:18 adam Exp $ +# $NetBSD: Makefile,v 1.3 2013/05/21 12:06:58 markd Exp $ DISTNAME= kmix-${_KDE_VERSION} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= multimedia COMMENT= KDE's soundcard mixer program diff --git a/multimedia/kmix/distinfo b/multimedia/kmix/distinfo index aaf17bd9a60..b76f0b1ad6c 100644 --- a/multimedia/kmix/distinfo +++ b/multimedia/kmix/distinfo @@ -1,16 +1,10 @@ -$NetBSD: distinfo,v 1.2 2013/05/06 14:54:57 joerg Exp $ +$NetBSD: distinfo,v 1.3 2013/05/21 12:06:58 markd Exp $ SHA1 (kmix-4.10.2.tar.xz) = 26617eeac172e3375cd097c8350ebdb32412e9fa RMD160 (kmix-4.10.2.tar.xz) = a09bcba9375863b42cd415a7e9ece2f60b4cb425 Size (kmix-4.10.2.tar.xz) = 385736 bytes SHA1 (patch-CMakeLists.txt) = be774815cf3c8ae99f6bae31d5de010f37a6ef29 -SHA1 (patch-apps_kmixd.cpp) = c43b33328d398ce47ae6c9d0803af7ed10dcdd1e -SHA1 (patch-backends_mixer__backend.cpp) = d5c24ee2d7d2154df22a4ed203625b36d7e41eb9 -SHA1 (patch-backends_mixer__mpris2.cpp) = 64d7a988d5ded5651aad2208f421e35b0ca1aa79 SHA1 (patch-core_ControlPool.h) = fba837f300478e015941fa5aa7355372b294bb38 SHA1 (patch-core_MasterControl.h) = ab348a5ffc440650c9f1fd529335f87e5c81ed12 SHA1 (patch-core_mixdevice.h) = 75dd0c84517ec0e8fe647a2b8e84370b1e8afea9 -SHA1 (patch-core_mixertoolbox.cpp) = c2559b56b998c78e8f25c667c8c91a180a90622f -SHA1 (patch-gui_kmixdockwidget.cpp) = 756358740a958c49b6c94432dece885822b6fd25 -SHA1 (patch-gui_viewdockareapopup.cpp) = cd36f687336cabdecb9387b88be989f8b3ed553b SHA1 (patch-tests_CMakeLists.txt) = 4c39d6268e6c690099d06a8ba6946cb90242791e diff --git a/multimedia/kmix/patches/patch-apps_kmixd.cpp b/multimedia/kmix/patches/patch-apps_kmixd.cpp deleted file mode 100644 index 7cac242b139..00000000000 --- a/multimedia/kmix/patches/patch-apps_kmixd.cpp +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-apps_kmixd.cpp,v 1.1 2013/05/06 14:54:57 joerg Exp $ - ---- apps/kmixd.cpp.orig 2013-05-04 01:50:10.000000000 +0000 -+++ apps/kmixd.cpp -@@ -156,7 +156,7 @@ void KMixD::saveBaseConfig() - config.writeEntry( "MasterMixer", mixerMasterCard->id() ); - } - shared_ptr<MixDevice> mdMaster = Mixer::getGlobalMasterMD(); -- if ( mdMaster != 0 ) { -+ if ( mdMaster != nullptr ) { - config.writeEntry( "MasterMixerDevice", mdMaster->id() ); - } - QString mixerIgnoreExpression = MixerToolBox::instance()->mixerIgnoreExpression(); diff --git a/multimedia/kmix/patches/patch-backends_mixer__backend.cpp b/multimedia/kmix/patches/patch-backends_mixer__backend.cpp deleted file mode 100644 index 55b90f55dcd..00000000000 --- a/multimedia/kmix/patches/patch-backends_mixer__backend.cpp +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-backends_mixer__backend.cpp,v 1.1 2013/05/06 14:54:57 joerg Exp $ - ---- backends/mixer_backend.cpp.orig 2013-05-04 01:47:44.000000000 +0000 -+++ backends/mixer_backend.cpp -@@ -237,7 +237,7 @@ void Mixer_Backend::readSetFromHW() - */ - shared_ptr<MixDevice> Mixer_Backend::recommendedMaster() - { -- if ( m_recommendedMaster != 0 ) -+ if ( m_recommendedMaster != nullptr ) - { - // Backend has set a recommended master. Thats fine. Using it. - return m_recommendedMaster; diff --git a/multimedia/kmix/patches/patch-backends_mixer__mpris2.cpp b/multimedia/kmix/patches/patch-backends_mixer__mpris2.cpp deleted file mode 100644 index a9f7418e05c..00000000000 --- a/multimedia/kmix/patches/patch-backends_mixer__mpris2.cpp +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-backends_mixer__mpris2.cpp,v 1.1 2013/05/06 14:54:57 joerg Exp $ - ---- backends/mixer_mpris2.cpp.orig 2013-05-04 01:48:09.000000000 +0000 -+++ backends/mixer_mpris2.cpp -@@ -394,7 +394,7 @@ void Mixer_MPRIS2::newMediaPlayer(QStrin - QString id = ( lastDot == -1 ) ? name : name.mid(lastDot+1); - apps.remove(id); - shared_ptr<MixDevice> md = m_mixDevices.get(id); -- if (md != 0) -+ if (md != nullptr) - { - // We know about the player that is unregistering => remove internally - md->close(); diff --git a/multimedia/kmix/patches/patch-core_mixertoolbox.cpp b/multimedia/kmix/patches/patch-core_mixertoolbox.cpp deleted file mode 100644 index 51c7b50cb7e..00000000000 --- a/multimedia/kmix/patches/patch-core_mixertoolbox.cpp +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-core_mixertoolbox.cpp,v 1.1 2013/05/06 14:54:57 joerg Exp $ - ---- core/mixertoolbox.cpp.orig 2013-05-04 01:52:48.000000000 +0000 -+++ core/mixertoolbox.cpp -@@ -249,13 +249,13 @@ void MixerToolBox::initMixerInternal(Mul - - - // Add a master device (if we haven't defined one yet) -- if ( Mixer::getGlobalMasterMD(false) == 0 ) { -+ if ( Mixer::getGlobalMasterMD(false) == nullptr ) { - // We have no master card yet. This actually only happens when there was - // not one defined in the kmixrc. - // So lets just set the first card as master card. - if ( Mixer::mixers().count() > 0 ) { - shared_ptr<MixDevice> master = Mixer::mixers().first()->getLocalMasterMD(); -- if ( master != 0 ) { -+ if ( master != nullptr ) { - QString controlId = master->id(); - Mixer::setGlobalMaster( Mixer::mixers().first()->id(), controlId, true); - } diff --git a/multimedia/kmix/patches/patch-gui_kmixdockwidget.cpp b/multimedia/kmix/patches/patch-gui_kmixdockwidget.cpp deleted file mode 100644 index c11b0500645..00000000000 --- a/multimedia/kmix/patches/patch-gui_kmixdockwidget.cpp +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-gui_kmixdockwidget.cpp,v 1.1 2013/05/06 14:54:57 joerg Exp $ - ---- gui/kmixdockwidget.cpp.orig 2013-05-04 01:54:44.000000000 +0000 -+++ gui/kmixdockwidget.cpp -@@ -217,7 +217,7 @@ void KMixDockWidget::updatePixmap() - shared_ptr<MixDevice> md = Mixer::getGlobalMasterMD(); - - char newPixmapType; -- if ( md == 0 ) -+ if ( md == nullptr ) - { - newPixmapType = 'e'; - } -@@ -407,7 +407,7 @@ void KMixDockWidget::contextMenuAboutToS - void KMixDockWidget::updateDockMuteAction ( KToggleAction* dockMuteAction ) - { - shared_ptr<MixDevice> md = Mixer::getGlobalMasterMD(); -- if ( md != 0 && dockMuteAction != 0 ) -+ if ( md != nullptr && dockMuteAction != 0 ) - { - Volume& vol = md->playbackVolume().hasVolume() ? md->playbackVolume() : md->captureVolume(); - bool isInactive = vol.isCapture() ? !md->isRecSource() : md->isMuted(); diff --git a/multimedia/kmix/patches/patch-gui_viewdockareapopup.cpp b/multimedia/kmix/patches/patch-gui_viewdockareapopup.cpp deleted file mode 100644 index 406dacaaba0..00000000000 --- a/multimedia/kmix/patches/patch-gui_viewdockareapopup.cpp +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-gui_viewdockareapopup.cpp,v 1.1 2013/05/06 14:54:57 joerg Exp $ - ---- gui/viewdockareapopup.cpp.orig 2013-05-04 01:56:15.000000000 +0000 -+++ gui/viewdockareapopup.cpp -@@ -244,12 +244,12 @@ Application: KMix (kmix), signal: Segmen - { - kDebug() << "ADD? mixerId=" << mixer->id(); - shared_ptr<MixDevice>dockMD = mixer->getLocalMasterMD(); -- if ( dockMD == 0 && mixer->size() > 0 ) -+ if ( dockMD == nullptr && mixer->size() > 0 ) - { - // If we have no dock device yet, we will take the first available mixer device. - dockMD = (*mixer)[0]; - } -- if ( dockMD != 0 ) -+ if ( dockMD != nullptr ) - { - kDebug() << "ADD? mixerId=" << mixer->id() << ", md=" << dockMD->id(); - if ( !dockMD->isApplicationStream() && dockMD->playbackVolume().hasVolume()) |